Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 05:00:43 +0100 (CET)
From:      Cyrille Lefevre <root@gits.dyndns.org>
To:        "Kenneth D. Merry" <ken@kdm.org>
Cc:        clefevre@noos.fr, freebsd-scsi@FreeBSD.ORG
Subject:   Re: SCSI suspend/resume
Message-ID:  <200101240400.f0O40iT09954@gits.dyndns.org>
In-Reply-To: <20010122162354.B82472@panzer.kdm.org> "from Kenneth D. Merry at Jan 22, 2001 04:23:54 pm"

next in thread | previous in thread | raw e-mail | index | archive | help

Kenneth D. Merry wrote:
> On Mon, Jan 22, 2001 at 06:31:46 +0100, Cyrille Lefevre wrote:
> > "Kenneth D. Merry" <ken@kdm.org> writes:
> > > On Wed, Jan 17, 2001 at 23:54:17 +0100, Cyrille Lefevre wrote:
> > > > do you want a copy of my kernel config file ? any other things ?
> > > 
> > > Nah, that's okay.  The only thing I'm curious about is what sort of drive
> > > this is.  Can you send dmesg output for your SCSI disk?
> > 
> > single-ended 2GB HP drives :)
> 
[snip]
> 
> These drives look normal enough, I don't know of any problems offhand with
> them.  So I don't really know why your drives aren't spinning up.
> 
> Here are some things to try:
> 
>  - boot with -v (boot -v) and see if you get any additional diagnostic
>    information when you spin down a drive and then try to do I/O.

there is something incredible, today. it seems to work!
I don't understand anything. maybe a code change since december
and now? I can't repeat the problem w/ the old kernel, I lost it.
If it appears again, I'll tell you.

also, I've tried a SCAM drive which is recognized by the BIOS but
not by FreeBSD. the drive is a SUN UltraPack where I turn the
dip-switch to one of the "holes" between 7 and 0! the problem is
that I don't find any doc. on this box and I don't really know how
to configure it to have full access to high SCSI targets. that's
why I've tried the "hole" front to the 0. next time, I try the one
front to the 7, who knows? maybe one is better than the other...

>  - try the attached patch, and see if you get any diagnostic printouts.

yes, I did both :

(da1:sym0:0:4:0): Attempting START UNIT
da1s1: type 0xa5, start 63, end = 4192964, size 4192902 : OK
(da1:sym0:0:4:0): Attempting START UNIT
resumed from suspended mode (slept 00:00:04)

> Also, make sure you compile your kernel without excluding the sense and CDB
> strings, so the error messages make more sense.

already done since the last post :)

> > I know, my PLEXTOR CDROM seems to be dead :(
> 
> That's normal.  It's just telling you there is no CD in the drive.

even with a CD in the drive, it can't read CD anymore... the red light
is flashing. and a mount /cdrom failed on device not ready. so, it's
really dead :)) maybe one day I'll check the cables.

diagnostic messages are as follow :

(da1:sym0:0:4:0): Attempting START UNIT
(cd0:sym0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
(cd0:sym0:0:1:0): NOT READY asc:57,0

Cyrille.
--
home: mailto:clefevre@citeweb.net work: mailto:Cyrille.Lefevre@edf.fr


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?200101240400.f0O40iT09954>