Bug#617453: restarting doesn't always work on Dell Latitude E6400

2012-07-06 Thread Rik Theys
Hi,

On Fri, Jul 6, 2012 at 12:19 AM, Vincent Lefevre vinc...@vinc17.net wrote:
 On 2012-07-04 20:55:56 +0200, Rik Theys wrote:
 Vincent Lefevre wrote:
  When I want to restart (reboot) my Dell Latitude E6400 laptop, the
  machine sometimes remain on without restarting. The last message
  on the console is: Restarting system.

 Can you try adding the following parameter to your kernel boot line?
 Add it to the GRUB_CMDLINE_LINUX parameter in /etc/default/grub and
 run update-grub.

 reboot=pci

 I don't have a /etc/default/grub on this machine. It seems to be
 available with grub-pc, but here I have grub-legacy.

 Perhaps I should use

 defoptions=quiet reboot=pci

You could add it to the kopt= line in /boot/grub/menu.lst and then run
'update-grub'.

Please confirm if adding this boot parameter works for you.

Regards,

Rik



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



Bug#617453: restarting doesn't always work on Dell Latitude E6400

2012-07-06 Thread Vincent Lefevre
Hi,

On 2012-07-06 08:08:00 +0200, Rik Theys wrote:
[...]
  reboot=pci
 
  I don't have a /etc/default/grub on this machine. It seems to be
  available with grub-pc, but here I have grub-legacy.
 
  Perhaps I should use
 
  defoptions=quiet reboot=pci
 
 You could add it to the kopt= line in /boot/grub/menu.lst and then run
 'update-grub'.

Actually I added it to the defoptions line:

# defoptions=quiet reboot=pci

and after running 'update-grub', I have:

title   Debian GNU/Linux, kernel 3.4-trunk-amd64
root(hd0,0)
kernel  /vmlinuz-3.4-trunk-amd64 root=/dev/mapper/xvii-root ro quiet 
reboot=pci
initrd  /initrd.img-3.4-trunk-amd64

title   Debian GNU/Linux, kernel 3.4-trunk-amd64 (single-user mode)
root(hd0,0)
kernel  /vmlinuz-3.4-trunk-amd64 root=/dev/mapper/xvii-root ro single
initrd  /initrd.img-3.4-trunk-amd64

[...]

The kopt line is:

# kopt=root=/dev/mapper/xvii-root ro

so that if I added the option to kopt, I suppose that it would be
added to the single-user mode entries too (as documented). However
I never have to use single-user mode. :)

dmesg confirms that reboot=pci is taken into account:

[0.00] Command line: root=/dev/mapper/xvii-root ro quiet reboot=pci

I just did a single reboot with this, and it was fine. The future
will tell whether this really solves the problem. Anyway, thanks
for this solution.

-- 
Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/
100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



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



Bug#617453: restarting doesn't always work on Dell Latitude E6400

2012-07-06 Thread Jonathan Nieder
Hi Vincent,

Vincent Lefevre wrote:

 dmesg confirms that reboot=pci is taken into account:

 [0.00] Command line: root=/dev/mapper/xvii-root ro quiet reboot=pci

 I just did a single reboot with this, and it was fine. The future
 will tell whether this really solves the problem.

Ok, awesome.  Thanks to both of you.

The DMI list in arch/x86/kernel/reboot.c (including Latitude E6420,
etc but not E6400) is really disheartening[1].  Matthew Garrett
mentioned it recently at [2].  Does disabling VT-d in the BIOS help?
(To avoid confusion for people listening in: this is meant as a
diagnostic question and not intended as a fix.)

Thanks,
Jonathan

[1] http://thread.gmane.org/gmane.linux.kernel/1215897/focus=1239861
[2] http://mjg59.dreamwidth.org/14475.html



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



Bug#617453: restarting doesn't always work on Dell Latitude E6400

2012-07-06 Thread Jonathan Nieder
# basic pm functionality, problem is widespread
severity 617453 important
tags 617453 + upstream
# [1]
forwarded 617453 https://bugzilla.kernel.org/show_bug.cgi?id=42542
quit

Vincent Lefevre wrote:

 dmesg confirms that reboot=pci is taken into account:

 [0.00] Command line: root=/dev/mapper/xvii-root ro quiet reboot=pci

 I just did a single reboot with this, and it was fine. The future
 will tell whether this really solves the problem.

Thanks again.  Let's take this upstream[1].

Jonathan



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



Bug#617453: restarting doesn't always work on Dell Latitude E6400

2012-07-05 Thread Vincent Lefevre
Hi,

On 2012-07-04 20:55:56 +0200, Rik Theys wrote:
 Vincent Lefevre wrote:
  When I want to restart (reboot) my Dell Latitude E6400 laptop, the
  machine sometimes remain on without restarting. The last message
  on the console is: Restarting system.
 
 Can you try adding the following parameter to your kernel boot line?
 Add it to the GRUB_CMDLINE_LINUX parameter in /etc/default/grub and
 run update-grub.
 
 reboot=pci

I don't have a /etc/default/grub on this machine. It seems to be
available with grub-pc, but here I have grub-legacy.

Perhaps I should use

defoptions=quiet reboot=pci

After a search on Google, I've found

http://linux.koolsolutions.com/2009/08/04/howto-fix-linux-hangfreeze-during-reboots-and-restarts/

where a comment says:

Had issues with Dell latitude E6420 had to add reboot=pci to fix the issue

-- 
Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/
100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



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



Bug#617453: restarting doesn't always work on Dell Latitude E6400

2012-07-04 Thread Jonathan Nieder
Hi Vincent,

Vincent Lefevre wrote:

 When I want to restart (reboot) my Dell Latitude E6400 laptop, the
 machine sometimes remain on without restarting. The last message
 on the console is: Restarting system.

Interesting; thanks for reporting it.  Can you take a photograph
of this so we can see the lines before that one?

 The problem doesn't always occur. I don't know the conditions.
 Perhaps when the laptop has been suspended and resumed previously.

Please attach acpidump output.

If you can get full dmesg output from right before a successful
and an unsuccessful reboot, that would be interesting, too.

Hope that helps,
Jonathan



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



Bug#617453: restarting doesn't always work on Dell Latitude E6400

2012-07-04 Thread Rik Theys
Hi,

Vincent Lefevre wrote:
 When I want to restart (reboot) my Dell Latitude E6400 laptop, the
 machine sometimes remain on without restarting. The last message
 on the console is: Restarting system.

Can you try adding the following parameter to your kernel boot line?
Add it to the GRUB_CMDLINE_LINUX parameter in /etc/default/grub and
run update-grub.

reboot=pci

We need(ed) to add this parameter to some of our recent Dell desktops
to make them reboot.

Let us know if this helps, so it can be made the default for this laptop type.

Regards,

Rik



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