Bug#603578: installation-reports: Fails to boot after successful install on a btrfs root

2011-01-11 Thread Ferry Toth
I had the same problem after a fresh installation with the squeeze net
installer.

The problem is caused by a missing crc232c module in the initrd as
described here:
http://lists.mandriva.com/bugs/2010-05/msg04062.php
http://www.linux-archive.org/debian-user/472356-error-installing-squeeze-root-filesystem-btrfs.html

For squeeze a workaround (not like mandriva, and not with the typo on
linux-achive) is:

- get a livecd, I used an old ubuntu karmic beta amd64
- follow the procedure to get  a chroot as on:
http://ganomi.com/wiki/index.php/Rescue_an_encrypted_LUKS_LVM_volume
- add crc32c to /etc/initramfs-tools/modules
- update the initrd using: update-initramfs -u

then reboot.

Ferry


Bug#603578: installation-reports: Fails to boot after successful install on a btrfs root

2010-11-16 Thread Mickaël Canévet
Hi,

Same problem here with linux-image-2.6.32-5-amd64.
It works with linux-image-2.6.36-trunk-amd64 from experimental installed
via rescue.

Cheers,
Mickaël


signature.asc
Description: This is a digitally signed message part


Bug#603578: installation-reports: Fails to boot after successful install on a btrfs root

2010-11-15 Thread Colomban Wendling
Package: installation-reports
Severity: important



-- Package-specific info:

Boot method: CD
Image version: 
http://cdimage.debian.org/cdimage/daily-builds/sid_d-i/current/amd64/iso-cd/debian-testing-amd64-netinst.iso
Date: 2010 nov 14 (download  install)

Machine: VirtualBox 3.2.10 OSE r66523 from sid
Partitions:
# fdisk -l /dev/sda # from the install in rescue mode
Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ce5a0

  Device Boot   Start End  Blocks   Id  System
/dev/sda1   1  63  498688   82  Linux swap / Solaris
Partition 1 does not end on cylinder boundary.
/dev/sda2   *  63  69   53248   83  Linux
Partition 2 does not end on cylinder boundary.
/dev/sda3  691045 7834624   83  Linux
-

Basically, I made:
512M - none swap
55M  - /bootext2
7,8G - /btrfs


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [O]
Detect network card:[O]
Configure network:  [O]
Detect CD:  [O]
Load installer modules: [O]
Detect hard drives: [O]
Partition hard drives:  [O]
Install base system:[O]
Clock/timezone setup:   [O]
User/password setup:[O]
Install tasks:  [O]
Install boot loader:[O]
Overall install:[O]

Comments/Problems:

The installation worked perfectly fine. I used:
 * graphical expert install
 * no root user (sudo)
 * French locale (fr_FR.UTF-8)
 * base install + base system + graphical environment (GNOME)
 * manual partitioning (see above)
 * grub2

Everything was fine until I tried to boot on the fresh install, wich failed
with error inserting btrfs ... unknown symbol in module, or unknown parameter
and obviously, mounting /dev/sda3 on /root failed: No such device.
And then I get dropped in initramfs.

Unfortunately, dmesg seems void of any interesting information, and even when
I manually modprobe btrfs, it doesn't add any info.
But when insmod-ing the module, it fills dmesg, and I can see which symbols are
missing:
 * zlib_deflateEnd
 * zlib_deflate
 * zlib_deflate_workspecesize
 * zlib_deflateInit2
 * crc32c

Insmod-ing zlib_deflate works fine, and fixes the first 4.
But insmod-ing libcrc32c fails with the same error message:
  insmod: error inserting 
'/lib/modules/2.6.32-5-amd64/kernel/lib/libcrc32c.ko': -1 Unknown symbol in 
module
But no clues in dmesg of which symbol is missing.


Please note that this was done in a VirtualBox guest (see above) hosted by a
amd64 Sid installation. All the informations below about the system are the one
of the host since I can't boot on the guest.
I unfortunately cannot try to reproduce the installation on a real system.

-- 

Please make sure that the hardware-summary log file, and any other
installation logs that you think would be useful are attached to this
report. Please compress large files using gzip.

Once you have filled out this report, mail it to sub...@bugs.debian.org.

==
Installer lsb-release:
==
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION=Debian GNU/Linux installer
DISTRIB_RELEASE=6.0 (squeeze) - installer build 20100528-00:05
X_INSTALLATION_MEDIUM=cdrom

==
Installer hardware-summary:
==
uname -a: Linux Hermione 2.6.32-5-amd64 #1 SMP Mon May 17 17:51:57 UTC 2010 
x86_64 GNU/Linux
lspci -knn: 00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM 
Controller [8086:0040] (rev 12)
lspci -knn: Subsystem: Micro-Star International Co., Ltd. Device [1462:7636]
lspci -knn: 00:01.0 PCI bridge [0604]: Intel Corporation Core Processor PCI 
Express x16 Root Port [8086:0041] (rev 12)
lspci -knn: Kernel driver in use: pcieport
lspci -knn: 00:16.0 Communication controller [0780]: Intel Corporation 5 
Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
lspci -knn: Subsystem: Micro-Star International Co., Ltd. Device [1462:7636]
lspci -knn: 00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 
Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 06)
lspci -knn: Subsystem: Micro-Star International Co., Ltd. Device [1462:7636]
lspci -knn: Kernel driver in use: ehci_hcd
lspci -knn: 00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series 
Chipset High Definition Audio [8086:3b56] (rev 06)
lspci -knn: Subsystem: Micro-Star International Co., Ltd. Device [1462:7636]
lspci -knn: 00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series 
Chipset PCI Express Root Port 1 [8086:3b42] (rev 06)
lspci -knn: Kernel driver in use: pcieport
lspci -knn: 00:1c.2 PCI bridge [0604]: Intel