LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-03-2011, 06:21 PM   #1
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 666

Rep: Reputation: 39
can't access an internal hard disk


Hello everyone,
I have a seagate disk that i can't access from a linux pc.
if i plug this drive into a windows xp machine the drive is identified - no problem.

in linux, the disk gets a file descriptor (/dev/sdg) but if i run fdisk:
Quote:
Unable to read /dev/sdg
cfdisk as well (i'm on a slack11 machine but the same happens in another slack13.37 machine.
I can't mount it and in general i can't do anything with the drive.
I repeat, i just plug the drive in windows and voila... hmmmm
-i updated the firmware of the drive,
-i have tried plugging in the drive in other port of the available m/b sata ports (different sata chip actually, not the southbridge)

no luck,
i am using a 2.6.28.6 kernel ..
here is some dump from dmesg:

Quote:
sd 6:0:0:0: [sdg] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdg, sector 0
__ratelimit: 33 callbacks suppressed
Buffer I/O error on device sdg, logical block 0
Buffer I/O error on device sdg, logical block 1
Buffer I/O error on device sdg, logical block 2
Buffer I/O error on device sdg, logical block 3
sd 6:0:0:0: [sdg] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdg, sector 0
Buffer I/O error on device sdg, logical block 0
sd 6:0:0:0: [sdg] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdg, sector 16
Buffer I/O error on device sdg, logical block 2
sd 6:0:0:0: [sdg] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdg, sector 16
Buffer I/O error on device sdg, logical block 2
sd 6:0:0:0: [sdg] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdg, sector 0
Buffer I/O error on device sdg, logical block 0
Buffer I/O error on device sdg, logical block 1
Buffer I/O error on device sdg, logical block 2
Buffer I/O error on device sdg, logical block 3
sd 6:0:0:0: [sdg] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdg, sector 0
Buffer I/O error on device sdg, logical block 0
it clearyl can't read from the driver... but WHY?

thank you for your help
nass
 
Old 12-03-2011, 06:59 PM   #2
_bsd
Member
 
Registered: Jan 2010
Location: Velveeta, USA
Distribution: Xen, Gentoo,Ubuntu,openSUSE,Debian,pfSense
Posts: 98

Rep: Reputation: 9
it looks like your disk could be failing, you could try using hdparm to read the SMART info but you'll probabably have more luck downloading the Seagate drive diagnostics cd.

Boot from the CD, run the quick test, then run the long test and throughly check the drive for errors.
 
Old 12-03-2011, 09:58 PM   #3
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 666

Original Poster
Rep: Reputation: 39
crap, lately the disk doesn't even appear in the BIOS boot..
its impossible to even test if i can access the disk with hdparm (even though I probably can't).

what's more i have tried in the past smartctl -a on the device and it told me that smart was disabled... enabling it with -S on didn't really help though..

i wonder if its some $hit from seagate...

if i managed to access the drive i'll let you know
thank you
 
Old 12-03-2011, 11:35 PM   #4
MadMaverick9
Member
 
Registered: Aug 2010
Posts: 353
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by nass View Post
crap, lately the disk doesn't even appear in the BIOS boot..
its impossible to even test if i can access the disk with hdparm (even though I probably can't).

what's more i have tried in the past smartctl -a on the device and it told me that smart was disabled... enabling it with -S on didn't really help though..

i wonder if its some $hit from seagate...

if i managed to access the drive i'll let you know
thank you
i had similar problems/symptoms on two computers and as it turned out it wasn't the hard drive(s) at all. 't was the mainboard. once I changed the mainboard on both these computers, all was well.

I went through the game of unplugging the sata cable from the hdd, and let it sit and then plug it back in (sometimes with a different sata cable, cause i thought it might be a bad sata cable) and it would re-appear in the bios, but then the next day same problem again.
 
Old 12-04-2011, 04:35 AM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Looks like a failing HDD to me, backup your data.
 
Old 12-04-2011, 04:11 PM   #6
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 666

Original Poster
Rep: Reputation: 39
data have already been backed up long time ago,
i'm just tring to squeeze a few more GB's for random disks that are laying around, useless otherwise...
 
Old 12-10-2011, 01:18 PM   #7
selfprogrammed
Member
 
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37, 14.2, 15.0
Posts: 635

Rep: Reputation: 154Reputation: 154
Had this brand new drive, that could not be mounted on a Linux system.
Would not be recognized by the BIOS.
Fooled around with the help lines and got no where.
The instant they heard that I was using Linux, it was Linux to blame, and they do not support Linux. But I took it back to the store and got a replacement, and noticed something. The new drive of the same model (which worked) had a change to the SATA connectors, and a new version of firmware.
Some of the old SATA drives are not compatible with some manufacture's SATA chips, and some undocumented tweaking of the drives was being done.

Last edited by selfprogrammed; 12-10-2011 at 01:19 PM.
 
  


Reply



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
how to boot from a image transferred to internal hard disk Glenn D. Linux - Software 2 07-20-2010 09:11 PM
[SOLVED] changing GRUB from an external hard disk to the internal hard disk of my lap eco123 Linux - Newbie 2 05-15-2010 12:20 PM
Turning internal hard disk into external Silkeyes Linux - Software 5 04-26-2010 07:38 PM
My computer will not recognize my second internal -Maxtor slave - hard disk. Wolf357 Linux - Newbie 4 10-24-2008 01:58 AM
Why Will ubuntu not let me access my internal hard drive on my laptop? linuxuser2003 Ubuntu 3 03-18-2006 01:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:16 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
Open Source Consulting | Domain Registration