From owner-freebsd-scsi Sat Jan 20 0: 0:14 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 1895A37B400 for ; Fri, 19 Jan 2001 23:59:45 -0800 (PST) Received: from beppo (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id XAA07473; Fri, 19 Jan 2001 23:45:53 -0800 Date: Fri, 19 Jan 2001 23:58:11 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Corvette Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: CANNOT ACCESS T20 TAPE In-Reply-To: <20010120100945.A365@poeza.iconnect.co.ke> 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 You're missing where the output is coming out. Ship your /var/log/messages file. On Sat, 20 Jan 2001, Corvette wrote: > * Matthew Jacob [20010119 20:56]: writing on the subject 'Re: CANNOT ACCESS T20 TAPE' > Matthew> > Matthew> > Matthew> Is a tape inserted? If not, then there is no bug here. Insert a tape prior to > Matthew> attempting to get status (unless you use the 'control' entry point, but that > Matthew> will yield pointless information). > Matthew> > Matthew> If so, build a kernel with CAMDEBUG enabled, boot that, and then do > Matthew> > Matthew> camcontrol debug -Ic 0:4:0 > Matthew> > Matthew> and then do the 'mt status' and ship the output back to the list. > > Hi, > As a followup to the problem that I'm having with my tape drive, I've built and > booted up a kernel with "options CAMDEBUG" and below is my output. > > ## > wash:/usr/home/wash# camcontrol debug -Ic 0:4:0 > Debugging enabled for 0:4:0 > wash:/usr/home/wash# mt status > mt: /dev/nsa0: Device not configured > wash:/usr/home/wash# > ## > > I'm still not subscribed to this list. Kindly include me in any replies via a cc. > > Thank you. > > > > Matthew> > Matthew> > Matthew> > Matthew> > Hi, > Matthew> > I recently cvsupped and updated my 3.5-STABLE box to 4.2_STABLE. > Matthew> > I had quite a few problems initially when doing buildworld but a > Matthew> > good samaritan came to my rescue and sent me precise details that > Matthew> > had worked for one of 'us'. > Matthew> > > Matthew> > At the moment I seem to be in a bad fix because I cannot access my > Matthew> > tape drive, an HP T20. What I mean is that mt returns an error > Matthew> > > Matthew> > /dev/nsa0: device not configured. > Matthew> > > Matthew> > I posted this to the -quetsions and I got overwhelming response but all > Matthew> > the suggestions I received did not yield the solution I was looking for. > Matthew> > So please pardon me if this is considered a double post. I am only anxious for > Matthew> > a solution. Without a backup, we all know where I stand - on the firing line. > Matthew> > > Matthew> > > Matthew> > I am running an HP Netserver E20 and here is a section of my dmesg.boot: > Matthew> > ## > Matthew> > [snip] > Matthew> > ahc0: port 0x1000-0x10ff mem 0xfc100000-0xfc100fff irq 10 at device 5.0 on pci0 > Matthew> > ahc0: Using left over BIOS settings > Matthew> > aic7895C: Wide Channel A, SCSI Id=7, 32/255 SCBs > Matthew> > ahc1: port 0x1400-0x14ff mem 0xfc101000-0xfc101fff irq 10 at device 5.1 on pci0 > Matthew> > ahc1: Host Adapter Bios disabled. Using default SCSI device parameters > Matthew> > aic7895C: Wide Channel B, SCSI Id=7, 32/255 SCBs > Matthew> > . > Matthew> > . > Matthew> > . > Matthew> > Waiting 15 seconds for SCSI devices to settle > Matthew> > sa0 at ahc0 bus 0 target 4 lun 0 > Matthew> > sa0: Removable Sequential Access SCSI-2 device > Matthew> > sa0: 3.300MB/s transfers > Matthew> > da1 at ahc0 bus 0 target 2 lun 0 > Matthew> > da1: Fixed Direct Access SCSI-2 device > Matthew> > da1: 11.626MB/s transfers (5.813MHz, offset 8, 16bit), Tagged Queueing Enabled > Matthew> > da1: 8678MB (17773524 512 byte sectors: 64H 32S/T 8678C) > Matthew> > Mounting root from ufs:/dev/da0s1a > Matthew> > da0 at ahc0 bus 0 target 0 lun 0 > Matthew> > da0: Fixed Direct Access SCSI-2 device > Matthew> > da0: 11.626MB/s transfers (5.813MHz, offset 8, 16bit), Tagged Queueing Enabled > Matthew> > da0: 8678MB (17773524 512 byte sectors: 64H 32S/T 8678C) > Matthew> > [snip] > Matthew> > > Matthew> > > Matthew> > and here is some output from /dev > Matthew> > wash:~$ cd /dev/ > Matthew> > wash:/dev$ ls -al *sa0 > Matthew> > crw-rw---- 4 root operator 14, 2 Jan 18 12:18 ersa0 > Matthew> > crw-rw---- 4 root operator 14, 2 Jan 18 12:18 esa0 > Matthew> > crw-rw---- 4 root operator 14, 1 Jan 18 12:18 nrsa0 > Matthew> > crw-rw---- 4 root operator 14, 1 Jan 18 12:18 nsa0 > Matthew> > crw-rw---- 4 root operator 14, 0 Jan 18 12:18 rsa0 > Matthew> > crw-rw---- 4 root operator 14, 0 Jan 18 12:18 sa0 > Matthew> > > Matthew> > ...and a little bit more... > Matthew> > > Matthew> > wash:/dev$ mt status > Matthew> > mt: /dev/nsa0: Device not configured > Matthew> > > Matthew> > > Matthew> > And I followed the procedure below to go to 4.2_STABLE... > Matthew> > > Matthew> > All help welcome. > Matthew> > > Matthew> > Thanks. > Matthew> > > Matthew> > NB: I am not subscribed to this list, so kindly cc me in your reply. > Matthew> > > Matthew> > -Wash > Matthew> > > Matthew> > -- > Matthew> > Odhiambo Washington Inter-Connect Ltd., > Matthew> > wash@iconnect.co.ke 5th Flr Furaha Plaza > Matthew> > Tel: 254 11 222604 Nkrumah Rd., > Matthew> > Fax: 254 11 222636 PO Box 83613 MOMBASA, KE. > Matthew> > > Matthew> > Sex is what women have and men want. > Matthew> > > Matthew> > > Matthew> > To Unsubscribe: send mail to majordomo@FreeBSD.org > Matthew> > with "unsubscribe freebsd-scsi" in the body of the message > Matthew> > > Matthew> > > -Wash > > -- > Odhiambo Washington Inter-Connect Ltd., > wash@iconnect.co.ke 5th Flr Furaha Plaza > Tel: 254 11 222604 Nkrumah Rd., > Fax: 254 11 222636 PO Box 83613 MOMBASA, KE. > > Many years ago in a period commonly know as Next Friday Afternoon, there lived > a King who was very Gloomy on Tuesday mornings because he was so Sad thinking > about how Unhappy he had been on Monday and how completely Mournful he would > be on Wednesday.... -Walt Kelly > > > 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