[plug] Intel Motherboard allocates incorrect resouces

Onno Benschop onno at itmaze.com.au
Fri Sep 12 15:36:05 WST 2003


Hi all,

John Usher and I have been having an off-list discussion regarding my
ide-tape drive problem. While we have not found a solution yet, with
John's permission I'm forwarding our entire conversation to the list in
the hope that this sparks some discussion. (Preferably about tape
drives, motherboards and BIOS allocations, rather than email and
bandwidth :-)

---TRANSCRIPT STARTS---
<Edited for brevity. Any errors and ommisions are mine not John's, I've
had to combine 20 messages with over 2600 lines of text>

Onno:
Interestingly, a look through /var/log with grep -r -i ide1 shows in
syslog, kern.log and messages:

ide1 at 0x170-0x177,0x376 on irq 15



John:
What is the message immediately following this...?



Onno:
This is the extract directly before and after:

        hdc: GCR-8521B, ATAPI CD/DVD-ROM drive
        ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
        ide1 at 0x170-0x177,0x376 on irq 15
        hda: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=77557/16/63
        Partition check:
         /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 >
        cramfs: wrong magic
        VFS: Mounted root (ext2 filesystem) readonly.
        change_root: old root has d_count=2
        Freeing unused kernel memory: 212k freed

Please observe that this is with one hdd and one cdrom in place, before
the ide-tape drive was installed.



John:
/proc/interrupts can be misleading. If linux is not actively using a
device on a given interrupt, it may disable that interrupt. This is
the case for serial interrupts (note they are missing until you run
something like minicom) and may be the case for ide devices too.



Onno:
But wouldn't you'd expect to see the ports there, as well as the
channel?



John:
/proc/ioports might be more helpful - does ide1 show up there?



Onno
Nope, sorry.



John:
Can you send me the results of an lspci -vv. 



Onno:
virtual:/etc# lspci -vv
00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 11)
	Subsystem: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
	Latency: 0
	Region 0: Memory at fe800000 (32-bit, prefetchable) [size=4M]
	Capabilities: [e4] #09 [a104]
	Capabilities: [a0] AGP version 2.0
		Status: RQ=31 SBA+ 64bit- FW+ Rate=x1,x2
		Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 11) (prog-if 00 [Normal decode])
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	Memory behind bridge: ff400000-ff4fffff
	Prefetchable memory behind bridge: fd100000-fd1fffff
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-

00:1d.0 USB Controller: Intel Corp.: Unknown device 24c2 (rev 01) (prog-if 00 [UHCI])
	Subsystem: Intel Corp.: Unknown device 5032
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 5
	Region 4: I/O ports at e800 [size=32]

00:1d.1 USB Controller: Intel Corp.: Unknown device 24c4 (rev 01) (prog-if 00 [UHCI])
	Subsystem: Intel Corp.: Unknown device 5032
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin B routed to IRQ 9
	Region 4: I/O ports at e880 [size=32]

00:1d.2 USB Controller: Intel Corp.: Unknown device 24c7 (rev 01) (prog-if 00 [UHCI])
	Subsystem: Intel Corp.: Unknown device 5032
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin C routed to IRQ 10
	Region 4: I/O ports at ec00 [size=32]

00:1d.7 USB Controller: Intel Corp.: Unknown device 24cd (rev 01) (prog-if 20)
	Subsystem: Intel Corp.: Unknown device 5032
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin D routed to IRQ 11
	Region 0: Memory at ffaffc00 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [58] #0a [2080]

00:1e.0 PCI bridge: Intel Corp. 82820 820 (Camino 2) Chipset PCI (rev 81) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR+
	Latency: 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: ff500000-ff9fffff
	Prefetchable memory behind bridge: fd200000-fe2fffff
	BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-

00:1f.0 ISA bridge: Intel Corp.: Unknown device 24c0 (rev 01)
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0

00:1f.1 IDE interface: Intel Corp.: Unknown device 24cb (rev 01) (prog-if 8a [Master SecP PriP])
	Subsystem: Intel Corp.: Unknown device 5032
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 10
	Region 0: I/O ports at <unassigned>
	Region 1: I/O ports at <unassigned>
	Region 2: I/O ports at <unassigned>
	Region 3: I/O ports at <unassigned>
	Region 4: I/O ports at ffa0 [size=16]
	Region 5: Memory at 40000000 (32-bit, non-prefetchable) [size=1K]

00:1f.3 SMBus: Intel Corp.: Unknown device 24c3 (rev 01)
	Subsystem: Intel Corp.: Unknown device 5032
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Interrupt: pin B routed to IRQ 3
	Region 4: I/O ports at e480 [size=32]

02:01.0 VGA compatible controller: Silicon Integrated Systems [SiS] 86C326 (rev 0b) (prog-if 00 [VGA])
	Subsystem: Silicon Integrated Systems [SiS] SiS6326 GUI Accelerator
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32 (500ns min)
	Region 0: Memory at fd800000 (32-bit, prefetchable) [size=8M]
	Region 1: Memory at ff9f0000 (32-bit, non-prefetchable) [size=64K]
	Region 2: I/O ports at dc00 [size=128]
	Expansion ROM at ff9e0000 [disabled] [size=64K]
	Capabilities: [40] Power Management version 1
		Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

02:02.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 08)
	Subsystem: Intel Corp. EtherExpress PRO/100+ Management Adapter
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32 (2000ns min, 14000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at ff9df000 (32-bit, non-prefetchable) [size=4K]
	Region 1: I/O ports at d880 [size=64]
	Region 2: Memory at ff800000 (32-bit, non-prefetchable) [size=1M]
	Expansion ROM at ff700000 [disabled] [size=1M]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=2 PME-



John:
I hope its not going to be something simple like the cable has fallen
out of the motherboard... 



Onno:
Then I'd be the first computer user with a telepathic BIOS, because the
BIOS detects the tree devices with no problems :-)



