|
List Info
Thread: Error trying to build userland for Jornada 728
|
|
| Error trying to build userland for
Jornada 728 |

|
2008-03-22 09:01:06 |
Hi there:
I'm triying to run NetBSD on my Jornada 728. I discovered
the device in
the onlamp article of mwlucas about NetBSD on J728 and now,
when they
are really cheap I've got one. I am a newbie in NetBSD but I
have
experience in FreeBSD building systems from source, mostly
i386 and amd,
from servers to soekris systems.
I've seen other installation ways, but the one that I can
understand
better seems to be that one, make a release in i386/NetBSD
and install
it on a CF to run in the 728. Please, correct me if I'm
wrong and/or
outdated.
I'm in NetBSD 3.1 (GENERIC_LAPTOP) and building everything
from current
sources from anoncvs.
The first step
# cd /usr/src
# ./build.sh -m hpcarm -T /usr/src/hpcarmtools tools
kernel=JORNADA720
runs without problem.
The problem appears on the second step (building the
userland). This is
what I run:
# ./build.sh -m hpcarm -T /usr/src/hpcarmtools -U
-D /usr/hpcarmbuild distribution
And this is the error. Thanks in advance for your help.
cleandir ===> usr.bin/kdump
rm -f kdump.o subr.o setemul.o siginfo.o kdump-ioctl.o
kdump.ln subr.ln
setemul.ln siginfo.ln kdump-ioctl.ln
rm -f siginfo.c kdump-ioctl.c
rm -f kdump
rm -f a.out [Ee]rrs mklog core *.core .gdbinit
rm -f kdump.cat1
rm -f .depend kdump-ioctl.d kdump.d setemul.d siginfo.d
subr.d
/usr/src/usr.bin/kdump/tags
rm -f siginfo.c kdump-ioctl.c
cleandir ===> usr.bin/ktrace
rm -f ktrace.o subr.o ktrace.ln subr.ln
rm -f ktrace
rm: ktrace: is a directory
*** Failed target: cleanprog-ktrace
*** Failed command: rm -f ktrace
*** Error code 1
Stop.
nbmake: stopped in /usr/src/usr.bin/ktrace
*** Failed target: cleandir-ktrace
;; esac; show=${this:-.}; echo "$ ===>
${show%/}${1:+ (with:
$ )}"; cd "$" &&
/usr/src/hpcarmtools/bin/nbmake
_THISDIR_="$" "$ " $; };
_makedirtarget ktrace cleandir
*** Error code 1
Stop.
nbmake: stopped in /usr/src/usr.bin
*** Failed target: cleandir-usr.bin
$ ===> ${show%/}${1:+ (with: $ )}";
cd "$" &&
/usr/src/hpcarmtools/bin/nbmake
_THISDIR_="$" "$ " $; };
_makedirtarget usr.bin cleandir
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Failed target: build
$ ===> ${show%/}${1:+ (with: $ )}";
cd "$" &&
/usr/src/hpcarmtools/bin/nbmake
_THISDIR_="$" "$ " $; };
_makedirtarget . cleandir
Stop.
nbmake: stopped in /usr/src
*** Failed target: distribution
$ ===> ${show%/}${1:+ (with: $ )}";
cd "$" &&
/usr/src/hpcarmtools/bin/nbmake
_THISDIR_="$" "$ " $; };
_makedirtarget . build NOPOSTINSTALL=1
*** Error code 1
Stop.
nbmake: stopped in /usr/src
ERROR: Failed to make distribution
*** BUILD ABORTED ***
--
=============================================
J. Vicente Carrasco -- Bixen
carvay tikismikis.org
carvay es.FreeBSD.org
Current Boina: Spanish FDP Translationmeister
GnuPG: http://carvay.ti
kismikis.org/key.txt
==============================================
|
|
| Re: Error trying to build userland for
Jornada 728 |

|
2008-03-22 10:19:26 |
On Sat, Mar 22, 2008 at 03:01:06PM +0100, J. Vicente
Carrasco -Bixen- wrote:
> rm: ktrace: is a directory
You forgot -P (prune empty dirs) when doing the cvs
checkout/update.
--
Quentin Garnier - cube cubidou.net - cube NetBSD.org
"See the look on my face from staying too long in one
place
[...] every time the morning breaks I know I'm closer to
falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
|
|
| Re: Error trying to build userland for
Jornada 728 |

