|
List Info
Thread: HP Jornada 620LX hangs when trying to use root fs
|
|
| HP Jornada 620LX hangs when trying to
use root fs |

|
2006-11-18 22:28:23 |
Hello ppl
I'm trying to bring up NetBSD v3.1 on a HP Joranda 620LX
with an installation
on a CF card, but the box hangs leaving the following
information:
[snip]
...
boot device: wd0
root on wd0a dumps on wd0b
root file system type: msdos
[/snip]
Shouldn't the file system type be ffs?
I searched already the archives w/o finding any helpful
hints.
I've already set up a NetBSD/hpcarm box (HP Jornada 720) in
a quite similar
way. I followed the well-known onlamp-article, too.
I've tried both, the binary packages with the GENERIC kernel
from NetBSD's
FTP server and a cross-compliled distribution + kernel based
upon recent (as
of 2 days) sources of NetBSD v3.1_PATCH.
Any ideas what could be the problem?
--
hernani
|
|
| HP Jornada 620LX hangs when trying to
use root fs |

|
2006-11-18 23:02:31 |
On Sat, Nov 18, 2006 at 23:28:23 +0100, Hernani Marques
Madeira wrote:
> boot device: wd0
> root on wd0a dumps on wd0b
> root file system type: msdos
> [/snip]
>
> Shouldn't the file system type be ffs?
What does disklabel say about the CF, wd0a in particular?
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).
SY, Uwe
--
uwe ptc.spbu.ru | Zu Grunde
kommen
http://snark.ptc.spbu.
ru/~uwe/ | Ist zu Grunde gehen
|
|
| HP Jornada 620LX hangs when trying to
use root fs |

|
2006-11-18 23:24:51 |
On Sun, Nov 19, 2006 at 02:02:31AM +0300, Valeriy E. Ushakov
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).
It was a document you helped creating that lead me to the
solution:
http://snark.ptc.spbu.ru/~uwe/netbsd/jornada
/netbsd-hpc-euro2004.pdf
So, thanks twice!
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.
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?
> 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.
--
hernani
|
|
| HP Jornada 620LX hangs when trying to
use root fs |

|
2006-11-18 22:30:38 |
On Sat, Nov 18, 2006 at 11:28:23PM +0100, Hernani Marques
Madeira wrote:
> [snip]
> ...
> boot device: wd0
> root on wd0a dumps on wd0b
> root file system type: msdos
> [/snip]
This is, of course, when booting.
--
hernani
|
|
| HP Jornada 620LX hangs when trying to
use root fs |

|
2006-11-19 00: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
|
|
| HP Jornada 620LX hangs when trying to
use root fs |

|
2006-11-19 11:44:13 |
On Sun, Nov 19, 2006 at 03:54:35AM +0300, Valeriy E. Ushakov
wrote:
> 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?
Yes, because I used the CF card from the Jornada 720. I
didn't change
anything using disklabel(8) or fdisk(8), I only did dump and
newfs it.
> BTW, I have committed the new hpcboot binaries for both
wince 2.11 and
> wince 2.0, so cvs now has known-working versions.
Ok - thanks!
--
hernani
|
|
| HP Jornada 620LX hangs when trying to
use root fs |

|
2006-11-19 11:46:22 |
On Sun, Nov 19, 2006 at 12:44:13PM +0100, Hernani Marques
Madeira wrote:
> Yes, because I used the CF card from the Jornada 720. I
didn't change
> anything using disklabel(8) or fdisk(8), I only did
dump and newfs it.
And then for it to work on the Jornada 620LX I had to
additionally make
the NetBSD partition visible in the MBR.
--
hernani
|
|
[1-7]
|
|