OUR NETWORK:TiVo Community TechLore Explore3DTV DVRplayground Dijit Community See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 263777.0
August 15, 2010 10:21 AM

Categories: OpenWRT

Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

Erez

Member
Joined: 07/02/2010

hello

i have a openwrt installed on WNR3500L, and i have mounted an external usb drive on it.

when trying to read from the disk, i randomly get segmentation fault, and kernel oops.

it does not matter which program access the drive. same behaviuor when reading a file with scp, rsync, dd, cat and even with unfs3 nfs server.

i looked at the openwrt forums, and they said that it is a driver bug which was solved when the change was made from white russian to kamikazee. however i am running kamikaze 8.09.2 (kernel 2.4.35.4)

below is the kernel log.

thanks,

erez.

Unhandled kernel unaligned access in unaligned.c::emulate_load_store_insn, line 481:
$0 : 00000000 1000bc01 00000000 ffffffff 00003fff 00002eb6 00000001 000001e8
$8 : 00000080 00000001 836a3c60 836444c0 ba2e8ba3 83e017bc 83e01794 00000400
$16: 819896fc 00002ea0 810f0988 00002eb6 8286b9e0 00000020 0000001f 00000000
$24: 00000000 8003ae34                   80b86000 80b87e18 80b87ed0 80026d68
Hi : 00000000
Lo : 00000025
epc   : 80025794    Tainted: P
Status: 1000bc03
Cause : 00000010
PrId  : 00019740
Process rsync (pid: 761, stackpage=80b86000)
Stack:    80b86000 c02692e0 00002e81 00000000 00002eb7 00002ea0 8286b9e0
 00000015 0002bc56 80026d68 c02dc940 c02dc8f8 00000001 80b86000 810f08b8
 8108b898 8286b9e0 819896fc 00002e82 00000000 81989640 800270d8 00000008
 800dfb84 2c8b04d2 c95ac4f7 8286ba00 80027744 00000001 00001000 8286ba00
 0003f040 00000000 0003f040 2acf4b48 8286ba00 2acf4b48 8286b9e0 00040b80
 80027900 ...
Call Trace:   [<c02692e0>] [<80026d68>] [<c02dc940>] [<c02dc8f8>] [<800270d8>]
 [<800dfb84>] [<80027744>] [<80027900>] [<c024388c>] [<80037be4>] [<80008a60>]

Code: 8c630010  10600009  00000000 <8c620008> 1450fffb  00000000  8c62000c  1453fff8  00001021

Discussion:    Add a Comment | Comments 1-9 of 9 | Latest Comment

August 15, 2010 5:14 PM

Self compiled kamikaze?
This bug can have so many reasons, that there is no definite answer for it, just check the header of emulate_load_store_insn, its about alignment.

Could be the toolchain that built the firmware or even some running processes that mess around in memory etc.

August 16, 2010 12:49 AM

Can you try with the built-in firmware available in this site?

August 16, 2010 1:18 AM

Tathagata Das said: Can you try with the built-in firmware available in this site?
I didn't compile anything. it is with the firmware from this site.

August 16, 2010 2:26 AM

What is file system of your USB drive ?

August 16, 2010 2:53 AM

The filesystem on the usbdrive is ext3

Note that the usb drive works perfectly if i connect it to a pc running ubuntu.

August 17, 2010 12:57 AM

I have never got such error while accessing USB driver using kamikaze-8.09.2 firmware. What is the size of the USB driver ? Can you try with another USB drive ?
Also give me the link of openwrt thread where you made the discussion regarding this issue.

August 17, 2010 1:22 AM

the link i found was for usbserial, which is not exactly what i use, but here it is:
https://dev.openwrt.org/ticket/779

i should also note that my root fs is mounted on the usbdrive.


cheers,
erez.

August 18, 2010 12:27 AM

mounting rootfs on usbdrive -- this is quite unusual.
The default firmware does not do this on its own. How do you do that ? Can you explain me the steps of doing this ?

August 22, 2010 1:32 PM

http://oldwiki.openwrt.org/OpenWrtDocs%282f%29KamikazeConfiguration%282f%29Bo...

Discussion:    Add a Comment | Back to Top | Comments 1-9 of 9 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window