Re: 2.6.18-mm2

From: J.A. MagallÃn
Date: Fri Sep 29 2006 - 19:16:00 EST

On Fri, 29 Sep 2006 08:39:49 -0600, Matthew Wilcox <matthew@xxxxxx> wrote:

> On Fri, Sep 29, 2006 at 03:57:38PM +0200, J.A. Magall??n wrote:
> > aic7xxx oopses on boot:
> >
> > PCI: Setting latency timer of device 0000:00:0e.0 to 64
> > IRQ handler type mismatch for IRQ 0
> Of course, this isn't a scsi problem, it's a peecee hardware problem.
> Or maybe a PCI subsystem problem. But it's clearly not aic7xxx's fault.
> > PCI: Cannot allocate resource region 0 of device 0000:00:0e.0
> That's not good. Might be part of the problem.
> > PCI: Enabling device 0000:00:0e.0 (0000 -> 0003)
> > PCI: No IRQ known for interrupt pin A of device 0000:00:0e.0. Probably buggy MP table.
> This is the direct problem. You've got no irq.


Now I have just realized this:

00:0d.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02)
00:0e.0 SCSI storage controller: Adaptec AHA-2940U2/U2W / 7890/7891 (rev 01)

leda:~# lsscsi -Hv
[0] aic7xxx
dir: /sys/class/scsi_host/host0
device dir: /sys/devices/pci0000:00/0000:00:0d.0/host0
[1] ata_piix
dir: /sys/class/scsi_host/host1
device dir: /sys/devices/pci0000:00/0000:00:07.1/host1
[2] ata_piix
dir: /sys/class/scsi_host/host2
device dir: /sys/devices/pci0000:00/0000:00:07.1/host2

leda:~# lsscsi
[0:0:0:0] disk IBM IC35L018UWD210-0 S5BS /dev/sda
[0:0:5:0] cd/dvd TOSHIBA CD-ROM XM-6401TA 1015 /dev/sr0
[2:0:0:0] disk IOMEGA ZIP 250 51.G /dev/sdb

Device 00:0e.0 is the 2940, which has nothing hung.
Who's to blame ? the bios because is assigns no interupts as no devices are
connected to the bus ? Or the kernel that should understand something like
'this device is disabled' ?

I can try to change the cdrom to the 2940 and see what happens...

Thanks, I will try the patch posted, it looks something like what I said
above, disable the device.

J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free
Mandriva Linux release 2007.0 (Cooker) for i586
Linux 2.6.18-jam02 (gcc 4.1.1 20060724 (prerelease) (4.1.1-3mdk)) #1 SMP PREEMPT
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at