Subject: Re: HP Jornada 620LX hangs when trying to use root fs
To: Hernani Marques Madeira <hernani@vecirex.net>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-hpcsh
Date: 11/19/2006 03:54:35
On Sun, Nov 19, 2006 at 00:24:51 +0100, Hernani Marques Madeira wrote:

> > What does disklabel say about the CF, wd0a in particular?
> 
> The problem is solved now -- and it lay in this area. I forgott to use
> an entry for the UFS fs (id 169) with fdisk(8).
[...]
> But, can you explain me why one hasn't to define the existence of this
> partition using fdisk(8) on a HP Jornada 720?
> 
> There it worked only by declaring the DOS partition; I thought the
> use of fdisk would be especially important for Windows, for that it can
> find the partition. I thought the kernel would rely on the label made by 
> diskalbel(8) and not on the "DOS" partition table.

My disklabel fu is weak and I'm a bit lazy to go RTFS to give you the
100% accurate answer, but my understanding is that: disklabel is in
the netbsd partition, and to find the netbsd partition (and thus the
label) you need it in the mbr partition table.  Are you sure you 720
CF doesn't have netbsd partition in the mbr table?


> Btw, I used your new version of hpcboot, which works.
> 
> The ZIP filed contained to binaries, one named _d and the other _r,
> slightly differing in size.
> 
> I used the version named _d , but what's the difference to the one named _r?

_d is debug build, _r is release build.  cvs carries release builds.
Debug build is compiled with debugging enabled, which is only useful
for development.  Debug build also enables code to dump various
registers, which is generally useful, and I will probably make that
functionality available in the release builds.

BTW, I have committed the new hpcboot binaries for both wince 2.11 and
wince 2.0, so cvs now has known-working versions.


> > You can tick the "ask for file name to boot from" checkbox in hpcboot
> > and the kernel will ask you to for the root partition (if it turns out
> > that it's not wd0a, which is my first guess).
> 
> I had tried that before when it didn't work, but it hanged, too.

Well, if the partition is not there, you have no right answer to give
back to ther kernel when it asks ;)


Thanks.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen