Conflict when loading initio driver
Quoted 10 lines · Alan Cox
Humm not a collision - thats a bug in the driver updating. Looks like the changes I made and combined with Christoph's lost a line somewhere when I was merging it all. Try the following
Signed-off-by Alan Cox <[email protected]>diff -u --new-file --exclude-from
/usr/src/exclude--recursivelinux.vanilla-2.6.23rc8-mm1/drivers/scsi/initio.clinux-2.6.23rc8-mm1/drivers/scsi/initio.c
drivers/scsi/initio.c line 2873
Quoted 7 lines
drivers/scsi/initio.c +1
-0@@ -2867,6 +2867,7 @@ } host = (struct initio_host *)shost->hostdata;memset (host,0 ,sizeof (struct initio_host )); + host->addr =pci_resource_start (pdev,0 );if (!request_region (host->addr,256 ,"i91u" )) {printk (KERN_WARNING "initio: I/O port range 0x%x is busy.\n" , host->addr);
I tried this fix on my SuSE 10.3 system (2.6.22.5-29 kernel) and it didn't work. The system froze on boot. I think there might be more to it.
Scott
Quoted 8 lines
Review
Quoted 4 lines
(quoted diff) +1
-0+ host->addr = pci_resource_start(pdev, 0); if (!request_region(host->addr, 256, "i91u")) { printk(KERN_WARNING "initio: I/O port range 0x%x is busy.\n", host->addr);I tried this fix on my SuSE 10.3 system (2.6.22.5-29 kernel) and it didn't work. The system froze on boot. I think there might be more to it.
Can you stick some printk statements in so we can see where it hangs roughly ?
OK. I did some debugging in this initio.c driver. I put printk statements at the beginning of each routine and I got the following output:
initio_se2_rdinitio_se2_instr
(The previous two routines repeat a bunch of times then I get:) initio_stop_bm
i91u: PCI Base=0xEC00, IRQ=0, BIOS=0x0000, SCSI ID=7
i91u: Reset SCSI Bus...initio_reset_scsi
scsi2: Initio INI-9X00U/UW SCSI device driver i91u_queuecommandinitio_alloc_scb
So it seems to be dieing in initio_alloc_scb. I think it is dieing on the first spin lock if that makes any sense, but it could be dieing somewhere else in that routine. Hope this helps.