LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-12-2007, 10:34 AM   #1
shanekelly64
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
Buffer I/O error on device sda. Lost hard drive?


I'm using Ubuntu 7.04. I have recently had problems with the system hanging and so have not always shut it down properly. Now it won't start (except with an Ubuntu 7.10 CD that I have). When I turn the computer on or reboot without the CD I get

Loading GRUB...

and then it sits there doing nothing. When I boot from the Ubuntu 7.10 CD I get a bunch of error messages like

Buffer I/O error on device sda

but eventually I get the GUI. I have tried reinstalling ubuntu (both 7.04 and 7.10) over the top of whatever is on the disc now but I can't get past the part where it reformats the hard drive. The 7.10 installer gives me

The creation of swap space in partition #5 of SCSI1 (0,0,0) (sda) failed.

Here is some stuff from the terminal that may be useful:

ubuntu@ubuntu:/$ sudo fsck /dev/sda1
fsck 1.40.2 (12-Jul-2007)
e2fsck 1.40.2 (12-Jul-2007)
fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda1
Could this be a zero-length partition?

ubuntu@ubuntu:/$ df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 517272 15444 501828 3% /lib/modules/2.6.22-14-generic/volatile
tmpfs 517272 15444 501828 3% /lib/modules/2.6.22-14-generic/volatile
varrun 517272 96 517176 1% /var/run
varlock 517272 4 517268 1% /var/lock
udev 517272 60 517212 1% /dev
devshm 517272 0 517272 0% /dev/shm
tmpfs 517272 16 517256 1% /tmp

ubuntu@ubuntu:/$ fsck /usr
fsck 1.40.2 (12-Jul-2007)
e2fsck 1.40.2 (12-Jul-2007)
fsck.ext2: Is a directory while trying to open /usr

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>


"/etc/fstab" looks like this:

unionfs / unionfs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0

I have also tried:

grub> find /boot/grub/stage1

Error 15: File not found

ubuntu@ubuntu:~$ sudo mount /
mount: wrong fs type, bad option, bad superblock on unionfs,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

ubuntu@ubuntu:~$ dmesg | tail
[ 1994.240000] end_request: I/O error, dev sda, sector 64
[ 1994.244000] sd 0:0:0:0: [sda] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
[ 1994.244000] end_request: I/O error, dev sda, sector 63
[ 1994.244000] sd 0:0:0:0: [sda] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
[ 1994.244000] end_request: I/O error, dev sda, sector 64
[ 1994.244000] sd 0:0:0:0: [sda] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
[ 1994.244000] end_request: I/O error, dev sda, sector 63
[ 1994.244000] sd 0:0:0:0: [sda] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
[ 1994.244000] end_request: I/O error, dev sda, sector 64
[ 2715.304000] unionfs_read_super: missing data argument


Any ideas?

Last edited by shanekelly64; 11-12-2007 at 10:41 AM.
 
Old 11-12-2007, 12:32 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, welcome to LQ.

And I hate to be the bearer of bad news, but this sure sounds
like a dead or dying hard-drive. If you still have a working
machine you could try to download "recovery is possible" or
the "system rescue CD" and see whether the tools bundled with
those can tell you more about the state of your hardware.



Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Maxtor Usb harddrive. Buffer I/O error on device sda. sfumato Linux - Hardware 3 12-26-2005 12:38 PM
Mount usb if hard drive is mounted in sda nifflerX Linux - General 1 10-05-2005 03:51 PM
Buffer I/O error on hard drive suv Linux - Hardware 1 06-22-2005 10:33 AM
partitioning hard drive (sda) for instalation anubis26 Fedora - Installation 2 01-14-2005 11:20 PM
Hard Drive Format Error - lost clusters Nukem Linux - General 2 02-01-2004 12:52 PM


All times are GMT -5. The time now is 05:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration