Dell 790 fails to reboot without reboot=pci

Bug #818933 reported by Jonathan Reed
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Leann Ogasawara

Bug Description

This is pretty much the same thing as #488319 (which happened with a Dell 760) or #115011 (with a Dell 745). Basically, every time Dell comes out with a new workstation, rebooting simply doesn't work when ACPI is enabled.

The symptom is that it will sit at "[ 1234.56789 ] Restarting system" forever until power-cycled.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-10-generic 2.6.38-10.46
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic x86_64
NonfreeKernelModules: openafs
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jdreed 2530 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xe1560000 irq 45'
   Mixer name : 'Realtek ALC269VB'
   Components : 'HDA:10ec0269,102804ad,00100100'
   Controls : 18
   Simple ctrls : 12
Date: Sun Jul 31 13:16:55 2011
HibernationDevice: RESUME=UUID=f8c5cd2c-191b-4101-9733-9ffe805e14df
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
MachineType: Dell Inc. OptiPlex 790
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/athena/tcsh
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-2.6.38-10-generic root=/dev/mapper/athena-root ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-10-generic N/A
 linux-backports-modules-2.6.38-10-generic N/A
 linux-firmware 1.52
RfKill:

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/11/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A03
dmi.board.name: 0J3C2F
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA03:bd04/11/2011:svnDellInc.:pnOptiPlex790:pvr01:rvnDellInc.:rn0J3C2F:rvrA00:cvnDellInc.:ct3:cvr:
dmi.product.name: OptiPlex 790
dmi.product.version: 01
dmi.sys.vendor: Dell Inc.

CVE References

Revision history for this message
Jonathan Reed (jdreed) wrote :
Revision history for this message
Jonathan Reed (jdreed) wrote :

Scratch that, they need acpi=off. reboot=bios doesn't help.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Julian Wiedmann (jwiedmann) wrote :

Instead of 'acpi=off', how about 'reboot=pci'?

Revision history for this message
Jonathan Reed (jdreed) wrote :

reboot=pci does work, and is the workaround we're using. However, it's still a bug.

Revision history for this message
Julian Wiedmann (jwiedmann) wrote :

With kernel version 3.0, the reboot mechanism has been modified to match Windows' behaviour more closely (see http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=660e34cebf0a11d54f2d5dd8838607452355f321 ).
Could you give that a try?

There are pre-built kernel packages in the mainline-ppa (currently 3.0.4) at http://kernel.ubuntu.com/~kernel-ppa/mainline and a Live CD for Oneiric's Beta 1 should be available soon as well.

summary: - Dell 790 fails to reboot without either reboot=bios or acpi=off
+ Dell 790 fails to reboot without reboot=pci
Revision history for this message
Sharl.Jimh.Tsin (sharl.jimh.tsin) wrote :

hey! Julian Wiedmann.

I have try the latest Linux Kernel 3.0.4 provided by Ubuntu Kernel Team(from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.0.4-oneiric/), and unfortunately the REBOOT still not work on DELL OptiPlex 790 machine.

here is some informations:

sharl@sharl-desktop:~$ dpkg -l linux-*3.0.4*
期望状态=未知(u)/安装(i)/删除(r)/清除(p)/保持(h)
| 状态=未安装(n)/已安装(i)/仅存配置(c)/仅解压缩(U)/配置失败(F)/不完全安装(H)/触发器等待(W)/触发器未决(T)
|/ 错误?=(无)/须重装(R) (状态,错误:大写=故障)
||/ 名称 版本 描述
+++-==============-==============-============================================
un linux-doc-3.0. <none> (无可用描述)
ii linux-headers- 3.0.4-030004.2 Header files related to Linux kernel version
ii linux-headers- 3.0.4-030004.2 Linux kernel headers for version 3.0.4 on x8
ii linux-image-3. 3.0.4-030004.2 Linux kernel image for version 3.0.4 on x86/
un linux-source-3 <none> (无可用描述)

