public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] OT: hard disk access and recovery impossible under linux ?
@ 2010-07-31 13:27 Kacper Kopczyński
  2010-07-31 14:15 ` Volker Armin Hemmann
  0 siblings, 1 reply; 12+ messages in thread
From: Kacper Kopczyński @ 2010-07-31 13:27 UTC (permalink / raw
  To: gentoo-user

Hi,

My problem is really strange - I can't access my hard drive from linux,
but it works from windows without problems. It has some bad blocks.

I'm trying to access it from rescuecd which seems to be based on
gentoo - so it's not totally off topic :)

Here is dmesg: http://capsel.inten.pl/disk/dmesg

cat /dev/sda gives no output, fdisk fails with "unable to
read /dev/sda". smartctl does not report model or serial, there is no
error log... hdparm shows "Invalid exchange" or
"Inappropriate ioctl for device", all commands failed.

What else can I do?

-- 
Kacper Kopczyński



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

* Re: [gentoo-user] OT: hard disk access and recovery impossible under linux ?
  2010-07-31 13:27 [gentoo-user] OT: hard disk access and recovery impossible under linux ? Kacper Kopczyński
@ 2010-07-31 14:15 ` Volker Armin Hemmann
  2010-07-31 14:57   ` Kacper Kopczyński
  0 siblings, 1 reply; 12+ messages in thread
From: Volker Armin Hemmann @ 2010-07-31 14:15 UTC (permalink / raw
  To: gentoo-user

On Samstag 31 Juli 2010, Kacper Kopczyński wrote:
> Hi,
> 
> My problem is really strange - I can't access my hard drive from linux,
> but it works from windows without problems. It has some bad blocks.

it has a lot of bad blocks and a fucked up firmware it seems. No way it is 
working 'without problems'.

> 
> 
> Here is dmesg: http://capsel.inten.pl/disk/dmesg
> 
> cat /dev/sda gives no output, fdisk fails with "unable to
> read /dev/sda". smartctl does not report model or serial, there is no
> error log... hdparm shows "Invalid exchange" or
> "Inappropriate ioctl for device", all commands failed.
> 
> What else can I do?

maybe ask kernel devs if there is a way to access the drive even with a 
capacity of 0 to copy everything from it before you stuff it in the garbage 
can?



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

* Re: [gentoo-user] OT: hard disk access and recovery impossible under linux ?
  2010-07-31 14:15 ` Volker Armin Hemmann
@ 2010-07-31 14:57   ` Kacper Kopczyński
  2010-07-31 15:33     ` Dale
  2010-07-31 16:14     ` Volker Armin Hemmann
  0 siblings, 2 replies; 12+ messages in thread
From: Kacper Kopczyński @ 2010-07-31 14:57 UTC (permalink / raw
  To: gentoo-user

Dnia 2010-07-31, o godz. 16:15:51
Volker Armin Hemmann <volkerarmin@googlemail.com> napisał(a):

> On Samstag 31 Juli 2010, Kacper Kopczyński wrote:
> > Hi,
> > 
> > My problem is really strange - I can't access my hard drive from
> > linux, but it works from windows without problems. It has some bad
> > blocks.
> 
> it has a lot of bad blocks and a fucked up firmware it seems. No way
> it is working 'without problems'.
> 

Well total space taken by bad blocks according to chkdsk is less than
1MB, windows is still able to access all data. Linux is only able to
see partition table "for a while" - as you can see in dmesg.

If firmware is broken then how it is possible that windows is able to
use this disk?

> > 
> > 
> > Here is dmesg: http://capsel.inten.pl/disk/dmesg
> > 
> > cat /dev/sda gives no output, fdisk fails with "unable to
> > read /dev/sda". smartctl does not report model or serial, there is
> > no error log... hdparm shows "Invalid exchange" or
> > "Inappropriate ioctl for device", all commands failed.
> > 
> > What else can I do?
> 
> maybe ask kernel devs if there is a way to access the drive even with
> a capacity of 0 to copy everything from it before you stuff it in the
> garbage can?
> 

Well.. I've backed up data from it already.

-- 
Kacper Kopczyński



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

* Re: [gentoo-user] OT: hard disk access and recovery impossible under linux ?
  2010-07-31 14:57   ` Kacper Kopczyński
@ 2010-07-31 15:33     ` Dale
  2010-07-31 16:14       ` Mick
  2010-07-31 16:14     ` Volker Armin Hemmann
  1 sibling, 1 reply; 12+ messages in thread
From: Dale @ 2010-07-31 15:33 UTC (permalink / raw
  To: gentoo-user

Kacper Kopczyński wrote:
> Dnia 2010-07-31, o godz. 16:15:51
> Volker Armin Hemmann<volkerarmin@googlemail.com>  napisał(a):
>
>    
>> On Samstag 31 Juli 2010, Kacper Kopczyński wrote:
>>      
>>> Hi,
>>>
>>> My problem is really strange - I can't access my hard drive from
>>> linux, but it works from windows without problems. It has some bad
>>> blocks.
>>>        
>> it has a lot of bad blocks and a fucked up firmware it seems. No way
>> it is working 'without problems'.
>>
>>      
> Well total space taken by bad blocks according to chkdsk is less than
> 1MB, windows is still able to access all data. Linux is only able to
> see partition table "for a while" - as you can see in dmesg.
>
> If firmware is broken then how it is possible that windows is able to
> use this disk?
>
>    

Maybe windoze is ignoring the problem?  It's not like windoze has never 
done that before right?

Just a thought.

Dale

:-)  :-)



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

* Re: [gentoo-user] OT: hard disk access and recovery impossible under linux ?
  2010-07-31 14:57   ` Kacper Kopczyński
  2010-07-31 15:33     ` Dale
@ 2010-07-31 16:14     ` Volker Armin Hemmann
  1 sibling, 0 replies; 12+ messages in thread
From: Volker Armin Hemmann @ 2010-07-31 16:14 UTC (permalink / raw
  To: gentoo-user

On Samstag 31 Juli 2010, Kacper Kopczyński wrote:
> Dnia 2010-07-31, o godz. 16:15:51
> 
> Volker Armin Hemmann <volkerarmin@googlemail.com> napisał(a):
> > On Samstag 31 Juli 2010, Kacper Kopczyński wrote:
> > > Hi,
> > > 
> > > My problem is really strange - I can't access my hard drive from
> > > linux, but it works from windows without problems. It has some bad
> > > blocks.
> > 
> > it has a lot of bad blocks and a fucked up firmware it seems. No way
> > it is working 'without problems'.
> 
> Well total space taken by bad blocks according to chkdsk is less than
> 1MB, 

1 block = 512byte. So you have ca 2000 bad blocks. That is A LOT.


> windows is still able to access all data. Linux is only able to
> see partition table "for a while" - as you can see in dmesg.
> 
> If firmware is broken then how it is possible that windows is able to
> use this disk?

maybe they ignore things like a reported size of 0 and no sense.

> 
> Well.. I've backed up data from it already.

then throw it away. That disk will fail completely soon.




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

* Re: [gentoo-user] OT: hard disk access and recovery impossible under linux ?
  2010-07-31 15:33     ` Dale
@ 2010-07-31 16:14       ` Mick
  2010-07-31 17:11         ` Joshua Murphy
  2010-07-31 18:04         ` Volker Armin Hemmann
  0 siblings, 2 replies; 12+ messages in thread
From: Mick @ 2010-07-31 16:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1108 bytes --]