John:
oops...forgot to ask for the -x flag on that! doh!

can you do me an lspci -vv -x -s 00:1f.1



Onno:
virtual:/etc# lspci -vv -x -s 00:1f.1
lspci: -f: Invalid slot number

virtual:/etc# lspci -vv -x -s "00:1f.1"
lspci: -f: Invalid slot number

virtual:/etc# lspci -vv -x -s 00:1f  
lspci: -f: Invalid slot number



John:
or just an lspci -vv -x  



Onno:
virtual:/etc# lspci -vv -x         
00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 11)
	Subsystem: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
	Latency: 0
	Region 0: Memory at fe800000 (32-bit, prefetchable) [size=4M]
	Capabilities: [e4] #09 [a104]
	Capabilities: [a0] AGP version 2.0
		Status: RQ=31 SBA+ 64bit- FW+ Rate=x1,x2
		Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>
00: 86 80 30 1a 06 01 90 20 11 00 00 06 00 00 00 00
10: 08 00 80 fe 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 30 1a
30: 00 00 00 00 e4 00 00 00 00 00 00 00 00 00 00 00

00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 11) (prog-if 00 [Normal decode])
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	Memory behind bridge: ff400000-ff4fffff
	Prefetchable memory behind bridge: fd100000-fd1fffff
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
00: 86 80 31 1a 06 01 a0 00 11 00 04 06 00 20 01 00
10: 00 00 00 00 00 00 00 00 00 01 01 20 f0 00 a0 22
20: 40 ff 40 ff 10 fd 10 fd 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00

00:1d.0 USB Controller: Intel Corp.: Unknown device 24c2 (rev 01) (prog-if 00 [UHCI])
	Subsystem: Intel Corp.: Unknown device 5032
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 5
	Region 4: I/O ports at e800 [size=32]
00: 86 80 c2 24 05 00 80 02 01 00 03 0c 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 e8 00 00 00 00 00 00 00 00 00 00 86 80 32 50
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 01 00 00

00:1d.1 USB Controller: Intel Corp.: Unknown device 24c4 (rev 01) (prog-if 00 [UHCI])
	Subsystem: Intel Corp.: Unknown device 5032
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin B routed to IRQ 9
	Region 4: I/O ports at e880 [size=32]
00: 86 80 c4 24 05 00 80 02 01 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 81 e8 00 00 00 00 00 00 00 00 00 00 86 80 32 50
30: 00 00 00 00 00 00 00 00 00 00 00 00 09 02 00 00

00:1d.2 USB Controller: Intel Corp.: Unknown device 24c7 (rev 01) (prog-if 00 [UHCI])
	Subsystem: Intel Corp.: Unknown device 5032
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin C routed to IRQ 10
	Region 4: I/O ports at ec00 [size=32]
00: 86 80 c7 24 05 00 80 02 01 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 ec 00 00 00 00 00 00 00 00 00 00 86 80 32 50
30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 03 00 00

00:1d.7 USB Controller: Intel Corp.: Unknown device 24cd (rev 01) (prog-if 20)
	Subsystem: Intel Corp.: Unknown device 5032
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin D routed to IRQ 11
	Region 0: Memory at ffaffc00 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [58] #0a [2080]
00: 86 80 cd 24 06 01 90 02 01 20 03 0c 00 00 00 00
10: 00 fc af ff 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 32 50
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 04 00 00

00:1e.0 PCI bridge: Intel Corp. 82820 820 (Camino 2) Chipset PCI (rev 81) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR+
	Latency: 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: ff500000-ff9fffff
	Prefetchable memory behind bridge: fd200000-fe2fffff
	BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
00: 86 80 4e 24 07 01 80 80 81 00 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 02 02 20 d0 d0 80 22
20: 50 ff 90 ff 20 fd 20 fe 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0a 00

00:1f.0 ISA bridge: Intel Corp.: Unknown device 24c0 (rev 01)
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
00: 86 80 c0 24 0f 01 80 02 01 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:1f.1 IDE interface: Intel Corp.: Unknown device 24cb (rev 01) (prog-if 8a [Master SecP PriP])
	Subsystem: Intel Corp.: Unknown device 5032
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 10
	Region 0: I/O ports at <unassigned>
	Region 1: I/O ports at <unassigned>
	Region 2: I/O ports at <unassigned>
	Region 3: I/O ports at <unassigned>
	Region 4: I/O ports at ffa0 [size=16]
	Region 5: Memory at 40000000 (32-bit, non-prefetchable) [size=1K]
00: 86 80 cb 24 07 00 80 02 01 8a 01 01 00 00 00 00
10: 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
20: a1 ff 00 00 00 00 00 40 00 00 00 00 86 80 32 50
30: 00 00 00 00 00 00 00 00 00 00 00 00 ff 01 00 00

00:1f.3 SMBus: Intel Corp.: Unknown device 24c3 (rev 01)
	Subsystem: Intel Corp.: Unknown device 5032
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Interrupt: pin B routed to IRQ 3
	Region 4: I/O ports at e480 [size=32]
00: 86 80 c3 24 01 00 80 02 01 00 05 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 81 e4 00 00 00 00 00 00 00 00 00 00 86 80 32 50
30: 00 00 00 00 00 00 00 00 00 00 00 00 03 02 00 00

