Port-powerpc archive

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

Re: Problems with disks on port-ofppc



On Monday 03 March 2008 01:53, you wrote:
> On 03-Mar-2008 Patrick Finnegan wrote:
> > So, I'm trying to label and newfs a disk, but it seems like the raw
> > devices don't work:
> >
> ># disklabel sd0
> > disklabel: /dev/rsd0c: Device not configured
>
> Thats really bizzare.  Do your device nodes for /dev/rsd match the
> ones from /dev/sd ?

I think so, but I'm not familiar enough with NetBSD to be sure.  Tim,
this is the kernel that you sent me, running off a nfs root on a Debian
Linux box.  I exploded the tarballs (except for the x11 stuff and 
kern-GENERIC.tgz) from 
ftp.netbsd.org:/pub/NetBSD-daily/netbsd-4/200802280000Z/ofppc/binary/sets

Here's an ls -l of the first few sd0/rsd0 device nodes in /dev (created
on mfs by whatever does that at boot):

crw-r-----  1 root  operator  15, 0 Mar  3 04:54 rsd0a
crw-r-----  1 root  operator  15, 1 Mar  3 04:54 rsd0b
crw-r-----  1 root  operator  15, 2 Mar  3 04:54 rsd0c
brw-r-----  1 root  operator   4, 0 Mar  3 04:54 sd0a
brw-r-----  1 root  operator   4, 1 Mar  3 04:54 sd0b
brw-r-----  1 root  operator   4, 2 Mar  3 04:54 sd0c
# mount | grep dev
mfs:3 on /dev type mfs (synchronous, local)


> I'm not seeing anything like that on either of my boxes, and my
> disklabel looks more or less similar to yours.  Only difference is
> that I have an fdisk setup on mine.  I don't see why that should
> matter though.

I also have an fdisk label:

Partition table:
0: Linux/MINIX (sharing disk with DRDOS) or Personal RISC boot (sysid 65)
    start 63, size 16128 (8 MB, Cyls 0-1/1/63)
        PBR is not bootable: Bad magic number (0xe0ff)>
1: NetBSD (sysid 169)
    start 16191, size 17757969 (8671 MB, Cyls 1/2/1-1106/99/33)
        PBR is not bootable: Bad magic number (0x5068)>
2: <UNUSED>
3: <UNUSED>

Pat
-- 
Purdue University ITAP/RCAC       --- http://www.rcac.purdue.edu/
The Computer Refuge               --- http://computer-refuge.org


Home | Main Index | Thread Index | Old Index