FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 09-19-2008, 11:19 PM
"J.L.H.W. Linkels"
 
Default Bug#499575: linux-image-2.6-K7 Wait for root file system after upgrading from kernel 2.6.22 to 2.6-K7

Package: linux-image-2.6-K7
Version: 2.6.26+16
Severity: grave
Justification: renders package unusable



-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6-K7 depends on:
ii linux-image-2.6-686 2.6.26+16 Linux 2.6 image on
PPro/Celeron/PI

linux-image-2.6-K7 recommends no packages.

linux-image-2.6-K7 suggests no packages.

-- no debconf information

I know this is a bug often seen before, but there are a few things
different. I know about the problem that newer kernels consider hda => sda
etc. But I thought it was well before 2.6.22 that it happened.

I had a system running Etch with kernel 2.6.18. As a prelude to dist-upgrade
to Lenny I installed 2.6.22. This was not satisfactory as
kernel-headers-2.6-k7 is not installable.

When I upgraded from 2.6.22 to 2.6.26. The machine would
hang at "Waiting for root file system"

Then I replaced occurences to hdc1 with LABEL entries. This is the state of
the boot stanza in menu.lst and the relevant mount line in fstab:

--fstab:
LABEL=boot / ext3 defaults,errors=remount-ro 0 1

--menu.lst
title Debian GNU/Linux, kernel 2.6.26-1-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-1-686 root=LABEL=boot ro
initrd /boot/initrd.img-2.6.26-1-686

however, kernel 2.6.22 does boot with this stanza:
title Debian GNU/Linux, kernel 2.6.22-3-k7
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-3-k7 root=LABEL=boot ro
initrd /boot/initrd.img-2.6.22-3-k7


--/boot/grub/device.map
(fd0) /dev/fd0
(hd0) /dev/hdc
(hd1) /dev/hdd


For me that indicates that the LABEL statements are correct.

As general recommendation from Google finds I updated initramfs:
update-initramfs -u -k 2.6.26-1-686

This resulted in a /boot/initrd.img-2.6.26-1-686 with the timestampt of
updating.

I fear that since the machine is running kernel 2.6.22 at the time of
update-initramfs, the update still doesn't know about how to handle sdc
instead of hdc.

Until now I have not found a way to get this system to boot correctly. Since
it was a fairly standard kernel upgrade, nothing fancy, no custom kernels
etc, I believe this is a bug.

It surprised me as well that after installing the linux-image package, the
menu.lst was not automagically updated with the new kernel stanza. I did
that manually. Not sure whether that is a bug though.

jlinkels



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 07:14 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org