From owner-freebsd-scsi Tue Mar 6 21:26:20 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from out5.mx.nwbl.wi.voyager.net (out5.mx.nwbl.wi.voyager.net [169.207.2.77]) by hub.freebsd.org (Postfix) with ESMTP id C774137B71A for ; Tue, 6 Mar 2001 21:26:14 -0800 (PST) (envelope-from dpoland@execpc.com) Received: from earth.execpc.com (dpoland@earth.execpc.com [169.207.16.1]) by out5.mx.nwbl.wi.voyager.net (8.11.1/8.11.1) with ESMTP id f275QET10039 for ; Tue, 6 Mar 2001 23:26:14 -0600 (CST) Received: (from dpoland@localhost) by earth.execpc.com (8.9.0) id XAA02060 for freebsd-scsi@freebsd.org; Tue, 6 Mar 2001 23:26:14 -0600 (CST) Date: Tue, 6 Mar 2001 23:26:14 -0600 From: Doug Poland To: freebsd-scsi@freebsd.org Subject: SCSI disk problem with 4.2-STABLE Message-ID: <20010306232613.A407@polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I hope this is an appropriate place to ask this question, as no one on -questions was able to help me. I have 7 identical IBM SCSI hard-drives. My goal is to create a vinum raid. In preparation, I've formatted (camcontrol format), fdisk'd, and labeled each drive separately using sysinstall. Each disk is mounted as such... /dev/da0s1e on /data/disk00 (ufs, local) /dev/da1s1e on /data/disk01 (ufs, local) /dev/da2s1e on /data/disk02 (ufs, local) /dev/da3s1e on /data/disk03 (ufs, local) /dev/da4s1e on /data/disk04 (ufs, local) /dev/da5s1e on /data/disk05 (ufs, local) (right now I've only got 6 SCSI connectors) So far, so good. In preparation for creating a vinum volume, I must use disk label to change it from a 4.2BSD to vinum partition (is that the right terminology?) This works fine for disks da0 - da3. When I get to da4 and da5, it gets weird. Here's an fdisk, disklabel -r, and disklabel -e for da4: judeah# fdisk da4 ******* Working on device /dev/da4 ******* parameters extracted from in-core disklabel are: cylinders=1440 heads=210 sectors/track=13 (2730 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=1440 heads=210 sectors/track=13 (2730 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 0, size 3933040 (1920 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 0; end: cyl 244/ sector 13/ head 209 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: judeah# disklabel -r da4 # /dev/da4: type: SCSI disk: da4s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 244 sectors/unit: 3933040 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 3933040 0 unused 0 0 # (Cyl. 0 - 244*) e: 3933040 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 244*) judeah# disklabel -e da4 # /dev/da4: type: SCSI disk: IBMRAID label: 0664M1H9337 flags: bytes/sector: 512 sectors/track: 13 tracks/cylinder: 210 sectors/cylinder: 2730 cylinders: 1440 sectors/unit: 3933040 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 3933040 0 unused 0 0 # (Cyl. 0 - 1440*) Notice the disk and label differ when I use disklabel -r as opposed to disklabel -e. With disklabel -r, I see the 4.2BSD fstype. When I edit, there is no e: partition and the number of cylinders is different for c: So why do my first four physical disks all have a 4.2BSD partition and any after that do not? If I'm to use vinum, I must set each drive's fstype type to "vinum". Is there some type of maximum number of partitions on a BSD system? This box in question boots off an IDE HD and has an IDE CDROM as well. I guess my great deal on SCSI hard-drives isn't so good if I can only use four :( -- Dazed and confused, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Mar 7 12:49:30 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from anagyris.wanadoo.fr (smtp-rt-1.wanadoo.fr [193.252.19.151]) by hub.freebsd.org (Postfix) with ESMTP id A3CF537B719; Wed, 7 Mar 2001 12:49:20 -0800 (PST) (envelope-from hpc@wanadoo.fr) Received: from antholoma.wanadoo.fr (193.252.19.153) by anagyris.wanadoo.fr; 7 Mar 2001 21:49:19 +0100 Received: from hpc.wanadoo.fr (193.253.200.70) by antholoma.wanadoo.fr; 7 Mar 2001 21:49:14 +0100 Received: from (hpc@localhost) by hpc.wanadoo.fr (8.9.3/jtpda-5.3.1) id VAA60418 ; Wed, 7 Mar 2001 21:49:13 +0100 (CET) Date: Wed, 7 Mar 2001 21:49:13 +0100 From: Charles Henri-Pierre To: Soren Schmidt Cc: Charles Henri-Pierre , freebsd-multimedia@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: SCSI DVD player Message-ID: <20010307214912.A60096@asus.hpc.yi.org> References: <20010306230057.A16560@asus.hpc.yi.org> <200103070729.IAA24665@freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200103070729.IAA24665@freebsd.dk>; from sos@freebsd.dk on Wed, Mar 07, 2001 at 08:29:09AM +0100 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, Context: FreeBSD STABLE (05 March), a Pionner SCSI DVD, a 600MHz celeron, X11 4.02_6. Le Wed, Mar 07, 2001 at 08:29:09AM +0100, Soren Schmidt me disait : > Uhm, the asc:6f,3 means you are trying to read a CSS proteced area of > the disk IIRC, you need to have some deCSS code in action for this > to work... Well I have tried a program (only for research purpose), which unprotect the disk: star:~/Install/css-auth>pwd /usr/home/hpc/Install/css-auth star:~/Install/css-auth> ./tstdvd /dev/cdrom star:~/Install/css-auth>ll /dev/cdrom lrwxr-xr-x 1 root wheel 4 Mar 7 21:36 /dev/cdrom -> cd0c I launch xine, get the play list, start to play a sequence, I get one image, then I get these messages from xine : This is xine - a mpeg 1, 2 player v0.3.7 - (c) 2000 by G. Bartsch. testing for audio driver: oss <-(successfully initialized) Using oss audio output driver. found yuy2 format found yv12 format video_out_xv: using Xvideo port 46 for hw scaling *** Settings: SATURATION BRIGHTNESS COLORKEY ***************** Using X Window System video extension for video output. set_image_format_xv(): width=720, height=405, ratio=3 scaled picture size : 720 x 432 (corr_factor: 0.935734) Using MMXEXT for IDCT transform Using MMXEXT for motion compensation input plugin found : /usr/X11R6/lib/xine/plugins/input_file.so(input_file.so) input plugin found : /usr/X11R6/lib/xine/plugins/input_net.so(input_net.so) input plugin found : /usr/X11R6/lib/xine/plugins/input_dvd.so(input_dvd.so) input plugin found : /usr/X11R6/lib/xine/plugins/input_vcd.so(input_vcd.so) input plugin found : /usr/X11R6/lib/xine/plugins/input_stdin_fifo.so(input_stdin_fifo.so) set_image_format_xv(): width=720, height=576, ratio=2 scaled picture size : 720 x 577 (corr_factor: 0.998117) ac3 sampling rate stream: 48000 Hz, output : 48000 Hz (3072 -> 3072 samples) ac3 sampling rate stream: 48000 Hz, output : 48000 Hz (3072 -> 3072 samples) ** Invalid exponent - skipping frame ** ** Invalid mantissa - skipping frame ** ** Invalid exponent - skipping frame ** ** Invalid exponent - skipping frame ** ** Invalid mantissa - skipping frame ** video_out : throwing away image with pts 50400 because it's too old (diff : 4125 > 1800). Segmentation fault (core dumped) (Nothing in /var/log/messages except xine/core dump message) Could it be an SCSI problem ? cd0 at sym0 bus 0 target 2 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 16) cd0: cd present [1944190 x 2048 byte records] Any idea ? H-P -- % Henri-Pierre.Charles@teaser.fr % Metteur en liens du site : http://saint.symphorien.free.fr/ % Membre de Eklesia : http://www.eklesia.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Mar 7 12:58: 7 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from mail.numachi.com (numachi.numachi.com [198.175.254.2]) by hub.freebsd.org (Postfix) with SMTP id 72ACB37B71A for ; Wed, 7 Mar 2001 12:58:01 -0800 (PST) (envelope-from reichert@natto.numachi.com) Received: (qmail 12943 invoked by uid 3001); 7 Mar 2001 20:57:59 -0000 Received: from natto.numachi.com (198.175.254.216) by numachi.numachi.com with SMTP; 7 Mar 2001 20:57:59 -0000 Received: (qmail 70950 invoked by uid 1001); 7 Mar 2001 20:57:59 -0000 Date: Wed, 7 Mar 2001 15:57:59 -0500 From: Brian Reichert To: Charles Henri-Pierre Cc: Soren Schmidt , freebsd-multimedia@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: SCSI DVD player Message-ID: <20010307155758.A70931@numachi.com> References: <20010306230057.A16560@asus.hpc.yi.org> <200103070729.IAA24665@freebsd.dk> <20010307214912.A60096@asus.hpc.yi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010307214912.A60096@asus.hpc.yi.org>; from Henri-Pierre.Charles@teaser.fr on Wed, Mar 07, 2001 at 09:49:13PM +0100 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Mar 07, 2001 at 09:49:13PM +0100, Charles Henri-Pierre wrote: > Hello, > > Context: FreeBSD STABLE (05 March), a Pionner SCSI DVD, a 600MHz celeron, > X11 4.02_6. > > Le Wed, Mar 07, 2001 at 08:29:09AM +0100, Soren Schmidt me disait : > > Uhm, the asc:6f,3 means you are trying to read a CSS proteced area of > > the disk IIRC, you need to have some deCSS code in action for this > > to work... > > Well I have tried a program (only for research purpose), which unprotect the > disk: > star:~/Install/css-auth>pwd > /usr/home/hpc/Install/css-auth > star:~/Install/css-auth> > ./tstdvd /dev/cdrom > star:~/Install/css-auth>ll /dev/cdrom > lrwxr-xr-x 1 root wheel 4 Mar 7 21:36 /dev/cdrom -> cd0c > > I launch xine, get the play list, start to play a sequence, I get > one image, then I get these messages from xine : I, for one, have never used xine. Have you tried lower-level tools, like dvdview, or mpeg2player? I've been using them off of an ATAPI DVD-ROM drive... -- Brian 'you Bastard' Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Mar 7 20:13:15 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from backup.af.speednet.com.au (af.speednet.com.au [202.135.188.244]) by hub.freebsd.org (Postfix) with ESMTP id AC81A37B718; Wed, 7 Mar 2001 20:13:01 -0800 (PST) (envelope-from andyf@speednet.com.au) Received: from backup.af.speednet.com.au (backup.af.speednet.com.au [172.22.2.4]) by backup.af.speednet.com.au (8.11.3/8.11.3) with ESMTP id f284Cqk02842; Thu, 8 Mar 2001 15:12:53 +1100 (EST) (envelope-from andyf@speednet.com.au) Date: Thu, 8 Mar 2001 15:12:51 +1100 (EST) From: Andy Farkas X-Sender: andyf@backup.af.speednet.com.au To: freebsd-stable@freebsd.org Cc: freebsd-scsi@freebsd.org Subject: Adaptec 284X SCSI adapter weirdness Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am seeing odd behaviour during probing of my Adaptec 284X SCSI adapter. It still works, but there is a long pause after the "Waiting 8 seconds..." message, then some debug dump (dmesg attached). During the pause (after the 8 second wait) the LED on the card goes solid on. The card is VLB, the 2 Quantums are on the internal cable, the Seagate on external. I have had this system for years, doing source upgrades since FreeBSD-2.2.5 and never seen this before. Would a verbose dmesg help? ps. I am not on -scsi but thought I'd cross-post. [/var/run/dmesg.boot] Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.3-BETA #0: Wed Mar 7 22:28:02 EST 2001 root@backup.af.speednet.com.au:/other/obj/citus/src/sys/BACKUP Timecounter "i8254" frequency 1193182 Hz CPU: i486 DX4 (486-class CPU) Origin = "GenuineIntel" Id = 0x480 Stepping = 0 Features=0x3 real memory = 33554432 (32768K bytes) avail memory = 29921280 (29220K bytes) Preloaded elf kernel "kernel" at 0xc02db000. npx0: on motherboard npx0: INT 16 interface eisa0: on motherboard ahc0: at 0x1c00-0x1cff, irq 11 (edge) ahc0: on eisa0 slot 1 aic7770: Single Channel A, SCSI Id=7, 4/255 SCBs isa0: on motherboard fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16450 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ed0 at port 0x300-0x31f iomem 0xd8000 irq 5 on isa0 ed0: address 00:40:95:03:70:64, type NE2000 (16 bit) ad0: 258MB [944/14/40] at ata0-master BIOSPIO ad1: 245MB [872/16/36] at ata0-slave BIOSPIO Waiting 8 seconds for SCSI devices to settle (probe6:ahc0:0:6:0): SCB 0x2 - timed out in Message-out phase, SEQADDR == 0x140 STACK == 0x16a, 0x13a, 0x0, 0xc7 SXFRCTL0 == 0x8 ahc0: Dumping Card State at SEQADDR 0x140 SCSISEQ = 0x12, SBLKCTL = 0x0, SSTAT0 0x7 SCB count = 10 Kernel NEXTQSCB = 3 Card NEXTQSCB = 6 QINFIFO entries: 6 Waiting Queue entries: Disconnected Queue entries: 1:2 QOUTFIFO entries: Sequencer Free SCB List: 0 3 Pending list: 6 7 2 Kernel Free SCB list: 4 5 8 9 1 0 Untagged Q(2): 7 Untagged Q(3): 6 Untagged Q(6): 2 sg[0] - Addr 0x1f176e0 : Length 20 (probe6:ahc0:0:6:0): Other SCB Timeout (probe2:ahc0:0:2:0): SCB 0x7 - timed out in Message-out phase, SEQADDR == 0x140 STACK == 0x16a, 0x13a, 0x0, 0xc7 SXFRCTL0 == 0x8 ahc0: Dumping Card State at SEQADDR 0x140 SCSISEQ = 0x12, SBLKCTL = 0x0, SSTAT0 0x7 SCB count = 10 Kernel NEXTQSCB = 3 Card NEXTQSCB = 6 QINFIFO entries: 6 Waiting Queue entries: Disconnected Queue entries: 1:2 QOUTFIFO entries: Sequencer Free SCB List: 0 3 Pending list: 6 7 2 Kernel Free SCB list: 4 5 8 9 1 0 Untagged Q(2): 7 Untagged Q(3): 6 Untagged Q(6): 2 (probe2:ahc0:0:2:0): BDR message in message buffer (probe2:ahc0:0:2:0): no longer in timeout, status = 300 da0 at ahc0 bus 0 target 2 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da0: 4106MB (8410200 512 byte sectors: 64H 32S/T 4106C) da2 at ahc0 bus 0 target 6 lun 0 da2: Fixed Direct Access SCSI-2 device da2: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da2: 4106MB (8410200 512 byte sectors: 64H 32S/T 4106C) da1 at ahc0 bus 0 target 3 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da1: 4095MB (8388315 512 byte sectors: 64H 32S/T 4095C) Mounting root from ufs:/dev/ad0s1a -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Mar 7 20:56:37 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by hub.freebsd.org (Postfix) with ESMTP id 05AF137B718; Wed, 7 Mar 2001 20:56:33 -0800 (PST) (envelope-from gibbs@scsiguy.com) Received: from scsiguy.com (localhost [127.0.0.1]) by aslan.scsiguy.com (8.11.2/8.9.3) with ESMTP id f284uHO36992; Wed, 7 Mar 2001 21:56:18 -0700 (MST) (envelope-from gibbs@scsiguy.com) Message-Id: <200103080456.f284uHO36992@aslan.scsiguy.com> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Andy Farkas Cc: freebsd-stable@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: Adaptec 284X SCSI adapter weirdness In-Reply-To: Your message of "Thu, 08 Mar 2001 15:12:51 +1100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 07 Mar 2001 21:56:16 -0700 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Would a verbose dmesg help? Yes it would. Can you provide one? Your last post had a non-verbose dmesg. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Mar 9 10:50:20 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from gvr.gvr.org (gvr.gvr.org [212.61.40.17]) by hub.freebsd.org (Postfix) with ESMTP id 84E5F37B718 for ; Fri, 9 Mar 2001 10:50:16 -0800 (PST) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id E4F7A5807; Fri, 9 Mar 2001 19:50:14 +0100 (CET) Date: Fri, 9 Mar 2001 19:50:14 +0100 From: Guido van Rooij To: freebsd-scsi@freebsd.org Subject: problem with Philips cdd3600 and Sym0 driver Message-ID: <20010309195014.A1505@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have a cdd3600 hooked up to a sym: sym0: <810a> port 0xe800-0xe8ff mem 0xe6001000-0xe60010ff irq 10 at device 20.0 on pci0 sym0: No NVRAM, ID 7, Fast-10, SE, parity checking cd0 at sym0 bus 0 target 1 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 8) cd0: Attempt to query device size failed: NOT READY, Medium not present When I use xmcd (which uses cam's passthrough), weird things happen. E.g. when I eject a disk from xmcd I get: Mar 9 19:46:27 gvr /kernel: sym0:1:control msgout: 80 6. Mar 9 19:46:27 gvr /kernel: sym0:1: ERROR (81:0) (6-a3-8) (8/13) @ (scriptb 50:48000000). Mar 9 19:46:27 gvr /kernel: sym0: script cmd = 98080000 Mar 9 19:46:27 gvr /kernel: sym0: regdump: da 10 00 13 47 08 01 1f 10 06 81 a3 80 00 03 00 00 e0 ec 03 18 ff ff ff. Mar 9 19:46:27 gvr /kernel: (noperiph:sym0:0:-1:-1): SCSI BUS reset detected. When a disk is present and I start xmcd, I first get the following messages from xmcd: CD audio: (pass0:sym0:0:1:0): PLAY AUDIO MSF. CDB: 47 0 0 0 2 0 23 21 3e 0 (pass0:sym0:0:1:0): NOT READY csi:0,0,18,2a asc:4,1 (pass0:sym0:0:1:0): Logical unit is in process of becoming ready CD audio: (pass0:sym0:0:1:0): PLAY AUDIO(12). CDB: a5 0 0 0 0 0 0 2 70 8f 0 0 (pass0:sym0:0:1:0): NOT READY csi:0,0,18,2e asc:4,1 (pass0:sym0:0:1:0): Logical unit is in process of becoming ready Manually pressing play again in xmcd will work without error messages. This is on a 4.2-stable from Januari 15th. Any ideas? -Guido ps: I am not subscribed to -scsi, so please leave my name in the Cc: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Mar 9 12:50: 3 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from front6m.grolier.fr (front6m.grolier.fr [195.36.216.56]) by hub.freebsd.org (Postfix) with ESMTP id 8CC5337B719 for ; Fri, 9 Mar 2001 12:49:57 -0800 (PST) (envelope-from groudier@club-internet.fr) Received: from nas1-218.mea.club-internet.fr (nas1-218.mea.club-internet.fr [195.36.139.218]) by front6m.grolier.fr (8.9.3/No_Relay+No_Spam_MGC990224) with ESMTP id VAA28498; Fri, 9 Mar 2001 21:49:46 +0100 (MET) Date: Fri, 9 Mar 2001 19:39:31 +0100 (CET) From: =?ISO-8859-1?Q?G=E9rard_Roudier?= X-Sender: groudier@linux.local To: Guido van Rooij Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: problem with Philips cdd3600 and Sym0 driver In-Reply-To: <20010309195014.A1505@gvr.gvr.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 9 Mar 2001, Guido van Rooij wrote: > I have a cdd3600 hooked up to a sym: > sym0: <810a> port 0xe800-0xe8ff mem 0xe6001000-0xe60010ff irq 10 at devic= e 20.0=20 > on pci0 > sym0: No NVRAM, ID 7, Fast-10, SE, parity checking > cd0 at sym0 bus 0 target 1 lun 0 > cd0: Removable CD-ROM SCSI-2 device=20 > cd0: 10.000MB/s transfers (10.000MHz, offset 8) > cd0: Attempt to query device size failed: NOT READY, Medium not present >=20 > When I use xmcd (which uses cam's passthrough), weird things happen.=20 The passthrough device has been designed for any kind of weird operations to get possible with SCSI devices. :-) > E.g. when I eject a disk from xmcd I get: > Mar 9 19:46:27 gvr /kernel: sym0:1:control msgout: 80 6. The driver here tried to send an ABORT message to the device. This=20 might be due to the IO lasting more than some expected time-out for=20 example. > Mar 9 19:46:27 gvr /kernel: sym0:1: ERROR (81:0) (6-a3-8) (8/13)=20 > @ (scriptb 50:48000000). This _quite_ _clear_ :-) error message indicates that the device asserted the SCSI REQ line but the SCSI chip (driven by SCRIPTS) expected the device to disconnect from the SCSI BUS. Such a release of the BUS is expected just after the ABORT message having been accepted by the device. > Mar 9 19:46:27 gvr /kernel: sym0: script cmd =3D 98080000 > Mar 9 19:46:27 gvr /kernel: sym0: regdump: da 10 00 13 47 08 01 1f 10 06= 81 a3 80 00 03 00 00 e0 ec 03 18 ff ff ff. > Mar 9 19:46:27 gvr /kernel: (noperiph:sym0:0:-1:-1): SCSI BUS reset dete= cted. The driver didn't want to be soft here and decided to reset everything. > When a disk is present and I start xmcd, I first get the following > messages from xmcd: > CD audio: (pass0:sym0:0:1:0): PLAY AUDIO MSF. CDB: 47 0 0 0 2 0 23 21 3e = 0=20 > (pass0:sym0:0:1:0): NOT READY csi:0,0,18,2a asc:4,1 > (pass0:sym0:0:1:0): Logical unit is in process of becoming ready >=20 > CD audio: (pass0:sym0:0:1:0): PLAY AUDIO(12). CDB: a5 0 0 0 0 0 0 2 70 8f= 0 0=20 > (pass0:sym0:0:1:0): NOT READY csi:0,0,18,2e asc:4,1 > (pass0:sym0:0:1:0): Logical unit is in process of becoming ready >=20 > Manually pressing play again in xmcd will work without error messages. >=20 > This is on a 4.2-stable from Januari 15th. >=20 > Any ideas?=20 Unless there is a fault (from me) in the SCSI SCRIPTS, the device should have disconnected the BUS as the driver was expecting it to do so. I will check the code. G=E9rard. > -Guido >=20 > ps: I am not subscribed to -scsi, so please leave my name in the Cc: >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-scsi" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Mar 9 14:39: 7 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from gvr.gvr.org (gvr.gvr.org [212.61.40.17]) by hub.freebsd.org (Postfix) with ESMTP id 0F27437B71B for ; Fri, 9 Mar 2001 14:39:02 -0800 (PST) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id 2C7455807; Fri, 9 Mar 2001 23:39:00 +0100 (CET) Date: Fri, 9 Mar 2001 23:39:00 +0100 From: Guido van Rooij To: =?iso-8859-1?Q?G=E9rard_Roudier?= Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: problem with Philips cdd3600 and Sym0 driver Message-ID: <20010309233900.A3179@gvr.gvr.org> References: <20010309195014.A1505@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: ; from groudier@club-internet.fr on Fri, Mar 09, 2001 at 07:39:31PM +0100 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Mar 09, 2001 at 07:39:31PM +0100, Gérard Roudier wrote: > > Mar 9 19:46:27 gvr /kernel: sym0:1: ERROR (81:0) (6-a3-8) (8/13) > > @ (scriptb 50:48000000). > > This _quite_ _clear_ :-) error message indicates that the device asserted Clear if you know the lingo ;-) > > > > Any ideas? > > Unless there is a fault (from me) in the SCSI SCRIPTS, the device should > have disconnected the BUS as the driver was expecting it to do so. I will > check the code. If I understand you correctly, you currently think this is a firmware bug in the CD drive, right? -Guido To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Mar 9 15:24:32 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 44FFE37B71B for ; Fri, 9 Mar 2001 15:24:29 -0800 (PST) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id QAA51960; Fri, 9 Mar 2001 16:24:19 -0700 (MST) (envelope-from ken) Date: Fri, 9 Mar 2001 16:24:19 -0700 From: "Kenneth D. Merry" To: Matthew Jacob Cc: Lauri Laupmaa , scsi@FreeBSD.ORG Subject: Re: Adaptec F950 fibre channel support ? Message-ID: <20010309162419.A51898@panzer.kdm.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from mjacob@feral.com on Fri, Feb 23, 2001 at 04:33:46PM -0800 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Feb 23, 2001 at 16:33:46 -0800, Matthew Jacob wrote: > > Oh- btw- you might see whether Adaptec has plans in this direction- luckily we > have both Ken && Justin at Adaptec. They haven't contacted me about Fibre > Channel support for Adaptect which is reported to now have regretted getting > out of this business and is thinking of dropping back in. Or maybe not. Or > they might. Maybe. Well. Maybe next quarter. But what about iSCSI? I > dunno... How about where Linux will *really* go. And what does Redmond > want? Jeez? (Now *there's* a company that emits the sound of stripping gears > at at least 140decibels....) FWIW, Adaptec does have FC cards, see: http://www.adaptec.com/worldwide/product/proddetail.html?prodkey=AFC-9110G&cat=%2fTechnology%2fFibre+Channel%2fFibre+Channel+Adapters Basically it's a Tachyon-based board. 2Gbit FC is in the works: http://www.adaptec.com/worldwide/company/pressrelease.html?pressCat=%2fTechnology%2fFibre+Channel&prodkey=11132000 There is a Linux driver in the works for those boards, I don't know whether a FreeBSD driver will happen for them. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message