Debian Bug report logs - #534466
Booting a Debian Lenny ia64 install cdrom on a Sarge system corrupts raid array

version graph

Package: cdrom; Maintainer for cdrom is Debian CD-ROM Team <debian-cd@lists.debian.org>;

Reported by: RUSSOTTO François-Xavier 200103 <francois-xavier.russotto@cea.fr>

Date: Wed, 24 Jun 2009 15:21:08 UTC

Severity: critical

Tags: squeeze-ignore, wheezy-ignore

Found in version 5.0.1

Done: Michael Gilbert <mgilbert@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian CD-ROM Team <debian-cd@lists.debian.org>:
Bug#534466; Package cdrom. (Wed, 24 Jun 2009 15:21:11 GMT) Full text and rfc822 format available.

Acknowledgement sent to RUSSOTTO François-Xavier 200103 <francois-xavier.russotto@cea.fr>:
New Bug report received and forwarded. Copy sent to Debian CD-ROM Team <debian-cd@lists.debian.org>. (Wed, 24 Jun 2009 15:21:11 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: RUSSOTTO François-Xavier 200103 <francois-xavier.russotto@cea.fr>
To: <submit@bugs.debian.org>
Subject: Booting a Debian Lenny ia64 install cdrom on a Sarge system corrupts raid array
Date: Wed, 24 Jun 2009 16:07:40 +0200
Package: cdrom
Version: 5.0.1
Severity: critical

After booting a Debian 5.0.1 install cdrom (debian-501-ia64-netinst.iso) on an Itanium 2 server with Debian 3.1 (ia64) installed on a software raid 5 root partition, the raid array get corrupted, leading to a kernel panic at boot.

The raid 5 array containing the root partition is made of 3 partitions on 3 scsi disks (sda2, sdb2, sdc2) which ran fluently for years. Here is the output since then:

	md: invalid superblock checksum on sdb2
	md: sdb2 has invalid sb, not importing!
	md: md_import_device returned -22
	mdadm: failed to add /dev/sdb2 to /dev/md0: Invalid argument
	md: invalid superblock checksum on sdc2
	md: sdc2 has invalid sb, not importing!
	md: md_import_device returned -22
	mdadm: failed to add /dev/sdc2 to /dev/md0: Invalid argument
	md: invalid superblock checksum on sda2
	md: sda2 has invalid sb, not importing!
	md: md_import_device returned -22
	mdadm: failed to add /dev/sda2 to /dev/md0: Invalid argument
	md: bug in file drivers/md/md.c, line 1513
	
	md:o**********************************
	md:o* <COMPLETE RAID STATE PRINTOUT> *
	md:o**********************************
	md0:
	md:o**********************************
	
	mdadm: failed to RUN_ARRAY /dev/md0: Invalid argument
	EXT3-fs: unable to read superblock
	pivot_root: No such file or directory
	/sbin/init: 432: cannot open /dev/console: No such file
	Kernel panic: Attempted to kill init!

When I boot on the Lenny cdrom again in rescue mode, I can successfully reassemble the array and mount the root partition on it with no problem at all: the data is accessible and "mdadm --detail /dev/md0" reports no error.

However, if I boot a Sarge install cdrom (debian-31r8-ia64-netinst.iso) and tries to reassemble the raid manually in a console, mdadm fails:

	$ mdadm --assemble /dev/md0 /dev/sda2 /dev/sdb2 /dev/sdc2
	mdadm: failed to add /dev/sdb2 to /dev/md0: Invalid argument
	mdadm: failed to add /dev/sdc2 to /dev/md0: Invalid argument
	mdadm: failed to add /dev/sda2 to /dev/md0: Invalid argument

The output of "mdadm --examine" on sda2, sdb2, sdc2 is correct though: all partitions the array is made from are listed correctly; no failure is reported; checksum is reported correct on every partition.  I tried to force reassembling in several ways using options --force, --update=resync, --update=summaries with no success.

The server is using Debian 3.1 Sarge ia64, kernel 2.6.8-mckinley-smp

Apart from fixing this bug, I would be grateful that you to suggest me a safe way to make the server bootable again. I was thinking about booting on a Sarge install cdrom and try to re-create the raid array with option "--assume-clean" or, if that fails, re-create the array and restore content from a tar backup.

Thank you very much.





Information forwarded to debian-bugs-dist@lists.debian.org, Debian CD-ROM Team <debian-cd@lists.debian.org>:
Bug#534466; Package cdrom. (Sun, 14 Nov 2010 17:36:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Dr. David Alan Gilbert" <debian@treblig.org>:
Extra info received and forwarded to list. Copy sent to Debian CD-ROM Team <debian-cd@lists.debian.org>. (Sun, 14 Nov 2010 17:36:03 GMT) Full text and rfc822 format available.

Message #10 received at 534466@bugs.debian.org (full text, mbox):

From: "Dr. David Alan Gilbert" <debian@treblig.org>
To: 534466@bugs.debian.org
Subject: Is this IA64 specific?
Date: Sun, 14 Nov 2010 16:50:27 +0000
I haven't got a machine to try and recreate this on easily, but I wonder
if this bug is IA64 specific?
If not then it's even more important - unless someone knows of a specific
ia64 change in the md raid sb then I guess it might be more general.

Dave
-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\ gro.gilbert @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/




Added tag(s) squeeze-ignore. Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Thu, 03 Feb 2011 13:54:10 GMT) Full text and rfc822 format available.

Added tag(s) wheezy-ignore. Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Fri, 22 Mar 2013 12:42:06 GMT) Full text and rfc822 format available.

Reply sent to Michael Gilbert <mgilbert@debian.org>:
You have taken responsibility. (Wed, 10 Apr 2013 17:18:04 GMT) Full text and rfc822 format available.

Notification sent to RUSSOTTO François-Xavier 200103 <francois-xavier.russotto@cea.fr>:
Bug acknowledged by developer. (Wed, 10 Apr 2013 17:18:04 GMT) Full text and rfc822 format available.

Message #19 received at 534466-close@bugs.debian.org (full text, mbox):

From: Michael Gilbert <mgilbert@debian.org>
To: 534466-close@bugs.debian.org
Subject: re: Booting a Debian Lenny ia64 install cdrom on a Sarge system corrupts raid array
Date: Wed, 10 Apr 2013 13:14:24 -0400
control: tag -1 unreproducible

I think this situation is unfortunate, but I don't think there is any
value in keeping this bug open any more.  Sarge has been unsupported
for 5 years now.

If there are situations where this issue can be reproduced on squeeze
or newer, then please reopen.

Best wishes,
Mike



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 09 May 2013 07:29:55 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Apr 21 12:14:00 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.