02:01.0 VGA compatible controller: Silicon Integrated Systems [SiS] 86C326 (rev 0b) (prog-if 00 [VGA])
	Subsystem: Silicon Integrated Systems [SiS] SiS6326 GUI Accelerator
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32 (500ns min)
	Region 0: Memory at fd800000 (32-bit, prefetchable) [size=8M]
	Region 1: Memory at ff9f0000 (32-bit, non-prefetchable) [size=64K]
	Region 2: I/O ports at dc00 [size=128]
	Expansion ROM at ff9e0000 [disabled] [size=64K]
	Capabilities: [40] Power Management version 1
		Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 39 10 26 63 07 00 30 02 0b 00 00 03 00 20 00 00
10: 08 00 80 fd 00 00 9f ff 01 dc 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 39 10 26 63
30: 00 00 9e ff 40 00 00 00 00 00 00 00 00 00 02 00

02:02.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 08)
	Subsystem: Intel Corp. EtherExpress PRO/100+ Management Adapter
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32 (2000ns min, 14000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at ff9df000 (32-bit, non-prefetchable) [size=4K]
	Region 1: I/O ports at d880 [size=64]
	Region 2: Memory at ff800000 (32-bit, non-prefetchable) [size=1M]
	Expansion ROM at ff700000 [disabled] [size=1M]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=2 PME-
00: 86 80 29 12 17 01 90 02 08 00 00 02 08 20 00 00
10: 00 f0 9d ff 81 d8 00 00 00 00 80 ff 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 0c 00
30: 00 00 70 ff dc 00 00 00 00 00 00 00 0a 01 08 38



John:
ok...heres a few things...

This machine has an ICH4 chipset.....ICH4 apparently doesn't support dma
on some kernels... but the kernel does come up with ICH4 messages so it
does at least appear to recognise it.

does the bootup take a long time? have you tried ide=nodma (not that you
want that really)



Onno:
Dunno, I'm in Kununurra, the machine is in Perth. Doesn't seem to take a
long time.



John:
according to the pci bios, the ide ports are in legacy mode, which is
what we want (ie using ioports < 400h).

I'm not sure I like the look of the interrupt line that the device is
apparently connected with.



Onno:
I attempted to link it to 14/15 with the following append:

	auto BOOT_IMAGE=Linux ro root=303 apic nousb ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15



John:
under /proc/bus/pci/00 is there a 1f.1?



Onno:
Yup.



John:
can you od -tx1 -Ax 1f.1 if there is? I need to see the entire
configuration space... 



Onno:
Sure, anything, as long as you don't try to get me to run rm -rf / :-)

        virtual:/proc/bus/pci/00# od -tx1 -Ax 1f.1
        000000 86 80 cb 24 07 00 80 02 01 8a 01 01 00 00 00 00
        000010 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
        000020 a1 ff 00 00 00 00 00 40 00 00 00 00 86 80 32 50
        000030 00 00 00 00 00 00 00 00 00 00 00 00 ff 01 00 00
        000040 77 e3 00 00 0b 00 00 00 03 00 22 00 00 00 00 00
        000050 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00
        000060 08 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00
        000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        *
        0000f0 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
        000100

        

John:
contents of /proc/ide/piix would be interesting too! 



Onno:
virtual:/proc/bus# cat /proc/ide/piix

Controller: 0

                                Intel PIIX4 Ultra 100 Chipset.
--------------- Primary Channel ---------------- Secondary Channel -------------
                 enabled                          enabled
--------------- drive0 --------- drive1 -------- drive0 ---------- drive1 ------
DMA enabled:    yes              yes             no                no 
UDMA enabled:   yes              yes             no                no 
UDMA enabled:   2                2               X                 X
UDMA
DMA
PIO



John:
when you sent the this is working vs this is not working, along with
changing the drives, i notice that the boot with the tape drive is using
2.4.21 and the boot with the old cdrom is using 2.4.18. it would be
interesting to see the 2.4.18 boot messages with the tape drive.



Onno:
I don't know if I can get those. I've downloaded all the logs and have
been trawling through them. There is a session with an append of
hdc=ide-scsi, that shows both ide channels under 2.4.21. I've just
appended that again, and rebooted, but no luck.

I've found a location in the logs that show a 2.4.18 boot followed by a
2.4.21 boot. I suspect that after banging my head trying to talk to
/dev/hdc, /dev/ht0 or /dev/nht0 I googled and came up with using 2.4.21
- so much for google :-)

Under 2.4.18 it shows:

        Sep  1 06:47:26 virtual kernel: Linux version 2.4.18-686 (herbert at gondolin) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Sun Apr 14 11:32:47 EST 2002
        Sep  1 06:47:26 virtual kernel: BIOS-provided physical RAM map:
        Sep  1 06:47:26 virtual kernel:  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
        Sep  1 06:47:26 virtual kernel:  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
        Sep  1 06:47:26 virtual kernel:  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
        Sep  1 06:47:26 virtual kernel:  BIOS-e820: 0000000000100000 - 000000003ff40000 (usable)
        Sep  1 06:47:26 virtual kernel:  BIOS-e820: 000000003ff40000 - 000000003ff50000 (ACPI data)
        Sep  1 06:47:26 virtual kernel:  BIOS-e820: 000000003ff50000 - 0000000040000000 (ACPI NVS)
        Sep  1 06:47:26 virtual kernel: Warning only 896MB will be used.
        Sep  1 06:47:26 virtual kernel: Use a HIGHMEM enabled kernel.
        Sep  1 06:47:26 virtual kernel: On node 0 totalpages: 229376
        Sep  1 06:47:26 virtual kernel: zone(0): 4096 pages.
        Sep  1 06:47:26 virtual kernel: zone(1): 225280 pages.
        Sep  1 06:47:26 virtual kernel: zone(2): 0 pages.
        Sep  1 06:47:26 virtual kernel: Found and enabled local APIC!
        Sep  1 06:47:26 virtual kernel: Kernel command line: BOOT_IMAGE=Linux ro root=303 hdc=ide-scsi
        Sep  1 06:47:26 virtual kernel: Initializing CPU#0
        Sep  1 06:47:26 virtual kernel: Detected 2400.144 MHz processor.
        Sep  1 06:47:26 virtual kernel: Console: colour VGA+ 80x50
        Sep  1 06:47:26 virtual kernel: Calibrating delay loop... 4784.12 BogoMIPS
        Sep  1 06:47:26 virtual kernel: Memory: 898548k/917504k available (811k kernel code, 18568k reserved, 231k data, 212k init, 0k highmem)
        Sep  1 06:47:26 virtual kernel: Dentry-cache hash table entries: 131072 (order: 8, 1048576 bytes)
        Sep  1 06:47:26 virtual kernel: Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
        Sep  1 06:47:26 virtual kernel: Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
        Sep  1 06:47:26 virtual kernel: Buffer-cache hash table entries: 65536 (order: 6, 262144 bytes)
        Sep  1 06:47:26 virtual kernel: Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
        Sep  1 06:47:26 virtual kernel: CPU: Before vendor init, caps: 3febfbff 00000000 00000000, vendor = 0
        Sep  1 06:47:26 virtual kernel: CPU: L1 I cache: 12K, L1 D cache: 8K
        Sep  1 06:47:26 virtual kernel: CPU: L2 cache: 512K
        Sep  1 06:47:26 virtual kernel: CPU: After vendor init, caps: 3febfbff 00000000 00000000 00000000
        Sep  1 06:47:26 virtual kernel: Intel machine check architecture supported.
        Sep  1 06:47:26 virtual kernel: Intel machine check reporting enabled on CPU#0.
        Sep  1 06:47:26 virtual kernel: CPU:     After generic, caps: 3febfbff 00000000 00000000 00000000
        Sep  1 06:47:26 virtual kernel: CPU:             Common caps: 3febfbff 00000000 00000000 00000000
        Sep  1 06:47:26 virtual kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 04
        Sep  1 06:47:26 virtual kernel: Enabling fast FPU save and restore... done.
        Sep  1 06:47:26 virtual kernel: Enabling unmasked SIMD FPU exception support... done.
        Sep  1 06:47:26 virtual kernel: Checking 'hlt' instruction... OK.
        Sep  1 06:47:26 virtual kernel: POSIX conformance testing by UNIFIX
        Sep  1 06:47:26 virtual kernel: enabled ExtINT on CPU#0
        Sep  1 06:47:26 virtual kernel: ESR value before enabling vector: 00000000
        Sep  1 06:47:26 virtual kernel: ESR value after enabling vector: 00000000
        Sep  1 06:47:26 virtual kernel: Using local APIC timer interrupts.
        Sep  1 06:47:26 virtual kernel: calibrating APIC timer ...
        Sep  1 06:47:26 virtual kernel: ..... CPU clock speed is 2400.0526 MHz.
        Sep  1 06:47:26 virtual kernel: ..... host bus clock speed is 133.3360 MHz.
        Sep  1 06:47:26 virtual kernel: cpu: 0, clocks: 1333360, slice: 666680
        Sep  1 06:47:26 virtual kernel: CPU0<T0:1333360,T1:666672,D:8,S:666680,C:1333360>
        Sep  1 06:47:26 virtual kernel: mtrr: v1.40 (20010327) Richard Gooch (rgooch at atnf.csiro.au)
        Sep  1 06:47:26 virtual kernel: mtrr: detected mtrr type: Intel
        Sep  1 06:47:26 virtual kernel: PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=2
        Sep  1 06:47:26 virtual kernel: PCI: Using configuration type 1
        Sep  1 06:47:26 virtual kernel: PCI: Probing PCI hardware
        Sep  1 06:47:26 virtual kernel: Unknown bridge resource 0: assuming transparent
        Sep  1 06:47:26 virtual kernel: PCI: Using IRQ router PIIX [8086/24c0] at 00:1f.0
        Sep  1 06:47:26 virtual kernel: PCI: Found IRQ 10 for device 00:1f.1
        Sep  1 06:47:26 virtual kernel: PCI: Sharing IRQ 10 with 00:1d.2
        Sep  1 06:47:26 virtual kernel: PCI: Sharing IRQ 10 with 02:02.0
        Sep  1 06:47:26 virtual kernel: Linux NET4.0 for Linux 2.4
        Sep  1 06:47:26 virtual kernel: Based upon Swansea University Computer Society NET3.039
        Sep  1 06:47:26 virtual kernel: Initializing RT netlink socket
        Sep  1 06:47:26 virtual kernel: Starting kswapd
        Sep  1 06:47:26 virtual kernel: VFS: Diskquotas version dquot_6.4.0 initialized
        Sep  1 06:47:26 virtual kernel: devfs: v1.10 (20020120) Richard Gooch (rgooch at atnf.csiro.au)
        Sep  1 06:47:26 virtual kernel: devfs: boot_options: 0x0
        Sep  1 06:47:26 virtual kernel: Detected PS/2 Mouse Port.
        Sep  1 06:47:26 virtual kernel: pty: 256 Unix98 ptys configured
        Sep  1 06:47:26 virtual kernel: Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
        Sep  1 06:47:26 virtual kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
        Sep  1 06:47:26 virtual kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
        Sep  1 06:47:26 virtual kernel: block: 128 slots per queue, batch=32
        Sep  1 06:47:26 virtual kernel: RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
        Sep  1 06:47:26 virtual kernel: Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994
        Sep  1 06:47:26 virtual kernel: Linux port (c) 1998 Building Number Three Ltd & Jan "Yenya" Kasprzak.
        Sep  1 06:47:26 virtual kernel: NET4: Linux TCP/IP 1.0 for NET4.0
        Sep  1 06:47:26 virtual kernel: IP Protocols: ICMP, UDP, TCP, IGMP
        Sep  1 06:47:26 virtual kernel: IP: routing cache hash table of 8192 buckets, 64Kbytes
        Sep  1 06:47:26 virtual kernel: TCP: Hash tables configured (established 262144 bind 65536)
        Sep  1 06:47:26 virtual kernel: Linux IP multicast router 0.06 plus PIM-SM
        Sep  1 06:47:26 virtual kernel: RAMDISK: cramfs filesystem found at block 0
        Sep  1 06:47:26 virtual kernel: RAMDISK: Loading 2676 blocks [1 disk] into ram disk... |^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^Hdone.
        Sep  1 06:47:26 virtual kernel: Freeing initrd memory: 2676k freed
        Sep  1 06:47:26 virtual kernel: VFS: Mounted root (cramfs filesystem).
        Sep  1 06:47:26 virtual kernel: Journalled Block Device driver loaded
        Sep  1 06:47:26 virtual kernel: Uniform Multi-Platform E-IDE driver Revision: 6.31
        Sep  1 06:47:26 virtual kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
        Sep  1 06:47:26 virtual kernel: PCI_IDE: unknown IDE controller on PCI bus 00 device f9, VID=8086, DID=24cb
        Sep  1 06:47:26 virtual kernel: PCI: Device 00:1f.1 not available because of resource collisions
        Sep  1 06:47:26 virtual kernel: PCI_IDE: chipset revision 1
        Sep  1 06:47:26 virtual kernel: PCI_IDE: not 100%% native mode: will probe irqs later
        Sep  1 06:47:26 virtual kernel:     ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
        Sep  1 06:47:26 virtual kernel:     ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio
        Sep  1 06:47:26 virtual kernel: hda: MAXTOR 6L040J2, ATA DISK drive
        Sep  1 06:47:26 virtual kernel: hdb: ST380011A, ATA DISK drive
        Sep  1 06:47:26 virtual kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
        Sep  1 06:47:26 virtual kernel: hda: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=77557/16/63
        Sep  1 06:47:26 virtual kernel: hdb: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63
        Sep  1 06:47:26 virtual kernel: Partition check:
        Sep  1 06:47:26 virtual kernel:  /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 >
        Sep  1 06:47:26 virtual kernel:  /dev/ide/host0/bus0/target1/lun0: unknown partition table
        Sep  1 06:47:26 virtual kernel: cramfs: wrong magic
        Sep  1 06:47:26 virtual kernel: VFS: Mounted root (ext2 filesystem) readonly.
        Sep  1 06:47:26 virtual kernel: change_root: old root has d_count=2
        Sep  1 06:47:26 virtual kernel: Freeing unused kernel memory: 212k freed
        Sep  1 06:47:26 virtual kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
        Sep  1 06:47:26 virtual kernel: Adding Swap: 1004052k swap-space (priority -1)
        Sep  1 06:47:26 virtual kernel: Real Time Clock Driver v1.10e
        Sep  1 06:47:26 virtual kernel: eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
        Sep  1 06:47:26 virtual kernel: eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw at saw.sw.com.sg> and others
        Sep  1 06:47:26 virtual kernel: PCI: Found IRQ 10 for device 02:02.0
        Sep  1 06:47:26 virtual kernel: PCI: Sharing IRQ 10 with 00:1d.2
        Sep  1 06:47:26 virtual kernel: PCI: Sharing IRQ 10 with 00:1f.1
        Sep  1 06:47:26 virtual kernel: eth0: Intel Corp. 82557 [Ethernet Pro 100], 00:90:27:9F:85:67, IRQ 10.
        Sep  1 06:47:26 virtual kernel:   Board assembly 721383-007, Physical connectors present: RJ45
        Sep  1 06:47:26 virtual kernel:   Primary interface chip i82555 PHY #1.
        Sep  1 06:47:26 virtual kernel:   General self-test: passed.
        Sep  1 06:47:26 virtual kernel:   Serial sub-system self-test: passed.
        Sep  1 06:47:26 virtual kernel:   Internal registers self-test: passed.
        Sep  1 06:47:26 virtual kernel:   ROM checksum self-test: passed (0x04f4518b).
        
