From owner-freebsd-scsi Sun Oct 14 12:37:16 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by hub.freebsd.org (Postfix) with ESMTP id 5468337B407; Sun, 14 Oct 2001 12:37:11 -0700 (PDT) Received: from randy by rip.psg.com with local (Exim 3.33 #1) id 15sr4Q-000N2w-00; Sun, 14 Oct 2001 12:37:10 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: freebsd-hardware@freebsd.org, freebsd-scsi@freebsd.org Subject: can't mount maxtor 3000 le Message-Id: Date: Sun, 14 Oct 2001 12:37:10 -0700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org i have a usb disk, a maxtor 3000LE -stable kernel device scbus0 at sym0 # SCSI bus (required) #device da # Direct Access (disks) device da0 at scbus0 target 0 unit 0 device da1 at scbus0 target 1 unit 0 ... device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device uscanner # Scanners dmesg excerpts ohci0: mem 0xfa000000-0xfa000fff irq 9 at device 15.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered umass0: Maxtor Maxtor USB Drive , rev 2.00/3.01, addr 2 ... da2 at umass-sim0 bus 0 target 0 lun 0 da2: Fixed Direct Access SCSI-0 device da2: 650KB/s transfers da2: 38182MB (78198750 512 byte sectors: 64H 32S/T 38182C) camcontrol likes it # camcontrol devlist at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 1 lun 0 (pass1,da1) at scbus1 target 0 lun 0 (pass2,da2) # camcontrol tur da2 Unit is not ready but i can not fdisk it # fdisk da2 fdisk: can't open device /dev/da2 fdisk: cannot open disk /dev/da2: Input/output error and it logs (da2:umass-sim0:0:0:0): READ(06). CDB: 8 0 0 0 1 0 (da2:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0 (da2:umass-sim0:0:0:0): Invalid command operation code da2: reading primary partition table: error reading fsbn 0 clues? randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Oct 14 12:39:52 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 ACA8A37B408; Sun, 14 Oct 2001 12:39:46 -0700 (PDT) Received: (from ken@localhost) by panzer.kdm.org (8.11.6/8.9.1) id f9EJdfs56341; Sun, 14 Oct 2001 13:39:41 -0600 (MDT) (envelope-from ken) Date: Sun, 14 Oct 2001 13:39:41 -0600 From: "Kenneth D. Merry" To: Randy Bush Cc: freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: can't mount maxtor 3000 le Message-ID: <20011014133941.A56315@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 randy@psg.com on Sun, Oct 14, 2001 at 12:37:10PM -0700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Oct 14, 2001 at 12:37:10 -0700, Randy Bush wrote: > i have a usb disk, a maxtor 3000LE > -stable > kernel [ ... ] > da2 at umass-sim0 bus 0 target 0 lun 0 > da2: Fixed Direct Access SCSI-0 device > da2: 650KB/s transfers > da2: 38182MB (78198750 512 byte sectors: 64H 32S/T 38182C) > > camcontrol likes it > # camcontrol devlist > at scbus0 target 0 lun 0 (pass0,da0) > at scbus0 target 1 lun 0 (pass1,da1) > at scbus1 target 0 lun 0 (pass2,da2) > # camcontrol tur da2 > Unit is not ready > > but i can not fdisk it > > # fdisk da2 > fdisk: can't open device /dev/da2 > fdisk: cannot open disk /dev/da2: Input/output error > > and it logs > > (da2:umass-sim0:0:0:0): READ(06). CDB: 8 0 0 0 1 0 > (da2:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0 > (da2:umass-sim0:0:0:0): Invalid command operation code > da2: reading primary partition table: error reading fsbn 0 > > clues? Go into sys/cam/scsi/scsi_da.c, and add a quirk entry to disble 6 byte commands. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Oct 14 12:54:43 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by hub.freebsd.org (Postfix) with ESMTP id CDE0037B40E; Sun, 14 Oct 2001 12:54:37 -0700 (PDT) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id MAA07992; Sun, 14 Oct 2001 12:54:37 -0700 (PDT) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [162.62.64.10]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id MAA00526; Sun, 14 Oct 2001 12:40:46 -0700 (PDT) Received: from hollin.btc.adaptec.com (hollin [162.62.149.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id NAA05080; Sun, 14 Oct 2001 13:54:34 -0600 (MDT) Received: (from scottl@localhost) by hollin.btc.adaptec.com (8.11.6/8.11.4) id f9EJnpb05458; Sun, 14 Oct 2001 13:49:51 -0600 (MDT) (envelope-from scottl) Date: Sun, 14 Oct 2001 13:49:50 -0600 From: Scott Long To: Randy Bush Cc: freebsd-hardware@freebsd.org, freebsd-scsi@freebsd.org Subject: Re: can't mount maxtor 3000 le Message-ID: <20011014134950.A5276@hollin.btc.adaptec.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.19i Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Oct 14, 2001 at 12:37:10PM -0700, Randy Bush wrote: > i have a usb disk, a maxtor 3000LE > [...] > and it logs > > (da2:umass-sim0:0:0:0): READ(06). CDB: 8 0 0 0 1 0 > (da2:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0 > (da2:umass-sim0:0:0:0): Invalid command operation code > da2: reading primary partition table: error reading fsbn 0 It does't like 6 byte commands. A quirk entry is needed in /sys/cam/scsi/scsi_da.c similar to the entry I made in rev 1.80 for the Sony CLIE. Let me know if you need help and/or want to submit a patch. Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Oct 14 13:57:12 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [64.0.106.45]) by hub.freebsd.org (Postfix) with ESMTP id DD5BC37B41E for ; Sun, 14 Oct 2001 13:57:04 -0700 (PDT) Received: from localhost (winter@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id QAA44591; Sun, 14 Oct 2001 16:56:11 -0400 (EDT) Date: Sun, 14 Oct 2001 16:56:10 -0400 (EDT) From: "Matthew N. Dodd" To: Lauri Laupmaa Cc: scsi@FreeBSD.ORG Subject: Re: HP Netserver LC & 4.4-RELEASE install In-Reply-To: <3BC6DFA7.9CA741E1@inspiral.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 12 Oct 2001, Lauri Laupmaa wrote: > Joerg Wunsch wrote: > > Since this doesn't help much when you're going to install onto that > > controller, i once introduced a userconfig option to bump this number. > > Just a moment... > > > > eisa 16 > > That option did the trick, thanx! I'd be interested in the output of a verbose boot from that machine. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Oct 14 16:55: 5 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from mail.cicely.de (ppp85.uni-duisburg.de [134.91.19.85]) by hub.freebsd.org (Postfix) with ESMTP id CED6C37B40B; Sun, 14 Oct 2001 16:54:57 -0700 (PDT) Received: (from ticso@localhost) by mail.cicely.de (8.11.0/8.11.0) id f9ENt8I18211; Mon, 15 Oct 2001 01:55:08 +0200 (CEST) Date: Mon, 15 Oct 2001 01:55:08 +0200 From: Bernd Walter To: "Kenneth D. Merry" Cc: Randy Bush , freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: can't mount maxtor 3000 le Message-ID: <20011015015508.B18139@cicely20.cicely.de> References: <20011014133941.A56315@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011014133941.A56315@panzer.kdm.org>; from ken@kdm.org on Sun, Oct 14, 2001 at 01:39:41PM -0600 X-Operating-System: NetBSD cicely20.cicely.de 1.5 sparc Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Oct 14, 2001 at 01:39:41PM -0600, Kenneth D. Merry wrote: > Go into sys/cam/scsi/scsi_da.c, and add a quirk entry to disble 6 byte > commands. There's need to do something special for usb. I know of two others failing to READ(6). One is a camera (I'll expect to get the query on tuesday) and the other is an adapter to 2.5" disks - maybe similar to this case. Unfortunately the later puts the IDE identification into the scsi identification, so it can't handled generaly by the quirks table. It seems to be very common than umass devices fail in 6 byte commands. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Oct 14 20:23:32 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 4100437B40D; Sun, 14 Oct 2001 20:23:27 -0700 (PDT) Received: from scsiguy.com (localhost [127.0.0.1]) by aslan.scsiguy.com (8.11.5/8.11.5) with ESMTP id f9F3N4Y46382; Sun, 14 Oct 2001 21:23:09 -0600 (MDT) (envelope-from gibbs@scsiguy.com) Message-Id: <200110150323.f9F3N4Y46382@aslan.scsiguy.com> To: Bernd Walter Cc: "Kenneth D. Merry" , Randy Bush , freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: can't mount maxtor 3000 le In-Reply-To: Your message of "Mon, 15 Oct 2001 01:55:08 +0200." <20011015015508.B18139@cicely20.cicely.de> Date: Sun, 14 Oct 2001 21:23:04 -0600 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >On Sun, Oct 14, 2001 at 01:39:41PM -0600, Kenneth D. Merry wrote: >> Go into sys/cam/scsi/scsi_da.c, and add a quirk entry to disble 6 byte >> commands. It would be better for the error handler to try 10byte cdbs if 6 byte cdbs are returned with a ledgible error. It seems that in at least this reported case, we are being told in a sane fashion that the 6 byte command is not supported. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Oct 14 20:28:36 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by hub.freebsd.org (Postfix) with ESMTP id 160B537B407; Sun, 14 Oct 2001 20:28:32 -0700 (PDT) Received: from randy by rip.psg.com with local (Exim 3.33 #1) id 15syQ5-0000mZ-00; Sun, 14 Oct 2001 20:28:01 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Justin T. Gibbs" Cc: Bernd Walter , "Kenneth D. Merry" , freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: can't mount maxtor 3000 le References: <20011015015508.B18139@cicely20.cicely.de> <200110150323.f9F3N4Y46382@aslan.scsiguy.com> Message-Id: Date: Sun, 14 Oct 2001 20:28:01 -0700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >> Go into sys/cam/scsi/scsi_da.c, and add a quirk entry to disble 6 byte >> commands. > It would be better for the error handler to try 10byte cdbs if 6 > byte cdbs are returned with a ledgible error. It seems that in > at least this reported case, we are being told in a sane fashion that > the 6 byte command is not supported. i won't get in that argument, but the patch that worked being committed is *** /usr/src/sys/cam/scsi/scsi_da.c~ Mon Sep 24 08:23:55 2001 --- /usr/src/sys/cam/scsi/scsi_da.c Sun Oct 14 18:49:53 2001 *************** *** 245,250 **** --- 245,257 ---- {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "Sony DSC", "*"}, /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE }, + { + /* + * Maxtor 3000LE USB Drive + */ + {T_DIRECT, SIP_MEDIA_FIXED, "MAXTOR*", "K040H2*", "*"}, + /*quirks*/ DA_Q_NO_6_BYTE + }, { {T_OPTICAL, SIP_MEDIA_REMOVABLE, "FUJITSU", "MCF3064AP", "*"}, /*quirks*/ DA_Q_NO_6_BYTE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Oct 16 6:19:18 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from droid.nosc.mil (droid.nosc.mil [128.49.4.117]) by hub.freebsd.org (Postfix) with ESMTP id 299DF37B403 for ; Tue, 16 Oct 2001 06:19:14 -0700 (PDT) Received: from huckabeec (sc033ws195.chs.spawar.navy.mil [198.253.33.195]) by droid.nosc.mil (8.11.6/8.11.6) with SMTP id f9GDJD415321 for ; Tue, 16 Oct 2001 06:19:13 -0700 (PDT) Message-ID: <003901c15645$23ed2200$90b411ac@huckabeec> From: "Craig Huckabee" To: References: <00d201c1526a$a6ad22a0$90b411ac@huckabeec> Subject: 4.4 Install hangs on AMI RAID controller Date: Tue, 16 Oct 2001 09:19:09 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ( Posted again per private e-mail suggestion that details would help) I'm attempting to install FreeBSD on a Micron NetFRAME 3100 - it is a dual Pentium II with an AMI MegaRAID Express 000 controller. Looking at the sources for the amr driver, this card (Series 762) appears to be supported. However, while booting from the install CD, the controller is detected properly but the boot process stops once the logical disk is reported. An install without the RAID controller works fine. The adapter is correctly detected as a Series 762 by FreeBSD and flashing the adapter BIOS to an older version didn't help - still hangs. So, are only specific firmware versions of this controller supported ? Is there some option on the controller I need to adjust (no I2O mode on this controller) ? It almost seems as if the driver is waiting for something - using an older version of FreeBSD the install process still stops after detecting the logical drive, but I can restart the system cleanly with Ctrl-Alt-Del (the controller cache is flushed, etc, etc) The logical disk is reported as being OK (not damaged or rebuilding) in the controller's BIOS utility. This machine was running Windows NT with this controller so it doesn't appear to be a hardware problem. Any help is appreciated. / Craig Huckabee | e-mail: huck@spawar.navy.mil / / Code 71B-CH | phone: (843) 218 4446 / / SPAWAR Systems Center | close proximity: "Hey You!" / / Charleston, SC | ICBM: 32.78N, 79.93W / To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Oct 16 11:21:12 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id C884637B403 for ; Tue, 16 Oct 2001 11:21:06 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id UAA22769 for freebsd-scsi@freebsd.org; Tue, 16 Oct 2001 20:21:04 +0200 (CEST) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id f9GIIhY58740; Tue, 16 Oct 2001 20:18:43 +0200 (MET DST) (envelope-from j) Date: Tue, 16 Oct 2001 20:18:43 +0200 (MET DST) Message-Id: <200110161818.f9GIIhY58740@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden 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 References: <20490.1002979652@verdi.nethelp.no> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: Unrecovered read error and corresponding ASC X-Original-Newsgroups: local.freebsd.scsi To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org sthaug@nethelp.no wrote: > Assuming it simply means I have a bad block, Yes, it does. > what's the easiest way to > force a reassignment of the block? dd if=/dev/zero of=/dev/rda3 skip=0x206e016 count=1 This assumes you've got automatic bad block reallocation turned on (modepage 1). Another option is to reformat it, but IMHO camcontrol didn't provide a »canned« option for this in FreeBSD 3.4. You could manually do it with camcontrol cmd -n da -u 3 -t 7200 -c '4 0 0 0 0 0' (Careful, there are no seat belts with this command -- if you get it wrong, in particular that -u 3, you might format another drive without any further questions being asked!) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Oct 16 13:23:39 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from web10403.mail.yahoo.com (web10403.mail.yahoo.com [216.136.130.95]) by hub.freebsd.org (Postfix) with SMTP id 6439837B403 for ; Tue, 16 Oct 2001 13:23:37 -0700 (PDT) Message-ID: <20011016202337.92418.qmail@web10403.mail.yahoo.com> Received: from [64.90.179.71] by web10403.mail.yahoo.com via HTTP; Tue, 16 Oct 2001 13:23:37 PDT Date: Tue, 16 Oct 2001 13:23:37 -0700 (PDT) From: Dylan Carlson Subject: Sony A300C AIT-1 changer on 4.4-RELEASE not accessible To: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi gang, TIA if this is a dumb oversight on my part. I filed a bug report on this, but I'm trying to get this up and working since I migrated this company away from Windows boxes on the backend. Having a working backup system would let me sleep at night. Trying to get a Sony A300C AIT-1 changer working for the purposes of Amanda. galileo# mt -f /dev/sa0 status mt: /dev/sa0: Device not configured Oct 9 21:10:20 galileo /kernel: Waiting 15 seconds for SCSI devices to settle Oct 9 21:10:20 galileo /kernel: sa0 at sym1 bus 0 target 12 lun 0 Oct 9 21:10:20 galileo /kernel: sa0: Removable Sequential Access SCSI-2 device Oct 9 21:10:20 galileo /kernel: sa0: 20.000MB/s transfers (10.000MHz, offset 15, 16bit) Oct 9 21:10:20 galileo /kernel: pass1 at sym1 bus 0 target 12 lun 1 Oct 9 21:10:20 galileo /kernel: pass1: Removable Changer SCSI-2 device Oct 9 21:10:20 galileo /kernel: pass1: 20.000MB/s transfers (10.000MHz, offset 15, 16bit) There are more details in the bug report at: Bug report: http://www.freebsd.org/cgi/query-pr.cgi?pr=31319 Cheers, __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Oct 16 13:26:40 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 78BCA37B409 for ; Tue, 16 Oct 2001 13:26:36 -0700 (PDT) Received: (from ken@localhost) by panzer.kdm.org (8.11.6/8.9.1) id f9GKQW773533; Tue, 16 Oct 2001 14:26:32 -0600 (MDT) (envelope-from ken) Date: Tue, 16 Oct 2001 14:26:32 -0600 From: "Kenneth D. Merry" To: Dylan Carlson Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: Sony A300C AIT-1 changer on 4.4-RELEASE not accessible Message-ID: <20011016142631.A73474@panzer.kdm.org> References: <20011016202337.92418.qmail@web10403.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20011016202337.92418.qmail@web10403.mail.yahoo.com>; from damage_z@yahoo.com on Tue, Oct 16, 2001 at 01:23:37PM -0700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Oct 16, 2001 at 13:23:37 -0700, Dylan Carlson wrote: > Hi gang, > > TIA if this is a dumb oversight on my part. I filed a bug report on this, but > I'm trying to get this up and working since I migrated this company away from > Windows boxes on the backend. Having a working backup system would let me > sleep at night. > > Trying to get a Sony A300C AIT-1 changer working for the purposes of Amanda. > > galileo# mt -f /dev/sa0 status > mt: /dev/sa0: Device not configured > > Oct 9 21:10:20 galileo /kernel: Waiting 15 seconds for SCSI devices to settle > Oct 9 21:10:20 galileo /kernel: sa0 at sym1 bus 0 target 12 lun 0 > Oct 9 21:10:20 galileo /kernel: sa0: Removable > Sequential Access SCSI-2 device > Oct 9 21:10:20 galileo /kernel: sa0: 20.000MB/s transfers (10.000MHz, offset > 15, 16bit) > Oct 9 21:10:20 galileo /kernel: pass1 at sym1 bus 0 target 12 lun 1 > Oct 9 21:10:20 galileo /kernel: pass1: Removable Changer > SCSI-2 device > Oct 9 21:10:20 galileo /kernel: pass1: 20.000MB/s transfers (10.000MHz, offset > 15, 16bit) > > There are more details in the bug report at: > Bug report: http://www.freebsd.org/cgi/query-pr.cgi?pr=31319 You're missing the ch(4) driver. Put: device ch In your kernel config file, re-run config, recompile, reinstall and reboot. Then you can move tapes around with chio(1) (or amanda). Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Oct 16 13:52:39 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by hub.freebsd.org (Postfix) with ESMTP id 5A25A37B405 for ; Tue, 16 Oct 2001 13:52:35 -0700 (PDT) Received: (from wkb@localhost) by freebie.xs4all.nl (8.11.6/8.11.6) id f9GKqSE01667; Tue, 16 Oct 2001 22:52:28 +0200 (CEST) (envelope-from wkb) Date: Tue, 16 Oct 2001 22:52:28 +0200 From: Wilko Bulte To: Joerg Wunsch Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: Unrecovered read error and corresponding ASC Message-ID: <20011016225228.A1518@freebie.xs4all.nl> References: <20490.1002979652@verdi.nethelp.no> <200110161818.f9GIIhY58740@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <200110161818.f9GIIhY58740@uriah.heep.sax.de>; from j@uriah.heep.sax.de on Tue, Oct 16, 2001 at 08:18:43PM +0200 X-OS: FreeBSD 4.4-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Oct 16, 2001 at 08:18:43PM +0200, Joerg Wunsch wrote: > sthaug@nethelp.no wrote: > > > Assuming it simply means I have a bad block, > > Yes, it does. > > > what's the easiest way to > > force a reassignment of the block? > > dd if=/dev/zero of=/dev/rda3 skip=0x206e016 count=1 > > This assumes you've got automatic bad block reallocation > turned on (modepage 1). Look for AWRE and ARRE in the mode page. > Another option is to reformat it, but IMHO camcontrol didn't provide a > »canned« option for this in FreeBSD 3.4. You could manually do it > with > > camcontrol cmd -n da -u 3 -t 7200 -c '4 0 0 0 0 0' camcontrol format also works for recent FreeBSD versions. man camcontrol is really recommended reading here. > (Careful, there are no seat belts with this command -- if you get it > wrong, in particular that -u 3, you might format another drive without > any further questions being asked!) camcontrol format will ask and is therefore prefered. Wilko -- | / o / /_ _ email: wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, The Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Oct 16 14:50: 7 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 36DC837B408 for ; Tue, 16 Oct 2001 14:50:01 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id XAA25714 for freebsd-scsi@FreeBSD.ORG; Tue, 16 Oct 2001 23:49:59 +0200 (CEST) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id f9GLdvQ59582 for freebsd-scsi@FreeBSD.ORG; Tue, 16 Oct 2001 23:39:57 +0200 (MET DST) (envelope-from j) Date: Tue, 16 Oct 2001 23:39:57 +0200 From: Joerg Wunsch To: freebsd-scsi@FreeBSD.ORG Subject: Re: Unrecovered read error and corresponding ASC Message-ID: <20011016233957.J48333@uriah.heep.sax.de> Reply-To: Joerg Wunsch References: <20490.1002979652@verdi.nethelp.no> <200110161818.f9GIIhY58740@uriah.heep.sax.de> <20011016225228.A1518@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20011016225228.A1518@freebie.xs4all.nl>; from wkb@freebie.xs4all.nl on Tue, Oct 16, 2001 at 10:52:28PM +0200 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 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org As Wilko Bulte wrote: > > camcontrol cmd -n da -u 3 -t 7200 -c '4 0 0 0 0 0' > camcontrol format also works for recent FreeBSD versions. man > camcontrol is really recommended reading here. But Steinar explicitly wrote: "The OS is 3.4-RELEASE." ;-) (camcontrol format is available only starting with FreeBSD 4.1.) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Oct 16 14:54:35 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by hub.freebsd.org (Postfix) with ESMTP id 1E08337B407 for ; Tue, 16 Oct 2001 14:54:32 -0700 (PDT) Received: (from wkb@localhost) by freebie.xs4all.nl (8.11.6/8.11.6) id f9GLsPG02060; Tue, 16 Oct 2001 23:54:25 +0200 (CEST) (envelope-from wkb) Date: Tue, 16 Oct 2001 23:54:25 +0200 From: Wilko Bulte To: Joerg Wunsch Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: Unrecovered read error and corresponding ASC Message-ID: <20011016235425.A2033@freebie.xs4all.nl> References: <20490.1002979652@verdi.nethelp.no> <200110161818.f9GIIhY58740@uriah.heep.sax.de> <20011016225228.A1518@freebie.xs4all.nl> <20011016233957.J48333@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011016233957.J48333@uriah.heep.sax.de>; from j@uriah.heep.sax.de on Tue, Oct 16, 2001 at 11:39:57PM +0200 X-OS: FreeBSD 4.4-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Oct 16, 2001 at 11:39:57PM +0200, Joerg Wunsch wrote: > As Wilko Bulte wrote: > > > > camcontrol cmd -n da -u 3 -t 7200 -c '4 0 0 0 0 0' > > > camcontrol format also works for recent FreeBSD versions. man > > camcontrol is really recommended reading here. > > But Steinar explicitly wrote: > > "The OS is 3.4-RELEASE." > > ;-) > > (camcontrol format is available only starting with FreeBSD 4.1.) Yes, I missed that one :-( -- | / o / /_ _ email: wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, The Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message