TinyBSD Call For Testers
Marten Vijn
info at martenvijn.nl
Thu Jul 21 14:12:22 GMT 2005
I tried to build tiny freebsd a 6.0 version,
which currently works on my laptop ( cvs checked out to day)
did a build/install world + kernel
The image build doesn't exit somewhere or errors...
"burned" an image to my cf-card
cat my.img > /dev/ad4
Then booted
the image boot stops : can't load kernel
? is the TINYBSD kernelconfig is not prepared for 6.0
an attempt to build this kernelconfig separately fails at the
atheros driver:
if_ath.o(.text+0x213a): In function `ath_node_alloc':
: undefined reference to `ath_rate_node_init'
if_ath.o(.text+0x2187): In function `ath_node_free':
: undefined reference to `ath_rate_node_cleanup'
if_ath.o(.text+0x21b6): In function `ath_node_free':
: undefined reference to `ath_rate_node_cleanup'
if_ath.o(.text+0x322a): In function `ath_start':
: undefined reference to `ath_rate_setupxtxdesc'
if_ath.o(.text+0x342c): In function `ath_start':
: undefined reference to `ath_rate_findrate'
if_ath.o(.text+0x3fa1): In function `ath_tx_processq':
: undefined reference to `ath_rate_tx_complete'
if_ath.o(.text+0x4764): In function `ath_detach':
: undefined reference to `ath_rate_detach'
if_ath.o(.text+0x4f35): In function `ath_newstate':
: undefined reference to `ath_rate_newstate'
if_ath.o(.text+0x4ffe): In function `ath_newstate':
: undefined reference to `ath_rate_newstate'
if_ath.o(.text+0x5352): In function `ath_newassoc':
: undefined reference to `ath_rate_newassoc'
if_ath.o(.text+0x6e3d): In function `ath_attach':
: undefined reference to `ath_rate_attach'
*** Error code 1
Stop in /usr/obj/usr/src/sys/TINYBSD.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
medion#
Then I copied the GENERIC kernelconfig to /usr/local/share/tinybsd/TINYBSD
and repated the build proces...
This still leaves me boot message:
can't load kernel, so someting else more is going wrong??
I mounted the cf-card on my laptop:
medion# cp -v /boot/kernel/kernel /mnt/boot/kernel/
After this there is a bootable system. Next to find out is why the kernel
wasn't in the image.
Thougths:
- something with coping the kernel went wrong
(exits on errors would be fine)
- atheros drivers do not like to be build in kernel but are fine to be
loaded as a modules (I tested the loading of these modeles)
Apart from this, opening a getty on a com port by default would safe some
time on "serial only" boxes
in /etc/ttys I changed :
ttyd0 "/usr/libexec/getty std.9600" dialup off secure
to:
ttyd0 "/usr/ibexec/getty std.9600" ansi on secure
Like this a had a soekris 4521 booted :
https://martenvijn.nl/tinybsd/net4521.txt
Marten
More information about the freebsd-stable
mailing list