All of lore.kernel.org
 help / color / mirror / Atom feed
From: j.w.r.degoede@hhs.nl (Hans de Goede)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] BIOS Corruption (was : new abituguru driver in mm
Date: Thu, 10 Aug 2006 11:57:01 +0000	[thread overview]
Message-ID: <44DB1F0D.7020705@hhs.nl> (raw)
In-Reply-To: <ce9ef0d90608052222j74e9f6fes40cbc5edf5678577@mail.gmail.com>



Sunil Kumar wrote:
> ok, loading the patched abituguru didn't help the BIOS hang, its more than
> those bits and BIOS may be really buggy. I finally noted down all the
> custom
> changes to the BIOS settings (actually quite a few, it turned out) and
> did a
> 'load optimised defaults'. That helped clear up the hung screen in BIOS.
> 
> I am back to my original settings and things look good right now.
> 

Good, so you didn't have to open your PC and use the CMOS reset jumper,
I'm glad to hear that, that makes this bug much less severe IMHO.

> One thing I noted is that earlier 'modprobe abituguru' used to take about
> 560ms and now it takes almost twice that. As I suggested earlier, can we
> please use msleep(0) instead of msleep(1). msleep(0) is a 1 jiffy sleep (1
> ms for HZ 1000) while msleep(1) is twice that.

I must have missed your request for this change earlier, sleeping 1
jiffy is what I had in mind. So I've changed this. Here is my latest
version:

-Change msleep(1) to msleep(0) for shorter sleeps.
-Remove the masking out of invalid setting bits after successfull sensor
 type detection, this didn't help the BIOS confusion, so its useless and
 it could have unforseen unwanted side effects.


I'll send an official patch to the list soon to upgrade the in kernel
version to this too, so that others can benefit from your improved
timeout code, and more important so that the error paths in the sensor
type detect code are fixed to always restore the original settings!

Regards,

Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abituguru.c
Type: text/x-csrc
Size: 52142 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060810/218f2abf/attachment-0001.bin 

  parent reply	other threads:[~2006-08-10 11:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-06  5:22 [lm-sensors] BIOS Corruption (was : new abituguru driver in mm Sunil Kumar
2006-08-07 10:19 ` Jean Delvare
2006-08-07 16:10 ` Sunil Kumar
2006-08-07 19:34 ` Sergey Vlasov
2006-08-07 20:53 ` Sunil Kumar
2006-08-08 15:25 ` Sergey Vlasov
2006-08-09 18:35 ` Hans de Goede
2006-08-09 20:48 ` Sunil Kumar
2006-08-10 11:57 ` Hans de Goede [this message]
2006-08-10 15:48 ` Sunil Kumar
2006-08-11  7:47 ` Jean Delvare
2006-08-11  7:50 ` Hans de Goede
2006-08-11  9:05 ` Jean Delvare

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=44DB1F0D.7020705@hhs.nl \
    --to=j.w.r.degoede@hhs.nl \
    --cc=lm-sensors@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.