From: "Dâniel Fraga" <fragabr@gmail.com>
To: linux-ide@vger.kernel.org
Subject: Re: pata_via with software raid1: "attempt to access beyond end of device"
Date: Thu, 19 Jul 2007 21:25:24 -0300 [thread overview]
Message-ID: <k0c5n4-dl4.ln1@tux.abusar.org> (raw)
In-Reply-To: 20070720001714.7b6aaf95@the-village.bc.nu
On Fri, 20 Jul 2007 00:17:14 +0100
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> Are their host protected areas on the two disks ?
I don't know, but hdparm returns this:
/dev/sda:
ATA device, with non-removable media
Model Number: ST3802110A
Serial Number: 5LR2DA69
Firmware Revision: 3.AAE
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 156301488
LBA48 user addressable sectors: 156301488
device size with M = 1024*1024: 76319 MBytes
device size with M = 1000*1000: 80026 MBytes (80 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 1
Recommended acoustic management value: 208, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=240ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
* SMART feature set
* FLUSH CACHE EXT command
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
* 48-bit Address feature set
SET MAX security extension
* DOWNLOAD MICROCODE cmd
* General Purpose Logging feature set
* SMART self-test
* SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct
***
/dev/sdb:
ATA device, with non-removable media
Model Number: ST3802110A
Serial Number: 5LR3ZQ6A
Firmware Revision: 3.AAE
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 156301488
LBA48 user addressable sectors: 156301488
device size with M = 1024*1024: 76319 MBytes
device size with M = 1000*1000: 80026 MBytes (80 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 1
Recommended acoustic management value: 208, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=240ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
* SMART feature set
* FLUSH CACHE EXT command
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
* 48-bit Address feature set
SET MAX security extension
* DOWNLOAD MICROCODE cmd
* General Purpose Logging feature set
* SMART self-test
* SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct
***
Both HDs are identical. How can I determine if it's a Host
Protected Area?
SMART information, if needed:
fraga@abusar ~$ sudo ide-smart /dev/sda
Id= 1 Status=15 {Prefailure Online } Value=100 Threshold= 6 Passed
Id= 3 Status= 3 {Prefailure Online } Value= 99 Threshold= 0 Passed
Id= 4 Status=50 {Advisory Online } Value=100 Threshold= 20 Passed
Id= 5 Status=51 {Prefailure Online } Value=100 Threshold= 36 Passed
Id= 7 Status=15 {Prefailure Online } Value= 85 Threshold= 30 Passed
Id= 9 Status=50 {Advisory Online } Value= 93 Threshold= 0 Passed
Id= 10 Status=19 {Prefailure Online } Value=100 Threshold= 97 Passed
Id= 12 Status=50 {Advisory Online } Value=100 Threshold= 20 Passed
Id=187 Status=50 {Advisory Online } Value= 1 Threshold= 0 Passed
Id=189 Status=58 {Advisory Online } Value=100 Threshold= 0 Passed
Id=190 Status=34 {Advisory Online } Value= 66 Threshold= 45 Passed
Id=194 Status=34 {Advisory Online } Value= 34 Threshold= 0 Passed
Id=195 Status=26 {Advisory Online } Value= 69 Threshold= 0 Passed
Id=197 Status=18 {Advisory Online } Value=100 Threshold= 0 Passed
Id=198 Status=16 {Advisory OffLine} Value=100 Threshold= 0 Passed
Id=199 Status=62 {Advisory Online } Value=200 Threshold= 0 Passed
Id=200 Status= 0 {Advisory OffLine} Value=100 Threshold= 0 Passed
Id=202 Status=50 {Advisory Online } Value=100 Threshold= 0 Passed
OffLineStatus=130 {Completed}, AutoOffLine=Yes, OffLineTimeout=7 minutes
OffLineCapability=91 {Immediate Auto SuspendOnCmd}
SmartRevision=10, CheckSum=177, SmartCapability=3 {SaveOnStandBy AutoSave}
fraga@abusar ~$ sudo ide-smart /dev/sdb
Id= 1 Status=15 {Prefailure Online } Value=104 Threshold= 6 Passed
Id= 3 Status= 3 {Prefailure Online } Value= 99 Threshold= 0 Passed
Id= 4 Status=50 {Advisory Online } Value=100 Threshold= 20 Passed
Id= 5 Status=51 {Prefailure Online } Value=100 Threshold= 36 Passed
Id= 7 Status=15 {Prefailure Online } Value= 84 Threshold= 30 Passed
Id= 9 Status=50 {Advisory Online } Value= 94 Threshold= 0 Passed
Id= 10 Status=19 {Prefailure Online } Value=100 Threshold= 97 Passed
Id= 12 Status=50 {Advisory Online } Value=100 Threshold= 20 Passed
Id=187 Status=50 {Advisory Online } Value=100 Threshold= 0 Passed
Id=189 Status=58 {Advisory Online } Value=100 Threshold= 0 Passed
Id=190 Status=34 {Advisory Online } Value= 66 Threshold= 45 Passed
Id=194 Status=34 {Advisory Online } Value= 34 Threshold= 0 Passed
Id=195 Status=26 {Advisory Online } Value= 66 Threshold= 0 Passed
Id=197 Status=18 {Advisory Online } Value=100 Threshold= 0 Passed
Id=198 Status=16 {Advisory OffLine} Value=100 Threshold= 0 Passed
Id=199 Status=62 {Advisory Online } Value=200 Threshold= 0 Passed
Id=200 Status= 0 {Advisory OffLine} Value=100 Threshold= 0 Passed
Id=202 Status=50 {Advisory Online } Value=100 Threshold= 0 Passed
OffLineStatus=130 {Completed}, AutoOffLine=Yes, OffLineTimeout=7 minutes
OffLineCapability=91 {Immediate Auto SuspendOnCmd}
SmartRevision=10, CheckSum=193, SmartCapability=3 {SaveOnStandBy AutoSave}
Thank you very much.
--
Linux 2.6.22: Holy Dancing Manatees, Batman!
http://www.lastfm.pt/user/danielfraga
http://u-br.net
Dave Matthews Band - "When the World Ends" (Everyday)
next prev parent reply other threads:[~2007-07-20 0:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-19 2:23 pata_via with software raid1: "attempt to access beyond end of device" Dâniel Fraga
2007-07-19 23:17 ` Alan Cox
2007-07-20 0:25 ` Dâniel Fraga [this message]
2007-07-20 2:38 ` Dâniel Fraga
2007-07-20 15:37 ` Alan Cox
2007-07-20 21:11 ` Dâniel Fraga
2007-07-21 0:13 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2007-07-19 2:24 Dâniel Fraga
2007-07-19 3:54 ` Neil Brown
2007-07-19 18:23 ` Dâniel Fraga
2007-07-20 2:14 ` Neil Brown
2007-07-20 2:32 ` Dâniel Fraga
2007-07-20 2:59 ` Neil Brown
2007-07-21 21:18 ` Dâniel Fraga
2007-07-30 19:01 ` Cry Regarder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=k0c5n4-dl4.ln1@tux.abusar.org \
--to=fragabr@gmail.com \
--cc=linux-ide@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.