Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] - Gentoo-sources - 2.6.15-r1 - Not booting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mortar
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2005
Posts: 131

PostPosted: Sat Jan 21, 2006 6:52 am    Post subject: [SOLVED] - Gentoo-sources - 2.6.15-r1 - Not booting Reply with quote

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
View user's profile Send private message
dracony
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2005
Posts: 146

PostPosted: Sat Jan 21, 2006 6:55 am    Post subject: Reply with quote

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
View user's profile Send private message
undrwater
Guru
Guru


Joined: 28 Jan 2003
Posts: 314
Location: Caucasia

PostPosted: Sat Jan 21, 2006 6:57 am    Post subject: Reply with quote

Please post grub.conf, your drive/partition configurations, and what you typed at the grub console.
_________________
Open-mindedness is painful...
Back to top
View user's profile Send private message
mortar
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2005
Posts: 131

PostPosted: Sat Jan 21, 2006 7:51 am    Post subject: Reply with quote

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
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Sat Jan 21, 2006 8:07 am    Post subject: Reply with quote

Could it be, that for some reason you copied vmlinux instead of bzImage to your boot partition?
Back to top
View user's profile Send private message
mortar
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2005
Posts: 131

PostPosted: Sat Jan 21, 2006 8:09 am    Post subject: Reply with quote

Nope
Back to top
View user's profile Send private message
undrwater
Guru
Guru


Joined: 28 Jan 2003
Posts: 314
Location: Caucasia

PostPosted: Sat Jan 21, 2006 9:44 am    Post subject: Reply with quote

grub your boot sector again...something might have corrupted it...
_________________
Open-mindedness is painful...
Back to top
View user's profile Send private message
mortar
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2005
Posts: 131

PostPosted: Sun Jan 22, 2006 7:15 am    Post subject: Reply with quote

Even if the older kernels still boot perfectly fine?
Back to top
View user's profile Send private message
s0be
Apprentice
Apprentice


Joined: 23 Nov 2002
Posts: 240

PostPosted: Sun Jan 22, 2006 8:38 am    Post subject: Reply with quote

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
View user's profile Send private message
s0be
Apprentice
Apprentice


Joined: 23 Nov 2002
Posts: 240

PostPosted: Sun Jan 22, 2006 9:29 am    Post subject: Reply with quote

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
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Sun Jan 22, 2006 11:57 am    Post subject: Reply with quote

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
View user's profile Send private message
TarChul
n00b
n00b


Joined: 30 Dec 2004
Posts: 20

PostPosted: Mon Jan 23, 2006 4:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
mortar
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2005
Posts: 131

PostPosted: Thu Feb 16, 2006 10:51 pm    Post subject: Reply with quote

Turns out that I wasn't using make oldconfig correctly, and that I hadn't enabled SATA support :oops:

Thanks for all your help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum