Date: Tue, 28 Jan 2003 17:58:52 -0800 From: David Schultz <dschultz@uclink.Berkeley.EDU> To: jjramsey@pobox.com Cc: ohir@sec.pl, freebsd-bugs@FreeBSD.ORG Subject: Re: Revisiting the semirandom bug/issue in FreeBSD's ATA querying Message-ID: <20030129015852.GB1989@HAL9000.homeunix.com> In-Reply-To: <20030128202338.66923.qmail@web10703.mail.yahoo.com> References: <20030127111911.B15251@sec.pl> <20030128202338.66923.qmail@web10703.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake James J. Ramsey <jjramsey_6x9eq42@yahoo.com>: > --- "Wojciech S. Czarnecki" <ohir@sec.pl> wrote: > > James J. Ramsey wrote: > > [on Thu, Jan 23, 2003 at 05:01:05PM -0800] > > (>) Owego dnia James J. Ramsey napisał(a): > > > ad0: 8866663634010175MB > > > <?U}O|U}!~IEzA~M~!|M~1.5?!?!~!~!?!?!~!?!> > > > [16955114026566160/17/63] at ata0-master PIO4 > > Check cables twice. > > For the test: change cable to ATA33 (40wire) cable. > > I did this and could not get FreeBSD to fail. The > kernel messages were nice and healthy-looking: > > ad0: DMA limited to UDMA33, non-ATA66 cable or device > ad0: 19595MB <QUANTUM FIREBALLP LM20.5> [39813/16/63] > at ata0-master UDMA33 > > (The hard drive was primary master, and my CD-ROM > primary slave.) That's absolutely bizarre. So the problem happens *only* on FreeBSD, and only when you use bad cables *and* have two devices on the controller. Well, thanks for being patient about it. It's probably a moot point, but if you want to see what effect adding some 50ms delays to the detection code has, you can try the kernel at http://www.csua.berkeley.edu/~das/kernel-atafix . That's a mostly GENERIC -CURRENT kernel with a few other patches that don't concern you. If you have a running FreeBSD system, you can probably just copy it over and load it from the boot loader. 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?20030129015852.GB1989>