[Bug 260059] Re: lilo needs to warn if initrd is too large

2011-05-20 Thread Launchpad Bug Tracker
This bug was fixed in the package lilo - 1:23.2-1

---
lilo (1:23.2-1) unstable; urgency=medium

  [ Joachim Wiedorn ]
  * New upstream release:
- Fix for larger kernel setup code. (Closes: #625266)
- Update of manpages (mkrescue.8, lilo.conf.5).
  * Update of some patches; remove of some patches (now in upstream).
  * debconf scripts:
- Update of French translation (fr.po). (Closes: #621845)
- Update of Portuguese translation (pt.po). (Closes: #622642)
- Update of Russian translation (ru.po). (Closes: #623794)
- Update of Japanese translation (ja.po). (Closes: #624629)
  * debian/control:
- Bump to Standards-Version 3.9.2 (without changes).
- Remove mbr dependency for package lilo (no more needed).
- Replace perl-modules dependency with variable ${perl:Depends}.

  [ Niels Thykier ]
  * Added DMUA flag.

lilo (1:23.1-2) unstable; urgency=medium

  [ Joachim Wiedorn ]
  * debian/control:
- Remove dependency to lilo in package lilo-doc. (Closes: #613753)
  * Fix: save errno for second command (device.c).
  * Fix: save file permissions for converted lilo.conf (Closes: #615103)
  and fix some typos in script lilo-uuid-diskid.
  * Fix: missleading error message in geometry.c. (Closes: #445264)
  * Reformatting of mkrescue manpage (thanks to M.E. Schauer).
  (Closes: #617282)
  * debconf scripts:
- Fix typos in some debconf translation files. (Closes: #504733)
- Use better style in debconf translations. (Closes: #312451, #504733)
- Remove debconf code for managing old boot/boot.b and similar files.
- Remove no more needed debian/lilo.lintian-overrides file.
- Remove script liloconfig and all appropriate debconf code.
- Update of German translation (de.po).
- Update of French translation (fr.po). (Closes: #615936)
- Update of Russian translation (ru.po). (Closes: #616691)
- Update of Galician translation (gl.po).
- Update of Danish translation (da.po). (Closes: #618004)
- Update of Basque translation (eu.po). (Closes: #618253)
- Update of Czech translation (cs.po).  (Closes: #618711)
- Update of Spanish translation (es.po). (Closes: #618813)
- Update of Finnish translation (fi.po). (Closes: #618886)
- Update of Italian translation (it.po). (Closes: #618801)
- Update of Brazilian Portuguese translation. (Closes: #618738)
- Update of Swedish translation (sv.po). (Closes: #618620)
  * Add new script liloconfig, using template with comments,
  works with UUID, LABEL and disk-id for root and boot options.
  * Add new manpage for liloconfig, update of other manpages.
  * Fix typos and phrases in manpage of lilo.conf. (Closes: #258472)

  [ Niels Thykier ]
  * Added Depends on perl-modules, since liloconfig needs it.

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 MD v1.0 RAID-1 boot devices. (Closes: #598035)
- 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 

[Bug 260059] Re: lilo needs to warn if initrd is too large

2011-02-15 Thread Launchpad Bug Tracker
** Branch linked: lp:debian/lilo

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

Title:
  lilo needs to warn if initrd is too large

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2011-01-18 Thread Joachim Wiedorn
With the new upstream version 23.1 this problem should be solved.

Have a nice day.

Joachim (Germany)

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

Title:
  lilo needs to warn if initrd is too large

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2010-04-26 Thread John Brondum
Brian - do you know the status of this defect ? thnx

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2009-03-09 Thread Brian Murray
Soren - it seems that there is a proposed fix in this bug report could
you possibly test it out?

** Changed in: lilo (Ubuntu)
   Status: Confirmed = Triaged

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2009-03-01 Thread Soren Hansen
** Changed in: lilo (Ubuntu)
   Status: New = Confirmed

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2008-12-22 Thread Julián Alarcón
The user Juan Sebastian Cobaleda Cano is a troll, or something. We, in
the Ubuntu-Co Team are checking all his changes in Launchpad. Sorry for
the problems.

** Changed in: lilo (Ubuntu)
 Assignee: Juan Sebastian Cobaleda Cano (sebastiancobaleda) = (unassigned)
   Status: Fix Released = New

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2008-12-09 Thread cobaleda
** Changed in: lilo (Ubuntu)
 Assignee: (unassigned) = cobaleda (sebastiancobaleda)
   Status: New = Confirmed

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2008-12-09 Thread cobaleda
I just spent the better part of a day trying to find out why one of my
servers refused to boot any kernels newer than 2.6.24-17-server. After
countless hours of debugging, it turns out that the size of my
initrd.img's had grown ever so slightly, but it was just enough to push
it over a critical threshold that made lilo fail to boot in rather
mysterious ways. I've attached a screenshot of the boot failure do
demonstrate how non-obvious the cause is.

These are the relevant sizes:

-rw-r--r-- 1 root root 8216636 2008-05-13 13:10 
/boot/initrd.img-2.6.24-17-server
-rw-r--r-- 1 root root 8255405 2008-08-20 14:56 
/boot/initrd.img-2.6.24-19-server

The former boots just fine, the latter.. not so much. So the limit is
somewhere in between those two. The system has both -updates and
-security enabled, but even with just -security, it's quite conceivable
that someone might pass the threshold, and suddenly find themselves with
systems that fail to boot. The fix is simple: Add the large-memory
option in lilo.conf and rerun lilo.

I propose that we put large-memory in the default lilo.conf from now on,
and add a check to lilo that will tell the user that their initrd.img is
over a certain size and that they might want to add the large-memory
option to lilo.conf. This *definitely* needs to go into an SRU, IMNSHO.


this is really, but is not a ubuntu bug. this is a kernel problem.

** Changed in: lilo (Ubuntu)
   Status: Confirmed = Fix Released

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2008-12-09 Thread Mads Chr. Olesen
I fail to understand your argumentation. If the supposed fix (large-
memory) is in Lilo, how can this be a kernel problem?

add a check to lilo that will tell the user that their initrd.img is
over a certain size and that they might want to add the large-memory
option to lilo.conf. This *definitely* needs to go into an SRU, IMNSHO.

There _is already_ such a check in Lilo. It just seems to be a heuristic
that is slightly off. Instead of changing properties of this bug, could
you please test the patch i attached instead?

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2008-08-30 Thread Mads Chr. Olesen
Oh bugger. I tried emailing John Coffman, the author of LILO, to get his
take on this (the previous comment), but the mail bounced.

It pretty much sums up my _suspicions_:
LILO has a heuristic to determine when the large-memory option is needed, but 
it underestimates, leading to this edge case. We are very close to the 
estimated compression ratio that LILO has.

My proposed solution:
Make LILO be more pessimistic about its estimate. This (untested) patch should 
do it:
--- boot.c.orig 2008-08-30 12:44:51.0 +0200
+++ boot.c  2008-08-30 14:36:51.0 +0200
@@ -84,7 +84,7 @@
die(Can't load kernel at mis-aligned address 0x%08lx\n,hdr.start);
descr-flags |= FLAG_LOADHI;/* load kernel high */
hi_sectors = sectors - setup;   /* number of sectors loaded high */
-   hi_sectors *= 3;/* account for decompression */
+   hi_sectors *= 4;/* account for decompression */
if (hi_sectors  HIGH_4M) hi_sectors = HIGH_4M;
 }
 geo_close(geo);

It basically makes LILO assume that the initrd has a compression ratio
of 4, therefore much sooner warning the user that large-memory is
required (and actually behaving as if large-memory was specified).

Soren: Could you test that this patch correctly gives a warning if you
run LILO (without the large-memory option)?

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 260059] Re: lilo needs to warn if initrd is too large

2008-08-27 Thread Soren Hansen
On Sat, Aug 23, 2008 at 08:10:51PM -, Mads Chr. Olesen wrote:
 Could you provide the size of the initrd image, gunzipped?

Oh, you think uncompressed size matters? Hm.. Perhaps.

[EMAIL PROTECTED]:~$ gzip -l /boot/initrd.img-2.6.24-{17,21}-server
 compresseduncompressed  ratio uncompressed_name
821663624412672  66.3% /boot/initrd.img-2.6.24-17-server
825799324574976  66.4% /boot/initrd.img-2.6.24-21-server
   1647462948987648  66.4% (totals)

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2008-08-23 Thread Soren Hansen

** Attachment added: lilo.conf
   http://launchpadlibrarian.net/17030778/lilo.conf

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2008-08-23 Thread Soren Hansen

** Attachment added: lilo.log
   http://launchpadlibrarian.net/17030785/lilo.log

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2008-08-23 Thread robvarga
I second this request, this bit me as well, my fresh install of ubuntu
server 8.04.1 amd64 did not install because the large-memory option was
not in lilo.conf.

Either put it there from start, or even better, provide a chance of
editing the generated lilo.conf during install before installing the
boot loader.

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2008-08-23 Thread robvarga
More correctly, it did not boot because of large-memory wasn't there in
lilo.

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2008-08-23 Thread Mads Chr. Olesen
Could you provide the size of the initrd image, gunzipped?

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2008-08-22 Thread Mads Chr. Olesen
Hmm, the issue doesn't seem as straightforward after all.

In lilo there is already a check for a too large initrd (boot.c, search
for FLAG_TOOBIG). I wonder why it wasn't triggered.

Could you attach your lilo.conf? And, if possible, the output of running
lilo with a couple of -v flags (and without the large-memory
option)?

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2008-08-21 Thread Soren Hansen

** Attachment added: Screenshot of the boot failure
   http://launchpadlibrarian.net/16981902/bootfail.png

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 260059] Re: lilo needs to warn if initrd is too large

2008-08-21 Thread Soren Hansen
** Description changed:

- 
  I just spent the better part of a day trying to find out why one of my
  servers refused to boot any kernels newer than 2.6.24-17-server. After
  countless hours of debugging, it turns out that the size of my
  initrd.img's had grown ever so slightly, but it was just enough to push
- it over a critical threshold that made lilo fail to get in rather
- mysterious ways.  I'll attach a screenshot of the boot failure do
+ it over a critical threshold that made lilo fail to boot in rather
+ mysterious ways.  I've attached a screenshot of the boot failure do
  demonstrate how non-obvious the cause is.
  
  These are the relevant sizes:
  
  -rw-r--r-- 1 root root 8216636 2008-05-13 13:10 
/boot/initrd.img-2.6.24-17-server
  -rw-r--r-- 1 root root 8255405 2008-08-20 14:56 
/boot/initrd.img-2.6.24-19-server
  
  The former boots just fine, the latter.. not so much. So the limit is
  somewhere in between those two. The system has both -updates and
  -security enabled, but even with just -security, it's quite conceivable
  that someone might pass the threshold, and suddenly find themselves with
  systems that fail to boot. The fix is simple: Add the large-memory
  option in lilo.conf and rerun lilo.
  
  I propose that we put large-memory in the default lilo.conf from now on,
  and add a check to lilo that will tell the user that their initrd.img is
  over a certain size and that they might want to add the large-memory
- option to lilo.conf. This *definitely* needs to into an SRU, IMNSHO.
- 
-   affects ubuntu/lilo
-   importance critical
+ option to lilo.conf. This *definitely* needs to go into an SRU, IMNSHO.

-- 
lilo needs to warn if initrd is too large
https://bugs.launchpad.net/bugs/260059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs