RE: pIII Serial (or lack there-of)

Forever shall I be. (zinx@linuxfreak.com)
Thu, 14 Oct 1999 03:39:44 -0500 (CDT)


Jones D (ISaCS) wrote:

> A better solution would be a generic MSR interface.
> I know of two that are written, one by Stefan Meyer (I think), and
> another by Richard Gooch.
> Stefan's uses a device, which IMHO is a little wasteful, as you
> could just export things to /proc.
>
> Richards seems to rely upon devfs, which is a shame if you
> don't use devfs.
>
> In both the implementations above, you also don't get to see
> what MSRs are available.
>
> I've got a 75% written /proc MSR interface, any interest?
>
> regards,
>
> Dave.

Well, I don't see how this would help; after the serial is disabled via
MSR 0x119 magic, it can't be re-enabled until you reboot.. Ploping the
data to a file in /proc owned by root with 0400 perms would probably be
the best thing if it needs to be accessed (someone _has_ to have a use
for it), but it has to be read and saved before it's disabled..

As a side note, most bioses allow it to be disabled at boot time (mine
included), and I would rather linux left the bit twiddling to me.. but I
guess I can just go comment out the relevant lines :)

Also, reading MSRs works fine (as a normal user) with the rdmsr
instruction; I haven't tried writing them though (I would hope that isn't
allowed in userland)

--
Zinx Verituse (finger @bliss.penguinpowered.com for pgp/gpg keys)(new jul10/99)
pgp9FE5C9747EB8FF329BB13199C4008E67/gpg574673A12184A27A9EC0EDCCE132BCEF921B1558
0"2-1=0>0:1(2<192:0?0;0A0@2=0<0=1.0A2=0<2A0-">:#v_52*,@
55*-3*\68*-+,                                v  >

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/