Could not load usbdisk0: vmlinux: Not an ELF executable format
Is there any of you who know so much about kernel building that you can tell me why I get this error whenever I try to start the kernler I build. I've done several without problems and the only difference is that before I built them in debian Squeeze and now in Debian wheezy. I'm pretty sure that gcc was an older version of Squeeze.
I try to change the kernel I have built to start my Ubuntu.
Thank you in advance
Kernel building
Re: Kernel building
That is strange since 'vmlinux' more or less says it is ELF. That is to say it is put together from the binaries and the init scripts into an executable format. I don't know why you are getting that error.musa wrote:Could not load usbdisk0: vmlinux: Not an ELF executable format
I'm running Deb 6.0.5 with gcc 4:4.4.5-1/gcc-4.4 > 4.4.5-8.
Have you tried deleting/reloading the 2.9.39.4 source code or perhaps doing
make clean, then
make mrproper
Before building a new kernel?
I really don't have a clue, but will keep it in mind.
A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
Re: Kernel building
Thanks for the reply.mechanic wrote:
That is strange since 'vmlinux' more or less says it is ELF. That is to say it is put together from the binaries and the init scripts into an executable format. I don't know why you are getting that error.
I'm running Deb 6.0.5 with gcc 4:4.4.5-1/gcc-4.4 > 4.4.5-8.
Have you tried deleting/reloading the 2.9.39.4 source code or perhaps doing
make clean, then
make mrproper
Before building a new kernel?
I really don't have a clue, but will keep it in mind.
I've downgraded to 4.4.5-1 and got a lot of error messages away that should not mean anything, but it did not help at no elf problem.
I'll try your suggestions tonight.
AmigaX1000
Re: Kernel building
No, it changed nothing. I still can not boot my kernel.
I tried a 39config without me having changed anything.
It was my intention to test the graphics card with KSM off in the kernel.
Now it has to wait
I tried a 39config without me having changed anything.
It was my intention to test the graphics card with KSM off in the kernel.
Now it has to wait
AmigaX1000
- trevordick
- A-Eon Technology
- Posts: 1385
- Joined: Mon Dec 20, 2010 1:28 pm
Re: Kernel building
I've noticed that when I unzip some kernel archives on a PC the resulting kernel files produce the error you experienced. However, when I unzip the same files on the A1-X1000 under AmigaOS4 I've never had this problem.
I don't know whether it is related to your issue of not.
Trevor
I don't know whether it is related to your issue of not.
Trevor
I'm just Breezin'
Re: Kernel building
Hi Trevortrevordick wrote:I've noticed that when I unzip some kernel archives on a PC the resulting kernel files produce the error you experienced. However, when I unzip the same files on the A1-X1000 under AmigaOS4 I've never had this problem.
I don't know whether it is related to your issue of not.
Trevor
No i build the kernel on debian on the A1000 and put the kernel on the usbdisk. Then reboot and try to boot ubuntu from cfe and got the errror.
AmigaX1000
Re: Kernel building
USB doesn't always work perfectly from within CFE, I have had this with working kernels too. Have you tried a different USB stic or a CF card?musa wrote:Could not load usbdisk0: vmlinux: Not an ELF executable format
Is there any of you who know so much about kernel building that you can tell me why I get this error whenever I try to start the kernler I build. I've done several without problems and the only difference is that before I built them in debian Squeeze and now in Debian wheezy. I'm pretty sure that gcc was an older version of Squeeze.
I try to change the kernel I have built to start my Ubuntu.
Thank you in advance
Regards
Darren
Re: Kernel building
Bingodaz wrote:USB doesn't always work perfectly from within CFE, I have had this with working kernels too. Have you tried a different USB stic or a CF card?musa wrote:Could not load usbdisk0: vmlinux: Not an ELF executable format
Is there any of you who know so much about kernel building that you can tell me why I get this error whenever I try to start the kernler I build. I've done several without problems and the only difference is that before I built them in debian Squeeze and now in Debian wheezy. I'm pretty sure that gcc was an older version of Squeeze.
I try to change the kernel I have built to start my Ubuntu.
Thank you in advance
Regards
Darren

Changed usb stick and then the error disappeared.
I have had this experience with my cf cart. A kernel that worked from the usb did not work from cf. I had also tried a different usb disk without success. But after reading your post I tried three different and this time I had luck.
Thanks to all who responded. Now I can move on with my attempts to get compiz in ubuntu
AmigaX1000