Claudio wrote: > Hi all, > > today I try to quickly dump etrax to 2.6.28, I like to inform you of > this __partial__ work > > Atm you can obtain a loadable kernel but there are a lot of warning > and it get panic. > > Using svn revision 13875 you can apply the attached patch and obtain: > > Linux version 2.6.28 (claud...@claudyus-laptop) (gcc version 4.1.2) #1 > Mon Jan 5 17:54:24 CET 2009 > console [ttyS0] enabled > Setting up paging and the MMU. > Linux/CRIS port on ETRAX 100LX (c) 2001 Axis Communications AB > Built 1 zonelists in Zone order, mobility grouping on. Total pages: 4080 > Kernel command line: root=/dev/mtdblock1 rootfstype=squashfs,jffs2 > init=/etc/preinit noinitrd console=ttyS0,115200 > PID hash table entries: 128 (order: 7, 512 bytes) > Dentry cache hash table entries: 4096 (order: 1, 16384 bytes) > Inode-cache hash table entries: 2048 (order: 0, 8192 bytes) > Memory: 30768k/32768k available (1301k kernel code, 2000k reserved, > 372k data, 48k init) > Calibrating delay loop... 98.91 BogoMIPS (lpj=494592) > Mount-cache hash table entries: 1024 > net_namespace: 480 bytes > NET: Registered protocol family 16 > ------------[ cut here ]------------ > WARNING: at lib/klist.c:62 () > Modules linked in: > > Stack from c1fe1cc0: > c01847ac c1fe1ce5 c000e5aa c000462a c000dc8a c0198af8 00000000 c1f4f58f > c1f50c2d c01900e0 c1fe1d20 c1f477c0 00000000 00000004 c1f52c00 c1fdde6f > c1fddd20 c1fdd1a0 c1fe1d20 c0146750 00000002 c1fe1d90 7fffffff 7fffffff > Call Trace: [<c000e5aa>] [<c000462a>] [<c000dc8a>] [<c0146750>] > [<c0146896>] [<c014645a>] [<c000a5ee>] > [<c0019564>] [<c00195ca>] [<c00be0de>] [<c00be0de>] > [<c004026a>] [<c00be416>] [<c01457b0>] [<c0145860>] > [<c01458b0>] [<c00d4618>] [<c00d4736>] [<c00d47b0>] > [<c003246c>] [<c00040a0>] [<c00c0f2a>] [<c00bd2b0>] > [<c00bd300>] [<c00bd2d2>] [<c006a1b4>] [<c006a3b2>] > [<c0028072>] [<c00280c2>] [<c00063c2>] <4>---[ end trace > 4eaa2a86a8e2da22 ]--- > ------------[ cut here ]------------ > WARNING: at lib/klist.c:62 () > Modules linked in: > > Stack from c1fe1cf0: > c01847ac c1fe1d15 c000e5aa c000462a c000dc8a c01a21fc c1f65620 c1f65651 > c1fc44e5 c01c006c c1fe1d58 00000002 c1ec4980 c1fe1d90 00000000 c1fe1d58 > c1fc49a0 00000000 00000000 00000000 000041ed 00000001 c1ec4980 c1ec4980 > Call Trace: [<c000e5aa>] [<c000462a>] [<c000dc8a>] [<c006f15a>] > [<c006f6a2>] [<c006f474>] [<c006f926>] > [<c006f988>] [<c00bdb0a>] [<c00bdbae>] [<c00d5f18>] > [<c00d5658>] [<c01457b0>] [<c0145860>] [<c01458b0>] > [<c00d59f0>] [<c00d60f0>] [<c00eab04>] [<c00040a0>] > [<c00c0f2a>] [<c00bd2b0>] [<c00bd300>] [<c00bd2d2>] > [<c006a1b4>] [<c006a3b2>] [<c0028072>] [<c00280c2>] > [<c00063c2>] <4>---[ end trace 4eaa2a86a8e2da22 ]--- > usbcore: registered new interface driver usbfs > > ************************* CUT WARNING HERE
Me thinks above is harmless and is not cris dependent.. > *************************************** > > eth0: changed MAC to 00:40:8c:cd:00:00 > cse0: Probing a 0x04000000 bytes large window at 0xe0000000. > cse0: Found 1 x16 devices at 0x0 in 16-bit bank > Amd/Fujitsu Extended Query Table at 0x0040 > cse0: Swapping erase regions for broken CFI table. > number of CFI chips: 1 > cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. > cse1: Probing a 0x04000000 bytes large window at 0xe4000000. > cse0: 0x00800000 bytes of flash memory. > Scanning flash for end of kernel magic > Kernel ends at 0x000F0000 > Using default partition table. > Creating 2 MTD partitions on "cse0": > 0x00000000-0x000f0000 : "kernel" > ************************* CUT WARNING HERE > *************************************** > 0x000f0000-0x00800000 : "rootfs" > ************************* CUT WARNING HERE > *************************************** > mtd: partition "rootfs" set to be root filesystem > split_squashfs: no squashfs found in "cse0" > Adding RAM partition for romfs image: > /dev/flash1 at 0x00000000, size 0x00000000 > ************************* CUT WARNING HERE > *************************************** > VFS: Cannot open root device "mtdblock1" or unknown-block(0,0) > Please append a correct "root=" boot option; here are the available > partitions: > Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) > > Why it don't enumerate partition /dev/mtdblock1? Try root=mtd1 instead. HTH, Hinko -- Hinko Kočevar, OSS developer ČETRTA POT, d.o.o. Planina 3, 4000 Kranj, SI EU tel ++386 (0) 4 280 66 03 e-mail hinko.koce...@cetrtapot.si http www.cetrtapot.si _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel