Subject: Re: More SPARCbook insanity
To: None <port-sparc@NetBSD.org>
From: Mike Parson <mparson@bl.org>
List: port-sparc
Date: 04/07/2005 21:59:35
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
Maybe not (off my i386 2.0 box):
$ ls -l /dev/wd0*
brw-r----- 1 root operator 0, 0 Apr 26 2003 /dev/wd0a
brw-r----- 1 root operator 0, 1 Jun 18 2004 /dev/wd0b
brw-r----- 1 root operator 0, 2 Apr 26 2003 /dev/wd0c
brw-r----- 1 root operator 0, 3 Apr 26 2003 /dev/wd0d
brw-r----- 1 root operator 0, 4 Apr 26 2003 /dev/wd0e
brw-r----- 1 root operator 0, 5 Apr 26 2003 /dev/wd0f
brw-r----- 1 root operator 0, 6 Apr 26 2003 /dev/wd0g
brw-r----- 1 root operator 0, 7 Nov 8 2003 /dev/wd0h
brw-r----- 1 root operator 0, 524288 Apr 26 2003 /dev/wd0i
brw-r----- 1 root operator 0, 524289 Apr 26 2003 /dev/wd0j
brw-r----- 1 root operator 0, 524290 Apr 26 2003 /dev/wd0k
brw-r----- 1 root operator 0, 524291 Apr 26 2003 /dev/wd0l
brw-r----- 1 root operator 0, 524292 Apr 26 2003 /dev/wd0m
brw-r----- 1 root operator 0, 524293 Apr 26 2003 /dev/wd0n
brw-r----- 1 root operator 0, 524294 Apr 26 2003 /dev/wd0o
brw-r----- 1 root operator 0, 524295 Apr 26 2003 /dev/wd0p
I'll try yours. =)
--
Michael Parson
mparson@bl.org