Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 1996 04:15:03 -0700 (MST)
From:      Don Yuniskis <dgy@rtd.com>
To:        freebsd-hackers@freefall.FreeBSD.org (FreeBSD hackers)
Subject:   Re: wd? numbering question 
Message-ID:  <199606191115.EAA15716@seagull.rtd.com>

next in thread | raw e-mail | index | archive | help
>    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



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