Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2003 15:16:58 -0800 (PST)
From:      "James J. Ramsey" <jjramsey_6x9eq42@yahoo.com>
To:        freebsd-bugs@freebsd.org
Subject:   Re: Revisiting the semirandom bug/issue in FreeBSD's ATA querying
Message-ID:  <20030201231658.13218.qmail@web10708.mail.yahoo.com>
In-Reply-To: <20030201161730.64166.qmail@web10702.mail.yahoo.com>

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

--- "James J. Ramsey" <jjramsey_6x9eq42@yahoo.com>
wrote:
> 
> --- David Schultz <dschultz@uclink.Berkeley.EDU>
> wrote:
> > Thus spake James J. Ramsey
> > > 
> > > I guess the next question is whether FreeBSD has
> a
> > > delay between probing of master and slave as
> Linux
> > > does.
> > 
> > No, it doesn't, although the kernel image I sent
> you
> > a link to
> > earlier does.  Alternatively, you can add one
> > yourself.  The patch
> > below won't apply cleanly on -CURRENT, but it's
> easy
> > enough to add
> > the lines manually.
> > 
> > Index: ata-all.c
> >
>
===================================================================
> > RCS file: /home/ncvs/src/sys/dev/ata/ata-all.c,v
> > retrieving revision 1.50.2.42
> > diff -p -u -r1.50.2.42 ata-all.c
> > --- src/sys/dev/ata/ata-all.c	2002/11/01 22:04:06
> > 1.50.2.42
> -- rest of patch not shown --
> 
> I've tried the patch and it seems to work. I've had
> no
> luck getting my patched kernel to fail to identify
> my
> hard drive, and I've tried repeatedly to do so.
> However, getting the GENERIC kernel to fail has not
> been so easy. To reproduce the failure, I've had to
> do
> my little trick of starting an install from a floppy
> and rebooting before committing, then booting the
> GENERIC kernel. That said, I haven't been able to
> trip
> the patched kernel the way I've been able to trip up
> the GENERIC one. So far, so good.
> 
> Any ideas on how to test if the patch really works
> or
> if I've just been lucky so far?

I think I'm going to have to cut my time as a FreeBSD
ATA guinea pig short. I found that FreeBSD does not
seem to handle my USB scanner well. (It's recognized,
and SANE is properly configured and can find it, but
doing a preview causes it to hang.) Judging from my
perusing of the newsgroups and mailing lists, it is 1)
not an uncommon problem and 2) not a problem that is a
high enough priority to be fixed all that soon. While
I don't use the scanner that much, I also don't want
to hold my breath waiting for a fix. I've done a lot
of rebooting just to reawaken usbd (since killing it
and restarting it doesn't help), so I daresay that the
ATA patch's apparent effectiveness is probably not a
matter of luck, and you probably should integrate it
into FreeBSD proper.

So long and thanks for the fish.


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




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