public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Kernel 2.6.32-22-generic sata problems
@ 2010-06-05 14:45 DanVolkman
  2010-06-06  7:49 ` Robert Hancock
  0 siblings, 1 reply; 5+ messages in thread
From: DanVolkman @ 2010-06-05 14:45 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]

SYNOPSES
==========
Kernel fails to boot when multiple SATA drives are connected.  After a 
day of working on the problem (changing cables, sata positions, 
motherboards, CPUs, power supplies, etc.) I discovered that with only 
the boot drive connected everything worked fine.

BACKGROUND
=============
I had a career in UNIX so it is common for me to use cpio(1), tar(1), 
dump(1), and dd(1) to replicate disks but have not been able to do so 
with two SATA disks connected using older kernels but with this new 
kernel I could not even have the second disk connected.

PROBLEM APPEARED WHEN
======================
An Ubuntu kernel update stopped my computer from booting.  I have no 
backup computer so my description is sketchy because I was not willing 
to use a pencil and write the lengthy terse information.  Boot error 
message was something like:

Gave up waiting for root device. Common problems:0f106d71e58
...
ALERT! /dev/disk/by-uuid/..... does not exist. Dropping to a shell!


Dan
DanVolkman@gmail.com





[-- Attachment #2: fstab --]
[-- Type: text/plain, Size: 829 bytes --]

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda1 during installation
UUID=0c089174-ffb8-46ac-8efb-af2a78f0a666 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=7e39ada2-3f4f-411a-a8c2-49a4e6fdefc9 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
#/dev/sdb1	/dspace1	ext4	defaults	0	0
#/dev/sdb2	/dspace2	ext4	defaults	0	0

[-- Attachment #3: ver_linux --]
[-- Type: text/plain, Size: 1340 bytes --]

If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
 
Linux dan-desktop 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010 i686 GNU/Linux
 
Gnu C                  4.4.3
Gnu make               3.81
binutils               2.20.1
util-linux             2.17.2
mount                  support
module-init-tools      3.11.1
e2fsprogs              1.41.11
pcmciautils            014
Linux C Library        2.11.1
Dynamic linker (ldd)   2.11.1
Procps                 3.2.8
Net-tools              1.60
Kbd                    1.15
Sh-utils               7.4
wireless-tools         30
Modules Loaded         isofs udf crc_itu_t binfmt_misc rfcomm snd_hda_codec_realtek tuner_simple tuner_types wm8775 tda9887 tda8290 snd_hda_intel snd_hda_codec snd_hwdep tuner snd_pcm_oss snd_mixer_oss cx25840 snd_pcm snd_seq_dummy snd_seq_oss sco snd_seq_midi bridge stp snd_rawmidi bnep snd_seq_midi_event snd_seq l2cap snd_timer snd_seq_device ppdev hid_logitech ff_memless ivtv lirc_mceusb fbcon tileblit font bitblit softcursor i2c_algo_bit cx2341x v4l2_common usblp lirc_dev asus_atk0110 parport_pc snd btusb bluetooth usbhid hid nvidia videodev v4l1_compat tveeprom psmouse serio_raw intel_agp soundcore snd_page_alloc vga16fb vgastate agpgart lp parport atl1e

[-- Attachment #4: sysinfo --]
[-- Type: text/plain, Size: 3491 bytes --]

System information report, generated by Sysinfo: 05/06/2010 7:28:51 AM
http://sourceforge.net/projects/gsysinfo

SYSTEM INFORMATION
	Running Ubuntu Linux, the Ubuntu 10.04 (lucid) release.
	GNOME: 2.30.0 (Ubuntu 2010-03-31)
	Kernel version: 2.6.32-22-generic (#36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010)
	GCC: 4.4.3 (i486-linux-gnu)
	Xorg: unknown (23 April 2010  05:11:50PM) (23 April 2010  05:11:50PM)
	Hostname: dan-desktop
	Uptime: 0 days 12 h 43 min

CPU INFORMATION
	GenuineIntel, Intel(R) Pentium(R) D CPU 3.00GHz
	Number of CPUs: 1
	CPU clock currently at 2999.721 MHz with 2048 KB cache
	Numbering: family(15) model(6) stepping(2)
	Bogomips: 5999.44
	Flags: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc up pebs bts pni dtes64 monitor ds_cpl vmx cid cx16 xtpr pdcm lahf_lm tpr_shadow

MEMORY INFORMATION
	Total memory: 3529 MB
	Total swap: 8856 MB

STORAGE INFORMATION
	SCSI device -  scsi2
		Vendor:  ATA      
		Model:  WDC WD2500JS-00N 
	SCSI device -  scsi3
		Vendor:  HP       
		Model:  DVD Writer 1070r 

HARDWARE INFORMATION
MOTHERBOARD
	Host bridge
		Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
		Subsystem: ASUSTeK Computer Inc. Device 836d
	PCI bridge(s)
		Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
		Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
		Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 01)
		Intel Corporation 82801 PCI Bridge (rev e1) (prog-if 01)
		Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
		Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
		Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 01)
		Intel Corporation 82801 PCI Bridge (rev e1) (prog-if 01)
	USB controller(s)
		Intel Corporation N10/ICH7 Family USB UHCI Controller #1 (rev 01)
		Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
		Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
		Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
		Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01) (prog-if 20)
		Intel Corporation N10/ICH7 Family USB UHCI Controller #1 (rev 01)
		Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
		Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
		Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
		Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01) (prog-if 20)
	ISA bridge
		Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
		Subsystem: ASUSTeK Computer Inc. Device 8179
	IDE interface
		Intel Corporation N10/ICH7 Family SATA IDE Controller (rev 01) (prog-if 8f [Master SecP SecO PriP PriO])
		Subsystem: ASUSTeK Computer Inc. Device 8179

GRAPHIC CARD
	VGA controller
		nVidia Corporation G92 [GeForce 9800 GT] (rev a2)
		Subsystem: eVga.com. Corp. Device c976

SOUND CARD
	Multimedia controller
		Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
		Subsystem: ASUSTeK Computer Inc. Device 840b

NETWORK
	Ethernet controller
		Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0)
		Subsystem: ASUSTeK Computer Inc. Device 8304

NVIDIA GRAPHIC CARD INFORMATION
	Model name: GeForce 9800 GT
	Card Type: PCI-E 16x
	Video RAM: 512 MB
	GPU Frequency: 650 MHz
	Driver version: NVIDIA UNIX x86 Kernel Module  195.36.15  Thu Mar 11 21:41:46 PST 2010

[-- Attachment #5: grub.cfg --]
[-- Type: text/plain, Size: 4273 bytes --]

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0c089174-ffb8-46ac-8efb-af2a78f0a666
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0c089174-ffb8-46ac-8efb-af2a78f0a666
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd0,1)'
	search --no-floppy --fs-uuid --set 0c089174-ffb8-46ac-8efb-af2a78f0a666
	linux	/boot/vmlinuz-2.6.32-22-generic root=UUID=0c089174-ffb8-46ac-8efb-af2a78f0a666 ro   quiet splash
	initrd	/boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd0,1)'
	search --no-floppy --fs-uuid --set 0c089174-ffb8-46ac-8efb-af2a78f0a666
	echo	'Loading Linux 2.6.32-22-generic ...'
	linux	/boot/vmlinuz-2.6.32-22-generic root=UUID=0c089174-ffb8-46ac-8efb-af2a78f0a666 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.31-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd0,1)'
	search --no-floppy --fs-uuid --set 0c089174-ffb8-46ac-8efb-af2a78f0a666
	linux	/boot/vmlinuz-2.6.31-21-generic root=UUID=0c089174-ffb8-46ac-8efb-af2a78f0a666 ro   quiet splash
	initrd	/boot/initrd.img-2.6.31-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.31-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd0,1)'
	search --no-floppy --fs-uuid --set 0c089174-ffb8-46ac-8efb-af2a78f0a666
	echo	'Loading Linux 2.6.31-21-generic ...'
	linux	/boot/vmlinuz-2.6.31-21-generic root=UUID=0c089174-ffb8-46ac-8efb-af2a78f0a666 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.31-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod ext2
	set root='(hd0,1)'
	search --no-floppy --fs-uuid --set 0c089174-ffb8-46ac-8efb-af2a78f0a666
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod ext2
	set root='(hd0,1)'
	search --no-floppy --fs-uuid --set 0c089174-ffb8-46ac-8efb-af2a78f0a666
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel 2.6.32-22-generic sata problems
  2010-06-05 14:45 Kernel 2.6.32-22-generic sata problems DanVolkman
@ 2010-06-06  7:49 ` Robert Hancock
  2010-06-06 10:42   ` Alejandro Riveira Fernández
  2010-06-07 18:34   ` DanVolkman
  0 siblings, 2 replies; 5+ messages in thread
