Bug#704090: Wheezy RC1 (x86_64) failed to detect disks on computer with "fake" RAID1 disks

Wirawan Purwanto wirawan0 at gmail.com
Wed Mar 27 18:50:31 UTC 2013


Package: mdadm-udeb
Version: 3.2.5-3

I am trying to install Debian Wheezy RC1 (x86_64 architecture) on a
desktop PC that has a fake RAID1 disks (2 disks, each 1 TB) and it
failed to detect the disks. I am using email to report this bug and
don't know for sure which package to report it against, so I am
starting with mdadm that is in the installer itself. The PC itself has
quad-core Intel Core i7-3770 3.4 GHz CPU (if that matters).

When I arrive at the "Detect disks" stage, the installer reported back
saying that there was no disk detected. This is not correct, since I
can see the disks in /proc/partition. Moreover, the syslog shows that
the raid was actually detected:

Mar 27 17:56:39 md-devices: mdadm: Container /dev/md/imsm0 has been
assembled with 2 drives
Mar 27 17:56:39 kernel: [  559.191806] md: md127 stopped.
Mar 27 17:56:39 kernel: [  559.192733] md: bind<sda>
Mar 27 17:56:39 kernel: [  559.192811] md: bind<sdb>
Mar 27 17:56:40 md-devices: mdadm: Started /dev/md/Volume0 with 2 devices
Mar 27 17:56:40 kernel: [  559.426254] md: md126 stopped.
Mar 27 17:56:40 kernel: [  559.426338] md: bind<sdb>
Mar 27 17:56:40 kernel: [  559.426385] md: bind<sda>
Mar 27 17:56:40 kernel: [  559.427207] md: raid1 personality
registered for level 1
Mar 27 17:56:40 kernel: [  559.427349] bio: create slab <bio-1> at 1
Mar 27 17:56:40 kernel: [  559.427413] md/raid1:md126: active with 2
out of 2 mirrors
Mar 27 17:56:40 kernel: [  559.427426] md126: detected capacity change
from 0 to 1000202043392
Mar 27 17:56:40 kernel: [  559.428003]  md126: p1 p2
Mar 27 17:56:40 kernel: [  559.718222] device-mapper: uevent: version 1.0.3
Mar 27 17:56:40 kernel: [  559.718274] device-mapper: ioctl:
4.22.0-ioctl (2011-10-19) initialised: dm-devel at redhat.com

When I inspected the syslog after the failure to detect disks, I found
kernel error reports, all happening at this location:

kernel BUG at /build/buildd-linux_3.2.35-2-amd64-v9djlH/linux-3.2.35/drivers/md/md.c:6936!
invalid opcode: 0000 [#15] SMP
CPU 0
Modules linked in: efivars dm_mod raid1 md_mod xfs jfs ext4 crc16 jbd2
ext3 jbd btrfs crc32c libcrc32c zlib_deflate ext2 mbcache r8169 mii
nls_cp437 vfat fat nls_utf8 isofs usb_storage usbhid hid sg sr_mod
sd_mod

Please see the attached syslog for more details. The PCI devices on this PC are:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core
processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core
processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200
v2/3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset
Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210
Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset
Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset
Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset
Family PCI Express Root Port 1 (rev c4)
00:1c.4 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset
Family PCI Express Root Port 5 (rev c4)
00:1c.5 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset
Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation H77 Express Chipset LPC
Controller (rev 04)
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA Controller
[RAID mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family
SMBus Controller (rev 04)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 09)
04:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI
Bridge (rev 03)

Device "00:1f.2" is the fake RAID controller.
--
Wirawan Purwanto
Research Scientist
College of William and Mary
Physics Department
Williamsburg, VA 23187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslog.bz2
Type: application/x-bzip2
Size: 26259 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20130327/0490bf35/attachment-0001.bin>


More information about the pkg-mdadm-devel mailing list