Modify

Opened 7 years ago

Closed 5 years ago

#8472 closed defect (worksforme)

Kernel oops during rm -r directory

Reported by: dozminkowski@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

I created a virtualenv on my laptop. Then scp it to openwrt. Then wanted to get rid of it, so I rm -r directory and was presented with Segmentation Fault.
Here's what logread says about it:

Dec 17 13:14:59 OpenWrt user.alert kernel: CPU 0 Unable to handle kernel paging request at virtual address 0000006e, epc == 800ec478, ra == 8012f420
Dec 17 13:14:59 OpenWrt user.warn kernel: Oops[#1]:
Dec 17 13:14:59 OpenWrt user.warn kernel: Cpu 0
Dec 17 13:14:59 OpenWrt user.warn kernel: $ 0   : 00000000 00000001 00000000 00000000
Dec 17 13:14:59 OpenWrt user.warn kernel: $ 4   : 8094e080 00000005 00000001 00000005
Dec 17 13:14:59 OpenWrt user.warn kernel: $ 8   : 802bc6e0 81680ee8 81680dc8 81700510
Dec 17 13:14:59 OpenWrt user.warn kernel: $12   : 8140f3a8 4d0b43dc 00000000 8140f558
Dec 17 13:14:59 OpenWrt user.warn kernel: $16   : 80280000 00000000 8094e080 80947900
Dec 17 13:14:59 OpenWrt user.warn kernel: $20   : 8094e480 81068000 81673b08 00000002
Dec 17 13:14:59 OpenWrt user.warn kernel: $24   : 00000000 00000000                  
Dec 17 13:14:59 OpenWrt user.warn kernel: $28   : 80f52000 80f53e38 00480000 8012f420
Dec 17 13:14:59 OpenWrt user.warn kernel: Hi    : 000004e4
Dec 17 13:14:59 OpenWrt user.warn kernel: Lo    : 00000133
Dec 17 13:14:59 OpenWrt user.warn kernel: epc   : 800ec478 0x800ec478
Dec 17 13:14:59 OpenWrt user.warn kernel:     Not tainted
Dec 17 13:14:59 OpenWrt user.warn kernel: ra    : 8012f420 0x8012f420
Dec 17 13:14:59 OpenWrt user.warn kernel: Status: 1000dc03    KERNEL EXL IE 
Dec 17 13:14:59 OpenWrt user.warn kernel: Cause : 00800008
Dec 17 13:14:59 OpenWrt user.warn kernel: BadVA : 0000006e
Dec 17 13:14:59 OpenWrt user.warn kernel: PrId  : 00019374 (MIPS 24Kc)
Dec 17 13:14:59 OpenWrt user.warn kernel: Modules linked in: fuse nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppoe
Dec 17 13:14:59 OpenWrt user.warn kernel: Process rm (pid: 1538, threadinfo=80f52000, task=817e0000, tls=00000000)
Dec 17 13:14:59 OpenWrt user.warn kernel: Stack : 802853fc 00000003 80280000 00000000 80280000 00000000 8094e080 8012f420
Dec 17 13:14:59 OpenWrt user.warn kernel:         00000000 8094e480 8094e480 8094e480 81068000 004840f8 fffffff0 8094e480
Dec 17 13:14:59 OpenWrt user.warn kernel:         81068000 004840f8 00000004 ffffffff 00407fcc 800e3224 00485100 fffffff0
Dec 17 13:14:59 OpenWrt user.warn kernel:         80f53ec4 00485100 00000000 8094e480 00485100 800e50c4 819e4b80 40000010
Dec 17 13:14:59 OpenWrt user.warn kernel:         80a37d68 8094e480 80790000 810e0c80 80947e00 018c611c 00000004 8079001d
Dec 17 13:14:59 OpenWrt user.warn kernel:         ...
Dec 17 13:14:59 OpenWrt user.warn kernel: Call Trace:[<8012f420>] 0x8012f420
Dec 17 13:14:59 OpenWrt user.warn kernel: [<800e3224>] 0x800e3224
Dec 17 13:14:59 OpenWrt user.warn kernel: [<800e50c4>] 0x800e50c4
Dec 17 13:14:59 OpenWrt user.warn kernel: [<800d6ef0>] 0x800d6ef0
Dec 17 13:14:59 OpenWrt user.warn kernel: [<800d6fa8>] 0x800d6fa8
Dec 17 13:14:59 OpenWrt user.warn kernel: [<80062544>] 0x80062544
Dec 17 13:14:59 OpenWrt user.warn kernel: Code: afb00010  8c82000c  8c830000 <9442006e> 3042f000  38424000  2c520001  24020001  14620005 
Dec 17 13:14:59 OpenWrt user.warn kernel: Disabling lock debugging due to kernel taint
Dec 17 13:15:12 OpenWrt user.alert kernel: CPU 0 Unable to handle kernel paging request at virtual address 0000006e, epc == 800ec478, ra == 8012f420
Dec 17 13:15:12 OpenWrt user.warn kernel: Oops[#2]:
Dec 17 13:15:12 OpenWrt user.warn kernel: Cpu 0
Dec 17 13:15:12 OpenWrt user.warn kernel: $ 0   : 00000000 00000001 00000000 00000000
Dec 17 13:15:12 OpenWrt user.warn kernel: $ 4   : 80ce9b80 00000005 00000001 00000005
Dec 17 13:15:12 OpenWrt user.warn kernel: $ 8   : 802bc6e0 00001000 00000000 81c18008
Dec 17 13:15:12 OpenWrt user.warn kernel: $12   : fffffeff 4d0b43c0 00000000 00480000
Dec 17 13:15:12 OpenWrt user.warn kernel: $16   : 80280000 00000000 80ce9b80 80be0600
Dec 17 13:15:12 OpenWrt user.warn kernel: $20   : 80ce9a00 809c53a8 80927b08 00000002
Dec 17 13:15:12 OpenWrt user.warn kernel: $24   : 0047d1ec 00000000                  
Dec 17 13:15:12 OpenWrt user.warn kernel: $28   : 81c18000 81c19e38 00480000 8012f420
Dec 17 13:15:12 OpenWrt user.warn kernel: Hi    : 000000c9
Dec 17 13:15:12 OpenWrt user.warn kernel: Lo    : 00000133
Dec 17 13:15:12 OpenWrt user.warn kernel: epc   : 800ec478 0x800ec478
Dec 17 13:15:12 OpenWrt user.warn kernel:     Tainted: G      D   
Dec 17 13:15:12 OpenWrt user.warn kernel: ra    : 8012f420 0x8012f420
Dec 17 13:15:12 OpenWrt user.warn kernel: Status: 1000dc03    KERNEL EXL IE 
Dec 17 13:15:12 OpenWrt user.warn kernel: Cause : 00800008
Dec 17 13:15:12 OpenWrt user.warn kernel: BadVA : 0000006e
Dec 17 13:15:12 OpenWrt user.warn kernel: PrId  : 00019374 (MIPS 24Kc)
Dec 17 13:15:12 OpenWrt user.warn kernel: Modules linked in: fuse nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppoe
Dec 17 13:15:12 OpenWrt user.warn kernel: Process rm (pid: 1540, threadinfo=81c18000, task=817e0000, tls=00000000)
Dec 17 13:15:12 OpenWrt user.warn kernel: Stack : 802853fc 00000003 80280000 00000000 80280000 00000000 80ce9b80 8012f420
Dec 17 13:15:12 OpenWrt user.warn kernel:         00000000 80ce9a00 80ce9a00 80ce9a00 809c53a8 004840f8 fffffff0 80ce9a00
Dec 17 13:15:12 OpenWrt user.warn kernel:         809c53a8 004840f8 00000004 ffffffff 00407fcc 800e3224 00485100 fffffff0
Dec 17 13:15:12 OpenWrt user.warn kernel:         81c19ec4 00485100 00000000 80ce9a00 00485100 800e50c4 81d60d80 40000010
Dec 17 13:15:12 OpenWrt user.warn kernel:         809c54e0 80ce9a00 805e5000 810e0c80 80be0400 7e0c97d1 0000000a 805e5015
Dec 17 13:15:12 OpenWrt user.warn kernel:         ...
Dec 17 13:15:12 OpenWrt user.warn kernel: Call Trace:[<8012f420>] 0x8012f420
Dec 17 13:15:12 OpenWrt user.warn kernel: [<800e3224>] 0x800e3224
Dec 17 13:15:12 OpenWrt user.warn kernel: [<800e50c4>] 0x800e50c4
Dec 17 13:15:12 OpenWrt user.warn kernel: [<800d6ef0>] 0x800d6ef0
Dec 17 13:15:12 OpenWrt user.warn kernel: [<800d6fa8>] 0x800d6fa8
Dec 17 13:15:12 OpenWrt user.warn kernel: [<80062544>] 0x80062544
Dec 17 13:15:12 OpenWrt user.warn kernel: Code: afb00010  8c82000c  8c830000 <9442006e> 3042f000  38424000  2c520001  24020001  14620005

Also:
uname -a:
Linux OpenWrt 2.6.32.25 #3 Sun Dec 5 18:38:23 CET 2010 mips GNU/Linux
and
rm --version:
rm (GNU coreutils) 7.4

I run a modified image by Cezary (aka obsy) based on Backfire development branch. I think it was synchronized with r24263 at the moment when I downloaded his image.

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by anonymous

I forgot: it's TPLink WR-1043ND with extroot on a 2,5" 50 GB disk.
If there's any more info needed, pls email me.

comment:2 Changed 7 years ago by dozminkowski@…

Another update. rm worked fine when I plugged the disk into my laptop. Actually I had to sudo rm -rf directory.

comment:3 Changed 7 years ago by dozminkowski@…

Another thing I forgot to mention: I have a 512 MB swap partition on that disk. Here's an example of free output:

{{{ total used free shared buffers

Mem: 29508 25336 4172 0 5052

Swap: 522072 3652 518420

Total: 551580 28988 522592 }}}

comment:4 Changed 5 years ago by florian

  • Resolution set to worksforme
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.