Port-hpcsh archive

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

can't mount root partition on hp 620lx



Hi,

I attempted to boot NetBSD (current) on my recently acquired HP 620LX,
it almost went fine (it boots), except that I can't mount my ffs root
partition and getting stuck on the step where I need to provide one.
The error I am receiving for most labels is:

vfs_mountroot: can't open root device
cannot mount root, error = 6

wd0c, which I believe is "full disk" shows error = 22, and my FAT
partition wd0d mounts, containing hpcboot200.exe and kernel, but
obviously it is not root partition. Seemingly hpc labels are use one
less letter compared to PC, where my FAT partition label is e and ffs
is f. Thus, I would expect that ffs partition is wd0e in hpc machine,
however it fails to mount with error above (error = 6). Are there any
clear requirement for partitioning the disk, should I format ffs to
certain version? Also dmesg shows "root on wd0a dumps on wd0b", do I
need to create swap partition or something? Maybe I do something else
incorrectly? Thanks.

fdisk output
Disk: /dev/rsd3
NetBSD disklabel disk geometry:
cylinders: 488, heads: 64, sectors/track: 32 (2048 sectors/cylinder)
total sectors: 1000944, bytes/sector: 512

BIOS disk geometry:
cylinders: 489, heads: 64, sectors/track: 32 (2048 sectors/cylinder)
total sectors: 1000944

Partitions aligned to 2048 sector boundaries, offset 32

Partition table:
0: Primary DOS with 12 bit FAT (sysid 1)
    start 32, size 49120 (24 MB, Cyls 0-23)
1: NetBSD (sysid 169)
    start 49152, size 951792 (465 MB, Cyls 24-488/47/16), Active
        PBR is not bootable: All bytes are identical (0x00)
2: <UNUSED>
3: <UNUSED>
Bootselector disabled.
First active partition: 1
Drive serial number: 0 (0x00000000)


disklabel (in PC):
6 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 c:    951792     49152     unused      0     0        # (Cyl.     24 -    488*)
 d:   1000944         0     unused      0     0        # (Cyl.      0 -    488*)
 e:     49120        32      MSDOS                     # (Cyl.      0*-     23)
 f:    951792     49152     4.2BSD      0     0     0  # (Cyl.     24 -    488*)

P.S. Unrelated question: maybe hpc200.exe should be included in
https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/hpcsh/installation/,
currently those with CE 2.0 need to browse NetBSD code, find encoded
file in https://github.com/NetBSD/src/tree/trunk/sys/arch/hpc/stand/binary/SH3
and do uudecode before using it (at least for me it took time to find
that we have such a binary in the first place, just because I was
looking for the code to potentially build it myself).

Regards,
Andrius V


Home | Main Index | Thread Index | Old Index