Subject: Re: More SPARCbook insanity
To: None <port-sparc@NetBSD.org>
From: Mike Parson <mparson@bl.org>
List: port-sparc
Date: 04/07/2005 22:17:12
On Thu, Apr 07, 2005 at 09:59:35PM -0500, Mike Parson wrote:
> On Thu, Apr 07, 2005 at 10:41:44PM -0400, Michael wrote:
>> 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.
>
> True, didn't think about that.
>
>>
>>> 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

No go:

tadpole# disklabel -r /dev/wd0c
disklabel: /dev/wd0c: Device not configured
tadpole# ls -l /dev/wd0*
brw-r--r--  1 root  daemon  12, 0 Apr  8 03:00 /dev/wd0a
brw-r--r--  1 root  daemon  12, 1 Apr  8 03:00 /dev/wd0b
brw-r--r--  1 root  daemon  12, 2 Apr  8 03:00 /dev/wd0c
brw-r--r--  1 root  daemon  12, 3 Apr  8 03:01 /dev/wd0d
brw-r--r--  1 root  daemon  12, 4 Apr  8 03:01 /dev/wd0e
brw-r--r--  1 root  daemon  12, 5 Apr  8 03:01 /dev/wd0f
brw-r--r--  1 root  daemon  12, 6 Apr  8 03:01 /dev/wd0g
brw-r--r--  1 root  daemon  12, 7 Apr  8 03:01 /dev/wd0h


-- 
Michael Parson
mparson@bl.org