And under 2.4.21 it shows:
        Sep  1 08:53:41 virtual kernel: Linux version 2.4.21-4-686 (herbert at gondolin) (gcc version 3.3.1 20030626 (Debian prerelease)) #1 Sat Aug 2 23:27:25 EST 2003
        Sep  1 08:53:41 virtual kernel: BIOS-provided physical RAM map:
        Sep  1 08:53:41 virtual kernel:  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
        Sep  1 08:53:41 virtual kernel:  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
        Sep  1 08:53:41 virtual kernel:  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
        Sep  1 08:53:41 virtual kernel:  BIOS-e820: 0000000000100000 - 000000003ff40000 (usable)
        Sep  1 08:53:41 virtual kernel:  BIOS-e820: 000000003ff40000 - 000000003ff50000 (ACPI data)
        Sep  1 08:53:41 virtual kernel:  BIOS-e820: 000000003ff50000 - 0000000040000000 (ACPI NVS)
        Sep  1 08:53:41 virtual kernel: 127MB HIGHMEM available.
        Sep  1 08:53:41 virtual kernel: 896MB LOWMEM available.
        Sep  1 08:53:41 virtual kernel: On node 0 totalpages: 261952
        Sep  1 08:53:41 virtual kernel: zone(0): 4096 pages.
        Sep  1 08:53:41 virtual kernel: zone(1): 225280 pages.
        Sep  1 08:53:41 virtual kernel: zone(2): 32576 pages.
        Sep  1 08:53:41 virtual kernel: Kernel command line: auto BOOT_IMAGE=Linux ro root=303
        Sep  1 08:53:41 virtual kernel: Found and enabled local APIC!
        Sep  1 08:53:41 virtual kernel: Initializing CPU#0
        Sep  1 08:53:41 virtual kernel: Detected 2400.143 MHz processor.
        Sep  1 08:53:41 virtual kernel: Console: colour VGA+ 80x50
        Sep  1 08:53:41 virtual kernel: Calibrating delay loop... 4784.12 BogoMIPS
        Sep  1 08:53:41 virtual kernel: Memory: 1029976k/1047808k available (1052k kernel code, 17444k reserved, 398k data, 104k init, 130304k highmem)
        Sep  1 08:53:41 virtual kernel: Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
        Sep  1 08:53:41 virtual kernel: Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
        Sep  1 08:53:41 virtual kernel: Mount cache hash table entries: 512 (order: 0, 4096 bytes)
        Sep  1 08:53:41 virtual kernel: Buffer-cache hash table entries: 65536 (order: 6, 262144 bytes)
        Sep  1 08:53:41 virtual kernel: Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
        Sep  1 08:53:41 virtual kernel: CPU: Trace cache: 12K uops, L1 D cache: 8K
        Sep  1 08:53:41 virtual kernel: CPU: L2 cache: 512K
        Sep  1 08:53:41 virtual kernel: Intel machine check architecture supported.
        Sep  1 08:53:41 virtual kernel: Intel machine check reporting enabled on CPU#0.
        Sep  1 08:53:41 virtual kernel: CPU:     After generic, caps: 3febfbff 00000000 00000000 00000000
        Sep  1 08:53:41 virtual kernel: CPU:             Common caps: 3febfbff 00000000 00000000 00000000
        Sep  1 08:53:41 virtual inetd[237]: ib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/75dpi/PseudoColor: unknown service
        Sep  1 08:53:41 virtual kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 04
        Sep  1 08:53:41 virtual kernel: Enabling fast FPU save and restore... done.
        Sep  1 08:53:41 virtual kernel: Enabling unmasked SIMD FPU exception support... done.
        Sep  1 08:53:41 virtual kernel: Checking 'hlt' instruction... OK.
        Sep  1 08:53:41 virtual kernel: POSIX conformance testing by UNIFIX
        Sep  1 08:53:41 virtual kernel: enabled ExtINT on CPU#0
        Sep  1 08:53:41 virtual kernel: ESR value before enabling vector: 00000000
        Sep  1 08:53:41 virtual kernel: ESR value after enabling vector: 00000000
        Sep  1 08:53:41 virtual kernel: Using local APIC timer interrupts.
        Sep  1 08:53:41 virtual kernel: calibrating APIC timer ...
        Sep  1 08:53:41 virtual kernel: ..... CPU clock speed is 2400.1376 MHz.
        Sep  1 08:53:41 virtual kernel: ..... host bus clock speed is 133.3408 MHz.
        Sep  1 08:53:41 virtual kernel: cpu: 0, clocks: 1333408, slice: 666704
        Sep  1 08:53:41 virtual kernel: CPU0<T0:1333408,T1:666704,D:0,S:666704,C:1333408>
        Sep  1 08:53:41 virtual kernel: mtrr: v1.40 (20010327) Richard Gooch (rgooch at atnf.csiro.au)
        Sep  1 08:53:41 virtual kernel: mtrr: detected mtrr type: Intel
        Sep  1 08:53:41 virtual kernel: PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=2
        Sep  1 08:53:41 virtual kernel: PCI: Using configuration type 1
        Sep  1 08:53:41 virtual kernel: PCI: Probing PCI hardware
        Sep  1 08:53:41 virtual kernel: PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
        Sep  1 08:53:41 virtual kernel: Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge
        Sep  1 08:53:41 virtual kernel: PCI: Using IRQ router PIIX [8086/24c0] at 00:1f.0
        Sep  1 08:53:41 virtual kernel: PCI: Found IRQ 10 for device 00:1f.1
        Sep  1 08:53:41 virtual kernel: PCI: Sharing IRQ 10 with 00:1d.2
        Sep  1 08:53:41 virtual kernel: PCI: Sharing IRQ 10 with 02:02.0
        Sep  1 08:53:41 virtual kernel: Linux NET4.0 for Linux 2.4
        Sep  1 08:53:41 virtual kernel: Based upon Swansea University Computer Society NET3.039
        Sep  1 08:53:41 virtual kernel: Initializing RT netlink socket
        Sep  1 08:53:41 virtual kernel: Starting kswapd
        Sep  1 08:53:41 virtual kernel: allocated 32 pages and 32 bhs reserved for the highmem bounces
        Sep  1 08:53:41 virtual kernel: VFS: Diskquotas version dquot_6.4.0 initialized
        Sep  1 08:53:41 virtual kernel: devfs: v1.12c (20020818) Richard Gooch (rgooch at atnf.csiro.au)
        Sep  1 08:53:41 virtual kernel: devfs: boot_options: 0x0
        Sep  1 08:53:41 virtual kernel: Detected PS/2 Mouse Port.
        Sep  1 08:53:41 virtual kernel: pty: 256 Unix98 ptys configured
        Sep  1 08:53:41 virtual kernel: Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
        Sep  1 08:53:41 virtual kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
        Sep  1 08:53:41 virtual kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
        Sep  1 08:53:41 virtual kernel: RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
        Sep  1 08:53:41 virtual kernel: Initializing Cryptographic API
        Sep  1 08:53:41 virtual kernel: NET4: Linux TCP/IP 1.0 for NET4.0
        Sep  1 08:53:41 virtual kernel: IP: routing cache hash table of 8192 buckets, 64Kbytes
        Sep  1 08:53:41 virtual kernel: TCP: Hash tables configured (established 262144 bind 65536)
        Sep  1 08:53:41 virtual kernel: Linux IP multicast router 0.06 plus PIM-SM
        Sep  1 08:53:41 virtual kernel: RAMDISK: cramfs filesystem found at block 0
        Sep  1 08:53:41 virtual kernel: RAMDISK: Loading 3268 blocks [1 disk] into ram disk... |^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^Hdone.
        Sep  1 08:53:41 virtual kernel: Freeing initrd memory: 3268k freed
        Sep  1 08:53:41 virtual kernel: VFS: Mounted root (cramfs filesystem).
        Sep  1 08:53:41 virtual kernel: Freeing unused kernel memory: 104k freed
        Sep  1 08:53:41 virtual kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
        Sep  1 08:53:41 virtual kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
        Sep  1 08:53:41 virtual kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
        Sep  1 08:53:41 virtual kernel: ICH4: IDE controller at PCI slot 00:1f.1
        Sep  1 08:53:41 virtual kernel: PCI: Enabling device 00:1f.1 (0005 -> 0007)
        Sep  1 08:53:41 virtual kernel: PCI: Found IRQ 10 for device 00:1f.1
        Sep  1 08:53:41 virtual kernel: PCI: Sharing IRQ 10 with 00:1d.2
        Sep  1 08:53:41 virtual kernel: PCI: Sharing IRQ 10 with 02:02.0
        Sep  1 08:53:41 virtual kernel: ICH4: chipset revision 1
        Sep  1 08:53:41 virtual kernel: ICH4: not 100%% native mode: will probe irqs later
        Sep  1 08:53:41 virtual kernel:     ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
        Sep  1 08:53:41 virtual kernel: hda: MAXTOR 6L040J2, ATA DISK drive
        Sep  1 08:53:41 virtual kernel: hdb: ST380011A, ATA DISK drive
        Sep  1 08:53:41 virtual kernel: blk: queue f88276c0, I/O limit 4095Mb (mask 0xffffffff)
        Sep  1 08:53:41 virtual kernel: blk: queue f88277fc, I/O limit 4095Mb (mask 0xffffffff)
        Sep  1 08:53:41 virtual kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
        Sep  1 08:53:41 virtual kernel: Journalled Block Device driver loaded
        Sep  1 08:53:41 virtual kernel: hda: attached ide-disk driver.
        Sep  1 08:53:41 virtual kernel: hda: host protected area => 1
        Sep  1 08:53:41 virtual kernel: hda: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=77557/16/63, UDMA(33)
        Sep  1 08:53:41 virtual kernel: hdb: attached ide-disk driver.
        Sep  1 08:53:41 virtual kernel: hdb: host protected area => 1
        Sep  1 08:53:41 virtual kernel: hdb: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63, UDMA(33)
        Sep  1 08:53:41 virtual kernel: Partition check:
        Sep  1 08:53:41 virtual kernel:  /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 >
        Sep  1 08:53:41 virtual kernel:  /dev/ide/host0/bus0/target1/lun0: unknown partition table
        Sep  1 08:53:41 virtual kernel: ext3: No journal on filesystem on ide0(3,3)
        Sep  1 08:53:41 virtual kernel: Adding Swap: 1004052k swap-space (priority -1)
        Sep  1 08:53:41 virtual kernel: Real Time Clock Driver v1.10e
        Sep  1 08:53:41 virtual kernel: eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
        Sep  1 08:53:41 virtual kernel: eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw at saw.sw.com.sg> and others
        Sep  1 08:53:41 virtual kernel: PCI: Found IRQ 10 for device 02:02.0
        Sep  1 08:53:41 virtual kernel: PCI: Sharing IRQ 10 with 00:1d.2
        Sep  1 08:53:41 virtual kernel: PCI: Sharing IRQ 10 with 00:1f.1
        Sep  1 08:53:41 virtual kernel: eth0: Intel Corp. 82557/8/9 [Ethernet Pro 100], 00:90:27:9F:85:67, IRQ 10.
        Sep  1 08:53:41 virtual kernel:   Board assembly 721383-007, Physical connectors present: RJ45
        Sep  1 08:53:41 virtual kernel:   Primary interface chip i82555 PHY #1.
        Sep  1 08:53:41 virtual kernel:   General self-test: passed.
        Sep  1 08:53:41 virtual kernel:   Serial sub-system self-test: passed.
        Sep  1 08:53:41 virtual kernel:   Internal registers self-test: passed.
        Sep  1 08:53:41 virtual kernel:   ROM checksum self-test: passed (0x04f4518b).
        Sep  1 08:53:41 virtual kernel: blk: queue f88276c0, I/O limit 4095Mb (mask 0xffffffff)
        
