Subject: Re: More SPARCbook insanity
To: Mike Parson <mparson@bl.org>
From: Michael <macallan18@earthlink.net>
List: port-sparc
Date: 04/07/2005 22:41:44
Hello,

> >> And the dmesg at the end, used the same CF->PCMCIA adapter, but this
> >> time with a 128M CF card in it.  Looks like it saw the right sized card,
> >> but still don't have the /dev/wd* entries.
> > Umm, 
> > cd /dev
> > MAKEDEV wd
> > ?
> 
> No wd entries in the MAKEDEV from the 2.0 distribution.
Oops, not in -current either. I guess IDE stuff isn't really common on sparc...

> Did you compile support for it into that kernel?
Yes:
## PCMCIA IDE controllers
wdc*	at pcmcia?
atabus* at ata?
wd*		at atabus? drive ? flags 0x0000
Without that wd0 wouldn't attach at all.

> Can I can just grab the major/minor's from my i386 box and make them by hand?
I think so, it's definitely worth a try.
On sparc64 it looks like this:
brw-r-----  1 root  operator  12,  0 Mar 20 11:55 /dev/wd0a
brw-r-----  1 root  operator  12,  1 Mar 20 11:55 /dev/wd0b
brw-r-----  1 root  operator  12,  2 Mar 20 11:55 /dev/wd0c
brw-r-----  1 root  operator  12,  3 Mar 20 11:55 /dev/wd0d
brw-r-----  1 root  operator  12,  4 Mar 20 11:55 /dev/wd0e
brw-r-----  1 root  operator  12,  5 Mar 20 11:55 /dev/wd0f
brw-r-----  1 root  operator  12,  6 Mar 20 11:55 /dev/wd0g
brw-r-----  1 root  operator  12,  7 Mar 20 11:55 /dev/wd0h

have fun
Michael