Re: pci bus 1

From: Junjiro Okajima (j-okajim@nskli014.nsk.nis.nec.co.jp)
Date: Fri Apr 07 2000 - 05:43:24 EST


Martin Mares:
> Please download my latest PCI patch from ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/patches/linux-2.3.99pre3pre4-pci.gz,
> apply it to the latest 2.3.99 kernel and tell me whether it helps or not. It contains
> several changes in the peer host bus detection code which should help in your case.

Thank you, Maritin.

I tried linux-2.3.99-pre3 and your patch. Now happily the scsi
controller on the pci bus 1 was detected, but sadly it didn't work.

Under the kernel 2.2.X or 2.3.99pre2 with my dirty patch, the driver
would go its initialization or something after the detection, and the
connected scsi devices were listed such like this.

        sym53c8xx: at PCI bus 1, device 4, function 0
        sym53c8xx: setting PCI_COMMAND_PARITY...(fix-up)
                :::
        scsi0 : sym53c8xx - version 1.5k
        scsi1 : sym53c8xx - version 1.5k
        scsi : 2 hosts.
        sym53c896-0: command processing resumed
        sym53c896-1: command processing resumed
           Vendor: QUANTUM Model: ATLAS IV 9 SCA Rev: 0898
           Type: Direct-Access ANSI SCSI revision: 03
                :::

Under the kernel 2.3.99pre3 with your patch, a part of your patch was
rejected and I applied manually, the devices are not listed. And it
seems retrying forever.

        :::
scsi0 : sym53c8xx - version 1.5k
scsi1 : sym53c8xx - version 1.5k
scsi : 2 hosts.
sym53c896-0: command processing resumed
sym53c896-1: command processing resumed
scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 0, lun 0 Te
st Unit Ready 00 00 00 00 00
sym53c8xx_abort: pid=0 serial_number=1 serial_number_at_timeout=1
SCSI host 0 abort (pid 0) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
sym53c8xx_reset: pid=0 reset_flags=2 serial_number=1 serial_number_at_timeout=1
sym53c896-0: resetting, command processing suspended for 2 seconds
sym53c896-0: command processing resumed
SCSI host 0 abort (pid 0) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
sym53c8xx_reset: pid=0 reset_flags=2 serial_number=2 serial_number_at_timeout=2
sym53c896-0: resetting, command processing suspended for 2 seconds
        :::

I don't think it is a matter of scsi driver.

> Also, I'm interested in `lspci -MH1 -vvx' output for your machine.

Here you are.
But I don't want you to think I have a IBM S/390 on my desk.

00:00.0 Host bridge: Pequr Technology: Unknown device 0007 (rev 04)
        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: 64 set, cache line size 08
        Region 0: Memory at fa000000 (32-bit, prefetchable)
        Region 1: Memory at f8010000 (32-bit, non-prefetchable)
00: 66 11 07 00 06 01 00 a2 04 00 00 06 08 40 80 00
10: 08 00 00 fa 00 00 01 f8 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:00.1 Host bridge: Pequr Technology: Unknown device 0005 (rev 02)
        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-
00: 66 11 05 00 00 00 00 02 02 00 00 06 08 20 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:02.0 VGA compatible controller: Cirrus Logic GD 5465 [Laguna] (rev 03)
        Subsystem: Unknown device 1013:80d6
        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-
        Interrupt: pin A routed to IRQ 9
        Region 0: Memory at f6000000 (32-bit, non-prefetchable)
        Region 1: Memory at f8000000 (32-bit, non-prefetchable)
00: 13 10 d6 00 03 00 a0 00 03 00 00 03 00 80 00 00
10: 00 00 00 f6 00 00 00 f8 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 13 10 d6 80
30: 00 00 f1 01 00 00 00 00 00 00 00 00 09 01 10 10

00:03.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)
        Subsystem: Unknown device 10b7:9055
        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: 10 min, 10 max, 80 set, cache line size 08
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at 5000
        Region 1: Memory at f8011000 (32-bit, non-prefetchable)
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- AuxPwr- DSI- D1+ D2+ PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: b7 10 55 90 17 01 10 02 30 00 00 02 08 50 00 00
10: 01 50 00 00 00 10 01 f8 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 b7 10 55 90
30: 00 00 00 00 dc 00 00 00 00 00 00 00 0a 01 0a 0a

00:0f.0 ISA bridge: Pequr Technology: Unknown device 0200 (rev 4d)
        Subsystem: Unknown device 1166:0200
        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 set
00: 66 11 00 02 07 00 00 02 4d 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 66 11 00 02
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:0f.1 IDE interface: Pequr Technology: Unknown device 0211 (prog-if 8a)
        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: 64 set
        Region 4: I/O ports at 0840
00: 66 11 11 02 05 01 00 82 00 8a 01 01 00 40 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 41 08 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:11.0 Host bridge: Pequr Technology: Unknown device 0007 (rev 11)
        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: 48 set, cache line size 08
00: 66 11 07 00 06 01 00 22 11 00 00 06 08 30 00 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

01:04.0 SCSI storage controller: Symbios Logic Inc. (formerly NCR) 53c896 (rev 01)
        Subsystem: Unknown device 1000:1000
        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: 17 min, 64 max, 140 set, cache line size 08
        Interrupt: pin A routed to IRQ 7
        Region 0: I/O ports at 5400
        Region 1: Memory at fc006000 (64-bit, non-prefetchable)
        Region 3: Memory at fc000000 (64-bit, non-prefetchable)
        Capabilities: [40] Power Management version 1
                Flags: PMEClk- AuxPwr- DSI- D1+ D2+ PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 00 10 0b 00 57 01 10 02 01 00 00 01 08 8c 80 00
10: 01 54 00 00 04 60 00 fc 00 00 00 00 04 00 00 fc
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 10
30: 00 00 00 00 40 00 00 00 00 00 00 00 07 01 11 40

01:04.1 SCSI storage controller: Symbios Logic Inc. (formerly NCR) 53c896 (rev 01)
        Subsystem: Unknown device 1000:1000
        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: 17 min, 64 max, 140 set, cache line size 08
        Interrupt: pin B routed to IRQ 5
        Region 0: I/O ports at 5800
        Region 1: Memory at fc006400 (64-bit, non-prefetchable)
        Region 3: Memory at fc002000 (64-bit, non-prefetchable)
        Capabilities: [40] Power Management version 1
                Flags: PMEClk- AuxPwr- DSI- D1+ D2+ PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 00 10 0b 00 57 01 10 02 01 00 00 01 08 8c 80 00
10: 01 58 00 00 04 64 00 fc 00 00 00 00 04 20 00 fc
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 10
30: 00 00 00 00 40 00 00 00 00 00 00 00 05 02 11 40

01:09.0 SCSI storage controller: Adaptec AIC-7884U (rev 01)
        Subsystem: Unknown device 9004:7884
        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: 8 min, 8 max, 64 set, cache line size 08
        Interrupt: pin A routed to IRQ 9
        Region 0: I/O ports at 6000
        Region 1: Memory at fc004000 (32-bit, non-prefetchable)
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- AuxPwr- DSI+ D1- D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 04 90 78 84 17 01 90 02 01 00 00 01 08 40 00 00
10: 01 60 00 00 00 40 00 fc 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 04 90 84 78
30: 00 00 00 00 dc 00 00 00 00 00 00 00 09 01 08 08

01:0a.0 SCSI storage controller: Adaptec AIC-7884U (rev 01)
        Subsystem: Unknown device 9004:7884
        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: 8 min, 8 max, 64 set, cache line size 08
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at 6400
        Region 1: Memory at fc005000 (32-bit, non-prefetchable)
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- AuxPwr- DSI+ D1- D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 04 90 78 84 17 01 90 02 01 00 00 01 08 40 00 00
10: 01 64 00 00 00 50 00 fc 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 04 90 84 78
30: 00 00 00 00 dc 00 00 00 00 00 00 00 0a 01 08 08

01:0c.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
        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: 64 set, cache line size 08
        Bus: primary=01, secondary=02, subordinate=02, sec-latency=85
        I/O behind bridge: 00007000-00007fff
        Memory behind bridge: fc100000-fc1fffff
        Prefetchable memory behind bridge: 00000000fff00000-0000000000000000
        BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
00: 11 10 24 00 07 01 90 02 03 00 04 06 08 40 01 00
10: 00 00 00 00 00 00 00 00 01 02 02 55 71 71 80 22
20: 10 fc 10 fc f1 ff 01 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 dc 00 00 00 00 00 00 00 00 00 04 00

## 01.0c:0 is a bridge from 01 to 02-02
02:04.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)
        Subsystem: Unknown device 14ea:a001
        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: 20 min, 40 max, 165 set, cache line size 08
        Interrupt: pin A routed to IRQ 9
        Region 0: I/O ports at 7000
        Region 1: Memory at fc100000 (32-bit, non-prefetchable)
00: 11 10 19 00 17 01 80 02 41 00 00 02 08 a5 00 00
10: 01 70 00 00 00 00 10 fc 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 ea 14 01 a0
30: 00 00 00 00 00 00 00 00 00 00 00 00 09 01 14 28

02:05.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)
        Subsystem: Unknown device 14ea:a001
        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: 20 min, 40 max, 165 set, cache line size 08
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at 7080
        Region 1: Memory at fc100400 (32-bit, non-prefetchable)
00: 11 10 19 00 17 01 80 02 41 00 00 02 08 a5 00 00
10: 81 70 00 00 00 04 10 fc 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 ea 14 01 a0
30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 01 14 28

02:06.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)
        Subsystem: Unknown device 14ea:a001
        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: 20 min, 40 max, 165 set, cache line size 08
        Interrupt: pin A routed to IRQ 9
        Region 0: I/O ports at 7400
        Region 1: Memory at fc100800 (32-bit, non-prefetchable)
00: 11 10 19 00 17 01 80 02 41 00 00 02 08 a5 00 00
10: 01 74 00 00 00 08 10 fc 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 ea 14 01 a0
30: 00 00 00 00 00 00 00 00 00 00 00 00 09 01 14 28

02:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)
        Subsystem: Unknown device 14ea:a001
        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: 20 min, 40 max, 165 set, cache line size 08
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at 7480
        Region 1: Memory at fc100c00 (32-bit, non-prefetchable)
00: 11 10 19 00 17 01 80 02 41 00 00 02 08 a5 00 00
10: 81 74 00 00 00 0c 10 fc 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 ea 14 01 a0
30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 01 14 28

Summary of buses:

00: Primary host bus
01: Secondary host bus (?)
        0c.0 Bridge to 02-02
02: Entered via 01:0c.0

----------------------------------------------------------------------

Junjiro Okajima

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



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:18 EST