Now I know you're going to ask me why I didn't boot back into 2.4.18 and
go from there. Well I tried but the machine didn't come back and I had
to wait for the remote end to press the big red button. The report came
back that it showed a whole lot of missing modules then died.

What I don't understand is that I upgraded the kernel with apt-get
install and that created its own modules directory as usual.

My lsmod (under 2.4.21) shows a whole lot of modules I never loaded
(used by ide-mod), nor can I find where they're being loaded:

        virtual:/etc# lsmod
        Module                  Size  Used by    Not tainted
        appletalk              22468  12  (autoclean)
        ide-pnp                 1376   0  (unused)
        isa-pnp                32880   0  [ide-pnp]
        ide-tape               47856   0 
        eepro100               20244   1 
        mii                     2496   0  [eepro100]
        rtc                     6792   0  (autoclean)
        ext2                   35200   5  (autoclean)
        ext3                   64512   0  (autoclean)
        jbd                    42372   0  (autoclean) [ext3]
        ide-probe-mod          10784   0  (autoclean)
        via82cxxx              11112   0  (autoclean) (unused)
        trm290                  2506   0  (autoclean) (unused)
        triflex                 2476   0  (autoclean) (unused)
        slc90e66                4848   0  (autoclean) (unused)
        sis5513                 9332   0  (autoclean) (unused)
        siimage                10148   0  (autoclean) (unused)
        serverworks             8348   0  (autoclean) (unused)
        sc1200                  5264   0  (autoclean) (unused)
        rz1000                  1064   0  (autoclean) (unused)
        piix                    8328   1  (autoclean)
        pdc202xx_old           11428   0  (autoclean) (unused)
        opti621                 2668   0  (autoclean) (unused)
        ns87415                 2056   0  (autoclean) (unused)
        hpt366                 15396   0  (autoclean) (unused)
        ide-disk               16512   6  (autoclean) [hpt366]
        hpt34x                  2504   0  (autoclean) (unused)
        generic                 1832   0  (autoclean) (unused)
        cy82c693                2156   0  (autoclean) (unused)
        cs5530                  3728   0  (autoclean) (unused)
        cmd64x                  8004   0  (autoclean) (unused)
        cmd640                  2916   0  (autoclean) (unused)
        amd74xx                10084   0  (autoclean) (unused)
        alim15x3                7796   0  (autoclean) (unused)
        aec62xx                 5988   0  (autoclean) (unused)
        adma100                  840   0  (autoclean) (unused)
        pdc202xx_new            7972   0  (autoclean) (unused)
        ide-mod                98808   6  (autoclean) [ide-pnp ide-tape ide-probe-mod via82cxxx trm290 triflex slc90e66 sis5513 siimage serverworks s
        c1200 rz1000 piix pdc202xx_old opti621 ns87415 hpt366 ide-disk hpt34x generic cy82c693 cs5530 cmd64x cmd640 amd74xx alim15x3 aec62xx adma100 
        pdc202xx_new]
        unix                   15532   8  (autoclean)

        

