Bug#683096: no grub menu before boot

2012-08-09 Thread Michael Tokarev
tags 683096 = confirmed
retitle 683096 no grub menu before boot with in-kernel irqchip
thanks

On 09.08.2012 08:44, Jamie Heilman wrote:
 Michael Tokarev wrote:
 tags 683096 + moreinfo unreproducible
 thanks

 Guys, can you please provide the complete qemu-kvm
 command line which you use to start the guest?

 So far I can't reproduce the issue and I think I'm
 missing some options which you're using.
 
 kvm -name bunk -m 768 \
 -device virtio-blk-pci,drive=blk0,bootindex=1 \
 -device virtio-net-pci,netdev=net0 \
 -drive id=blk0,file=/dev/mapper/S-bunk,if=none,cache=none \
 -netdev tap,id=net0,ifname=bunk,script=no,downscript=no

So it is fairy regular command line, nothing interesting.

I downloaded ubuntu 12.04 i386 desktop, installed it with default
options, and tried there.  After setting timeout=10 (from timeout=0)
in /boot/grub/grub.cfg, I can see the difference between current
qemu-kvm 1.1 and previous versions.  Marking the bugreport as
confirmed, will work out from there.

Thanks!

/mjt


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#683096: no grub menu before boot

2012-08-08 Thread Michael Tokarev
tags 683096 + moreinfo unreproducible
thanks

Guys, can you please provide the complete qemu-kvm
command line which you use to start the guest?

So far I can't reproduce the issue and I think I'm
missing some options which you're using.

Meanwhile I'm tagging this bug as unreproducible.

Thanks!

/mjt


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#683096: no grub menu before boot

2012-08-08 Thread Marc Haber
On Wed, Aug 08, 2012 at 10:46:26PM +0400, Michael Tokarev wrote:
 Guys, can you please provide the complete qemu-kvm
 command line which you use to start the guest?

How do I get that out of libvirt/virt-manager?

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#683096: no grub menu before boot

2012-08-08 Thread Jamie Heilman
Michael Tokarev wrote:
 tags 683096 + moreinfo unreproducible
 thanks
 
 Guys, can you please provide the complete qemu-kvm
 command line which you use to start the guest?
 
 So far I can't reproduce the issue and I think I'm
 missing some options which you're using.

kvm -name bunk -m 768 \
-device virtio-blk-pci,drive=blk0,bootindex=1 \
-device virtio-net-pci,netdev=net0 \
-drive id=blk0,file=/dev/mapper/S-bunk,if=none,cache=none \
-netdev tap,id=net0,ifname=bunk,script=no,downscript=no

/dev/mapper/S-bunk is a lvm volume w/ Ubuntu 12.04 server amd64 and
grub as the bootloader.  Removing the network opts made no difference,
neither did changing the boot drive to ide-hd instead of virtio, but
disabling the irqchip did (setting virtio-blk-pci.ioeventfd=off didn't
make any difference for this issue).


-- 
Jamie Heilman http://audible.transient.net/~jamie/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#683096: no grub menu before boot

2012-08-08 Thread Jamie Heilman
Marc Haber wrote:
 On Wed, Aug 08, 2012 at 10:46:26PM +0400, Michael Tokarev wrote:
  Guys, can you please provide the complete qemu-kvm
  command line which you use to start the guest?
 
 How do I get that out of libvirt/virt-manager?

try ps ww -C kvm

-- 
Jamie Heilman http://audible.transient.net/~jamie/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#683096: no grub menu before boot

2012-07-31 Thread Jamie Heilman
Marc Haber wrote:
 Is there a fix on the way, or is KVM upstream still debating with the
 kernel developers about who is at fault here?

No fix on the way, this bug will need to be upstreamed.  There's been
no discussion about it on the list at all yet.

-- 
Jamie Heilman http://audible.transient.net/~jamie/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#683096: no grub menu before boot

2012-07-30 Thread Marc Haber
On Sun, Jul 29, 2012 at 04:28:25PM +, Jamie Heilman wrote:
 Marc Haber wrote:
  On Sun, Jul 29, 2012 at 09:12:26AM +, Jamie Heilman wrote:
   Marc, you'll want to review the above mentioned bugs and verify that
   your config matches; iow, that you're using a virtio-blk boot device.
  
  I am using a virtio-blk boot device, yes.
  
  Does current libvirt offer a possibility to set arbitrary qemu
  parameters to verify this?
 
 I don't use it, so I can't comment on how accurate this thread is
 anymore, but I bet the workaround advice is still entirely relevant:
 http://www.redhat.com/archives/libvir-list/2009-September/msg00443.html

Ugly, but it helped to find out that my issue is actually the irqchip
issue: Using the wrapper mentioned in this message brings back my grub
menu.

Is there a fix on the way, or is KVM upstream still debating with the
kernel developers about who is at fault here?

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#683096: no grub menu before boot

2012-07-29 Thread Jamie Heilman
I suspect this is very much related to 680719 (upstream 1021649).  If
you disable the in-kernel irqchip, I bet you'll get your grub menu
back.  I experimented some with my guests that use -display sdl and
the difference is quite noticable.  For example, with an ubuntu server
instance that has a grub timeout of 2 seconds, using
kvm -machine accel=kvm,kernel_irqchip=on ... the grub menu flickers
past without any delay on my workstation, but if use -machine
accel=kvm,kernel_irqchip=off the 2 second countdown timer and grub
menu behave as expected.  

Marc, you'll want to review the above mentioned bugs and verify that
your config matches; iow, that you're using a virtio-blk boot device.

-- 
Jamie Heilman http://audible.transient.net/~jamie/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#683096: no grub menu before boot

2012-07-29 Thread Marc Haber
On Sun, Jul 29, 2012 at 09:12:26AM +, Jamie Heilman wrote:
 Marc, you'll want to review the above mentioned bugs and verify that
 your config matches; iow, that you're using a virtio-blk boot device.

I am using a virtio-blk boot device, yes.

Does current libvirt offer a possibility to set arbitrary qemu
parameters to verify this?

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#683096: no grub menu before boot

2012-07-29 Thread Jamie Heilman
Marc Haber wrote:
 On Sun, Jul 29, 2012 at 09:12:26AM +, Jamie Heilman wrote:
  Marc, you'll want to review the above mentioned bugs and verify that
  your config matches; iow, that you're using a virtio-blk boot device.
 
 I am using a virtio-blk boot device, yes.
 
 Does current libvirt offer a possibility to set arbitrary qemu
 parameters to verify this?

I don't use it, so I can't comment on how accurate this thread is
anymore, but I bet the workaround advice is still entirely relevant:
http://www.redhat.com/archives/libvir-list/2009-September/msg00443.html

-- 
Jamie Heilman http://audible.transient.net/~jamie/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#683096: no grub menu before boot

2012-07-29 Thread Jamie Heilman
Jamie Heilman wrote:
 Marc, you'll want to review the above mentioned bugs and verify that
 your config matches; iow, that you're using a virtio-blk boot device.

Actually, I can reproduce this on guests without any virtio devices
present, the in-kernel irqchip implementation itself appears to be the
source of the problem, but its likely not the same issue I thought it
was.

-- 
Jamie Heilman http://audible.transient.net/~jamie/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#683096: no grub menu before boot

2012-07-28 Thread Marc Haber
Package: qemu-kvm
Version: 1.1.0+dfsg-3
Severity: normal

Booting a Linux VM inside KVM (using virt-manager, libvirt, qemu-kvm
1.1.0 from unstable) does not show the grub boot menu at all. It just
immediatly boots and runs fine then.

Downgrading qemu-kvm fo 1.0+dfsg-11 from testing made the grub-menu
reappear.

Is that user error, or a bug in qemu-kvm?

Greetings
Marc

-- Package-specific info:


/proc/cpuinfo:

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 42
model name  : Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
stepping: 7
microcode   : 0x18
cpu MHz : 800.000
cache size  : 6144 KB
physical id : 0
siblings: 8
core id : 0
cpu cores   : 4
apicid  : 0
initial apicid  : 0
fpu : yes
fpu_exception   : yes
cpuid level : 13
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf pni 
pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid 
sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat 
epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips: 4385.85
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model   : 42
model name  : Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
stepping: 7
microcode   : 0x18
cpu MHz : 800.000
cache size  : 6144 KB
physical id : 0
siblings: 8
core id : 0
cpu cores   : 4
apicid  : 1
initial apicid  : 1
fpu : yes
fpu_exception   : yes
cpuid level : 13
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf pni 
pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid 
sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat 
epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips: 4385.85
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 2
vendor_id   : GenuineIntel
cpu family  : 6
model   : 42
model name  : Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
stepping: 7
microcode   : 0x18
cpu MHz : 800.000
cache size  : 6144 KB
physical id : 0
siblings: 8
core id : 1
cpu cores   : 4
apicid  : 2
initial apicid  : 2
fpu : yes
fpu_exception   : yes
cpuid level : 13
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf pni 
pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid 
sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat 
epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips: 4385.85
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 3
vendor_id   : GenuineIntel
cpu family  : 6
model   : 42
model name  : Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
stepping: 7
microcode   : 0x18
cpu MHz : 800.000
cache size  : 6144 KB
physical id : 0
siblings: 8
core id : 1
cpu cores   : 4
apicid  : 3
initial apicid  : 3
fpu : yes
fpu_exception   : yes
cpuid level : 13
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf pni 
pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid 
sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat 
epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips: 4385.85
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 4
vendor_id   : GenuineIntel
cpu family  : 6
model   : 42
model name  : Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
stepping: 7
microcode   : 0x18
cpu MHz : 800.000
cache size  : 6144 KB
physical id : 0
siblings: 8
core id : 2
cpu cores   : 4
apicid  : 4
initial apicid  : 4
fpu