Re: linux kills laptop hard drive... how does obsd behave?

2007-10-31 Thread Tobias Weingartner
Adliger Martinez von der Unterschicht wrote:
 
  I am a total amateur and new to the list. I moved recently from linux
  and I am running openbsd usually (not on this system) because of a
  number of things (I guess I don't need to be eloquent here).
 
  And asks me how my OS behaves. Is there a laptop mode for obsd?
  And, if so, is there a similar problem as explained in the web site?

Unless you set this up yourself, OpenBSD does not do anything like this.
Note, this does not help if the disks come with bogus firmware from the
factory.

-Toby.
-- 
 [100~Plax]sb16i0A2172656B63616820636420726568746F6E61207473754A[dZ1!=b]salax



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread steve szmidt
On Saturday 27 October 2007, Adliger Martinez von der Unterschicht wrote:
 Hi,

 I am a total amateur and new to the list. I moved recently from linux
 and I am running openbsd usually (not on this system) because of a
 number of things (I guess I don't need to be eloquent here).

 Now, a friend of mine has found a big problem:

 http://www.linux-hero.com/rant/explanation-ubuntu-hard-drive-wear-and-tear

And the same link shows the solution:

1) I added the following lines to my hdparm.conf:
 /dev/sda {
   apm = 255
 }
2) I created a file /etc/acpi/resume.d/99-stop-hitachi-madness.sh
 with the following contents:
 #!/bin/sh
 hdparm -B 255 /dev/sda


-- 

Steve Szmidt

They that would give up essential liberty for temporary safety 
deserve neither liberty nor safety.
Benjamin Franklin



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread Stuart Henderson
On 2007/10/27 14:57, Pau Amaro-Seoane wrote:
 I don't think he's asking for a solution to his problems but whether
 openbsd also has such a problem... which I don't think... but I don't
 have arguments

Well, that depends on what software you run.
I noticed the drive in my X40 doing this a lot the other day...

I think this should work:
# atactl wd0 apmset 253



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread steve szmidt
On Saturday 27 October 2007, Pau Amaro-Seoane wrote:
 I don't think he's asking for a solution to his problems but whether
 openbsd also has such a problem... which I don't think... but I don't
 have arguments

Hey, I'm sure you are totally right! It just struck me a bit silly sounding, 
and since he's a self proclaimed newbee, and me being willing to 
constructively help others, I thought it be good to know that there's a 
simple way around the issue.

I never ran into it, mostly because I don't really like to have to deal with 
typical laptop issues, and so my laptop mostly collects dust on a shelf.

Then blanket generalities like Linux kills laptops seems too far fetched 
whatever you feel about Linux, or any other O/S. It did not strike me as a 
very informed comment. More like what a reporter would say.

I love both Linux and OpenBSD and I also hate them. That's to say there are 
things that drive me batty about both and things that I would not want to be 
without. I saw the new MAC the other day and for the few minutes I spent on  
it it came across as a very slick user interface. 

The point being that not having in depth familiarity with things _can_ give 
you an overall wrong impression. I don't care one iota what he uses, but as a 
techie I give people information so that they can make better decisions.

My hat, if you want, is to give them viable solutions to problems. Then they 
can make the policy of which way to go without having to know all about it.

The same applies to our friend here who might never look at whatever O/S's he 
might have left behind him. 
-- 

Steve Szmidt

They that would give up essential liberty for temporary safety 
deserve neither liberty nor safety.
Benjamin Franklin



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread Tonnerre LOMBARD
Salut,

On Sat, Oct 27, 2007 at 11:34:27AM +0200, Adliger Martinez von der
Unterschicht wrote:
 Now, a friend of mine has found a big problem:

 http://www.linux-hero.com/rant/explanation-ubuntu-hard-drive-wear-and-tear

 https://bugs.launchpad.net/ubuntu/+bug/59695

 https://bugs.launchpad.net/ubuntu/+bug/104535

Actually, Linux has a far worse bug in terms of hard disks, which has been
introduced in kernel version 1.3.26 or something in that order. Under some
circumstances, it overwrites the hard disk's firmware. Mostly this happens
in a state where the OS can't really function too well anymore anyway, so
you can only reboot. However, a hard disk with a bogus firmware will behave
as a brick, leaving you without a chance to fix the situation.

I have a couple of hard disks here which I use to keep paper from flying
away when I write letters, those have been Linux'd. It happens rarely, but
it does happen.

Tonnerre

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread Pau Amaro-Seoane
 Hey, I'm sure you are totally right! It just struck me a bit silly sounding,
 and since he's a self proclaimed newbee, and me being willing to
 constructively help others, I thought it be good to know that there's a
 simple way around the issue.

yes, but this is not a linux mailing list and, as you pointed out, the
answer is in the links he posted; he cannot be that silly.

