Summary: | mount invokes oom-killer while mount the dvd drive sometimes | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jimmy Kloss <jimmy.kloss> |
Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED NEEDINFO | ||
Severity: | critical | CC: | base-system |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
syslog output syslog output (this time with content) the "evil" mount script |
Description
Jimmy Kloss
2009-08-29 11:12:26 UTC
Created attachment 202589 [details]
emerge --info
Created attachment 202590 [details]
syslog output
Created attachment 202592 [details]
syslog output (this time with content)
So.. stop using this custom script and use mount(8) ? (In reply to comment #4) > So.. stop using this custom script and use mount(8) ? > The script uses mount(8) it's just a for-loop to be faster. And yes, it also happened by typing it manually in a terminal with mount(8) and pmount(1). The deal i recognized it while using the script simply boils down to the fact that it happens rarely and the script is intended to copy alot of CDs/DVDs in a role. So the probability to hit the bug raises and every now and then... KABOOM. Created attachment 204006 [details]
the "evil" mount script
I attach the script so everyone has the chance to blame a specific line in it.
Anyone have any good ideas for debugging this problem? It seems that hal is involved here somehow. The following commands give similar result. hal-disable-polling --device /dev/scd0 hal-disable-polling --enable-polling --device /dev/scd0 i dont imagine the OOM is immediate. why not start a new terminal and run: while ps auxOR | tail ; do :; done then run your test mount command and go back to the terminal and see what sucks up the memory btw, you might want to enable magic sysrq in your kernel. that makes it easy to kill all processes and remount disks safely with a few key strokes. |