|
我将yaffs(从http://www.aleph1.co.uk上最近下载的愿代码)移植到2.6.17内核,并成功启动YAFFS文件系统,但是有一个问题:
如果我新建一个有内容的文件,再执行rm操作的时候,会报错.而对于空文件则不会.请问这是什么原因啊?
问题信息如下:
# echo "sadf sd" >ddd
# rm -f ddd
Break instruction in kernel code[#1]:
Cpu 0
$ 0 : 00000000 10008400 00000001 00000000
$ 4 : 8333c688 00000000 00000001 00000000
$ 8 : 803c0000 80379934 00000001 12c36400
$12 : 00000010 03a00000 83119890 831198b0
$16 : 8333c5ac 801828e4 837f87dc 81093000
$20 : 00000003 0047d55c 1000a2f0 1000a2b0
$24 : 00000000 800f13b0
$28 : 83118000 83119e88 1000a2e0 800f0d38
Hi : 00000010
Lo : 0000098e
epc : 800f0d44 Tainted: P
ra : 800f0d38 Status: 10008403 KERNEL EXL IE
Cause : 10800024
PrId : 00061200
Modules linked in: mousedev usbhid usb_storage ehci_hcd ohci_hcd phStbFB phStbDspMem phStbFBRead phStbVideoRenderer phStbVideoRenderer_Layer phStbStreamingSystem phStbDraw snd_usb_audio snd_usb_lib usbcore snd_rawmidi snd_seq_device snd_hwdep snd_pcm_oss snd_mixer_oss phStbAudio snd_pcm snd_timer snd soundcore snd_page_alloc phStbGpio phStbRTC phStbDP phStbRpc phStbDbg denc2l saa8510 ak470x analog_backend i2c_algo_IP0105 i2c_algo_IP3203 phStbMmio fusion phStbDspInfo phStbProc lud_pnx8550 lud_core
Process rm (pid: 743, threadinfo=83118000, task=831c3c00)
Stack : 83119ed0 0047d55c 8333c5ac 801828e4 8333c5ac 800f1340 7fb24e07 800e1b70
ffffffeb 00000008 00000000 8333c5ac 800e5cd4 800e5cd4 800dd248 7fb246e0
10008400 83119f30 81156380 803eb2a0 0023da0a 00000003 81093000 00000010
00000000 00000000 00000000 800637d4 00000008 00000000 477990e1 00000000
7fb24d3c 00000008 7fb24e07 00000008 7fb24d3c 00000008 7fb24e07 00000008
...
Call Trace: [<801828e4>] [<800f1340>] [<800e1b70>] [<800e5cd4>] [<800e5cd4>] [<800dd248>] [<800637d4>] [<8006b560>] [<8006b560>]
Code: 8e0200c8 10400002 00000000 <0200000d> 8e030120 30620010 14400003 30620020 0200000d
Segmentation fault |
|