Temat: openwrt problem z preinit extroot
Witam, skompilowałem sobie openwrt, pojawia mi sie błąd, wie ktoś może czym to spowodowane?
proszę o pomoc
pozdrawiam
jump to linux code!!
LZMA loader for BR-6104KP, Copyright (C) 2007-2008 OpenWrt.org
Looking for TRX header... found at 00012000, kernel:0000001C len:000E2FE4
decompressing kernel... done!
launching kernel...
[ 0.000000] Linux version 2.6.32.33 (aikon@ubuntu) (gcc version 4.6.3 2012020
1 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Mar 4 15:48:22 CET 2012
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0001800b (MIPS 4Kc)
[ 0.000000] SoC : ADM5120P rev 8, running at 175.000 MHz
[ 0.000000] Bootdev : NOR flash
[ 0.000000] Prom : Generic
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 01000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00001000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00001000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pa
ges: 4064
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 init=/et
c/preinit ro rootdelay=10
[ 0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Primary instruction cache 8kB, VIPT, 2-way, linesize 16 bytes.
[ 0.000000] Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 byte
s
[ 0.000000] Memory: 13452k/16384k available (2141k kernel code, 2932k reserve
d, 395k data, 132k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, No
des=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:24
[ 0.000000] Calibrating delay loop... 173.05 BogoMIPS (lpj=346112)
[ 0.084000] Mount-cache hash table entries: 512
[ 0.096000] NET: Registered protocol family 16
[ 0.112000] MIPS: machine is Edimax BR-6104KP
[ 0.128000] PCI: not available on ADM5120P
[ 0.172000] bio: create slab <bio-0> at 0
[ 0.184000] SCSI subsystem initialized
[ 0.188000] usbcore: registered new interface driver usbfs
[ 0.192000] usbcore: registered new interface driver hub
[ 0.196000] usbcore: registered new device driver usb
[ 0.208000] Switching to clocksource MIPS
[ 0.228000] NET: Registered protocol family 2
[ 0.232000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.240000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.248000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.256000] TCP: Hash tables configured (established 512 bind 512)
[ 0.260000] TCP reno registered
[ 0.264000] NET: Registered protocol family 1
[ 0.280000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.288000] Registering mini_fo version $Id$
[ 0.292000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY
) (c) 2001-2006 Red Hat, Inc.
[ 0.304000] yaffs Mar 4 2012 15:41:09 Installing.
[ 0.308000] msgmni has been set to 26
[ 0.312000] io scheduler noop registered
[ 0.316000] io scheduler deadline registered (default)
[ 1.736000] Serial: AMBA driver
[ 1.740000] apb:uart0: ttyS0 at MMIO 0x12600000 (irq = 9) is a AMBA
[ 1.744000] console [ttyS0] enabled, bootconsole disabled
[ 1.744000] console [ttyS0] enabled, bootconsole disabled
[ 1.760000] apb:uart1: ttyS1 at MMIO 0x12800000 (irq = 10) is a AMBA
[ 1.776000] adm5120-flash.0: probing at 0x1FC00000, size:2048KiB, width:16 bi
ts
[ 1.784000] adm5120-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
[ 1.792000] CFI mfr 0x000000c2
[ 1.796000] CFI id 0x00002249
[ 1.800000] Amd/Fujitsu Extended Query Table at 0x0040
[ 1.804000] Amd/Fujitsu Extended Query version 1.0.
[ 1.808000] number of CFI chips: 1
[ 1.812000] cfi_cmdset_0002: Disabling erase-suspend-program due to code brok
enness.
[ 1.820000] adm5120-flash.0: found at 0x1FC00000, size:2048KiB, width:16 bits
[ 1.828000] adm5120-flash.0: adding static partitions
[ 1.832000] Creating 3 MTD partitions on "adm5120-flash.0":
[ 1.840000] 0x000000000000-0x000000008000 : "admboot"
[ 1.856000] 0x000000008000-0x000000010000 : "config"
[ 1.868000] 0x000000010000-0x000000200000 : "firmware"
[ 1.884000] ADM5120 built-in ethernet switch driver version 0.1.1
[ 1.916000] admhc-hcd: ADMtek USB 1.1 Host Controller Driver version 0.27.0
[ 1.920000] admhc-hcd: block sizes: ed 64 td 64
[ 1.928000] adm5120-hcd adm5120-hcd: ADM5120 built-in USB 1.1 Host Controller
[ 1.936000] adm5120-hcd adm5120-hcd: new USB bus registered, assigned bus num
ber 1
[ 1.944000] adm5120-hcd adm5120-hcd: irq 11, io mem 0x11200000
[ 2.008000] usb usb1: configuration #1 chosen from 1 choice
[ 2.016000] hub 1-0:1.0: USB hub found
[ 2.020000] hub 1-0:1.0: 2 ports detected
[ 2.028000] Initializing USB Mass Storage driver...
[ 2.036000] usbcore: registered new interface driver usb-storage
[ 2.040000] USB Mass Storage support registered.
[ 2.048000] adm5120_wdt: Watchdog Timer version 0.1
[ 2.056000] TCP westwood registered
[ 2.060000] NET: Registered protocol family 17
[ 2.064000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[ 2.072000] All bugs added by David S. Miller <davem@redhat.com>
[ 2.088000] Waiting 10sec before mounting root device...
[ 2.448000] usb 1-1: new full speed USB device using adm5120-hcd and address
2
[ 2.716000] usb 1-1: configuration #1 chosen from 1 choice
[ 2.728000] scsi0 : SCSI emulation for USB Mass Storage devices
[ 7.744000] scsi 0:0:0:0: Direct-Access USB DISK 2.0 1219 PQ
: 0 ANSI: 0 CCS
[ 7.780000] sd 0:0:0:0: [sda] 3915776 512-byte logical blocks: (2.00 GB/1.86
GiB)
[ 7.796000] sd 0:0:0:0: [sda] Write Protect is off
[ 7.800000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 7.828000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 7.836000] sda: sda1
[ 7.864000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 7.868000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 12.160000] kjournald starting. Commit interval 5 seconds
[ 12.168000] EXT3-fs: mounted filesystem with writeback data mode.
[ 12.176000] VFS: Mounted root (ext3 filesystem) readonly on device 8:1.
[ 12.184000] Freeing unused kernel memory: 132k freed
[ 12.212000] Please be patient, while OpenWrt loads ...
[ 12.268000] Failed to execute /etc/preinit. Attempting defaults...
[ 12.272000] Kernel panic - not syncing: No init found. Try passing init= opt
ion to kernel.a to mój /etc/preinit
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
# Copyright (C) 2010 Vertical Communications
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
pi_ifname=
pi_ip=192.168.1.1
pi_broadcast=192.168.1.255
pi_netmask=255.255.255.0
fs_failsafe_ifname=
fs_failsafe_ip=192.168.1.1
fs_failsafe_broadcast=192.168.1.255
fs_failsafe_netmask=255.255.255.0
fs_failsafe_wait_timeout=2
pi_suppress_stderr="y"
pi_init_suppress_stderr="y"
pi_init_path="/bin:/sbin:/usr/bin:/usr/sbin"
pi_init_cmd="/sbin/init"
. /etc/functions.sh
. /lib/functions/boot.sh
boot_hook_init preinit_essential
boot_hook_init preinit_main
boot_hook_init failsafe
boot_hook_init initramfs
boot_hook_init preinit_mount_root
for pi_source_file in /lib/preinit/*; do
. $pi_source_file
done
boot_run_hook preinit_essential
pi_mount_skip_next=false
pi_jffs2_mount_success=false
pi_failsafe_net_message=false
boot_run_hook preinit_main