Shell-Weirdness
I built buildroot from svn for i486 and try to run it in qemu.
~/qemu/bin/qemu -hda binaries/uclibc/rootfs.i686.ext2 -kernel project_build_i686/uclibc/linux-2.6.24.3/arch/i386/boot/bzImage -append root=/dev/hda
After booting the kernel, it complains about not finding /etc/init.d/rcS
- where did it go? It used to be there in earlier times.
Then I can activate a shell by hitting Enter.
The shell works fine, but whenever I try to enter a command which contains a "-", I get an error message or the shell blocks.
e.g.
/ # ls -l
-> terminal blocks
somtimes I can use <ctrl>-c to escape, sometimes I have to quit qemu.
Any suggestions, why this can happen?
Regards,
Christof
Hi Christof,
I have also seen some very weird stuff happen with the latest buildroot running in a qemu virtual machine. Things like mount requiring -v to work properly and command line parameters not being passed and other really strange stuff. I wish someone with a little more experience would try building for x86 and see how it goes. I had nothing but trouble and finally gave up. Everything works pretty well on my AVR32 target, so it imust be something specific to x86 or maybe qemu causing the problems.
John
Quoted 23 lines · Christof Klaiber
I built buildroot from svn for i486 and try to run it in qemu.
~/qemu/bin/qemu -hda binaries/uclibc/rootfs.i686.ext2 -kernel project_build_i686/uclibc/linux-2.6.24.3/arch/i386/boot/bzImage -append root=/dev/hda
After booting the kernel, it complains about not finding
/etc/init.d/rcS
- where did it go? It used to be there in earlier times.Then I can activate a shell by hitting Enter.
The shell works fine, but whenever I try to enter a command which contains a "-", I get an error message or the shell blocks.
e.g.
/ # ls -l
-> terminal blockssomtimes I can use <ctrl>-c to escape, sometimes I have to quit qemu.
Any suggestions, why this can happen?
Quoted 9 lines
Regards,
Christof_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080320/ebd1a916/attachment-0001.htm
The problem is the avr32 patch against GCC.
It took me the past 3 days with Jacmet to track it down.
900-avr32-atmel.1.3.2.patch <= THAT patch.
I'm still investigating how to fix it.
-N
Quoted 54 lines · John Voltz
Hi Christof,
I have also seen some very weird stuff happen with the latest buildroot running in a qemu virtual machine. Things like mount requiring -v to work properly and command line parameters not being passed and other really strange stuff. I wish someone with a little more experience would try building for x86 and see how it goes. I had nothing but trouble and finally gave up. Everything works pretty well on my AVR32 target, so it imust be something specific to x86 or maybe qemu causing the problems.
John
On Thu, Mar 20, 2008 at 9:06 AM, Christof Klaiber <[email protected]> wrote:
I built buildroot from svn for i486 and try to run it in qemu.~/qemu/bin/qemu -hda binaries/uclibc/rootfs.i686.ext2 -kernel project_build_i686/uclibc/linux-2.6.24.3/arch/i386/boot/bzImage -append root=/dev/hda
After booting the kernel, it complains about not finding
/etc/init.d/rcS
- where did it go? It used to be there in earlier times.Then I can activate a shell by hitting Enter.
The shell works fine, but whenever I try to enter a command which
contains a "-", I get an error message or the shell blocks.e.g.
/ # ls -l
-> terminal blockssomtimes I can use <ctrl>-c to escape, sometimes I have to quit qemu.
Any suggestions, why this can happen?
Regards,
Christof_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
Signature · 21 lines
Regards Nigel Kukard, PhD CompSc Linux Based Systems Design Support: 086 747 7600 (premium 24/7/365) Fax: 086 601 7884 Quote: The best language to use is the language that was designed for what you want to use it for. *** The attachment to my email signature.asc is a digital PGP signature, if your mail client supports digital signatures it will allow you to verify I am the sender of this email and that it has not been tampered with along the way *** -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://busybox.net/lists/buildroot/attachments/20080320/092b9fbb/attachment.pgp
Quoted 8 lines
The problem is the avr32 patch against GCC.
It took me the past 3 days with Jacmet to track it down.
900-avr32-atmel.1.3.2.patch <= THAT patch.
I'm still investigating how to fix it.
As the patches after it will more than likely fail ... remove every patch 900 and above and it works perfectly no problem.
-N
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://busybox.net/lists/buildroot/attachments/20080320/770ebf23/attachment.pgp
Wow. That stinks. I'll forward this message to the Atmel guys and see if they have any idea what to do to maybe fix this.
John Voltz
Quoted 5 lines · Nigel Kukard
Quoted 5 lines
The problem is the avr32 patch against GCC.
It took me the past 3 days with Jacmet to track it down.
Quoted 9 lines
Quoted 3 lines
900-avr32-atmel.1.3.2.patch <= THAT patch.
I'm still investigating how to fix it.
As the patches after it will more than likely fail ... remove every patch 900 and above and it works perfectly no problem.
-N
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080320/dc2e88e8/attachment.htm
Quoted 3 lines · John Voltz
Wow. That stinks. I'll forward this message to the Atmel guys and see if they have any idea what to do to maybe fix this.
The AVR32 patches for GCC (and Binutils) are vendor specific so I would not recommend applying them to other architectures.
That is also one of the reasons it is better for the time being to separate out the AVR32 specific stuff from Buildroot in a separate branch.
When time comes, and stuff is properly merged, there should be very little difference between upstream and the AVR32 branch.
Signature · 2 lines
With kind regards, Hans-Christian Egtvedt, Applications Engineer