System fails to restart

Bug #366682 reported by Moneta Funzionata
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Leann Ogasawara
Karmic
Fix Released
Medium
Unassigned

Bug Description

Ubuntu 9.04 fails to restart after normal boot.

When I click on restart, the system shuts down until there is a black screen with a text line that reads

[ 2642.044650 ] Restarting system.

The string of numbers is variable, although I believe it is always in that format (four digits, point, six digits).

I have to push the reset button on the computer tower to restart the machine at this point.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
HibernationDevice: RESUME=UUID=371d9efa-8c56-4c3e-95ae-cc6d0a53e715
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 003 Device 002: ID 0b33:08a0 Contour Design, Inc.
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: System Manufacturer System Name
NonfreeKernelModules: nvidia
Package: linux-image-2.6.28-11-generic 2.6.28-11.42
ProcCmdLine: root=UUID=be0e9666-b8cd-4fce-b0a3-f90f5b64849d ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-11.42-generic
SourcePackage: linux

Revision history for this message
Moneta Funzionata (djmonkey1) wrote :
Revision history for this message
Philip Wyett (philwyett) wrote :

Thanks for reporting this issue.

How long are you leaving the system hanging before hitting the reset button?

Revision history for this message
Moneta Funzionata (djmonkey1) wrote :

Depends on my mood. :) Do you want me to wait a certain amount of time?

Revision history for this message
Moneta Funzionata (djmonkey1) wrote :

I updated the motherboard to the latest BIOS, v1011 (beta), however the problem remained.

Further digging turned up Bug #213754 in linux dell xps 410n won't reboot - regression at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/213754 which appears to be the same bug.

Following the instructions in that bug report I have found that the reboot=b workaround works on my system.

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

Hi moneta_funzionata,

Can you attach your dmidecode? We can likely add a reboot quirk for you system since you mentioned reboot=b works.

sudo dmidecode > dmidecode.txt

Changed in linux (Ubuntu):
assignee: nobody → Leann Ogasawara (leannogasawara)
status: New → Incomplete
Revision history for this message
Moneta Funzionata (djmonkey1) wrote :
Revision history for this message
Moneta Funzionata (djmonkey1) wrote :

Hello Leann. Thank you for looking into this. I have attached the file as you requested.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
Moneta Funzionata (djmonkey1) wrote :

I have installed Ubuntu 9.10 beta on this same computer. After install was complete the system restart was required, however it would not. The screen would flash, alternately displaying the desktop background image and then darkness. I had to push the manual reset button to restart the system.

Also, upon selecting "Restart..." the machine will not restart. When I click on restart, the system shuts down until there is a black screen with a text line that reads as

[ 2642.044650 ] Restarting system.

Revision history for this message
Moneta Funzionata (djmonkey1) wrote :

Figured out how to add "reboot=b" to /boot/grub/grub.cfg (9.10 uses GRUB 2, menu.lst is no longer used)

In terminal run 'sudo gedit /etc/default/grub'

change GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash reboot=b"

save and exit file

In terminal run 'sudo update-grub'

and you're done.

to check, run 'sudo gedit /boot/grub/grub.cfg' (just to ensure changes were made, but file should not be edited directly).

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

I believe the following should resolve this issue. I'll build a test kernel for you to try, please stay tuned. Thanks.

diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index eaa6344..bc066fa 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -286,6 +286,14 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "Dell XPS710"),
                },
        },
+ { /* Handle problems with rebooting on ASUS P4S800 */
+ .callback = set_bios_reboot,
+ .ident = "ASUS P4S800",
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."),
+ DMI_MATCH(DMI_BOARD_NAME, "P4S800"),
+ },
+ },
        { }
 };

Changed in linux (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Moneta Funzionata (djmonkey1) wrote :

Thank you for the update Leann. I will keep my eyes peeled.

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

Hi Moneta,

So sorry for the delayed response here in getting you a test kernel. But i've got one built and ready for you to try:

http://people.canonical.com/~ogasawara/lp366682/

Please test and let us know your results. Thanks!

Changed in linux (Ubuntu):
status: In Progress → Incomplete
Revision history for this message
Moneta Funzionata (djmonkey1) wrote :

Hello Leann-

Thank you for doing this.

I have attempted to install the kernel image on my 9.10 beta install, however I received an error stating that "a later version is already installed".

I installed the new image on my 9.04 system, however I am not able to run the machine using this kernel image. I believe the problem lies with the nvidia driver, as that driver needs to be reinstalled each time the kernel is updated. I ran dpkg from recovery mode, however this did not fix the issue.

Revision history for this message
Moneta Funzionata (djmonkey1) wrote :

Hello Leann-

I have got my 9.04 install working with the new kernel, reboot works normally without the workaround. I updated and verified /boot/grub/grub.cfg (GRUB 2 from my 9.10 install controls the boot process) does not force reboot=b and I also did the same with menu.lst just to be safe.

Thank you for this fix. Is this something that will be rolled into the public kernel?

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

Hi Moneta,

Unfortunately the kernel is currently frozen for Karmic's release, but I'll work on trying to get this patch merged upstream and also into the upstream stable kernel. Well then pull it back into Karmic as a Stable Release Update. Thanks.

Changed in linux (Ubuntu):
status: Incomplete → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (9.6 KiB)

This bug was fixed in the package linux - 2.6.32-10.14

---------------
linux (2.6.32-10.14) lucid; urgency=low

  [ Alex Deucher ]

  * SAUCE: drm/radeon/kms: fix LVDS setup on r4xx
    - LP: #493795

  [ Andy Whitcroft ]

  * Revert "(pre-stable) acpi: Use the ARB_DISABLE for the CPU which model
    id is less than 0x0f."
  * config-check -- ensure the checks get run at build time
  * config-check -- check the processed config during updateconfigs
  * config-check -- CONFIG_SECCOMP may not be present
  * TUN is now built in ignore
  * SAUCE: acpi battery -- delay first lookup of the battery until first
    use
  * SAUCE: async_populate_rootfs: move rootfs init earlier
  * ubuntu: AppArmor -- update to mainline 2010-01-06
  * SAUCE: move RLIMIT_CORE pipe dumper marker to 1
    - LP: #498525

  [ Dave Airlie ]

  * (pre-stable) drm/radeon/kms: fix crtc vblank update for r600

  [ Leann Ogasawara ]

  * Add asix to nic-usb-modules file
    - LP: #499785

  [ Peter Zijlstra ]

  * (pre-stable) sched: Fix balance vs hotplug race

  [ Tim Gardner ]

  * [Config] Enable CONFIG_FUNCTION_TRACER
    - LP: #497989
  * [Config] Drop lpia from getabis
  * [Config] Build in TUN/TAP driver
    - LP: #499491
  * [Config] DH_COMPAT=5

  [ Upstream Kernel Changes ]

  * Revert "(pre-stable) drm/i915: Avoid NULL dereference with
    component_only tv_modes"
  * Revert "(pre-stable) drm/i915: Fix sync to vblank when VGA output is
    turned off"
  * USB: usb-storage: fix bug in fill_inquiry
  * USB: option: add pid for ZTE
  * firewire: ohci: handle receive packets with a data length of zero
  * rcu: Prepare for synchronization fixes: clean up for non-NO_HZ handling
    of ->completed counter
  * rcu: Fix synchronization for rcu_process_gp_end() uses of ->completed
    counter
  * rcu: Fix note_new_gpnum() uses of ->gpnum
  * rcu: Remove inline from forward-referenced functions
  * perf_event: Fix invalid type in ioctl definition
  * perf_event: Initialize data.period in perf_swevent_hrtimer()
  * perf: Don't free perf_mmap_data until work has been done
  * PM / Runtime: Fix lockdep warning in __pm_runtime_set_status()
  * sched: Check for an idle shared cache in select_task_rq_fair()
  * sched: Fix affinity logic in select_task_rq_fair()
  * sched: Rate-limit newidle
  * sched: Fix and clean up rate-limit newidle code
  * x86/amd-iommu: attach devices to pre-allocated domains early
  * x86/amd-iommu: un__init iommu_setup_msi
  * x86, Calgary IOMMU quirk: Find nearest matching Calgary while walking
    up the PCI tree
  * x86: Fix iommu=nodac parameter handling
  * x86: GART: pci-gart_64.c: Use correct length in strncmp
  * x86: ASUS P4S800 reboot=bios quirk
    - LP: #366682
  * x86, apic: Enable lapic nmi watchdog on AMD Family 11h
  * ssb: Fix range check in sprom write
  * ath5k: allow setting txpower to 0
  * ath5k: enable EEPROM checksum check
  * hrtimer: Fix /proc/timer_list regression
  * ALSA: hrtimer - Fix lock-up
  * ALSA: hda - Terradici HDA controllers does not support 64-bit mode
  * KVM: x86 emulator: limit instructions to 15 bytes
  * KVM: s390: Fix prefix register checking in arch/s390/kvm/sigp.c
  * KVM: s390: Make psw available on all exits...

Read more...

Changed in linux (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Stefan Bader (smb) wrote :

Fix is part of the 2.6.31.9 update to Karmic.

Changed in linux (Ubuntu Karmic):
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted linux into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Pete Ashdown (pashdown-xmission) wrote :

Will this fix work on a P4S800D-X? Because I am seeing the exact same problem on that model too.

Revision history for this message
Moneta Funzionata (djmonkey1) wrote :

The 2.6.31.9 update to Karmic is still in the proposed stage?

Revision history for this message
Moneta Funzionata (djmonkey1) wrote :

I've installed the 2.6.31.9 update to Karmic (2.6.31-18-generic) and am also running Lynx Alpha 2 on the same machine and the bug is fixed on both. Thank you.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Moneta Funzionata (djmonkey1) wrote :

I have installed 2.6.31-19-generic for Karmic on this system and the bug has returned when using that kernel.

Revision history for this message
nicegiving (nicegiving) wrote :

I've figured out a way to solve the problem. My computer is DELL OPTIPLEX 360, OS is ubuntu 9.04.
Just add "acpi=on noapic=yes" at the end of the line in menu.lst starting with "kernel", and it is really worked.
This is my /boot/grub/menu.lst:

--------------------------------------------------
title Ubuntu 9.04, kernel 2.6.28-18-generic
uuid 0d3ff90f-3548-45f5-a427-93692a669310
kernel /boot/vmlinuz-2.6.28-18-generic root=UUID=0d3ff90f-3548-45f5-a427-93692a669310 ro xforcevesa quiet splash acpi=on noapic=yes
initrd /boot/initrd.img-2.6.28-18-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-18-generic (recovery mode)
uuid 0d3ff90f-3548-45f5-a427-93692a669310
kernel /boot/vmlinuz-2.6.28-18-generic root=UUID=0d3ff90f-3548-45f5-a427-93692a669310 ro xforcevesa single
initrd /boot/initrd.img-2.6.28-18-generic

title Ubuntu 9.04, kernel 2.6.28-6-386
uuid 0d3ff90f-3548-45f5-a427-93692a669310
kernel /boot/vmlinuz-2.6.28-6-386 root=UUID=0d3ff90f-3548-45f5-a427-93692a669310 ro xforcevesa quiet splash acpi=on noapic=yes
initrd /boot/initrd.img-2.6.28-6-386
quiet

title Ubuntu 9.04, kernel 2.6.28-6-386 (recovery mode)
uuid 0d3ff90f-3548-45f5-a427-93692a669310
kernel /boot/vmlinuz-2.6.28-6-386 root=UUID=0d3ff90f-3548-45f5-a427-93692a669310 ro xforcevesa single
initrd /boot/initrd.img-2.6.28-6-386

title Ubuntu 9.04, kernel 2.6.27-7-generic
uuid 0d3ff90f-3548-45f5-a427-93692a669310
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=0d3ff90f-3548-45f5-a427-93692a669310 ro xforcevesa quiet splash acpi=on noapic=yes
initrd /boot/initrd.img-2.6.27-7-generic
quiet

title Ubuntu 9.04, kernel 2.6.27-7-generic (recovery mode)
uuid 0d3ff90f-3548-45f5-a427-93692a669310
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=0d3ff90f-3548-45f5-a427-93692a669310 ro xforcevesa single
initrd /boot/initrd.img-2.6.27-7-generic

title Ubuntu 9.04, memtest86+
uuid 0d3ff90f-3548-45f5-a427-93692a669310
kernel /boot/memtest86+.bin
quiet
--------------------------------------------------

Revision history for this message
nicegiving (nicegiving) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (24.5 KiB)

This bug was fixed in the package linux - 2.6.31-20.57

---------------
linux (2.6.31-20.57) karmic-proposed; urgency=low

  [ Kees Cook ]

  * SAUCE: x86: brk away from exec rand area
    - LP: #452175

  [ Keng-Yu Lin ]

  * SAUCE: (drop after 2.6.31) input: Add hotkey quirk for Samsung
    Q210/P210 laptops
    - LP: #385683

  [ Pascal Bach ]

  * SAUCE: (drop after 2.6.31) input: Add hotkey quirk for Fujitsu Amilo
    1848+u
    - LP: #458503

  [ Stefan Bader ]

  * Revert "[Upstream] (drop after 2.6.31) acerhdf: fix fan control for
    AOA150 model"
    - LP: #494633
  * [Config] Disable CONFIG_USB_DEVICEFS
    - LP: #488274

  [ Upstream Kernel Changes ]

  * Revert "ext4: Don't update superblock write time when filesystem is
    read-only"
    - LP: #496816
  * Revert "ide: try to use PIO Mode 0 during probe if possible"
    - LP: #503430
  * Revert "isdn: isdn_ppp: Use SKB list facilities instead of home-grown
    implementation."
    - LP: #503430
  * nilfs2: fix kernel oops in error case of nilfs_ioctl_move_blocks
    - LP: #494633
  * cifs: don't use CIFSGetSrvInodeNumber in is_path_accessible
    - LP: #494633
  * cifs: clean up handling when server doesn't consistently support inode
    numbers
    - LP: #494633
  * cifs: clear server inode number flag while autodisabling
    - LP: #494633
  * CIFS: fix oops in cifs_lookup during net boot
    - LP: #494633
  * CIFS: Duplicate data on appending to some Samba servers
    - LP: #494633
  * rtl8187: Fix kernel oops when device is removed when LEDS enabled
    - LP: #494633
  * md: don't clear endpoint for resync when resync is interrupted.
    - LP: #494633
  * md/raid5: make sure curr_sync_completes is uptodate when reshape starts
    - LP: #494633
  * md/raid1/raid10: add a cond_resched
    - LP: #494633
  * ALSA: usb-audio: fix combine_word problem
    - LP: #494633
  * ALSA: hda - Dell Studio 1557 hd-audio quirk
    - LP: #494633
  * ALSA: AACI: fix AC97 multiple-open bug
    - LP: #494633
  * ALSA: AACI: fix recording bug
    - LP: #494633
  * jffs2: Fix memory corruption in jffs2_read_inode_range()
    - LP: #494633
  * sound: rawmidi: disable active-sensing-on-close by default
    - LP: #494633
  * sound: rawmidi: fix checking of O_APPEND when opening MIDI device
    - LP: #494633
  * sound: rawmidi: fix double init when opening MIDI device with O_APPEND
    - LP: #494633
  * sound: rawmidi: fix MIDI device O_APPEND error handling
    - LP: #494633
  * highmem: Fix race in debug_kmap_atomic() which could cause warn_count
    to underflow
    - LP: #494633
  * highmem: Fix debug_kmap_atomic() to also handle KM_IRQ_PTE, KM_NMI, and
    KM_NMI_PTE
    - LP: #494633
  * powerpc: Fix DEBUG_HIGHMEM build break from d4515646699
    - LP: #494633
  * kmap: fix build errors with DEBUG_HIGHMEM enabled
    - LP: #494633
  * V4L/DVB (13169): bttv: Fix potential out-of-order field processing
    - LP: #494633
  * V4L/DVB (13170): bttv: Fix reversed polarity error when switching video
    standard
    - LP: #494633
  * V4L/DVB (13109): tda18271: fix signedness issue in
    tda18271_rf_tracking_filters_init
    - LP: #494633
  * V4L/DVB (13107): tda18271: fix overflow in FM radio frequency...

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

Other bug subscribers

Remote bug watches

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