Can't boot 12.1 after update & can't mount the partition for backup

Hi all.

Last Sunday I’ve run an update for my 12.1 x64 running off an external HDD (my internal has to be replaced) with the new btrfs File system.
It updated fine on Sunday, then I started it once on monday to get some info from the net - all went well, after I returned from Univeristy to get to answering mails I the farthest point I got with the system was the login-screen.

After that the system crashes with a lot of messages which I unfortunately can’t copy here as I can’t access the bootlogs on the drive (gonna try rescue install now that I’ve got the media).

But as I’ve hooked the drive up to my main PC running 11.4x64 and tried to mount the root partition there I get the following messages:


Message from syslogd@LinDevNV at Dec 26 11:01:10 ...
 kernel:[204950.989738] ------------ cut here ]------------

Message from syslogd@LinDevNV at Dec 26 11:01:10 ...
 kernel:[204950.989762] invalid opcode: 0000 #1] PREEMPT SMP 

Message from syslogd@LinDevNV at Dec 26 11:01:10 ...
 kernel:[204950.989934] Stack:

Message from syslogd@LinDevNV at Dec 26 11:01:10 ...
 kernel:[204950.989957] Call Trace:

Message from syslogd@LinDevNV at Dec 26 11:01:10 ...
 kernel:[204950.990005] Code: 89 f7 ba b0 00 00 00 e8 48 9f 02 00 48 8b 54 24 28 4c 89 fe 4c 89 f7 e8 38 a0 02 00 eb 87 66 0f 1f 44 00 00 b8 f4 ff ff ff eb a8 <0f> 0b 49 8b 54 24 09 49 8b 34 24 48 c7 c7 88 3d e5 a0 31 c0 e8 

Message from syslogd@LinDevNV at Dec 26 11:01:39 ...
 kernel:[204979.782328] ------------ cut here ]------------

Message from syslogd@LinDevNV at Dec 26 11:01:39 ...
 kernel:[204979.782350] invalid opcode: 0000 #2] PREEMPT SMP 

Message from syslogd@LinDevNV at Dec 26 11:01:39 ...
 kernel:[204979.782520] Stack:

Message from syslogd@LinDevNV at Dec 26 11:01:39 ...
 kernel:[204979.782543] Call Trace:

Message from syslogd@LinDevNV at Dec 26 11:01:39 ...
 kernel:[204979.782739] Code: 89 f7 ba b0 00 00 00 e8 48 9f 02 00 48 8b 54 24 28 4c 89 fe 4c 89 f7 e8 38 a0 02 00 eb 87 66 0f 1f 44 00 00 b8 f4 ff ff ff eb a8 <0f> 0b 49 8b 54 24 0

I remember vividly that same Opcodes appear when I try to boot the laptop.
Switching to system-V does not help - even the failsafe mode dies after some time, though it is the only one where I can actually login into the system - sometimes.

Anybody encounter same problem?
I’d make “tabula rasa” on the drive, but there are papers for University I’ve written and haven’t yet copied to any other location…

Ok. Bad news update (IMO).

Whether it be Installation, or rescue system booting from the DVD - the result is always the same.

Booting the rescue system with Safe Mode kernel results in a system with a blank screen. As that state does not change for over 5 min. I concur that it hangs.

Booting the default kernel to rescue system (& install) results in hanging when loading the iwlagn module. As the NumLock & CapsLock lights flash I deduce that Kernel Panic occurs - though it is not explicitly written (but the symptoms are same).

I have absolutely no more ideas what has gone wrong and what to try.

Any help is greatly appreciated…:frowning:

On 2011-12-26 11:56, Aquinox wrote:

> Booting the default kernel to rescue system (& install) results in
> hanging when loading the iwlagn module. As the NumLock & CapsLock lights
> flash I deduce that Kernel Panic occurs - though it is not explicitly
> written (but the symptoms are same).
>
> I have absolutely no more ideas what has gone wrong and what to try.
>
> Any help is greatly appreciated…:frowning:

If you have a real serial port in that machine you can use it to dump
kernel messages to another machine.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

That would be an option, were my problem not focused on the laptop. It has just a VGA out apart from the usual 1394, USB, SD, FX.

On 2011-12-26 16:16, Aquinox wrote:
>
> That would be an option, were my problem not focused on the laptop. It
> has just a VGA out apart from the usual 1394, USB, SD, FX.

Bad luck.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Looks like the stuff there’s gone forever…

Well. I managed to get a hold on the kernel messages from my laptop. Tried to mount the partition in question on my main PC while keeping an eye on “dmesg”. The lines which came up look pretty much the same as on my laptop
so just as additional info here they are:


  136.120619] kernel BUG at /usr/src/packages/BUILD/kernel-desktop-3.1.0/linux-3.1/fs/btrfs/extent-tree.c:5528!
  136.120624] invalid opcode: 0000 #1] PREEMPT SMP 
  136.120629] CPU 1 
  136.120630] Modules linked in: btrfs zlib_deflate xt_tcpudp xt_pkttype ipt_LOG xt_limit af_packet it87 hwmon_vid coretemp edd xt_NOTRACK ipt_REJECT xt_conntrack iptable_raw iptable_filter nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables ip6_tables x_tables mperf dm_mod nvidia(P) snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hwdep snd_oxygen snd_oxygen_lib forcedeth snd_pcm snd_mpu401_uart snd_rawmidi snd_seq_device snd_timer snd soundcore snd_page_alloc button ppdev parport_pc floppy nv_tco sr_mod parport sg cdrom serio_raw i2c_nforce2 pcspkr asus_atk0110 fan processor ata_generic sata_nv pata_amd thermal thermal_sys
  136.120684] 
  136.120687] Pid: 3381, comm: mount Tainted: P            3.1.0-3-desktop #1 System manufacturer System Product Name/P5N-E SLI
  136.120693] RIP: 0010:<ffffffffa0da6947>]  <ffffffffa0da6947>] alloc_reserved_tree_block+0x1e7/0x210 [btrfs]
  136.120718] RSP: 0000:ffff880074801818  EFLAGS: 00010282
  136.120721] RAX: 00000000ffffffef RBX: ffff880072a04910 RCX: 0000160000000000
  136.120725] RDX: 6db6db6db6db6db7 RSI: 0000000000000001 RDI: ffff880072a8ac70
  136.120729] RBP: ffff880072a39540 R08: 0000000000000001 R09: 0000000000000001
  136.120732] R10: ffff880072a39540 R11: 6db6db6db6db6db7 R12: ffff8800748018d8
  136.120736] R13: ffff88007372c800 R14: ffff880073620000 R15: 0000000000000000
  136.120739] FS:  00007f51fbb377e0(0000) GS:ffff88007fc80000(0000) knlGS:0000000000000000
  136.120744] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
  136.120747] CR2: 00007f8468770950 CR3: 00000000721b3000 CR4: 00000000000006e0
  136.120750] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
  136.120754] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
  136.120758] Process mount (pid: 3381, threadinfo ffff880074800000, task ffff8800748ac800)
  136.120761] Stack:
  136.120763]  00000003d2ce3000 00000000001000a8 0000000000000000 0000000000000000
  136.120769]  ffff880079ec4540 0000000000000002 ffff880072a3cd00 0000003300000f2b
  136.120774]  0000000000000178 ffff880072a39540 ffff88007372c800 ffff880079ec4540
  136.120780] Call Trace:
  136.120815]  <ffffffffa0da70ff>] run_delayed_tree_ref+0x9f/0x1a0 [btrfs]
  136.120836]  <ffffffffa0da9bd8>] run_clustered_refs+0xb8/0x220 [btrfs]
  136.120860]  <ffffffffa0da9e07>] btrfs_run_delayed_refs+0xc7/0x220 [btrfs]
  136.120885]  <ffffffffa0dba6ce>] btrfs_commit_transaction+0xae/0x8a0 [btrfs]
  136.120921]  <ffffffffa0def665>] btrfs_recover_log_trees+0x2f5/0x320 [btrfs]
  136.120992]  <ffffffffa0db8d7e>] open_ctree+0x13be/0x1740 [btrfs]
  136.121001]  <ffffffffa0d95515>] btrfs_fill_super+0x75/0x150 [btrfs]
  136.121001]  <ffffffffa0d97af5>] btrfs_mount+0x375/0x3e0 [btrfs]
  136.121001]  <ffffffff8115f8f9>] mount_fs+0x49/0x1d0
  136.121001]  <ffffffff811793af>] vfs_kern_mount+0x5f/0xd0
  136.121001]  <ffffffff8117a9c3>] do_kern_mount+0x53/0x120
  136.121001]  <ffffffff8117c5c2>] do_mount+0x1e2/0x230
  136.121001]  <ffffffff8117c9fa>] sys_mount+0x9a/0xf0
  136.121001]  <ffffffff815af452>] system_call_fastpath+0x16/0x1b
  136.121001]  <00007f51fb02ddaa>] 0x7f51fb02dda9
  136.121001] Code: 89 f7 ba b0 00 00 00 e8 48 9f 02 00 48 8b 54 24 28 4c 89 fe 4c 89 f7 e8 38 a0 02 00 eb 87 66 0f 1f 44 00 00 b8 f4 ff ff ff eb a8 <0f> 0b 49 8b 54 24 09 49 8b 34 24 48 c7 c7 88 ad e0 a0 31 c0 e8 
  136.121001] RIP  <ffffffffa0da6947>] alloc_reserved_tree_block+0x1e7/0x210 [btrfs]
  136.121001]  RSP <ffff880074801818>
  136.121146] --- end trace cabb392d19973e83 ]---
  136.121153] note: mount[3381] exited with preempt_count 1
  136.121277] BUG: scheduling while atomic: mount/3381/0x10000002
  136.121282] Modules linked in: btrfs zlib_deflate xt_tcpudp xt_pkttype ipt_LOG xt_limit af_packet it87 hwmon_vid coretemp edd xt_NOTRACK ipt_REJECT xt_conntrack iptable_raw iptable_filter nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables ip6_tables x_tables mperf dm_mod nvidia(P) snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hwdep snd_oxygen snd_oxygen_lib forcedeth snd_pcm snd_mpu401_uart snd_rawmidi snd_seq_device snd_timer snd soundcore snd_page_alloc button ppdev parport_pc floppy nv_tco sr_mod parport sg cdrom serio_raw i2c_nforce2 pcspkr asus_atk0110 fan processor ata_generic sata_nv pata_amd thermal thermal_sys
  136.121340] Pid: 3381, comm: mount Tainted: P      D     3.1.0-3-desktop #1
  136.121344] Call Trace:
  136.121353]  <ffffffff81004538>] dump_trace+0x88/0x380
  136.121360]  <ffffffff815a4d72>] dump_stack+0x69/0x6f
  136.121366]  <ffffffff815a59ac>] thread_return+0x2fa/0x36e
  136.121374]  <ffffffff8104cc35>] __cond_resched+0x25/0x40
  136.121380]  <ffffffff815a5a9c>] _cond_resched+0x2c/0x40
  136.121387]  <ffffffff8105a673>] put_files_struct+0xc3/0x140
  136.121394]  <ffffffff8105acad>] do_exit+0x18d/0x460
  136.121401]  <ffffffff815a94a4>] oops_end+0xa4/0xf0
  136.121407]  <ffffffff81003044>] do_invalid_op+0x84/0xa0
  136.121413]  <ffffffff815b14ab>] invalid_op+0x1b/0x20
  136.121426]  <ffffffffa0da6947>] alloc_reserved_tree_block+0x1e7/0x210 [btrfs]
  136.121450]  <ffffffffa0da70ff>] run_delayed_tree_ref+0x9f/0x1a0 [btrfs]
  136.121473]  <ffffffffa0da9bd8>] run_clustered_refs+0xb8/0x220 [btrfs]
  136.121499]  <ffffffffa0da9e07>] btrfs_run_delayed_refs+0xc7/0x220 [btrfs]
  136.121526]  <ffffffffa0dba6ce>] btrfs_commit_transaction+0xae/0x8a0 [btrfs]
  136.121564]  <ffffffffa0def665>] btrfs_recover_log_trees+0x2f5/0x320 [btrfs]
  136.121635]  <ffffffffa0db8d7e>] open_ctree+0x13be/0x1740 [btrfs]
  136.121668]  <ffffffffa0d95515>] btrfs_fill_super+0x75/0x150 [btrfs]
  136.121682]  <ffffffffa0d97af5>] btrfs_mount+0x375/0x3e0 [btrfs]
  136.121693]  <ffffffff8115f8f9>] mount_fs+0x49/0x1d0
  136.121700]  <ffffffff811793af>] vfs_kern_mount+0x5f/0xd0
  136.121706]  <ffffffff8117a9c3>] do_kern_mount+0x53/0x120
  136.121712]  <ffffffff8117c5c2>] do_mount+0x1e2/0x230
  136.121718]  <ffffffff8117c9fa>] sys_mount+0x9a/0xf0
  136.121724]  <ffffffff815af452>] system_call_fastpath+0x16/0x1b
  136.121732]  <00007f51fb02ddaa>] 0x7f51fb02dda9
  149.791712] device fsid a5a1a11d-275b-41fc-aefb-193d2468e10b devid 1 transid 13043 /dev/sdc7
  153.876783] SFW2-INext-ACC-TCP IN=eth0 OUT= MAC=00:1a:92:82:29:49:00:22:b0:98:66:e1:08:00 SRC=38.229.70.42 DST=192.168.0.5 LEN=52 TOS=0x00 PREC=0x00 TTL=49 ID=58605 DF PROTO=TCP SPT=39243 DPT=9001 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40101040201030309) 
  164.893099] ------------ cut here ]------------
  164.893116] kernel BUG at /usr/src/packages/BUILD/kernel-desktop-3.1.0/linux-3.1/fs/btrfs/extent-tree.c:5528!
  164.893122] invalid opcode: 0000 #2] PREEMPT SMP 
  164.893128] CPU 1 
  164.893129] Modules linked in: btrfs zlib_deflate xt_tcpudp xt_pkttype ipt_LOG xt_limit af_packet it87 hwmon_vid coretemp edd xt_NOTRACK ipt_REJECT xt_conntrack iptable_raw iptable_filter nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables ip6_tables x_tables mperf dm_mod nvidia(P) snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hwdep snd_oxygen snd_oxygen_lib forcedeth snd_pcm snd_mpu401_uart snd_rawmidi snd_seq_device snd_timer snd soundcore snd_page_alloc button ppdev parport_pc floppy nv_tco sr_mod parport sg cdrom serio_raw i2c_nforce2 pcspkr asus_atk0110 fan processor ata_generic sata_nv pata_amd thermal thermal_sys
  164.893191] 
  164.893195] Pid: 3400, comm: btrfs-transacti Tainted: P      D     3.1.0-3-desktop #1 System manufacturer System Product Name/P5N-E SLI
  164.893203] RIP: 0010:<ffffffffa0da6947>]  <ffffffffa0da6947>] alloc_reserved_tree_block+0x1e7/0x210 [btrfs]
  164.893233] RSP: 0000:ffff880074a5fbc0  EFLAGS: 00010282
  164.893238] RAX: 00000000ffffffef RBX: ffff880072a049a0 RCX: 0000160000000000
  164.893242] RDX: 6db6db6db6db6db7 RSI: 0000000000000001 RDI: ffff880072a8ac70
  164.893247] RBP: ffff880072a39588 R08: 0000000000000001 R09: 0000000000000001
  164.893252] R10: ffff880072a39588 R11: 000000000000004c R12: ffff880074a5fc80
  164.893257] R13: ffff88007372c800 R14: ffff880073620000 R15: 0000000000000000
  164.893262] FS:  0000000000000000(0000) GS:ffff88007fc80000(0000) knlGS:0000000000000000
  164.893267] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
  164.893271] CR2: 00007f09ad6c7000 CR3: 0000000079ec3000 CR4: 00000000000006e0
  164.893276] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
  164.893281] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
  164.893286] Process btrfs-transacti (pid: 3400, threadinfo ffff880074a5e000, task ffff880074af21c0)
  164.893291] Stack:
  164.893294]  0000000000000000 0000000000000000 0000000000000000 0000000000000000
  164.893301]  ffff88003791a6c0 0000000000000002 0000000000000000 0000003300000000
  164.893308]  0000000000000000 ffff880072a39588 ffff88007372c800 ffff88003791a6c0
  164.893315] Call Trace:
  164.893351]  <ffffffffa0da70ff>] run_delayed_tree_ref+0x9f/0x1a0 [btrfs]
  164.893375]  <ffffffffa0da9bd8>] run_clustered_refs+0xb8/0x220 [btrfs]
  164.893401]  <ffffffffa0da9e07>] btrfs_run_delayed_refs+0xc7/0x220 [btrfs]
  164.893428]  <ffffffffa0dba69f>] btrfs_commit_transaction+0x7f/0x8a0 [btrfs]
  164.893464]  <ffffffffa0db4393>] transaction_kthread+0x273/0x290 [btrfs]
  164.893494]  <ffffffff81079266>] kthread+0x96/0xa0
  164.893504]  <ffffffff815b1634>] kernel_thread_helper+0x4/0x10
  164.893509] Code: 89 f7 ba b0 00 00 00 e8 48 9f 02 00 48 8b 54 24 28 4c 89 fe 4c 89 f7 e8 38 a0 02 00 eb 87 66 0f 1f 44 00 00 b8 f4 ff ff ff eb a8 <0f> 0b 49 8b 54 24 09 49 8b 34 24 48 c7 c7 88 ad e0 a0 31 c0 e8 
  164.893542] RIP  <ffffffffa0da6947>] alloc_reserved_tree_block+0x1e7/0x210 [btrfs]
  164.893554]  RSP <ffff880074a5fbc0>
  164.893558] --- end trace cabb392d19973e84 ]---
  164.893564] note: btrfs-transacti[3400] exited with preempt_count 1
  170.052056] SFW2-INext-ACC-TCP IN=eth0 OUT= MAC=00:1a:92:82:29:49:00:22:b0:98:66:e1:08:00 SRC=131.130.199.36 DST=192.168.0.5 LEN=60 TOS=0x00 PREC=0x00 TTL=48 ID=63264 DF PROTO=TCP SPT=48490 DPT=9001 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40402080A02281DFE0000000001030307)

Try non btrfs ie ext4 really brrfs is not ready for prime time. I think it may have problems with USB device.

Report error on Bugzilla so it may be fixed in the future.

On 2011-12-26 22:56, Aquinox wrote:
> 136.120619] kernel BUG at /usr/src/packages/BUILD/kernel-desktop-3.1.0/linux-3.1/fs/btrfs/extent-tree.c:5528!

You can always report that in Bugzilla.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)