Debian Bug report logs -
#522283
unable to install lilo on degraded RAID device ( failed disk is the first in array )
Reported by: Christian Schöniger <csc@fes-aes.de>
Date: Thu, 2 Apr 2009 11:42:02 UTC
Severity: normal
Tags: patch
Found in version lilo/1:22.8-7
Fixed in version lilo/1:23.1-1
Done: Joachim Wiedorn <ad_debian@joonet.de>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, William Pitcock <nenolod@dereferenced.org>:
Bug#522283; Package lilo.
(Thu, 02 Apr 2009 11:42:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Christian Schöniger <csc@fes-aes.de>:
New Bug report received and forwarded. Copy sent to William Pitcock <nenolod@dereferenced.org>.
(Thu, 02 Apr 2009 11:42:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: lilo
Version: 1:22.8-7
Severity: normal
Tags: patch
If the first physical device of a RAID1 array is faulty or removed, lilo fails to install.
It doesn't get valid informations about the device (md: RAIDset device 0 = 0x0000) and didn't resume with the next disk.
In "raid.c" lilo should loop through all devices ( for (pass=0; pass < raid_limit; pass++) )
to get the disk geometry. But raid_limit is set to md_array_info.active_disks ( 1 ) and getting
informations about the faulty or removed device is skipped.
The attached patch really scans all devices to get all required information.
lilo 22.6.1-9.3 is also affected.
This Bug is related to Bug #278373 where lilo dies with
"Fatal: Trying to map files from unnamed device 0x0000 (NFS/RAID mirror down ?)"
-- lilo.conf
boot=/dev/md0
root=/dev/md0
raid-extra-boot=mbr-only
map=/boot/map
delay=20
prompt
timeout=30
vga=normal
image=/boot/vmlinuz-2.6.26
label=Linux-2.6.26
-- output of `mdadm -D /dev/md0`
/dev/md0:
Version : 00.90
Creation Time : Mon Jun 19 13:40:52 2006
Raid Level : raid1
Array Size : 9767424 (9.31 GiB 10.00 GB)
Used Dev Size : 9767424 (9.31 GiB 10.00 GB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Thu Apr 2 13:34:44 2009
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
UUID : 87a10740:3e72e7cd:74838c78:f64d172f
Events : 0.4694164
Number Major Minor RaidDevice State
0 0 0 0 removed
1 8 1 1 active sync /dev/sda1
-- output of `/sbin/lilo -v3 -t -H`
LILO version 22.8 (test mode), Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2006 John Coffman
Released 19-Feb-2007, and compiled at 17:47:45 on Nov 15 2008
Running Linux kernel 2.6.26 on i686
Debian GNU/Linux
Warning: LBA32 addressing assumed
device-mapper major = 253
pf_hard_disk_scan: ndevs=2
0800 707DF863 /dev/sda
0810 72B6A682 /dev/sdb
Resolve invalid VolumeIDs
Resolve duplicate VolumeIDs
0800 707DF863 /dev/sda
0810 72B6A682 /dev/sdb
device codes (user assigned pf) = 0
device codes (user assigned) = 0
device codes (BIOS assigned) = 3
device codes (canonical) = 3
RAID info: nr=1, raid=2, active=1, working=1, failed=0, spare=0
Warning: Partial RAID-1 install on active disks only; booting is not failsafe
md: RAIDset device 0 = 0x0000
Warning: Faulty disk in RAID-1 array; boot with caution!!
Fatal: Unusual RAID bios device code: 0xFF
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lilo depends on:
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libdevmapper1.02.1 2:1.02.27-4 The Linux Kernel Device Mapper use
ii mbr 1.1.10-2 Master Boot Record for IBM-PC comp
lilo recommends no packages.
Versions of packages lilo suggests:
pn lilo-doc <none> (no description available)
-- debconf information:
liloconfig/fstab_broken:
liloconfig/banner:
liloconfig/liloconf_incompatible:
lilo/bad_bitmap:
liloconfig/use_lba32: true
lilo/upgrade:
liloconfig/liloconf_exists:
liloconfig/configuring_base:
liloconfig/use_current_lilo: true
lilo/runme: false
liloconfig/wipe_old_liloconf: false
liloconfig/instruction:
liloconfig/activate_error:
liloconfig/select_bitmap: /boot/coffee.bmp
liloconfig/lilo_error:
lilo/new-config:
liloconfig/odd_fstab:
liloconfig/install_from_root_device: true
liloconfig/make_active_partition: true
liloconfig/maintitle:
liloconfig/mbr_error:
liloconfig/lilo_warning:
liloconfig/install_mbr: false
liloconfig/no_changes:
* lilo/add_large_memory: false
* FES GmbH Fahrzeug-Entwicklung Sachsen
USt.-Id. Nr.: DE 141379336
Registergericht: Amtsgericht Chemnitz, Registernummer: HRB 4499
Geschaeftsfuehrer: Dr. Hartmut Kaul, Ronny Tolliszus, Frank Weidenmueller
* Auto-Entwicklungsring Sachsen GmbH
USt.-Id. Nr.: DE 188743030
Registergericht: Amtsgericht Chemnitz, Registernummer: HRB 14770
Geschaeftsfuehrer: Dr. Hartmut Kaul, Ronny Tolliszus, Frank Weidenmueller
[lilo.diff (text/x-diff, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, William Pitcock <nenolod@dereferenced.org>:
Bug#522283; Package lilo.
(Tue, 03 Nov 2009 16:15:13 GMT) (full text, mbox, link).
Acknowledgement sent
to Ronny Adsetts <ronny.adsetts@amazinginternet.com>:
Extra info received and forwarded to list. Copy sent to William Pitcock <nenolod@dereferenced.org>.
(Tue, 03 Nov 2009 16:15:13 GMT) (full text, mbox, link).
Message #10 received at 522283@bugs.debian.org (full text, mbox, reply):
Package: lilo
Followup-For: Bug #522283
Hi,
Note: Bug follow up is not sent from the system with a patched lilo
installed. I took version 22.8-7 and applied the patch in this ticket
and built a package backported to Etch.
I can confirm that the patch attached to this bug fixes the ability to
have lilo run correctly on a RAID1 array where the first device in the
array is missing. Without this patch the -H option fails with:
Fatal: Unusual RAID bios device code: 0xFF
Please apply the patch to the Debian package.
Thanks.
Ronny
-- System Information:
Debian Release: 4.0
APT prefers oldstable
APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-etchnhalf.1-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages lilo depends on:
ii debconf 1.5.11etch2 Debian configuration management sy
ii libc6 2.3.6.ds1-13etch9 GNU C Library: Shared libraries
ii libdevmapper1.02 2:1.02.08-1 The Linux Kernel Device Mapper use
ii mbr 1.1.9-2 Master Boot Record for IBM-PC comp
lilo recommends no packages.
-- debconf information excluded
Reply sent
to Joachim Wiedorn <ad_debian@joonet.de>:
You have taken responsibility.
(Mon, 14 Feb 2011 23:39:37 GMT) (full text, mbox, link).
Notification sent
to Christian Schöniger <csc@fes-aes.de>:
Bug acknowledged by developer.
(Mon, 14 Feb 2011 23:39:37 GMT) (full text, mbox, link).
Message #15 received at 522283-close@bugs.debian.org (full text, mbox, reply):
Source: lilo
Source-Version: 1:23.1-1
We believe that the bug you reported is fixed in the latest version of
lilo, which is due to be installed in the Debian FTP archive:
lilo-doc_23.1-1_all.deb
to main/l/lilo/lilo-doc_23.1-1_all.deb
lilo_23.1-1.debian.tar.gz
to main/l/lilo/lilo_23.1-1.debian.tar.gz
lilo_23.1-1.dsc
to main/l/lilo/lilo_23.1-1.dsc
lilo_23.1-1_i386.deb
to main/l/lilo/lilo_23.1-1_i386.deb
lilo_23.1.orig.tar.gz
to main/l/lilo/lilo_23.1.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 522283@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Joachim Wiedorn <ad_debian@joonet.de> (supplier of updated lilo package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 28 Jan 2011 22:51:10 +0100
Source: lilo
Binary: lilo lilo-doc
Architecture: source i386 all
Version: 1:23.1-1
Distribution: unstable
Urgency: low
Maintainer: Joachim Wiedorn <ad_debian@joonet.de>
Changed-By: Joachim Wiedorn <ad_debian@joonet.de>
Description:
lilo - LInux LOader - the classic OS boot loader
lilo-doc - LInux LOader - Documentation for the classic OS boot loader
Closes: 158955 244741 278373 287257 304065 306472 325235 335084 339778 389328 409663 428390 431077 459714 504267 522283 590022 596258 599934
Changes:
lilo (1:23.1-1) unstable; urgency=low
.
* New upstream release. (Closes: #339778)
* Upstream bugfixes:
- Option 'append' works with acpi=off. (Closes: #428390)
- Working on degraded RAID-1 device. (Closes: #278373, #522283)
- Working with spaces in labels. (Closes: #287257)
- Using new hook scripts for kernel and initrd only one time
when needed. (Closes: #599934)
- Include diffs for NMUs. (Closes: #504267, #409663)
- Fix error with LVM partition. (Closes: #244741)
- Compatible with devmapper version. (Closes: #325235)
* Solved upstream bugs of Ubuntu:
- Raid related error while upgrading (LP: #242879)
- Warn if initrd is too large (LP: #260059)
- Allow using LVM as root partition (LP: #274972)
- Stack overlaping on second stage (LP: #438177)
- Raid setup fatal errors (LP: #470502)
- Use hook scripts while updating kernel/initrd
(LP: #43869, #345482, #628858, #636211, #691975)
.
* Remove all old patches.
* Remove very old lilo.conf examples.
* Remove obsolete file debian/NEWS.
* Bump to Standards Version 3.9.1.
* Move to debhelper compatibility level 7.
* Move to source format 3.0 (quilt).
* Update and new formatting of debian/copyright.
* debian/control:
- Move source dependency debhelper to version >= 7.0.15.
- Update some versions of source dependencies and remove quilt.
- Add VCS urls in Alioth.
- Add in package lilo-doc dependency to lilo.
- Optimize package descriptions.
.
* Update all debian/lilo.* and debian/lilo-doc.* files.
* Add new debian/lilo-doc.doc-base file.
* Remove lilo.sh wrapper script, used because of devfsd.
* Remove obsolete script lilo_find_mbr and its manpage.
* Remove configured link update-lilo to liloconfig.
* Remove some obsolete manpages.
* Move script liloconfig into directory debian/scripts.
* Add new script update-lilo and its manual page. (Closes: #335084)
* Add new script lilo-uuid-diskid for ID conversion and its manual page.
.
* Update scripts lilo.postinst, lilo.postrm, lilo.preinst. Using
dpkg-maintscript-helper for preserving old modified hook scripts.
* Add link creation for menu background sarge.bmp and sid.bmp
for compatibility in file debian/lilo.postinst.
* Remove hook scripts for kernel and initramfs and use upstream scripts.
(Closes: #590022, #306472, #389328)
* debian/patches:
- Add new patches for Debian.
- Add patches for simple rules using dh 7.
* debian/rules:
- Use simple rules with dh 7 capabilities.
* Move debian/Makefile.floppy into debian/floppy directory
and fix this Makefile. (Closes: #158955)
* Add debian/lilo.install file.
* Add lintian-overrides for package lilo.
* Update debian/README.Debian file.
* Remove obsolete file debian/NEWS.
* Remove obsolete debian/TODO file.
* Remove obsolete debian/lilo.changelogs file.
* Add patchset and changelog entries for use in Ubuntu.
.
* debconf files:
- Remove message above old bitmap path. (Closes: #304065)
- Update of debian/lilo.templates and debian/lilo.config.
- Add some code to these files using lilo-uuid-diskid.
- Small update of german translation.
- Add updated Danish debconf translation. (Closes: #596258)
.
* Some more bugfixes:
- Add usage hints about -H option in src/lilo.c. (Closes: #459714)
- su-to-root command without path in debian/lilo.menu. (Closes: #431077)
- Diffs for NMUs already included. (Closes: #504267, #409663)
- Remove old obsolete workaround (see bugreport 146350#25).
Checksums-Sha1:
0cdaf75f29a96c626e5a2eefa8254aed5213a20b 1906 lilo_23.1-1.dsc
85d430b11ad1744a8b0b481c283026fdc5348a3c 574423 lilo_23.1.orig.tar.gz
3d3a02cd9ebf2f8de424db1c93853c5f6c52f95e 101956 lilo_23.1-1.debian.tar.gz
d8e4b21c1e7d9aee8f5478328c8c66b624d7e4cf 324022 lilo_23.1-1_i386.deb
4c4e2e91d3751f59260d956715d44c48730d099e 677238 lilo-doc_23.1-1_all.deb
Checksums-Sha256:
7a8b6b0c959386725ecdd0cfd68b17a528609232d56d91a48a3cf546bea02957 1906 lilo_23.1-1.dsc
9809ed34131f8178f4e986c60d668413093d2445ec29f0b4d03537386699e315 574423 lilo_23.1.orig.tar.gz
4bfa17238ae09aa104763f90475d9d4925e60c962ccded5dfcdc74ebbefff10c 101956 lilo_23.1-1.debian.tar.gz
0b000510c86b8dbb2ae93d7cc4581ce3d275b59678028ffc125770e75d827dd4 324022 lilo_23.1-1_i386.deb
1e0e7dfc081282a58607715b29f9227f0919e902ee4ce0b2546e330ddcc6497d 677238 lilo-doc_23.1-1_all.deb
Files:
4a180a2fb5efabf11da2892814e916ba 1906 admin optional lilo_23.1-1.dsc
36139c1b8f4dc835fc7775e59ee4b20c 574423 admin optional lilo_23.1.orig.tar.gz
d036ec241d7b4fdfc60d95adc18b2944 101956 admin optional lilo_23.1-1.debian.tar.gz
3df793949cf22a413818a8b227efe3b8 324022 admin optional lilo_23.1-1_i386.deb
9df84b95403a9db49c0a89867a6e70f6 677238 doc optional lilo-doc_23.1-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJNWbh7AAoJEAVLu599gGRCm88QAJKNIRZQC9pZl4eNd/crnwjT
Eb9yqTpc3UEnGUlS8RHKVh2YbfhT0rCn0vayMY7+5WyeafA+1Q29AWvP6Dz4k7eL
rSZ1viW8o0zsBD+KiBD4tUtKmkmqGgMvc774wTQ3WnNIru/AR45PZQ7qvIWBWi+m
yHraBqH3omEjdW9wcAYAG2ju5mxrHeFJEKFgo4E1iRts/lYjV5TAxFqjAxjCW5TL
/uzqRY/zz9CJbimhPMWBM9SvE9JBfG1OOCiP6azSgYi5VBUA1JNOzgoVF5oTEBQ0
vFsY0P3zhFmhfhrHYLS63qeU9lEvKGtuOsUP3fNo8AgDCOw2DZIfm37EsvjncfZs
sX1/OzPhU8TOMwDh/2DcP+1bKRl9jIJUyRbGOIBLXLYt7l9xxEQpIRKNc9hdtHWn
GyrNsgvaaTb81QH7X3+t9akrnyny2iWmlEz6h7lamW71sNEHIdS0kcbhdzeQa8cy
Fr3XQgbtqS5HJAflGSw7ch4qbNSwAx4NXos9pOzJIcY5MAj22g9Gy6V2tLhyWIsI
0HQSUCLJLEG3BME+0wHMVvC4844sjqWCaw3+w61NjvxmjIqzX/4kz4MDnIVXfZU9
a80T4PI7NpSFKUdJIFYa/AewrpfK3ZP4b35kAnK/lnq/g738NLxLWcsoTkRMDSvf
hOZHanLYGhy8+C9AB56e
=pzPU
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 25 Mar 2011 07:38:44 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Tue Jul 23 13:42:24 2024;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.