dmesg Analysis
Bob Perry
rperry4 at earthlink.net
Wed Mar 26 02:49:29 PST 2003
----- Original Message -----
From: "Bob Perry" <rperry4 at earthlink.net>
To: "taxman" <taxman at acd.net>; "Josh Paetzel" <friar_josh at webwarrior.net>
Cc: <freebsd-questions at freebsd.org>
Sent: Monday, March 24, 2003 11:31 PM
Subject: Re: dmesg Analysis
>
> ----- Original Message -----
> From: "taxman" <taxman at acd.net>
> To: "Bob Perry" <rperry4 at earthlink.net>; "Josh Paetzel"
> <friar_josh at webwarrior.net>
> Cc: <freebsd-questions at freebsd.org>
> Sent: Monday, March 24, 2003 11:13 PM
> Subject: Re: dmesg Analysis
>
>
> > On Monday 24 March 2003 09:48 pm, Bob Perry wrote:
> > > > On Mon, Mar 24, 2003 at 09:08:31PM -0500, Bob Perry wrote:
> > > > > I recently upgraded/reinstalled 4.7 RELEASE and apparently lost
use
> of
> > > my
> > > > > SCSI tape backup system. The dmesg command indicates that FreeBSD
> > > > > found
> > > the
> > > > > controller and tape but I don't understand much more than that.
> > > > >
> > > > > Does anyone know where I might find some documentation which would
> > > explain
> > > > > output resulting from running dmesg? For instance, one of the
lines
> > > reads:
> > > > > sa0 at adv0 bus 0 target 4 lun 0
> > > >
> > > > I don't know of any docs that really explain reading a dmesg in
> detail,
> > >
> > > but
> > >
> > > > I'd be willing to help you sort your issues if you posted your
dmesg.
> > >
> > > Thanks Josh,
> > >
> > > I have a SCSI Seagate TapeStor system that worked fine under 4.5
> RELEASE.
> > > It worked equally as well when I tried a binary upgrade to 4.7. There
> were
> > > too many other problems with the upgrade so later I did a complete
> install
> > > of 4.7. This is where I found that my tape system no longer responded
> to
> > > any mt commands.
> >
> > What errors do you get? Its always good to include those.
>
> The errors are:
> w/tape inserted "Input/Output error"
> wo/tape inserted "Device not configured"
> >
> > > I ran the command dmesg | grep sa0 for the tape device and got the
> > > following:
> > > sa0 at adv0 bus 0 target 4 lun 0
> > > sa0: <Seagate STT20000N 6451> Removable Sequential Access
SCSI-2
> > > device
> > > sa0: 10,000 MB/s transfers (10,000 MHz, offset 15)
> > >
> > > Also ran dmesg | grep adv0 for the controller:
> > > adv0: AdvanSys Ultra SCSI Host Adapter SCSI ID 7, queue depth
> 240
> > > adv0: <AdvanSys ASC3030/50 SCSI controller> port 0xb400-0xb4ff
> mem
> > > 0x5000000-0xd50000ff irq 11 at device 12.0 on pci0
> > >
> > > My kernel SCSI controller data reads:
> > > adv0 at isa?
> > > My kernel SCSI peripheral data reads:
> > > sa Sequential Access (tape, etc)
> > >
> > > The best I can pull from this is that FreeBSD finds the tape and
> controller
> > > when it boots.
> >
> > Yep, that's exactly it. So since it sees it, I don't have any idea what
> would
> > cause the problem in it not working. As I mentioned, you'll have to
> include
> > the error.
> > Since it's not likely a problem in how FreeBSD sees the device, the
links
> on
> > how to read dmesg will not help you that much, but hopefully will be
> > instructive anyway.
> >
> > Tim
Due to the timing of the whole event, I never gave the hardware a thorough
check. I checked the connections but nothing more.
I forgot to check the two-week old Travan 20GB tape cartridge. It was
broke!
I stuck in an older (3 year old) cartridge and it works just fine.
Thanks to everyone for your time and input. I won't forget this one.
Bob
More information about the freebsd-questions
mailing list