Access beyond end of device
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]) """
Signature · 1 line
Luiz Fernando N. Capitulino
Em Tue, 31 Jul 2007 15:04:14 -0300
"Luiz Fernando N. Capitulino" <[email protected]> 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.
Signature · 1 line
Luiz Fernando N. Capitulino
Quoted 11 lines · On Tue, 31 Jul 2007 15:15:46 -0300 "Luiz Fernando N. Capitulino"…
Em Tue, 31 Jul 2007 15:04:14 -0300
"Luiz Fernando N. Capitulino" <[email protected]> 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 ?
Em Wed, 1 Aug 2007 01:12:26 +0100
Alan Cox <[email protected]> escreveu:
| On Tue, 31 Jul 2007 15:15:46 -0300 | "Luiz Fernando N. Capitulino" <[email protected]> wrote: | | > Em Tue, 31 Jul 2007 15:04:14 -0300 | > "Luiz Fernando N. Capitulino" <[email protected]> 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.
Signature · 1 line
Luiz Fernando N. Capitulino
Quoted 7 lines
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)
Quoted 3 lines
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