Ext2-fs error(ramdisk (1,2))

hi folks,

These days I am confuesed by a problems. My system base on a MIPS R3000a core SOC. and the Linux is base on the kernel version-2.4.18. SDRAM size is

64Megabytes, the AMD nand-flash size is 16Megabytes.

And the kernel configuration supporting 8M ramdisk, and I have created a 8M ramdisk for the rootfs & Linux image usages. After system bootup,

# uname -a Linux (none) 2.4.18-mips #19 Wed Sep 17 01:14:52 CST 2003 mips unknown # free total used free shared buffers Mem: 62732 12820 49912 0 100 Swap: 0 0 0 Total: 62732 12820 49912 # df Filesystem 1k-blocks Used Available Use% Mounted on /dev/rd/0 7931 3720 4211 47% / #

Then, I creat a 8M ramdisk for the testing-aim. # mke2fs /dev/ram2 8192 mke2fs 1.25 (20-Sep-2001) Filesystem label= OS type: Linux Block size=1024 (log=0) Fragment size=1024 (log=0)

2048 inodes, 8192 blocks 409 blocks (4.99%) reserved for the super user First data block=1 1 block group 8192 blocks per group, 8192 fragments per group 2048 inodes per group

Writing inode tables: done Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 26 mounts or

180 days, whichever comes first. Use tune2fs -c or -i to override. # tune2fs -c 1024 /dev/ram2 tune2fs 1.25 (20-Sep-2001) Setting maximal mount count to 1024

The next step is to mount the ramdisk to a local directory. after this done. I will creat a file in this ramdisk.

dd if=/dev/zero of=./tt bs=1k count=6000 EXT2-fs error (device ramdisk(1,2)): ext2_get_group_desc: Group descriptor not l oaded - block_group = 0, group_desc = 0, desc = 0 Unable to handle kernel paging request at virtual address 00000010, epc ==

80030 5b0, ra == 800d5adc Oops in fault.c:do_page_fault, line 204: $0 : 00000000 1000fc00 810f3280 00000001 810f3270 000001f0 00000000 1000fc01 $8 : 8373cef4 8019e930 800d39c8 00000003 00000000 00000000 0000000d 00000000 $16: 810f3270 810f3278 000001f0 00000002 00000000 838ddf20 00000000 0048df90 $24: 00000000 2ab15060 838dc000 838dde68 7fff6d68 800d5adc Hi : 00000000 Lo : 00000d20 epc : 800305b0 Not tainted Status: 1000fc00 Cause : 10000008 Process klogd (pid: 41, stackpage=838dc000) Stack: 8005afd0 8021add0 1001aa44 10018fc5 8373ced8 00000001 00000001 800d5adc 838addf0 8005c158 00000000 00000000 8373ced8 8373ced8 802fcba8 8014f910 8373cdc0 8005b7c8 838addf0 800d341c 8373ced8 ffffff84 8014fa70 800d2cc0 1001aa44 10018fc5 8001ef84 10016c00 800d3924 80010d04 8018fdd0 00000000 00000000 2aaf99b4 ffffffff 00000002 00000085 00000002 00000016 10018fc5 800d39dc ... Call Trace: [] [] [] [] [] [] [] [] [] [] [] [] []

Code: 00000000 10d1002c 26020010 8cc40014 24420001 acc20010

8e03 0018 00041080 Unable to handle kernel paging request at virtual address 00000000, epc == 00000 000, ra == 80007840 Oops in fault.c:do_page_fault, line 204: $0 : 00000000 1000fc01 00000000 00000000 00000002 00000000 801d7d20 800cb1e0 $8 : b400240c 00000001 00000c00 00000001 2aaef920 00000000 00000000 00000000 $16: 810f58a0 00000001 00000002 802e47e4 801d7d20 00000002 00000fff 80365980 $24: 00000000 2ab30740 801d6000 801d7cd0 80365000 80007840 Hi : 0000014e Lo : 00069eb8 epc : 00000000 Not tainted Status: 1000fc04 Cause : 10000008 Process dd (pid: 889, stackpage=801d6000) Stack: 00000000 8001be18 802e4800 80017ab0 8019e020 810f58a0 00000002 fffffffb 801d7d20 80007b6c 801abd60 00000000 8373cbe0 0000153a 00000000 80369860 00000000 801d7e1a 1000fc01 800cb494 00000400 8006fb20 810f1dc4 0000153a 8373cd5c 8373cd58 00000000 1000fc00 b4000088 00000088 80369860 00000008 c0000000 000006fa 00000064 00000000 00000001 00000003 2aaef920 00000000 00000000 ... Call Trace: [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []

Code:

- Best Regards,

Lu Tao L&S Platform Technologies Inc. Phone: +86-10-62967770 ext.290 CELL: +86-139 1093 8570 MAIL: snipped-for-privacy@ls-china.com.cn

Reply to
taolu
Loading thread data ...

All,

Maybe the error is led by the SDRAM HW mistake.

lawrence

8M
1000fc01
00000000
0048df90
800d5adc
[]
800cb1e0
00000000
80365980
80007840
[]
Reply to
Lawrence Lew

Dear all,

I have handled this problem, and the error is carried by the SDRAM HW design. The SDRAM physical address is not a continous one for the HW design. After re-map the address, all work well now.

regards

Lawrence

8M
1000fc01
00000000
0048df90
800d5adc
[]
800cb1e0
00000000
80365980
80007840
[]
Reply to
Lawrence Lew

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.