Wang, Baojun wrote:
> On Thursday 01 February 2007 02:55, Jim Gifford wrote:
>
>> Wang, Baojun wrote:
>>
>>> Hi, list
>>>
>>> I'm building a clfs embedded for an x86 target(VIA EPIA mini-ITX)
>>> follow clfs embedded book stable version 1.0(svn trunk 2007/01/23 from
>>> the online book). after finish all steps(boot loader is grub), the boot
>>> process stoped after starting dhcp:
>>>
>>> Running start scripts.
>>> Starting syslogd: OK
>>> Starting klogd: OK
>>> Starting DHCP for interface eth0: OK
>>>
>>> dhcp is the last script under /etc/rc.d/start.
>>>
>>> lrwxrwxrwx 1 root root 16 Jan 25 14:07 S05syslog -> ../init.d/syslog
>>> lrwxrwxrwx 1 root root 17 Jan 25 14:07 S10network -> ../init.d/network
>>>
>>> and /etc/network.conf:
>>>
>>> root:/mnt/clfs-final/etc# cat network.conf
>>> # /etc/network.conf
>>> # Global Networking Configuration
>>> # interface configuration is in /etc/network.d/
>>>
>>> # set to yes to enable networking
>>> NETWORKING=yes
>>>
>>> # set to yes to set default route to gateway
>>> USE_GATEWAY=no
>>>
>>> # set to gateway IP address
>>> GATEWAY=192.168.1.1
>>>
>>> and..
>>>
>>> root:/mnt/clfs-final/etc# cat network.conf
>>> # /etc/network.conf
>>> # Global Networking Configuration
>>> # interface configuration is in /etc/network.d/
>>>
>>> # set to yes to enable networking
>>> NETWORKING=yes
>>>
>>> # set to yes to set default route to gateway
>>> USE_GATEWAY=no
>>>
>>> # set to gateway IP address
>>> GATEWAY=192.168.1.1
>>> root:/mnt/clfs-final/etc# cat network.d/interface.eth0
>>> # Network Interface Configuration
>>>
>>> # network device name
>>> INTERFACE=eth0
>>>
>>> # set to yes to use DHCP instead of the settings below
>>> DHCP=yes
>>>
>>> # IP address
>>> # IPADDRESS=192.168.1.2
>>>
>>> # netmask
>>> # NETMASK=255.255.255.0
>>>
>>> # broadcast address
>>> # BROADCAST=192.168.1.255
>>>
>>> after that nothing going on any more, but the system doesn't die, because
>>> I can type with keyboard. Also it shouldn't the dhcp problem, because I
>>> ever added some other scripts after dhcp and it's ok. sounds like the
>>> login program refuse(or avoid) to run?
>>>
>>> busybox version is 1.2.2.1(have some modification on the default clfs
>>> configuration or else busybox fail to run, basically is unset
>>> CONFIG_FEATURE_SH_STANDALONE_SHELL). my /etc/inittab:
>>>
>>> root:/mnt/clfs-final/etc# cat inittab
>>> # /etc/inittab
>>>
>>> ::sysinit:/etc/rc.d/startup
>>>
>>> tty1::respawn:/sbin/getty 38400 tty1
>>> tty2::respawn:/sbin/getty 38400 tty2
>>> tty3::respawn:/sbin/getty 38400 tty3
>>> tty4::respawn:/sbin/getty 38400 tty4
>>> tty5::respawn:/sbin/getty 38400 tty5
>>> tty6::respawn:/sbin/getty 38400 tty6
>>>
>>> # Put a getty on the serial line (for a terminal)
>>> # uncomment this line if your using a serial console
>>>
>>> ::respawn:/sbin/getty -L ttyS0 115200 vt100
>>> ::
>>> ::shutdown:/etc/rc.d/shutdown
>>> ::ctrlaltdel:/sbin/reboot
>>>
>>> would you please give me some suggestions? Thanks in advance!
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Clfs-support mailing list
>>> [email protected]
>>> http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
>>>
>> That's wierd, can you try the latest busybox to see if the problem has
>> been fixed?
>>
> Hi, sounds like it's the mdev problem(failed to create devices), I created
> the
> neccessary devices under /dev, and disable these lines in /etc/rc.d/starup:
>
> /bin/mount -t proc none /proc
> /bin/mount -t sysfs none /sys
> # /bin/mount -t tmpfs -o mode=0755 none /dev
> # /bin/mkdir /dev/pts
> # /bin/mkdir /dev/shm
> # /bin/echo "/sbin/mdev" > /proc/sys/kernel/hotplug
> # /sbin/mdev -s
>
> and solve the orignal problem, what's the matter with mdev? I've fellow
> section 10.3: 10.3. Configure mdev exactly..
>
>
You may of missed something in your kernel config, send me a copy at
[EMAIL PROTECTED] and I can validate that for you.
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support