Bug 768694

Summary: Reboot at the end of installation on second disk of Dell M6600 laptop fails and the machine hangs.
Product: [Fedora] Fedora Reporter: Avon Robertson <novalrae>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: anaconda-maint-list, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-11 12:22:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Detailed description of the install with references to other attached files.
none
File /mnt/sysimage/root/install.log
none
File /tmp/anaconda.log
none
/tmp/program.log
none
File /tmp/storage.log
none
Contains the first 3 messages produced by the installation program.
none
Output of grub2-install invocation.
none
Output of grub2-install --recheck invocation.
none
Output of grub2-probe invocation.
none
Rescue mode messages displayed before the system hung after reboot.
none
File SystemSummary.pdf contains basic laptop specs generated from Windows 7. none

Description Avon Robertson 2011-12-18 02:23:01 UTC
Created attachment 548317 [details]
Detailed description of the install with references to other attached files.

Description of problem:
Fedora 16 release version was installed on the 2nd (empty) fixed disk of a Dell M6600 laptop. The install was performed using an error free ISO image of the Fedora 16 x86_64 Install DVD that was stored on the 1st (Windows 7) fixed disk. The DVD was used to boot to the stored image file.

At the end of the install when the REBOOT button is "clicked", the display immediately goes dark and the machine hangs.

After boot: linux askmethod noselinux nogpt is invoked, 3 (white on black) messages are displayed before reaching the 1st blue background (select a language) screen. (See attached file early-msgs.txt.)

The Standard Storage Device, Custom, NoLVM installation proceeds with no error message being displayed at any time. I will try to attach a number of files to this bug the 1st one being f16install-details.txt. This file provided details of the why, when, how; pertaining to the other attached files.

Version-Release number of selected component (if applicable):
Fedora 16 Release x86_64

How reproducible:
Very. Same install method used > 2 times with same result.

Steps to Reproduce:
1. At boot prompt enter: boot: linux askmethod noselinux nogpt
2. Perform the install.
3. When installation has finished "click" on REBOOT button.
  
Actual results:
Display immediately goes dark and the machine hangs.

Expected results:
Machine should reboot to Fedora 16

Additional info:
This is the first bug I have reported. Am not sure how easy it is to attach multiple files. Hopefully I will be able to.

Comment 1 Avon Robertson 2011-12-18 02:27:57 UTC
Created attachment 548318 [details]
File /mnt/sysimage/root/install.log

2nd and 3rd to last lines refer to "grubby" errors.

Comment 2 Avon Robertson 2011-12-18 02:31:40 UTC
Created attachment 548319 [details]
File /tmp/anaconda.log

File /tmp/anaconda.log obtained before trying to reboot.

Comment 3 Avon Robertson 2011-12-18 02:34:44 UTC
Created attachment 548320 [details]
/tmp/program.log

File /tmp/program.log obtained before trying to reboot.

Comment 4 Avon Robertson 2011-12-18 02:40:10 UTC
Created attachment 548321 [details]
File /tmp/storage.log

File /tmp/storage.log obtained before trying to reboot.

Comment 5 Avon Robertson 2011-12-18 02:43:46 UTC
Created attachment 548322 [details]
Contains the first 3 messages produced by the installation program.

I am not sure if these messages are relevant.

Comment 6 Avon Robertson 2011-12-18 02:45:56 UTC
Created attachment 548323 [details]
Output of grub2-install invocation.

Comment 7 Avon Robertson 2011-12-18 02:47:49 UTC
Created attachment 548324 [details]
Output of grub2-install --recheck invocation.

Comment 8 Avon Robertson 2011-12-18 02:49:57 UTC
Created attachment 548325 [details]
Output of grub2-probe invocation.

Comment 9 Avon Robertson 2011-12-18 02:52:16 UTC
Created attachment 548326 [details]
Rescue mode messages displayed before the system hung after reboot.

Comment 10 Avon Robertson 2011-12-18 17:27:56 UTC
Created attachment 548424 [details]
File SystemSummary.pdf contains basic laptop specs generated from Windows 7.

Comment 11 David Lehman 2011-12-19 16:12:39 UTC
A few notes, just for your information:

1. If you're going to choose custom partitioning you can just do that straight away. None of the other settings on that screen have any effect whatsoever on custom partitioning layouts.

2. A BIOS Boot partition is only needed on disks that use the GPT or GUID partition table. If your disk contains extended or logical partitions it is NOT using the GPT/GUID partition table, so you don't need the BIOS Boot partition.

3. The grubby errors in install.log are expected, and do not indicate any meaningful failure.


It is not clear to me what the cause of your problem is. One thing worth trying would be to format sdb1 as something other than BIOS boot. It shouldn't matter, but it still might.

Comment 12 Avon Robertson 2011-12-20 15:51:07 UTC
1. Thank you for your comments David.

2. Have tried another install without a BIOS Boot partition. This also failed with the same symptoms when the machine attempted to reboot after installation, and after a RESCUE.

3. In case it helps the partition setup used was:
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048     1050623      524288   83  Linux
/dev/sdb2         1050624   135268351    67108864   83  Linux
/dev/sdb3       135268352   177211391    20971520   83  Linux
/dev/sdb4       177211392  1465147391   643968000    5  Extended
/dev/sdb5       177215488   214308863    18546688   82  Linux swap / Solaris
 
Where sdb1 was mounted as /boot, sdb2 was mounted as /home, sdb3 was mounted as /, and sdb5 was mounted as a swap partition.

Comment 13 Jesse Keating 2012-07-19 20:51:32 UTC
It's possible we had some race with umounting the install source at reboot time.  Have you tried this scenario with F17?

Comment 14 Avon Robertson 2012-07-22 08:23:50 UTC
Hi Jesse

Thank you for your comment. First my apology for not posting this many weeks ago.

1. Comment 4 of Bug 753681 pointed me to the main problem. My BIOS setting for SATA operation was set to RAID On, and even though the machine was not configured to use a RAID array this seems to have prevented the machine from rebooting (and possibly other things).

2. After setting the SATA operation to the AHCI option, the installation was (mainly) successful. Post installation the machine will still not reboot, however it does cold boot up to a usable system.

3. I have installed Fedora 17. It has the same problem i.e., the running system will not reboot correctly but it does cold boot up to a usable system.

4. I will list the last few lines of text that are written to the console before the machine hangs after rebooting in Fedora 16. The following appear as white text on a black foreground.
[2096.274536] md: stopping all md devices
[2097.274708] sd 1:0:0:0: [sdb] Synchronising SCSI cache
[2097.316749] sd 0:0:0:0: [sda] Synchronising SCSI cache
[2097.349033] xhci_hcd 0000:0a:00.0: PCI INT A disabled
[2097.349119] ehci_hcd 0000:00:1d.0: PCI INT A disabled
[2097.349162] ehci_hcd 0000:00:1a.0: PCI INT A disabled
[2097.418065] e1000e 0000:00.19.0: PCI INT A disabled
[2097.418213] Restarting system
[2097.418239] machine restart

Comment 15 Jesse Keating 2012-07-23 17:24:17 UTC
Ok, that sounds like a kernel or hardware issue thing, so I'll kick it over to kernel.  They may close it out as buggy hardware.

Comment 16 Josh Boyer 2012-09-10 14:04:59 UTC
Avon, is your machine rebooting properly with the 3.4 or 3.5 kernel updates?

Comment 17 Avon Robertson 2012-09-11 05:24:22 UTC
(In reply to comment #16)
> Avon, is your machine rebooting properly with the 3.4 or 3.5 kernel updates?

Hi Josh; After reading your comment, I rechecked to see if I could reboot in Fedora 17. The Fedora 17 kernel that I am using is 3.5.1-1.fc17.x86_64. I was surprised to find that I can now reboot from: the console, an xterm terminal, Ctrl-Alt-Del (-> Restart -> enter root password), or the user's local menu -> Power Off (-> Restart -> enter root password).

Commands used from the console and xterm were:
  # shutdown -r now
  $ sudo shutdown -r now

I believe that this bug is now fixed Josh. Thank you!

Comment 18 Josh Boyer 2012-09-11 12:22:26 UTC
Thanks for letting us know.