All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1186984] [NEW] large -initrd crashes qemu
@ 2013-06-03 13:19 Richard Jones
  2013-06-03 13:22 ` [Qemu-devel] [Bug 1186984] " Richard Jones
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Richard Jones @ 2013-06-03 13:19 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

We don't use large -initrd in libguestfs any more, but I noticed that a
large -initrd file now crashes qemu spectacularly:

$ ls -lh /tmp/kernel /tmp/initrd 
-rw-r--r--. 1 rjones rjones 273M Jun  3 14:02 /tmp/initrd
lrwxrwxrwx. 1 rjones rjones   35 Jun  3 14:02 /tmp/kernel -> /boot/vmlinuz-3.9.4-200.fc18.x86_64

$ ./x86_64-softmmu/qemu-system-x86_64 -L pc-bios \
    -kernel /tmp/kernel -initrd /tmp/initrd -hda /tmp/test1.img -serial stdio \
    -append console=ttyS0

qemu crashes with one of several errors:

PFLASH: Possible BUG - Write block confirm

qemu: fatal: Trying to execute code outside RAM or ROM at
0x00000000000b96cd

If -enable-kvm is used:

KVM: injection failed, MSI lost (Operation not permitted)

In all cases the SDL display fills up with coloured blocks before the
crash (see the attached screenshot).

** Affects: qemu
     Importance: Undecided
         Status: New

** Attachment added: "Coloured blocks screenshot"
   https://bugs.launchpad.net/bugs/1186984/+attachment/3693623/+files/Screenshot%20-%20030613%20-%2014%3A11%3A25.png

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1186984

Title:
  large -initrd crashes qemu

Status in QEMU:
  New

Bug description:
  We don't use large -initrd in libguestfs any more, but I noticed that
  a large -initrd file now crashes qemu spectacularly:

  $ ls -lh /tmp/kernel /tmp/initrd 
  -rw-r--r--. 1 rjones rjones 273M Jun  3 14:02 /tmp/initrd
  lrwxrwxrwx. 1 rjones rjones   35 Jun  3 14:02 /tmp/kernel -> /boot/vmlinuz-3.9.4-200.fc18.x86_64

  $ ./x86_64-softmmu/qemu-system-x86_64 -L pc-bios \
      -kernel /tmp/kernel -initrd /tmp/initrd -hda /tmp/test1.img -serial stdio \
      -append console=ttyS0

  qemu crashes with one of several errors:

  PFLASH: Possible BUG - Write block confirm

  qemu: fatal: Trying to execute code outside RAM or ROM at
  0x00000000000b96cd

  If -enable-kvm is used:

  KVM: injection failed, MSI lost (Operation not permitted)

  In all cases the SDL display fills up with coloured blocks before the
  crash (see the attached screenshot).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1186984/+subscriptions

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

* [Qemu-devel] [Bug 1186984] Re: large -initrd crashes qemu
  2013-06-03 13:19 [Qemu-devel] [Bug 1186984] [NEW] large -initrd crashes qemu Richard Jones
@ 2013-06-03 13:22 ` Richard Jones
  2013-06-03 15:02 ` Richard Jones
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Richard Jones @ 2013-06-03 13:22 UTC (permalink / raw)
  To: qemu-devel

I'm using qemu from git (f10acc8b38d65a66ffa0588a036489d7fa6a593e).

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1186984

Title:
  large -initrd crashes qemu

Status in QEMU:
  New

Bug description:
  We don't use large -initrd in libguestfs any more, but I noticed that
  a large -initrd file now crashes qemu spectacularly:

  $ ls -lh /tmp/kernel /tmp/initrd 
  -rw-r--r--. 1 rjones rjones 273M Jun  3 14:02 /tmp/initrd
  lrwxrwxrwx. 1 rjones rjones   35 Jun  3 14:02 /tmp/kernel -> /boot/vmlinuz-3.9.4-200.fc18.x86_64

  $ ./x86_64-softmmu/qemu-system-x86_64 -L pc-bios \
      -kernel /tmp/kernel -initrd /tmp/initrd -hda /tmp/test1.img -serial stdio \
      -append console=ttyS0

  qemu crashes with one of several errors:

  PFLASH: Possible BUG - Write block confirm

  qemu: fatal: Trying to execute code outside RAM or ROM at
  0x00000000000b96cd

  If -enable-kvm is used:

  KVM: injection failed, MSI lost (Operation not permitted)

  In all cases the SDL display fills up with coloured blocks before the
  crash (see the attached screenshot).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1186984/+subscriptions

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

* [Qemu-devel] [Bug 1186984] Re: large -initrd crashes qemu
  2013-06-03 13:19 [Qemu-devel] [Bug 1186984] [NEW] large -initrd crashes qemu Richard Jones
  2013-06-03 13:22 ` [Qemu-devel] [Bug 1186984] " Richard Jones
