Date: Sun, 7 Sep 1997 18:15:24 +0200 From: Andreas Klemm <andreas@klemm.gtn.com> To: gibbs@plutotech.com Cc: scsi@FreeBSD.ORG Subject: (current) ahc driver problems: timed out in message in phase and referenced scb not valid during seqint Message-ID: <19970907181524.04607@klemm.gtn.com>
next in thread | raw e-mail | index | archive | help
Hi Justin ! [ cc'd to scsi@freebsd.org ] Yesterday I took two disks at home to play a little with ccd's. First of all, impressive, I get the following bonny results using an interleave of 128: 100 8963 86.8 8994 28.2 3172 13.0 8679 87.5 8925 19.3 163.2 6.4 Now here my problems and how they occurred: I did a make release on the /local2 ccd. Everything is fine so far, very fast and such ... (took about 4.5 hours). But when trying to make a backup of /local2/release/R/ftp/* to tape (tar cvf /dev/nrst0 *), then after writing bin and catpages the backup hangs in the compat1x directory. In the first case the LED of the 2nd disk of the ccd0 stripe set was on and the backup session hang. The following error message showed up in the xconsole window: scb 0x5: timed out in message in phase SCSISIGI == 0xe6. After about 20 seconds the screen turned dark and the machine rebooted. My 2nd try of bringing this directory to tape ended with the following message in the xconsole window: ahc1:A:4 ahc_intr: referenced scb not valid during seqint 0x71 scb(255) This time I was able to bring X11 down and to shutdown -r as user. This time no disk LED was on, but the light of the 2nd SCSI controller was on, the 2nd SCSI channel (ahc1) hang... Here my complete configuration ... Since this is my first experience with ccd's and backups to tape using data from the ccd, I can't say if this is ccd specific. BTW: I use a SMP kernel and will try to tell you if this is maybe the reason ... Well, I could try to boot a UP kernel to look, if the problem is SMP related or not ... Andreas /// # ccd ileave flags component devices ccd0 128 none /dev/sd3e /dev/sd4e Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/sd1a 31743 17632 11572 60% / /dev/sd1s1e 194471 151933 26981 85% /var /dev/sd1s1g 1457855 586985 754242 44% /usr /dev/sd1s1f 297663 179671 94179 66% /usr/src /dev/sd0s2e 248047 139330 88874 61% /usr/obj /dev/sd0s2f 545759 404242 97857 81% /cvs /dev/sd0s2g 179011 108881 55809 66% /news /dev/sd2s1e 99183 14054 77195 15% /www /dev/sd2s1f 1882495 1175531 556365 68% /local procfs 4 4 0 100% /proc mfs:28 30991 30 28482 0% /tmp /dev/ccd0c 4094845 660446 3106812 18% /local2 configuration: 1. Controller: ultra speed: 20 MB/sec, parity enabled AHC 2940U - terminator (ahc0 enabled) - sd0, ID 0: IBM DORS 32160 /usr/obj,/cvs,/news - sd1, ID 1: IBM DORS 32160 /,/var,/usr,/usr/src - sd2, ID 2: IBM DORS 32160 /www,/local - terminator (sd2) 2. Controller: normal speed: 10 MB/sec, parity enabled AHC 2940 - terminator (ahc1 enabled) - sd3, ID 0: IBM DORS 32160 -+ - sd4, ID 1: IBM DORS 32160 -+-> ccd0: /local2 - st0, ID 4: TDC 4222 - cd0, ID 6: XM-5701TA - terminator (cd0) Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/sd1a 31743 17632 11572 60% / /dev/sd1s1e 194471 151911 27003 85% /var /dev/sd1s1g 1457855 586988 754239 44% /usr /dev/sd1s1f 297663 179671 94179 66% /usr/src /dev/sd0s2e 248047 139330 88874 61% /usr/obj /dev/sd0s2f 545759 404242 97857 81% /cvs /dev/sd0s2g 179011 108881 55809 66% /news /dev/sd2s1e 99183 14976 76273 16% /www /dev/sd2s1f 1882495 1175523 556373 68% /local procfs 4 4 0 100% /proc mfs:28 30991 14 28498 0% /tmp /dev/ccd0c 4094845 660446 3106812 18% /local2 # # BISDN kernel # machine "i386" cpu "I686_CPU" ident BISDNSMP maxusers 64 # SMP Stuff options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O options USER_LDT # for Wine # Debugging #options DDB #options KTRACE #kernel tracing options SHOW_BUSYBUFS # busy buffers on shutdown ? # Networking options INET #InterNETworking options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #print information about dropped packets options "IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity # filesystems options FFS #Berkeley Fast Filesystem #options NFS #Network File System options MFS #Memory File System options PROCFS #Process filesystem options MSDOSFS #MS DOS File System options "CD9660" #ISO 9660 filesystem options NSWAPDEV=3 #Allow this many swap-devices. # misc options options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE #Allow users to grab the console options SYSVSHM,SYSVSEM,SYSVMSG #shared memory (X11) options "MD5" options COMPAT_LINUX # Linux Binary compatibility config kernel root on sd1 # ISA and PCI BUS support controller isa0 controller pci0 # Floppy Disk Controller controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 # AHA 2940 PCI Controller controller ahc0 # SCSI Devices controller scbus0 device sd0 # Harddisk 0 - DOS/FreeBSD SMP device sd1 # Harddisk 1 - FreeBSD Boot device sd2 # Harddisk 2 - FreeBSD local device st0 # TDC 4222 device cd0 # TOSHIBA XM-5701TA 3136 options AHC_TAGENABLE # tagged command queueing options AHC_ALLOW_MEMIO options AHC_SCBPAGING_ENABLE options SCSI_REPORT_GEOMETRY # SCO compatible system console device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr options MAXCONS=4 # number of virtual consoles # floating point unit device npx0 at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr # serial devices on mainboard device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr # parallel device on mainboard device lpt0 at isa? port? tty irq 7 vector lptintr # PS/2 mouse on mainboard device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr options "PSM_ACCEL=1" # PS/2 mouse acceleration # Joystick device joy0 at isa? port "IO_GAME" # Network 3COM PCI # device vx0 device ed0 at isa? port 0x280 net irq 10 iomem 0xd0000 vector edintr # Soundblaster 16 # SoundBlaster DSP driver - for SB, SB Pro, SB16, PAS(emulating SB) # SoundBlaster 16 DSP driver - for SB16 - requires sb0 device # SoundBlaster 16 MIDI - for SB16 - requires sb0 device # Yamaha OPL-2/OPL-3 FM - for SB, SB Pro, SB16, PAS controller snd0 device sb0 at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr device sbxvi0 at isa? port? irq? drq 5 conflicts device sbmidi0 at isa? port 0x330 irq? conflicts device opl0 at isa? port 0x388 conflicts # Pseudo devices pseudo-device loop pseudo-device ether pseudo-device log #Kernel syslog interface (/dev/klog) pseudo-device vn 1 #Vnode driver (turns a file into a dev.) pseudo-device tun 1 #user mode ppp pseudo-device bpfilter 2 #Berkeley packet filter pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's # BISDN options IPI_VJ # Van Jacobsen header compression support #options "IPI_DIPA=3" # send ip accounting packets every 3 seconds options TELES_HAS_MEMCPYB # bisdn 0.97 # Teles S0/16.3 ###################################################### IRQ 9 ## controller tel0 at isa? port 0xd80 net irq 9 vector telintr pseudo-device disdn pseudo-device isdn pseudo-device ipi 1 pseudo-device ispy 1 #pseudo-device itel 1 dmesg output: pseudo-device ccd 4 #Concatenated disk driver pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=12378086) Probing for devices on PCI bus 0: found-> vendor=0x8086, dev=0x1237, revid=0x02 class=06-00-00, hdrtype=0x00, mfdev=0 chip0: <Intel 82440FX (Natoma) PCI and memory controller> rev 0x02 on pci0.0.0 found-> vendor=0x8086, dev=0x7000, revid=0x01 class=06-01-00, hdrtype=0x00, mfdev=1 chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0 I/O Recovery Timing: 8-bit 1 clocks, 16-bit 1 clocks Extended BIOS: enabled Lower BIOS: disabled Coprocessor IRQ13: enabled Mouse IRQ12: enabled Interrupt Routing: A: IRQ15, B: IRQ11, C: IRQ9, D: disabled MB0: , MB1: found-> vendor=0x8086, dev=0x7010, revid=0x00 class=01-01-80, hdrtype=0x00, mfdev=0 Freeing (NOT implemented) redirected PCI irq 9. found-> vendor=0x102b, dev=0x0519, revid=0x01 class=03-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=18 map[0]: type 1, range 32, base e0800000, size 14 map[1]: type 3, range 32, base e0000000, size 23 vga0: <VGA-compatible display device> rev 0x01 int a irq 18 on pci0.12.0 Freeing (NOT implemented) redirected PCI irq 11. found-> vendor=0x9004, dev=0x8178, revid=0x00 class=01-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=17 map[0]: type 4, range 32, base 00008000, size 8 map[1]: type 1, range 32, base e0804000, size 12 ahc0: <Adaptec 2940 Ultra SCSI host adapter> rev 0x00 int a irq 17 on pci0.13.0 ahc0: Reading SEEPROM...done. internal50 cable is present internal68 cable not present brdctl == 0xac external cable not present eprom is present brdctl == 0xec low byte termination enabled, high byte termination disabled ahc0: aic7880 Single Channel, SCSI Id=7, 16/255 SCBs ahc0: Resetting Channel A ahc0: Downloading Sequencer Program...ahc0: 421 instructions downloaded Done ahc0: Probing channel A scbus0 at ahc0 bus 0 ahc0: target 0 synchronous at 20.0MHz, offset = 0xf ahc0: target 0 Tagged Queuing Device sd0 at scbus0 target 0 lun 0 sd0: <IBM DORS-32160 WA6A> type 0 fixed SCSI 2 sd0: Direct-Access 2063MB (4226725 512 byte sectors) sd0: with 6703 cyls, 5 heads, and an average 126 sectors/track ahc0: target 1 synchronous at 20.0MHz, offset = 0xf ahc0: target 1 Tagged Queuing Device sd1 at scbus0 target 1 lun 0 sd1: <IBM DORS-32160 WA6A> type 0 fixed SCSI 2 sd1: Direct-Access 2063MB (4226725 512 byte sectors) sd1: with 6703 cyls, 5 heads, and an average 126 sectors/track ahc0: target 2 synchronous at 20.0MHz, offset = 0xf ahc0: target 2 Tagged Queuing Device sd2 at scbus0 target 2 lun 0 sd2: <IBM DORS-32160 WA6A> type 0 fixed SCSI 2 sd2: Direct-Access 2063MB (4226725 512 byte sectors) sd2: with 6703 cyls, 5 heads, and an average 126 sectors/track Freeing (NOT implemented) redirected PCI irq 15. found-> vendor=0x9004, dev=0x7178, revid=0x03 class=01-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=16 map[0]: type 4, range 32, base 00008100, size 8 map[1]: type 1, range 32, base e0805000, size 12 ahc1: <Adaptec 2940 SCSI host adapter> rev 0x03 int a irq 16 on pci0.14.0 ahc1: Reading SEEPROM...done. internal50 cable not present internal68 cable not present brdctl == 0xec external cable not present eprom is present brdctl == 0xec low byte termination enabled, high byte termination disabled ahc1: aic7870 Single Channel, SCSI Id=7, 16/255 SCBs ahc1: Resetting Channel A ahc1: Downloading Sequencer Program...ahc1: 414 instructions downloaded Done ahc1: Probing channel A scbus1 at ahc1 bus 0 ahc1: target 0 synchronous at 10.0MHz, offset = 0xf ahc1: target 0 Tagged Queuing Device sd3 at scbus1 target 0 lun 0 sd3: <IBM DORS-32160 WA6A> type 0 fixed SCSI 2 sd3: Direct-Access 2063MB (4226725 512 byte sectors) sd3: with 6703 cyls, 5 heads, and an average 126 sectors/track ahc1: target 1 synchronous at 10.0MHz, offset = 0xf ahc1: target 1 Tagged Queuing Device sd4 at scbus1 target 1 lun 0 sd4: <IBM DORS-32160 WA0A> type 0 fixed SCSI 2 sd4: Direct-Access 2063MB (4226725 512 byte sectors) sd4: with 6703 cyls, 5 heads, and an average 126 sectors/track ahc1: target 4 synchronous at 4.4MHz, offset = 0x8 st0 at scbus1 target 4 lun 0 st0: <TANDBERG TDC 4222 =07:> type 1 removable SCSI 2 st0: Sequential-Access density code 0x0, 512-byte blocks, write-enabled ahc1: target 6 synchronous at 10.0MHz, offset = 0x8 cd0 at scbus1 target 6 lun 0 cd0: <TOSHIBA CD-ROM XM-5701TA 3136> type 5 removable SCSI 2 cd0: CD-ROM can't get the size Probing for devices on the ISA bus: sc0: the current keyboard controller command byte 0047 kbdio: DIAGNOSE status:0055 kbdio: TEST_KBD_PORT status:0000 kbdio: RESET_KBD return code:00fa kbdio: RESET_KBD status:00aa sc0 at 0x60-0x6f irq 1 on motherboard sc0: BIOS video mode:3 sc0: VGA registers upon power-up sc0: video mode:24 sc0: VGA registers for mode:24 sc0: VGA color <4 virtual consoles, flags=0x0> ed0 at 0x280-0x29f irq 10 maddr 0xd0000 msize 16384 on isa ed0: address 00:00:c0:5a:98:2a, type WD8013EPC (16 bit) bpf: ed0 attached 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 bpf: lp0 attached psm0: current command byte:0047 kbdio: TEST_AUX_PORT status:0000 kbdio: RESET_AUX return code:00fa kbdio: RESET_AUX status:00aa kbdio: RESET_AUX ID:0000 psm0: status after reset 00 02 64 psm: status b1 03 c8 (get_mouse_buttons) psm0: status 00 02 64 psm0 at 0x60-0x64 irq 12 on motherboard psm0: device ID 0, 3 buttons fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in tel0 at 0xd80 irq 9 on isa bpf: ipi0 attached tel0: card type Teles S0/16.3 npx0 flags 0x1 on motherboard npx0: INT 16 interface joy0 at 0x201 on isa joy0: joystick sb0 at 0x220-0x22f irq 5 drq 1 on isa sb0: <SoundBlaster 16 4.5> sbxvi0 drq 5 on isa sbxvi0: <SoundBlaster 16 4.5> sbmidi0 at 0x330-0x331 on isa sbmidi0: <SoundBlaster 16 MPU-401> opl0 at 0x388-0x38b on isa opl0: <Yamaha OPL-3 FM> imasks: bio c0030040, tty c300109a, net c2000600 SMP: enabled INTs: 1, 3, 4, 5, 6, 7, 9, 10, 12, 16, 17, apic_imen: 0x00fce905 BIOS Geometries: 0:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors 1:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors 2:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors 3:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors 4:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors 0 accounted for Device configuration finished. Considering FFS root f/s. configure() finished. Linux-ELF exec handler installed APIC_IO: routing 8254 via 8259 on pin 0 bpf: tun0 attached bpf: lo0 attached ccd0-3: Concatenated disk drivers IP packet filtering initialized, divert disabled, logging limited to 100 packets/entry SMP: AP CPU #1 Launched! SMP: CPU1 apic_initialize(): lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000000 SVR: 0x000001ff sd1s1: type 0xa5, start 32, end = 4225023, size 4224992 : OK WARNING: / was not properly dismounted. sd3s1: type 0xa5, start 63, end = 4225094, size 4225032 : OK sd4s1: type 0xa5, start 63, end = 4225094, size 4225032 : OK sd0s1: type 0x6, start 32, end = 511999, size 511968 : OK sd0s2: type 0xa5, start 2048000, end = 4225023, size 2177024 : OK sd0s3: type 0x5, start 512000, end = 2047999, size 1536000 : OK sd0s5: type 0x6, start 512032, end = 1023999, size 511968 : OK sd0<extended>: type 0x5, start 1024000, end = 1535999, size 512000 : OK sd0s6: type 0x6, start 1024032, end = 1535999, size 511968 : OK sd0<extended>: type 0x5, start 1536000, end = 2047999, size 512000 : OK sd0s7: type 0x7, start 1536032, end = 2047999, size 511968 : OK sd2s1: type 0xa5, start 32, end = 4225023, size 4224992 : OK Assigned: TEI = 0xe3 = 113 -- Andreas Klemm | klemm.gtn.com - powered by Symmetric MultiProcessor FreeBSD http://www.freebsd.org/~fsmp/SMP/SMP.html http://www.freebsd.org/~fsmp/SMP/benches.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970907181524.04607>