All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kyle Hayes <kyle@silverbeach.net>
To: Johan Rydberg <jrydberg@night.trouble.net>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Knoppix results
Date: Thu, 29 Jan 2004 08:43:11 -0800	[thread overview]
Message-ID: <200401290843.11725.kyle@silverbeach.net> (raw)
In-Reply-To: <20040129153217.55cfc212.jrydberg@night.trouble.net>

On Thursday 29 January 2004 06:32, Johan Rydberg wrote:
> renzo@cs.unibo.it (Renzo Davoli) wrote:
> : I have had the very same problem: sometimes qemu freezes.
> : There is no apparent cause-effect relationship, qemu freezed at random
> : stages of the installation process any time the procedure was restarted.
> : I succeeded in installing the debian but after several attempts.
>
> How hard would it be to attach the processor to GDB? I suspect you would
> make things a lot easier for Fabrice if you showed him at least a
> backtrace. Or how about tracking down the bug yourself and send a patch?

How easy is it to use GDB?  It has been years since I looked at it.  I think I 
can managed to make it do a backtrace.

Would I run QEMU from the command line via GDB?

	$ gdb qemu -hda hda.img -cdrom knoppix.iso -boot d -m 128

??

Oh, right, I can't pass it args...  Ugh.  I find GDB to be one of the more 
difficult tools to use unless you use it every hour of every day.  I do 
almost exclusively Perl coding and have for years now.

Hmm, it looks like I need to build from source.  Here's my GDB attempt:

kyle@salish $ gdb qemu
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols 
found)...
(gdb)

No debugging symbols found so I guess it is a stripped executable.  Let me 
check... yep.  Rats.

I decided to see if I could run it at all:

(gdb) set args -hda hda.img -cdrom knoppix.iso -boot d -m 128
(gdb) run
Starting program: /usr/local/bin/qemu -hda hda.img -cdrom knoppix.iso -boot d 
-m 128
warning: shared library handler failed to enable breakpoint
Connected to host network interface: tun0
Password:
Could not initialize SDL - exiting

Program exited with code 01.
(gdb)

The password check was from sudo for the ifconfig tap0 in the qemu-ifup 
script.  However, it is barfing trying to load SDL.  That's odd.  Any clues 
why that would happen?  What does the shared library handler warning mean?

I'll try to build from source and see if I can get farther than this.

Best,
Kyle

  parent reply	other threads:[~2004-01-29 16:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-29  6:11 [Qemu-devel] Knoppix results Kyle Hayes
2004-01-29 14:12 ` Renzo Davoli
2004-01-29 14:32   ` Johan Rydberg
2004-01-29 14:51     ` Renzo Davoli
2004-01-29 16:43     ` Kyle Hayes [this message]
2004-01-29 17:04       ` Gabriel Ebner
2004-01-29 17:38       ` Johan Rydberg
2004-01-30  5:33         ` Kyle Hayes
2004-01-30 22:15         ` Herbert Poetzl
2004-01-31  9:28     ` Renzo Davoli
2004-01-29 23:22   ` Fabrice Bellard
2004-01-30  5:29     ` Kyle Hayes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200401290843.11725.kyle@silverbeach.net \
    --to=kyle@silverbeach.net \
    --cc=jrydberg@night.trouble.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.