Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 1996 19:19:07 +0100 (MEZ)
From:      "Hr.Ladavac" <lada@ws2301.gud.siemens.co.at>
To:        hackers@freebsd.org
Subject:   2.1.5-R  kernel root on sd0 fails
Message-ID:  <199612121819.AA221754747@ws2301.gud.siemens.co.at>

next in thread | raw e-mail | index | archive | help
Hi all,

I know that 2.1.5 is last year's snow, but:

I had a happy installation with one SCSI disk and then had to add
a wd0--don't ask why.

Subsequently I went to generate a new kernel in order to be able to
boot from sd0 without manual keyboard intervention every time.

I added 

kernel  root on sd0 swap on sd0

to the config file, re-ran config and had a panic: cannot set sd1
root device.

Whatever I tried (I did not delve into config source, though) I could
not persuade the kernel to set root to sd0.

I did manage it afterwards by hardcoding makedev(4,0) in autoconfig.c
and swapgeneric.c as the rootdev, but this is not exactly the solution
I sought for.

What was I doing wrong?  How is config supposed to alter the files in
order to enforce "root on ..."?  Is it, perhaps, a bug?

/Marino



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