From owner-freebsd-hackers Thu Jun 20 18:25:05 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA03407 for hackers-outgoing; Thu, 20 Jun 1996 18:25:05 -0700 (PDT) Received: from mail0.iij.ad.jp (root@mail0.iij.ad.jp [192.244.176.61]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id SAA03402 for ; Thu, 20 Jun 1996 18:25:03 -0700 (PDT) Received: from uucp1.iij.ad.jp (uucp1.iij.ad.jp [192.244.176.73]) by mail0.iij.ad.jp (8.6.12+2.4W/3.3W9-MAIL) with ESMTP id KAA06114; Fri, 21 Jun 1996 10:24:54 +0900 Received: (from uucp@localhost) by uucp1.iij.ad.jp (8.6.12+2.4W/3.3W9-UUCP) with UUCP id KAA09783; Fri, 21 Jun 1996 10:24:54 +0900 Received: from xxx.fct.kgc.co.jp by yyy.kgc.co.jp (8.7.5/3.4W:95122611) id JAA14437; Fri, 21 Jun 1996 09:38:24 +0900 (JST) Received: by xxx.fct.kgc.co.jp (8.6.12/3.3W8:95062916) id JAA01105; Fri, 21 Jun 1996 09:38:24 +0900 Date: Fri, 21 Jun 1996 09:38:24 +0900 From: Toshihiro Kanda Message-Id: <199606210038.JAA01105@xxx.fct.kgc.co.jp> To: freebsd-hackers@freefall.FreeBSD.org (FreeBSD hackers), Don Yuniskis In-reply-to: <199606191115.EAA15716@seagull.rtd.com> Subject: Re: wd? numbering question Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Primary IDE controller, Master : 400M HDD (Windows 95) > > Primary IDE controller, Slave : none > > Secondary IDE controller, Master : 1.6G HDD (FreeBSD 2.1) > > Secondary IDE controller, Slave : none > > > > After insallation, it rebooted and paniced. It said "Cannot mount > > root directory.." It seemed there was confusion of wd1 with wd2. > > > > Boot thinks the second HDD is `wd1', while kernel probes it as > > `wd2'. My question is why kernel skips `wd1'? Quoting from > > GENERIC... > > > > ---8<------8<------8<--- > > controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr > > disk wd0 at wdc0 drive 0 > > disk wd1 at wdc0 drive 1 > > ---8<------8<------8<--- > > wd*0* is your 400M drive (the Primary controller is wdc0 and it handles > disks wd0 and wd1). wd2 is your 1.6G drive (the Secondary controller > is wdc1 -- note wdC vs. wd -- and handles disks wd2 and wd3... skip down > a few more lines in GENERIC and you'll see this second controller > defined along with the drives it supports) > > Hope that clears it up... > > --don Thank you for your advice. So, I ask again, why wd1 is not defined as "disk wd1 at wdc? drive ?" ? Doesn't it work? candy@fct.kgc.co.jp (Toshihiro Kanda)