Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Embedded

"rm -rf" stuck on pandaboard

 

 

Gentoo embedded RSS feed   Index | Next | Previous | View Threaded


dennis.yxun at gmail

Jul 19, 2011, 8:10 PM

Post #1 of 4 (762 views)
Permalink
"rm -rf" stuck on pandaboard

Hi ALL:
I'm running Gentoo on pandaboard, and doing pretty much heavy compiling
The problem here I meet is that after compile a few time, rm -rf
/var/tmp/portage/xxfile
got choked, here top command shows, CPU running 100:
17274 root 20 0 3800 620 472 R 100 0.1 75:39.92 rm
and kill -9 17274 won't help

More detail of what I'm doing
0) using usb-storage device as my root (yes, mount /dev/sda2 to / )

1) mount /var/tmp/portage as tmpfs,
tmpfs /var/tmp/portage tmpfs rw,size=1200M,nr_inodes=1M 0 0

2) using swap file
/swapfile none swap sw 0 0

3) using kernel from git://git.linaro.org/people/andygreen/kernel-tilt.git
commit 5b14e370cca884fa86471e909512f65b06dcaec2

4) kernel command paramater
[ 0.000000] Kernel command line: ro elevator=noop vram=32M root=/dev/sda2
rootwait fixrtc console=ttyO2,115200 mem=456M [at] 0x8000000 mem=512M [at] 0xA000000

Any suggestion? or any other info needed?

Dennis
Attachments: panda_config.txt (62.8 KB)
  panda_dmesg.txt (30.3 KB)
  panda_ps.txt (5.23 KB)
  panda_top.txt (1.69 KB)


manuel.lauss at googlemail

Jul 20, 2011, 2:04 PM

Post #2 of 4 (724 views)
Permalink
Re: "rm -rf" stuck on pandaboard [In reply to]

Hello,

On Wednesday, July 20, 2011, Dennis.Yxun <dennis.yxun [at] gmail> wrote:
> Hi ALL:
>    I'm running Gentoo on pandaboard, and doing pretty much heavy compiling
> The problem here I meet is that after compile a few time, rm -rf /var/tmp/portage/xxfile
> got choked, here top command shows,
[...]
> Any suggestion? or any other info needed

when it hang again do "echo t >/proc/sysrq-trigger" then check dmesg
and look for the hanging rm process. the stacktrace may give a clue
as to what's wrong.

Manuel


dennis.yxun at gmail

Jul 24, 2011, 12:49 AM

Post #3 of 4 (730 views)
Permalink
Re: "rm -rf" stuck on pandaboard [In reply to]

reproduce this bug again.
here is dmesg_log.txt
using the same commit, and kernel config file is omap4_defconfig

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND
3103 root 20 0 3856 748 488 R 100 0.1 179:23.35 rm


On Thu, Jul 21, 2011 at 5:04 AM, Manuel Lauss
<manuel.lauss [at] googlemail>wrote:

> Hello,
>
> On Wednesday, July 20, 2011, Dennis.Yxun <dennis.yxun [at] gmail> wrote:
> > Hi ALL:
> > I'm running Gentoo on pandaboard, and doing pretty much heavy
> compiling
> > The problem here I meet is that after compile a few time, rm -rf
> /var/tmp/portage/xxfile
> > got choked, here top command shows,
> [...]
> > Any suggestion? or any other info needed
>
> when it hang again do "echo t >/proc/sysrq-trigger" then check dmesg
> and look for the hanging rm process. the stacktrace may give a clue
> as to what's wrong.
>
> Manuel
>
>
Attachments: dmesg_rm1.txt (61.9 KB)


manuel.lauss at googlemail

Jul 24, 2011, 1:43 AM

Post #4 of 4 (737 views)
Permalink
Re: "rm -rf" stuck on pandaboard [In reply to]

On Sun, Jul 24, 2011 at 9:49 AM, Dennis.Yxun <dennis.yxun [at] gmail> wrote:
> reproduce this bug again.
> here is dmesg_log.txt
> using the same commit, and kernel config file is omap4_defconfig
>
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
> COMMAND
>  3103 root      20   0  3856  748  488 R  100  0.1 179:23.35 rm

It doesn't look like it's hanging, rm is still being scheduled and busily
working on the FS. You should report this bug to the kernel list
(try latest -git sources first).

Good luck,
Manuel

Gentoo embedded RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.