[Buildroot] RTNETLINK error

NEAL, RYAN RYAN_NEAL at appsig.com
Thu Dec 10 18:21:29 UTC 2009


Just to be sure here is the startup part of my inittab:
 
 16 # Startup the system
 17 null::sysinit:/bin/mount -o remount,rw /
 18 null::sysinit:/bin/mount -t proc proc /proc
 19 null::sysinit:/bin/mount -a
 20 null::sysinit:/bin/hostname -F /etc/hostname
 21 null::sysinit:/sbin/ifconfig lo 127.0.0.1 up
 22 null::sysinit:/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
 23 # now run any rc scripts
 24 ::sysinit:/etc/init.d/rcS
 25
 26 # Set up a couple of getty's
 27 tty1::respawn:/sbin/getty 38400 tty1
 28 tty2::respawn:/sbin/getty 38400 tty2
 29
 30 # Put a getty on the serial port
 31 #ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL

Meaning I should get a prompt right afterward, right?

::Ryan

-----Original Message-----
From: Peter Korsgaard [mailto:jacmet at gmail.com] On Behalf Of Peter
Korsgaard
Sent: Thursday, December 10, 2009 2:21 AM
To: NEAL, RYAN
Cc: Peter Korsgaard; buildroot at busybox.net
Subject: Re: [Buildroot] RTNETLINK error

>>>>> "Ryan" == NEAL, RYAN <RYAN_NEAL at appsig.com> writes:

Hi,

 Ryan> Does the busybox dhcp client get called by the kernel at some
point
 Ryan> (udhcpc?)?  how do I make this configuration so that the busybox
dhcp
 Ryan> client is used?

Not by the kernel, but by ifup (by adding something like this to
/etc/network/interfaces):

iface eth0 inet dhcp
auto eth0

 Ryan> I turned off the "IP : kernel level autoconfiguration"
(CONFIG_IP_PNP)
 Ryan> off in the linux kernel, no change. 

 Ryan> I then ran with just the boot line "console=ttyS0 root=/dev/ram"
and
 Ryan> still got the failure.  

Ok, are you sure that the system hangs in ifup? What do you expect to
happen afterwards? Have you configured a getty (login program) on ttyS0?

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list