From owner-freebsd-hackers Wed Jun 19 04:15:06 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA07185 for hackers-outgoing; Wed, 19 Jun 1996 04:15:06 -0700 (PDT) Received: from seagull.rtd.com (root@seagull.rtd.com [198.102.68.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id EAA07180 for ; Wed, 19 Jun 1996 04:15:04 -0700 (PDT) Received: (from dgy@localhost) by seagull.rtd.com (8.7.5/1.2) id EAA15716 for freebsd-hackers@freefall.cdrom.com; Wed, 19 Jun 1996 04:15:03 -0700 (MST) From: Don Yuniskis Message-Id: <199606191115.EAA15716@seagull.rtd.com> Subject: Re: wd? numbering question To: freebsd-hackers@freefall.FreeBSD.org (FreeBSD hackers) Date: Wed, 19 Jun 1996 04:15:03 -0700 (MST) X-Mailer: ELM [version 2.4 PL24] 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 > 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