Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2005 16:13:02 +0200 (CEST)
From:      "Marten Vijn" <info@martenvijn.nl>
To:        "Jean Milanez Melo" <jmelo@freebsdbrasil.com.br>
Cc:        stable@freebsd.org
Subject:   Re: TinyBSD Call For Testers
Message-ID:  <59806.192.168.1.4.1121955182.squirrel@martenvijn.nl>
In-Reply-To: <42DE6345.5010904@freebsdbrasil.com.br>
References:  <42DBF250.1060405@freebsdbrasil.com.br> <44C1CD9F-98FA-4CA2-83C6-903F0B19A38F@anduin.net> <42DE6345.5010904@freebsdbrasil.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59806.192.168.1.4.1121955182.squirrel>