From owner-freebsd-hackers Thu Dec 12 10:20:13 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA26530 for hackers-outgoing; Thu, 12 Dec 1996 10:20:13 -0800 (PST) Received: from zwei.siemens.at (zwei.siemens.at [193.81.246.12]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id KAA26523 for ; Thu, 12 Dec 1996 10:20:10 -0800 (PST) Received: from sol1.gud.siemens.co.at (root@[10.1.143.100]) by zwei.siemens.at (8.7.5/8.7.3) with SMTP id TAA14012 for ; Thu, 12 Dec 1996 19:19:48 +0100 (MET) Received: from ws2301.gud.siemens.co.at by sol1.gud.siemens.co.at with smtp (Smail3.1.28.1 #7 for ) id m0vYFjL-0001zaC; Thu, 12 Dec 96 19:19 MET Received: by ws2301.gud.siemens.co.at (1.37.109.16/1.37) id AA221754747; Thu, 12 Dec 1996 19:19:07 +0100 From: "Hr.Ladavac" Message-Id: <199612121819.AA221754747@ws2301.gud.siemens.co.at> Subject: 2.1.5-R kernel root on sd0 fails To: hackers@freebsd.org Date: Thu, 12 Dec 1996 19:19:07 +0100 (MEZ) X-Mailer: ELM [version 2.4 PL24 ME8a] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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