[Bug 217815] Re: Installation stalls randomly until a key is pressed

2010-02-10 Thread Thierry Carrez
Declined nominations for karmic/lucid since that was fixed a long time
ago... Please open a new bug if you experience the same symptoms on
karmic/lucid.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-23 Thread Matt Zimmerman
On Wed, Apr 23, 2008 at 04:25:43AM -, QuentinHartman wrote:
> @Colin King:
> 
> On my machine I have hpet, acpi_pm, jiffies, and tsc as available clock
> sources. hpet seems to be the default. Here are my results using the
> daily from the 21st (I think...)
> 
> hpet: stalls
> acpi_pm: stalls (perhaps worse than hpet)
> jiffies: Works! If this does not eliminate the stalls, it at least makes them 
> so short they are easily confused with normal processing
> tsc: stalls really badly, worse than hpet or acpi_pm
> 
> I'm going to test jiffies a couple more times, but the one run though
> worked great! Remember that this is on real hardware, not KVM!

The problem originally described in this bug report has been isolated, and
found to be specific to KVM, thus yours is not the same bug.

Please move discussion of your problem back to the bug report you filed
(#217849) to avoid confusion.

-- 
 - mdz

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-22 Thread QuentinHartman
@Colin King:

On my machine I have hpet, acpi_pm, jiffies, and tsc as available clock
sources. hpet seems to be the default. Here are my results using the
daily from the 21st (I think...)

hpet: stalls
acpi_pm: stalls (perhaps worse than hpet)
jiffies: Works! If this does not eliminate the stalls, it at least makes them 
so short they are easily confused with normal processing
tsc: stalls really badly, worse than hpet or acpi_pm

I'm going to test jiffies a couple more times, but the one run though
worked great! Remember that this is on real hardware, not KVM!

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-22 Thread Launchpad Bug Tracker
This bug was fixed in the package kvm - 1:62+dfsg-0ubuntu7

---
kvm (1:62+dfsg-0ubuntu7) hardy; urgency=low

  * Revert sighandler.patch and virtio_hang.patch. Fixes hang in installer and
likely other places, too. (LP: #217815)

 -- Soren Hansen <[EMAIL PROTECTED]>   Tue, 22 Apr 2008 19:09:33 +0200

** Changed in: kvm (Ubuntu)
   Status: In Progress => Fix Released

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-22 Thread Rick Clark
** Changed in: kvm (Ubuntu)
   Target: ubuntu-8.04.1 => ubuntu-8.04

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-22 Thread Henrik Nilsen Omma
Setting to High and moving to 8.04.1.

" heno: yes, if it's in kvm we should mark it as 8.04.1 now"

** Changed in: kvm (Ubuntu)
   Importance: Critical => High
   Target: ubuntu-8.04 => ubuntu-8.04.1

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-22 Thread QuentinHartman
I get this problem on real hardware, _not_ KVM. In my comment above I
list the model and specs for reference. I also reference that in bug
#217849.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-22 Thread Henrik Nilsen Omma
Changing package to kvm as it seems we've isolated the offending patch
now.

** Changed in: kvm (Ubuntu)
Sourcepackagename: linux => kvm
   Status: Confirmed => In Progress

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-22 Thread QuentinHartman
On Tue, Apr 22, 2008 at 4:26 AM, Colin King <[EMAIL PROTECTED]>
wrote:

> It maybe worth booting with clocksource set to one of the alternative
> clocksources available on your machine. One can see which clocksources
> are available using:
>
> cat /sys/devices/system/clocksource/clocksource0/available_clocksource
>
> and then boot with clocksource=xxx  (where xxx is one of the
> clocksoures).
>
> I cannot test this as I don't have the ability to run kvm on my hardware
> setup here. Can somebody try this and checks if it helps or not.
>

I'll try using different clock sources tonight.

-- 
-Regards-

-Quentin Hartman-


** Attachment added: "unnamed"
   http://launchpadlibrarian.net/13825761/unnamed

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-22 Thread Colin King
It maybe worth booting with clocksource set to one of the alternative
clocksources available on your machine. One can see which clocksources
are available using:

cat /sys/devices/system/clocksource/clocksource0/available_clocksource

and then boot with clocksource=xxx  (where xxx is one of the
clocksoures).

I cannot test this as I don't have the ability to run kvm on my hardware
setup here. Can somebody try this and checks if it helps or not.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-22 Thread Matt Zimmerman
On Mon, Apr 21, 2008 at 09:19:23PM -, Colin Watson wrote:
> Derek: There's no screensaver in d-i. Screen blanking is a distant
> possibility, though. The default screen blanking interval set by the
> kernel is 10 minutes, and d-i doesn't change this; if the failure
> happens after 10 minutes (or nearby, to allow for possible clock skew
> inside kvm) then that would provide some circumstantial support for
> this.

If that were the case, I'd expect the progress bar to jump if it was paused
for a few minutes, though no one has mentioned that.

-- 
 - mdz

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread QuentinHartman
On Mon, Apr 21, 2008 at 7:16 PM, Soren Hansen <[EMAIL PROTECTED]> wrote:

> If further testing reveals that disabling the tsc actually helps, I've
> prepared a kernel patch that will fix it for us:
>
> http://kernel.ubuntu.com/git?p=soren/ubuntu-
> hardy.git;a=commit;h=c472835957c7bce42c56aa2c57caa2e80a5bdb1a
>
> Mind you, the code is completely untested (it's getting rather late
> here), but it looks plausible.
>

Well I tested this on my machine here and I still see the problem, though
with notsc it seems less frequent. I'm concerned that may be wishful
thinking on my part.  I have noticed a new behavior where the install
red-screen fails during the "selecting and installing packages" bit towards
the end of the install. I get a stall like before, but this time when I hit
a key to continue, rather than carrying it, it drops me out to the red
screen. Even if I go go back a few steps in the install process, it keeps
giving me a red screen "A installation step has failed" or the like. I need
to do some more testing and see if I can get it to reliably correlate to
something I'm changing, but as you pointed out, it's getting late here
too...

-- 
-Regards-

-Quentin Hartman-


** Attachment added: "unnamed"
   http://launchpadlibrarian.net/13777800/unnamed

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread Soren Hansen
If further testing reveals that disabling the tsc actually helps, I've
prepared a kernel patch that will fix it for us:

 http://kernel.ubuntu.com/git?p=soren/ubuntu-
hardy.git;a=commit;h=c472835957c7bce42c56aa2c57caa2e80a5bdb1a

Mind you, the code is completely untested (it's getting rather late
here), but it looks plausible.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread Soren Hansen
Er... What I meant to say was, that with "notsc", Lars did an install
that did *NOT* trigger this bug.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread Soren Hansen
Lars just did an install with "notsc" on the kernel command line, which
did trigger this bug.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread Stéphane Graber
Looking at the various syslog files we have, it seems we always get
messages similar to those :

Apr 21 23:02:11 kernel: [ 1072.770546] Clocksource tsc unstable (delta = 
182801418122 ns)
Apr 21 23:02:11 kernel: [ 1072.774264] Time: acpi_pm clocksource has been 
installed.

Those usually appear at the same time as the installer get stuck.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread Henrik Nilsen Omma
... actually on a second run it got stuck in the package install phase,
and stgraber reports it getting stuck in his ramdisk installs too.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread Henrik Nilsen Omma
next data point: install to a ram disk

I first installed to a 2gb disk image and got hangs as usual. I then
created a ram disk with 'mount -t ramfs none ram/ -o maxsize=300'
and copied the 2gb image file to it. When I re-ran the installation to
the store-in-ram version it completed without hangs.

The physical box has 8GB RAM, and there was no disk caching.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread Henrik Nilsen Omma
Some more data points:

* I've tested extensively with the i386 version now (though I haven't
seen any reports of it there). I ran 3 alt i386 installs with LVM+crypto
in virtualbox at the same time on a 4-core box without getting any
hangs.

* I ran both the i386 and amd64 versions in qemu Without the kvm HW
acceleration, with no hangs.

* I ran two 64 bit installs /w LVM+crypto at the same time, one
allocated 384MB RAM and one allocated 2GB, both with an 8GB disk. They
both seemed to stop at the same time and very frequently, every 3-4% of
progress. I killed the 2GB RAM version and let the smaller one continue
-- and it would stop less often every 8-10% perhaps. Running the smaller
RAM version again by itself, it stalls at about every 20% (as was usual
before)

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread Colin Watson
Derek: There's no screensaver in d-i. Screen blanking is a distant
possibility, though. The default screen blanking interval set by the
kernel is 10 minutes, and d-i doesn't change this; if the failure
happens after 10 minutes (or nearby, to allow for possible clock skew
inside kvm) then that would provide some circumstantial support for
this.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread Derek Kaye
Just a thought - is it trying to load a screensaver / blank screen, but
not actually changing the screen - therefore the moving of the mouse /
pressing a key cancels the failing attempt and continues the
installation?

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread Chuck Short
I do not have this problem either with the 20080421 image.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread Nick Barcet
I do not have a hang in the disk erase with the 20080421 image, as disk
erase has been removed, but I just got a stall in "Installing the base
system" within KVM...  Pressing a key made the process move forward, as
previously.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread QuentinHartman
On Mon, Apr 21, 2008 at 10:13 AM, davmor2 <[EMAIL PROTECTED]> wrote:

> There is no fault on the test I just ran using the image 20080421 on
> hardware.  If possible could the original report please test and see if
> he still has the issue with the new cd?
>

I am downloading the that ISO now, I will run it on my problem machine and
report back tonight.

-- 
-Regards-

-Quentin Hartman-


** Attachment added: "unnamed"
   http://launchpadlibrarian.net/13653944/unnamed

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread davmor2
There is no fault on the test I just ran using the image 20080421 on
hardware.  If possible could the original report please test and see if
he still has the issue with the new cd?

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread Jamie Strandboge
Up to date hardy with kvm 1:62+dfsg-0ubuntu6 still hangs.  Note that
this time I tried it with the same command as I did in my last comment
(eg, kvm/xtightvncviewer and not virt-manager).

Last few times it stopped in 'Erasing data on SCSI1...'.  Getting back
to Soren's comment on default_idle-- whenever the install hangs, CPU
utilization on the host by the guest goes to '0'.  Normally during the
installer it is around 100% on one of the host CPUs (when not waiting
for a response from the user).

Also note that if not using virt-manager and gtkvnc (ie you use
xtightvncviewer or possibly other vnc clients), it seems all you have to
do to get it unhung is drag the mouse over the window (the window does
not need to be the active window either).  This must be a difference
between vnc implementations.  So when testing this, be *very* careful
about mouse movements over the installer window.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread Matt Zimmerman
On Mon, Apr 21, 2008 at 10:21:46AM -, Colin King wrote:
> A couple of points worth mulling over to corner this one..
> 
> 1. Is the "hanging" a function of memory size - for example, the buffer
> cache filling up after a certain amount of time and then pdflush kicking
> in very aggressively doing dirty data writing backs as fast as it can.
> In which case, one may see the system resume again after a (long) period
> of time once pdflush is complete.  It may be worth tweaking with the
> /proc/sys/vm/dirty* options to see if this trips the problem more
> frequently. Also, it may be worth seeing if doing the install with small
> memory kvm virtual machines shows this problem earlier than large memory
> virtual machines just to see if it is a buffer cache write back cpu
> starvation issue.
> 
> 2. From my understanding dd is being used to zero the encrypted disk.
> Does changing the dd block size to a very large size trip this bug
> earlier as one gets more throughput than the normal (small) block size
> default?

It's a custom program, actually, blockdev-wipe (in the partman-crypto
package).

