From owner-freebsd-scsi Sun Nov 2 03:30:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA16040 for freebsd-scsi-outgoing; Sun, 2 Nov 1997 03:30:33 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.219]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA15998 for ; Sun, 2 Nov 1997 03:29:58 -0800 (PST) (envelope-from michael_class@hpbbse.bbn.hp.com) Received: from tmbbwmc.bbn.hp.com (tmbbwmc.bbn.hp.com [15.136.25.181]) by palrel3.hp.com (8.8.5/8.8.5tis) with ESMTP id DAA19898 for ; Sun, 2 Nov 1997 03:29:56 -0800 (PST) Received: from hpbbse.bbn.hp.com (apc1mc10.bbn.hp.com [15.124.134.10]) by tmbbwmc.bbn.hp.com with ESMTP (8.7.1/8.7.1) id MAA23582 for ; Sun, 2 Nov 1997 12:29:46 +0100 (MET) Message-ID: <345C64B2.2ED68420@hpbbse.bbn.hp.com> Date: Sun, 02 Nov 1997 12:32:02 +0100 From: Micha Class Reply-To: michael_class@bbn.hp.com X-Mailer: Mozilla 4.03b8 [en] (X11; I; FreeBSD 3.0-971024-SNAP i386) MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Subject: Burning Audio-CD on HP4020i does not work Content-Type: multipart/mixed; boundary="------------38FF219D7151FFDA6BC248DC" Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This is a multi-part message in MIME format. --------------38FF219D7151FFDA6BC248DC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I am having here a probblem in not beeing able to butn audio CD's on my systen for quite some time. Right now I am using a 3.0-current SNAP from Oct. 24th. Symtom: Burning does not start, I get the following error-messages: Nov 2 12:20:40 pc-micha /kernel: worm0: ILLEGAL REQUEST asc:2c,0 Command sequence error Nov 2 12:20:42 pc-micha last message repeated 2 times I am using the following script: #!/bin/sh # # usage: burncd input-file # # Note: This is set up to work ONLY on the HP 4020i CDR drive! # See the man page for wormcontrol(1) and change the wormcontrol commands # to match your drive, if the man page lists it as supported. # # This script also requires the usage of team(1), an optional component from # the FreeBSD ports collection. if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." else echo -n "Place CD in the worm drive now and press return: " read junk scsi -f /dev/rworm0.ctl -c "0 0 0 0 0 0" >/dev/null 2>&1 #wormcontrol prepdisk double $* wormcontrol prepdisk single for i in *.pcm do wormcontrol track audio rtprio 5 team -v 1m 5 < $i | rtprio 5 dd of=/dev/rworm0 obs=20k done wormcontrol fixate 0 fi I have added the Nootmessages and the Config-File of the Machine to this mail. Any Ideas what could be wrong here? Thank you Michael -- ------------------------------------------------------------------------- michael class, viktor-renner str. 83, 72074 tuebingen, frg E-Mail: michael_class@hp.com Phone: +49 7031 14-3707 (work) +49 7071 81950 (private) ------------------------------------------------------------------------- --------------38FF219D7151FFDA6BC248DC Content-Type: text/plain; charset=us-ascii; name="dmesg.boot" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.boot" Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-971024-SNAP #0: Fri Oct 24 18:15:50 MEST 1997 michaelc@pc-micha.zdv.uni-tuebingen.de:/usr/src/sys/compile/MCSCSI CPU: Pentium Pro (232.53-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping=9 Features=0xf9ff real memory = 67108864 (65536K bytes) avail memory = 63655936 (62164K bytes) DEVFS: ready for devices Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x01 on pci0.1.0 vga0: rev 0x00 int a irq 15 on pci0.10.0 ncr0: rev 0x03 int a irq 9 on pci0.11.0 ncr0: waiting for scsi devices to settle scbus0 at ncr0 bus 0 sd0 at scbus0 target 0 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access sd0: 10.0 MB/s (100 ns, offset 15) 1717MB (3517856 512 byte sectors) cd0 at scbus0 target 5 lun 0 cd0: type 5 removable SCSI 2 cd0: CD-ROM cd0: 4.0 MB/s (250 ns, offset 15) can't get the size sd1 at scbus0 target 8 lun 0 sd1: type 0 fixed SCSI 2 sd1: Direct-Access sd1: WIDE SCSI (16 bit) enabled sd1: 20.0 MB/s (100 ns, offset 15) 4101MB (8399520 512 byte sectors) ncr1: rev 0x01 int a irq 12 on pci0.12.0 ncr1: waiting for scsi devices to settle scbus1 at ncr1 bus 0 st0 at scbus1 target 2 lun 0 st0: type 1 removable SCSI 2 st0: Sequential-Access st0: asynchronous. density code 0x13, drive empty worm0 at scbus1 target 3 lun 0 worm0: type 5 removable SCSI 2 worm0: Write-Once Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard 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) sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2 at 0x3e8-0x3ef irq 14 flags 0x20000 on isa sio2: type ST16650A sio3 not found at 0x2e8 sio4 not found at 0x2f0 sio5 not found at 0x3e0 sio6 not found at 0x2e0 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 npx0 on motherboard npx0: INT 16 interface sb0 at 0x220-0x22f irq 5 drq 1 on isa sb0: sbxvi0 drq 5 on isa sbxvi0: sbmidi0 at 0x330-0x331 on isa sbmidi0: DEVFS: ready to run IP packet filtering initialized, divert enabled, logging limited to 100 packets/entry --------------38FF219D7151FFDA6BC248DC Content-Type: text/plain; charset=us-ascii; name="MCSCSI" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="MCSCSI" # # MCSCSI # # $Id: GENERICAH,v 1.36 1994/08/09 08:17:08 davidg Exp $ # machine "i386" #cpu "I386_CPU" #cpu "I486_CPU" cpu "I586_CPU" cpu "I686_CPU" ident MCSCSI maxusers 32 #options MATH_EMULATE #Support for x87 emulation options SYSVSHM options SYSVSEM options SYSVMSG options INET #InterNETworking #options QUOTA #ufs-quotas options FFS #Berkeley Fast File System #options LFS #Log File System #options MFS #Memory 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 #options FDESC #File Descriptor File System #options PORTAL #Portal File System #options UNION #Union File System #options NULLFS #NULL File System #options UMAPFS #UID Map 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 "TCP_COMPAT_42" #TCP/IP compatible with 4.2 #options "FAT_CURSOR" #block cursor in syscons or pccons options "SCSI_DELAY=10" #Be pessimistic about Joe SCSI device #options BOUNCE_BUFFERS #include support for DMA bounce buffers 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 "AUTO_EOI_1" options "AUTO_EOI_2" #options GRKEYMAP # use German-Keyboard in kernel #options "IBCS2" # make ibcs2-code loadable #options "COMPAT_LINUX" # load linux-code #options "LINUX" # load linux-code # # Allow processes to switch to vm86 mode, as well as enabling direct # user-mode access to the I/O port space. This option is necessary for # the doscmd emulator to run. # options "VM86" # 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 # When this is set, copyin/copyout will use an unrolled loop using # floating point registers. It makes copyin/copyout run 30-100% # faster on Pentiums and makes no difference or slower on non-Pentium # (including P6) systems. # # However, even when this is set, there is a run-time check for CPU # type so the routine will never be invoked for a wrong architecture. # It will become the default after some testing period. #options "I586_FAST_BCOPY" # # Under some circumstances it is necessary to make the default max # number of proccesses per user and open files per user more than the # defaults on bootup. (an example is a large news server in which # the uid, news, can sometimes need > 100 simultaneous processes running) #options "CHILD_MAX=128" #options "OPEN_MAX=128" # Allow this many swap-devices. options "NSWAPDEV=4" config kernel root on sd0 controller isa0 #controller eisa0 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 #tape ft0 at fdc0 drive 2 #controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr #disk wd0 at wdc0 drive 0 #disk wd1 at wdc0 drive 1 #controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr #disk wd2 at wdc1 drive 0 #disk wd3 at wdc1 drive 1 #controller ahb0 controller ncr0 controller ncr1 #controller aha0 at isa? port "IO_AHA0" bio irq 11 drq 5 vector ahaintr controller scbus0 #base SCSI code #device ch0 #SCSI media changers device sd0 #SCSI disks device st0 #SCSI tapes device cd0 #SCSI CD-ROMs #device od0 #SCSI optical disk # 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 #device pt0 at scbus? # SCSI processor type #device sctarg0 at scbus? # SCSI target #device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr #device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr #device mcd1 at isa? port 0x340 bio irq 11 vector mcdintr #syscons: device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr #pcvt: #device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint 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 sio2 at isa? port "IO_COM3" tty flags 0x20000 irq 14 vector siointr device sio3 at isa? port "IO_COM4" tty flags 0x20000 irq 15 vector siointr device sio4 at isa? port "0x2F0" tty flags 0x20000 irq 15 vector siointr device sio5 at isa? port "0x3E0" tty flags 0x20000 irq 15 vector siointr device sio6 at isa? port "0x2E0" tty flags 0x20000 irq 15 vector siointr #device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr #device sio3 at isa? port "IO_COM4" tty irq 9 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr #device lpt0 at isa? port? tty #device lpt1 at isa? port? tty #device lpt2 at isa? port? tty device ed0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector edintr #device ed1 at isa? port 0x300 net irq 5 iomem 0xd8000 vector edintr #device ie0 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr #device is0 at isa? port 0x280 net irq 10 drq 7 vector isintr # gsc: Genius GS-4500 hand scanner. #device gsc0 at isa? port "IO_GSC1" tty drq 3 # Controls all sound devices controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 #device awe0 at isa? port 0x620 pseudo-device loop pseudo-device ether pseudo-device tun 1 #Tunnel driver(user process ppp) #pseudo-device sl 2 #pseudo-device ppp #we use 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) --------------38FF219D7151FFDA6BC248DC Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Michael Class Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Michael Class n: Class;Michael org: Hewlett-Packard GmbH adr: Herrenbergerstr. 130;;;Boeblingen;Baden-Wuerttemberg;71004;Germany email;internet: michael_class@hpbbse.bbn.hp.com title: Technical Consultant tel;work: +49 7031 14-3707 tel;fax: +49 7031 14-4196 x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard --------------38FF219D7151FFDA6BC248DC-- From owner-freebsd-scsi Sun Nov 2 06:10:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA21172 for freebsd-scsi-outgoing; Sun, 2 Nov 1997 06:10:27 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from mail.herrenberg.netsurf.de (mail.Herrenberg.netsurf.de [194.163.121.2]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id GAA21167 for ; Sun, 2 Nov 1997 06:10:23 -0800 (PST) (envelope-from kschmidt@nagold.netsurf.de) Received: from nagold.netsurf.de (port-093.herrenberg.netsurf.de [194.163.121.93]) by mail.herrenberg.netsurf.de (8.6.12/8.6.12) with SMTP id PAA18728 for ; Sun, 2 Nov 1997 15:04:56 +0100 Message-Id: <199711021404.PAA18728@mail.herrenberg.netsurf.de> Date: Sun, 2 Nov 1997 14:25:50 +0100 From: Kai Schmidt Reply-To: Kai Schmidt To: freebsd-scsi@freebsd.org Subject: Bus Logic Flash point X-Mailer: Kai Schmidt's registered AK-Mail 3.0b [ger] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello development team, I have just one little question. I would like to migrate my Linux system to a free BSD system. The only problem is, that my SCSI controller, a Buslogic Flashpoint PCI is not supported by Free BSD, is there any chance that this controller will be supported in the nearer future. Bye! - Kai Schmidt - kschmidt@nagold.netsurf.de http://www.herrenberg.netsurf.de/~kschmidt From owner-freebsd-scsi Sun Nov 2 08:32:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA29093 for freebsd-scsi-outgoing; Sun, 2 Nov 1997 08:32:14 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from mail.ruhrgebiet.individual.net (in-ruhr.ruhr.de [141.39.224.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA29088 for ; Sun, 2 Nov 1997 08:32:09 -0800 (PST) (envelope-from robsch@robkaos.ruhr.de) Received: from robkaos.ruhr.de (admin@localhost) by mail.ruhrgebiet.individual.net (8.8.5-r-beta/8.8.5) with UUCP id PAA08955; Sun, 2 Nov 1997 15:35:06 +0100 (MET) Received: by robkaos.ruhr.de (Smail-3.2 1996-Jul-4 #1) id ; Sun, 2 Nov 1997 14:56:55 +0100 (CET) Message-Id: From: robsch@robkaos.ruhr.de (Robert Schien) Subject: Re: Burning Audio-CD on HP4020i does not work In-Reply-To: <345C64B2.2ED68420@hpbbse.bbn.hp.com> from Micha Class at "Nov 2, 97 12:32:02 pm" To: michael_class@bbn.hp.com Date: Sun, 2 Nov 1997 14:56:55 +0100 (CET) Cc: freebsd-scsi@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > wormcontrol track audio > rtprio 5 team -v 1m 5 < $i | rtprio 5 dd of=/dev/rworm0 > obs=20k Try obs=23520 And you possibly need to swap bytes in your *.pcm files. Add a pipe dd conv=swab Otherwise you get the famous little/big endian conversion opera which isn't probably the sound you want. :-) > done > wormcontrol fixate 0 > fi > > Robert From owner-freebsd-scsi Sun Nov 2 09:21:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA01599 for freebsd-scsi-outgoing; Sun, 2 Nov 1997 09:21:57 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from cabri.obs-besancon.fr (cabri.obs-besancon.fr [193.52.184.3]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id JAA01594 for ; Sun, 2 Nov 1997 09:21:50 -0800 (PST) (envelope-from jmz@cabri.obs-besancon.fr) Received: by cabri.obs-besancon.fr (5.57/Ultrix3.0-C) id AA05572; Sun, 2 Nov 97 18:20:34 +0100 Date: Sun, 2 Nov 97 18:20:34 +0100 Message-Id: <9711021720.AA05572@cabri.obs-besancon.fr> From: Jean-Marc Zucconi To: michael_class@bbn.hp.com Cc: freebsd-scsi@freebsd.org In-Reply-To: <345C64B2.2ED68420@hpbbse.bbn.hp.com> (message from Micha Class on Sun, 02 Nov 1997 12:32:02 +0100) Subject: Re: Burning Audio-CD on HP4020i does not work X-Mailer: Emacs Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>>>> Micha Class writes: > Symtom: > Burning does not start, I get the following error-messages: > Nov 2 12:20:40 pc-micha /kernel: worm0: ILLEGAL REQUEST asc:2c,0 > Command sequence error > Nov 2 12:20:42 pc-micha last message repeated 2 times Try the patch below (which is in -current now). However I am surprised that you were able to burn audio CDs with your script, because audio burning requires a bloc size which is a multiple of 2352. Index: worm.c =================================================================== RCS file: /home/ncvs/src/sys/scsi/worm.c,v retrieving revision 1.46 diff -u -r1.46 worm.c --- worm.c 1997/09/21 22:03:22 1.46 +++ worm.c 1997/10/11 05:32:04 @@ -139,6 +139,7 @@ static errval worm_rezero_unit(struct scsi_link *sc_link); static errval worm_read_session_info(struct scsi_link *, struct wormio_session_info *); static int worm_sense_handler(struct scsi_xfer *); +static errval worm_set_blksize(struct scsi_link *sc_link, int size); /* XXX should be moved out to an LKM */ static errval rf4100_prepare_disk(struct scsi_link *, int dummy, int speed); @@ -957,6 +958,31 @@ return SCSIRET_CONTINUE; } +static errval +worm_set_blksize(struct scsi_link *sc_link, int size) +{ + struct scsi_mode_select scsi_cmd; + struct { + struct scsi_mode_header header; + struct blk_desc desc; + } dat; + bzero(&scsi_cmd, sizeof(scsi_cmd)); + bzero(&dat, sizeof(dat)); + scsi_cmd.op_code = MODE_SELECT; + scsi_cmd.length = sizeof(dat); + dat.header.blk_desc_len = sizeof(struct blk_desc); + scsi_uto3b(size, dat.desc.blklen); + return scsi_scsi_cmd(sc_link, + (struct scsi_generic *) &scsi_cmd, + sizeof(scsi_cmd), + (u_char *) &dat, + sizeof(dat), + /*WORM_RETRIES*/ 4, + 5000, + NULL, + SCSI_DATA_OUT); +} + static void worm_drvinit(void *unused) { @@ -1230,12 +1256,9 @@ 60000, /* this may take a while */ NULL, 0); - if (!error) { - struct wormio_prepare_track t; - bzero (&t, sizeof (t)); - t.track_type = BLOCK_MODE_1; - error = rf4100_prepare_track(sc_link, &t); - } + if (!error) + error = worm_set_blksize(sc_link, 2048); + return error; } @@ -1532,12 +1555,9 @@ 60000, /* this may take a while */ NULL, 0); - if (!error) { - struct wormio_prepare_track t; - bzero (&t, sizeof (t)); - t.track_type = BLOCK_MODE_1; - error = hp4020i_prepare_track(sc_link, &t); - } + if (!error) + error = worm_set_blksize(sc_link, 2048); + return error; } Jean-Marc _____________________________________________________________________________ Jean-Marc Zucconi Observatoire de Besancon F 25010 Besancon cedex PGP Key: finger jmz@cabri.obs-besancon.fr From owner-freebsd-scsi Sun Nov 2 23:46:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA14332 for freebsd-scsi-outgoing; Sun, 2 Nov 1997 23:46:48 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.219]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA14327 for ; Sun, 2 Nov 1997 23:46:44 -0800 (PST) (envelope-from michael_class@hp.com) Received: from tmbbwmc.bbn.hp.com (tmbbwmc.bbn.hp.com [15.136.25.181]) by palrel3.hp.com (8.8.5/8.8.5tis) with ESMTP id XAA19122 for ; Sun, 2 Nov 1997 23:46:43 -0800 (PST) Received: from hp.com (tmbbobmc.bbn.hp.com [15.136.24.184]) by tmbbwmc.bbn.hp.com with ESMTP (8.7.1/8.7.1) id IAA24123; Mon, 3 Nov 1997 08:46:33 +0100 (MET) Message-ID: <345D815A.41EF6AA8@hp.com> Date: Mon, 03 Nov 1997 08:46:34 +0100 From: Michael Class Organization: Hewlett-Packard GmbH X-Mailer: Mozilla 4.03 [en] (WinNT; I) MIME-Version: 1.0 To: Jean-Marc Zucconi CC: michael_class@bbn.hp.com, freebsd-scsi@FreeBSD.ORG Subject: Re: Burning Audio-CD on HP4020i does not work References: <9711021720.AA05572@cabri.obs-besancon.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Thank you very much! After changing the Blocksize to 23520, and the addition of a "dd conv=swab" and your patch now everything works! Micha Jean-Marc Zucconi wrote: > > >>>>> Micha Class writes: > > > Symtom: > > > Burning does not start, I get the following error-messages: > > > Nov 2 12:20:40 pc-micha /kernel: worm0: ILLEGAL REQUEST asc:2c,0 > > Command sequence error > > Nov 2 12:20:42 pc-micha last message repeated 2 times > > Try the patch below (which is in -current now). However I am surprised > that you were able to burn audio CDs with your script, because audio > burning requires a bloc size which is a multiple of 2352. > > Index: worm.c > =================================================================== > RCS file: /home/ncvs/src/sys/scsi/worm.c,v > retrieving revision 1.46 > diff -u -r1.46 worm.c > --- worm.c 1997/09/21 22:03:22 1.46 > +++ worm.c 1997/10/11 05:32:04 > @@ -139,6 +139,7 @@ > static errval worm_rezero_unit(struct scsi_link *sc_link); > static errval worm_read_session_info(struct scsi_link *, struct wormio_session_info *); > static int worm_sense_handler(struct scsi_xfer *); > +static errval worm_set_blksize(struct scsi_link *sc_link, int size); > > /* XXX should be moved out to an LKM */ > static errval rf4100_prepare_disk(struct scsi_link *, int dummy, int speed); > @@ -957,6 +958,31 @@ > return SCSIRET_CONTINUE; > } > > +static errval > +worm_set_blksize(struct scsi_link *sc_link, int size) > +{ > + struct scsi_mode_select scsi_cmd; > + struct { > + struct scsi_mode_header header; > + struct blk_desc desc; > + } dat; > + bzero(&scsi_cmd, sizeof(scsi_cmd)); > + bzero(&dat, sizeof(dat)); > + scsi_cmd.op_code = MODE_SELECT; > + scsi_cmd.length = sizeof(dat); > + dat.header.blk_desc_len = sizeof(struct blk_desc); > + scsi_uto3b(size, dat.desc.blklen); > + return scsi_scsi_cmd(sc_link, > + (struct scsi_generic *) &scsi_cmd, > + sizeof(scsi_cmd), > + (u_char *) &dat, > + sizeof(dat), > + /*WORM_RETRIES*/ 4, > + 5000, > + NULL, > + SCSI_DATA_OUT); > +} > + > static void > worm_drvinit(void *unused) > { > @@ -1230,12 +1256,9 @@ > 60000, /* this may take a while */ > NULL, > 0); > - if (!error) { > - struct wormio_prepare_track t; > - bzero (&t, sizeof (t)); > - t.track_type = BLOCK_MODE_1; > - error = rf4100_prepare_track(sc_link, &t); > - } > + if (!error) > + error = worm_set_blksize(sc_link, 2048); > + > return error; > } > > @@ -1532,12 +1555,9 @@ > 60000, /* this may take a while */ > NULL, > 0); > - if (!error) { > - struct wormio_prepare_track t; > - bzero (&t, sizeof (t)); > - t.track_type = BLOCK_MODE_1; > - error = hp4020i_prepare_track(sc_link, &t); > - } > + if (!error) > + error = worm_set_blksize(sc_link, 2048); > + > return error; > } > > Jean-Marc > _____________________________________________________________________________ > Jean-Marc Zucconi Observatoire de Besancon F 25010 Besancon cedex > PGP Key: finger jmz@cabri.obs-besancon.fr -- ----------------------------------------------------------------------- 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 ----------------------------------------------------------------------- From owner-freebsd-scsi Mon Nov 3 00:38:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA17610 for freebsd-scsi-outgoing; Mon, 3 Nov 1997 00:38:32 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id AAA17584; Mon, 3 Nov 1997 00:38:24 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA01547; Mon, 3 Nov 1997 09:38:00 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id IAA05754; Mon, 3 Nov 1997 08:34:05 +0100 (MET) Message-ID: <19971103083404.YN36880@uriah.heep.sax.de> Date: Mon, 3 Nov 1997 08:34:04 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-scsi@FreeBSD.ORG Cc: nadav@barcode.co.il (Nadav Eiron), mira@rockwell.cz (Miroslav Kes), questions@FreeBSD.ORG Subject: Re: CD-ROM changer, mount : Device not configured References: <345889A6.BFC23171@rockwell.cz> <34589E91.5102@barcode.co.il> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <34589E91.5102@barcode.co.il>; from Nadav Eiron on Oct 30, 1997 16:49:53 +0200 Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Nadav Eiron wrote: > > What does the message mean ?? > > That a CD changer is not supported this way. Just today preliminary > support for CD changers went into FreeBSD 3.0-current. You are absolutely wrong with this, Nadav. The green support in -current is for *ATAPI* CD-ROM changers. Miroslave, you need to make an entry in /sys/scsi/scsiconf.c. The reason why multi-LUN support is disabled by default is because too many CD-ROM drive manufacturers don't adhere to the SCSI specifications, and mistakenly make their devices respond to all LUNs, causing a single drive to misprobe as 8 drives. The following patch (relative to the version in FreeBSD 2.2.2) should fix the problem. Does anybody know whether *all* NAKAMICH MJ-* drives might be CD-ROM changers? This would allow to shortcut them. Index: src/sys/scsi/scsiconf.c =================================================================== RCS file: /home/ncvs/src/sys/scsi/scsiconf.c,v retrieving revision 1.64.2.13 diff -u -u -r1.64.2.13 scsiconf.c --- scsiconf.c 1997/05/03 22:24:50 1.64.2.13 +++ scsiconf.c 1997/11/03 07:30:51 @@ -385,6 +385,10 @@ T_READONLY, T_READONLY, T_REMOV, "NAKAMICH", "MJ-4*" ,"*", "cd", SC_MORE_LUS }, + { + T_READONLY, T_READONLY, T_REMOV, "NAKAMICH", "MJ-5*" ,"*", + "cd", SC_MORE_LUS + }, #endif /* !UKTEST */ #endif /* NCD */ #if NWORM > 0 Miroslave, prosim napis mi dopis kdyby tento patch pracuje. Dekuju. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-scsi Mon Nov 3 05:35:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA02502 for freebsd-scsi-outgoing; Mon, 3 Nov 1997 05:35:20 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from fty-ss20.cisco.com (fty-ss20.cisco.com [171.69.162.81]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA02497 for ; Mon, 3 Nov 1997 05:35:18 -0800 (PST) (envelope-from fty@cisco.com) Received: by fty-ss20.cisco.com (8.8.5/1.34) id NAA00362; Mon, 3 Nov 1997 13:34:39 GMT Date: Mon, 3 Nov 1997 13:34:39 GMT From: Frank Terhaar-Yonkers Message-Id: <199711031334.NAA00362@fty-ss20.cisco.com> To: freebsd-scsi@FreeBSD.ORG Subject: 2920 driver for FreeBSD 2.2.5? X-Face: ,fjtWiMPydUaSQl%8[eTg`u:^BXt&T)Sny(6w\*U"5D9H[Z$kG%Q/z;Z=NwrPiXf-aMF3R) Rsand$,]26-8>5@HD(A3A79gN|0%NHsdek4mT8E,>j+\w!~d2#nH;~NV!5a0"`5$Cj8d\or(Jy/JQ_ |uc;C[filmZ(~#lre*l:|O%d/PJFy`.5w8)sMZ-)QI3TaV"j'k X-Mailer: [XMailTool v3.1.0] Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I know that the 2920 is a cheesy card, but I've had one dumped on me and was wondering if anyone was hacking up a driver for it. Not worth a lot of effort as this card seems to be cheaper than the ones that work .. TIA - Frank \\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\ Frank Terhaar-Yonkers Cisco Systems, Inc. Engineering Computer Services, W2 F3 5 7025 Kit Creek Road PO Box 14987 Research Triangle Park, North Carolina 27709 fty@cisco.com voice (919)472-2101 FAX (919)472-2940 pager (800)796-7363 pin 1008366 -or- fty@airnote.net From owner-freebsd-scsi Mon Nov 3 12:55:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA02798 for freebsd-scsi-outgoing; Mon, 3 Nov 1997 12:55:00 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id MAA02792 for ; Mon, 3 Nov 1997 12:54:51 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id VAA10607; Mon, 3 Nov 1997 21:54:45 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id VAA08021; Mon, 3 Nov 1997 21:49:53 +0100 (MET) Message-ID: <19971103214953.TL35036@uriah.heep.sax.de> Date: Mon, 3 Nov 1997 21:49:53 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-scsi@FreeBSD.ORG Cc: fty@cisco.com (Frank Terhaar-Yonkers) Subject: Re: 2920 driver for FreeBSD 2.2.5? References: <199711031334.NAA00362@fty-ss20.cisco.com> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199711031334.NAA00362@fty-ss20.cisco.com>; from Frank Terhaar-Yonkers on Nov 3, 1997 13:34:39 +0000 Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Frank Terhaar-Yonkers wrote: > I know that the 2920 is a cheesy card, but I've had one dumped on me and > was wondering if anyone was hacking up a driver for it. There's one rather preliminary driver in the /xperimnt section of FreeBSD 2.2.5 (this translates into the `2.2.x-stuff' directory on the FTP servers). This driver is a contribution that migrated from the PAO distribution, but i never could make up my mind to import the blurb that is accompanying it. Anyway, i even added an installation floppy image to the /xperimnt stuff (which i could not test, but hope would work for an AHA2920-only system). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-scsi Mon Nov 3 17:18:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA20695 for freebsd-scsi-outgoing; Mon, 3 Nov 1997 17:18:23 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from aurora.rose-hulman.edu (SYSTEM@aurora.rose-hulman.edu [137.112.8.16]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA20668 for ; Mon, 3 Nov 1997 17:18:13 -0800 (PST) (envelope-from jayrich@sysc.com) Received: from richmojm ("port 1060"@richmojm.laptop.rose-hulman.edu) by RoseVC.Rose-Hulman.Edu (PMDF V5.1-10 #17642) with SMTP id <01IPL3M7SSOQ91C805@RoseVC.Rose-Hulman.Edu> for freebsd-scsi@freebsd.org; Mon, 3 Nov 1997 20:21:40 EST Date: Mon, 03 Nov 1997 20:17:49 -0500 From: Jay Richmond Subject: quantum Atlas II, tagged queuing device? To: freebsd-scsi@freebsd.org Message-id: <01bce8bf$77014220$55ce7089@richmojm.laptop.rose-hulman.edu> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 4.71.1712.3 Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 X-Priority: 3 Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello, I've finally been able to get my SCSI system working properly. It turns out that my timeout errors were caused by the AHC_MEMIO option AND the fact that my Quantum II was providing termination power to the bus (don't ask me why this did cause a problem, it just did).. Thanks Justin for your help.. Anyways, I've been looking into tagged command queuing, and after enabling the option for it in my kernel configuration and compiling a new kernel, I don't see "ahc0: target ? Tagged Queueing Device" for my Atlas II hard drive... here's what the kernel probe looks like: Nov 3 18:13:01 room101 /kernel: ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs Nov 3 18:13:01 room101 /kernel: ahc0 waiting for scsi devices to settle Nov 3 18:13:01 room101 /kernel: (ahc0:1:0): "QUANTUM XP32275W LXY4" type 0 fixed SCSI 3 Nov 3 18:13:01 room101 /kernel: sd0(ahc0:1:0): Direct-Access 2170MB (4445380 512 byte sectors) I also have an external iomega jaz running if this means anything. shouldn't I see something like "ahc1: target 4 Tagged Queuing Device" to let me know it's active. on another person's 3940 this is printer for his Atlas II drive with the same firmware, but of a different size. is there a way I can force tagged queuing to be enabled , or make sure it is working properly? thanks,jay From owner-freebsd-scsi Mon Nov 3 23:31:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA19384 for freebsd-scsi-outgoing; Mon, 3 Nov 1997 23:31:20 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from bailin.lan (dialup1-35.ASPI.net [207.228.215.146]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id XAA19376 for ; Mon, 3 Nov 1997 23:31:17 -0800 (PST) (envelope-from noel@inr.net) Received: from warped [192.168.0.1] by bailin.lan [192.168.0.1] with SMTP (MDaemon.v2.6.rA.b3.32-R) for ; Tue, 04 Nov 97 02:22:26 -0500 Message-Id: <3.0.1.32.19971104022226.0093b5d0@bailin.lan> X-Sender: ndelmore@bailin.lan X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Tue, 04 Nov 1997 02:22:26 -0500 To: freebsd-scsi@FreeBSD.ORG From: "N. Del More" Subject: DTP Driver In-Reply-To: <19971103214953.TL35036@uriah.heep.sax.de> References: <199711031334.NAA00362@fty-ss20.cisco.com> <199711031334.NAA00362@fty-ss20.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MDaemon-Deliver-To: freebsd-scsi@FreeBSD.ORG Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Can anyone tell me if the DPT PM2144UW SCSI adapter is supported under freeBSD, or can you just use the BSDI driver? Thanks Noel +-----------------------------+ +---------------------------------+ | N.B. Del More noel@inr.net \ \ Sure! We'd be glad to host | | inr.NET \ \ your website!! Do you want | | InterNet Resources Network \ \ to be on? | | http://www.inr.net \ \ diss.net? datt.net? | | http://www.diss.net \ \ or do you just wanna be | | http://www.datt.net \ \ on da inr.net? | +------------------------------------+ +--------------------------+ From owner-freebsd-scsi Tue Nov 4 01:06:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA26170 for freebsd-scsi-outgoing; Tue, 4 Nov 1997 01:06:46 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from sendero-ppp.i-connect.net (sendero-ppp.i-Connect.Net [206.190.143.100]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id BAA26121 for ; Tue, 4 Nov 1997 01:06:34 -0800 (PST) (envelope-from shimon@sendero-ppp.i-connect.net) Received: (qmail 18991 invoked by uid 1000); 4 Nov 1997 09:07:04 -0000 Message-ID: X-Mailer: XFMail 1.2-beta-103097 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3.0.1.32.19971104022226.0093b5d0@bailin.lan> Date: Tue, 04 Nov 1997 01:07:03 -0800 (PST) Organization: Atlas Telecom From: Simon Shapiro To: "N. Del More" Subject: RE: DTP Driver Cc: freebsd-scsi@FreeBSD.ORG Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi N. Del More; On 04-Nov-97 you wrote: > Can anyone tell me if the DPT PM2144UW SCSI adapter is supported under > freeBSD, or can you just use the BSDI driver? Is it a PCI controller? If yes then yes, else no :-) The driver is available as a patch from sendero-ppp.i-connect.net/crash/971031.patch. It is against -current. There is a somewhat older patch for 2.2 The BSDi driver is useless in FreeBSD. --- If Microsoft Built Cars: Every time they repainted the lines on the road, you'd have to buy a new car. Sincerely Yours, Simon Shapiro Atlas Telecom Senior Architect 14355 SW Allen Blvd., Suite 130 Beaverton OR 97005 Shimon@i-Connect.Net Voice: 503.799.2313 From owner-freebsd-scsi Tue Nov 4 19:00:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA03010 for freebsd-scsi-outgoing; Tue, 4 Nov 1997 19:00:01 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from caliban.dihelix.com (caliban.dihelix.com [198.180.136.122]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA02955 for ; Tue, 4 Nov 1997 18:59:52 -0800 (PST) (envelope-from langfod@caliban.dihelix.com) Received: (from langfod@localhost) by caliban.dihelix.com (8.8.7/8.8.3) id QAA09055 for scsi@freebsd.org; Tue, 4 Nov 1997 16:59:48 -1000 (HST) Message-Id: <199711050259.QAA09055@caliban.dihelix.com> Subject: What can I make of this SCSI error(s) To: questions@freebsd.org Date: Tue, 4 Nov 1997 16:50:38 -1000 (HST) From: "David Langford" X-blank-line: This space intentionaly left blank. X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Busy machine runs days no problem. Recently when trying to backup the files systems the machine hangs/locks up. I had been trying to use compressed tar to the tape. It manages to do various amounts of data (at least several Gigs) and sometimes even completes without a hitch. However when it hangs it really hangs. Requires power cycling. If I just reset the box then it requires going into the BIOS and resetting the PCI/PnP settings. Here is the errors the preceeded that last meltdown followed by the dmesg output for this box. Thanks for any thoughts, -David Langford langfod@dihelix.com /kernel: st0(ahc0:5:0): SCB 0x2 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 /kernel: SEQADDR = 0x9 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa /kernel: st0(ahc0:5:0): Queueing an Abort SCB /kernel: st0(ahc0:5:0): Abort Message Sent /kernel: st0(ahc0:5:0): SCB 2 - Abort Completed. /kernel: st0(ahc0:5:0): no longer in timeout /kernel: st0(ahc0:5:0): SCB 0x2 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 /kernel: SEQADDR = 0x4 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa /kernel: st0(ahc0:5:0): SCB 2: Immediate reset. Flags = 0x1 /kernel: ahc0: Issued Channel A Bus Reset. 6 SCBs aborted /kernel: Clearing bus reset /kernel: Clearing 'in-reset' flag /kernel: st0(ahc0:5:0): no longer in timeout /kernel: st0(ahc0:5:0): SCB 0x5 - timed out in message out phase, SCSISIGI == 0xb4 /kernel: SEQADDR = 0xa1 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0x2 /kernel: st0(ahc0:5:0): abort message in message buffer /kernel: st0(ahc0:5:0): SCB 0x5 - timed out in message out phase, SCSISIGI == 0xb4 /kernel: SEQADDR = 0xa1 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0x2 /kernel: ahc0: Issued Channel A Bus Reset. 6 SCBs aborted /kernel: Clearing bus reset /kernel: Clearing 'in-reset' flag /kernel: st0(ahc0:5:0): no longer in timeout /kernel: st0(ahc0:5:0): SCB 0x2 - timed out in message out phase, SCSISIGI == 0xb4 /kernel: SEQADDR = 0xa1 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0x2 /kernel: ch0(ahc0:5:1): abort message in message buffer /kernel: ch0(ahc0:5:1): SCB 0x5 - timed out in message out phase, SCSISIGI == 0xb4 /kernel: SEQADDR = 0xa1 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0x2 /kernel: ahc0: Issued Channel A Bus Reset. 6 SCBs aborted /kernel: Clearing bus reset /kernel: Clearing 'in-reset' flag /kernel: ch0(ahc0:5:1): no longer in timeout /kernel: ch0(ahc0:5:1): SCB 0x2 - timed out in command phase, SCSISIGI == 0x84 /kernel: SEQADDR = 0x49 SCSISEQ = 0x12 SSTAT0 = 0x7 SSTAT1 = 0x2 /kernel: ch0(ahc0:5:1): abort message in message buffer /kernel: ch0(ahc0:5:1): SCB 0x2 - timed out in command phase, SCSISIGI == 0x94 /kernel: SEQADDR = 0x49 SCSISEQ = 0x12 SSTAT0 = 0x7 SSTAT1 = 0x2 /kernel: ahc0: Issued Channel A Bus Reset. 6 SCBs aborted /kernel: Clearing bus reset /kernel: Clearing 'in-reset' flag /kernel: ch0(ahc0:5:1): no longer in timeout /kernel: sd0(ahc0:0:0): UNIT ATTENTION asc:29,2 field replaceable unit: 2 /kernel: , FAILURE FreeBSD 2.2-STABLE #0: Wed Jul 2 13:02:29 HST 1997 CPU: Pentium Pro (199.41-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping=9 Features=0xfbff,MTRR,PGE,MCA,CMOV> real memory = 268435456 (262144K bytes) avail memory = 261017600 (254900K bytes) Probing for devices on PCI bus 0: chip0 rev 2 on pci0:0 chip1 rev 1 on pci0:7:0 chip2 rev 0 on pci0:7:1 chip3 rev 1 on pci0:11 vga0 rev 0 int a irq 15 on pci0:12 chip4 rev 1 on pci0:13 chip5 rev 1 on pci0:14 Probing for devices on PCI bus 1: ahc0 rev 0 int a irq 11 on pci1:4 ahc0: aic7880 Wide Channel A, SCSI Id=7, 16 SCBs ahc0: target 0 Tagged Queuing Device (ahc0:0:0): "SEAGATE ST32171W 0338" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 2061MB (4222640 512 byte sectors) sd0(ahc0:0:0): with 5168 cyls, 5 heads, and an average 163 sectors/track (ahc0:5:0): "ARCHIVE Python 28849-XXX 4.BT" type 1 removable SCSI 2 st0(ahc0:5:0): Sequential-Access density code 0x0, variable blocks, write-enabled (ahc0:5:1): "ARCHIVE Python 28849-XXX 4.BT" type 8 removable SCSI 2 ch0(ahc0:5:1): Medium-Changer 4 slots, 1 drive, 1 picker probe0(ahc0:9:0): scsi_cmd probe0(ahc0:9:0): scsi_done (ahc0:9:0): command: 0,0,0,0,0,0-[0 bytes] probe0(ahc0:9:0): scsi_cmd probe0(ahc0:9:0): scsi_done (ahc0:9:0): command: 12,0,0,0,2c,0-[44 bytes] ------------------------------ 000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 032: 00 00 00 00 00 00 00 00 00 00 00 00 ------------------------------ ahc1 rev 0 int a irq 10 on pci1:5 ahc1: aic7880 Wide Channel B, SCSI Id=7, 16 SCBs ahc1: target 0 Tagged Queuing Device (ahc1:0:0): "SEAGATE ST34371W 0484" type 0 fixed SCSI 2 sd1(ahc1:0:0): Direct-Access 4148MB (8496884 512 byte sectors) sd1(ahc1:0:0): with 5172 cyls, 10 heads, and an average 164 sectors/track probe0(ahc1:9:0): scsi_cmd probe0(ahc1:9:0): scsi_done (ahc1:9:0): command: 0,0,0,0,0,0-[0 bytes] probe0(ahc1:9:0): scsi_cmd probe0(ahc1:9:0): scsi_done (ahc1:9:0): command: 12,0,0,0,2c,0-[44 bytes] ------------------------------ 000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 032: 00 00 00 00 00 00 00 00 00 00 00 00 ------------------------------ Probing for devices on PCI bus 2: ahc2 rev 0 int a irq 10 on pci2:4 ahc2: aic7880 Wide Channel A, SCSI Id=7, 16 SCBs ahc2: target 0 Tagged Queuing Device (ahc2:0:0): "SEAGATE ST34371W 0484" type 0 fixed SCSI 2 sd2(ahc2:0:0): Direct-Access 4148MB (8496884 512 byte sectors) sd2(ahc2:0:0): with 5172 cyls, 10 heads, and an average 164 sectors/track probe0(ahc2:9:0): scsi_cmd probe0(ahc2:9:0): scsi_done (ahc2:9:0): command: 0,0,0,0,0,0-[0 bytes] probe0(ahc2:9:0): scsi_cmd probe0(ahc2:9:0): scsi_done (ahc2:9:0): command: 12,0,0,0,2c,0-[44 bytes] ------------------------------ 000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 032: 00 00 00 00 00 00 00 00 00 00 00 00 ------------------------------ ahc3 rev 0 int a irq 15 on pci2:5 ahc3: aic7880 Wide Channel B, SCSI Id=7, 16 SCBs ahc3: target 0 Tagged Queuing Device (ahc3:0:0): "SEAGATE ST34371W 0484" type 0 fixed SCSI 2 sd3(ahc3:0:0): Direct-Access 4148MB (8496884 512 byte sectors) sd3(ahc3:0:0): with 5172 cyls, 10 heads, and an average 164 sectors/track probe0(ahc3:9:0): scsi_cmd probe0(ahc3:9:0): scsi_done (ahc3:9:0): command: 0,0,0,0,0,0-[0 bytes] probe0(ahc3:9:0): scsi_cmd probe0(ahc3:9:0): scsi_done (ahc3:9:0): command: 12,0,0,0,2c,0-[44 bytes] ------------------------------ 000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 032: 00 00 00 00 00 00 00 00 00 00 00 00 ------------------------------ Probing for devices on PCI bus 3: de0 rev 35 int a irq 9 on pci3:4 de0: ZNYX ZX314 21040 [10Mb/s] pass 2.3 de0: address 00:c0:95:f0:0e:ac de0: enabling 10baseT port de1 rev 35 int a irq 11 on pci3:5 de1: (null)21040 [10Mb/s] pass 2.3 de1: address 00:c0:95:f0:0e:ad de1: enabling 10baseT port de2 rev 35 int a irq 10 on pci3:6 de2: (null)21040 [10Mb/s] pass 2.3 de2: address 00:c0:95:f0:0e:ae de2: enabling 10baseT port de3 rev 35 int a irq 15 on pci3:7 de3: (null)21040 [10Mb/s] pass 2.3 de3: address 00:c0:95:f0:0e:af de3: enabling 10baseT port Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <10 virtual consoles, flags=0x0> lpt0 not found at 0xffffffff psm0 not found at 0x60 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in npx0 on motherboard npx0: INT 16 interface ccd0-1: Concatenated disk drivers From owner-freebsd-scsi Tue Nov 4 22:16:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA15973 for freebsd-scsi-outgoing; Tue, 4 Nov 1997 22:16:31 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [128.120.56.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA15968 for ; Tue, 4 Nov 1997 22:16:25 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: from dragon.nuxi.com (d60-061.leach.ucdavis.edu [169.237.60.61]) by relay.nuxi.com (8.8.7/8.6.12) with ESMTP id WAA14104 for ; Tue, 4 Nov 1997 22:16:22 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.8.7/8.7.3) id GAA10778; Wed, 5 Nov 1997 06:15:52 GMT Message-ID: <19971104221552.33270@dragon.nuxi.com> Date: Tue, 4 Nov 1997 22:15:52 -0800 From: "David O'Brien" To: freebsd-scsi@freebsd.org Subject: scsi(8) manpage error? Reply-To: obrien@NUXI.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.76 X-Warning: Mutt Bites! X-Operating-System: FreeBSD 2.2.5-STABLE Organization: The NUXI *BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Reading the manpage for scsi(8), is says: The -p option can be used against the "super scsi" device /dev/scsi/super to probe all devices with a given SCSI lun on a given SCSI bus. Is ``/dev/scsi/super'' a 3.0-current thing? I've never seen /dev/scsi/super on my 2.2.x boxes and /dev/MAKEDEV knows nothing about it. Also, what is the real way to reprobe the whole bus? -- -- David (obrien@NUXI.com -or- obrien@FreeBSD.org) From owner-freebsd-scsi Tue Nov 4 23:06:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA18516 for freebsd-scsi-outgoing; Tue, 4 Nov 1997 23:06:26 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from squid.pdc.kth.se (squid.pdc.kth.se [130.237.221.65]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA18499 for ; Tue, 4 Nov 1997 23:06:19 -0800 (PST) (envelope-from tege@nada.kth.se) Received: from localhost (tege@localhost) by squid.pdc.kth.se (8.8.7/8.8.7) with SMTP id IAA02275 for ; Wed, 5 Nov 1997 08:06:13 +0100 (MET) Message-Id: <199711050706.IAA02275@squid.pdc.kth.se> X-Authentication-Warning: squid.pdc.kth.se: tege@localhost didn't use HELO protocol To: scsi@freebsd.org Subject: What does this mean? Date: Wed, 05 Nov 1997 08:06:13 +0100 From: Torbjorn Granlund Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk We get a coupld of messages like this per day: sd0(ahc0:1:0): SCB 0x2 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 SEQADDR = 0x5 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa sd0(ahc0:1:0): SCB 2: Immediate reset. Flags = 0x1 ahc0: Issued Channel A Bus Reset. 2 SCBs aborted Clearing bus reset Clearing 'in-reset' flag sd0(ahc0:1:0): no longer in timeout sd0(ahc0:1:0): UNIT ATTENTION asc:29,2 , retries:3 sd2(ahc0:3:0): UNIT ATTENTION asc:29,2 , retries:4 sd1(ahc0:2:0): UNIT ATTENTION asc:29,2 , retries:4 The question is, what does this indicate? sd0 is an 4GB Fujitsu 2940 Ultra. sd1 and sd2 are 4GB Fujitsu UltraWide. the controller is an 2940UW. We am running FreeBSD 2.2.2. The number of errors seems to has increased significantly when we swapped the CPU from P6/200MHz stepping 7 to P6/200MHz stepping 9, and at the same time downgrading memory from 128MB to 64MB. But that might be a coincidence, or course. Torbjorn From owner-freebsd-scsi Tue Nov 4 23:51:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA21590 for freebsd-scsi-outgoing; Tue, 4 Nov 1997 23:51:46 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id XAA21581 for ; Tue, 4 Nov 1997 23:51:42 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id IAA04659; Wed, 5 Nov 1997 08:51:35 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id IAA15764; Wed, 5 Nov 1997 08:40:01 +0100 (MET) Message-ID: <19971105084001.FZ12904@uriah.heep.sax.de> Date: Wed, 5 Nov 1997 08:40:01 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-scsi@FreeBSD.ORG Cc: obrien@NUXI.com Subject: Re: scsi(8) manpage error? References: <19971104221552.33270@dragon.nuxi.com> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <19971104221552.33270@dragon.nuxi.com>; from David O'Brien on Nov 4, 1997 22:15:52 -0800 Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As David O'Brien wrote: > Reading the manpage for scsi(8), is says: > > The -p option can be used against the "super scsi" device /dev/scsi/super > to probe all devices with a given SCSI lun on a given SCSI bus. > > Is ``/dev/scsi/super'' a 3.0-current thing? I think it's more a FreeBSD 1.1.5.1 thing. :) Anyway, if you activate the su and ssc pseudo-devices, and (umask 077; mknod /dev/scsisuper c 18 0) you should be going. I've been tempted to put these devices into the GENERIC kernel, but so far stood away due to another 4 KB of bloat which perhaps nobody would use. I was hoping to get some feedback from the author of `cdrecord' whether this device might be of some use for him. (He loudly complained in public that FreeBSD were missing such a device.) He choose to not respond to me. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)