From owner-freebsd-scsi Tue Jun 3 04:08:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA22486 for freebsd-scsi-outgoing; Tue, 3 Jun 1997 04:08:12 -0700 (PDT) Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.235]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA22422 for ; Tue, 3 Jun 1997 04:07:52 -0700 (PDT) Received: from tmbbwmc.bbn.hp.com (tmbbwmc.bbn.hp.com [15.136.25.181]) by palrel1.hp.com with ESMTP (8.7.5/8.7.3) id EAA11708 for ; Tue, 3 Jun 1997 04:07:49 -0700 (PDT) Received: from localhost (michaelc@localhost) by tmbbwmc.bbn.hp.com with SMTP (8.7.1/8.7.1) id NAA20066 for ; Tue, 3 Jun 1997 13:06:59 +0200 (METDST) Date: Tue, 3 Jun 1997 13:06:59 +0200 (METDST) From: Michael Class To: freebsd-scsi@freebsd.org Subject: NCR-SCSI and CD-ROM Burner Problem on FBSD 2.2.2 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello, i have a very nasty problem here when I try to burn CD's. Description: After transferrring approx 600-800MB of data to the CD-ROM burner, I get error-messages and the writing stops. Same thing happens when I am in "dummy"-mode (means just transfering the data, but not actually burning) The burner will only work again after a reboot. The messages are: (I get just one of the following for every single run) -------------------------------------------------------------------------- worm0(ncr0:3:0): ABORTED COMMAND asc:50,0 Write append error worm0(ncr0:3:0): ABORTED COMMAND info:80005783 asc:50,0 Write append error -------------------------------------------------------------------------- worm0(ncr0:3:0): ILLEGAL REQUEST asc:82,0 Vendor Specific ASC worm0(ncr0:3:0): ILLEGAL REQUEST asc:2c,0 Command sequence error worm0(ncr0:3:0): ILLEGAL REQUEST asc:a8,0 Vendor Specific ASC -------------------------------------------------------------------------- worm0(ncr0:3:0): ILLEGAL REQUEST asc:a8,0 Vendor Specific ASC -------------------------------------------------------------------------- worm1(ncr0:3:0): error code 0 worm1(ncr0:3:0): error code 0 -------------------------------------------------------------------------- worm0(ncr0:3:0): ILLEGAL REQUEST asc:2c,0 Command sequence error worm0(ncr0:3:0): error code 1 worm0(ncr0:3:0): error code 1 -------------------------------------------------------------------------- To produce these messages I simply have to use the burncd.sh script that came with FreeBSD. The error occurs either at the end of a very full cd (at approx 600MB) or at the beginning of the second run (within the next 100MB). It is reproducable (that means, that with the same data it will stop after a reboot at the very same position), it does not depend on the speed of the writer (single/double). The Setup is as follows: ASUS P6NP5-MB, 200Mhz P6, 64MB-RAM, Miro SV40-Graphics-Card, Symbios SYM8751SP-SCSI-Controller, SoundBlaster AWE32, NE2000-Clone, Quantum 34300W, Quantum PD1800S, Toshiba XM-3701, HP 4020i, HP34450. FreeBSD-2.2.2 (config-file included) I have already tried different MB, different SCSI-Controller (cheap NCR810 based) and different cabling for SCSI-Devices and stripped down system. Therefore I do not expect it to be a SCSI termination or cabeling-problem. I have not yet tried a different Burner and a SCSI-Controller that does not use the ncr-driver. Does anyone have any ideas, of what I could/should do next? Michael Config-File: ------------------------------------------------------------------------- # # MCSCSI # machine "i386" cpu "I586_CPU" cpu "I686_CPU" ident MCSCSI maxusers 32 options SYSVSHM options SYSVSEM options SYSVMSG options INET #InterNETworking options FFS #Berkeley Fast File System # these options are now run-time-loadable: options NFS #Network File System options MSDOSFS #MS-DOS File System options PROCFS #Process File System options KERNFS #Kernel File System options "CD9660" #CD ISO9660 File System # THis DEVFS is experimental but seems to work options DEVFS #devices filesystem options FIFO #Support for FIFO files options "COMPAT_43" #Compatible with BSD 4.3 options "SCSI_DELAY=10" #Be pessimistic about Joe SCSI device options UCONSOLE #Allow users to grab console options USER_LDT #allow user-level control of i386 ldt options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options TUN #IP Tunnel driver options "AUTO_EOI_1" options "AUTO_EOI_2" options "IBCS2" # make ibcs2-code loadable options "COMPAT_LINUX" # load linux-code options "LINUX" # load linux-code # Enable the following (IPFIREWALL_VERBOSE optional) to enable the IP firewall # code. This is used in conjunction with the ipfw(1) command. See the # man page for more details. options IPFIREWALL options IPFIREWALL_VERBOSE #print information about dropped packets options "IPFIREWALL_VERBOSE_LIMIT=100" options IPDIVERT options "FDSEEKWAIT=8" #fd-driver wait 1s / FDSEEKWAIT # pcvt needs XCONSOLE for Xfree options XCONSOLE options "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.1 # Allow this many swap-devices. options "NSWAPDEV=4" config kernel root on sd0 controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 controller ncr0 controller ncr1 controller scbus0 #base SCSI code device sd0 #SCSI disks device st0 #SCSI tapes device cd0 #SCSI CD-ROMs # The previous devices (ch, sd, st, cd) are recognized by config. # config doesn't (and shouldn't) know about these newer ones, # so we have to specify that they are on a SCSI bus with the "at scbus?" # clause. device worm0 at scbus? # SCSI worm #syscons: device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr device npx0 at isa? port "IO_NPX" irq 13 vector npxintr device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr device ed0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector edintr # Controls all sound devices controller snd0 device sb0 at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 pseudo-device loop pseudo-device ether pseudo-device tun 1 #Tunnel driver(user process ppp) pseudo-device bpfilter 4 #Berkeley packet filter pseudo-device log pseudo-device pty 48 pseudo-device speaker pseudo-device gzip # Exec gzipped a.out's pseudo-device vn #Vnode driver (turns a file into a device) ------------------------------------------------------------------------- Boot-Messages (kernel -v): ------------------------------------------------------------------------- Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.2-RELEASE #0: Fri May 30 16:36:37 MEST 1997 michaelc@pc-micha.zdv.uni-tuebingen.de:/usr/src/sys/compile/MCSCSI Calibrating clock(s) ... i586 clock: 199306468 Hz, i8254 clock: 1193166 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency CLK_USE_I586_CALIBRATION not specified - using old calibration method CPU: Pentium Pro (199.31-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping=9 Features=0xf9ff,MTRR,PGE,MCA,CMOV> real memory = 67108864 (65536K bytes) avail memory = 63639552 (62148K bytes) DEVFS: ready for devices pcibus_setup(1): mode 1 addr port (0x0cf8) is 0x8000005c pcibus_setup(1a): mode1res=0x80000000 (0x80000000) pcibus_check: device 0 is there (id=12378086) Probing for devices on PCI bus 0: configuration mode 1 allows 32 devices. chip0 rev 2 on pci0:0 chip1 rev 1 on pci0:1:0 chip2 rev 0 on pci0:1:1 mapreg[20] type=1 addr=0000e800 size=0010. I/O Recovery Timing: 8-bit 3.5 clocks, 16-bit 3.5 clocks Extended BIOS: disabled Lower BIOS: disabled Coprocessor IRQ13: disabled Mouse IRQ12: disabled Interrupt Routing: A: , B: , C: , D: MB0: , MB1: vga0 rev 0 int a irq 15 on pci0:10 mapreg[10] type=0 addr=f8000000 size=2000000. ncr0 rev 3 int a irq 9 on pci0:11 mapreg[10] type=1 addr=0000e000 size=0100. mapreg[14] type=0 addr=f7800000 size=0100. mapreg[18] type=0 addr=f7000000 size=1000. reg20: virtual=0xf4daa000 physical=0xf7800000 size=0x100 initial value of SCNTL3 = 03, final = 13 ncr0: restart (scsi reset). ncr0 scanning for targets 0..6 and 8..15 (V2 pl24 96/12/14) ncr0 waiting for scsi devices to settle (ncr0:0:0): "QUANTUM PD1800S 3161" type 0 fixed SCSI 2 sd0(ncr0:0:0): Direct-Access sd0(ncr0:0:0): 10.0 MB/s (100 ns, offset 15) 1717MB (3517856 512 byte sectors) sd0(ncr0:0:0): with 3008 cyls, 14 heads, and an average 83 sectors/track (ncr0:5:0): "TOSHIBA CD-ROM XM-3701TA 3615" type 5 removable SCSI 2 cd0(ncr0:5:0): CD-ROM cd0(ncr0:5:0): 4.4 MB/s (225 ns, offset 15) cd present [187495 x 2048 byte records] (ncr0:8:0): "Quantum XP34300W L912" type 0 fixed SCSI 2 sd1(ncr0:8:0): Direct-Access sd1(ncr0:8:0): WIDE SCSI (16 bit) enabled sd1(ncr0:8:0): 20.0 MB/s (100 ns, offset 15) 4101MB (8399520 512 byte sectors) sd1(ncr0:8:0): with 3907 cyls, 20 heads, and an average 107 sectors/track ncr1 rev 1 int a irq 12 on pci0:12 mapreg[10] type=1 addr=0000d800 size=0100. mapreg[14] type=0 addr=f6800000 size=0100. reg20: virtual=0xf4dad000 physical=0xf6800000 size=0x100 ncr1: restart (scsi reset). ncr1 scanning for targets 0..6 (V2 pl24 96/12/14) ncr1 waiting for scsi devices to settle (ncr1:2:0): "HP HP35450A -A BE00" type 1 removable SCSI 2 st0(ncr1:2:0): Sequential-Access st0(ncr1:2:0): asynchronous. density code 0x13, drive empty (ncr1:3:0): "HP C4324/C4325 1.27" type 5 removable SCSI 2 worm0(ncr1:3:0): Write-Once pci0: uses 33559040 bytes of memory from f6800000 upto f9ffffff. pci0: uses 528 bytes of I/O space from d800 upto e80f. Probing for devices on the ISA bus: sc0: the current keyboard controller command byte 0067 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 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0e 0f 00 00 ff ff 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: video mode:24 sc0: VGA registers 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: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x300-0x31f irq 10 maddr 0xd8000 msize 16384 on isa ed0: address 00:00:c0:b0:12:9a, type WD8013EBT (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 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in fd1: 1.2MB 5.25in npx0 on motherboard npx0: INT 16 interface sb0 at 0x220 irq 5 drq 1 on isa sb0: sbxvi0 at 0x0 drq 5 on isa sbxvi0: sbmidi0 at 0x330 on isa imasks: bio c0001240, tty c003009a, net c0020400 BIOS Geometries: 0:00d9fe3f 0..217=218 cylinders, 0..254=255 heads, 1..63=63 sectors 1:03f8823f 0..1016=1017 cylinders, 0..130=131 heads, 1..63=63 sectors 0 accounted for Device configuration finished. Considering FFS root f/s. configure() finished. DEVFS: ready to run bpf: tun0 attached bpf: lo0 attached IP packet filtering initialized, divert enabled, logging limited to 100 packets/entry sd0s1: type 0x6, start 2474010, end = 3518234, size 1044225 : OK sd0s4: type 0xa5, start 32, end = 2474009, size 2473978 : OK sd1s1: type 0x6, start 4200777, end = 5843123, size 1642347 : OK sd1s2: type 0x5, start 5843124, end = 8393300, size 2550177 : OK sd1s4: type 0xa5, start 63, end = 4194366, size 4194304 : OK sd1s5: type 0x7, start 5843187, end = 8393300, size 2550114 : OK ------------------------------------------------------------------------- ----------------------------------------------------------------------- Michael Class E-Mail: michael_class@hp.com Internet/Intranet Solutions Center Phone: +49 7031 14-3707 CSO Europe Fax: +49 7031 14-4196 Hewlett-Packard GmbH, PO Box 1430, 71004 Boeblingen -----------------------------------------------------------------------