From owner-freebsd-current Sat Dec 12 17:27:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA23205 for freebsd-current-outgoing; Sat, 12 Dec 1998 17:27:09 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA23196 for ; Sat, 12 Dec 1998 17:27:02 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id LAA18032; Sun, 13 Dec 1998 11:56:40 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id LAA00507; Sun, 13 Dec 1998 11:56:37 +1030 (CST) Message-ID: <19981213115637.A483@freebie.lemis.com> Date: Sun, 13 Dec 1998 11:56:37 +1030 From: Greg Lehey To: FreeBSD current users Cc: "Justin T. Gibbs" , "Kenneth D. Merry" Subject: Can't access tapes with scsi_sa.c r1.7 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=liOOAslEiF7prFVr X-Mailer: Mutt 0.91.1i WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii I built a new kernel yesterday with the latest cam mods, including scsi_sa.c revision 1.7. With this version I was not able to access my Exabyte 8505XL: a read failed with EIO and no console message. I backed out the revision, and it works fine now. What should I do to narrow down the problem? I'm attaching a -v dmesg output. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.boot.2" 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 #122: Sat Dec 12 14:51:55 CST 1998 grog@freebie.lemis.com:/T/src/FREEBIE/src/sys/compile/FREEBIE Calibrating clock(s) ... TSC clock: 233839897 Hz, i8254 clock: 1193060 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 233839897 Hz CPU: AMD-K6tm w/ multimedia extensions (233.84-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x562 Stepping=2 Features=0x8001bf Data TLB: 128 entries, 2-way associative Instruction TLB: 64 entries, 1-way associative L1 data cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative L1 instruction cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative Write Allocate Enable Limit: 160M bytes Write Allocate 15-16M bytes: Enable Hardware Write Allocate Control: Disable real memory = 167772160 (163840K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x002cc000 - 0x09ff7fff, 164806656 bytes (40236 pages) config> quit avail memory = 159858688 (156112K bytes) Found BIOS32 Service Directory header at 0xf00fb060 Entry = 0xfb4e0 (0xf00fb4e0) Rev = 0 Len = 1 PCI BIOS entry at 0xb510 DMI header at 0xf00f5e30 Version 2.0 Table at 0xf0800, 30 entries, 673 bytes Other BIOS signatures found: ACPI: 00000000 $PnP: 000fc080 pci_open(1): mode 1 addr port (0x0cf8) is 0x80000074 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=55911039) Probing for devices on PCI bus 0: found-> vendor=0x1039, dev=0x5591, revid=0x02 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 map[0]: type 1, range 32, base e0000000, size 26 chip0: rev 0x02 on pci0.0.0 found-> vendor=0x1039, dev=0x5513, revid=0xd0 class=01-01-8a, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=14 map[0]: type 4, range 32, base 000001f0, size 3 map[1]: type 4, range 32, base 000003f4, size 2 map[2]: type 4, range 32, base 00000170, size 3 map[3]: type 4, range 32, base 00000374, size 2 map[4]: type 4, range 32, base 00004000, size 4 ide_pci0: rev 0xd0 int a irq 14 on pci0.0.1 generic_status: no PCI IDE timing info available generic_status: no PCI IDE timing info available ide_pci: busmaster 0 status: 04 from port: 00004002 generic_status: no PCI IDE timing info available generic_status: no PCI IDE timing info available ide_pci: busmaster 1 status: 04 from port: 0000400a found-> vendor=0x1039, dev=0x0008, revid=0x01 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 chip1: rev 0x01 on pci0.1.0 found-> vendor=0x1039, dev=0x0009, revid=0x00 class=ff-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1039, dev=0x7001, revid=0x11 class=0c-03-10, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[0]: type 1, range 32, base ea000000, size 12 found-> vendor=0x1039, dev=0x0001, revid=0x00 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1 secondarybus=1 chip2: rev 0x00 on pci0.2.0 found-> vendor=0x9004, dev=0x7178, revid=0x03 class=01-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[0]: type 4, range 32, base 0000e000, size 8 map[1]: type 1, range 32, base ea001000, size 12 ahc0: rev 0x03 int a irq 11 on pci0.9.0 ahc0: Reading SEEPROM...done. ahc0: High byte termination Enabled ahc0: aic7870 Single Channel A, SCSI Id=7, 16/255 SCBs ahc0: Resetting Channel A ahc0: Downloading Sequencer Program... 410 instructions downloaded found-> vendor=0x102b, dev=0x0519, revid=0x01 class=03-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[0]: type 1, range 32, base e5000000, size 14 map[1]: type 3, range 32, base e6000000, size 23 vga0: rev 0x01 int a irq 10 on pci0.10.0 found-> vendor=0x1002, dev=0x4354, revid=0x09 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[0]: type 1, range 32, base e7000000, size 24 vga1: rev 0x09 on pci0.11.0 found-> vendor=0x11f6, dev=0x1401, revid=0x0a class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[0]: type 4, range 32, base 0000e400, size 5 ed2: rev 0x0a int a irq 10 on pci0.12.0 ed2: address 00:80:48:e6:a0:61, type NE2000 (16 bit) bpf: ed2 attached Probing for devices on PCI bus 1: Probing for devices on the ISA bus: video: RTC equip. code:0x0f, DCC code:0xf9 video: CRTC:0x3d4, video option:0x60, rows:80, cols:25, font height:16 video: param table EGA/VGA:0xf00c02d4, CGA/MDA:0 video: rows_offset:1 video#0: adapter type:VGA (5), flags:0x7f, CRTC:0x3d4 video#0: init mode:24, bios mode:3, current mode:24 video#0: window:0xf00b8000 size:32k gran:32k, buf:0xf0000000 size:0k video#0: mode:0, flags:0x1 T 40x25, font:8x8, win:0xb8000 video#0: mode:1, flags:0x1 T 40x25, font:8x8, win:0xb8000 video#0: mode:2, flags:0x1 T 80x25, font:8x8, win:0xb8000 video#0: mode:3, flags:0x1 T 80x25, font:8x8, win:0xb8000 video#0: mode:19, flags:0x1 T 40x25, font:8x14, win:0xb8000 video#0: mode:20, flags:0x1 T 40x25, font:8x14, win:0xb8000 video#0: mode:21, flags:0x1 T 80x25, font:8x14, win:0xb8000 video#0: mode:22, flags:0x1 T 80x25, font:8x14, win:0xb8000 video#0: mode:23, flags:0x1 T 40x25, font:8x16, win:0xb8000 video#0: mode:25, flags:0x0 T 80x25, font:8x16, win:0xb0000 video#0: mode:24, flags:0x1 T 80x25, font:8x16, win:0xb8000 video#0: mode:7, flags:0x0 T 80x25, font:8x14, win:0xb0000 video#0: mode:112, flags:0x1 T 80x43, font:8x8, win:0xb8000 video#0: mode:113, flags:0x1 T 80x43, font:8x8, win:0xb8000 video#0: mode:33, flags:0x0 T 80x30, font:8x16, win:0xb0000 video#0: mode:32, flags:0x1 T 80x30, font:8x16, win:0xb8000 video#0: mode:31, flags:0x0 T 80x50, font:8x8, win:0xb0000 video#0: mode:30, flags:0x1 T 80x50, font:8x8, win:0xb8000 video#0: mode:35, flags:0x0 T 80x60, font:8x8, win:0xb0000 video#0: mode:34, flags:0x1 T 80x60, font:8x8, win:0xb8000 video#0: mode:4, flags:0x3 G 320x200x2, 1 plane(s), font:8x8, win:0xb8000 video#0: mode:5, flags:0x3 G 320x200x2, 1 plane(s), font:8x8, win:0xb8000 video#0: mode:6, flags:0x3 G 640x200x1, 1 plane(s), font:8x8, win:0xb8000 video#0: mode:13, flags:0x3 G 320x200x4, 4 plane(s), font:8x8, win:0xa0000 video#0: mode:14, flags:0x3 G 640x200x4, 4 plane(s), font:8x8, win:0xa0000 video#0: mode:15, flags:0x2 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000 video#0: mode:17, flags:0x2 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000 video#0: mode:16, flags:0x3 G 640x350x2, 2 plane(s), font:8x14, win:0xa0000 video#0: mode:18, flags:0x3 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000 video#0: mode:26, flags:0x3 G 640x480x4, 4 plane(s), font:8x16, win:0xa0000 video#0: mode:27, flags:0x3 G 640x480x4, 4 plane(s), font:8x16, win:0xa0000 video#0: mode:28, flags:0x3 G 320x200x8, 1 plane(s), font:8x8, win:0xa0000 video#0: mode:37, flags:0x3 G 320x240x8, 1 plane(s), font:8x8, win:0xa0000 VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 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: keyboard device ID: ab41 sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x280 ed1 not found at 0x300 sio0: irq maps: 0x1 0x11 0x1 0x1 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1: irq maps: 0x1 0x9 0x1 0x1 sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2: irq maps: 0x1 0x21 0x1 0x1 sio2 at 0x3e8-0x3ef irq 5 on isa sio2: 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 psm: status 00 02 64 psm: status b1 03 c8 psm: status b1 03 c8 psm: status b1 03 c8 psm: status 00 00 3c psm: data 08 00 00 psm: data 08 00 00 psm: status 00 02 64 psm0 at 0x60-0x64 irq 12 on motherboard psm0: model Generic PS/2 mouse, device ID 0, 3 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 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 flags 0xa0ffa0ff on isa ide_pci: generic_dmainit 01f0:1: warning, IDE controller timing not set wdc0: unit 0 (wd0): , DMA, 32-bit, multi-block-32 wd0: 1223MB (2504880 sectors), 2485 cyls, 16 heads, 63 S/T, 512 B/S wd0: ATA INQUIRE valid = 0003, dmamword = 0107, apio = 0003, udma = 0000 wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa ide_pci: generic_dmainit 0170:1: warning, IDE controller timing not set wdc1: unit 0 (wd2): , DMA, 32-bit, multi-block-16 wd2: 6197MB (12692736 sectors), 12592 cyls, 16 heads, 63 S/T, 512 B/S wd2: ATA INQUIRE valid = 0007, dmamword = 0007, apio = 0003, udma = 0407 ide_pci: generic_dmainit 0170:1: warning, IDE controller timing not set wdc1: unit 1 (wd3): , DMA, 32-bit, multi-block-16 wd3: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S wd3: ATA INQUIRE valid = 0007, dmamword = 0007, apio = 0003, udma = 0407 ep0 not found at 0x300 npx0 on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 66220780 bytes/sec bzero() bandwidth = 74239049 bytes/sec imasks: bio c008c040, tty c00714ba, net c00714ba BIOS Geometries: 0:01fe1f3f 0..510=511 cylinders, 0..31=32 heads, 1..63=63 sectors 1:01fe1f3f 0..510=511 cylinders, 0..31=32 heads, 1..63=63 sectors 2:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors 0 accounted for Device configuration finished. bpf: tun0 attached bpf: tun1 attached bpf: tun2 attached bpf: tun3 attached bpf: sl0 attached bpf: ppp0 attached bpf: ppp1 attached new masks: bio c008c040, tty c00714ba, net c00714ba bpf: lo0 attached Waiting 3 seconds for SCSI devices to settle (noperiph:ahc0:0:X:X): SCSI bus reset delivered. 0 SCBs aborted. ahc0: Selection Timeout on A:1. 1 SCBs aborted (probe4:ahc0:0:4:0): INQUIRY. CDB: 12 1 80 0 ff 0 (probe4:ahc0:0:4:0): ILLEGAL REQUEST asc:24,0 (probe4:ahc0:0:4:0): Invalid field in CDB (probe5:ahc0:0:5:0): INQUIRY. CDB: 12 1 80 0 ff 0 (probe5:ahc0:0:5:0): ILLEGAL REQUEST field replaceable unit: 20 ahc0: target 3 synchronous at 5.0MHz, offset = 0xb ahc0: target 4 synchronous at 5.0MHz, offset = 0xf ahc0: target 0 synchronous at 10.0MHz, offset = 0xf (probe1:ahc0:0:4:1): INQUIRY. CDB: 12 21 80 0 ff 0 (probe1:ahc0:0:4:1): ILLEGAL REQUEST asc:24,0 (probe1:ahc0:0:4:1): Invalid field in CDB sa0 at ahc0 bus 0 target 3 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: Serial Number 06746337 sa0: 5.0MB/s transfers (5.0MHz, offset 11) sa1 at ahc0 bus 0 target 4 lun 0 sa1: Removable Sequential Access SCSI-2 device sa1: 5.0MB/s transfers (5.0MHz, offset 15) sa2 at ahc0 bus 0 target 5 lun 0 sa2: Removable Sequential Access SCSI-CCS device sa2: 3.300MB/s transfers pass0 at ahc0 bus 0 target 0 lun 0 pass0: Fixed Direct Access SCSI-2 device pass0: Serial Number 5U2X6149 pass0: 10.0MB/s transfers (10.0MHz, offset 15), Tagged Queueing Enabled pass1 at ahc0 bus 0 target 2 lun 0 pass1: Fixed Direct Access SCSI-2 device pass1: Serial Number DX007NE pass1: 3.300MB/s transfers, Tagged Queueing Enabled pass2 at ahc0 bus 0 target 3 lun 0 pass2: Removable Sequential Access SCSI-2 device pass2: Serial Number 06746337 pass2: 5.0MB/s transfers (5.0MHz, offset 11) pass3 at ahc0 bus 0 target 4 lun 0 pass3: Removable Sequential Access SCSI-2 device pass3: 5.0MB/s transfers (5.0MHz, offset 15) pass4 at ahc0 bus 0 target 4 lun 1 pass4: Removable Changer SCSI-2 device pass4: 5.0MB/s transfers (5.0MHz, offset 15) pass5 at ahc0 bus 0 target 5 lun 0 pass5: Removable Sequential Access SCSI-CCS device pass5: 3.300MB/s transfers pass6 at ahc0 bus 0 target 6 lun 0 pass6: Removable CD-ROM SCSI-2 device pass6: 3.300MB/s transfers pass7 at ahc0 bus 0 target 6 lun 1 pass7: Removable CD-ROM SCSI-2 device pass7: 3.300MB/s transfers pass8 at ahc0 bus 0 target 6 lun 2 pass8: Removable CD-ROM SCSI-2 device pass8: 3.300MB/s transfers pass9 at ahc0 bus 0 target 6 lun 3 pass9: Removable CD-ROM SCSI-2 device pass9: 3.300MB/s transfers pass10 at ahc0 bus 0 target 6 lun 4 pass10: Removable CD-ROM SCSI-2 device pass10: 3.300MB/s transfers pass11 at ahc0 bus 0 target 6 lun 5 pass11: Removable CD-ROM SCSI-2 device pass11: 3.300MB/s transfers pass12 at ahc0 bus 0 target 6 lun 6 pass12: Removable CD-ROM SCSI-2 device pass12: 3.300MB/s transfers pass4 at ahc0 bus 0 target 4 lun 1 pass4: Removable Changer SCSI-2 device pass4: 5.0MB/s transfers (5.0MHz, offset 15) da1 at ahc0 bus 0 target 2 lun 0 da1: Fixed Direct Access SCSI-2 device da1: Serial Number DX007NE da1: 3.300MB/s transfers, Tagged Queueing Enabled da1: 4096MB (8388608 512 byte sectors: 64H 32S/T 4096C) cd0 at ahc0 bus 0 target 6 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 3.300MB/s transfers cd0: cd present [322273 x 2048 byte records] da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: Serial Number 5U2X6149 da0: 10.0MB/s transfers (10.0MHz, offset 15), Tagged Queueing Enabled da0: 2063MB (4226725 512 byte sectors: 64H 32S/T 2063C) Considering FFS root f/s. changing root device to wd0s1a wd0s1: type 0xa5, start 63, end = 2504879, size 2504817 : OK da0: invalid primary partition table: no magic wd2s1: type 0xa5, start 63, end = 12692735, size 12692673 : OK da1s1: type 0xa5, start 0, end = 8388607, size 8388608 da1s1: C/H/S end 522/42/32 (719647) != end 8388607: invalid wd3: invalid primary partition table: no magic wd2s1: type 0xa5, start 63, end = 12692735, size 12692673 : OK da1s1: type 0xa5, start 0, end = 8388607, size 8388608 da1s1: C/H/S end 522/42/32 (719647) != end 8388607: invalid wd3: invalid primary partition table: no magic cd1 at ahc0 bus 0 target 6 lun 1 cd1: Removable CD-ROM SCSI-2 device cd1: 3.300MB/s transfers cd1: cd present [328327 x 2048 byte records] Linux-ELF exec handler installed cd2 at ahc0 bus 0 target 6 lun 2 cd2: Removable CD-ROM SCSI-2 device cd2: 3.300MB/s transfers cd2: cd present [304767 x 2048 byte records] cd3 at ahc0 bus 0 target 6 lun 3 cd3: Removable CD-ROM SCSI-2 device cd3: 3.300MB/s transfers cd3: cd present [327689 x 2048 byte records] cd4 at ahc0 bus 0 target 6 lun 4 cd4: Removable CD-ROM SCSI-2 device cd4: 3.300MB/s transfers cd4: cd present [265441 x 2048 byte records] cd5 at ahc0 bus 0 target 6 lun 5 cd5: Removable CD-ROM SCSI-2 device cd5: 3.300MB/s transfers cd5: cd present [326322 x 2048 byte records] cd6 at ahc0 bus 0 target 6 lun 6 cd6: Removable CD-ROM SCSI-2 device cd6: 3.300MB/s transfers cd6: cd present [295879 x 2048 byte records] pid 333 (Xaccel): trap 12 with interrupts disabled --liOOAslEiF7prFVr-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message