From: Robert Hancock @ 2010-06-06  7:49 UTC (permalink / raw)
  To: DanVolkman; +Cc: linux-kernel

On 06/05/2010 08:45 AM, DanVolkman wrote:
> SYNOPSES
> ==========
> Kernel fails to boot when multiple SATA drives are connected. After a
> day of working on the problem (changing cables, sata positions,
> motherboards, CPUs, power supplies, etc.) I discovered that with only
> the boot drive connected everything worked fine.
>
> BACKGROUND
> =============
> I had a career in UNIX so it is common for me to use cpio(1), tar(1),
> dump(1), and dd(1) to replicate disks but have not been able to do so
> with two SATA disks connected using older kernels but with this new
> kernel I could not even have the second disk connected.
>
> PROBLEM APPEARED WHEN
> ======================
> An Ubuntu kernel update stopped my computer from booting. I have no
> backup computer so my description is sketchy because I was not willing
> to use a pencil and write the lengthy terse information. Boot error
> message was something like:
>
> Gave up waiting for root device. Common problems:0f106d71e58
> ...
> ALERT! /dev/disk/by-uuid/..... does not exist. Dropping to a shell!

Can you get any of the libata messages showing up on the console? You 
might need to change grub options to boot with more debug displayed 
(don't know how to do that offhand on Ubuntu).

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel 2.6.32-22-generic sata problems
  2010-06-06  7:49 ` Robert Hancock
@ 2010-06-06 10:42   ` Alejandro Riveira Fernández
  2010-06-07 18:34   ` DanVolkman
  1 sibling, 0 replies; 5+ messages in thread
From: Alejandro Riveira Fernández @ 2010-06-06 10:42 UTC (permalink / raw)
  To: Robert Hancock; +Cc: DanVolkman, linux-kernel

El Sun, 06 Jun 2010 01:49:27 -0600
Robert Hancock <hancockrwd@gmail.com> escribió:


> 
> Can you get any of the libata messages showing up on the console? You 
> might need to change grub options to boot with more debug displayed 
> (don't know how to do that offhand on Ubuntu).

 Edit /etc/default/grub change
 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
 to
 GRUB_CMDLINE_LINUX_DEFAULT=""
 Then run « sudo update-grub »
 
 To see normal boot messages. 
 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel 2.6.32-22-generic sata problems
  2010-06-06  7:49 ` Robert Hancock
  2010-06-06 10:42   ` Alejandro Riveira Fernández
@ 2010-06-07 18:34   ` DanVolkman
  2010-06-07 23:35     ` Robert Hancock
  1 sibling, 1 reply; 5+ messages in thread
From: DanVolkman @ 2010-06-07 18:34 UTC (permalink / raw)
  To: Robert Hancock; +Cc: linux-kernel, ariveira


Thank you guys for responding to me email.

I did what you asked and it was nice to be able to see what messages 
were being generated.  In my debugging efforts I made one mistake, I 
replaced the motherboard with the exact same brand/model motherboard 
(different firmware though), I wish I would have had a different one 
around the house.  Anyway, it appears that the one month old drive I had 
mounted failed and happened to coincide with the OS upgrade.  I was not 
using that drive and something seems suspicious because this is the 
second new drive that has failed and these are drives from a reputable 
company.  With the changes in place you recommended I saw:

ata3.01: status: { DRDY ERR }
ata3.01: error: { UNC }
ata3.01: configured for UDMA/133
ata3: EH complete

This code would loop with occasional other messages.  I unhooked my good 
drive and used the Ubuntu distribution CD and booted up into "try 
Ubuntu" mode and used the disk utility and it said the drive was bad.  I 
am not sure if this is a drive problem or a motherboard problem, maybe I 
will replace both.  Yes, I did try different SATA cables and sockets.

Anyway, sorry to bother you guys but you did help me identify the problem.

Dan
DanVolkman@gmail.com


On 10-06-06 12:49 AM, Robert Hancock wrote:
> On 06/05/2010 08:45 AM, DanVolkman wrote:
>> SYNOPSES
>> ==========
>> Kernel fails to boot when multiple SATA drives are connected. After a
>> day of working on the problem (changing cables, sata positions,
>> motherboards, CPUs, power supplies, etc.) I discovered that with only
>> the boot drive connected everything worked fine.
>>
>> BACKGROUND
>> =============
>> I had a career in UNIX so it is common for me to use cpio(1), tar(1),
>> dump(1), and dd(1) to replicate disks but have not been able to do so
>> with two SATA disks connected using older kernels but with this new
>> kernel I could not even have the second disk connected.
>>
>> PROBLEM APPEARED WHEN
>> ======================
>> An Ubuntu kernel update stopped my computer from booting. I have no
>> backup computer so my description is sketchy because I was not willing
>> to use a pencil and write the lengthy terse information. Boot error
>> message was something like:
>>
>> Gave up waiting for root device. Common problems:0f106d71e58
>> ...
>> ALERT! /dev/disk/by-uuid/..... does not exist. Dropping to a shell!
>
> Can you get any of the libata messages showing up on the console? You 
> might need to change grub options to boot with more debug displayed 
> (don't know how to do that offhand on Ubuntu).
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel 2.6.32-22-generic sata problems
  2010-06-07 18:34   ` DanVolkman
@ 2010-06-07 23:35     ` Robert Hancock
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Hancock @ 2010-06-07 23:35 UTC (permalink / raw)
  To: DanVolkman; +Cc: linux-kernel, ariveira

On 06/07/2010 12:34 PM, DanVolkman wrote:
>
> Thank you guys for responding to me email.
>
> I did what you asked and it was nice to be able to see what messages
> were being generated. In my debugging efforts I made one mistake, I
> replaced the motherboard with the exact same brand/model motherboard
> (different firmware though), I wish I would have had a different one
> around the house. Anyway, it appears that the one month old drive I had
> mounted failed and happened to coincide with the OS upgrade. I was not
> using that drive and something seems suspicious because this is the
> second new drive that has failed and these are drives from a reputable
> company. With the changes in place you recommended I saw:
>
> ata3.01: status: { DRDY ERR }
> ata3.01: error: { UNC }
> ata3.01: configured for UDMA/133
> ata3: EH complete
>
> This code would loop with occasional other messages. I unhooked my good
> drive and used the Ubuntu distribution CD and booted up into "try
> Ubuntu" mode and used the disk utility and it said the drive was bad. I
> am not sure if this is a drive problem or a motherboard problem, maybe I
> will replace both. Yes, I did try different SATA cables and sockets.

Probably not a motherboard problem, but could be a power supply issue - 
or maybe the drive is overheating causing premature failure.

>
> Anyway, sorry to bother you guys but you did help me identify the problem.
>
> Dan
> DanVolkman@gmail.com
>
>
> On 10-06-06 12:49 AM, Robert Hancock wrote:
>> On 06/05/2010 08:45 AM, DanVolkman wrote:
>>> SYNOPSES
>>> ==========
>>> Kernel fails to boot when multiple SATA drives are connected. After a
>>> day of working on the problem (changing cables, sata positions,
>>> motherboards, CPUs, power supplies, etc.) I discovered that with only
>>> the boot drive connected everything worked fine.
>>>
>>> BACKGROUND
>>> =============
>>> I had a career in UNIX so it is common for me to use cpio(1), tar(1),
>>> dump(1), and dd(1) to replicate disks but have not been able to do so
>>> with two SATA disks connected using older kernels but with this new
>>> kernel I could not even have the second disk connected.
>>>
>>> PROBLEM APPEARED WHEN
>>> ======================
>>> An Ubuntu kernel update stopped my computer from booting. I have no
>>> backup computer so my description is sketchy because I was not willing
>>> to use a pencil and write the lengthy terse information. Boot error
>>> message was something like:
>>>
>>> Gave up waiting for root device. Common problems:0f106d71e58
>>> ...
>>> ALERT! /dev/disk/by-uuid/..... does not exist. Dropping to a shell!
>>
>> Can you get any of the libata messages showing up on the console? You
>> might need to change grub options to boot with more debug displayed
>> (don't know how to do that offhand on Ubuntu).
>>
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-07 23:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-05 14:45 Kernel 2.6.32-22-generic sata problems DanVolkman
2010-06-06  7:49 ` Robert Hancock
2010-06-06 10:42   ` Alejandro Riveira Fernández
2010-06-07 18:34   ` DanVolkman
2010-06-07 23:35     ` Robert Hancock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox