[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#736415: linux-image-3.12-0.bpo.1-amd64: Failing to boot from xfs - libcrc32c.ko does not declare its dependencies



Package: src:linux
Version: 3.12.6-2~bpo70+1
Severity: critical
Justification: breaks the whole system

Dear Maintainer,

   * What led up to the situation?

I tried to boot Debian Wheezy from an xfs root.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I installed linux-image-3.2.0-4-amd64 and linux-image-3.12-0.bpo.1-amd64 on an xfs root filesystem on an hardware raid.
This lead to upgrading the initramfs system to use dracut due to the backports kernel dependencies.

   * What was the outcome of this action?

Grub2 boots into the linux kernel, but the system fails to boot, as the initramfs system could not mount the root filesystem.
This was because the initramfs could not load the included xfs.ko, as libcrc32c.ko could not be loaded.
Loading libcrc32c.ko failed to load due to missing symbols (insmod said so), but dmesg showed no output.

   * What outcome did you expect instead?

I expected the system to load the xfs module, mount root and continue to boot.

   * Workaround

Reading
 http://lists.opensuse.org/opensuse-bugs/2009-11/msg01239.html and
 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/681819 and
 https://www.mail-archive.com/linux-crypto@vger.kernel.org/msg02728.html,
I added crc32c.ko and crc32.ko to the initramfs the loaded it before xfs. Then, booting works.

With dracut, this is about adding /etc/dracut.conf.d/xfs.conf with content
 add_drivers+="crc32c crc32"
and editing /etc/default/grub to contain
 GRUB_CMDLINE_LINUX="rdloaddriver=crc32 rdloaddriver=crc32c rdloaddriver=xfs rootfstype=xfs"


-- Package-specific info:
** Version:
Linux version 3.12-0.bpo.1-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.12.6-2~bpo70+1 (2014-01-07)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-3.12-0.bpo.1-amd64 root=UUID=c8ff3663-efcc-4cdf-8a9e-ee39680561f4 ro rdloaddriver=crc32 rdloaddriver=crc32c rdloaddriver=xfs rootfstype=xfs quiet

** Tainted: W (512)
 * Taint on warning.

** Kernel log:
[   14.703888] device eth2 entered promiscuous mode
[  172.574036] tun: Universal TUN/TAP device driver, 1.6
[  172.574040] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[  173.328783] device t54-02-00 entered promiscuous mode
[  173.347478] device t00-01-00 entered promiscuous mode
[  173.352158] device t00-01-01 entered promiscuous mode
[  173.390334] device t55-02-01 entered promiscuous mode
[  173.903672] device t47-03-00 entered promiscuous mode
[  173.951385] device t48-03-01 entered promiscuous mode
[  174.525448] device t38-04-00 entered promiscuous mode
[  174.541750] device t39-04-01 entered promiscuous mode
[  174.959307] device t00-05-00 entered promiscuous mode
[  175.074058] device t00-05-01 entered promiscuous mode
[  175.779712] device t36-06-00 entered promiscuous mode
[  175.851053] device t35-06-01 entered promiscuous mode
[  175.893750] device t37-06-02 entered promiscuous mode
[  180.889788] device t81-07-00 entered promiscuous mode
[  181.397077] device t66-08-00 entered promiscuous mode
[  181.459430] device t67-08-01 entered promiscuous mode
[  181.966601] device t00-09-00 entered promiscuous mode
[  182.521461] kvm [4599]: vcpu0 unhandled rdmsr: 0x345
[  182.521555] kvm [4599]: vcpu0 unhandled wrmsr: 0x680 data 0
[  182.521602] kvm [4599]: vcpu0 unhandled wrmsr: 0x6c0 data 0
[  182.521648] kvm [4599]: vcpu0 unhandled wrmsr: 0x681 data 0
[  182.521693] kvm [4599]: vcpu0 unhandled wrmsr: 0x6c1 data 0
[  182.521740] kvm [4599]: vcpu0 unhandled wrmsr: 0x682 data 0
[  182.521785] kvm [4599]: vcpu0 unhandled wrmsr: 0x6c2 data 0
[  182.521831] kvm [4599]: vcpu0 unhandled wrmsr: 0x683 data 0
[  182.521876] kvm [4599]: vcpu0 unhandled wrmsr: 0x6c3 data 0
[  182.521922] kvm [4599]: vcpu0 unhandled wrmsr: 0x684 data 0
[  182.521967] kvm [4599]: vcpu0 unhandled wrmsr: 0x6c4 data 0
[  182.691488] device t00-10-00 entered promiscuous mode
[  183.464274] kvm [4648]: vcpu0 unhandled rdmsr: 0x345
[  184.284272] kvm [5000]: vcpu0 unhandled rdmsr: 0x345
[  185.186076] kvm [5176]: vcpu0 unhandled rdmsr: 0x345
[  189.782871] kvm [4824]: vcpu0 unhandled rdmsr: 0x345
[  189.782968] kvm_set_msr_common: 182 callbacks suppressed
[  189.782971] kvm [4824]: vcpu0 unhandled wrmsr: 0x680 data 0
[  189.783019] kvm [4824]: vcpu0 unhandled wrmsr: 0x6c0 data 0
[  189.783067] kvm [4824]: vcpu0 unhandled wrmsr: 0x681 data 0
[  189.783115] kvm [4824]: vcpu0 unhandled wrmsr: 0x6c1 data 0
[  189.783162] kvm [4824]: vcpu0 unhandled wrmsr: 0x682 data 0
[  189.783208] kvm [4824]: vcpu0 unhandled wrmsr: 0x6c2 data 0
[  189.783255] kvm [4824]: vcpu0 unhandled wrmsr: 0x683 data 0
[  189.783317] kvm [4824]: vcpu0 unhandled wrmsr: 0x6c3 data 0
[  189.783378] kvm [4824]: vcpu0 unhandled wrmsr: 0x684 data 0
[  189.783438] kvm [4824]: vcpu0 unhandled wrmsr: 0x6c4 data 0
[  190.554350] kvm [5490]: vcpu0 unhandled rdmsr: 0x345
[  190.571622] kvm [5747]: vcpu0 unhandled rdmsr: 0x345
[  190.607062] kvm: zapping shadow pages for mmio generation wraparound
[  192.777118] kvm [5842]: vcpu0 unhandled rdmsr: 0x345
[  197.098876] kvm [6180]: vcpu0 unhandled rdmsr: 0x345
[  197.098964] kvm_set_msr_common: 118 callbacks suppressed
[  197.098966] kvm [6180]: vcpu0 unhandled wrmsr: 0x680 data 0
[  197.099028] kvm [6180]: vcpu0 unhandled wrmsr: 0x6c0 data 0
[  197.099086] kvm [6180]: vcpu0 unhandled wrmsr: 0x681 data 0
[  197.099144] kvm [6180]: vcpu0 unhandled wrmsr: 0x6c1 data 0
[  197.099204] kvm [6180]: vcpu0 unhandled wrmsr: 0x682 data 0
[  197.099262] kvm [6180]: vcpu0 unhandled wrmsr: 0x6c2 data 0
[  197.099320] kvm [6180]: vcpu0 unhandled wrmsr: 0x683 data 0
[  197.099377] kvm [6180]: vcpu0 unhandled wrmsr: 0x6c3 data 0
[  197.099435] kvm [6180]: vcpu0 unhandled wrmsr: 0x684 data 0
[  197.099492] kvm [6180]: vcpu0 unhandled wrmsr: 0x6c4 data 0
[  218.817197] device t00-01-00 left promiscuous mode
[  219.601539] ------------[ cut here ]------------
[  219.601549] WARNING: CPU: 0 PID: 4599 at /build/linux-Ol1uYP/linux-3.12.6/net/core/dev.c:5315 rollback_registered_many+0x1e7/0x210()
[  219.601551] Modules linked in: tun openvswitch vxlan ip_tunnel gre 8021q garp mrp bridge stp llc ip6table_filter ip6table_mangle ip6_tables iptable_filter iptable_mangle iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables dm_crypt e1000e ioatdma intel_powerclamp dca ptp iTCO_wdt iTCO_vendor_support i2c_i801 i2c_core pps_core coretemp acpi_cpufreq i7core_edac edac_core psmouse lpc_ich mfd_core snd_pcm snd_page_alloc snd_timer snd soundcore kvm_intel ehci_pci kvm serio_raw evdev pcspkr parport_pc parport processor thermal_sys button raid1 md_mod sd_mod crct10dif_generic crc_t10dif crct10dif_common crc32c_intel uhci_hcd ehci_hcd ahci libahci libata usbcore usb_common megaraid_sas scsi_mod dm_mirror dm_region_hash dm_log dm_mod xfs libcrc32c crc32c crc32
[  219.601596] CPU: 0 PID: 4599 Comm: kvm Not tainted 3.12-0.bpo.1-amd64 #1 Debian 3.12.6-2~bpo70+1
[  219.601597] Hardware name: Supermicro X8ST3/X8ST3, BIOS 1.1     03/17/2010
[  219.601599]  0000000000000000 ffffffff817419e8 ffffffff814bed34 0000000000000000
[  219.601601]  ffffffff81060347 ffff880602138000 ffff880601dade08 ffff880602138000
[  219.601604]  0000000000000000 0000000000000001 ffffffff813d26a7 ffff880602138000
[  219.601606] Call Trace:
[  219.601612]  [<ffffffff814bed34>] ? dump_stack+0x41/0x51
[  219.601617]  [<ffffffff81060347>] ? warn_slowpath_common+0x87/0xc0
[  219.601619]  [<ffffffff813d26a7>] ? rollback_registered_many+0x1e7/0x210
[  219.601622]  [<ffffffff813d2765>] ? rollback_registered+0x25/0x40
[  219.601625]  [<ffffffff813d27e8>] ? unregister_netdevice_queue+0x68/0xe0
[  219.601628]  [<ffffffffa04ae0fa>] ? __tun_detach+0xfa/0x280 [tun]
[  219.601635]  [<ffffffffa04ae2ae>] ? tun_chr_close+0x2e/0x60 [tun]
[  219.601639]  [<ffffffff81186b43>] ? __fput+0xb3/0x240
[  219.601643]  [<ffffffff8107f057>] ? task_work_run+0x97/0xd0
[  219.601647]  [<ffffffff810149f5>] ? do_notify_resume+0xb5/0xc0
[  219.601651]  [<ffffffff814cc772>] ? int_signal+0x12/0x17
[  219.601653] ---[ end trace 62dcb46c72882de2 ]---
[  219.601885] device t00-01-01 left promiscuous mode
[  236.409633] device t00-01-00 entered promiscuous mode
[  245.664397] kvm [10046]: vcpu0 unhandled rdmsr: 0x345
[  245.664493] kvm_set_msr_common: 22 callbacks suppressed
[  245.664495] kvm [10046]: vcpu0 unhandled wrmsr: 0x680 data 0
[  245.664554] kvm [10046]: vcpu0 unhandled wrmsr: 0x6c0 data 0
[  245.664612] kvm [10046]: vcpu0 unhandled wrmsr: 0x681 data 0
[  245.664673] kvm [10046]: vcpu0 unhandled wrmsr: 0x6c1 data 0
[  245.664737] kvm [10046]: vcpu0 unhandled wrmsr: 0x682 data 0
[  245.664795] kvm [10046]: vcpu0 unhandled wrmsr: 0x6c2 data 0
[  245.664853] kvm [10046]: vcpu0 unhandled wrmsr: 0x683 data 0
[  245.664911] kvm [10046]: vcpu0 unhandled wrmsr: 0x6c3 data 0
[  245.664968] kvm [10046]: vcpu0 unhandled wrmsr: 0x684 data 0
[  245.665026] kvm [10046]: vcpu0 unhandled wrmsr: 0x6c4 data 0
[  278.387951] device t00-01-01 entered promiscuous mode

** Model information
sys_vendor: Supermicro
product_name: X8ST3
product_version: 1234567890
chassis_vendor: Supermicro
chassis_version: 1234567890
bios_vendor: American Megatrends Inc.
bios_version: 1.1    
board_vendor: Supermicro
board_name: X8ST3
board_version: 1234567890

** Loaded modules:
tun
openvswitch
vxlan
ip_tunnel
gre
8021q
garp
mrp
bridge
stp
llc
ip6table_filter
ip6table_mangle
ip6_tables
iptable_filter
iptable_mangle
iptable_nat
nf_conntrack_ipv4
nf_defrag_ipv4
nf_nat_ipv4
nf_nat
nf_conntrack
ip_tables
x_tables
dm_crypt
e1000e
ioatdma
intel_powerclamp
dca
ptp
iTCO_wdt
iTCO_vendor_support
i2c_i801
i2c_core
pps_core
coretemp
acpi_cpufreq
i7core_edac
edac_core
psmouse
lpc_ich
mfd_core
snd_pcm
snd_page_alloc
snd_timer
snd
soundcore
kvm_intel
ehci_pci
kvm
serio_raw
evdev
pcspkr
parport_pc
parport
processor
thermal_sys
button
raid1
md_mod
sd_mod
crct10dif_generic
crc_t10dif
crct10dif_common
crc32c_intel
uhci_hcd
ehci_hcd
ahci
libahci
libata
usbcore
usb_common
megaraid_sas
scsi_mod
dm_mirror
dm_region_hash
dm_log
dm_mod
xfs
libcrc32c
crc32c
crc32

** PCI devices:
not available

** USB devices:
not available


-- System Information:
Debian Release: 7.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-3.12-0.bpo.1-amd64 depends on:
ii  debconf [debconf-2.0]          1.5.49
ii  dracut [linux-initramfs-tool]  020-2
ii  kmod                           9-3
ii  linux-base                     3.5
ii  module-init-tools              9-3

Versions of packages linux-image-3.12-0.bpo.1-amd64 recommends:
ii  firmware-linux-free  3.2

Versions of packages linux-image-3.12-0.bpo.1-amd64 suggests:
pn  debian-kernel-handbook  <none>
ii  grub-pc                 1.99-27+deb7u2
pn  linux-doc-3.12          <none>

Versions of packages linux-image-3.12-0.bpo.1-amd64 is related to:
pn  firmware-atheros        <none>
pn  firmware-bnx2           <none>
pn  firmware-bnx2x          <none>
pn  firmware-brcm80211      <none>
pn  firmware-intelwimax     <none>
pn  firmware-ipw2x00        <none>
pn  firmware-ivtv           <none>
pn  firmware-iwlwifi        <none>
pn  firmware-libertas       <none>
pn  firmware-linux          <none>
pn  firmware-linux-nonfree  <none>
pn  firmware-myricom        <none>
pn  firmware-netxen         <none>
pn  firmware-qlogic         <none>
pn  firmware-ralink         <none>
pn  firmware-realtek        <none>
pn  xen-hypervisor          <none>

-- debconf information excluded


Reply to: