Problems about init.

Sync ma sync.jma at gmail.com
Tue Jul 24 08:11:47 UTC 2007


First , I would apologize because it may not be the problems about
busybox, however, I can not found another place for help.

Please take a look at my kernel bootling log, from the tail, you can
find that there were no output(but serial seems OK, you can see that I
have typed some chars and there have echo), it's so strange.

the kernel was boot from the nfsroot(same problem when boot from the flash),
and the boot cmd line is:
root=/dev/nfs rw nfsroot=192.168.35.105:/xxxx/fs
ip=192.168.35.107:192.168.35.105:192.168.35.1:255.255.255.0::eth0:off
rootfstype=jffs2 init=/etc/preinit noinitrd console=ttyS0,115200n8



Any ideas?
======
script etc/preinit
[root at sync fs]# cat etc/preinit
#!/bin/sh
echo "preinit start"

export PATH=/bin:/sbin:/usr/bin:/usr/sbin
exec /sbin/init


===================
kernel boot log:

 Launching kernel decompressor.
Starting LZMA Uncompression Algorithm.
Compressed file is LZMA format.
Kernel decompressor was successful ... launching kernel.

LINUX started...
Config serial console: console=ttyS0,115200n8r
Enumerating for the host SOC yamuna-8400's VLYNQ module @ 0xa8611800.
Identifying the neighbour connected to yamuna-8400 <0xa8611800>.
Detected the VLYNQ SoC with id 0x0029 and named wlan1350.
Enumerated yamuna-8400 <---> wlan1350, now configuring .....
..... Configuration Done.
Identifying the neighbour connected to wlan1350 <0xac088800>.
Did not detect any SoC next to wlan1350 in the chain.
VLYNQ Enumeration ended on the chain for root@ 0xac088800 for yamuna-8400.
Linux version 2.6.10_dev-malta-mips2_fp_len (root at sync) (gcc version
4.1.2) #40 Tue Jul 24 11:09:40 CST 2007
CPU revision is: 00019068
Determined physical RAM map:
 memory: 14001000 @ 00000000 (reserved)
 memory: 0001f000 @ 14001000 (ROM data)
 memory: 002e4000 @ 14020000 (reserved)
 memory: 01afc000 @ 14304000 (usable)
 memory: 00200000 @ 15e00000 (reserved)
Built 1 zonelists
Kernel command line: root=/dev/nfs rw nfsroot=192.168.35.105:/xxxxx/fs
ip=192.168.35.107:192.168.35.105:192.168.35.1:255.255.255.0::eth0:off
console=ttyS0,115200n8r
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, linesize 16 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 128 (order: 7, 2048 bytes)
CPU frequency 360.00 MHz
Using 180.000 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 27332k/30720k available (2067k kernel code, 3368k reserved,
444k data, 336k init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Checking for 'wait' instruction...  available.
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
softirq RT prio: 24.
desched cpu_callback 2/00000000
desched thread 0 started up.
TI Optimizations: Allocating TI-Cached Memory Pool.
Warning: Number of buffers is not configured. Setting default to 512
Using 512 Buffers for TI-Cached Memory Pool.
NSP Optimizations: Succesfully allocated TI-Cached Memory Pool.
NET: Registered protocol family 16
Can't analyze prologue code at 94222ed4
musb_hdrc: version 2.2a/db-0.4.8 [cppi-dma] [peripheral] [debug=0]
musb_hdrc: USB Peripheral mode controller at a3400000 using DMA, IRQ 39
PCI: device 0000:00:06.0 has unknown header type 7e, ignoring.
PCI: device 0000:00:07.0 has unknown header type 7e, ignoring.
PCI: device 0000:00:08.0 has unknown header type 7e, ignoring.
Vlynq irq descriptors registered successfully.
Environment variable BOARD_REV not defined taking default value as c0
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
JFFS2: default compression mode: priority
Initializing Cryptographic API
Installed misc driver vlynq0: it handles vlynq bridge0 with 1 hop(s).
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
ttyS0 at MMIO 0xa8610f00 (irq = 16) is a 16550A
ttyS1 at MMIO 0xa8610e00 (irq = 15) is a 16550A
io scheduler noop registered
Loading cpgmac driver for yamuna
CPMAC1 support not available
Error getting CPMAC Configuration params for instance:0
Environment Variable:MACCFG_A not set in bootloader
Setting Default configuration params for CPMAC instance:0
TI CPGMAC_F Linux DDA version 0.1 - CPGMAC_F DDC version 0.2
Cpmac: Installed 1 instances.
Cpmac driver is allocating buffer memory at init time.
elevator: using noop as default io scheduler
Primary flash device: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
avalanche flash device: 0x800000 at 0x10000000.
Found a active/root image (0x200000), with size (0x360000).
Creating 1 MTD partitions on "Primary flash device":
0x00200000-0x00560000 : "active/root"
avalanche_mtd_notify_add(): mtd->name = active/root, mtd->index= 0.
Found a active/kernel image (0x110000), with size (0xf0000).
Creating 1 MTD partitions on "Primary flash device":
0x00110000-0x00200000 : "active/kernel"
avalanche_mtd_notify_add(): mtd->name = active/kernel, mtd->index= 1.
Found a active/image image (0x100000), with size (0x700000).
Creating 1 MTD partitions on "Primary flash device":
0x00100000-0x00800000 : "active/image"
avalanche_mtd_notify_add(): mtd->name = active/image, mtd->index= 2.
Avalanche: BOOTCFG_A variable not found.
Avalanche: BOOTCFG_B variable not found.
Found a active/config image (0x40000), with size (0xc0000).
Creating 1 MTD partitions on "Primary flash device":
0x00040000-0x00100000 : "active/config"
avalanche_mtd_notify_add(): mtd->name = active/config, mtd->index= 3.
Found a bootloader image (0x0), with size (0x40000).
Creating 1 MTD partitions on "Primary flash device":
0x00000000-0x00040000 : "bootloader"
avalanche_mtd_notify_add(): mtd->name = bootloader, mtd->index= 4.
ti_spi0: AVALANCHE SPI Controller driver at 0xa8611000 (irq = 0)
Spansion s25fl eeprom driver registered successfully [major_num=253]
usb0: Ethernet Gadget, version: Equinox 2004
usb0: using musb_hdrc, OUT ep2out IN ep1in STATUS ep3
usb0: MAC e2:84:28:74:d2:a1
usb0: HOST MAC 5e:13:9c:00:4d:9b
usb0: RNDIS ready
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
IP-Config: Complete:
      device=eth0, addr=192.168.35.107, mask=255.255.255.0, gw=192.168.35.1,
     host=192.168.35.107, domain=, nis-domain=(none),
     bootserver=192.168.35.105, rootserver=192.168.35.105, rootpath=
------------------------> ready to mount nfsroot
Looking up port of RPC 100003/2 on 192.168.35.105
Looking up port of RPC 100005/1 on 192.168.35.105
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 336k freed
init(): force to run /etc/preinit for debugging.













ggffafsasf
fsa
asf
as
f
asf


df^H^H





k


==================



More information about the busybox mailing list