> 3. Is the hanging resumed by an external interrupt (keyboard, mouse)
> because of the scheduler boosts interactive sessions temporarily and
> hence interfering (in a positive way) to the balancing of the encryption
> kernel space thread, dd and pdflush?

Note also that there are reports of similar behaviour in other parts of the
installer, which aren't necessarily as I/O intensive.

-- 
 - mdz

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread Colin King
A couple of points worth mulling over to corner this one..

1. Is the "hanging" a function of memory size - for example, the buffer
cache filling up after a certain amount of time and then pdflush kicking
in very aggressively doing dirty data writing backs as fast as it can.
In which case, one may see the system resume again after a (long) period
of time once pdflush is complete.  It may be worth tweaking with the
/proc/sys/vm/dirty* options to see if this trips the problem more
frequently. Also, it may be worth seeing if doing the install with small
memory kvm virtual machines shows this problem earlier than large memory
virtual machines just to see if it is a buffer cache write back cpu
starvation issue.

2. From my understanding dd is being used to zero the encrypted disk.
Does changing the dd block size to a very large size trip this bug
earlier as one gets more throughput than the normal (small) block size
default?

3. Is the hanging resumed by an external interrupt (keyboard, mouse)
because of the scheduler boosts interactive sessions temporarily and
hence interfering (in a positive way) to the balancing of the encryption
kernel space thread, dd and pdflush?

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-21 Thread Ante Karamatić
During my kvm/qemu testing, even before Gutsy was released, I had
similar problem - guest operating system would stall (both windows and
linux) randomly when I would switch workspaces in GNOME, shift focus
from application to application, etc... As soon as I would move focus
back to qemu/kvm window, everything would continue. Sometimes even that
wouldn't help.

But, I never had those problems on my workstation, only on my laptop.
Workstation has Intel E6400 CPU, while laptop is occupied with Intel
T2400. True, I didn't do so many tests on workstation, as I did on
laptop...

At the moment, I'm doing encrypted setup of server's release candidate,
with hardy's qemu+kqemu, and I didn't have problems (I'm at 15% of
wiping partition).

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-19 Thread Jamie Strandboge
To see if this was a problem with the hardware kvm is presenting, I
recompiled kvm 1:28-4ubuntu2 (from gutsy) on hardy and used the
following:

$ qemu-img create -f qcow2 a1.img 4G
$ kvm -M pc -m 128 -smp 1 -boot d -cdrom 
/srv/vms/isos/hardy/hardy-server-amd64.iso -usb -vnc 127.0.0.1:1 -hda 
/home/jamie/a1.img

(and connected with 'xtightvncviewer localhost:1')

I used lvm+encrypt and after 4 times did not get any hangs.  kvm
1:28-4ubuntu2 uses qemu 0.9.0 while kvm in hardy uses 0.9.1.  I will
continue to do installs and will report back if I get a hang with this
version of kvm.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-18 Thread nxvl
Update: it repentantly starts working again 5 minutes after while i was
writing last comment

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-18 Thread nxvl
I forgot, i'm using alternate CD. 
On 2nd try it hangs, there was no movement on tty1 or tty4 even if i press a key

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-18 Thread nxvl
I have had the same problem using KVM, the tty1 stops on "Retrieving
cpio", but as i go to the tty4 it was installing all the packages, so it
wasn't hang, just appears to be.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-18 Thread Jamie Strandboge
I finished installing 6 more gutsy installs (for a total of 7), with no
preseeding.  I used the same setup as above, except I chose lvm+encrypt
and there were no hangs.  There appears to be an installer regression on
(at least) kvm hardware.

I should note all tests are with the server iso.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-18 Thread Matt Zimmerman
On Fri, Apr 18, 2008 at 06:24:50PM -, Rick Clark wrote:
> I think we can consider kvm a hardware type for these purposes.

Only if the bug is in the guest kernel.  This could be an issue with KVM
itself, or with the host side.

-- 
 - mdz

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-18 Thread Rick Clark
I think we can consider kvm a hardware type for these purposes.

So I think we have found bugs on two hardware types that present the
same way, but may, or may not have the same cause.

We could have two hardware platforms that themselves have identical
bugs.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-18 Thread QuentinHartman
** Attachment added: "unnamed"
   http://launchpadlibrarian.net/13559865/unnamed

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-18 Thread QuentinHartman
On Fri, Apr 18, 2008 at 10:28 AM, Dustin Kirkland <[EMAIL PROTECTED]>
wrote:

>
> So thinking much earlier in the installer, anything come to mind?
> Particularly something that might have been added since Gutsy as we now
> believe this is a regression?
>
>
The only thing I can think of that should be relying on entropy would be the
lvm-crypt and disk-wiping stuff that goes along with it, and this problem
gets triggered even when those aren't in use.

-- 
-Regards-

-Quentin Hartman-

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-18 Thread Matt Zimmerman
Current thinking is that there are probably two separate issues here:

 1. A problem specific to the KVM virtual environment
 2. A problem specific to a particular hardware type.

As such, I've un-duped bug 217849.

-- 
 - mdz

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-18 Thread Dustin Kirkland
Stéphane Graber's comment about entropy got me thinking...

Is there anywhere in the installation that depends on entropy
(/dev/random or /dev/urandom)?

Something like openssh-server would, of course, for key generation.  But
that's not a default package, and the installation/configuration thereof
comes long after the point at which most of you are triggering this bug.

So thinking much earlier in the installer, anything come to mind?
Particularly something that might have been added since Gutsy as we now
believe this is a regression?


:-Dustin

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-18 Thread Jamie Strandboge
This does appear to be a regression from 7.10 as I couldn't trigger the
bug in the 7.10 installer.  I will continue several more times and
report back if 7.10 installs hang.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-18 Thread Jamie Strandboge
For people trying Gutsy or earlier CDs in kvm, you have to update the iso.  See:
https://wiki.ubuntu.com/KvmVirtManagerEtc#head-80f0e334a1de270252f62ac69183da2ed58edf3f

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-18 Thread Jamie Strandboge
Regarding 7.10 regression, I haven't tried gutsy installs with my vm,
but I will and will post back.

As for where it stalls, it is random places. I've seen it stall in
'Scanning for CD-ROM', different packages, pretty much anywhere between
setting up the keyboard and the partitioner. I did see the hang in the
partitioner as well.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217815] Re: Installation stalls randomly until a key is pressed

2008-04-18 Thread Matt Zimmerman
Jamie, where does it stall for you, if not during the erase stage?

My tests have all been on a Core 2 Duo T7500 and I haven't been able to
reproduce the problem at all despite several test installations using
alternate install CDs.

Is this specific to the server kernel?

** Summary changed:

- When selecting LVM Crypt, erase never ends
+ Installation stalls randomly until a key is pressed

** Description changed:

- LATEST BUILD TESTED:
- 20080416
- 
- Using Hardy Server 64bit
- - Select Guided partioning LVM Crypt
- - Erasing the partition never ends (stuck at 27%) and there no more disk 
activity (waited 10 minutes)
- - One can press cancel and the installation continues...
- 
- Test done under KVM (if it has an impact)
+ There are several reports, both in KVM and on real hardware, of a
+ problem where the installation process will stall, and no further
+ progress is made until a key is pressed.  This is believed to be a
+ kernel issue, which is resolved by initiating some interrupt processing
+ activity.

-- 
Installation stalls randomly until a key is pressed
https://bugs.launchpad.net/bugs/217815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs