tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: (Semi-random) thoughts on device tree structure and devfs



On Tue, Mar 09, 2010 at 08:51:48PM +0100, Johnny Billquist wrote:
> "More or less", because I don't have all the details. If you were to
> post the dmesg from your booting, I could give you the exact thing.
> 
> Are you sure your USB disk shows up as sd? Looking at the config
> file, I would have thought it would match wd.
> 
> If it is wd, then the config should have something along these lines:
> 
> wd0 at umass0
> umass0 at uhub0 port 0 configuration 0 interface 0
> uhub0 at usb0
> usb0 at uhci0
> uhci0 at pci1 dev 1 function 0
> pci1 at ppb0 bus 0
> ppb0 at pci0 dev 0 function 0
> pci0 at mainbus 0 bus 0
> 
> 
> Obviously I've thrown in a bunch of "0" here, where there probably
> should be something else, as well as a "1", since you have two pci
> buses involved already at this point.
> That's the "more or less" part. Now, if you don't understand the
> concept based on this, then I don't think putting correct numbers in
> here is going to help much more either. The basic idea though, is
> that this will always cause the same disk to be wd0, and no other
> disk will ever become that. No matter what hardware you add, or
> where.

What you really don't seem to understand is that this answers only
half of the contract.  Put the drive in another USB port and it
doesn't show up as wd0.

The idea was that only that disk would show up as wd0, and would
always show up as wd0.  (Incidentally, wd@umass is very rare.  I think
it was only some old Archos.)

-- 
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgpAuiRJfHG1M.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index