Skip to contentSkip to conversation

ext4 unknown problem

DISCUSSION [email protected] 3 participants 4 messages Jul 31, 2012 – Aug 1, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 613523755.179491343719039762.JavaMail.root@shiva

#1 lore raw

Hi,
dmesg is probably useles:

Probably some logs after mounting...:

# dmesg | grep EXT
EXT3-fs (md2): mounted filesystem with ordered data mode
EXT3-fs (md2): using internal journal
EXT3-fs (dm-2): using internal journal
EXT3-fs (dm-2): mounted filesystem with ordered data mode
EXT4-fs (dm-8): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (dm-12): mounted filesystem without journal. Opts: (null)
EXT4-fs (dm-8): re-mounted. Opts: commit=0
EXT4-fs (dm-3): re-mounted. Opts: commit=0
EXT4-fs (dm-12): re-mounted. Opts: commit=0
EXT4-fs (dm-28): mounted filesystem with ordered data mode. Opts: (null)
EXT3-fs (dm-10): using internal journal
EXT3-fs (dm-10): mounted filesystem with ordered data mode

On last few lines, there is some info about usb key used on thic pc:

# dmesg | tail -n 30
sd 14:0:0:0: [sdg] Asking for cache data failed
sd 14:0:0:0: [sdg] Assuming drive cache: write through
 sdg: sdg1
sd 14:0:0:0: [sdg] Asking for cache data failed
sd 14:0:0:0: [sdg] Assuming drive cache: write through
sd 14:0:0:0: [sdg] Attached SCSI disk
mdadm: sending ioctl 1261 to a partition!
mdadm: sending ioctl 1261 to a partition!
usb 2-4.4: USB disconnect, device number 10
hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
usb 1-1: new high-speed USB device number 2 using ehci_hcd
usb 1-1: New USB device found, idVendor=0951, idProduct=1687
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: DT R400
usb 1-1: Manufacturer: Kingston
usb 1-1: SerialNumber: 0018F30C7FX10B000XX029
scsi15 : usb-storage 1-1:1.0
scsi 15:0:0:0: Direct-Access     Kingston DT R400          PMAP PQ: 0 ANSI: 0 CCS
sd 15:0:0:0: Attached scsi generic sg6 type 0
sd 15:0:0:0: [sdg] 7774208 512-byte logical blocks: (3.98 GB/3.70 GiB)
sd 15:0:0:0: [sdg] Write Protect is off
sd 15:0:0:0: [sdg] Mode Sense: 23 00 00 00
sd 15:0:0:0: [sdg] No Caching mode page present
sd 15:0:0:0: [sdg] Assuming drive cache: write through
sd 15:0:0:0: [sdg] No Caching mode page present
sd 15:0:0:0: [sdg] Assuming drive cache: write through
 sdg: sdg1 sdg2
sd 15:0:0:0: [sdg] No Caching mode page present
sd 15:0:0:0: [sdg] Assuming drive cache: write through
sd 15:0:0:0: [sdg] Attached SCSI removable disk

Other lines from dmesg seems not relevant. Should I post them too?

PS: Writing to disk from jbd2/dm-3-8 still active (iotop shows it still on top of I/O activity).

LuVar

Quoted 20 lines · ----- "Theodore Ts'o
Quoted 2 lines · LuVar

Hi,
I have seriouse issue here. I have copyied about 7GB files to one of

my ext4 partitions and from that point of time there is sustained write to that partition from jbd2/dm-3-8 process. I have lunched "sudo sync" command (about day ago :) and a few hours a after sync start, I have tryied to use umount on that partition... Booth of them are still running...

Quoted 2 lines

I have no serious data there, but if I could be helpfull in

bugreport, give me some info what to do.

Try running the dmesg command, and see if there's anything interesting
there. If you're not sure if it's interesting, send it to us and we can take a quick look at it.

Regards,

- Ted

#2 lore raw
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).

And there were no OOPS or BUG or WARN messages in your dmesg?

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 cat /sys/kernel/debug/tracing/trace_pipe

If these commands don't work try running this command and see if it works then:

mount -t debugfs debugfs /sys/kernel/debug

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.

Regards,

- Ted

#3 lore raw
In reply to [email protected]
Quoted 5 lines · On 7/31/12 2:18 AM, [email protected] wrote:

Hi,
dmesg is probably useles:

Probably some logs after mounting...:

Quoted 11 lines
# dmesg | grep EXT
EXT3-fs (md2): mounted filesystem with ordered data mode
EXT3-fs (md2): using internal journal
EXT3-fs (dm-2): using internal journal
EXT3-fs (dm-2): mounted filesystem with ordered data mode
EXT4-fs (dm-8): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (dm-12): mounted filesystem without journal. Opts: (null)
EXT4-fs (dm-8): re-mounted. Opts: commit=0
EXT4-fs (dm-3): re-mounted. Opts: commit=0
EXT4-fs (dm-12): re-mounted. Opts: commit=0

^^^ um, what's that all about?

In theory, according to the docs, that's the same as the default, I guess.

and:

                } else if (token == Opt_commit) {
                        if (arg == 0)
                                arg = JBD2_DEFAULT_MAX_COMMIT_AGE;

ok, I guess it is.

Quoted 9 lines

EXT4-fs (dm-28): mounted filesystem with ordered data mode. Opts: (null) EXT3-fs (dm-10): using internal journal
EXT3-fs (dm-10): mounted filesystem with ordered data mode

On last few lines, there is some info about usb key used on thic pc:

# dmesg | tail -n 30
sd 14:0:0:0: [sdg] Asking for cache data failed
sd 14:0:0:0: [sdg] Assuming drive cache: write through

...

Quoted 1 line

Other lines from dmesg seems not relevant. Should I post them too?

Usually best to post all the data and let us sort it out, yes.

-Eric

Quoted 31 lines

PS: Writing to disk from jbd2/dm-3-8 still active (iotop shows it still on top of I/O activity).

LuVar

Quoted 12 lines · ----- "Theodore Ts'o
Quoted 2 lines · LuVar

Hi,
I have seriouse issue here. I have copyied about 7GB files to one of

my ext4 partitions and from that point of time there is sustained write to that partition from jbd2/dm-3-8 process. I have lunched "sudo sync" command (about day ago :) and a few hours a after sync start, I have tryied to use umount on that partition... Booth of them are still running...

Quoted 2 lines

I have no serious data there, but if I could be helpfull in

bugreport, give me some info what to do.

Quoted 8 lines

Try running the dmesg command, and see if there's anything interesting
there. If you're not sure if it's interesting, send it to us and we can take a quick look at it.

Regards,

- Ted

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#4 lore raw

Hi,

Quoted 13 lines · ----- "Eric Sandeen
Quoted 11 lines · On 7/31/12 2:18 AM, [email protected] wrote:

Hi,
dmesg is probably useles:

Probably some logs after mounting...:

# dmesg | grep EXT
EXT3-fs (md2): mounted filesystem with ordered data mode
EXT3-fs (md2): using internal journal
EXT3-fs (dm-2): using internal journal
EXT3-fs (dm-2): mounted filesystem with ordered data mode
EXT4-fs (dm-8): mounted filesystem with ordered data mode. Opts:

(null)

Quoted 8 lines
Quoted 1 line

EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts:

(null)

Quoted 4 lines

EXT4-fs (dm-12): mounted filesystem without journal. Opts: (null) EXT4-fs (dm-8): re-mounted. Opts: commit=0
EXT4-fs (dm-3): re-mounted. Opts: commit=0
EXT4-fs (dm-12): re-mounted. Opts: commit=0

^^^ um, what's that all about?

That is some info about startup mounted filesystems. I have about 10-15 mountpoints.

Quoted 20 lines

In theory, according to the docs, that's the same as the default, I guess.

and:

                } else if (token == Opt_commit) {
                        if (arg == 0)
                                arg = JBD2_DEFAULT_MAX_COMMIT_AGE;

ok, I guess it is.

Quoted 1 line

EXT4-fs (dm-28): mounted filesystem with ordered data mode. Opts:

(null)

Quoted 4 lines

EXT3-fs (dm-10): using internal journal
EXT3-fs (dm-10): mounted filesystem with ordered data mode

On last few lines, there is some info about usb key used on thic

pc:

Quoted 1 line
Quoted 8 lines
Quoted 3 lines
# dmesg | tail -n 30
sd 14:0:0:0: [sdg] Asking for cache data failed
sd 14:0:0:0: [sdg] Assuming drive cache: write through

...

Quoted 1 line

Other lines from dmesg seems not relevant. Should I post them too?

Usually best to post all the data and let us sort it out, yes.

I have posted it a few minutes ago, but for comfort, my full dmesg is here:
http://dawn.ynet.sk/~luvar/asdf/20120801_1024_dmesg

Quoted 30 lines

-Eric

Quoted 1 line

PS: Writing to disk from jbd2/dm-3-8 still active (iotop shows it

still on top of I/O activity).

Quoted 8 lines

LuVar

Quoted 3 lines · ----- "Theodore Ts'o
Quoted 2 lines · LuVar

Hi,
I have seriouse issue here. I have copyied about 7GB files to one

of

Quoted 2 lines
Quoted 2 lines

my ext4 partitions and from that point of time there is sustained write to that partition from jbd2/dm-3-8 process. I have lunched

"sudo

Quoted 1 line
Quoted 1 line

sync" command (about day ago :) and a few hours a after sync start,

I

Quoted 1 line
Quoted 1 line

have tryied to use umount on that partition... Booth of them are

still

Quoted 8 lines
Quoted 8 lines

running...

Quoted 2 lines

I have no serious data there, but if I could be helpfull in

bugreport, give me some info what to do.

Try running the dmesg command, and see if there's anything interesting
there. If you're not sure if it's interesting, send it to us and

we

Quoted 11 lines
Quoted 7 lines
Quoted 5 lines

can take a quick look at it.

Regards,

- Ted

--
To unsubscribe from this list: send the line "unsubscribe

linux-ext4" in

Quoted 3 lines

the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

By,
--
LuVar