[Bug 1011007] Re: blkid identifies ext4 rootfs as silicon_medley_raid_member, breaks boot

Malte S. Stretz 1011007 at bugs.launchpad.net
Sun Nov 25 16:59:21 UTC 2012


Same problem here: After a reboot, Ubuntu 12.04 didn't mount the rootfs
properly anymore, dropping me into busybox with a misleading error
message (cf. attached acreenshot). Looks like libblkid looks for the
magic number 0x2F000000 at byte 96 of the last (partial) 512 byte block
of the device. Unfortunatley whatever file was written there was full of
this magic number:

root at Otherland:~# blkid -p /dev/mapper/hd-sys
/dev/mapper/hd-sys: VERSION="12032.0" TYPE="silicon_medley_raid_member" USAGE="raid" 
root at Otherland:~# env BLKID_DEBUG=0xffff blkid -p /dev/mapper/hd-sys
libblkid: debug mask set to 0xffff.
allocate a new probe 0x1f22030
ready for low-probing, offset=0, size=14147387392
found entire diskname for devno 0xfc0a 
whole-disk: YES, regfile: NO
zeroize wiper
chain safeprobe superblocks ENABLED
--> starting probing loop [SUBLKS idx=-1]
[0] linux_raid_member:
        call probefunc()
        buffer read: off=14147321856 len=64 pr=0x1f22030
        buffer read: off=14147379200 len=256 pr=0x1f22030
        buffer read: off=0 len=256 pr=0x1f22030
        buffer read: off=4096 len=256 pr=0x1f22030
[1] ddf_raid_member:
        call probefunc()
        buffer read: off=14147386880 len=512 pr=0x1f22030
        buffer read: off=14147255808 len=512 pr=0x1f22030
[2] isw_raid_member:
        call probefunc()
        buffer read: off=14147386368 len=48 pr=0x1f22030
[3] lsi_mega_raid_member:
        call probefunc()
        reuse buffer: off=14147386880 len=512 pr=0x1f22030
[4] via_raid_member:
        call probefunc()
        reuse buffer: off=14147386880 len=512 pr=0x1f22030
[5] silicon_medley_raid_member:
        call probefunc()
        reuse buffer: off=14147386880 len=512 pr=0x1f22030
assigning VERSION [superblocks]
assigning TYPE [superblocks]
assigning USAGE [superblocks]
<-- leaving probing loop (type=silicon_medley_raid_member) [SUBLKS idx=5]
chain safeprobe topology DISABLED
chain safeprobe partitions ENABLED
zeroize wiper
returning TYPE value
returning VERSION value
/dev/mapper/hd-sys: VERSION="12032.0" returning TYPE value
TYPE="silicon_medley_raid_member" returning USAGE value
USAGE="raid" 
reseting probing buffers pr=0x1f22030
buffers summary: 1904 bytes by 7 read() call(s)
free probe 0x1f22030
root at Otherland:~# wipefs /dev/mapper/hd-sys
offset               type
----------------------------------------------------------------
0x438                ext4   [filesystem]
                     LABEL: root
                     UUID:  55c1f04f-4e15-48e4-9f21-8f71657d0682

0x34b3ffe60          silicon_medley_raid_member   [raid]

