Ubuntu Demon\’s blog

October 12, 2007

Bug #151938 in linux-source-2.6.22

Filed under: english — ubuntudemon @ 9:10 pm

Gutsy kernel might be causing data loss (for some people). Possibly related to SATA or dual booting between Feisty and Gutsy. Either that or my harddrive is dying.

I was dual-booting Feisty and Gutsy during the last week of july. After a couple of days I discovered these kind of errors in my Feisty syslog :

Jul 30 21:43:37 ubuntu kernel: [ 882.592000] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Jul 30 21:43:37 ubuntu kernel: [ 882.592000] ata1.00: (BMDMA stat 0x25)
Jul 30 21:43:37 ubuntu kernel: [ 882.592000] ata1.00: cmd c8/00:40:b8:29:b8/00:00:00:00:00/e5 tag 0 cdb 0x0 data 32768 in
Jul 30 21:43:37 ubuntu kernel: [ 882.592000] res 51/40:40:b8:29:b8/00:00:00:00:00/e5 Emask 0x9 (media error)
Jul 30 21:43:37 ubuntu kernel: [ 882.600000] ata1.00: ata_hpa_resize 1: sectors = 156368016, hpa_sectors = 156368016
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] ata1.00: ata_hpa_resize 1: sectors = 156368016, hpa_sectors = 156368016
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] ata1.00: configured for UDMA/133
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] sd 0:0:0:0: SCSI error: return code = 0x08000002
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] sda: Current [descriptor]: sense key: Medium Error
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] Additional sense: Unrecovered read error – auto reallocate failed
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] Descriptor sense data with sense descriptors (in hex):
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] 05 b8 29 b8
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] end_request: I/O error, dev sda, sector 95955384
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] Buffer I/O error on device sda3, logical block 28442652
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] Buffer I/O error on device sda3, logical block 28442653
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] Buffer I/O error on device sda3, logical block 28442654
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] Buffer I/O error on device sda3, logical block 28442655
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] Buffer I/O error on device sda3, logical block 28442656
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] Buffer I/O error on device sda3, logical block 28442657
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] Buffer I/O error on device sda3, logical block 28442658
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] Buffer I/O error on device sda3, logical block 28442659
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] Buffer I/O error on device sda3, logical block 28442660
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] Buffer I/O error on device sda3, logical block 28442661
Jul 30 21:43:37 ubuntu kernel: [ 882.608000] ata1: EH complete

fsck was reporting all kind of problems. files turned up in lost+found. I was afraid my harddrive was dying.

To be sure this problem was not related to Gutsy in some way I stopped booting in Gutsy and I set fsck to check my harddisk daily.
The problems stopped! I have continued to fsck my harddisk regularly until I was sure there’s nothing wrong with my harddrive (I did so for two months).

A couple of days ago (saturday) I installed Gutsy again (Gutsy Beta). I did an installation of Gutsy on the same partition I had run Gutsy on two months before. Again I was dualbooting between Feisty and Gutsy. This time I made sure to only mount the Gutsy partition in Gutsy and no other partitions.

After two months without any problems the same type of error showed up in my Feisty syslog!

Personally I don’t think my harddrive is dying because :

  • smartctl says that my harddisk health is okay
  • When only booting Feisty for 2 months I didn’t experience any problems
  • My laptop and harddrive are about 1 year old.

But I could be wrong. My harddrive might be slowly dying.

If you experienced something like this please reply to the bug report. (for example you are dual booting Gutsy and Feisty and you see disk errors or you see media errors like mine and you suspect you harddrive is healthy)

https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/151938

9 Comments »

  1. Ronald,

    Ik heb Gutsy geprobeerd en die had problemen met een /home partitie waar Feisty absoluut geen last van had. Kennelijk toch een ernstige Gutsy fout.

    Comment by WOteB — October 12, 2007 @ 10:15 pm

  2. Why don’t you test your hard drive with the manufacturer’s diagnostic tool? The Ultimate Boot CD (http://www.ultimatebootcd.com/) contains the most important diagnostic tools.

    Comment by Martin — October 12, 2007 @ 11:34 pm

  3. Do you have an nVidia SATA controller? Something like this happens to me if I leave my computer on overnight.
    The driver tries to reset the controller or the disk or something and then all I/O becomes an error.

    Comment by Carlos Martin Nieto — October 13, 2007 @ 12:22 pm

  4. I don’t think you HDD is dying either, but you may have some issues with your memory – I had a similar issue back when I used RH6/WinME (duel boot) – the Windows side files simply disappeared, and on the Linux side I found files unreadable or ‘damaged’ …

    I found that I had a bad memory block on one stick of my memory…

    Comment by Randal Lovelace — October 13, 2007 @ 5:48 pm

  5. thanks for the input guys.

    I don’t have an nVidia SATA controller. I don’t think it’s a memory issue.

    I will try some samsung tool on my samsung harddrive.

    Comment by ubuntudemon — October 14, 2007 @ 3:02 pm

  6. WOteB :

    Do you want to answer the following questions and add these to the bug report ?

    How old is your harddrive ?
    When did you start running Gutsy ?
    When did your problems start ?
    Did your problems start after running Gutsy ? If that’s the case how long were you running Gutsy before these media errors were appearing ?
    Did you have the problem already in Feisty ?
    Are you dual-booting with Feisty ?
    What is the output of smartctl -H /dev/sda ?

    Please add any other information you think is relevant.

    Thanks!

    Regards,

    ubuntu_demon

    https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/151938

    Comment by ubuntudemon — October 14, 2007 @ 3:07 pm

  7. My harddrive was dying. I confirmed it with hutil 2.0.3 from the Ultimate Boot CD.

    Comment by ubuntudemon — October 24, 2007 @ 11:27 pm

  8. […] previously blogged about a problem I had with my harddrive. Turns out the harddrive was dying. I confirmed it with […]

    Pingback by dutch Gutsy Release Party in Hilversum « Ubuntu Demon’s blog — October 25, 2007 @ 6:30 pm

  9. […] Hardrive Killer Bug Filed under: english — ubuntudemon @ 8:39 pm I previously blogged about a problem I had with my harddrive. Turns out the harddrive was dying. I confirmed it with […]

    Pingback by Laptop Hardrive Killer Bug « Ubuntu Demon’s blog — October 26, 2007 @ 8:39 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: