Re: Qemu crash...

2006-11-27 Thread MC

FIne.  Are there any links to howtos explaining how to go about the
pertinent forensics?  Much of the literature on strace and the kernel
debugger seem to be documented by persons suffering from asperger
syndrome.

Basically I load the module and the emulated winXP croaks when the
logo starts fading in.  I unload and everything is 'ok'.  By 'OK' I
mean brutally slow only, but no crashing.

O6 makes things a little faster.  Regardless, it doesn't affect this issue.

On 11/25/06, Kris Kennaway [EMAIL PROTECTED] wrote:

On Sat, Nov 25, 2006 at 10:25:37PM -0800, MC wrote:
 I haven't been able to get qemu to work at all with the kqemu kernel
 module.

OK :)  If you want help you'll need to provide some details.

 On the bright side, qemu compiles nicely with O6, though I had to kill
 a comma in my CFLAGS to get sed uncroaked on the build.

O6?!  What do you imagine that this does, precisely? ;-)

Kris



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pkg-message files and portupgrade (Re: Qemu crash...)

2006-11-26 Thread Doug Barton
Kris Kennaway wrote:

 The problem is that people don't see pkg-message when it scrolls past
 briefly in the build spam :)
 
 Maybe tools like portupgrade can be smarter about this and collect any
 pkg-messages encountered during a build sequence and re-display them
 at the end of the build.

I've had this on my TODO list for portmaster for a while anyway, so
this was enough to push me over the edge and just do it. :)  See my
message tonight about the new beta if anyone is interested in trying
this out.

Doug

-- 

This .signature sanitized for your protection

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Qemu crash...

2006-11-25 Thread Simon Barner
  You need to include AIO support in your kernel (or as a module).  The
  port should be updated to mention this.
 
 As has already been said this is mentioned in the pkg-message, ppl
 just dont seem to look there... (I just answered the second pr about
 this too :)  Is there a better place?

*Doh* ;-)

I'll try this on monday... :-)

Thanks,

-- 
Best regards / Viele Grüße, [EMAIL PROTECTED]
 Simon Barner[EMAIL PROTECTED]


pgp0oKCqbTc3o.pgp
Description: PGP signature


Re: Qemu crash...

2006-11-25 Thread MC

I haven't been able to get qemu to work at all with the kqemu kernel
module.  I notice that the build in the 6.2 prerelease doesn't appear
to bother using the kqemu module.  Perhaps that is the origin of it's
stability.  Anyway now I have an emulated widows that crawls compared
to earlier qemu versions and no idea when it will be running the way
it did a year ago.

On the bright side, qemu compiles nicely with O6, though I had to kill
a comma in my CFLAGS to get sed uncroaked on the build.

FreeBSD 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Qemu crash...

2006-11-25 Thread Kris Kennaway
On Sat, Nov 25, 2006 at 10:25:37PM -0800, MC wrote:
 I haven't been able to get qemu to work at all with the kqemu kernel
 module.

OK :)  If you want help you'll need to provide some details.

 On the bright side, qemu compiles nicely with O6, though I had to kill
 a comma in my CFLAGS to get sed uncroaked on the build.

O6?!  What do you imagine that this does, precisely? ;-)

Kris

pgpbSbTSpMHpd.pgp
Description: PGP signature


Re: Qemu crash...

2006-11-23 Thread Stefan Sperling
On Thu, Nov 23, 2006 at 12:57:08PM +0100, Anders Troback wrote:
 Hi,
 
 I have some problems with qemu-0.8.2s.20061102!
 
 When I start Qemu the Qemu console appears and crash:
 
 Bad system call (core dumped)

You should ktrace this to get more information.

 I have tried on both 6.1 and 6.2!
 
 Anyone running Qemu on 6.2 or 6.1?

Yes. Works fine here (on 6.1-RELEASE i686), with various guest
operating systems.

Have you got the kqemu-kmod port installed? I do. (It's a blob
though so YMMV). Maybe qemu is trying to use the kernel module
without it being loaded?

-- 
stefan
http://stsp.in-berlin.de PGP Key: 0xF59D25F0


pgpweMTFmBgQX.pgp
Description: PGP signature


Re: Qemu crash...

2006-11-23 Thread Anders Troback
On Thu, 23 Nov 2006 13:22:12 +0100
Marcus von Appen [EMAIL PROTECTED] wrote:

 On, Thu Nov 23, 2006, Anders Troback wrote:
 
  Hi,
  
  I have some problems with qemu-0.8.2s.20061102!
  
  When I start Qemu the Qemu console appears and crash:
  
  Bad system call (core dumped)
  
  I have tried on both 6.1 and 6.2!
  
  Anyone running Qemu on 6.2 or 6.1?
 
 I had the same issue. Loading the aio kernel module should work around
 that issue:
 
 kldload aio
 ...
 qemu ... 
 
 Regards
 Marcus

Yepp that did it!

Thanks!!


\\troback
-- 
Anders Trobäck
http://www.troback.com/

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming, or what?

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Qemu crash...

2006-11-23 Thread Anders Troback
On Thu, 23 Nov 2006 13:35:08 +0100
Marcus von Appen [EMAIL PROTECTED] wrote:

 On, Thu Nov 23, 2006, Marcus von Appen wrote:
 
 [...] 
  I had the same issue. Loading the aio kernel module should work
  around that issue:
  
  kldload aio
  ...
  qemu ... 
 
 Which is also mentioned in the pkg-message of the qemu port, by the
 way :-).
 
 Regards
 Marcus
 
 

Indeed :-]

-- 
Anders Trobäck
http://www.troback.com/

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming, or what?

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Qemu crash...

2006-11-23 Thread Kris Kennaway
On Thu, Nov 23, 2006 at 12:57:08PM +0100, Anders Troback wrote:
 Hi,
 
 I have some problems with qemu-0.8.2s.20061102!
 
 When I start Qemu the Qemu console appears and crash:
 
 Bad system call (core dumped)
 
 I have tried on both 6.1 and 6.2!
 
 Anyone running Qemu on 6.2 or 6.1?

You need to include AIO support in your kernel (or as a module).  The
port should be updated to mention this.

Kris


pgpkEphWneb5d.pgp
Description: PGP signature


Re: Qemu crash...

2006-11-23 Thread Bakul Shah
 I thought the following would do the trick:
 
 kldstat -m aio /devnull 21 || kldload aio

Ugh I forgot about the -q switch.

 kldstat -qm aio || kldload aio
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Qemu crash...

2006-11-23 Thread Kris Kennaway
On Thu, Nov 23, 2006 at 02:19:51PM -0800, Bakul Shah wrote:
  It should work, but people sometimes report that it doesn't
  (i.e. when they get the resulting panic).  It at least needs to be
  investigated.
 
 What I suggested works for qemu since kldstat -m works for
 aio and kqemu.  May be people tried kldload without checking
 if the module existed?  kldload should do the equiv. of
 kldstat -m.

The conditions of the panic are that a user has a module already
compiled in statically to their kernel, and mistakenly tries to
kldload a second copy of it.  Beyond this I do not remember details
other than that it is still being reported from time to time.

 
  There's still the stale module problem.
 
 You mean an old module that you want to replace?

No, a module compiled for a different kernel version (e.g. the user
ran cvsup and rebuilt modules but has not yet built or booted the new
kernel).  Modules are notoriously fragile things, even in -stable.

  No, it only works for things that are modules:
 
   grep -i compat /usr/src/sys/i386/conf/XOR
  options COMPAT_43   # Compatible with BSD 4.3 [KEEP 
  THIS!]
  options COMPAT_FREEBSD4 # Compatible with FreeBSD4
  options COMPAT_LINUX
 
 Ah, I see what you mean...  The quick way is to default to
 options INCLUDE_CONFIG_FILE but the DEFAULTS file has muddied
 the situation as its contents are not shown.  May be it is
 better for config(8) to generate necessary sysctl glue for
 options, makeoptions etc.  Even better if sysctl kern.config
 can used to recreate the config file of a running system

That's more or less what I was suggesting.  There should be a one stop
shop for user programs to figure out the full set of running kernel
features.

Kris


pgpYznj6VmI88.pgp
Description: PGP signature