Skip to contentSkip to conversation

wanted X found X-1 but you got X-2

DISCUSSION Adi 4 participants 8 messages Jul 29, 2010 – Aug 5, 2010 Btrfs file system

lore
Share & tools
lore

Adi

author
#0 lore raw

hi,
i have a problem with mounting a btrfspartition. i think it corrupted somehow. btrfsck also didn't work. here is the demesg output, if i try to btrfsck it:

***********************************

device-mapper: ioctl: unable to remove open device temporary-cryptsetup-2466 device fsid 184f65b363e9d585-fc67ce9a295b44a3 devid 1 transid 103380 /dev/dm-1
end_request: I/O error, dev fd0, sector 0
device fsid 184f65b363e9d585-fc67ce9a295b44a3 devid 1 transid 103380 /dev/mapper/vg2-root parent transid verify failed on 5403553792 wanted 103380 found 103378

------------[ cut here ]------------
kernel BUG at fs/btrfs/async-thread.c:602!
invalid opcode: 0000 [#1] SMP 
last sysfs file: /sys/devices/virtual/bdi/btrfs-1/uevent
Modules linked in: sha256_generic serpent dm_crypt ipv6 arc4 ecb ath5k cm4000_cs ppdev mac80211 iTCO_wdt iTCO_vendor_support parport_pc ath video thinkpad_acpi yenta_socket parport i2c_i801 output rsrc_nonstatic cfg80211 joydev i2c_core pcspkr rfkill raid10 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx raid1 raid0 multipath linear e100 mii floppy

Pid: 2501, comm: kcryptd Not tainted 2.6.34.01-alt158-i386 #2 2373189/2373189
EIP: 0060:[<c06cee9a>] EFLAGS: 00010046 CPU: 0
EIP is at btrfs_queue_worker+0xe7/0x1f8
EAX: 00000000 EBX: f53ea04c ECX: 00000000 EDX: 00000000
ESI: 00000000 EDI: f63bc5c0 EBP: f51e7e34 ESP: f51e7e14
DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Process kcryptd (pid: 2501, ti=f51e6000 task=f51e9520 task.ti=f51e6000)

Stack:
 00000206 f53ea070 00000246 f53ea068 f53ea088 f53e8000 f516cd60 00000000
<0> f51e7e40 c06abcc1 f520b850 f51e7e48 c04e804e f51e7e64 c0851a40 00000000
<0> f526df80 f526dc80 00000000 f5365790 f51e7e84 c0851bb5 f520b850 f5214000
Call Trace:
 [<c06abcc1>] ? end_workqueue_bio+0x56/0x59
 [<c04e804e>] ? bio_endio+0x22/0x24
 [<c0851a40>] ? dec_pending+0x124/0x12b
 [<c0851bb5>] ? clone_endio+0x96/0x9e
 [<c04e804e>] ? bio_endio+0x22/0x24
 [<c0851a40>] ? dec_pending+0x124/0x12b
 [<c0851bb5>] ? clone_endio+0x96/0x9e
 [<c04e804e>] ? bio_endio+0x22/0x24
 [<fa376677>] ? 0xfa376677
 [<fa376ece>] ? 0xfa376ece
 [<c0448c51>] ? worker_thread+0x14c/0x251
 [<c0448c93>] ? worker_thread+0x18e/0x251
 [<c0448c51>] ? worker_thread+0x14c/0x251
 [<fa376c12>] ? 0xfa376c12
 [<c044c1c1>] ? autoremove_wake_function+0x0/0x2f
 [<c0448b05>] ? worker_thread+0x0/0x251
 [<c044be5e>] ? kthread+0x6a/0x6f
 [<c044bdf4>] ? kthread+0x0/0x6f
 [<c0403abe>] ? kernel_thread_helper+0x6/0x10
Code: 00 00 89 d8 e8 0e fe ff ff e9 65 ff ff ff 8b 43 1c 31 d2 3b 45 ec 8b 73 24 0f 95 c2 f7 da 21 d0 3b 75 e4 75 02 89 c6 85 f6 75 04 <0f> 0b eb fe 83 ee 14 3e ff 46 20 8b 55 e8 8b 45 f0 e8 81 ef 24 
EIP: [<c06cee9a>] btrfs_queue_worker+0xe7/0x1f8 SS:ESP 0068:f51e7e14
---[ end trace 2d2977bc6fb46ae8 ]---

***********************************

that was on a sysrescuecd 1.5.8.
i'll try the new git-version, lets see what happens.

ciao, adi

Signature · 2 lines
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
#1 lore raw
Quoted 5 lines · Adi

hi,
i have a problem with mounting a btrfspartition. i think it corrupted somehow. btrfsck also didn't work. here is the demesg output, if i try to btrfsck it:

Hi, Adi

can you give us some steps with which the bug can be reproduced?

Thanks,
liubo

Quoted 55 lines

***********************************

device-mapper: ioctl: unable to remove open device temporary-cryptsetup-2466 device fsid 184f65b363e9d585-fc67ce9a295b44a3 devid 1 transid 103380 /dev/dm-1
end_request: I/O error, dev fd0, sector 0
device fsid 184f65b363e9d585-fc67ce9a295b44a3 devid 1 transid 103380 /dev/mapper/vg2-root parent transid verify failed on 5403553792 wanted 103380 found 103378

------------[ cut here ]------------
kernel BUG at fs/btrfs/async-thread.c:602!
invalid opcode: 0000 [#1] SMP 
last sysfs file: /sys/devices/virtual/bdi/btrfs-1/uevent
Modules linked in: sha256_generic serpent dm_crypt ipv6 arc4 ecb ath5k cm4000_cs ppdev mac80211 iTCO_wdt iTCO_vendor_support parport_pc ath video thinkpad_acpi yenta_socket parport i2c_i801 output rsrc_nonstatic cfg80211 joydev i2c_core pcspkr rfkill raid10 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx raid1 raid0 multipath linear e100 mii floppy

Pid: 2501, comm: kcryptd Not tainted 2.6.34.01-alt158-i386 #2 2373189/2373189
EIP: 0060:[<c06cee9a>] EFLAGS: 00010046 CPU: 0
EIP is at btrfs_queue_worker+0xe7/0x1f8
EAX: 00000000 EBX: f53ea04c ECX: 00000000 EDX: 00000000
ESI: 00000000 EDI: f63bc5c0 EBP: f51e7e34 ESP: f51e7e14
DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Process kcryptd (pid: 2501, ti=f51e6000 task=f51e9520 task.ti=f51e6000)

Stack:
 00000206 f53ea070 00000246 f53ea068 f53ea088 f53e8000 f516cd60 00000000
<0> f51e7e40 c06abcc1 f520b850 f51e7e48 c04e804e f51e7e64 c0851a40 00000000
<0> f526df80 f526dc80 00000000 f5365790 f51e7e84 c0851bb5 f520b850 f5214000
Call Trace:
 [<c06abcc1>] ? end_workqueue_bio+0x56/0x59
 [<c04e804e>] ? bio_endio+0x22/0x24
 [<c0851a40>] ? dec_pending+0x124/0x12b
 [<c0851bb5>] ? clone_endio+0x96/0x9e
 [<c04e804e>] ? bio_endio+0x22/0x24
 [<c0851a40>] ? dec_pending+0x124/0x12b
 [<c0851bb5>] ? clone_endio+0x96/0x9e
 [<c04e804e>] ? bio_endio+0x22/0x24
 [<fa376677>] ? 0xfa376677
 [<fa376ece>] ? 0xfa376ece
 [<c0448c51>] ? worker_thread+0x14c/0x251
 [<c0448c93>] ? worker_thread+0x18e/0x251
 [<c0448c51>] ? worker_thread+0x14c/0x251
 [<fa376c12>] ? 0xfa376c12
 [<c044c1c1>] ? autoremove_wake_function+0x0/0x2f
 [<c0448b05>] ? worker_thread+0x0/0x251
 [<c044be5e>] ? kthread+0x6a/0x6f
 [<c044bdf4>] ? kthread+0x0/0x6f
 [<c0403abe>] ? kernel_thread_helper+0x6/0x10
Code: 00 00 89 d8 e8 0e fe ff ff e9 65 ff ff ff 8b 43 1c 31 d2 3b 45 ec 8b 73 24 0f 95 c2 f7 da 21 d0 3b 75 e4 75 02 89 c6 85 f6 75 04 <0f> 0b eb fe 83 ee 14 3e ff 46 20 8b 55 e8 8b 45 f0 e8 81 ef 24 
EIP: [<c06cee9a>] btrfs_queue_worker+0xe7/0x1f8 SS:ESP 0068:f51e7e14
---[ end trace 2d2977bc6fb46ae8 ]---

***********************************

that was on a sysrescuecd 1.5.8.
i'll try the new git-version, lets see what happens.

ciao, adi

author
#2 lore raw

hi,

i used a current stable gentoo with a 2.6.34-r2 gentoo-kernel. the btrfs filesystem is on a lvm, which is on a luks-partition.
i think i corrupted the filesystem with a 2.6.34 tuxonice kernel, witch ran fine without suspend-to-disk, but after suspending i couldn't reboot anymore. this debug is made on a sysrescuecd 1.5.8, after i try to btrfsck it. if i try to mount it, the terminal hangs, but i can switch to another. would it help if i copy some data off the filesystem?

ciao, adi

Quoted 84 lines · Adi
Quoted 2 lines

hi,
i have a problem with mounting a btrfspartition. i think it corrupted

somehow. btrfsck also didn't work.

Quoted 3 lines

here is the demesg output, if i try to btrfsck it:

Hi, Adi

can you give us some steps with which the bug can be reproduced?

Thanks,
liubo

Quoted 3 lines

***********************************

device-mapper: ioctl: unable to remove open device

temporary-cryptsetup-2466

Quoted 1 line

device fsid 184f65b363e9d585-fc67ce9a295b44a3 devid 1 transid 103380

/dev/dm-1

Quoted 2 lines

end_request: I/O error, dev fd0, sector 0
device fsid 184f65b363e9d585-fc67ce9a295b44a3 devid 1 transid 103380

/dev/mapper/vg2-root

Quoted 6 lines

parent transid verify failed on 5403553792 wanted 103380 found 103378

------------[ cut here ]------------
kernel BUG at fs/btrfs/async-thread.c:602!
invalid opcode: 0000 [#1] SMP 
last sysfs file: /sys/devices/virtual/bdi/btrfs-1/uevent
Modules linked in: sha256_generic serpent dm_crypt ipv6 arc4 ecb ath5k

cm4000_cs ppdev mac80211 iTCO_wdt iTCO_vendor_support parport_pc ath video thinkpad_acpi yenta_socket parport i2c_i801 output rsrc_nonstatic cfg80211 joydev i2c_core pcspkr rfkill raid10 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx raid1 raid0 multipath linear e100 mii floppy

Quoted 2 lines

Pid: 2501, comm: kcryptd Not tainted 2.6.34.01-alt158-i386 #2

2373189/2373189

Quoted 9 lines

EIP: 0060:[<c06cee9a>] EFLAGS: 00010046 CPU: 0
EIP is at btrfs_queue_worker+0xe7/0x1f8
EAX: 00000000 EBX: f53ea04c ECX: 00000000 EDX: 00000000
ESI: 00000000 EDI: f63bc5c0 EBP: f51e7e34 ESP: f51e7e14
DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Process kcryptd (pid: 2501, ti=f51e6000 task=f51e9520 task.ti=f51e6000)

Stack:
 00000206 f53ea070 00000246 f53ea068 f53ea088 f53e8000 f516cd60 00000000

<0> f51e7e40 c06abcc1 f520b850 f51e7e48 c04e804e f51e7e64 c0851a40

00000000

Quoted 1 line

<0> f526df80 f526dc80 00000000 f5365790 f51e7e84 c0851bb5 f520b850

f5214000

Quoted 13 lines
Call Trace:
 [<c06abcc1>] ? end_workqueue_bio+0x56/0x59
 [<c04e804e>] ? bio_endio+0x22/0x24
 [<c0851a40>] ? dec_pending+0x124/0x12b
 [<c0851bb5>] ? clone_endio+0x96/0x9e
 [<c04e804e>] ? bio_endio+0x22/0x24
 [<c0851a40>] ? dec_pending+0x124/0x12b
 [<c0851bb5>] ? clone_endio+0x96/0x9e
 [<c04e804e>] ? bio_endio+0x22/0x24
 [<fa376677>] ? 0xfa376677
 [<fa376ece>] ? 0xfa376ece
 [<c0448c51>] ? worker_thread+0x14c/0x251
 [<c0448c93>] ? worker_thread+0x18e/0x251
Quoted 8 lines
 [<c0448c51>] ? worker_thread+0x14c/0x251
 [<fa376c12>] ? 0xfa376c12
 [<c044c1c1>] ? autoremove_wake_function+0x0/0x2f
 [<c0448b05>] ? worker_thread+0x0/0x251
 [<c044be5e>] ? kthread+0x6a/0x6f
 [<c044bdf4>] ? kthread+0x0/0x6f
 [<c0403abe>] ? kernel_thread_helper+0x6/0x10
Code: 00 00 89 d8 e8 0e fe ff ff e9 65 ff ff ff 8b 43 1c 31 d2 3b 45 ec

8b 73 24 0f 95 c2 f7 da 21 d0 3b 75 e4 75 02 89 c6 85 f6 75 04 <0f> 0b eb fe 83 ee 14 3e ff 46 20 8b 55 e8 8b 45 f0 e8 81 ef 24

Quoted 10 lines

EIP: [<c06cee9a>] btrfs_queue_worker+0xe7/0x1f8 SS:ESP 0068:f51e7e14

---[ end trace 2d2977bc6fb46ae8 ]---

***********************************

that was on a sysrescuecd 1.5.8.
i'll try the new git-version, lets see what happens.

ciao, adi

Signature · 2 lines
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
author
#3 lore raw

ok, i have tried the 2.6.35-rc6 kernel, as TiCPU on #btrfs suggested, b= ut i also got an error. i don't think it has something to do with kcryp= t, as i can mount another partition without any problems.

hm, and btw, that dump was made on another pc.

here is a dmesg-dump:

***************************************
device fsid 184f65b363e9d585-fc67ce9a295b44a3 devid 1 transid 103380 /d= ev/mapper/vg2-root
parent transid verify failed on 5403553792 wanted 103380 found 103378

------------[ cut here ]------------
kernel BUG at fs/btrfs/async-thread.c:603!
invalid opcode: 0000 [#1] PREEMPT=20
last sysfs file: /sys/devices/virtual/block/dm-1/dm/name
Modules linked in: btrfs

Pid: 12496, comm: kcryptd Not tainted 2.6.35-rc6 #1 MS-6382/8366-8233
EIP: 0060:[<f0de865b>] EFLAGS: 00010046 CPU: 0
EIP is at btrfs_queue_worker+0x30b/0x320 [btrfs]
EAX: 00000000 EBX: e2257b0c ECX: e2257b28 EDX: 00000003
ESI: 00000246 EDI: e2257b30 EBP: ee64bd00 ESP: e231bf54
DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
Process kcryptd (pid: 12496, ti=3De231a000 task=3De21a77f0 task.ti=3De2= 31a000)

Stack:
 e2257b28 e2257b30 ee64bd00 dc72d61c ef239560 ef239560 c13fc670 c10d99e=

1
<0> c10d99e1 c10d99e1 c1041032 e21a796c c1040f40 00000000 c156d3ab e21a= 77f0
<0> ef239568 e21a77f0 e21a77f0 e21a79c8 00000000 e21a77f0 c10448d0 e231= bfb0

Call Trace:
 [<c13fc670>] ? kcryptd_crypt+0x0/0x360
 [<c10d99e1>] ? bio_endio+0x11/0x30
 [<c10d99e1>] ? bio_endio+0x11/0x30
 [<c10d99e1>] ? bio_endio+0x11/0x30
 [<c1041032>] ? worker_thread+0xf2/0x230
 [<c1040f40>] ? worker_thread+0x0/0x230
 [<c156d3ab>] ? schedule+0x1ab/0x4c0
 [<c10448d0>] ? autoremove_wake_function+0x0/0x40
 [<c1040f40>] ? worker_thread+0x0/0x230
 [<c10444f4>] ? kthread+0x74/0x80
 [<c1044480>] ? kthread+0x0/0x80
 [<c1002fb6>] ? kernel_thread_helper+0x6/0x10
Code: 30 83 c3 2c 89 5d 1c 89 45 20 89 10 e9 47 ff ff ff 8d b4 26 00 00=
 00 00 8b 6c 24 08 e9 f0 fe ff ff e8 ca 51 78 d0 e9 74 fd ff ff <0f> 0b=
 8d 76 00 eb fb e8 b9 51 78 d0 e9 06 fe ff ff 8d 74 26 00=20
EIP: [<f0de865b>] btrfs_queue_worker+0x30b/0x320 [btrfs] SS:ESP 0068:e2=
31bf54
---[ end trace 8e44f3e11659c3d0 ]---

note: kcryptd[12496] exited with preempt_count 1

****************************

-------- Original-Nachricht --------

Quoted 3 lines

hi,
=20
i used a current stable gentoo with a 2.6.34-r2 gentoo-kernel. the bt=

rfs

Quoted 2 lines

filesystem is on a lvm, which is on a luks-partition.
i think i corrupted the filesystem with a 2.6.34 tuxonice kernel, wit=

ch

Quoted 1 line

ran fine without suspend-to-disk, but after suspending i couldn't reb=

oot

Quoted 2 lines

anymore.
this debug is made on a sysrescuecd 1.5.8, after i try to btrfsck it.=

if i

Quoted 8 lines

try to mount it, the terminal hangs, but i can switch to another. would it help if i copy some data off the filesystem? =20
ciao, adi
=20

Quoted 3 lines · Adi
Quoted 2 lines

hi,
i have a problem with mounting a btrfspartition. i think it corru=

pted

Quoted 13 lines
Quoted 13 lines

somehow. btrfsck also didn't work.

Quoted 3 lines

here is the demesg output, if i try to btrfsck it:

=20

=20
Hi, Adi
=20
can you give us some steps with which the bug can be reproduced? =20
Thanks,
liubo
=20
=20

Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

***********************************

device-mapper: ioctl: unable to remove open device

temporary-cryptsetup-2466

Quoted 1 line

device fsid 184f65b363e9d585-fc67ce9a295b44a3 devid 1 transid 103=

380

Quoted 3 lines
Quoted 3 lines

/dev/dm-1

Quoted 2 lines

end_request: I/O error, dev fd0, sector 0
device fsid 184f65b363e9d585-fc67ce9a295b44a3 devid 1 transid 103=

380

Quoted 2 lines
Quoted 2 lines

/dev/mapper/vg2-root

Quoted 1 line

parent transid verify failed on 5403553792 wanted 103380 found 10=

3378

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
------------[ cut here ]------------
kernel BUG at fs/btrfs/async-thread.c:602!
invalid opcode: 0000 [#1] SMP=20
last sysfs file: /sys/devices/virtual/bdi/btrfs-1/uevent
Modules linked in: sha256_generic serpent dm_crypt ipv6 arc4 ecb =

ath5k

Quoted 1 line
Quoted 1 line

cm4000_cs ppdev mac80211 iTCO_wdt iTCO_vendor_support parport_pc at=

h

Quoted 4 lines

video

Quoted 1 line

thinkpad_acpi yenta_socket parport i2c_i801 output rsrc_nonstatic

cfg80211

Quoted 1 line

joydev i2c_core pcspkr rfkill raid10 raid456 async_raid6_recov asyn=

c_pq

Quoted 12 lines
Quoted 1 line

raid6_pq async_xor xor async_memcpy async_tx raid1 raid0 multipath

linear e100

Quoted 10 lines

mii floppy

Quoted 2 lines

Pid: 2501, comm: kcryptd Not tainted 2.6.34.01-alt158-i386 #2

2373189/2373189

Quoted 6 lines

EIP: 0060:[<c06cee9a>] EFLAGS: 00010046 CPU: 0 EIP is at btrfs_queue_worker+0xe7/0x1f8
EAX: 00000000 EBX: f53ea04c ECX: 00000000 EDX: 00000000
ESI: 00000000 EDI: f63bc5c0 EBP: f51e7e34 ESP: f51e7e14
DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Process kcryptd (pid: 2501, ti=3Df51e6000 task=3Df51e9520

Quoted 5 lines

task.ti=3Df51e6000)

Quoted 2 lines
Quoted 2 lines
Stack:
 00000206 f53ea070 00000246 f53ea068 f53ea088 f53e8000 f516cd60

00000000

Quoted 1 line
Quoted 1 line

<0> f51e7e40 c06abcc1 f520b850 f51e7e48 c04e804e f51e7e64 c0851a4=

0

Quoted 2 lines
Quoted 2 lines

00000000

Quoted 1 line

<0> f526df80 f526dc80 00000000 f5365790 f51e7e84 c0851bb5 f520b85=

0

Quoted 14 lines
Quoted 14 lines

f5214000

Quoted 13 lines
Call Trace:
 [<c06abcc1>] ? end_workqueue_bio+0x56/0x59
 [<c04e804e>] ? bio_endio+0x22/0x24
 [<c0851a40>] ? dec_pending+0x124/0x12b
 [<c0851bb5>] ? clone_endio+0x96/0x9e
 [<c04e804e>] ? bio_endio+0x22/0x24
 [<c0851a40>] ? dec_pending+0x124/0x12b
 [<c0851bb5>] ? clone_endio+0x96/0x9e
 [<c04e804e>] ? bio_endio+0x22/0x24
 [<fa376677>] ? 0xfa376677
 [<fa376ece>] ? 0xfa376ece
 [<c0448c51>] ? worker_thread+0x14c/0x251
 [<c0448c93>] ? worker_thread+0x18e/0x251
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

[<c0448c51>] ? worker_thread+0x14c/0x251
[<fa376c12>] ? 0xfa376c12
[<c044c1c1>] ? autoremove_wake_function+0x0/0x2f
[<c0448b05>] ? worker_thread+0x0/0x251
[<c044be5e>] ? kthread+0x6a/0x6f
[<c044bdf4>] ? kthread+0x0/0x6f
[<c0403abe>] ? kernel_thread_helper+0x6/0x10

Code: 00 00 89 d8 e8 0e fe ff ff e9 65 ff ff ff 8b 43 1c 31 d2 3b=

45

Quoted 2 lines

ec

Quoted 1 line

8b 73 24 0f 95 c2 f7 da 21 d0 3b 75 e4 75 02 89 c6 85 f6 75 04 <0f>=

0b

Quoted 3 lines

eb

Quoted 2 lines

fe 83 ee 14 3e ff 46 20 8b 55 e8 8b 45 f0 e8 81 ef 24=20

Quoted 1 line

EIP: [<c06cee9a>] btrfs_queue_worker+0xe7/0x1f8 SS:ESP 0068:f51e7=

e14

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
---[ end trace 2d2977bc6fb46ae8 ]---

***********************************

that was on a sysrescuecd 1.5.8.
i'll try the new git-version, lets see what happens.

Quoted 6 lines
Quoted 2 lines
Quoted 2 lines

ciao, adi
=20

=20
--=20
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! =20 Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail

--=20
GRATIS f=C3=BCr alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

Hi, Adi

Quoted 1 line · Adi

ok, i have tried the 2.6.35-rc6 kernel, as TiCPU on #btrfs suggested, but i also got an error. i don't think it has something to do with kcrypt, as i can mount another partition without any problems.

[snip]

Quoted 3 lines
------------[ cut here ]------------
kernel BUG at fs/btrfs/async-thread.c:603!

invalid opcode: 0000 [#1] PREEMPT

[snip]

Quoted 5 lines
Call Trace:
  [<c13fc670>] ? kcryptd_crypt+0x0/0x360
  [<c10d99e1>] ? bio_endio+0x11/0x30
  [<c10d99e1>] ? bio_endio+0x11/0x30
  [<c10d99e1>] ? bio_endio+0x11/0x30
Quoted 8 lines
  [<c1041032>] ? worker_thread+0xf2/0x230
  [<c1040f40>] ? worker_thread+0x0/0x230
  [<c156d3ab>] ? schedule+0x1ab/0x4c0
  [<c10448d0>] ? autoremove_wake_function+0x0/0x40
  [<c1040f40>] ? worker_thread+0x0/0x230
  [<c10444f4>] ? kthread+0x74/0x80
  [<c1044480>] ? kthread+0x0/0x80
  [<c1002fb6>] ? kernel_thread_helper+0x6/0x10

It seems this problem is the same as the one I have fixed. Could you try to applied the following patches and test again?
http://lkml.org/lkml/2010/7/29/86
http://lkml.org/lkml/2010/7/29/84
http://lkml.org/lkml/2010/7/29/82

Thanks
Miao

author
#5 lore raw

hi Miao,

now i get that error (on btrfsck):

parent transid verify failed on 5403553792 wanted 103380 found 103378
btrfsck: disk-io.c:739: open_ctree_fd: Assertion `!(!tree_root->node)' failed.

if i want to mount it, it shows the same error in dmesg, but neither one hangs the terminal, as it did without the patches. do you need more debug? i didn't know how to activate it on gentoo, what flags do i need to do so?
hm, and the last patch didn't show any output on "patch -p1"... is that normal?

bye, adi

-------- Original-Nachricht --------

Quoted 25 lines

Datum: Mon, 02 Aug 2010 09:04:27 +0800
Von: Miao Xie <[email protected]>
An: Adi <[email protected]>
CC: [email protected], [email protected]
Betreff: Re: wanted X found X-1 but you got X-2

Hi, Adi

Quoted 1 line · Adi

ok, i have tried the 2.6.35-rc6 kernel, as TiCPU on #btrfs suggested,

but i also got an error. i don't think it has something to do with kcrypt, as i can mount another partition without any problems.
[snip]

Quoted 3 lines
------------[ cut here ]------------
kernel BUG at fs/btrfs/async-thread.c:603!

invalid opcode: 0000 [#1] PREEMPT

[snip]
It seems this problem is the same as the one I have fixed. Could you try to applied the following patches and test again?
http://lkml.org/lkml/2010/7/29/86
http://lkml.org/lkml/2010/7/29/84
http://lkml.org/lkml/2010/7/29/82

Thanks
Miao

Signature · 2 lines
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
#6 lore raw

Hi, Adi

Quoted 7 lines · Adi

now i get that error (on btrfsck):

parent transid verify failed on 5403553792 wanted 103380 found 103378
btrfsck: disk-io.c:739: open_ctree_fd: Assertion `!(!tree_root->node)' failed.

if i want to mount it, it shows the same error in dmesg, but neither one hangs the terminal, as it did without the patches. do you need more debug? i didn't know how to activate it on gentoo, what flags do i need to do so?

I don't know the detailed reproduce steps.Could you tell us the steps just like this?

# mkfs.btrfs /dev/sdaN
# mount /dev/sdaN /mnt
# dd ......
# (suspend-to-disk)
...

It is very useful for our analysis.

Thanks
Miao

Quoted 31 lines

hm, and the last patch didn't show any output on "patch -p1"... is that normal?

bye, adi

-------- Original-Nachricht --------

Quoted 25 lines

Datum: Mon, 02 Aug 2010 09:04:27 +0800
Von: Miao Xie<[email protected]>
An: Adi<[email protected]>
CC: [email protected], [email protected]
Betreff: Re: wanted X found X-1 but you got X-2

Hi, Adi

Quoted 1 line · Adi

ok, i have tried the 2.6.35-rc6 kernel, as TiCPU on #btrfs suggested,

but i also got an error. i don't think it has something to do with kcrypt, as i can mount another partition without any problems.
[snip]

Quoted 3 lines
------------[ cut here ]------------
kernel BUG at fs/btrfs/async-thread.c:603!

invalid opcode: 0000 [#1] PREEMPT

[snip]
It seems this problem is the same as the one I have fixed. Could you try to applied the following patches and test again?

    http://lkml.org/lkml/2010/7/29/86
    http://lkml.org/lkml/2010/7/29/84
    http://lkml.org/lkml/2010/7/29/82

Thanks
Miao

#7 lore raw

Hi Miao,

ok, i'll try:

mkfs.ext3 /dev/sdaN
=C2=BBused it as root-file-system quite a while=C2=AB
tune2fs -O extents,uninit_bg,dir_index /dev/sdaN (converted to ext4) =C2=BBused it as root file system quite another while=C2=AB btrfs-convert /dev/sdaN (converted to btrfs)
=C2=BBused it as root filesystem with "-compress" quite another while=C2= =AB
installed tuxonice-patches on kernel
restart -> still works
suspend-to-disk
and from here on the bug appeared

hope, this helps,
Ciao, Adi

Quoted 10 lines · Miao Xie

Hi, Adi

I don't know the detailed reproduce steps.Could you tell us the steps just like this?

# mkfs.btrfs /dev/sdaN
# mount /dev/sdaN /mnt
# dd ......
# (suspend-to-disk)
...
Quoted 4 lines

It is very useful for our analysis.

Thanks
Miao

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