John:
on another note, it appears that the secondary controller is disabled in
the pci configuration registers...

000040 77 e3 00 00 0b 00 00 00 03 00 22 00 00 00 00 00

the first two are the setup of the first controller, the second two are
the setup of the second controller.

Those second two bytes definitely shouldn't be 0! 



Onno:
When you say disabled, I'm not sure what you mean as the BIOS has
everything active and I didn't think any of my configuration has asked
to disable it.



John:
Hi...hope you had a good weekend...


Onno:
Having a BBQ on top of BBQ Hill in Kununurra. We sat and talked and
looked at the stars :-)



John:
I find this line a bit of a worry...

Sep  1 08:53:41 virtual kernel: PCI: Enabling device 00:1f.1 (0005 ->
0007).

According to the bible
(http://www.intel.com/design/chipsets/datashts/29074401.pdf - Intel
82801DB I/O Controller Hub 4 datasheet) the command word should already
have been set by the BIOS to 0007.

You might want to update the BIOS on this motherboard as the BIOS the
machine has appears to be _OLD_.

http://www.intel.com/design/motherbd/bg2/bg2_bios.htm

While the release notes don't point to anything specific, there is a fix
at one point to be more tolerant of IDE devices with slow spin-up times
etc.

Anyway, as painful as it is, you might want to give that a go.... and
... yes, I realise you are a long way away, and that BIOS updates are a
rather nasty/delicate/dangerous thing to do, but I think it would be a
good idea to start with....being as there does seem to be some sort of
issue with the BIOS initialisation of the PCI devices.


Onno:
There goes the weekend :-)

I'll investigate to see if there is a USB floppy drive around on site
and if the BIOS supports USB floppy booting. Then I suppose I'd better
organise for the locals to do a BIOS upgrade.

The one thing that I confess gives me more confidence is that the BIOS
has a recovery mode which allows you to boot from a BIOS floppy even if
the update fails - it's all done in the dark - no screen or keyboard,
but the POST beeps apparently tell the tail.

I'll keep the list posted and please feel free to jump in with any other
suggestions or observations.

Your help to date has been very supportive and much appreciated.
---END TRANSCRIPT---

<So, did anyone get here, learn something and think of a solution?>

Onno Benschop 

Connected via Optus B3 at S15:51'18" - E128:45'05" (Crossing Falls, Kununurra, WA)
-- 
()/)/)()        ..ASCII for Onno.. 
|>>?            ..EBCDIC for Onno.. 
--- -. -. ---   ..Morse for Onno.. 

Proudly supported by Skipper Trucks, Highway1, Concept AV, Sony Central, Dalcon
ITmaze - ABN: 56 178 057 063 - ph: 04 1219 8888 - onno at itmaze dot com dot au

_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list