Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 1996 09:38:24 +0900
From:      Toshihiro Kanda <candy@fct.kgc.co.jp>
To:        freebsd-hackers@freefall.FreeBSD.org (FreeBSD hackers), Don Yuniskis <dgy@rtd.com>
Subject:   Re: wd? numbering question
Message-ID:  <199606210038.JAA01105@xxx.fct.kgc.co.jp>
In-Reply-To: <199606191115.EAA15716@seagull.rtd.com>

next in thread | previous 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

  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)



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