ext4 unknown problem
Hi,
Quoted 7 lines · ----- "Theodore Ts'o
Quoted 1 line · On Tue, Jul 31, 2012 at 08:18:42AM +0100, [email protected] wrote:
usb 2-4.4: USB disconnect, device number 10
So what's this? Is this at all related to how you've created your RAID device? You haven't told us what your RAID device on dm-3 is composed of (i.e., what are the underlying devices).
My raid is on top of five physical sata disc. That usb messages are related to usb keys which I have used on that PC.
Quoted 2 lines
And there were no OOPS or BUG or WARN messages in your dmesg?
My full dmesg is here:
http://dawn.ynet.sk/~luvar/asdf/20120801_1024_dmesg
Quoted 7 lines
Quoted 1 line
PS: Writing to disk from jbd2/dm-3-8 still active (iotop shows it
still on top of I/O activity).
I'm not sure if your kernel has trace debugging enabled, or if you have debugfs mounted, but try this:
echo 1 >
/sys/kernel/debug/tracing/events/jbd2/jbd2_run_stats/enable
File does not exist... (if there is something to turn on in kernel config, I could do that for future...)
Quoted 1 line
cat
/sys/kernel/debug/tracing/trace_pipe
again, file does not exist.
Quoted 5 lines
If these commands don't work try running this command and see if it works then:
mount -t debugfs debugfs
/sys/kernel/debug
file does not exist (debug directory), but when I have tryied to mount it to /mnt/usbsticke dir, it has failed with unknown filesystem type (again, should I for future turn something on in kernel config?).
Quoted 7 lines
Let us know if you see jbd2 activity. It's possible that sync isn't returning because some process is still writing to the file system, and if I recall correctly, Linux 3.2 didn't have some of the sync livelock fixes that could cause sync to not return until the file system had actually quieted down completely.
Yes, still there is activity (first few lines from iotop):
Total DISK READ: 0.00 B/s | Total DISK WRITE: 134.97 K/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND
17873 be/3 root 0.00 B/s 0.00 B/s 0.00 % 64.84 % [jbd2/dm-3-8]
Quoted 3 lines
Regards,
- Ted
Have a nice day,
--
LuVar
Quoted 2 lines · LuVar
File does not exist... (if there is something to turn on in kernel config, I could do that for future...)
The options you need to enable to use ftrace are:
CONFIG_FUNCTION_TRACER
CONFIG_FUNCTION_GRAPH_TRACER
CONFIG_STACK_TRACER
CONFIG_DYNAMIC_FTRACE
There's a pretty good tutorial here: http://lwn.net/Articles/365835/
If you are willing to compile your own kernel, can you try going to the latest 3.5 kernel and see if the problem still affects you there?
- Ted