* Re: Problems with 2.6.10 [not found] ` <fa.ekat19o.emk580@ifi.uio.no> @ 2005-01-02 0:20 ` Bodo Eggert 2005-01-02 1:04 ` [ide] ide-disk: enable stroke by default - was " Andries Brouwer 0 siblings, 1 reply; 4+ messages in thread From: Bodo Eggert @ 2005-01-02 0:20 UTC (permalink / raw) To: Fryderyk Mazurek, Bill Davidsen, linux-kernel, len.brown, gustavo Fryderyk Mazurek wrote: > At last I fixed my problem! I changed source to not enable "Host > Protected Area". This means that on 2.6.10 I have 33,8GB disk, not > 40GB, how on "true" 2.6.10. And now my BIOS detect my disk. But > question is, what does "true" kernel do, and why influence to BIOS? > Maybe this is kernel BUG? I can see the reason why this happens: When you boot, your HDD will be in a compatibility mode for broken BIOSes, but it will not enter compatibility mode on reboot. (Is it supposed to work this way, or should the BIOS completely reset the device?) There may be two solutions for this problem: - Reset the drive (hdparm -w) before rebooting (just a quick workaround) - Remember the initial state during runtime and restore it before reboot The first option may not work at all, I'm just guessing here. The second option will require a feature enheancement to the IDE subsystem. To quickly find out if option 1 is enough, you could boot a non-patched kernel with init=/bin/sh. In the shell, enter: # hdparm -w # shutdown -n -r now If it works for your problen, hdparm will probably disable propper access to the HDD until reboot. (This could mean some other cases might be broken, too.) ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ide] ide-disk: enable stroke by default - was Re: Problems with 2.6.10 2005-01-02 0:20 ` Problems with 2.6.10 Bodo Eggert @ 2005-01-02 1:04 ` Andries Brouwer 2005-01-02 2:44 ` Rogério Brito 0 siblings, 1 reply; 4+ messages in thread From: Andries Brouwer @ 2005-01-02 1:04 UTC (permalink / raw) To: Bodo Eggert Cc: Fryderyk Mazurek, Bill Davidsen, linux-kernel, len.brown, gustavo > Fryderyk Mazurek wrote: > > > At last I fixed my problem! I changed source to not enable "Host > > Protected Area". This means that on 2.6.10 I have 33,8GB disk, not > > 40GB, how on "true" 2.6.10. And now my BIOS detect my disk. But > > question is, what does "true" kernel do, and why influence to BIOS? > > Maybe this is kernel BUG? Yes, I see the changeset <bzolnier@trik.(none)> (04/10/29 1.2341) [ide] ide-disk: enable stroke by default From: Jens Axboe <axboe@suse.de> that enables stroke by default. That is good. What I don't see is the option not to enable it. That is, we used to have "stroke", but we want to have "nostroke". Andries ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ide] ide-disk: enable stroke by default - was Re: Problems with 2.6.10 2005-01-02 1:04 ` [ide] ide-disk: enable stroke by default - was " Andries Brouwer @ 2005-01-02 2:44 ` Rogério Brito 2005-01-02 3:07 ` Andries Brouwer 0 siblings, 1 reply; 4+ messages in thread From: Rogério Brito @ 2005-01-02 2:44 UTC (permalink / raw) To: Andries Brouwer Cc: Bodo Eggert, Fryderyk Mazurek, Bill Davidsen, linux-kernel, len.brown, gustavo On Jan 02 2005, Andries Brouwer wrote: > That is, we used to have "stroke", but we want to have "nostroke". What exactly does "stroke" mean? The description in the help file is a bit cryptic for a layman. Another option where the help description could be slighly improved IMVHO is that regarding word93, althought it has certainly improved in terms of its original description. Thanks in advance, Rogério. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rogério Brito - rbrito@ime.usp.br - http://www.ime.usp.br/~rbrito =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ide] ide-disk: enable stroke by default - was Re: Problems with 2.6.10 2005-01-02 2:44 ` Rogério Brito @ 2005-01-02 3:07 ` Andries Brouwer 0 siblings, 0 replies; 4+ messages in thread From: Andries Brouwer @ 2005-01-02 3:07 UTC (permalink / raw) To: Andries Brouwer, Bodo Eggert, Fryderyk Mazurek, Bill Davidsen, linux-kernel, len.brown, gustavo On Sun, Jan 02, 2005 at 12:44:51AM -0200, Rogério Brito wrote: > On Jan 02 2005, Andries Brouwer wrote: > > That is, we used to have "stroke", but we want to have "nostroke". > > What exactly does "stroke" mean? The description in the help file is a bit > cryptic for a layman. It is possible to set the size of the disk to something smaller than its actual size, either temporarily (can be undone at will) or permanently (valid until the next reboot). It is also possible to attach a password to this change. One of the reasons is that people want to have code or data at the end of the disk (operating system, diagnostics, backup, other) that the user cannot tamper with. But the existence of BIOSes that cannot handle large disks gives another use of this "setmax" operation: make the disk appear smaller at the time the BIOS looks at it, and give it full size under Linux. Now that I think about it - the originator of this thread had problems rebooting with the full-size disk since his BIOS didnt like it. Instead of using a kernel boot option "nostroke", it is possible that he could use my utility setmax at reboot time to make the disk smaller again. That would allow use of the full disk under Linux. Andries ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-01-02 3:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <fa.b02ekp9.12i8ti1@ifi.uio.no>
[not found] ` <fa.ekat19o.emk580@ifi.uio.no>
2005-01-02 0:20 ` Problems with 2.6.10 Bodo Eggert
2005-01-02 1:04 ` [ide] ide-disk: enable stroke by default - was " Andries Brouwer
2005-01-02 2:44 ` Rogério Brito
2005-01-02 3:07 ` Andries Brouwer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox