New kernel not fully installed on Sheevaplug

View: New views
4 Messages — Rating Filter:   Alert me  

New kernel not fully installed on Sheevaplug

by John Winters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello again (sorry Martin),

My Sheevaplug announced a couple of days ago that new kernel packages
were ready, so I left it until the weekend in case there were further
problems.

I just did an apt-get dist-upgrade and the packages were downloaded and
installed, but they don't seem to have been fully installed.  That is,
uImage and uInitrd are unchanged and I'm still running on the previous
kernel.

john@sheeva:~$ uname -a
Linux sheeva 2.6.30-1-kirkwood #1 Mon Aug 17 14:01:54 UTC 2009 armv5tel
GNU/Linux
john@sheeva:~$

I'm not sure whether this is right or not because there seem to be two
possible sources of kernel.  I have the following in /etc/apt/sources.list


deb http://mirror.sinodun.org.uk/debian/ lenny main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ lenny main contrib non-free

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

deb http://volatile.debian.org/debian-volatile lenny/volatile main
contrib non-free
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
contrib non-free

# Orion repository
deb http://people.debian.org/~tbm/orion lenny main


and the packages which apt-get said it wanted to install anew were:

  linux-image-2.6-kirkwood linux-image-kirkwood

The actual versions downloaded were:

Get: 1 http://people.debian.org lenny/main linux-image-2.6.30-2-kirkwood
2.6.30-8 [14.8MB]
Get: 2 http://people.debian.org lenny/main linux-image-2.6-kirkwood
2.6.30+21 [2658B]
Get: 3 http://people.debian.org lenny/main linux-image-kirkwood
2.6.30+21 [2646B]

and they seem to have thought that they were successfully installed, but
they don't seem to have supplanted the existing kernel.  Is this right
or not?

Cheers,
John


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


Re: New kernel not fully installed on Sheevaplug

by debian.arm.nospam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Oct 11, 2009 at 10:08:21 +0100, John Winters wrote:
> Hello again (sorry Martin),
> I just did an apt-get dist-upgrade and the packages were downloaded and
> installed, but they don't seem to have been fully installed.  That is,
> uImage and uInitrd are unchanged and I'm still running on the previous
> kernel.

I've noticed this as well, try manually running "flash-kernel" as root to
regenerate uImage + uInitrd from the /boot/vmlinuz symlink. Seems like
there's a missing hook somewhere so this step is left out?
 


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


Re: New kernel not fully installed on Sheevaplug

by Martin Michlmayr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

* debian.arm.nospam@... <debian.arm.nospam@...> [2009-10-11 12:09]:
> > I just did an apt-get dist-upgrade and the packages were downloaded and
> > installed, but they don't seem to have been fully installed.  That is,
> > uImage and uInitrd are unchanged and I'm still running on the previous
> > kernel.
>
> I've noticed this as well, try manually running "flash-kernel" as root to
> regenerate uImage + uInitrd from the /boot/vmlinuz symlink. Seems like
> there's a missing hook somewhere so this step is left out?

I mentioned this problem a while ago:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526640#44
but nothing happened.

I'll ahead and file a proper bug report now.
--
Martin Michlmayr
http://www.cyrius.com/


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


Re: New kernel not fully installed on Sheevaplug

by Michael Shuler-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 10/11/2009 05:09 AM, debian.arm.nospam@... wrote:

> On Sun, Oct 11, 2009 at 10:08:21 +0100, John Winters wrote:
>> Hello again (sorry Martin),
>> I just did an apt-get dist-upgrade and the packages were downloaded and
>> installed, but they don't seem to have been fully installed.  That is,
>> uImage and uInitrd are unchanged and I'm still running on the previous
>> kernel.
>
> I've noticed this as well, try manually running "flash-kernel" as root to
> regenerate uImage + uInitrd from the /boot/vmlinuz symlink. Seems like
> there's a missing hook somewhere so this step is left out?

I still needed to install the new kernel, so went ahead to see if the
upgrade worked for me.  At some point, I did an 'apt-get install
--reinstall' after tinkering with a custom kernel, and I didn't get
uImage/uInitrd, so I added the postinst_hook myself.

--
Kind Regards,
Michael

mshuler@sheeva:~$ uname -a
Linux sheeva 2.6.30-1-kirkwood #1 Mon Aug 17 14:01:54 UTC 2009 armv5tel
GNU/Linux
mshuler@sheeva:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-image-2.6.30-2-kirkwood
The following packages will be upgraded:
  linux-image-2.6-kirkwood linux-image-kirkwood
2 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/14.8MB of archives.
After this operation, 42.6MB of additional disk space will be used.
Do you want to continue [Y/n]?
WARNING: The following packages cannot be authenticated!
  linux-image-2.6.30-2-kirkwood linux-image-2.6-kirkwood
linux-image-kirkwood
Install these packages without verification [y/N]? y
Preconfiguring packages ...
Selecting previously deselected package linux-image-2.6.30-2-kirkwood.
(Reading database ... 17923 files and directories currently installed.)
Unpacking linux-image-2.6.30-2-kirkwood (from
.../linux-image-2.6.30-2-kirkwood_2.6.30-8_armel.deb) ...
Preparing to replace linux-image-2.6-kirkwood 2.6.30+20 (using
.../linux-image-2.6-kirkwood_2.6.30+21_armel.deb) ...
Unpacking replacement linux-image-2.6-kirkwood ...
Preparing to replace linux-image-kirkwood 2.6.30+20 (using
.../linux-image-kirkwood_2.6.30+21_armel.deb) ...
Unpacking replacement linux-image-kirkwood ...
Setting up linux-image-2.6.30-2-kirkwood (2.6.30-8) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.30-2-kirkwood
Running flash-kernel.
Generating kernel u-boot image... done.
Creating backup of /boot/uImage.
Creating new /boot/uImage.
Generating initrd u-boot image... done.
Creating backup of /boot/uInitrd.
Creating new /boot/uInitrd.
Setting up linux-image-2.6-kirkwood (2.6.30+21) ...
Setting up linux-image-kirkwood (2.6.30+21) ...
mshuler@sheeva:~$
mshuler@sheeva:~$ echo "I added the postinst_hook myself at some point.."
I added the postinst_hook myself at some point..
mshuler@sheeva:~$
mshuler@sheeva:~$ cat /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = yes
postinst_hook = flash-kernel
mshuler@sheeva:~$
mshuler@sheeva:~$ sudo reboot

Broadcast message from root@sheeva (pts/0) (Sun Oct 11 12:07:48 2009):

The system is going down for reboot NOW!
mshuler@sheeva:~$ Connection to sheeva closed by remote host.
Connection to sheeva closed.
mshuler@gaea:~$ ssh sheeva
Linux sheeva 2.6.30-2-kirkwood #1 Sun Sep 27 22:57:55 UTC 2009 armv5tel



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