sharl@sharl-desktop:~$ uname -a
Linux sharl-desktop 3.0.4-030004-generic #201108301138 SMP Tue Aug 30 11:42:30 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Julian Wiedmann (jwiedmann) wrote :

Thanks for testing - I guess 'reboot=pci' still works around the problem on 3.0.4?

Revision history for this message
Sharl.Jimh.Tsin (sharl.jimh.tsin) wrote :

To:Julian Wiedmann.

Right? can you tell me how to fix it by "reboot=pci" temporarily ?

Thanks.

Changed in linux (Ubuntu):
assignee: nobody → Leann Ogasawara (leannogasawara)
importance: Undecided → Medium
status: Confirmed → In Progress
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi everyone,

I've created a quirk patch for the OptiPlex 790 and built a test kernel which can be found at:

http://people.canonical.com/~ogasawara/dell-reboot-quirks/

If you could please test and confirm you no longer need to use the reboot=pci work around that would be great. Thanks in advance.

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

The above kernel let's me restart fine on a OptiPlex 790. (I previously had the issue and reboot=pci workaround worked)

Oh, I also have this issue on a Fedora machine so it certainly would help to go upstream.
Thanks! Bryan

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Bryan,

Thanks for testing and the feedback. I tried to send a similar patch upstream already for the Dell Latitude E6520 (see bug 833705) but received some push back from the maintainer regarding accepting any more of these types of quirk fixes. It appears upstream wants a more systematic approach. So in the mean time, I'll try submitting this to the Ubuntu kernel team to consider temporarily carrying this patch until a more systematic solution can be found which upstream will accept. Thanks.

Revision history for this message
Sharl.Jimh.Tsin (sharl.jimh.tsin) wrote :

YES,i have just compiled the latest stable(3.0.4) linux kernel with your patch applied.and after installed,the REBOOT function on my DELL OptiPlex 790 machine works OK.

thanks for your patch! Leann Ogasawara.

Revision history for this message
Sharl.Jimh.Tsin (sharl.jimh.tsin) wrote :

here is the info:
sharl@sharl-desktop:~$ uname -a
Linux sharl-desktop 3.0.4-by-sharl #2 SMP Fri Sep 2 12:45:49 CST 2011 x86_64 x86_64 x86_64 GNU/Linux

BTW,will this patch be included in the coming Ubuntu 11.10?

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Yes, I will submit the patch to the Ubuntu Kernel team mailing list for it to be applied to the upcoming Ubuntu 11.10 Oneiric release. Thanks for the testing feedback.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Patch has been applied to the Oneiric kernel git repo. Marking this Fix Committed.

https://lists.ubuntu.com/archives/kernel-team/2011-September/016967.html

Changed in linux (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 3.0.0-11.18

---------------
linux (3.0.0-11.18) oneiric; urgency=low

  [ Jiri Kosina ]

  * SAUCE: HID: magicmouse: ignore 'ivalid report id' while switching modes

  [ Leann Ogasawara ]

  * SAUCE: x86: reboot: Make Dell Optiplex 790 use reboot=pci
    - LP: #818933
  * SAUCE: (drop after 3.0) x86, x2apic: enable the bios request for x2apic
    optout
    - LP: #797548

  [ Ming Lei ]

  * SAUCE: fireware: add NO_MSI quirks for o2micro controller
    - LP: #801719

  [ Rene Bolldorf ]

  * SAUCE: (drop after 3.0) ideapad: Check if acpi already handle backlight
    power in 'ideapad_backlight_notify_power' to avoid a page fault

  [ Upstream Kernel Changes ]

  * savagedb: Fix typo causing regression in savage4 series video chip
    detection
  * cifs: fix possible memory corruption in CIFSFindNext, CVE-2011-3191
    - LP: #834135
    - CVE-2011-3191
 -- Leann Ogasawara <email address hidden> Mon, 12 Sep 2011 06:45:02 -0700

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.