EXT2-f error
Aman
aman at mistralsoftware.com
Wed Nov 6 00:41:49 EST 2002
Hi All
I have built a zImage.initrd.ebony image [ Kernel + Ramdisk] for my custom
board which has 440GP as its processor. This board doesn't have ethernet
support. However the kernel image contain network and ethernet support.
If I download this image to the custom board , I get the following errors.
"EXT2-fs error (device ramdisk(1,0)): ext2_check_page: bad entry in
directory #20: unaligned directory entry - offset=0, inode=4294967295,
rec_len=65535, name_len=255".
I tried the same image with my evaluation board , it works fine. I have
taken the ramdisk image from HHL. Can you help me in solving this issue.
Thanking you in advance
Regards
Aman
Below is the console output of my custom board
loaded at: 01000000 0134A1BC
zimage at: 01005970 010829D3
initrd at: 01083000 013465FE
avail ram: 00400000 00800000
Linux/PPC load: root=/dev/ram0 ramdisk_size=8192
Uncompressing Linux...done.
Now booting the kernel
Linux version 2.4.17_mvl21-ebony (root at hardhat) (gcc version 2.95.3 20010315
(release/MontaVista)) #146 Sun Nov 3 22:05:41 IST 2002
IBM Ebony port (C) 2002 MontaVista Software, Inc. (source at mvista.com)
On node 0 totalpages: 32768
zone(0): 4096 pages.
zone(1): 28672 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram0 ramdisk_size=8192
Warning: real time clock seems stuck!
Calibrating delay loop... 599.65 BogoMIPS
Memory: 124584k available (908k kernel code, 352k data, 68k init, 0k
highmem)
Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Disabling the Out Of Memory Killer
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
SERIAL_PCI enabled
ttyS00 at 0xfdfe9200 (irq = 0) is a 16550A
ttyS01 at 0xfdfe8300 (irq = 1) is a 16550A
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
eth0: Got bad Phy Read, missing MDIO pullup?
eth0: No PHY device found.
removing net dev
eth0: Got bad Phy Read, missing MDIO pullup?
eth0: No PHY device found.
removing net dev
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
IP-Config: No network devices available.
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 2829k freed
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 68k init
EXT2-fs error (device ramdisk(1,0)): ext2_check_page: bad entry in directory
#20: unaligned directory entry - offset=0, inode=4294967295, rec_len=65535,
name_len=255
Warning: unable to open an initial console.
EXT2-fs error (device ramdisk(1,0)): ext2_check_page: bad entry in directory
#104: unaligned directory entry - offset=0, inode=4294967295, rec_len=65535,
name_len=255
EXT2-fs error (device ramdisk(1,0)): ext2_check_page: bad entry in directory
#59: unaligned directory entry - offset=0, inode=620723148, rec_len=25099,
name_len=46
Kernel panic: No init found. Try passing init= option to kernel.
<0>Rebooting in 180 seconds..
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list