|
2008-03-22 10:56:33 |
Quentin Garnier wrote:
> On Sat, Mar 22, 2008 at 03:01:06PM +0100, J. Vicente
Carrasco -Bixen- wrote:
> > rm: ktrace: is a directory
>
> You forgot -P (prune empty dirs) when doing the cvs
checkout/update.
I have the following in ~/.cvsrc
$ cat ~/.cvsrc
update -dP
diff -u
rdiff -u
because I always forget the options
If you are building NetBSD-current it's recommended to read
the
current-users list as well. Many building problems derive
from the very
nature of NetBSD-current, being the head of the development
tree.
ciao
Klaus
|
|
| Re: Error trying to build userland for
Jornada 728 |

|
2008-03-22 12:28:04 |
Klaus Heinz(e)k dio:
> Quentin Garnier wrote:
>> On Sat, Mar 22, 2008 at 03:01:06PM +0100, J.
Vicente Carrasco -Bixen- wrote:
>>> rm: ktrace: is a directory
>> You forgot -P (prune empty dirs) when doing the cvs
checkout/update.
>
> I have the following in ~/.cvsrc
>
> $ cat ~/.cvsrc
> update -dP
> diff -u
> rdiff -u
>
> because I always forget the options
>
Thank you very much for this fast answers
> If you are building NetBSD-current it's recommended to
read the
> current-users list as well. Many building problems
derive from the very
> nature of NetBSD-current, being the head of the
development tree.
>
That's absolutely right. Maybe I was so anxious of seeing up
and running
my 728 that... I simply put off my thinking
Thank you very much.
--
=============================================
J. Vicente Carrasco -- Bixen
carvay tikismikis.org
carvay es.FreeBSD.org
Current Boina: Spanish FDP Translationmeister
GnuPG: http://carvay.ti
kismikis.org/key.txt
==============================================
|
|
| Re: Error trying to build userland for
Jornada 728 |

