• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Linux Stuff / Kernel / Booting from new kernel [SOLVED] on: July 16, 2010, 09:21:01 PM
I am trying to boot an older SD card image (Dec 2009) and I am getting garbage on boot after 'Uncompressing Linux......"

I read posts here: http://plugcomputer.org/plugforum/index.php?topic=2002 suggests there was a hardware change sometime in the last 6 months. The solution being upgrade the kernel to 2.6.32 which will include a patch to support the new revision.

So here is what I did:

Code:

PlugPBX:~#uname -r
2.6.30-2-kirkwood

PlugPBX:~#apt-get update

PlugPBX:~#apt-cache search linux-image

PlugPBX:~#apt-get install linux-image-2.6.32-5-kirkwood

..........................
Selecting previously deselected package linux-image-2.6.32-5-kirkwood.
Unpacking linux-image-2.6.32-5-kirkwood (from .../linux-image-2.6.32-5-kirkwood_2.6.32-15_armel.deb) ...
Selecting previously deselected package firmware-linux-free.
Unpacking firmware-linux-free (from .../firmware-linux-free_2.6.32-15_all.deb) ...
Processing triggers for man-db ...
Setting up libapt-pkg-perl (0.1.24+b1) ...
Setting up libuuid-perl (0.02-3+b1) ...
Setting up linux-base (2.6.32-15) ...
Setting up linux-image-2.6.32-5-kirkwood (2.6.32-15) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-5-kirkwood
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-kirkwood /boot/vmlinuz-2.6.32-5-kirkwood
Setting up firmware-linux-free (2.6.32-15) ...
PlugPBX:~# uname -r
2.6.30-2-kirkwood
PlugPBX:~# reboot



When the system comes back up....

Code:

Linux PlugPBX 2.6.30-2-kirkwood #1 Sun Sep 27 22:57:55 UTC 2009 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Jul 16 23:29:23 2010 from 192.168.100.100
PlugPBX:~# uname -r
2.6.30-2-kirkwood



So it appears the kernel upgrade installed without a hitch, but it is still booting the old kernel.

There is no lilo or grub, so where am I supposed to tell it to boot the new kernel or is that supposed to be automatic?

**Update**

After installing from apt-get, issue the following:
#flash-kernel

#shutdown -r now

When it comes up, you no longer have garbage on boot and you have the new kernel.
2  General Category / General Discussion / Re: Network issue after upgrading on: July 04, 2010, 07:44:15 AM
how would you remove the ip from bootargs?

I may have a similar issue.

I am running off an SD Card and as long as the card is the same, you can restart, shutdown, etc.

If you change the card to a different SD Card, then it will boot but you cannot access the system from SSH.

When you connect serially and do an "ifconfig" eth0 does not show up.


I have to issue a "rm -f /etc/udev/rules.d/number_filename.rules" which deletes the eth0 config apparently and then the next reboot will reset eth0.

I need to get into my boot params again and see if there was a default ip set.

The issue never happens with the same SD card, only if I switch.

Both SD Cards have the same debian squeeze image, I believe. I installed them about 3-4 days apart.

Anyone have any ideas?
Pages: [1]