View previous topic :: View next topic |
Author |
Message |
mortar Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/311581118446bd0b036e8c.jpg)
Joined: 03 Feb 2005 Posts: 131
|
Posted: Sat Jan 21, 2006 6:52 am Post subject: [SOLVED] - Gentoo-sources - 2.6.15-r1 - Not booting |
|
|
Just tried to upgrade to this kernel because I thought it would fix my 2.6.15 boot segfaults
But this is the error I receive now just after the grub splash.
Code: |
"Booting 'Gentoo Linux 2.6.15-gentoo-r1'
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /kernel-2.6.15-gentoo-r1 root=/dev/sda3
Error 13: Invalid or unsupported executable format
Press any key to continue...
|
and it goes back to the splash screen.
my grub.conf file is fine as far as I can tell.
Last edited by mortar on Thu Feb 16, 2006 10:52 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dracony Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/166052893443cbfeef0f578.jpg)
Joined: 16 Nov 2005 Posts: 146
|
Posted: Sat Jan 21, 2006 6:55 am Post subject: |
|
|
something must have gone wrong in compilation, retery _________________ gentoo never dies. If it doesnt work, do the most idiotic thing you can, and to prevent it from all unnessecary warnings use --force. This will break it, and while fixing, you will fix everything
(worked even when i deleted /sbin) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
undrwater Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/56532540475587e17ec87.jpg)
Joined: 28 Jan 2003 Posts: 314 Location: Caucasia
|
Posted: Sat Jan 21, 2006 6:57 am Post subject: |
|
|
Please post grub.conf, your drive/partition configurations, and what you typed at the grub console. _________________ Open-mindedness is painful... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mortar Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/311581118446bd0b036e8c.jpg)
Joined: 03 Feb 2005 Posts: 131
|
Posted: Sat Jan 21, 2006 7:51 am Post subject: |
|
|
Code: |
ash@mortar ~ $ cat /boot/grub/grub.conf
default 0
timeout 5
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.15-gentoo-r1
root (hd0,0)
kernel /kernel-2.6.15-gentoo-r1 root=/dev/sda3
title=Gentoo Linux 2.6.14-r4
root (hd0,0)
kernel /kernel-2.6.14-gentoo-r4 root=/dev/sda3
title=Gentoo Linux 2.6.13
root (hd0,0)
kernel /kernel-2.6.13-gentoo root=/dev/sda3
title=Gentoo Linux 2.6.14-r6
root (hd0,0)
kernel /kernel-2.6.14-gentoo-r6 root=/dev/sda3
ash@mortar ~ $ cat /boot/grub/device.map
(hd0) /dev/sda
|
I've already tried to re-create the kernel twice and same error.
All I do when a new kernel comes out, just copy the template three lines, and change the names to suit the new kernel |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
loki99 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/840039902431febc0a0f2b.jpg)
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Sat Jan 21, 2006 8:07 am Post subject: |
|
|
Could it be, that for some reason you copied vmlinux instead of bzImage to your boot partition? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mortar Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/311581118446bd0b036e8c.jpg)
Joined: 03 Feb 2005 Posts: 131
|
Posted: Sat Jan 21, 2006 8:09 am Post subject: |
|
|
Nope |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
undrwater Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/56532540475587e17ec87.jpg)
Joined: 28 Jan 2003 Posts: 314 Location: Caucasia
|
Posted: Sat Jan 21, 2006 9:44 am Post subject: |
|
|
grub your boot sector again...something might have corrupted it... _________________ Open-mindedness is painful... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mortar Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/311581118446bd0b036e8c.jpg)
Joined: 03 Feb 2005 Posts: 131
|
Posted: Sun Jan 22, 2006 7:15 am Post subject: |
|
|
Even if the older kernels still boot perfectly fine? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
s0be Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/17075853323ea8499798fad.png)
Joined: 23 Nov 2002 Posts: 240
|
Posted: Sun Jan 22, 2006 8:38 am Post subject: |
|
|
Try rebuilding an older kernel and naming it test in /boot and try booting it. Perhaps it's a compiler chain problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
s0be Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/17075853323ea8499798fad.png)
Joined: 23 Nov 2002 Posts: 240
|
Posted: Sun Jan 22, 2006 9:29 am Post subject: |
|
|
s0be wrote: | Try rebuilding an older kernel and naming it test in /boot and try booting it. Perhaps it's a compiler chain problem. |
Moving forward on this point, this is an option in my 2.6.15 kernel config:
[*] Optimize for size (Look out for broken compilers!) (NEW)
you could try disabling that. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
boniek Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/880029938461c27a81887b.jpg)
Joined: 26 Mar 2005 Posts: 373
|
Posted: Sun Jan 22, 2006 11:57 am Post subject: |
|
|
Quote: | Error 13: Invalid or unsupported executable format |
Maybe you need to enable kernel support for elf, a.out and ECOFF binaries. Also check if you selected appropriate machine architecture (it may be helpful to post your kernel config). And next time when you want to use your old .config on new kernel remember to run make oldconfig after copying it to new kernel's root directory. _________________ [HOWTO]New freetype subpixel font rendering for lcd monitors |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TarChul n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Dec 2004 Posts: 20
|
Posted: Mon Jan 23, 2006 4:19 pm Post subject: |
|
|
s0be wrote: | s0be wrote: | Try rebuilding an older kernel and naming it test in /boot and try booting it. Perhaps it's a compiler chain problem. |
Moving forward on this point, this is an option in my 2.6.15 kernel config:
[*] Optimize for size (Look out for broken compilers!) (NEW)
you could try disabling that. |
slightly off-topic, but i found no other thread about this: what's better: optimize for size or -O2,-O3 etc?
my cpu is a dothan, so i got 2MB L2-Cache. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mortar Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/311581118446bd0b036e8c.jpg)
Joined: 03 Feb 2005 Posts: 131
|
Posted: Thu Feb 16, 2006 10:51 pm Post subject: |
|
|
Turns out that I wasn't using make oldconfig correctly, and that I hadn't enabled SATA support
Thanks for all your help! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|