lkml.org 
[lkml]   [1999]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectpanic in scsi_register_host()
hi,

I am writing a SCSI HBA driver which is compiled as a module. I get a
panic with the foll:

Unable to handle kernel NULL pointer dereference at virtual address 0000002c
current->tss.cr3=0035f000, %cr3=0035f000
*pde=00000000
Entering kdb on processor 0 due to panic @ 0xc28188af


The panic occures during the spin_unlock_irqrestore()
file scsi.c (with some debug printk's inserted), line 2613

if (tpnt->use_new_eh_code) {
spin_lock_irqsave(&io_request_lock, flags);
tpnt->present = tpnt->detect(tpnt);
printk("tpnt->present=%d. line %d file %s\n", tpnt->present,__LINE__,__F
ILE__);
|----> spin_unlock_irqrestore(&io_request_lock, flags);
|
This is the place where system panics.

printk("tpnt->present=%d. line %d file %s\n", tpnt->present,__LINE__,__F
ILE__);
}

The driver is compiled with -D__SMP__.
kernel version : 2.2.10
can anybody tell me what is the problem?

Please get back to me if more info is required.

Thanks in advance,
Raju


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.058 / U:0.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site