On Saturday 31 July 2010 16:33:18 Dale wrote:
> Kacper Kopczyński wrote:
> > Dnia 2010-07-31, o godz. 16:15:51
> > 
> > Volker Armin Hemmann<volkerarmin@googlemail.com>  napisał(a):
> >> On Samstag 31 Juli 2010, Kacper Kopczyński wrote:
> >>> Hi,
> >>> 
> >>> My problem is really strange - I can't access my hard drive from
> >>> linux, but it works from windows without problems. It has some bad
> >>> blocks.
> >> 
> >> it has a lot of bad blocks and a fucked up firmware it seems. No way
> >> it is working 'without problems'.
> > 
> > Well total space taken by bad blocks according to chkdsk is less than
> > 1MB, windows is still able to access all data. Linux is only able to
> > see partition table "for a while" - as you can see in dmesg.
> > 
> > If firmware is broken then how it is possible that windows is able to
> > use this disk?
> 
> Maybe windoze is ignoring the problem?  It's not like windoze has never
> done that before right?
> 
> Just a thought.

Couldn't it be that the MSWindows partition has no bad blocks, while Linux 
does?

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] OT: hard disk access and recovery impossible under  linux ?
  2010-07-31 16:14       ` Mick
@ 2010-07-31 17:11         ` Joshua Murphy
  2010-07-31 18:04         ` Volker Armin Hemmann
  1 sibling, 0 replies; 12+ messages in thread
From: Joshua Murphy @ 2010-07-31 17:11 UTC (permalink / raw
  To: gentoo-user

On Sat, Jul 31, 2010 at 12:14 PM, Mick <michaelkintzios@gmail.com> wrote:
> On Saturday 31 July 2010 16:33:18 Dale wrote:
>> Kacper Kopczyński wrote:
>> > Dnia 2010-07-31, o godz. 16:15:51
>> >
>> > Volker Armin Hemmann<volkerarmin@googlemail.com>  napisał(a):
>> >> On Samstag 31 Juli 2010, Kacper Kopczyński wrote:
>> >>> Hi,
>> >>>
>> >>> My problem is really strange - I can't access my hard drive from
>> >>> linux, but it works from windows without problems. It has some bad
>> >>> blocks.
>> >>
>> >> it has a lot of bad blocks and a fucked up firmware it seems. No way
>> >> it is working 'without problems'.
>> >
>> > Well total space taken by bad blocks according to chkdsk is less than
>> > 1MB, windows is still able to access all data. Linux is only able to
>> > see partition table "for a while" - as you can see in dmesg.
>> >
>> > If firmware is broken then how it is possible that windows is able to
>> > use this disk?
>>
>> Maybe windoze is ignoring the problem?  It's not like windoze has never
>> done that before right?
>>
>> Just a thought.
>
> Couldn't it be that the MSWindows partition has no bad blocks, while Linux
> does?
>
> --
> Regards,
> Mick
>

Not likely, though just looking at *how* it fails, if the data'd not
already been backed up, I'd hold at least a little hope that it's not
really a problem with the on-disk data, aside from what's been
corrupted since the problems started, but rather just the controller
and firmware. If I had a spare drive from the same batch, I'd swap in
the not-dying controller card and see if that got me anywhere. Since
the drive's already backed up, though... that one's a new paperweight
for the desk, and if the data's anything sensitive, physical
destruction of the drive's the way I'd go to 'secure' it before it
goes out with the trash.

-- 
Poison [BLX]
Joshua M. Murphy



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

* Re: [gentoo-user] OT: hard disk access and recovery impossible under linux ?
  2010-07-31 16:14       ` Mick
  2010-07-31 17:11         ` Joshua Murphy
@ 2010-07-31 18:04         ` Volker Armin Hemmann
  2010-07-31 18:32           ` Mick
  1 sibling, 1 reply; 12+ messages in thread
From: Volker Armin Hemmann @ 2010-07-31 18:04 UTC (permalink / raw
  To: gentoo-user

On Samstag 31 Juli 2010, Mick wrote:
> On Saturday 31 July 2010 16:33:18 Dale wrote:
> > Kacper Kopczyński wrote:
> > > Dnia 2010-07-31, o godz. 16:15:51
> > > 
> > > Volker Armin Hemmann<volkerarmin@googlemail.com>  napisał(a):
> > >> On Samstag 31 Juli 2010, Kacper Kopczyński wrote:
> > >>> Hi,
> > >>> 
> > >>> My problem is really strange - I can't access my hard drive from
> > >>> linux, but it works from windows without problems. It has some bad
> > >>> blocks.
> > >> 
> > >> it has a lot of bad blocks and a fucked up firmware it seems. No way
> > >> it is working 'without problems'.
> > > 
> > > Well total space taken by bad blocks according to chkdsk is less than
> > > 1MB, windows is still able to access all data. Linux is only able to
> > > see partition table "for a while" - as you can see in dmesg.
> > > 
> > > If firmware is broken then how it is possible that windows is able to
> > > use this disk?
> > 
> > Maybe windoze is ignoring the problem?  It's not like windoze has never
> > done that before right?
> > 
> > Just a thought.
> 
> Couldn't it be that the MSWindows partition has no bad blocks, while Linux
> does?

it is not about partitions.



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

* Re: [gentoo-user] OT: hard disk access and recovery impossible under linux ?
  2010-07-31 18:04         ` Volker Armin Hemmann
@ 2010-07-31 18:32           ` Mick
  2010-07-31 19:14             ` Volker Armin Hemmann
  0 siblings, 1 reply; 12+ messages in thread
From: Mick @ 2010-07-31 18:32 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1441 bytes --]

On Saturday 31 July 2010 19:04:47 Volker Armin Hemmann wrote:
> On Samstag 31 Juli 2010, Mick wrote:
> > On Saturday 31 July 2010 16:33:18 Dale wrote:
> > > Kacper Kopczyński wrote:
> > > > Dnia 2010-07-31, o godz. 16:15:51
> > > > 
> > > > Volker Armin Hemmann<volkerarmin@googlemail.com>  napisał(a):
> > > >> On Samstag 31 Juli 2010, Kacper Kopczyński wrote:
> > > >>> Hi,
> > > >>> 
> > > >>> My problem is really strange - I can't access my hard drive from
> > > >>> linux, but it works from windows without problems. It has some bad
> > > >>> blocks.
> > > >> 
> > > >> it has a lot of bad blocks and a fucked up firmware it seems. No way
> > > >> it is working 'without problems'.
> > > > 
> > > > Well total space taken by bad blocks according to chkdsk is less than
> > > > 1MB, windows is still able to access all data. Linux is only able to
> > > > see partition table "for a while" - as you can see in dmesg.
> > > > 
> > > > If firmware is broken then how it is possible that windows is able to
> > > > use this disk?
> > > 
> > > Maybe windoze is ignoring the problem?  It's not like windoze has never
> > > done that before right?
> > > 
> > > Just a thought.
> > 
> > Couldn't it be that the MSWindows partition has no bad blocks, while
> > Linux does?
> 
> it is not about partitions.

Please explain, I thought that bad blocks would coincide with some partitions.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] OT: hard disk access and recovery impossible under linux ?
  2010-07-31 18:32           ` Mick
@ 2010-07-31 19:14             ` Volker Armin Hemmann
  2010-08-08 16:19               ` Mark Shields
  0 siblings, 1 reply; 12+ messages in thread
From: Volker Armin Hemmann @ 2010-07-31 19:14 UTC (permalink / raw
  To: gentoo-user

On Samstag 31 Juli 2010, Mick wrote:
> On Saturday 31 July 2010 19:04:47 Volker Armin Hemmann wrote:
> > On Samstag 31 Juli 2010, Mick wrote:
> > > On Saturday 31 July 2010 16:33:18 Dale wrote:
> > > > Kacper Kopczyński wrote:
> > > > > Dnia 2010-07-31, o godz. 16:15:51
> > > > > 
> > > > > Volker Armin Hemmann<volkerarmin@googlemail.com>  napisał(a):
> > > > >> On Samstag 31 Juli 2010, Kacper Kopczyński wrote:
> > > > >>> Hi,
> > > > >>> 
> > > > >>> My problem is really strange - I can't access my hard drive from
> > > > >>> linux, but it works from windows without problems. It has some
> > > > >>> bad blocks.
> > > > >> 
> > > > >> it has a lot of bad blocks and a fucked up firmware it seems. No
> > > > >> way it is working 'without problems'.
> > > > > 
> > > > > Well total space taken by bad blocks according to chkdsk is less
> > > > > than 1MB, windows is still able to access all data. Linux is only
> > > > > able to see partition table "for a while" - as you can see in
> > > > > dmesg.
> > > > > 
> > > > > If firmware is broken then how it is possible that windows is able
> > > > > to use this disk?
> > > > 
> > > > Maybe windoze is ignoring the problem?  It's not like windoze has
> > > > never done that before right?
> > > > 
> > > > Just a thought.
> > > 
> > > Couldn't it be that the MSWindows partition has no bad blocks, while
> > > Linux does?
> > 
> > it is not about partitions.
> 
> Please explain, I thought that bad blocks would coincide with some
> partitions.

because defectice partitions don't give you no sense errors nor do they give 
you zero capacity errors. Read his dmesg.



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

* Re: [gentoo-user] OT: hard disk access and recovery impossible under  linux ?
  2010-07-31 19:14             ` Volker Armin Hemmann
@ 2010-08-08 16:19               ` Mark Shields
  2010-08-08 17:53                 ` Kacper Kopczyński
  0 siblings, 1 reply; 12+ messages in thread
From: Mark Shields @ 2010-08-08 16:19 UTC (permalink / raw
  To: gentoo-user

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

On Sat, Jul 31, 2010 at 3:14 PM, Volker Armin Hemmann <
volkerarmin@googlemail.com> wrote:

> On Samstag 31 Juli 2010, Mick wrote:
> > On Saturday 31 July 2010 19:04:47 Volker Armin Hemmann wrote:
> > > On Samstag 31 Juli 2010, Mick wrote:
> > > > On Saturday 31 July 2010 16:33:18 Dale wrote:
> > > > > Kacper Kopczyński wrote:
> > > > > > Dnia 2010-07-31, o godz. 16:15:51
> > > > > >
> > > > > > Volker Armin Hemmann<volkerarmin@googlemail.com>  napisał(a):
> > > > > >> On Samstag 31 Juli 2010, Kacper Kopczyński wrote:
> > > > > >>> Hi,
> > > > > >>>
> > > > > >>> My problem is really strange - I can't access my hard drive
> from
> > > > > >>> linux, but it works from windows without problems. It has some
> > > > > >>> bad blocks.
> > > > > >>
> > > > > >> it has a lot of bad blocks and a fucked up firmware it seems. No
> > > > > >> way it is working 'without problems'.
> > > > > >
> > > > > > Well total space taken by bad blocks according to chkdsk is less
> > > > > > than 1MB, windows is still able to access all data. Linux is only
> > > > > > able to see partition table "for a while" - as you can see in
> > > > > > dmesg.
> > > > > >
> > > > > > If firmware is broken then how it is possible that windows is
> able
> > > > > > to use this disk?
> > > > >
> > > > > Maybe windoze is ignoring the problem?  It's not like windoze has
> > > > > never done that before right?
> > > > >
> > > > > Just a thought.
> > > >
> > > > Couldn't it be that the MSWindows partition has no bad blocks, while
> > > > Linux does?
> > >
> > > it is not about partitions.
> >
> > Please explain, I thought that bad blocks would coincide with some
> > partitions.
>
> because defectice partitions don't give you no sense errors nor do they
> give
> you zero capacity errors. Read his dmesg.
>
>  If the firmware/logic board is bad, you might be able to replace it with
one from the same model.  I've heard of some success from a coworker who
took the logic board from a known good drive and put it on a HDD with good
internals but a bad logic board, and it worked.  That's if you need the
data, that is.

- Mark Shields

[-- Attachment #2: Type: text/html, Size: 3134 bytes --]

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

* Re: [gentoo-user] OT: hard disk access and recovery impossible under  linux ?
  2010-08-08 16:19               ` Mark Shields
@ 2010-08-08 17:53                 ` Kacper Kopczyński
  0 siblings, 0 replies; 12+ messages in thread
From: Kacper Kopczyński @ 2010-08-08 17:53 UTC (permalink / raw
  To: gentoo-user

Dnia 2010-08-08, o godz. 12:19:07
Mark Shields <laebshade@gmail.com> napisał(a):

> On Sat, Jul 31, 2010 at 3:14 PM, Volker Armin Hemmann <
> volkerarmin@googlemail.com> wrote:
> 
> > On Samstag 31 Juli 2010, Mick wrote:
> > > On Saturday 31 July 2010 19:04:47 Volker Armin Hemmann wrote:
> > > > On Samstag 31 Juli 2010, Mick wrote:
> > > > > On Saturday 31 July 2010 16:33:18 Dale wrote:
> > > > > > Kacper Kopczyński wrote:
> > > > > > > Dnia 2010-07-31, o godz. 16:15:51
> > > > > > >
> > > > > > > Volker Armin Hemmann<volkerarmin@googlemail.com>
> > > > > > > napisał(a):
> > > > > > >> On Samstag 31 Juli 2010, Kacper Kopczyński wrote:
> > > > > > >>> Hi,
> > > > > > >>>
> > > > > > >>> My problem is really strange - I can't access my hard
> > > > > > >>> drive
> > from
> > > > > > >>> linux, but it works from windows without problems. It
> > > > > > >>> has some bad blocks.
> > > > > > >>
> > > > > > >> it has a lot of bad blocks and a fucked up firmware it
> > > > > > >> seems. No way it is working 'without problems'.
> > > > > > >
> > > > > > > Well total space taken by bad blocks according to chkdsk
> > > > > > > is less than 1MB, windows is still able to access all
> > > > > > > data. Linux is only able to see partition table "for a
> > > > > > > while" - as you can see in dmesg.
> > > > > > >
> > > > > > > If firmware is broken then how it is possible that
> > > > > > > windows is
> > able
> > > > > > > to use this disk?
> > > > > >
> > > > > > Maybe windoze is ignoring the problem?  It's not like
> > > > > > windoze has never done that before right?
> > > > > >
> > > > > > Just a thought.
> > > > >
> > > > > Couldn't it be that the MSWindows partition has no bad
> > > > > blocks, while Linux does?
> > > >
> > > > it is not about partitions.
> > >
> > > Please explain, I thought that bad blocks would coincide with some
> > > partitions.
> >
> > because defectice partitions don't give you no sense errors nor do
> > they give
> > you zero capacity errors. Read his dmesg.
> >
> >  If the firmware/logic board is bad, you might be able to replace
> > it with
> one from the same model.  I've heard of some success from a coworker
> who took the logic board from a known good drive and put it on a HDD
> with good internals but a bad logic board, and it worked.  That's if
> you need the data, that is.
> 
> - Mark Shields

After spending many hours on google it seems to me this is a bug in
firmware or seagate's firmware on barracuda discs likes to break itself
frequently.

Thank you for your help.

-- 
Kacper Kopczyński



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

end of thread, other threads:[~2010-08-08 17:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-31 13:27 [gentoo-user] OT: hard disk access and recovery impossible under linux ? Kacper Kopczyński
2010-07-31 14:15 ` Volker Armin Hemmann
2010-07-31 14:57   ` Kacper Kopczyński
2010-07-31 15:33     ` Dale
2010-07-31 16:14       ` Mick
2010-07-31 17:11         ` Joshua Murphy
2010-07-31 18:04         ` Volker Armin Hemmann
2010-07-31 18:32           ` Mick
2010-07-31 19:14             ` Volker Armin Hemmann
2010-08-08 16:19               ` Mark Shields
2010-08-08 17:53                 ` Kacper Kopczyński
2010-07-31 16:14     ` Volker Armin Hemmann

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