System boot hangs

Bug #1005766 reported by John Bester
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mdadm (Ubuntu)
Confirmed
Undecided
Unassigned
upstart (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Since I installed 12.04 on my system, I have had the following problem consistently.

I first tried to upgrade an installation on a mda raid1 partition, which simply would not boot. I then did a clean install of 12.04 on a normal ext4 partition, but I still have a mda raid1 with ext4 mounted as /home. I regularly install updates.

Every evening I do a shutdown, since the area I live in has many power failures and the UPS would not sustain the machine for longer than 5 minutes. In the morning when I start up the pc, I get an all purple screen and the hard drive light is inactive. Then I press CTRL+AL+DEL to reboot the pc. Once it reboots, the GRUB menu appears and it starts to boot, but it informs me that the raid is not consistent, so I have the choice to continue booting with a degraded raid. I then select "yes". By the time I am logged in, the raid drive is ok as you can see in the following output:

$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md2 : active raid1 sdb4[1] sda4[0]
      466366848 blocks [2/2] [UU]

unused devices: <none>

I then continue working the whole day without a single problem and shut down at night, simply to go through the same routine the next morning. On one or two occasions it booted up without the grub menu (as if it was in sleep or hibernate mode). This leads me to believe that a normal shutdown (either by gnome shutdown or the command line utility), does not do a proper shutdown, but in stead indicates that a sleep or hibernate state should be booted. Also, the fact that the raid drive consistently starts up in degraded mode only to be ready when I do an mdastat, leaves me to believe the raid drive is not shut down properly.

From reports on the internet about mda problems in 12.04 in standard raid tests, I held back on this bug report, but now it is a month later and the problem still has not been resolved.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mdadm (Ubuntu):
status: New → Confirmed
Changed in upstart (Ubuntu):
status: New → Confirmed
Steve Langasek (vorlon)
Changed in upstart (Ubuntu):
status: Confirmed → Invalid
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.