@ 2013-06-03 15:02 ` Richard Jones
  2013-06-03 15:10 ` Richard Jones
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Richard Jones @ 2013-06-03 15:02 UTC (permalink / raw)
  To: qemu-devel

One way to reproduce this is to just use a large (200 MB) completely
random initrd.  Note this error seems to happen a long time before even
the kernel starts up, so the actual content of the initrd doesn't
matter.

dd if=/dev/urandom of=/tmp/initrd bs=1M count=200
qemu-system-x86_64 -kernel /boot/vmlinuz -initrd /tmp/initrd -serial stdio -append console=ttyS0

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1186984

Title:
  large -initrd crashes qemu

Status in QEMU:
  New

Bug description:
  We don't use large -initrd in libguestfs any more, but I noticed that
  a large -initrd file now crashes qemu spectacularly:

  $ ls -lh /tmp/kernel /tmp/initrd 
  -rw-r--r--. 1 rjones rjones 273M Jun  3 14:02 /tmp/initrd
  lrwxrwxrwx. 1 rjones rjones   35 Jun  3 14:02 /tmp/kernel -> /boot/vmlinuz-3.9.4-200.fc18.x86_64

  $ ./x86_64-softmmu/qemu-system-x86_64 -L pc-bios \
      -kernel /tmp/kernel -initrd /tmp/initrd -hda /tmp/test1.img -serial stdio \
      -append console=ttyS0

  qemu crashes with one of several errors:

  PFLASH: Possible BUG - Write block confirm

  qemu: fatal: Trying to execute code outside RAM or ROM at
  0x00000000000b96cd

  If -enable-kvm is used:

  KVM: injection failed, MSI lost (Operation not permitted)

  In all cases the SDL display fills up with coloured blocks before the
  crash (see the attached screenshot).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1186984/+subscriptions

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

* [Qemu-devel] [Bug 1186984] Re: large -initrd crashes qemu
  2013-06-03 13:19 [Qemu-devel] [Bug 1186984] [NEW] large -initrd crashes qemu Richard Jones
  2013-06-03 13:22 ` [Qemu-devel] [Bug 1186984] " Richard Jones
  2013-06-03 15:02 ` Richard Jones
@ 2013-06-03 15:10 ` Richard Jones
  2013-06-03 15:21 ` [Qemu-devel] [Bug 1186984] Re: large -initrd can wrap around in memory causing memory corruption Richard Jones
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Richard Jones @ 2013-06-03 15:10 UTC (permalink / raw)
  To: qemu-devel

OK I see what's happening.  Because I forgot about the -m option, qemu
allocates 128 MB of RAM.  It's obviously wrapping around in memory and
overwriting all the low memory.

If you add (eg) -m 1024 it works.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1186984

Title:
  large -initrd crashes qemu

Status in QEMU:
  New

Bug description:
  We don't use large -initrd in libguestfs any more, but I noticed that
  a large -initrd file now crashes qemu spectacularly:

  $ ls -lh /tmp/kernel /tmp/initrd 
  -rw-r--r--. 1 rjones rjones 273M Jun  3 14:02 /tmp/initrd
  lrwxrwxrwx. 1 rjones rjones   35 Jun  3 14:02 /tmp/kernel -> /boot/vmlinuz-3.9.4-200.fc18.x86_64

  $ ./x86_64-softmmu/qemu-system-x86_64 -L pc-bios \
      -kernel /tmp/kernel -initrd /tmp/initrd -hda /tmp/test1.img -serial stdio \
      -append console=ttyS0

  qemu crashes with one of several errors:

  PFLASH: Possible BUG - Write block confirm

  qemu: fatal: Trying to execute code outside RAM or ROM at
  0x00000000000b96cd

  If -enable-kvm is used:

  KVM: injection failed, MSI lost (Operation not permitted)

  In all cases the SDL display fills up with coloured blocks before the
  crash (see the attached screenshot).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1186984/+subscriptions

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

* [Qemu-devel] [Bug 1186984] Re: large -initrd can wrap around in memory causing memory corruption
  2013-06-03 13:19 [Qemu-devel] [Bug 1186984] [NEW] large -initrd crashes qemu Richard Jones
                   ` (2 preceding siblings ...)
  2013-06-03 15:10 ` Richard Jones
@ 2013-06-03 15:21 ` Richard Jones
  2015-03-23  2:49 ` Bart Van Assche
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Richard Jones @ 2013-06-03 15:21 UTC (permalink / raw)
  To: qemu-devel

** Summary changed:

- large -initrd crashes qemu
+ large -initrd can wrap around in memory causing memory corruption

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1186984

Title:
  large -initrd can wrap around in memory causing memory corruption

Status in QEMU:
  New

Bug description:
  We don't use large -initrd in libguestfs any more, but I noticed that
  a large -initrd file now crashes qemu spectacularly:

  $ ls -lh /tmp/kernel /tmp/initrd 
  -rw-r--r--. 1 rjones rjones 273M Jun  3 14:02 /tmp/initrd
  lrwxrwxrwx. 1 rjones rjones   35 Jun  3 14:02 /tmp/kernel -> /boot/vmlinuz-3.9.4-200.fc18.x86_64

  $ ./x86_64-softmmu/qemu-system-x86_64 -L pc-bios \
      -kernel /tmp/kernel -initrd /tmp/initrd -hda /tmp/test1.img -serial stdio \
      -append console=ttyS0

  qemu crashes with one of several errors:

  PFLASH: Possible BUG - Write block confirm

  qemu: fatal: Trying to execute code outside RAM or ROM at
  0x00000000000b96cd

  If -enable-kvm is used:

  KVM: injection failed, MSI lost (Operation not permitted)

  In all cases the SDL display fills up with coloured blocks before the
  crash (see the attached screenshot).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1186984/+subscriptions

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

* [Qemu-devel] [Bug 1186984] Re: large -initrd can wrap around in memory causing memory corruption
  2013-06-03 13:19 [Qemu-devel] [Bug 1186984] [NEW] large -initrd crashes qemu Richard Jones
                   ` (3 preceding siblings ...)
  2013-06-03 15:21 ` [Qemu-devel] [Bug 1186984] Re: large -initrd can wrap around in memory causing memory corruption Richard Jones
@ 2015-03-23  2:49 ` Bart Van Assche
  2015-03-23  9:04 ` Richard Jones
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Bart Van Assche @ 2015-03-23  2:49 UTC (permalink / raw)
  To: qemu-devel

Just saw something similar with qemu 2.2.1:

KVM: injection failed, MSI lost (Input/output error)
qemu-system-x86_64: /home/bart/software/qemu-2.2.1/hw/net/vhost_net.c:264: vhost_net_stop_one: Assertion `r >= 0' failed.
2015-03-23 02:44:44.952+0000: shutting down

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1186984

Title:
  large -initrd can wrap around in memory causing memory corruption

Status in QEMU:
  New

Bug description:
  We don't use large -initrd in libguestfs any more, but I noticed that
  a large -initrd file now crashes qemu spectacularly:

  $ ls -lh /tmp/kernel /tmp/initrd 
  -rw-r--r--. 1 rjones rjones 273M Jun  3 14:02 /tmp/initrd
  lrwxrwxrwx. 1 rjones rjones   35 Jun  3 14:02 /tmp/kernel -> /boot/vmlinuz-3.9.4-200.fc18.x86_64

  $ ./x86_64-softmmu/qemu-system-x86_64 -L pc-bios \
      -kernel /tmp/kernel -initrd /tmp/initrd -hda /tmp/test1.img -serial stdio \
      -append console=ttyS0

  qemu crashes with one of several errors:

  PFLASH: Possible BUG - Write block confirm

  qemu: fatal: Trying to execute code outside RAM or ROM at
  0x00000000000b96cd

  If -enable-kvm is used:

  KVM: injection failed, MSI lost (Operation not permitted)

  In all cases the SDL display fills up with coloured blocks before the
  crash (see the attached screenshot).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1186984/+subscriptions

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

* [Qemu-devel] [Bug 1186984] Re: large -initrd can wrap around in memory causing memory corruption
  2013-06-03 13:19 [Qemu-devel] [Bug 1186984] [NEW] large -initrd crashes qemu Richard Jones
                   ` (4 preceding siblings ...)
  2015-03-23  2:49 ` Bart Van Assche
@ 2015-03-23  9:04 ` Richard Jones
  2015-03-23 14:48 ` Bart Van Assche
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Richard Jones @ 2015-03-23  9:04 UTC (permalink / raw)
  To: qemu-devel

Although the error message is the same, the bug in comment 5 seems
completely different.  Please open a new bug about this issue, giving
*all* details - including the full qemu command line.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1186984

Title:
  large -initrd can wrap around in memory causing memory corruption

Status in QEMU:
  New

Bug description:
  We don't use large -initrd in libguestfs any more, but I noticed that
  a large -initrd file now crashes qemu spectacularly:

  $ ls -lh /tmp/kernel /tmp/initrd 
  -rw-r--r--. 1 rjones rjones 273M Jun  3 14:02 /tmp/initrd
  lrwxrwxrwx. 1 rjones rjones   35 Jun  3 14:02 /tmp/kernel -> /boot/vmlinuz-3.9.4-200.fc18.x86_64

  $ ./x86_64-softmmu/qemu-system-x86_64 -L pc-bios \
      -kernel /tmp/kernel -initrd /tmp/initrd -hda /tmp/test1.img -serial stdio \
      -append console=ttyS0

  qemu crashes with one of several errors:

  PFLASH: Possible BUG - Write block confirm

  qemu: fatal: Trying to execute code outside RAM or ROM at
  0x00000000000b96cd

  If -enable-kvm is used:

  KVM: injection failed, MSI lost (Operation not permitted)

  In all cases the SDL display fills up with coloured blocks before the
  crash (see the attached screenshot).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1186984/+subscriptions

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

* [Qemu-devel] [Bug 1186984] Re: large -initrd can wrap around in memory causing memory corruption
  2013-06-03 13:19 [Qemu-devel] [Bug 1186984] [NEW] large -initrd crashes qemu Richard Jones
                   ` (5 preceding siblings ...)
  2015-03-23  9:04 ` Richard Jones
@ 2015-03-23 14:48 ` Bart Van Assche
  2018-01-30 21:01 ` Thomas Huth
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Bart Van Assche @ 2015-03-23 14:48 UTC (permalink / raw)
  To: qemu-devel

Thanks Richard for the quick feedback. A new bug report has been created
as https://bugs.launchpad.net/qemu/+bug/1435359.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1186984

Title:
  large -initrd can wrap around in memory causing memory corruption

Status in QEMU:
  New

Bug description:
  We don't use large -initrd in libguestfs any more, but I noticed that
  a large -initrd file now crashes qemu spectacularly:

  $ ls -lh /tmp/kernel /tmp/initrd 
  -rw-r--r--. 1 rjones rjones 273M Jun  3 14:02 /tmp/initrd
  lrwxrwxrwx. 1 rjones rjones   35 Jun  3 14:02 /tmp/kernel -> /boot/vmlinuz-3.9.4-200.fc18.x86_64

  $ ./x86_64-softmmu/qemu-system-x86_64 -L pc-bios \
      -kernel /tmp/kernel -initrd /tmp/initrd -hda /tmp/test1.img -serial stdio \
      -append console=ttyS0

  qemu crashes with one of several errors:

  PFLASH: Possible BUG - Write block confirm

  qemu: fatal: Trying to execute code outside RAM or ROM at
  0x00000000000b96cd

  If -enable-kvm is used:

  KVM: injection failed, MSI lost (Operation not permitted)

  In all cases the SDL display fills up with coloured blocks before the
  crash (see the attached screenshot).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1186984/+subscriptions

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

* [Qemu-devel] [Bug 1186984] Re: large -initrd can wrap around in memory causing memory corruption
  2013-06-03 13:19 [Qemu-devel] [Bug 1186984] [NEW] large -initrd crashes qemu Richard Jones
                   ` (6 preceding siblings ...)
  2015-03-23 14:48 ` Bart Van Assche
@ 2018-01-30 21:01 ` Thomas Huth
  2018-01-30 22:08 ` Richard Jones
  2018-04-01  4:17 ` Launchpad Bug Tracker
  9 siblings, 0 replies; 11+ messages in thread
From: Thomas Huth @ 2018-01-30 21:01 UTC (permalink / raw)
  To: qemu-devel

Triaging old bug tickets... can you still reproduce this issue with the
latest version of QEMU? Or could we close this ticket nowadays?

** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1186984

Title:
  large -initrd can wrap around in memory causing memory corruption

Status in QEMU:
  Incomplete

Bug description:
  We don't use large -initrd in libguestfs any more, but I noticed that
  a large -initrd file now crashes qemu spectacularly:

  $ ls -lh /tmp/kernel /tmp/initrd 
  -rw-r--r--. 1 rjones rjones 273M Jun  3 14:02 /tmp/initrd
  lrwxrwxrwx. 1 rjones rjones   35 Jun  3 14:02 /tmp/kernel -> /boot/vmlinuz-3.9.4-200.fc18.x86_64

  $ ./x86_64-softmmu/qemu-system-x86_64 -L pc-bios \
      -kernel /tmp/kernel -initrd /tmp/initrd -hda /tmp/test1.img -serial stdio \
      -append console=ttyS0

  qemu crashes with one of several errors:

  PFLASH: Possible BUG - Write block confirm

  qemu: fatal: Trying to execute code outside RAM or ROM at
  0x00000000000b96cd

  If -enable-kvm is used:

  KVM: injection failed, MSI lost (Operation not permitted)

  In all cases the SDL display fills up with coloured blocks before the
  crash (see the attached screenshot).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1186984/+subscriptions

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

* [Qemu-devel] [Bug 1186984] Re: large -initrd can wrap around in memory causing memory corruption
  2013-06-03 13:19 [Qemu-devel] [Bug 1186984] [NEW] large -initrd crashes qemu Richard Jones
                   ` (7 preceding siblings ...)
  2018-01-30 21:01 ` Thomas Huth
@ 2018-01-30 22:08 ` Richard Jones
  2018-04-01  4:17 ` Launchpad Bug Tracker
  9 siblings, 0 replies; 11+ messages in thread
From: Richard Jones @ 2018-01-30 22:08 UTC (permalink / raw)
  To: qemu-devel

The answer is I don't know.  Closing this bug seems correct unless
someone can reproduce the original problem.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1186984

Title:
  large -initrd can wrap around in memory causing memory corruption

Status in QEMU:
  Incomplete

Bug description:
  We don't use large -initrd in libguestfs any more, but I noticed that
  a large -initrd file now crashes qemu spectacularly:

  $ ls -lh /tmp/kernel /tmp/initrd 
  -rw-r--r--. 1 rjones rjones 273M Jun  3 14:02 /tmp/initrd
  lrwxrwxrwx. 1 rjones rjones   35 Jun  3 14:02 /tmp/kernel -> /boot/vmlinuz-3.9.4-200.fc18.x86_64

  $ ./x86_64-softmmu/qemu-system-x86_64 -L pc-bios \
      -kernel /tmp/kernel -initrd /tmp/initrd -hda /tmp/test1.img -serial stdio \
      -append console=ttyS0

  qemu crashes with one of several errors:

  PFLASH: Possible BUG - Write block confirm

  qemu: fatal: Trying to execute code outside RAM or ROM at
  0x00000000000b96cd

  If -enable-kvm is used:

  KVM: injection failed, MSI lost (Operation not permitted)

  In all cases the SDL display fills up with coloured blocks before the
  crash (see the attached screenshot).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1186984/+subscriptions

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

* [Qemu-devel] [Bug 1186984] Re: large -initrd can wrap around in memory causing memory corruption
  2013-06-03 13:19 [Qemu-devel] [Bug 1186984] [NEW] large -initrd crashes qemu Richard Jones
                   ` (8 preceding siblings ...)
  2018-01-30 22:08 ` Richard Jones
@ 2018-04-01  4:17 ` Launchpad Bug Tracker
  9 siblings, 0 replies; 11+ messages in thread
From: Launchpad Bug Tracker @ 2018-04-01  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1186984

Title:
  large -initrd can wrap around in memory causing memory corruption

Status in QEMU:
  Expired

Bug description:
  We don't use large -initrd in libguestfs any more, but I noticed that
  a large -initrd file now crashes qemu spectacularly:

  $ ls -lh /tmp/kernel /tmp/initrd 
  -rw-r--r--. 1 rjones rjones 273M Jun  3 14:02 /tmp/initrd
  lrwxrwxrwx. 1 rjones rjones   35 Jun  3 14:02 /tmp/kernel -> /boot/vmlinuz-3.9.4-200.fc18.x86_64

  $ ./x86_64-softmmu/qemu-system-x86_64 -L pc-bios \
      -kernel /tmp/kernel -initrd /tmp/initrd -hda /tmp/test1.img -serial stdio \
      -append console=ttyS0

  qemu crashes with one of several errors:

  PFLASH: Possible BUG - Write block confirm

  qemu: fatal: Trying to execute code outside RAM or ROM at
  0x00000000000b96cd

  If -enable-kvm is used:

  KVM: injection failed, MSI lost (Operation not permitted)

  In all cases the SDL display fills up with coloured blocks before the
  crash (see the attached screenshot).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1186984/+subscriptions

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

end of thread, other threads:[~2018-04-01  4:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-03 13:19 [Qemu-devel] [Bug 1186984] [NEW] large -initrd crashes qemu Richard Jones
2013-06-03 13:22 ` [Qemu-devel] [Bug 1186984] " Richard Jones
2013-06-03 15:02 ` Richard Jones
2013-06-03 15:10 ` Richard Jones
2013-06-03 15:21 ` [Qemu-devel] [Bug 1186984] Re: large -initrd can wrap around in memory causing memory corruption Richard Jones
2015-03-23  2:49 ` Bart Van Assche
2015-03-23  9:04 ` Richard Jones
2015-03-23 14:48 ` Bart Van Assche
2018-01-30 21:01 ` Thomas Huth
2018-01-30 22:08 ` Richard Jones
2018-04-01  4:17 ` Launchpad Bug Tracker

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.