From owner-freebsd-stable Wed Mar 24 9: 2: 3 1999 Delivered-To: freebsd-stable@freebsd.org Received: from apollo.orakel.ntnu.no (apollo.orakel.ntnu.no [129.241.56.245]) by hub.freebsd.org (Postfix) with SMTP id 3A07A14C19 for ; Wed, 24 Mar 1999 09:01:58 -0800 (PST) (envelope-from oyvindmo@orakel.ntnu.no) Received: (qmail 14103 invoked by uid 28778); 24 Mar 1999 17:01:35 -0000 To: freebsd-stable@freebsd.org Subject: SCSI hangs/timout, ncr53C8xx, 3.1-STABLE MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit From: Oyvind Moll Date: 24 Mar 1999 18:01:34 +0100 Message-ID: Lines: 219 User-Agent: Gnus/5.070075 (Pterodactyl Gnus v0.75) Emacs/20.3 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I run 3.1-STABLE with kernel and world built from source cvsupped 1999-03-04. My problem: I try to dump an audio-CD from a Philips CDD2600 CD-R-drive (using tosha). Three of the about ten times that I've tried to dump a CD, tosha would suddenly report "SCSI read/write error" or something (sorry, forgot to write that one down) and I would get messages like these on my console: ncr0: timeout nccb=0xf0bd3c00 (skip) ncr0: timeout nccb=0xf0b91c00 (skip) ncr0: timeout nccb=0xf0b91e00 (skip) ncr0: timeout nccb=0xf0b76e00 (skip) ncr0: timeout nccb=0xf0b6e400 (skip) ncr0: timeout nccb=0xf0b6b200 (skip) ... From then on, anything involving disk I/O simply hangs. I can ping my machine from elsewhere, but any process that tries to access a disk goes frozen. Annoying. The hangs happen at different times in the CDs; no apparent pattern. If it matters, I dump from the SCSI CDD2600 to an IBM IDE-drive. I have _not_ tried waiting for a very long time to see if things unfreeze -- perhaps five minutes or so. Known bug? Anything I can do to provide more helpful information? My sys/pci/ncr.c is v1.141, and my verbose dmesg is: y master/slave sample = 3, master/slave recovery = 1 intel_piix_status: primary master fastDMAonly disabled, pre/post enabled, intel_piix_status: IORDY sampling enabled, intel_piix_status: fast PIO enabled intel_piix_status: primary master/slave sample = 3, master/slave recovery = 1 intel_piix_status: primary slave fastDMAonly disabled, pre/post disabled, intel_piix_status: IORDY sampling disabled, intel_piix_status: fast PIO disabled ide_pci: busmaster 0 status: 04 from port: 0000e802 intel_piix_status: secondary master/slave sample = 3, master/slave recovery = 1 intel_piix_status: secondary master fastDMAonly disabled, pre/post enabled, intel_piix_status: IORDY sampling enabled, intel_piix_status: fast PIO enabled intel_piix_status: secondary master/slave sample = 3, master/slave recovery = 1 intel_piix_status: secondary slave fastDMAonly disabled, pre/post disabled, intel_piix_status: IORDY sampling disabled, intel_piix_status: fast PIO disabled ide_pci: busmaster 1 status: 04 from port: 0000e80a found-> vendor=0x1000, dev=0x0001, revid=0x12 class=01-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[0]: type 4, range 32, base 0000e000, size 8 map[1]: type 1, range 32, base fa000000, size 8 ncr0: rev 0x12 int a irq 9 on pci0.10.0 ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo ncr0: single-ended, open drain IRQ driver found-> vendor=0x10b7, dev=0x5900, revid=0x00 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[0]: type 4, range 32, base 0000d800, size 5 vx0: <3COM 3C590 Etherlink III PCI> rev 0x00 int a irq 10 on pci0.11.0 utp/aui/bnc[*utp*]: disable 'auto select' with DOS util! address 00:a0:24:4a:bf:11 bpf: vx0 attached Warning! Defective early revision adapter! found-> vendor=0x102b, dev=0x0519, revid=0x01 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[0]: type 1, range 32, base f9800000, size 14 map[1]: type 3, range 32, base fb000000, size 23 vga0: rev 0x01 int a irq 11 on pci0.12.0 Probing for devices on the ISA bus: atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa sc0 on isa sc0: fb0 kbd0 sc0: VGA color <8 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa kbd0: atkbd0, AT 101/102 (2), config:0x10000, flags:0x3d0000 psm0: current command byte:0047 kbdc: TEST_AUX_PORT status:0000 kbdc: RESET_AUX return code:00fa kbdc: RESET_AUX status:00aa kbdc: RESET_AUX ID:0000 psm: status 00 02 64 psm: status 92 03 28 psm: status 92 03 28 psm: status 92 03 28 psm: status 82 01 28 psm: data 08 00 00 psm: status 00 02 64 psm0 irq 12 on isa psm0: model GlidePoint, device ID 0, 3 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 sio0: irq maps: 0x1 0x11 0x1 0x1 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1: irq maps: 0x1 0x9 0x1 0x1 sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A 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): wd0: 9671MB (19807200 sectors), 19650 cyls, 16 heads, 63 S/T, 512 B/S wd0: ATA INQUIRE valid = 0007, dmamword = 0407, apio = 0003, udma = 0007 wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (wd2): wd2: 9671MB (19807200 sectors), 19650 cyls, 16 heads, 63 S/T, 512 B/S wd2: ATA INQUIRE valid = 0007, dmamword = 0407, apio = 0003, udma = 0007 ppc0 not found vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3b0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xf00b8000 size:32k gran:32k, buf:0x0 size:0k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 60 4f 50 83 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 60 4f 50 83 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 60 4f 50 83 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 npx0 on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 173250173 bytes/sec bzero() bandwidth = 88261253 bytes/sec imasks: bio c008c040, tty c003101a, net c0060400 BIOS Geometries: 0:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 1:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 2:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 3:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 4:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 5:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 6:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 7:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 0 accounted for Device configuration finished. Intel Pentium detected, installing workaround for F00F bug IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging disabled bpf: tun0 attached bpf: ppp0 attached new masks: bio c008c040, tty c003101a, net c007141a bpf: lo0 attached ccd0-3: Concatenated disk drivers DUMMYNET initialized (980901) -- size dn_pkt 48 IP Filter: initialized. Default = pass all, Logging = enabled Waiting 15 seconds for SCSI devices to settle ncr0: restart (scsi reset). (probe6:ncr0:0:6:0): INQUIRY. CDB: 12 1 80 0 ff 0 (probe6:ncr0:0:6:0): ILLEGAL REQUEST asc:24,0 (probe6:ncr0:0:6:0): Invalid field in CDB sks:c8,1 (probe5:ncr0:0:5:0): INQUIRY. CDB: 12 1 80 0 ff 0 (probe5:ncr0:0:5:0): ILLEGAL REQUEST asc:24,0 (probe5:ncr0:0:5:0): Invalid field in CDB sks:c0,1 pass0 at ncr0 bus 0 target 2 lun 0 pass0: Fixed Direct Access SCSI-2 device pass0: Serial Number 02592079 pass0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled pass1 at ncr0 bus 0 target 5 lun 0 pass1: Removable CD-ROM SCSI-2 device pass1: 3.300MB/s transfers pass2 at ncr0 bus 0 target 6 lun 0 pass2: Removable CD-ROM SCSI-2 device pass2: 10.000MB/s transfers (10.000MHz, offset 8) da2 at ncr0 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-2 device da2: Serial Number 02592079 da2: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled da2: 4095MB (8388315 512 byte sectors: 255H 63S/T 522C) Considering FFS root f/s. changing root device to da2s1a (cd1:ncr0:0:6:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (cd1:ncr0:0:6:0): NOT READY asc:3a,0 (cd1:ncr0:0:6:0): Medium not present cd1 at ncr0 bus 0 target 6 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: 10.000MB/s transfers (10.000MHz, offset 8) cd1: Attempt to query device size failed: NOT READY, Medium not present da2s1: type 0xa5, start 62, end = 8386181, size 8386120 : OK WARNING: / was not properly dismounted wd2s1: type 0xa5, start 63, end = 19807199, size 19807137 : OK (cd0:ncr0:0:5:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (cd0:ncr0:0:5:0): NOT READY asc:4,0 (cd0:ncr0:0:5:0): Logical unit not ready, cause not reportable cd0 at ncr0 bus 0 target 5 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 3.300MB/s transfers cd0: Attempt to query device size failed: NOT READY, Logical unit not ready, cause not reportable ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates wd2s1: type 0xa5, start 63, end = 19807199, size 19807137 : OK Linux-ELF exec handler installed OSS/FreeBSD loading, address = f0c026ac stray irq 7 stray irq 7 -- Øyvind Møll oyvindmo@pvv.ntnu.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message