[BusyBox] Help with init : Reposting

Sharad Gupta sharad at buckeye.ece.drexel.edu
Mon Jun 28 14:32:02 MDT 2004


I had originally posted the following posting on this list couple of 
weeks before. Can someone please point me to where the problem might lie 
in ?

Also, when I  try to chroot into the partition from the flash (after 
booting into ramdisk containing static version of busybox), and try to 
run ls .. all I see is directory listings as bunch of question marks like:
bash$ ls
?? 	?????	?????	

Does this point to any configuration problems on my part ?

Thanks
Sharad.


-- Original Message
I am using busybox on my custom board. I used busybox snapshot from
buildroot, busybox 1.0 pre 10.

I compiled busybox using powerpc-linux-uclibc-gcc and am using shared
libraries. My problem is when kernel finishes mounting root filesystem
and tries to run init, I get the following error and the system hangs:

init: symbol '__stdin': can't resolve symbol

Since, I only have a serial port to talk to, I comment out all tty's in
the inittab file & instead have the following line:
ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100

Any help will be highly appreciated.
Thanks
Sharad.

Full text from linux console:

found bd_t @c07ffec0
memstart=00000000
memsize=10000010
enetaddr=000000000000
intfreq=400000000
busfreq=50000000
baudrate=115200
found cmdline: 'console=ttyS0,115200 root=/dev/xsysace/disc0/part2 rw'
Memory BAT mapping: BAT2=256Mb, BAT3=0Mb, residual: 0Mb
Total memory = 256MB; using 512kB for hash table (at c0180000)
Linux version 2.4.23-pre5 (sharad at simpod.ece.drexel.edu) (gcc version
3.3.2) #8 Mon Jun 14 15:11:36 EDT 2004
Rydal Research & Development R108
R108 port (C) 2002 Rydal Research & Development, Inc.
(source at rydalresearch.com)
On node 0 totalpages: 65536
zone(0): 65536 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,115200 root=/dev/xsysace/disc0/part2 rw
OpenPIC Version 1.4 (1 CPUs and 3 IRQ sources) at 40000000
OpenPIC timer frequency is 6.000000 MHz
time_init: decrementer frequency = 12.500000 MHz
Calibrating delay loop... 399.76 BogoMIPS
Memory: 257512k available (708k kernel code, 276k data, 44k init, 0k
highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
POSIX conformance testing by UNIFIX

Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch at atnf.csiro.au)
devfs: boot_options: 0x1
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
Testing ttyS0 (0x0000, 0x60000000)...
ttyS00 at 0x60000000 (irq = 1) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Partition check:
  xsysacea:<3>Reading MsDos Partition Information.
MSDOS magic found.
  p1 p2
System ACE at 0x70000000 mapped to 0xD1000000, irq=2, 125440KB
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 44k init
init: symbol '__stdin': can't resolve symbol




More information about the busybox mailing list