Re: [2.3.20] cat /dev/psaux freezes machine

Florian Weimer (fw@deneb.cygnus.argh.org)
15 Oct 1999 13:40:51 +0200


Agent Drek <drek@MonsterByMistake.Com> writes:

> 2.3.18 works well for me but 2.3.20 && 2.3.21 both freeze if I move
> the ps2 mouse.

It's the PCI changes in arch/i386/kernel which cause this. In fact, if
we had looked at the boot messages, it would have become clear at once:

PCI: BIOS32 Service Directory structure at 0xc00f9ce0
PCI: BIOS32 Service Directory entry at 0xf0550
PCI: BIOS probe returned s=00 hw=11 ver=02.10 l=01
PCI: PCI BIOS revision 2.10 entry at 0xf0750
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: IDE base address fixup for 00:04.1
PCI: Scanning for ghost devices on bus 0
PCI: Scanning for ghost devices on bus 1
PCI: Interrupt Routing Table found at 0xc00f0d40 [router type 8086/122e]
b=00 d=60 s=01
b=00 d=58 s=02
b=00 d=50 s=03
b=00 d=48 s=04
b=00 d=68 s=05
b=00 d=20 s=00
b=00 d=08 s=00
IRQ for 00:04.2(3) -> PIRQ 63, mask 1eb8 -> [PIIX] set to 0c
PCI: Assigned IRQ 12 to device 00:04.2 [PIIX-NEW]
PCI: Resource e4000000-e7ffffff (f=1208, d=0, p=0)
PCI: Resource 0000d800-0000d80f (f=101, d=0, p=0)
PCI: Resource 0000d400-0000d41f (f=101, d=0, p=0)
PCI: Resource e3000000-e3ffffff (f=1208, d=0, p=0)
PCI: Resource 0000d000-0000d0ff (f=101, d=0, p=0)
PCI: Resource e0000000-e0000fff (f=200, d=0, p=0)
PCI: Resource e1000000-e1ffffff (f=1208, d=0, p=0)
PCI: Resource df800000-df803fff (f=200, d=0, p=0)
PCI: Resource df000000-df7fffff (f=200, d=0, p=0)
PCI: Sorting device list...

pcibios_init() calls pcibios_fixup_irqs(), which enables IRQs without
further checking (in my case it's the USB IRQ). I don't like this
because I disabled it intentionally (I'm short on IRQs and fear problems
with PCI IRQ sharing).

Martin, could you make the automatic activation of PCI IRQs a
compile-time or boot-time option? What do you think about this?

-
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/