View Single Post

   
  #3 (permalink)  
Old 02-16-2008, 07:24 AM
R J Thompson
 
Posts: n/a
Default Re: Unique hardware references in OpenBSD

Hi Russell

Thanks for the reply, I'll try that, haven't done any ASM for years but
could come in useful now

Richard

russell kym horsell wrote:
> R J Thompson <rjt@linuxworks.co.uk> wrote:
>> Hello

> [...serial number...]
>
>
> First step will be to enable cpu serial number in the BIOS. By
> default it's usually switched off.
>
> On some *bsd O/S it's displayed by the boot mesages -- i.e.
> lood in obsd somewhere like /var/run/dmesg.boot or use the "dmesg"
> commant if not too far into uptime.
>
> Some VM utilities also print out whatever internal register on the x86
> (or whatever) the cpu serial is in.
>
> On x86 chips there's a CPUID instruction. If you put 3 in EAX first,
> it returns the chip serial no. Happy "asm(...)" or assembly hacking.

Reply With Quote