Hi I try to compile the 2.6.28 kernel. kernel try to run '/etc/preinit' but it's always kernel panic.
give some tip about this error. very thanks. you can find source code at : http://github.com/lindnermarek/openwrt-x-burst/tree/master -- http://www.qi-hardware.com Best Regards Xiangfu Liu
Linux version 2.6.28.10-ge1d42be-dirty (xian...@xiangfu-macbook) (gcc version 4.1.2) #7 PREEMPT Tue Aug 4 22:49:45 CST 2009 CPU revision is: 0ad0024f (Ingenic JZRISC) CPU clock: 366MHz, System clock: 122MHz, Peripheral clock: 122MHz, Memory clock: 122MHz Qi Hardware JZ4740 QI_LB60 setup Determined physical RAM map: memory: 04000000 @ 00000000 (usable) User-defined physical RAM map: memory: 02000000 @ 00000000 (usable) Zone PFN ranges: Normal 0x00000000 -> 0x00002000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00002000 Built 1 zonelists in Zone order, mobility grouping off. Total pages: 8128 Kernel command line: mem=32M console=ttyS0,57600n8 rootfstype=ext2 root=/dev/mmcblk0p1 rw rootdelay=2 Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes PID hash table entries: 128 (order: 7, 512 bytes) ------------[ cut here ]------------ WARNING: at kernel/time/clockevents.c:175 () Modules linked in: Call Trace:[<80026ca0>] 0x80026ca0 [<80026ca0>] 0x80026ca0 [<8003ac78>] 0x8003ac78 [<801d2b9c>] 0x801d2b9c [<8003b984>] 0x8003b984 [<8003bb14>] 0x8003bb14 [<8005d908>] 0x8005d908 [<803e27e0>] 0x803e27e0 [<8003b350>] 0x8003b350 [<8005d9cc>] 0x8005d9cc [<803e2220>] 0x803e2220 [<803f6b14>] 0x803f6b14 [<803f4f54>] 0x803f4f54 [<803e239c>] 0x803e239c [<80063ebc>] 0x80063ebc [<80062728>] 0x80062728 [<800626f0>] 0x800626f0 [<803dc658>] 0x803dc658 [<803e12b4>] 0x803e12b4 [<803e1108>] 0x803e1108 [<803de724>] 0x803de724 [<803d898c>] 0x803d898c [<803d8984>] 0x803d8984 [<803d80d8>] 0x803d80d8 ---[ end trace 4eaa2a86a8e2da22 ]--- Console: colour dummy device 80x25 console [ttyS0] enabled Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 28232k/32768k available (3192k kernel code, 4536k reserved, 677k data, 180k init, 0k highmem) Calibrating delay loop... 365.36 BogoMIPS (lpj=1826816) Mount-cache hash table entries: 512 net_namespace: 288 bytes NET: Registered protocol family 16 SCSI subsystem initialized NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered NET: Registered protocol family 1 Total 4MB memory at 0x1400000 was reserved for IPU squashfs: version 3.0 (2006/03/15) Phillip Lougher Registering mini_fo version $Id$ JFFS2 version 2.2. (NAND) (SUMMARY) é 2001-2006 Red Hat, Inc. msgmni has been set to 55 alg: No test for stdrng (krng) io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered jzlcd use 1 framebuffer: jzlcd fb[0] phys addr =0x01100000 LCDC: PixClock:26142857 LcdClock:73200000 Console: switching to colour frame buffer device 40x30 fb0: jz-lcd frame buffer device, using 512K of video memory JzSOC: char device family. JZ UDC hotplug driver registered Serial: 8250/16550 driver2 ports, IRQ sharing disabled UDC starting pnp monitor thread serial8250: ttyS0 at MMIO 0x0 (irq = 9) is a 16550A serial8250: ttyS1 at MMIO 0x0 (irq = 8) is a 16550A brd: module loaded loop: module loaded Driver 'sd' needs updating - please use bus_type methods Nand DMA request channel 0. NAND device: Manufacturer ID: 0xec, Chip ID: 0xd5 (Samsung NAND 2GiB 3,3V 8-bit) planenum:2 Nand using two-plane mode, and resized to writesize:8192 oobsize:256 blocksize:0x100000 Scanning device for bad blocks Bad eraseblock 16 at 0x00087f000 Bad eraseblock 17 at 0x0008ff000 Bad eraseblock 18 at 0x00097f000 Bad eraseblock 19 at 0x0009ff000 Bad eraseblock 20 at 0x000a7f000 Bad eraseblock 21 at 0x000aff000 Creating 6 MTD partitions on "NAND 2GiB 3,3V 8-bit": Creating 1 MTD partitions on "NAND 2GiB 3,3V 8-bit": 0x00000000-0x00400000 : "NAND BOOT partition" Creating 1 MTD partitions on "NAND 2GiB 3,3V 8-bit": 0x00400000-0x00800000 : "NAND KERNEL partition" Creating 1 MTD partitions on "NAND 2GiB 3,3V 8-bit": 0x00800000-0x20000000 : "NAND ROOTFS partition" Creating 1 MTD partitions on "NAND 2GiB 3,3V 8-bit": 0x20000000-0x40000000 : "NAND DATA1 partition" Creating 1 MTD partitions on "NAND 2GiB 3,3V 8-bit": 0x40000000-0x60000000 : "NAND DATA2 partition" Creating 1 MTD partitions on "NAND 2GiB 3,3V 8-bit": 0x60000000-0x80000000 : "NAND VFAT partition" JzSOC Watchdog Timer: timer margin 60 sec JZ SD/MMC card driver registered JzSOC On-Chip I2S controller registered (DAC: DMA(play):2/IRQ34, ADC: DMA(record):1/IRQ33) JZ I2S OSS audio driver initialized TCP cubic registered NET: Registered protocol family 17 mmc0: new high speed SD card at address b368 mmcblk0: mmc0:b368 NCard 1.85 GiB mmcblk0: p1 RPC: Registered udp transport module. RPC: Registered tcp transport module. Waiting 2sec before mounting root device... EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended VFS: Mounted root (ext2 filesystem). Freeing unused kernel memory: 180k freed Please be patient, while OpenWrt loads ... Kernel panic - not syncing: Attempted to kill init!
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel