Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 1999 22:20:05 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        jlemon@americantv.com (Jonathan Lemon)
Cc:        scsi@freebsd.org
Subject:   Re: FreeBSD panics with Mylex DAC960SX
Message-ID:  <199907010420.WAA39599@panzer.kdm.org>
In-Reply-To: <199906301341.IAA14025@free.pcs> from Jonathan Lemon at "Jun 30, 1999 08:41:28 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Jonathan Lemon wrote...
> In article <local.mail.freebsd-scsi/199906292300.RAA29666@panzer.kdm.org> you write:
> >Joe Greco wrote...
> >> 
> >> da1: <MYLEX DAC960SX138928B5 4332> Fixed Direct Access SCSI-2 device 
> >> da1: 40.0MB/s transfers (20.0MHz, offset 16, 16bit), Tagged Queueing Enabled
> >> da1: A
> >
> >That should probably read "Attempt to query device size failed ...."
> >
> >You may be losing characters over the serial console or something.
> >
> >> If I can provide further information to assist in tracking down this bug,
> >> please let me know.
> >
> >My first guess is that it's happening during the open() routine, for some
> >reason.  That's why fsck seems to cause the problem.
> >
> >You're probably right about the device returning a size of zero.  It isn't
> >immediately clear to me why the open routine would cause a panic, *unless*
> >the Mylex unit returns good status for the read capacity command, but
> >returns a capacity of 0.
> 
> I have a situation that sounds similar to this, with similar results.  
> In my case, I have a mostly-bad SCSI disk that doesn't work until it is
> sufficiently warmed up.  When booting, one of the SCSI commands sent to
> the drive (mode sense, I think) fails, and the kernel panics.

Hmm, that's likely a different problem.  The mode sense happens early in
the boot process, right after the inquiry.

> Basically, the SCSI bus recognizes some thing is there, but can't even
> read the vendor string from the disk.  "Device connected, but has a fault."

A stack trace, and the boot messages would be helpful if you have the time.

Ken
-- 
Kenneth Merry
ken@plutotech.com


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?199907010420.WAA39599>