Subject: Re: booting GENERIC kernel fails
To: None <>
From: Jukka Salmi <>
List: current-users
Date: 01/21/2004 19:57:46

Manuel Bouyer --> current-users (2004-01-19 21:58:40 +0100):
> I think I got it. Can you try the attached patch ?
> Index: atapi_wdc.c

Thanks for your patch! It made my kernel boot and not drop into the
debugger anymore. I did some more testing; here are the results:

There are two CD-ROM devices attached to the secondary IDE controller:
a reader and a writer. If the latter is master and the former slave,
the following happens:
  * While booting, the kernel pauses after printing "atapibus0 at
    atabus1: 2 targets" for about 30 seconds.
  * Without your patch it then drops into the debugger.
  * With your patch it then continues booting, but the master device
    is not "seen" by the kernel, i.e. the slave device becomes cd0.

However, if I configure the reader as a master and the writer as a
slave, everything seems to work fine! I can even boot a GENERIC kernel
without your patch.

Strange. At least for me ;)

I don't have this problem with other operating systems (including NetBSD
1.6.2RC4) on the same machine.

Additional system information:
ASUS A7V266-E mainboard, VIA KT266A chipset, VIA VT8233 ATA100 controller

Thanks for your help so far!


bashian roulette:
$ ((RANDOM%6)) || rm -rf ~