|
2008-03-22 18:42:53 |
Klaus Heinz(e)k dio:
> Quentin Garnier wrote:
>> On Sat, Mar 22, 2008 at 03:01:06PM +0100, J.
Vicente Carrasco -Bixen- wrote:
>>> rm: ktrace: is a directory
>> You forgot -P (prune empty dirs) when doing the cvs
checkout/update.
>
> I have the following in ~/.cvsrc
>
> $ cat ~/.cvsrc
> update -dP
> diff -u
> rdiff -u
>
> because I always forget the options
>
I did an update of sources with this on my .cvsrc and, as
previously,
the first step was done happily. The userland part failed
again.
> If you are building NetBSD-current it's recommended to
read the
> current-users list as well. Many building problems
derive from the very
> nature of NetBSD-current, being the head of the
development tree.
>
I've been lurking in current-users archive, but I'm not sure
what I'm
looking for. In fact, an error in something with a name like
"/usr/src/sys/kern/sys_generic.c" must be so big
that has an "HEADS-UP"
on it, or any silly thing that stops a guy that, like me,
can't read C code.
# link cd9660fs/cd9660fs
/usr/src/hpcarmtools/bin/arm--netbsdelf-gcc -Wl,-nostdlib
-Wl,--wrap=malloc -Wl,--fatal-warnings -o cd9660fs
-Wl,-rpath-link,/usr/hpcarmbuild/lib:/usr/hpcarmbuild/usr/li
b
-L/usr/hpcarmbuild/lib -B/usr/hpcarmbuild/usr/lib/
-B/usr/hpcarmbuild/usr/lib/ cd9660fs.o
-L/usr/src/sys/rump/fs/lib/libcd9660fs/obj
-Wl,--whole-archive
-lcd9660fs -Wl,--no-whole-archive
-L/usr/src/sys/rump/fs/lib/libp2k/obj
-Wl,--whole-archive -lp2k -Wl,--no-whole-archive
-L/usr/src/sys/rump/fs/lib/libukfs/obj -Wl,--whole-archive
-lukfs
-Wl,--no-whole-archive /usr/hpcarmbuild/usr/lib/libutil.a
/usr/hpcarmbuild/usr/lib/libpuffs.a
-L/usr/src/sys/rump/librump/rumpkern/obj -Wl,--whole-archive
-lrump
-Wl,--no-whole-archive -lpthread
-L/usr/hpcarmbuild/usr/lib
-L/usr/hpcarmbuild/usr/lib
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic
.o): In
function `selcommon':
/usr/src/sys/kern/sys_generic.c:860: undefined reference to
`lwp_unlock_to'
/usr/src/sys/kern/sys_generic.c:861: undefined reference to
`sleepq_enqueue'
/usr/src/sys/kern/sys_generic.c:863: undefined reference to
`sleepq_block'
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic
.o): In
function `pollcommon':
/usr/src/sys/kern/sys_generic.c:1055: undefined reference to
`lwp_unlock_to'
/usr/src/sys/kern/sys_generic.c:1056: undefined reference to
`sleepq_enqueue'
/usr/src/sys/kern/sys_generic.c:1058: undefined reference to
`sleepq_block'
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic
.o): In
function `selnotify':
/usr/src/sys/kern/sys_generic.c:1209: undefined reference to
`sleepq_unsleep'
/usr/src/sys/kern/sys_generic.c:1214: undefined reference to
`uvm_kick_scheduler'
/usr/src/sys/kern/sys_generic.c:1229: undefined reference to
`sleepq_wake'
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic
.o): In
function `selsysinit':
/usr/src/sys/kern/sys_generic.c:1286: undefined reference to
`sleepq_init'
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic
.o): In
function `pollsock':
/usr/src/sys/kern/sys_generic.c:1373: undefined reference to
`sopoll'
/usr/src/sys/kern/sys_generic.c:1384: undefined reference to
`lwp_unlock_to'
/usr/src/sys/kern/sys_generic.c:1385: undefined reference to
`sleepq_enqueue'
/usr/src/sys/kern/sys_generic.c:1387: undefined reference to
`sleepq_block'
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic
.o):(.data+0x4):
undefined reference to `sleepq_unsleep'
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic
.o):(.data+0x8):
undefined reference to `sleepq_changepri'
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic
.o):(.data+0xc):
undefined reference to `sleepq_lendpri'
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic
.o):(.data+0x10):
undefined reference to `syncobj_noowner'
collect2: ld returned 1 exit status
*** Failed target: cd9660fs
*** Failed command:
/usr/src/hpcarmtools/bin/arm--netbsdelf-gcc
-Wl,-nostdlib -Wl,--wrap=malloc -Wl,--fatal-warnings -o
cd9660fs
-Wl,-rpath-link,/usr/hpcarmbuild/lib:/usr/hpcarmbuild/usr/li
b
-L/usr/hpcarmbuild/lib -B/usr/hpcarmbuild/usr/lib/
-B/usr/hpcarmbuild/usr/lib/ cd9660fs.o
-L/usr/src/sys/rump/fs/lib/libcd9660fs/obj
-Wl,--whole-archive
-lcd9660fs -Wl,--no-whole-archive
-L/usr/src/sys/rump/fs/lib/libp2k/obj
-Wl,--whole-archive -lp2k -Wl,--no-whole-archive
-L/usr/src/sys/rump/fs/lib/libukfs/obj -Wl,--whole-archive
-lukfs
-Wl,--no-whole-archive /usr/hpcarmbuild/usr/lib/libutil.a
/usr/hpcarmbuild/usr/lib/libpuffs.a
-L/usr/src/sys/rump/librump/rumpkern/obj -Wl,--whole-archive
-lrump
-Wl,--no-whole-archive -lpthread -L/usr/hpcarmbuild/usr/lib
-L/usr/hpcarmbuild/usr/lib
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/rump/fs/bin/cd9660fs
*** Failed target: dependall
*** Failed command: cd /usr/src/sys/rump/fs/bin/cd9660fs;
/usr/src/hpcarmtools/bin/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/rump/fs/bin/cd9660fs
*** Failed target: dependall-cd9660fs
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1";
shift; case "$" in /*)
this="$/"; real="$" ;; .)
this="sys/rump/fs/bin/";
real="/usr/src/sys/rump/fs/bin" ;; *)
this="sys/rump/fs/bin/$/";
real="/usr/src/sys/rump/fs/bin/$"
;; esac; show=${this:-.}; echo "$ ===>
${show%/}${1:+ (with:
$ )}"; cd "$" &&
/usr/src/hpcarmtools/bin/nbmake
_THISDIR_="$" "$ " $; };
_makedirtarget cd9660fs dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/rump/fs/bin
*** Failed target: dependall-bin
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1";
shift; case "$" in /*)
this="$/"; real="$" ;; .)
this="sys/rump/fs/";
real="/usr/src/sys/rump/fs" ;; *)
this="sys/rump/fs/$/";
real="/usr/src/sys/rump/fs/$" ;; esac;
show=${this:-.}; echo "$ ===> ${show%/}${1:+
(with: $ )}"; cd
"$" &&
/usr/src/hpcarmtools/bin/nbmake
_THISDIR_="$" "$ "
$; }; _makedirtarget bin dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/rump/fs
*** Failed target: dependall-fs
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1";
shift; case "$" in /*)
this="$/"; real="$" ;; .)
this="sys/rump/";
real="/usr/src/sys/rump" ;; *)
this="sys/rump/$/";
real="/usr/src/sys/rump/$" ;; esac;
show=${this:-.}; echo "$ ===> ${show%/}${1:+
(with: $ )}"; cd
"$" &&
/usr/src/hpcarmtools/bin/nbmake
_THISDIR_="$" "$ "
$; }; _makedirtarget fs dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/rump
*** Failed target: dependall-rump
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1";
shift; case "$" in /*)
this="$/"; real="$" ;; .)
this="sys/"; real="/usr/src/sys" ;; *)
this="sys/$/";
real="/usr/src/sys/$" ;; esac;
show=${this:-.}; echo "$
===> ${show%/}${1:+ (with: $ )}"; cd
"$" &&
/usr/src/hpcarmtools/bin/nbmake
_THISDIR_="$" "$ " $; };
_makedirtarget rump dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys
*** Failed target: dependall-sys
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1";
shift; case "$" in /*)
this="$/"; real="$" ;; .)
this="";
real="/usr/src" ;; *) this="$/";
real="/usr/src/$" ;; esac;
show=${this:-.}; echo "$ ===> ${show%/}${1:+
(with: $ )}"; cd
"$" &&
/usr/src/hpcarmtools/bin/nbmake
_THISDIR_="$" "$ "
$; }; _makedirtarget sys dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Failed target: do-build
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1";
shift; case "$" in /*)
this="$/"; real="$" ;; .)
this="";
real="/usr/src" ;; *) this="$/";
real="/usr/src/$" ;; esac;
show=${this:-.}; echo "$ ===> ${show%/}${1:+
(with: $ )}"; cd
"$" &&
/usr/src/hpcarmtools/bin/nbmake
_THISDIR_="$" "$ "
$; }; _makedirtarget . dependall BUILD_tools=no
BUILD_lib=no
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Failed target: build
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1";
shift; case "$" in /*)
this="$/"; real="$" ;; .)
this="";
real="/usr/src" ;; *) this="$/";
real="/usr/src/$" ;; esac;
show=${this:-.}; echo "$ ===> ${show%/}${1:+
(with: $ )}"; cd
"$" &&
/usr/src/hpcarmtools/bin/nbmake
_THISDIR_="$" "$ "
$; }; _makedirtarget . do-build
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Failed target: distribution
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1";
shift; case "$" in /*)
this="$/"; real="$" ;; .)
this="";
real="/usr/src" ;; *) this="$/";
real="/usr/src/$" ;; esac;
show=${this:-.}; echo "$ ===> ${show%/}${1:+
(with: $ )}"; cd
"$" &&
/usr/src/hpcarmtools/bin/nbmake
_THISDIR_="$" "$ "
$; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1
Stop.
nbmake: stopped in /usr/src
ERROR: Failed to make distribution
*** BUILD ABORTED ***
--
===================================================
J. Vicente Carrasco -- Bixen
carvay [tikismikis.org | es.FreeBSD.org]
Current Basque Beret: Spanish FDP Translationmeister
====================================================
--
|
|
| Re: Error trying to build userland for
Jornada 728 |

|
2008-03-22 21:37:36 |
J. Vicente Carrasco -Bixen- wrote:
> I've been lurking in current-users archive, but I'm not
sure what I'm
> looking for. In fact, an error in something with a name
like
> "/usr/src/sys/kern/sys_generic.c" must be so
big that has an "HEADS-UP"
> on it, or any silly thing that stops a guy that, like
me, can't read C code.
> # link cd9660fs/cd9660fs
If you look again into the archive of current-users you will
see some
messages from 2008-03-22/23 with subject
"Build error - cd9660fs (problem in librump?)"
which describe the same error you have. I suppose this will
be fixed soon.
ciao
Klaus
|
|
| Re: Error trying to build userland for
Jornada 728 |

|
2008-03-30 12:40:48 |
Klaus Heinz(e)k dio:
> J. Vicente Carrasco -Bixen- wrote:
>
>> I've been lurking in current-users archive, but I'm
not sure what I'm
>> looking for. In fact, an error in something with a
name like
>> "/usr/src/sys/kern/sys_generic.c" must be
so big that has an "HEADS-UP"
>> on it, or any silly thing that stops a guy that,
like me, can't read C code.
>
>> # link cd9660fs/cd9660fs
>
> If you look again into the archive of current-users you
will see some
> messages from 2008-03-22/23 with subject
>
> "Build error - cd9660fs (problem in
librump?)"
>
> which describe the same error you have. I suppose this
will be fixed soon.
>
Fixed
I've build the distribution and I have it in the CF. So, I
did put the
hpcboot.exe and netbsd files in the MSDOS filesystem and
installed the
distribution in the ffs one.
I think that the boot process gets freezed, a minute wating
with no
interaction with the machine (from keyboard or pencil) is
enough.
This is the content of my last bootlog.txt file, but I've
tried with "HP
Jornada 720 [(European)|(US/UK)|(Spanish)] and just the
same.
Thank you very much for your time.
BOOT START
[progress] 0
[progress] 1
ARM architecture.
MemoryManager: LockPages
FileManager: FAT
hpcboot build number: 14
HP Jornada 720 (Japanese) (cpu=0x0c108000
machine=0x02c20202)
[progress] 2
[0] 0xc0000000 size 0x08000000
[1] 0xc8000000 size 0x08000000
[2] 0xd0000000 size 0x08000000
[3] 0xd8000000 size 0x08000000
_WIN32_WCE = 211
GetVersionEx
Windows CE 3.0
GetSystemInfo:
wProcessorArchitecture 0x5
wProcessorLevel 0x4
wProcessorRevision 0x9
dwPageSize 0x1000
dwAllocationGranularity 0x00010000
dwProcessorType 0xa11
Display: 640x240 16bpp
Reg0 :6901b119
Reg1 :c002327f
Reg2 :c002327f
Reg3 :00000001
Reg5 :c0023007
Reg6 :01f90008
Reg13:0a000000
Reg14:f7cd7b0a
CPSR :2000001f
[progress] 3
[progress] 4
open file "Storage Cardnetbsd"(3858664 byte).
[progress] 5
Loader: ELF
[progress] 6
file size: 0x2ec3ec+0xc114+[ksyms: header 0x5d0, symtab
0x5e850, strtab
0x32418 = 0x91238]+[extra: 0x4fb0] = 0x3901e8 bytes
address translation table 928 pages. (0x1d00 bytes)
allocated 928 page. mapped 928 page.
[progress] 7
2nd bootloader vaddr=0x0043f000 paddr=0xc3d05000
2nd bootloader copy done.
[progress] 8
seg[0] vaddr 0xc0040000 file size 0x2ec3ec mem size
0x2ec3ec
->load 0xc0040000+0x002ec3ec=0xc032c3ec
ofs=0x00008000+0x2ec3ec
seg[1] vaddr 0xc0334400 file size 0xc114 mem size 0x76c80
->load 0xc0334400+0x00076c80=0xc03ab080
ofs=0x002f4400+0xc114
->zero 0xc0340514+0x0006ab6c=0xc03ab080
ksyms
->load 0xc03ab080+0x000005d0=0xc03ab650
->load 0xc03ab650+0x0005e850=0xc0409ea0
ofs=0x0031d480+0x5e850
->load 0xc0409ea0+0x00032418=0xc043c2b8
ofs=0x0037bcd0+0x32418
[progress] 9
load link 912, zero clear link 1
kernel entry address: 0xc0040000
framebuffer: 640x240 type=5 linebytes=1280 addr=0x48200000
console = 1
[progress] 10
--
===================================================
J. Vicente Carrasco -- Bixen
carvay at [tikismikis.org | es.FreeBSD.org]
Current Basque Beret: Spanish FDP Translationmeister
====================================================
--
|
|
[1-7]
|
|