qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] unknown keycodes `(unnamed)', please report to qemu-devel@nongnu.org
@ 2019-01-24  8:34 Burgess, Alison E
  2019-01-24 13:34 ` Daniel P. Berrangé
  2019-01-24 13:47 ` Peter Maydell
  0 siblings, 2 replies; 3+ messages in thread
From: Burgess, Alison E @ 2019-01-24  8:34 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

I am running Ubuntu 18.04 and I am sending this email because when I try to run these series of commands in an executable file in


arm-none-eabi-as -mcpu=arm926ej-s -g ts.s -o ts.o
arm-none-eabi-gcc -c -mcpu=arm926ej-s -g t.c -o t.o
arm-none-eabi-ld -T t.ld ts.o t.o -o t.elf
arm-none-eabi-objcopy -O binary t.elf t.bin
arm-none-eabi-readelf -a t.elf

rm *.o *.elf

echo ready to go?
read dummy

qemu-system-arm -M realview-pbx-a9 -m 128M -kernel t.bin \
-serial mon:stdio -serial /dev/pts/0 -serial /dev/pts/0 -serial /dev/pts/0

(where the number in /dev/pts/# is the number I get when I run ps in the terminal)

The qemu terminal appears, but once I press 'Enter' again so that my code runs, I am faced with the unknown keycodes `(unnamed)', please report to qemu-devel@nongnu.org error message. After a couple of hours searching online I have not been able to find a solution and I have download and reinstalled qemu a couple of times.

Thanks,
Alison Burgess

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] unknown keycodes `(unnamed)', please report to qemu-devel@nongnu.org
  2019-01-24  8:34 [Qemu-devel] unknown keycodes `(unnamed)', please report to qemu-devel@nongnu.org Burgess, Alison E
@ 2019-01-24 13:34 ` Daniel P. Berrangé
  2019-01-24 13:47 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel P. Berrangé @ 2019-01-24 13:34 UTC (permalink / raw)
  To: Burgess, Alison E; +Cc: qemu-devel@nongnu.org

On Thu, Jan 24, 2019 at 08:34:50AM +0000, Burgess, Alison E wrote:
> I am running Ubuntu 18.04 and I am sending this email because when
> I try to run these series of commands in an executable file in
> 
> 
> arm-none-eabi-as -mcpu=arm926ej-s -g ts.s -o ts.o
> arm-none-eabi-gcc -c -mcpu=arm926ej-s -g t.c -o t.o
> arm-none-eabi-ld -T t.ld ts.o t.o -o t.elf
> arm-none-eabi-objcopy -O binary t.elf t.bin
> arm-none-eabi-readelf -a t.elf
> 
> rm *.o *.elf
> 
> echo ready to go?
> read dummy
> 
> qemu-system-arm -M realview-pbx-a9 -m 128M -kernel t.bin \
> -serial mon:stdio -serial /dev/pts/0 -serial /dev/pts/0 -serial /dev/pts/0
> 
> (where the number in /dev/pts/# is the number I get when I run ps in the terminal)
> 
> The qemu terminal appears, but once I press 'Enter' again so that
> my code runs, I am faced with the unknown keycodes `(unnamed)',
> please report to qemu-devel@nongnu.org error message. After a couple
> of hours searching online I have not been able to find a solution
> and I have download and reinstalled qemu a couple of times.

Can you tell us what version of QEMU you are using ?  In addition what
environment are you running it under ?  X11 or Wayland or something
else ?  Finally, what keyboard layout is your environment setup to use ?


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] unknown keycodes `(unnamed)', please report to qemu-devel@nongnu.org
  2019-01-24  8:34 [Qemu-devel] unknown keycodes `(unnamed)', please report to qemu-devel@nongnu.org Burgess, Alison E
  2019-01-24 13:34 ` Daniel P. Berrangé
@ 2019-01-24 13:47 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2019-01-24 13:47 UTC (permalink / raw)
  To: Burgess, Alison E; +Cc: qemu-devel@nongnu.org

On Thu, 24 Jan 2019 at 13:30, Burgess, Alison E <alison.burgess@wsu.edu> wrote:
> I am running Ubuntu 18.04 and I am sending this email because when I try to run these series of commands in an executable file in
>
>
> arm-none-eabi-as -mcpu=arm926ej-s -g ts.s -o ts.o
> arm-none-eabi-gcc -c -mcpu=arm926ej-s -g t.c -o t.o
> arm-none-eabi-ld -T t.ld ts.o t.o -o t.elf
> arm-none-eabi-objcopy -O binary t.elf t.bin
> arm-none-eabi-readelf -a t.elf
>
> rm *.o *.elf
>
> echo ready to go?
> read dummy
>
> qemu-system-arm -M realview-pbx-a9 -m 128M -kernel t.bin \
> -serial mon:stdio -serial /dev/pts/0 -serial /dev/pts/0 -serial /dev/pts/0
>
> (where the number in /dev/pts/# is the number I get when I run ps in the terminal)
>
> The qemu terminal appears, but once I press 'Enter' again so that my code runs, I am faced with the unknown keycodes `(unnamed)', please report to qemu-devel@nongnu.org error message. After a couple of hours searching online I have not been able to find a solution and I have download and reinstalled qemu a couple of times.

Hi; this warning message (a) can usually be ignored and (b) doesn't
exist any more in new versions of QEMU. The chances are very high
that your problem is not related to the warning message. You might
also try using the latest version of QEMU (3.1).

Those -serial options look very weird. My guess is your problem
is either in those, or your guest binary simply is crashing
without sending anything to the terminal. Is the guest binary
known to work (eg on real hardware)?

thanks
-- PMM

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-24 13:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-24  8:34 [Qemu-devel] unknown keycodes `(unnamed)', please report to qemu-devel@nongnu.org Burgess, Alison E
2019-01-24 13:34 ` Daniel P. Berrangé
2019-01-24 13:47 ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).