[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#499231: updated initramfs-tools now kernel oops during boot sequence - sorta fixed?




On Sep 18, 2008, at 3:55 AM, maximilian attems wrote:

On Wed, Sep 17, 2008 at 11:54:01PM -0400, Rick Thomas wrote:
Well...

I did another dist-upgrade tonite, and the problem went away.  Go
figure...

Some one of the following list of upgrades (extracted from /var/log/
dpkg.log) fixed it.

2008-09-17 22:57:42 upgrade initramfs-tools 0.92k 0.92l

please post the output of
find /etc/kernel -type f

and if it contains a file the content of that script.

thanks

--
maks


rbthomas@greybox:~$ find /etc/kernel -type f -print
/etc/kernel/postinst.d/mkvmlinuz
/etc/kernel/postrm.d/mkvmlinuz
rbthomas@greybox:~$

rbthomas@greybox:~$ cat /etc/kernel/postrm.d/mkvmlinuz
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

db_get mkvmlinuz/bootloaders
bootloader="$RET"

# Let's erase the kernel created by mkvmlinuz too.
if [ "$bootloader" = mkvmlinuz ]; then
    vmlinuz=`echo $2 | sed -e 's/vmlinux/vmlinuz/'`
    rm -f $vmlinuz
    if [ -e "$vmlinuz.old" ]; then
        mv $vmlinuz.old $vmlinuz
    fi
fi
rbthomas@greybox:~$

rbthomas@greybox:~$ cat /etc/kernel/postinst.d/mkvmlinuz
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

db_get mkvmlinuz/bootloaders
bootloader="$RET"

if [ "$bootloader" = mkvmlinuz ]; then
    /usr/sbin/mkvmlinuz $1 $2
fi
rbthomas@greybox:~$


Hope this helps!


Rick


Reply to: