goodmorning,
am a newbye of "tape units" and am experiencing a related problem
in short : having
weed# uname -a
FreeBSD weed.rfc1925.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19
02:55:53 UTC 2010
r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
the HP device seem to be recognized
weed# dmesg
.......[snip out some unrelated lines ]
ahc0: <Adaptec 2902/04/10/15/20C/30C SCSI adapter> port 0xd000-0xd0ff
ahc0: Host Adapter Bios disabled. Using default SCSI device parameters
ahc0: [ITHREAD]
aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs
.......[snip out some unrelated lines ]
(probe5:ahc0:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe5:ahc0:0:5:0): CAM status: SCSI Status Error
(probe5:ahc0:0:5:0): SCSI status: Check Condition
(probe5:ahc0:0:5:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on,
reset, or bus device reset occurred)
(probe5:ahc0:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe5:ahc0:0:5:0): CAM status: SCSI Status Error
(probe5:ahc0:0:5:0): SCSI status: Check Condition
(probe5:ahc0:0:5:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
NOTE : Medium *is* present, have loaded upto 6 tapes on charger !
sa0 at ahc0 bus 0 scbus0 target 5 lun 0
sa0: <HP C1557A U709> Removable Sequential Access SCSI-2 device
sa0: 10.000MB/s transfers (10.000MHz, offset 15)
ch0 at ahc0 bus 0 scbus0 target 5 lun 1
ch0: <HP C1557A U709> Removable Changer SCSI-2 device
ch0: 10.000MB/s transfers (10.000MHz, offset 15)
ch0: 6 slots, 1 drive, 0 pickers, 0 portals
as reported by
weed# camcontrol devlist
<HP C1557A U709> at scbus0 target 5 lun 0 (sa0,pass0)
<HP C1557A U709> at scbus0 target 5 lun 1 (ch0,pass1)
and
weed# ls -l /dev/
......
crw------- 1 root operator 0, 125 Aug 9 08:25 ch0
......
lrwxr-xr-x 1 root wheel 6 Aug 9 08:25 esa0 -> esa0.0
crw-rw---- 1 root operator 0, 112 Aug 9 08:25 esa0.0
crw-rw---- 1 root operator 0, 118 Aug 9 08:25 esa0.1
crw-rw---- 1 root operator 0, 121 Aug 9 08:25 esa0.2
crw-rw---- 1 root operator 0, 124 Aug 9 08:25 esa0.3
........
lrwxr-xr-x 1 root wheel 6 Aug 9 08:25 nsa0 -> nsa0.0
crw-rw---- 1 root operator 0, 111 Aug 9 08:25 nsa0.0
crw-rw---- 1 root operator 0, 117 Aug 9 08:25 nsa0.1
crw-rw---- 1 root operator 0, 120 Aug 9 08:25 nsa0.2
crw-rw---- 1 root operator 0, 123 Aug 9 08:25 nsa0.3
.......
lrwxr-xr-x 1 root wheel 5 Aug 9 08:25 sa0 -> sa0.0
crw-rw---- 1 root operator 0, 110 Aug 9 08:25 sa0.0
crw-rw---- 1 root operator 0, 116 Aug 9 08:25 sa0.1
crw-rw---- 1 root operator 0, 119 Aug 9 08:25 sa0.2
crw-rw---- 1 root operator 0, 122 Aug 9 08:25 sa0.3
crw-rw---- 1 root operator 0, 109 Aug 9 08:25 sa0.ctl
.........
but as soon as i try to initialize one or more tapes just can get
weed# mt -f /dev/sa0 status
mt: /dev/sa0: Device not configured
(also tried nsa0, ch0, esa0)
as long as i can guess the matter is neither of OS, SCSI adapter and
driver, just the tape that is not "seen" in place.
googling had took time but no pertinent data has been found, so am
asking you
1) where to get more info about that error? man is great but am unable
to find a command that can help in debug my fault.
2) if, as supposed, almost all is "nice" and am just misunderstood
something : how to get a working /dev/sa0 where to dump data?
thanks for your time
Alessandro
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"