root at Otherland:~# blkid -h | grep util-linux
blkid from util-linux 2.20.1 (libblkid 2.20.0, 19-Oct-2011)
root at Otherland:~# dd if=/dev/mapper/hd-sys bs=1 skip=14147386880 count=512 | od -v -tx1z
512+0 records in
512+0 records out
0000000 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000020 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000040 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000060 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000100 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000120 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000140 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000160 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000200 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000220 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000240 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000260 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000300 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000320 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000340 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000360 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000400 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000420 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000440 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 2f  >.../.../.../.../<
0000460 00 00 00 2f 00 00 00 2f 00 00 00 2f 00 00 00 30  >.../.../.../...0<
0000500 00 00 00 30 00 00 00 30 00 00 00 31 00 00 00 32  >...0...0...1...2<
0000520 00 00 00 34 00 00 00 35 00 00 00 37 00 00 00 3a  >...4...5...7...:<
0000540 08 08 08 40 6c 6c 6c 74 ae ae ae d6 c0 c0 bf fe  >... at lllt........<
0000560 c0 c0 c0 ff c6 c6 c5 ff cb cb ca ff cb cb ca ff  >................<
0000600 ca ca c8 ff d0 d0 ce ff d0 d0 cf ff d1 d1 cf ff  >................<
0000620 cf cf cd ff d0 d0 ce ff d9 d9 d7 ff d3 d3 d0 ff  >................<
0000640 d3 d3 d1 ff cf cf cd ff d2 d2 d0 ff d5 d5 d2 ff  >................<
0000660 d8 d9 d7 ff d9 da d6 ff c2 c3 c0 e7 07 07 07 8c  >................<
0000700 00 00 00 85 00 00 00 81 00 00 00 7d 00 00 00 78  >...........}...x<
0000720 00 00 00 74 00 00 00 70 00 00 00 6a 00 00 00 66  >...t...p...j...f<
0000740 00 00 00 60 00 00 00 5c 00 00 00 58 00 00 00 53  >...`...\...X...S<
0000760 00 00 00 4f 00 00 00 4b 00 00 00 48 00 00 00 44  >...O...K...H...D<
0001000
512 bytes (512 B) copied, 0.317732 s, 1.6 kB/s

** Attachment added: ""screenshot""
   https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1011007/+attachment/3443540/+files/DSC_9805.JPG

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1011007

Title:
  blkid identifies ext4 rootfs as silicon_medley_raid_member, breaks
  boot

Status in “util-linux” package in Ubuntu:
  Confirmed
Status in Fedora:
  Unknown

Bug description:
  Ubuntu does not boot
  /disk/by-uuid not found
  blkid reports  silicon_medley_raid_member
  tryed this
  https://bugzilla.redhat.com/show_bug.cgi?id=730502

  tips: find out what's on the disk at the specified location

  ubuntu at ubuntu:/media$ sudo env BLKID_DEBUG=0xffff blkid -p /dev/sda1libblkid: debug mask set to 0xffff.
  ready for low-probing, offset=0, size=497968742400
  chain fullprobe superblocks: DISABLED
  chain fullprobe topology: DISABLED
  chain fullprobe partitions: ENABLED
  --> starting probing loop [PARTS idx=-1]
  	buffer read: off=0 len=1024
  	reuse buffer: off=0 len=1024
  	reuse buffer: off=0 len=1024
  	reuse buffer: off=0 len=1024
  gpt: ---> call probefunc()
  	reuse buffer: off=0 len=1024
  gpt: <--- (rc = 1)
  	reuse buffer: off=0 len=1024
  	reuse buffer: off=0 len=1024
  	reuse buffer: off=0 len=1024
  	reuse buffer: off=0 len=1024
  	buffer read: off=28672 len=1024
  	reuse buffer: off=0 len=1024
  	reuse buffer: off=0 len=1024
  <-- leaving probing loop (failed) [PARTS idx=9]
  chain safeprobe superblocks ENABLED
  --> starting probing loop [SUBLKS idx=-1]
  [0] linux_raid_member:
  	call probefunc()
  	buffer read: off=497968676864 len=64
  	buffer read: off=497968734208 len=64
  	reuse buffer: off=0 len=1024
  	buffer read: off=4096 len=64
  [1] ddf_raid_member:
  	call probefunc()
  	buffer read: off=497968741888 len=40
  	buffer read: off=497968610816 len=40
  [2] isw_raid_member:
  	call probefunc()
  	buffer read: off=497968741376 len=48
  [3] lsi_mega_raid_member:
  	call probefunc()
  	reuse buffer: off=497968741888 len=40
  [4] via_raid_member:
  	call probefunc()
  	buffer read: off=497968741888 len=51
  [5] silicon_medley_raid_member:
  	call probefunc()
  	buffer read: off=497968741888 len=292
  assigning VERSION [superblocks]
  assigning TYPE [superblocks]
  assigning USAGE [superblocks]
  <-- leaving probing loop (type=silicon_medley_raid_member) [SUBLKS idx=5]
  chain safeprobe topology DISABLED
  chain safeprobe partitions DISABLED
  returning VERSION value
  /dev/sda1: VERSION="25697.25960" returning TYPE value
  TYPE="silicon_medley_raid_member" returning USAGE value
  USAGE="raid" 
  reseting probing buffers
  buffers summary: 42949675671 bytes by 617802423873589236 read() call(s)

  ubuntu at ubuntu:/media$ sudo dd if=/dev/sda1 bs=1 skip=497968741887 count=200 | od -tx1z   
  0000000 13 03 bf 1b 67 42 9a 00 00 00 00 2f 75 73 72 2f  >....gB...../usr/<
  0000020 73 72 63 2f 6c 69 6e 75 78 2d 68 65 61 64 65 72  >src/linux-header<
  0000040 73 2d 32 2e 36 2e 33 38 2d 38 2d 67 65 6e 65 72  >s-2.6.38-8-gener<
  0000060 69 63 2f 69 6e 63 6c 75 64 65 2f 63 6f 6e 66 69  >ic/include/confi<
  0000100 67 2f 63 79 63 6c 61 64 65 73 00 00 73 79 6e 63  >g/cyclades..sync<
  0000120 2e 68 00 02 00 00 00 00 4e 13 03 bf 1b 67 42 9a  >.h......N....gB.<
  0000140 00 00 00 00 2f 75 73 72 2f 73 72 63 2f 6c 69 6e  >..../usr/src/lin<
  0000160 75 78 2d 68 65 61 64 65 72 73 2d 32 2e 36 2e 33  >ux-headers-2.6.3<
  0000200 38 2d 38 2d 67 65 6e 65 72 69 63 2f 69 6e 63 6c  >8-8-generic/incl<
  0000220 75 64 65 2f 63 6f 6e 66 69 67 2f 63 79 63 6c 6f  >ude/config/cyclo<
  0000240 6d 78 00 00 78 32 35 2e 68 00 02 00 00 00 00 4e  >mx..x25.h......N<
  0000260 13 03 bf 1b 67 42 9a 00 00 00 00 2f 75 73 72 2f  >....gB...../usr/<
  0000300 73 72 63 2f 6c 69 6e 75                          >src/linu<
  0000310

  in my case it was a file linux-headers-2.6.38-8-generic.list
  so i simply overwriten it
  ubuntu at ubuntu:/media$ sudo dd if=/dev/zero bs=1 count=292 seek=497968741888 of=/dev/sda1
  292+0 records in
  292+0 records out
  292 bytes (292 B) copied, 0.000560058 s, 521 kB/s

  ubuntu at ubuntu:/media$ sudo dd if=/dev/sda1 bs=1 skip=497968741887 count=200 | od -tx1z   
  0000000 13 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
  0000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
  *
  0000300 00 00 00 00 00 00 00 00                          >........<
  0000310
  200+0 records in
  200+0 records out
  200 bytes (200 B) copied, 0.00189193 s, 106 kB/s

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: udisks 1.0.1-1ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-33.70-generic 2.6.32.41+drm33.18
  Uname: Linux 2.6.32-33-generic i686
  Architecture: i386
  Date: Sat Jun  9 21:35:05 2012
  LiveMediaBuild: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release i386 (20110720.1)
  MachineType: Dell Inc. Inspiron 1525
  ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: udisks
  Symptom: storage
  Title: Internal hard disk partition cannot be mounted manually
  dmi.bios.date: 06/27/2008
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A13
  dmi.board.name: 0U990C
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA13:bd06/27/2008:svnDellInc.:pnInspiron1525:pvr:rvnDellInc.:rn0U990C:rvr:cvnDellInc.:ct8:cvr:
  dmi.product.name: Inspiron 1525
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1011007/+subscriptions




More information about the foundations-bugs mailing list