Subject: Re: Jornada 680 asks for "root device"
To: None <port-hpcsh@netbsd.org>
From: Michael Wileman <jwileman@panix.com>
List: port-hpcsh
Date: 06/25/2005 20:27:42
Retried everything using the current snapshot with the same result. 
Kernel acts as if it doesn't find wd0.

I noticed that if I "sh MAKEDEV all" in the mounted CF partition, 
afterwards I can only unmount using "umount -f". All of the node seem 
to be created properly, though, so I'm at a loss to explain this, and 
I don't know what could be causing the problem.

Could the version hpcboot matter. I notice the version I am using 
defaults to using hpnetbsd.gz, while I am using an unzipped kernel.

I'd appreciate any help for how to troubleshoot this problem.

This is the fdisk for the CF card:

[/var/cfmnt]#fdisk wd1
Disk: /dev/rwd1d
NetBSD disklabel disk geometry:
cylinders: 993, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 1000944

BIOS disk geometry:
cylinders: 993, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 1000944

Partition table:
0: Primary DOS with 32 bit FAT (sysid 11)
     start 63, size 20097 (10 MB, Cyls 0-20), Active
1: NetBSD (sysid 169)
     start 20160, size 980784 (479 MB, Cyls 20-993)
2: <UNUSED>
3: <UNUSED>
NetBSD2 Live! : root@tpnetbsd
[/var/cfmnt]#

This is the disklabel:

[/var/cfmnt]#disklabel wd1
# /dev/rwd1d:
type: ESDI
disk: SanDisk SDCFB-51
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 993
total sectors: 1000944
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

6 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
  a:    980784     20160     4.2BSD   1024  8192 44584  # (Cyl.     20 -    992)
  c:    980784     20160     unused      0     0        # (Cyl.     20 -    992)
  d:   1000944         0     unused      0     0        # (Cyl.      0 -    992)
  e:     20097        63      MSDOS                     # (Cyl.      0*-     19)
NetBSD2 Live! : root@tpnetbsd
[/var/cfmnt]#

Mike