From owner-freebsd-scsi Mon Oct 27 07:17:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA25115 for freebsd-scsi-outgoing; Mon, 27 Oct 1997 07:17:28 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from outland.cyberwar.com (root@outland.cyberwar.com [206.88.128.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA25105 for ; Mon, 27 Oct 1997 07:17:23 -0800 (PST) (envelope-from wjgrun@cyberwar.com) Received: from zippy.cyberwar.com (zippy.cyberwar.com [206.88.128.80]) by outland.cyberwar.com (8.8.7/8.8.7) with SMTP id KAA22714; Mon, 27 Oct 1997 10:17:15 -0500 (EST) Message-Id: <3.0.3.32.19971027101329.006ad56c@pop.cyberwar.com> X-Sender: wjgrun@pop.cyberwar.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Mon, 27 Oct 1997 10:13:29 -0500 To: John-Mark Gurney From: Bill Grunfelder Subject: Re: help with exabyte 8505 tape drive... Cc: scsi@freebsd.org In-Reply-To: <19971024023806.53036@hydrogen.nike.efn.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 02:38 AM 10/24/97 -0700, you wrote: >I'm trying to back up to this EXABYTE EXB-85058SQANXR1 07T0 tape drive >that was given to me... It's attached to a ahc2842, and using -current >on the machine... I have a generic 8mm 112m tape that I'm backing up >to, and after a while (it may be any where from 205megs into the backup >to 130megs... and I get this error: >st1: Deferred Error: MEDIUM ERROR info:0x2798 csi:0,0,0,2 asc:50,1 >Write append position error You may want to run a "good" cleaning tape a couple of times. Our exabyte drives won't accept cheap cleaning tapes (BTW, I have found the exabyte 18c to be a good cleaning tape). I was experiencing a similar error a few weeks ago, and the solution as simply to give the drive a good cleaning (three runs with the exabyte 18c). Bill ...................................................................... Bill Grunfelder System Administrator wjgrun@cyberwar.com Cyber Warrior, Inc. http://www.cyberwar.com/ (201) 703-1517 From owner-freebsd-scsi Wed Oct 29 01:52:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA05447 for freebsd-scsi-outgoing; Wed, 29 Oct 1997 01:52:40 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from mama.vcommunities.com (mama.vcommunities.com [207.207.69.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id BAA05417 for ; Wed, 29 Oct 1997 01:52:28 -0800 (PST) (envelope-from admin@mama.vcommunities.com) From: admin@mama.vcommunities.com Received: (qmail 28145 invoked by uid 200); 29 Oct 1997 09:49:28 -0000 Date: Wed, 29 Oct 1997 01:49:28 -0800 (PST) To: freebsd-hardware@freebsd.org Subject: Help! Network Hanging w/ 2940UW and 2.1.7.1 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'm having some severe problems with hanging during ftp transfers, telnet sessions, and other network connections on a system with an Adaptec 2940 ultra-wide controller and an Atlas 3 GB drive. The system completely freezes and has to be power cycled. I'm using FreeBSD 2.1.7.1-RELEASE. I've never had this problem with narrow 2940 controllers or narrow drives. Has anyone experienced this, and does anyone have any suggestions as to how to fix it? Thank you! S. Taylor, VCI Admin From owner-freebsd-scsi Wed Oct 29 21:42:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA16222 for freebsd-scsi-outgoing; Wed, 29 Oct 1997 21:42:29 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from cse.psu.edu (root@claven.cse.psu.edu [130.203.3.50]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA16214 for ; Wed, 29 Oct 1997 21:42:23 -0800 (PST) (envelope-from keefe@cse.psu.edu) Received: from [128.118.72.97] (nb13ppp166.cac.psu.edu [146.186.19.166]) by cse.psu.edu (8.8.7/8.7.3) with ESMTP id AAA27443; Thu, 30 Oct 1997 00:42:06 -0500 (EST) X-Sender: tfk1@email.psu.edu Message-Id: In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 30 Oct 1997 00:49:11 -0500 To: Julian Elischer From: "Thomas F. Keefe" Subject: Re: timeouts with adaptec 1742 Cc: freebsd-scsi@FreeBSD.ORG Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I have been experimenting with this problem some more and had a few questions. I have been running 2.1.7.1. I noticed that there were some modifications to the adaptec 1742 device driver code. Do you think that these changes could have anything to do with the timeout problem that I am having? I did try recompiling 2.1.7.1 with some of the changes, but I only subsitituted some of the files. I have tried experimenting with many of the mode page settings with no success. However, if you have any suggestions, I am happy to try. I am able to create a new file system on the 2.1GB seagate drive. However, when I run FSCK, the controller hangs. If I run FSCK in the debugger and slow down the execution (set a breakpoint and repeatedly continue) I can get through the FSCK completely. I have also modified FSCK to insert delays often enough to avoid hanging. I thought perhaps by placing delays in the correct places I may be able to keep the controller from hanging. I don't think its a good longterm solution, but I thought I might learn something about the problem. As you can probably tell, I am quite desperate to get this to work. If you have any advice as to how to proceed, I would be grateful. Tom Keefe Information about the system: ASUS T2P4D Dual CPU ISA/EISA/PCI motherboard 64MB EDO RAM 200MHZ Pentium Built-in IDE disk adapter (not used - disabled) Adaptec 1742A (standard mode) Seagate 3390 (330 MB SCSI disk - unterminated) Seagate st32151n (2.1GB SCSI disk - terminated - power from bus) NE2000 Compatible ethernet card - IRQ 10 - 0x300 FreeBSD 2.1.7.1 Information about problem: Cannot install FreeBSD onto st32151n. Can install onto 3390 disk on same adapter. Am able to FDISK, Disklabel and create file system on st32151n. Can copy information to new filesystem but I sometines hang the controller when copying information from the new filesystem. When I try to FSCK a partition on st32151n drive the adapter hangs with timeout. From owner-freebsd-scsi Wed Oct 29 23:05:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA20023 for freebsd-scsi-outgoing; Wed, 29 Oct 1997 23:05:01 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from misery.sdf.com (misery.sdf.com [204.244.210.193]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id XAA20005 for ; Wed, 29 Oct 1997 23:04:53 -0800 (PST) (envelope-from tom@sdf.com) Received: from tom by misery.sdf.com with smtp (Exim 1.73 #1) id 0xQodA-0001gm-00; Wed, 29 Oct 1997 23:03:00 -0800 Date: Wed, 29 Oct 1997 23:02:58 -0800 (PST) From: Tom To: "Thomas F. Keefe" cc: Julian Elischer , freebsd-scsi@freebsd.org Subject: Re: timeouts with adaptec 1742 In-Reply-To: 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 On Thu, 30 Oct 1997, Thomas F. Keefe wrote: > Adaptec 1742A (standard mode) > Seagate 3390 (330 MB SCSI disk - unterminated) > Seagate st32151n (2.1GB SCSI disk - terminated - power from bus) > NE2000 Compatible ethernet card - IRQ 10 - 0x300 > FreeBSD 2.1.7.1 Have you tried extended mode? It is preferred. What IRQ is getting assigned to the card? It doesn't conflict with anything does it? I'm running 1742's in two different 2.2 systems, and they work great. Tom From owner-freebsd-scsi Thu Oct 30 05:13:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA07639 for freebsd-scsi-outgoing; Thu, 30 Oct 1997 05:13:31 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from tata.research.rockwell.cz (tata.research.rockwell.cz [193.85.154.66]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id FAA07617; Thu, 30 Oct 1997 05:13:19 -0800 (PST) (envelope-from mira@rockwell.cz) Received: from rockwell.cz (aja.research.rockwell.cz [193.85.154.75]) by tata.research.rockwell.cz (8.6.9/8.6.5) with ESMTP id OAA03665; Thu, 30 Oct 1997 14:20:34 +0100 Message-ID: <345889A6.BFC23171@rockwell.cz> Date: Thu, 30 Oct 1997 14:20:38 +0100 From: Miroslav Kes Organization: Rockwell Automation Ltd., Research Center Prague X-Mailer: Mozilla 4.03b8 [en] (X11; I; FreeBSD 2.2.2-RELEASE i386) MIME-Version: 1.0 To: freebsd-scsi@freebsd.org, questions@freebsd.org Subject: CD-ROM changer, mount : Device not configured Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello I have 5 Disc CD-ROM changer Nakamichi MJ-5.16 (SCSI) in my 2.2.2 (Walnut Creek CD-ROM release) machine. The problem is that I cannot mount more than the first disc. He are my filesystem and SCSI entries in the kernel configuration file: options INET #InterNETworking options FFS #Berkeley Fast Filesystem options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SYSVSHM options SCSI_DELAY=15 #Be pessimistic about Joe SCSI device ... # A single entry for any of these controllers (ncr, ahb, ahc, amd) is # sufficient for any number of installed devices. controller ahc0 controller scbus0 # base SCSI code #Only need one of these, the code dynamically grows device sd0 # SCSI disks device st0 # SCSI tapes device cd0 # SCSI CD-ROMs I have made /dev/cd0 ... /dev/cd4 devices in /dev When booting with 3 CDs inserted in the changer, only the first one is found: ... ahc0 rev 0 int a irq 11 on pci0:13 ahc0: Using left over BIOS settings ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs ahc0 waiting for scsi devices to settle (ahc0:0:0): "SEAGATE ST32155N 0594" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 2049MB (4197405 512 byte sectors) (ahc0:1:0): "SEAGATE ST32155N 0594" type 0 fixed SCSI 2 sd1(ahc0:1:0): Direct-Access 2049MB (4197405 512 byte sectors) (ahc0:4:0): "NAKAMICH MJ-5.16S 1.02" type 5 removable SCSI 2 cd0(ahc0:4:0): CD-ROM cd present [320495 x 2048 byte records] (ahc0:5:0): "WangDAT Model 3100 02.2" type 1 removable SCSI 2 st0(ahc0:5:0): Sequential-Access density code 0x13, drive empty If I later try to mount CDs I can successfully mount only the first one. Otherwise I get an error message "Device not configured" jean:/root# mount_cd9660 /dev/cd0c /cdrom/disc1 jean:/root# mount_cd9660 /dev/cd1c /cdrom/disc2 mount_cd9660: /dev/cd1c: Device not configured jean:/root# What does the message mean ?? How can I fix this ? Any idea is welcome. Mira -- ----------------------------------------------------------- | Miroslav Kes | |---------------------------------------------------------| | Rockwell Automation Ltd. | tel.: (+420) 2 2425 6913 | | Research Center Prague | fax: (+420) 2 250467 | | Americka 22 | e-mail: mira@rockwell.cz | | 120 00 Praha 2 - Vinohrady | | | Czech Republic | | ----------------------------------------------------------- From owner-freebsd-scsi Thu Oct 30 06:27:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA11490 for freebsd-scsi-outgoing; Thu, 30 Oct 1997 06:27:19 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from mercury.ukc.ac.uk (mercury.ukc.ac.uk [129.12.21.10]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id GAA11481 for ; Thu, 30 Oct 1997 06:27:11 -0800 (PST) (envelope-from K.R.Marshall@ukc.ac.uk) Received: from crane.ukc.ac.uk by mercury.ukc.ac.uk with SMTP (PP); Thu, 30 Oct 1997 14:16:02 +0000 Received: from localhost by crane.ukc.ac.uk (SMI-8.6/UKC-2.14) id OAA18468; Thu, 30 Oct 1997 14:15:52 GMT Date: Thu, 30 Oct 1997 14:15:51 +0000 (GMT) From: "K.R.Marshall" X-Sender: krm2@crane Reply-To: "K.R.Marshall" To: Miroslav Kes cc: freebsd-scsi@freebsd.org, questions@freebsd.org Subject: Re: CD-ROM changer, mount : Device not configured In-Reply-To: <345889A6.BFC23171@rockwell.cz> 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 On Thu, 30 Oct 1997, Miroslav Kes wrote: > Hello > > I have 5 Disc CD-ROM changer Nakamichi MJ-5.16 (SCSI) in my 2.2.2 > (Walnut Creek CD-ROM release) machine. The problem is that I cannot > mount more than the first disc. [snip] > How can I fix this ? OK, there are possibly two things you have to do. First you must check that your SCSI adapter is configured for "multiple lun support" as I think this may be turned off by default (go into the adapter BIOS at boot time). The next thing is to check /sys/scsi/scsiconf.c to see if your device is listed there as one requiring multiple lun support. I happen to know that it isn't - there is an entry for the 4-disk changer which I asked to go in there but that won't pick up the 5-disk ones.. You will need to just copy that entry and change the identifier string slightly.. then recompile your kernel. As a side note to those who deal with these things - you might want to change the NAKAMICH "MJ-4*" entry to just "MJ-*" or something - this is probably my fault since I only had the 4-disk changers at the time.. Keith. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Why be awkward - when with a | Keith Marshall little more effort you can | Computing Officer, Templeman Library be downright obstructive! | University of Kent at Canterbury. From owner-freebsd-scsi Thu Oct 30 06:53:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA12919 for freebsd-scsi-outgoing; Thu, 30 Oct 1997 06:53:00 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA12889; Thu, 30 Oct 1997 06:52:49 -0800 (PST) (envelope-from nadav@barcode.co.il) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.8.5/8.6.12) id QAA12867; Thu, 30 Oct 1997 16:51:02 +0200 (IST) X-Authentication-Warning: gatekeeper.barcode.co.il: smap set sender to using -f Received: from localhost.barcode.co.il(127.0.0.1) by gatekeeper.barcode.co.il via smap (V1.3) id sma012865; Thu Oct 30 16:50:59 1997 Message-ID: <34589E91.5102@barcode.co.il> Date: Thu, 30 Oct 1997 16:49:53 +0200 From: Nadav Eiron X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.6 sun4u) MIME-Version: 1.0 To: Miroslav Kes CC: freebsd-scsi@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: CD-ROM changer, mount : Device not configured References: <345889A6.BFC23171@rockwell.cz> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Miroslav Kes wrote: > > Hello > > I have 5 Disc CD-ROM changer Nakamichi MJ-5.16 (SCSI) in my 2.2.2 > (Walnut Creek CD-ROM release) machine. The problem is that I cannot > mount more than the first disc. > > He are my filesystem and SCSI entries in the kernel configuration file: [kernel config and dmesg snipped] > If I later try to mount CDs I can successfully mount only the first one. > Otherwise I get an error message "Device not configured" > > jean:/root# mount_cd9660 /dev/cd0c /cdrom/disc1 > jean:/root# mount_cd9660 /dev/cd1c /cdrom/disc2 > mount_cd9660: /dev/cd1c: Device not configured > jean:/root# > > 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. 2.2.2R has not support for interfacing a CD changer as multiple standard CD. What the machine sees is a single drive and, if you're lucky, the changer mechanism. You may be able to use raw SCSI commands to activate the changer and mount/umount the disks manually, but other than that, or the new code in 3.0-current, CD changers are not supported, at least AFAIK. > How can I fix this ? > > Any idea is welcome. > > Mira > > -- > ----------------------------------------------------------- > | Miroslav Kes | > |---------------------------------------------------------| > | Rockwell Automation Ltd. | tel.: (+420) 2 2425 6913 | > | Research Center Prague | fax: (+420) 2 250467 | > | Americka 22 | e-mail: mira@rockwell.cz | > | 120 00 Praha 2 - Vinohrady | | > | Czech Republic | | > ----------------------------------------------------------- Nadav From owner-freebsd-scsi Thu Oct 30 08:30:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA18159 for freebsd-scsi-outgoing; Thu, 30 Oct 1997 08:30:22 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from phoenix.volant.org (phoenix.volant.org [205.179.79.193]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id IAA18136; Thu, 30 Oct 1997 08:30:14 -0800 (PST) (envelope-from patl@phoenix.volant.org) From: patl@phoenix.volant.org Received: from asimov.phoenix.volant.org [205.179.79.65] by phoenix.volant.org with smtp (Exim 1.62 #1) id 0xQxTz-0004oY-00; Thu, 30 Oct 1997 08:30:07 -0800 Received: from localhost by asimov.phoenix.volant.org (SMI-8.6/SMI-SVR4) id IAA05839; Thu, 30 Oct 1997 08:29:50 -0800 Date: Thu, 30 Oct 1997 08:29:50 -0800 (PST) Reply-To: patl@phoenix.volant.org Subject: Re: CD-ROM changer, mount : Device not configured To: Nadav Eiron cc: Miroslav Kes , freebsd-scsi@freebsd.org, questions@freebsd.org In-Reply-To: <34589E91.5102@barcode.co.il> 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 > Miroslav Kes wrote: > That a CD changer is not supported this way. Just today preliminary > support for CD changers went into FreeBSD 3.0-current. 2.2.2R has not > support for interfacing a CD changer as multiple standard CD. What the > machine sees is a single drive and, if you're lucky, the changer > mechanism. You may be able to use raw SCSI commands to activate the > changer and mount/umount the disks manually, but other than that, or the > new code in 3.0-current, CD changers are not supported, at least AFAIK. There must be some support for them - I've been using a Nakamichi MBR-7 with no problems. (That's the old 7 disk changer.) I don't see anything different in my config. Here's the relevant portion of my dmesg: 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: Tue Aug 12 12:32:39 PDT 1997 root@phoenix.volant.org:/usr/src/sys/compile/PHOENIX CPU: AMD Am5x86 Write-Through (486-class CPU) Origin = "AuthenticAMD" Id = 0x4e4 Stepping=4 Features=0x1 real memory = 41943040 (40960K bytes) avail memory = 38285312 (37388K bytes) Probing for devices on PCI bus 0: chip0 rev 4 on pci0:0 ncr0 rev 2 int a irq 9 on pci0:1 ncr0 waiting for scsi devices to settle (ncr0:0:0): "IBM DORS-32160 S82C" type 0 fixed SCSI 2 sd0(ncr0:0:0): Direct-Access sd0(ncr0:0:0): 10.0 MB/s (100 ns, offset 8) 2063MB (4226725 512 byte sectors) (ncr0:1:0): "SEAGATE ST15230N 0168" type 0 fixed SCSI 2 sd1(ncr0:1:0): Direct-Access sd1(ncr0:1:0): 10.0 MB/s (100 ns, offset 8) 4095MB (8386733 512 byte sectors) (ncr0:5:0): "EXABYTE EXB-8505AXBANXS1 07J0" type 1 removable SCSI 2 st0(ncr0:5:0): Sequential-Access st0(ncr0:5:0): 5.0 MB/s (200 ns, offset 8) density code 0x8c, drive empty (ncr0:6:0): "NRC MBR-7 110" type 5 removable SCSI 2 cd0(ncr0:6:0): CD-ROM cd0(ncr0:6:0): asynchronous. cd present [328355 x 2048 byte records] (ncr0:6:1): "NRC MBR-7 110" type 5 removable SCSI 2 cd1(ncr0:6:1): CD-ROM can't get the size (ncr0:6:2): "NRC MBR-7 110" type 5 removable SCSI 2 cd2(ncr0:6:2): CD-ROM cd present [318367 x 2048 byte records] (ncr0:6:3): "NRC MBR-7 110" type 5 removable SCSI 2 cd3(ncr0:6:3): CD-ROM cd present [305507 x 2048 byte records] (ncr0:6:4): "NRC MBR-7 110" type 5 removable SCSI 2 cd4(ncr0:6:4): CD-ROM cd present [295185 x 2048 byte records] (ncr0:6:5): "NRC MBR-7 110" type 5 removable SCSI 2 cd5(ncr0:6:5): CD-ROM cd present [301709 x 2048 byte records] (ncr0:6:6): "NRC MBR-7 110" type 5 removable SCSI 2 cd6(ncr0:6:6): CD-ROM cd present [17710 x 2048 byte records] -Pat