The answer he was asking for was what Stuart Henderson posted. And I
was also interested; so that many thanks, Stuart


t did not strike me as a
 very informed comment. More like what a reporter would say.

yes, he described himself as amateur, so give him a break on his very
first post ;)


 I love both Linux and OpenBSD and I also hate them.

this is indeed true; I have arrived to the conclusion that I hate
computers, full stop. But I certainly appreciate a lot what obsd gives
me. I cannot rely on linux, it behaves randomly, but I don't want to
start a flame war

 things that drive me batty about both and things that I would not want to be
  I saw the new MAC the other day and for the few minutes I spent on
 it it came across as a very slick user interface.

really, I don't want to start one :)


 The same applies to our friend here who might never look at whatever O/S's he
 might have left behind him.

let's see what he says.

Cheers,

Pau



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread bofh
I'm really curious, I've never heard of a HD firmware killing bug in
linux since 1.3.x. I used to spend a lot of time following linux in
the 1.2 1.3 kernel times and don't recall hearing about that bug.
Thanx.


On 10/27/07, Tonnerre LOMBARD [EMAIL PROTECTED] wrote:
 Salut,

 On Sat, Oct 27, 2007 at 11:34:27AM +0200, Adliger Martinez von der
 Unterschicht wrote:
  Now, a friend of mine has found a big problem:
 
  http://www.linux-hero.com/rant/explanation-ubuntu-hard-drive-wear-and-tear
 
  https://bugs.launchpad.net/ubuntu/+bug/59695
 
  https://bugs.launchpad.net/ubuntu/+bug/104535

 Actually, Linux has a far worse bug in terms of hard disks, which has been
 introduced in kernel version 1.3.26 or something in that order. Under some
 circumstances, it overwrites the hard disk's firmware. Mostly this happens
 in a state where the OS can't really function too well anymore anyway, so
 you can only reboot. However, a hard disk with a bogus firmware will behave
 as a brick, leaving you without a chance to fix the situation.

 I have a couple of hard disks here which I use to keep paper from flying
 away when I write letters, those have been Linux'd. It happens rarely, but
 it does happen.

   Tonnerre

 [demime 1.01d removed an attachment of type application/pgp-signature]




-- 
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
http://www.youtube.com/watch?v=tGvHNNOLnCk



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread Tonnerre LOMBARD
Salut,

On Sat, Oct 27, 2007 at 12:14:49PM -0500, bofh wrote:
 I'm really curious, I've never heard of a HD firmware killing bug in
 linux since 1.3.x. I used to spend a lot of time following linux in
 the 1.2 1.3 kernel times and don't recall hearing about that bug.

Well, that was when I first noticed it. It is a bit hard to track in the
mess that Linux is, but it still exists in the 2.6 series: a 2.6.20
kernel Linux'd yet another hard disk of mine a couple of weeks ago.

Tonnerre

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread A5an0
Adliger Martinez von der Unterschicht wrote:
 Hi,

 I am a total amateur and new to the list. I moved recently from linux
 and I am running openbsd usually (not on this system) because of a
 number of things (I guess I don't need to be eloquent here).

 Now, a friend of mine has found a big problem:

 http://www.linux-hero.com/rant/explanation-ubuntu-hard-drive-wear-and-tear

 https://bugs.launchpad.net/ubuntu/+bug/59695

 https://bugs.launchpad.net/ubuntu/+bug/104535

 And asks me how my OS behaves. Is there a laptop mode for obsd?
 And, if so, is there a similar problem as explained in the web site?

 Thanks


   
I've been running OpenBSD on my laptop for about a month (I've had 3
servers o it since 3.1) and I havn't noticed an issue like the one
you're talking about.
Can anyone confirm or deny this?

--Alex



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread Tonnerre LOMBARD
Salut,

On Sat, Oct 27, 2007 at 12:38:55PM -0500, Todd Alan Smith wrote:
 What exactly were the symptoms of your drive being linux'd?

It tries to imitate a brick as closely as possible.

 Also, I'm wondering if this discussion shouldn't be taken off-list,
 since it's really about Linux, not OpenBSD.

Well, the entire thread was started as Linux killing hard disks, wasn't it?

Tonnerre

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread Pau Amaro-Seoane
 Well, the entire thread was started as Linux killing hard disks, wasn't it?

and asking for Obsd information... :)

what about A4an0's question?

I've been running OpenBSD on my laptop for about a month (I've had 3
servers o it since 3.1) and I havn't noticed an issue like the one
you're talking about.
Can anyone confirm or deny this?

How can you see how often the disc was parked under OpenBSD?

This guy here makes a summary (full with too much emotion, as usual):

http://beranger.org/index.php?page=diary2007/10/24/18/07/21-it-s-confirmed-gutsy-is-killing-