Date: Fri, 23 Jan 1998 12:06:06 +0300 From: "Mikhail A. Sokolov" <mishania@demos.su> To: gibbs@FreeBSD.ORG Cc: scsi@FreeBSD.ORG, ache@FreeBSD.ORG Subject: Infortrend's drivers/help needed, please. Message-ID: <19980123120606.31963@demos.su>
next in thread | raw e-mail | index | archive | help
Hello, could you please help us with the following: we have IFT controller, which allows us to create several (up to 64) logical units, which are routed to scsi channels with one (different for each channel, though) id and different lun's. There are no problems when you create two logical units and each of them is connected to different channel (hence, different id's). Both channels are connected to one scsi bus as different devices: term---+----+---------2940uw | | id1 id2 sd0 at scbus0 target 1 lun 0 sd0: <IFT 3102 0112> type 0 fixed SCSI 2 sd0: Direct-Access 8683MB (17783104 512 byte sectors) sd1 at scbus0 target 2 lun 0 sd1: <IFT 3102 0112> type 0 fixed SCSI 2 sd1: Direct-Access 8683MB (17783104 512 byte sectors) In case the same devices are connected to the same channel (hence, getting the same id with different lun's) - sd0 at scbus0 target 1 lun 0 sd0: <IFT 3102 0112> type 0 fixed SCSI 2 sd0: Direct-Access 8683MB (17783104 512 byte sectors) sd1 at scbus0 target 1 lun 1 sd1: <IFT 3102 0112> type 0 fixed SCSI 2 sd1: Direct-Access 8683MB (17783104 512 byte sectors) While working with separate device everything goes ok then; when you ccd those, errors like the below described start to appear: sd1: SCB 0x0 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 SEQADDR = 0x8 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa sd1: SCB 0: Immediate reset. Flags = 0x1 sd1: no longer in timeout ahc0: Issued Channel A Bus Reset. 2 SCBs aborted sd1: UNIT ATTENTION asc:29,0 sd1: Power on, reset, or bus device reset occurred , retries:3 What we think here: it's hardly IFT's (i.e. hardware problem), it can work with different lun's (we checked on two different IFT devices), it's neither aic7880's trouble (it works with several lun's, doesn't it?), - might be some error in ahc driver. Likely, it isn't a typical case when fast devices like sd get one id and different lun's and isn't tested ok. This situation is the very same for -stable as well as for -current. Some details: Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Tue Jan 20 12:54:29 MSK 1998 bag@dt.demos.su:/usr/src/sys/compile/RT CPU: Pentium (165.79-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 33554432 (32768K bytes) avail memory = 30785536 (30064K bytes) Probing for devices on PCI bus 0: chip0: <Intel 82437FX PCI cache memory controller> rev 0x02 on pci0.0.0 fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x01 int a irq 5 on pci0.6.0 fxp0: Ethernet address 00:a0:c9:1d:b2:aa vga0: <Weitek P9000 graphics accelerator> rev 0x03 on pci0.7.0 ahc0: <Adaptec 2940 Ultra SCSI host adapter> rev 0x01 int a irq 11 on pci0.8.0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs ahc0: waiting for scsi devices to settle scbus0 at ahc0 bus 0 sd0 at scbus0 target 1 lun 0 sd0: <IFT 3102 0112> type 0 fixed SCSI 2 sd0: Direct-Access 8683MB (17783104 512 byte sectors) sd1 at scbus0 target 2 lun 0 sd1: <IFT 3102 0112> type 0 fixed SCSI 2 sd1: Direct-Access 8683MB (17783104 512 byte sectors) chip1: <Intel 82371FB PCI to ISA bridge> rev 0x02 on pci0.15.0 ide_pci0: <Intel PIIX Bus-master IDE controller> rev 0x02 on pci0.15.1 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): <WDC AC21200H> wd0: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S npx0 flags 0x1 on motherboard npx0: INT 16 interface Intel Pentium F00F detected, installing workaround ccd0-3: Concatenated disk drivers ^^^^^^ There're no errors, when sd0/sd1 have different ids. Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Tue Jan 20 12:54:29 MSK 1998 bag@dt.demos.su:/usr/src/sys/compile/RT CPU: Pentium (165.79-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 33554432 (32768K bytes) avail memory = 30785536 (30064K bytes) Probing for devices on PCI bus 0: chip0: <Intel 82437FX PCI cache memory controller> rev 0x02 on pci0.0.0 fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x01 int a irq 5 on pci0.6.0 fxp0: Ethernet address 00:a0:c9:1d:b2:aa vga0: <Weitek P9000 graphics accelerator> rev 0x03 on pci0.7.0 ahc0: <Adaptec 2940 Ultra SCSI host adapter> rev 0x01 int a irq 11 on pci0.8.0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs ahc0: waiting for scsi devices to settle scbus0 at ahc0 bus 0 sd0 at scbus0 target 1 lun 0 sd0: <IFT 3102 0112> type 0 fixed SCSI 2 sd0: Direct-Access 8683MB (17783104 512 byte sectors) sd1 at scbus0 target 1 lun 1 sd1: <IFT 3102 0112> type 0 fixed SCSI 2 sd1: Direct-Access 8683MB (17783104 512 byte sectors) chip1: <Intel 82371FB PCI to ISA bridge> rev 0x02 on pci0.15.0 ide_pci0: <Intel PIIX Bus-master IDE controller> rev 0x02 on pci0.15.1 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): <WDC AC21200H> wd0: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S npx0 flags 0x1 on motherboard npx0: INT 16 interface Intel Pentium F00F detected, installing workaround ccd0-3: Concatenated disk drivers ^^^^^ There are errors, when sd0/sd1 have one id and different luns: sd1: SCB 0x0 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 SEQADDR = 0x8 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa sd1: SCB 0: Immediate reset. Flags = 0x1 sd1: no longer in timeout ahc0: Issued Channel A Bus Reset. 2 SCBs aborted sd1: UNIT ATTENTION asc:29,0 sd1: Power on, reset, or bus device reset occurred , retries:3 sd0: UNIT ATTENTION asc:29,0 sd0: Power on, reset, or bus device reset occurred , retries:4 sd1: SCB 0x2 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 SEQADDR = 0x7 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa sd1: SCB 2: Immediate reset. Flags = 0x1 sd1: no longer in timeout ahc0: Issued Channel A Bus Reset. 2 SCBs aborted sd1: UNIT ATTENTION asc:29,0 sd1: Power on, reset, or bus device reset occurred , retries:3 sd0: UNIT ATTENTION asc:29,0 sd0: Power on, reset, or bus device reset occurred , retries:3 sd0: SCB 0x3 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 SEQADDR = 0x7 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa sd0: SCB 3: Immediate reset. Flags = 0x1 sd0: no longer in timeout ahc0: Issued Channel A Bus Reset. 2 SCBs aborted sd1: UNIT ATTENTION asc:29,0 sd1: Power on, reset, or bus device reset occurred , retries:3 sd0: UNIT ATTENTION asc:29,0 sd0: Power on, reset, or bus device reset occurred , retries:1 sd0: SCB 0x2 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 SEQADDR = 0x7 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa sd0: SCB 2: Immediate reset. Flags = 0x1 sd0: no longer in timeout ahc0: Issued Channel A Bus Reset. 2 SCBs aborted sd0: UNIT ATTENTION asc:29,0 sd0: Power on, reset, or bus device reset occurred , retries:3 sd1: UNIT ATTENTION asc:29,0 sd1: Power on, reset, or bus device reset occurred , retries:3 sd1: SCB 0x2 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 SEQADDR = 0x7 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa sd1: SCB 2: Immediate reset. Flags = 0x1 sd1: no longer in timeout ahc0: Issued Channel A Bus Reset. 2 SCBs aborted sd1: UNIT ATTENTION asc:29,0 sd1: Power on, reset, or bus device reset occurred , retries:3 sd0: UNIT ATTENTION asc:29,0 sd0: Power on, reset, or bus device reset occurred , retries:4 sd1: SCB 0x0 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 SEQADDR = 0x7 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa sd1: SCB 0: Immediate reset. Flags = 0x1 sd1: no longer in timeout ahc0: Issued Channel A Bus Reset. 2 SCBs aborted sd1: UNIT ATTENTION asc:29,0 sd1: Power on, reset, or bus device reset occurred , retries:3 sd0: SCB 0x3 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 SEQADDR = 0x6 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa sd0: SCB 3: Immediate reset. Flags = 0x1 sd0: no longer in timeout ahc0: Issued Channel A Bus Reset. 2 SCBs aborted sd0: UNIT ATTENTION asc:29,0 sd0: Power on, reset, or bus device reset occurred , retries:3 You help will be appreciated a lot. -- -mishania
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980123120606.31963>