Gentoo Archives: gentoo-dev

From: Alex Walker <alex@×××××××.uk>
To: gentoo-dev@g.o
Subject: [gentoo-dev] IRQs in 2.4.19-r3+
Date: Wed, 08 May 2002 15:39:18
Message-Id: 20020508213918.A20388@x3ja.co.uk
1 (Just joined the list right now, so sorry if this repeats stuff)
2
3 I've been reading of problems with IRQ assignment in
4 gentoo-sources-2.4.19-r3 and r4.
5
6 I experienced very similar problems when I tried the 2.5.x series (I
7 think 2.5.12 was the last on I tried) So I assume some of the code has
8 been taken from there, or from another tree. Having looked at it a bit,
9 it may be something to do with ACPI doing IRQ routing instead of the
10 on-board.
11
12 Is there a known solution?
13
14 Anyway, here's a description of my problem:
15
16 USB and network card do not work under r3 or r4. with errors in dmesg
17 thus:
18
19 Linux Tulip driver version 0.9.15-pre10 (Mar 8, 2002)
20 PCI: Could not assign IRQ 17 to device 02:0c.0
21 eth0: Lite-On PNIC-II rev 37 at 0xd480ac00, 00:C0:F0:76:95:0A, IRQ 17.
22
23 [SNIP]
24
25 usb.c: registered new driver hub
26 uhci.c: USB Universal Host Controller Interface driver v1.1
27 PCI: Could not assign IRQ 19 to device 00:1f.2
28 PCI: Setting latency timer of device 00:1f.2 to 64
29 uhci.c: USB UHCI at I/O 0xef40, IRQ 19
30 usb.c: new USB bus registered, assigned bus number 1
31 hub.c: USB hub found
32 hub.c: 2 ports detected
33 PCI: Could not assign IRQ 23 to device 00:1f.4
34 PCI: Setting latency timer of device 00:1f.4 to 64
35 uhci.c: USB UHCI at I/O 0xef80, IRQ 23
36 usb.c: new USB bus registered, assigned bus number 2
37 hub.c: USB hub found
38 hub.c: 2 ports detected
39 usb.c: registered new driver hid
40 hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@××××.cz>
41 hid-core.c: USB HID support drivers
42
43 All seems to be working-ish from that, but USB nor networrking actually
44 work.
45
46 Then I noticed the following differences in my dmesg output:
47
48 r1:
49 PCI: PCI BIOS revision 2.10 entry at 0xfda95, last bus=2
50 PCI: Using configuration type 1
51 PCI: Probing PCI hardware
52 Unknown bridge resource 0: assuming transparent
53 PCI: Discovered primary peer bus 08 [IRQ]
54 PCI: Using IRQ router PIIX [8086/2440] at 00:1f.0
55 Linux NET4.0 for Linux 2.4
56 Based upon Swansea University Computer Society NET3.039
57 Initializing RT netlink socket
58 Starting kswapd
59 Journalled Block Device driver loaded
60 devfs: v1.12 (20020219) Richard Gooch (rgooch@××××××××××.au)
61 devfs: boot_options: 0x0
62 Installing knfsd (copyright (C) 1996 okir@×××××××××.de).
63 ACPI: Core Subsystem version [20011018]
64 ACPI: Subsystem enabled
65 Power Resource: found
66 Power Resource: found
67 Power Resource: found
68 Power Resource: found
69 ACPI: System firmware supports S0 S1 S4 S5
70 Processor[0]: C0 C1
71 ACPI: Power Button (FF) found
72 ACPI: Sleep Button (CM) found
73
74
75 r3/4:
76 ACPI: Bus Driver revision 20020404
77 ACPI: Core Subsystem revision 20020403
78 PCI: PCI BIOS revision 2.10 entry at 0xfda95, last bus=2
79 PCI: Using configuration type 1
80 ACPI: Interpreter enabled
81 ACPI: Using IOAPIC for interrupt routing
82 ACPI: System [ACPI] (supports S0 S1 S4 S5)
83 ACPI: PCI Root Bridge [PCI0] (00:00:00.00)
84 Unknown bridge resource 0: assuming transparent
85 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
86 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
87 ACPI: Power Resource [URP1] (off)
88 ACPI: Power Resource [URP2] (off)
89 ACPI: Power Resource [FDDP] (off)
90 ACPI: Power Resource [LPTP] (off)
91 PCI: Probing PCI hardware
92 PCI: Using ACPI for IRQ routing
93
94
95 The key things being:
96 i) In r1, the PCI hardware is probed first.
97 ii) In r1, the PIIX IRQ router is used, not the ACPI one.
98
99 HTH - should I be mailing this to lkml?
100
101 Cheers.
102
103 Alex.
104
105 --
106 [ All programmers are playwrights and all computers are lousy actors. ]
107 My on-line log. http://www.x3ja.co.uk/

Replies

Subject Author
Re: [gentoo-dev] IRQs in 2.4.19-r3+ Stephane Dudzinski <stephane@×××××××××.com>