Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2001 13:13:01 +0300
From:      Odhiambo Washington <wash@iconnect.co.ke>
To:        Matthew Jacob <mjacob@feral.com>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: CANNOT ACCESS T20 TAPE
Message-ID:  <20010120131301.A2015@poeza.iconnect.co.ke>
In-Reply-To: <Pine.BSF.4.21.0101192357530.2564-100000@beppo.feral.com>;  from "Matthew Jacob" on Fri, Jan 19, 2001 at 11:58:11PM -0800
References:  <20010120100945.A365@poeza.iconnect.co.ke> <Pine.BSF.4.21.0101192357530.2564-100000@beppo.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Matthew Jacob <mjacob@feral.com> [20010120 11:00]: writing on the subject 'Re: CANNOT ACCESS T20 TAPE'
Matthew> 
Matthew> You're missing where the output is coming out. Ship your /var/log/messages
Matthew> file.

Sorry for my being daft. Here I attach the output from /var/log/messages after the test.

##
Jan 20 13:10:16 poeza /kernel: (xpt0:ahc0:0:4:0): debugging flags now 9
Jan 20 13:10:16 poeza /kernel: (sa0:ahc0:0:4:0): saopen(0): dev=0x0 softc=0x0
Jan 20 13:10:16 poeza /kernel: (sa0:ahc0:0:4:0): sastart(sa0:ahc0:0:4:0): RESERVE(06). CDB: 16 0 0 0 0 0 
Jan 20 13:10:16 poeza /kernel: (sa0:ahc0:0:4:0): sastart(sa0:ahc0:0:4:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
Jan 20 13:10:16 poeza /kernel: (sa0:ahc0:0:4:0): Key 0x9 ASC/ASCQ
Jan 20 13:10:16 poeza /kernel: 0x5 0x24 flags 0x0 resid 0 dxfer_len 0
Jan 20 13:10:16 poeza /kernel: (sa0:ahc0:0:4:0): LOAD UNLOAD. CDB: 1b 0 0 0 1 0 
Jan 20 13:10:16 poeza /kernel: (sa0:ahc0:0:4:0): Key 0x9 ASC/ASCQ
Jan 20 13:10:16 poeza /kernel: 0x5 0x24 flags 0x0 resid 0 dxfer_len 0
Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): LOAD UNLOAD. CDB: 1b 0 0 0 1 0 
Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): Key 0x9 ASC/ASCQ
Jan 20 13:10:17 poeza /kernel: 0x5 0x24 flags 0x0 resid 0 dxfer_len 0
Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): LOAD UNLOAD. CDB: 1b 0 0 0 1 0 
Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): Key 0x9 ASC/ASCQ
Jan 20 13:10:17 poeza /kernel: 0x5 0x24 flags 0x0 resid 0 dxfer_len 0
Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): REWIND. CDB: 1 0 0 0 0 0 
Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): Key 0x2 ASC/ASCQ
Jan 20 13:10:17 poeza /kernel: 0x3a 0x0 flags 0x0 resid 0 dxfer_len 0
Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): REWIND. CDB: 1 0 0 0 0 0 
Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): Key 0x2 ASC/ASCQ
Jan 20 13:10:17 poeza /kernel: 0x3a 0x0 flags 0x0 resid 0 dxfer_len 0
Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): REWIND. CDB: 1 0 0 0 0 0 
Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): Key 0x2 ASC/ASCQ
Jan 20 13:10:17 poeza /kernel: 0x3a 0x0 flags 0x0 resid 0 dxfer_len 0
Jan 20 13:10:17 poeza /kernel: (sa0:ahc0:0:4:0): sastart(sa0:ahc0:0:4:0): RELEASE(06). CDB: 17 0 0 0 0 0 
##


Thank you.


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

Efficiency is intelligent laziness. -David Dunham 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010120131301.A2015>