Re: How to view BIOS settings on a running system?

2004-02-16 Thread Sergey 'DoubleF' Zaharchenko
On 16 Feb 2004 09:10:38 -0500
Lowell Gilbert <[EMAIL PROTECTED]> probably wrote:

> Rob <[EMAIL PROTECTED]> writes:
> 
> > A few times I have seen answers to problems like:
> > 
> > "Verify this-and-this in your BIOS setting"
> > 
> > The only way to do this, that I know of, is to shutdown the system
> > and hit the DEL-key at boot up etc. But this is a bit silly, for
> > just checking a particular setting of the BIOS.
> 
> Not if the setting could indicate an important issue with booting the
> system, which is usually the case for such questions.
> 
> > Isn't there a tool in FreeBSD that shows the BIOS settings in a
> > similar layout, without shutting down the system?
> 

Theoretically, it's possible to write a program to open /dev/io and then
use the out* functions (see include/machine/cpufunc.h) to write to port
0x70, read from port 0x71 to obtain the CMOS values (hard disk type,
RTC,...). That's rude, but if you happen to *really* need it...

-- 
DoubleF
Trying to establish voice contact ... please yell into keyboard.


pgp0.pgp
Description: PGP signature


Re: How to view BIOS settings on a running system?

2004-02-16 Thread Lowell Gilbert
Rob <[EMAIL PROTECTED]> writes:

> A few times I have seen answers to problems like:
> 
>   "Verify this-and-this in your BIOS setting"
> 
> The only way to do this, that I know of, is to shutdown the system
> and hit the DEL-key at boot up etc. But this is a bit silly, for
> just checking a particular setting of the BIOS.

Not if the setting could indicate an important issue with booting the
system, which is usually the case for such questions.

> Isn't there a tool in FreeBSD that shows the BIOS settings in a
> similar layout, without shutting down the system?

No.

> I assume the kernel can access the BIOS and read all its settings,
> or is this impossible?

Theoretically, it's possible, but it would be different for every BIOS
implementation (and version, to a greater or lesser extent), and it
isn't generally useful.  FreeBSD doesn't depend on the BIOS after
booting is complete.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
 username/password "public"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to view BIOS settings on a running system?

2004-02-13 Thread Rob


Hi,

A few times I have seen answers to problems like:

	"Verify this-and-this in your BIOS setting"

The only way to do this, that I know of, is to shutdown the system
and hit the DEL-key at boot up etc. But this is a bit silly, for
just checking a particular setting of the BIOS.
Isn't there a tool in FreeBSD that shows the BIOS settings in a
similar layout, without shutting down the system?
I assume the kernel can access the BIOS and read all its settings,
or is this impossible?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"