linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Access beyond end of device
@ 2007-07-31 18:04 Luiz Fernando N. Capitulino
  2007-07-31 18:15 ` Luiz Fernando N. Capitulino
  0 siblings, 1 reply; 5+ messages in thread
From: Luiz Fernando N. Capitulino @ 2007-07-31 18:04 UTC (permalink / raw)
  To: linux-ide; +Cc: Alan Cox


 Hello,

 Since I've started using the pata_via driver in 2.6.22, I'm getting
zillions of these messages:

"""
attempt to access beyond end of device
sda: rw=0, want=156367809, limit=156365903
printk: 22 messages suppressed
Buffer I/O error on device sda1, logical block 78183872
...
"""

 It also does happen with 2.6.23-rc3.

 Controller:

"""
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
"""

-- 
Luiz Fernando N. Capitulino

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

* Re: Access beyond end of device
  2007-07-31 18:04 Access beyond end of device Luiz Fernando N. Capitulino
@ 2007-07-31 18:15 ` Luiz Fernando N. Capitulino
  2007-08-01  0:12   ` Alan Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Luiz Fernando N. Capitulino @ 2007-07-31 18:15 UTC (permalink / raw)
  To: linux-ide; +Cc: Alan Cox

Em Tue, 31 Jul 2007 15:04:14 -0300
"Luiz Fernando N. Capitulino" <lcapitulino@mandriva.com.br> escreveu:

|  Since I've started using the pata_via driver in 2.6.22, I'm getting
| zillions of these messages:
| 
| """
| attempt to access beyond end of device
| sda: rw=0, want=156367809, limit=156365903
| printk: 22 messages suppressed
| Buffer I/O error on device sda1, logical block 78183872
| ...
| """
| 
|  It also does happen with 2.6.23-rc3.

 Heh, I'm pretty advanced, I meant 2.6.23-rc1.

-- 
Luiz Fernando N. Capitulino

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

* Re: Access beyond end of device
  2007-07-31 18:15 ` Luiz Fernando N. Capitulino
@ 2007-08-01  0:12   ` Alan Cox
  2007-08-01 14:17     ` Luiz Fernando N. Capitulino
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Cox @ 2007-08-01  0:12 UTC (permalink / raw)
  To: Luiz Fernando N. Capitulino; +Cc: linux-ide

On Tue, 31 Jul 2007 15:15:46 -0300
"Luiz Fernando N. Capitulino" <lcapitulino@mandriva.com.br> wrote:

> Em Tue, 31 Jul 2007 15:04:14 -0300
> "Luiz Fernando N. Capitulino" <lcapitulino@mandriva.com.br> escreveu:
> 
> |  Since I've started using the pata_via driver in 2.6.22, I'm getting
> | zillions of these messages:
> | 
> | """
> | attempt to access beyond end of device
> | sda: rw=0, want=156367809, limit=156365903
> | printk: 22 messages suppressed
> | Buffer I/O error on device sda1, logical block 78183872

Does your disk have a host protected area set and if so are you telling
libata to disable it ?

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

* Re: Access beyond end of device
  2007-08-01  0:12   ` Alan Cox
@ 2007-08-01 14:17     ` Luiz Fernando N. Capitulino
  2007-08-01 16:03       ` Alan Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Luiz Fernando N. Capitulino @ 2007-08-01 14:17 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-ide

Em Wed, 1 Aug 2007 01:12:26 +0100
Alan Cox <alan@lxorguk.ukuu.org.uk> escreveu:

| On Tue, 31 Jul 2007 15:15:46 -0300
| "Luiz Fernando N. Capitulino" <lcapitulino@mandriva.com.br> wrote:
| 
| > Em Tue, 31 Jul 2007 15:04:14 -0300
| > "Luiz Fernando N. Capitulino" <lcapitulino@mandriva.com.br> escreveu:
| > 
| > |  Since I've started using the pata_via driver in 2.6.22, I'm getting
| > | zillions of these messages:
| > | 
| > | """
| > | attempt to access beyond end of device
| > | sda: rw=0, want=156367809, limit=156365903
| > | printk: 22 messages suppressed
| > | Buffer I/O error on device sda1, logical block 78183872
| 
| Does your disk have a host protected area set and if so are you telling
| libata to disable it ?

 Ok, the disk has a host protected area and now I'm telling libata to
disable it.

 The error messages has disappeared.

 But... Is it safe to do it? I've read somewhere that the BIOS and
other softwares may use that area.

 Also, I remember that with the IDE driver I wasn't seeing that
messages, which means either: it was disabling it by default or
was just ignoring it.

-- 
Luiz Fernando N. Capitulino

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

* Re: Access beyond end of device
  2007-08-01 14:17     ` Luiz Fernando N. Capitulino
@ 2007-08-01 16:03       ` Alan Cox
  0 siblings, 0 replies; 5+ messages in thread
From: Alan Cox @ 2007-08-01 16:03 UTC (permalink / raw)
  To: Luiz Fernando N. Capitulino; +Cc: linux-ide

>  Ok, the disk has a host protected area and now I'm telling libata to
> disable it.
> 
>  The error messages has disappeared.
> 
>  But... Is it safe to do it? I've read somewhere that the BIOS and
> other softwares may use that area.

On some systems. Its also used for different things on others (rounding
off disk sizes nicely, clipping to avoid bios limits etc)


>  Also, I remember that with the IDE driver I wasn't seeing that
> messages, which means either: it was disabling it by default or
> was just ignoring it.

Old IDE disables it by default, libata is more conservative. Personally I
think libata should disable it by default too but thats an argument to
have with Jeff

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

end of thread, other threads:[~2007-08-01 15:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-31 18:04 Access beyond end of device Luiz Fernando N. Capitulino
2007-07-31 18:15 ` Luiz Fernando N. Capitulino
2007-08-01  0:12   ` Alan Cox
2007-08-01 14:17     ` Luiz Fernando N. Capitulino
2007-08-01 16:03       ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).