Re: Linux 2.1.108: SIGSEGV on doing cpuid in ring 3

Tigran Aivazian (tigran@sco.COM)
Wed, 8 Jul 1998 10:35:39 +0100 (BST)


Yes, thank you, I understand that now. The reason why I was confused is
because my first program was just:

jmp .

which, of course, worked fine as is.

Regards,
------
Tigran A. Aivazian | http://www.sco.com/
Escalations Research Group | Email: tigran@sco.com
Santa Cruz Operation Ltd |

On Tue, 7 Jul 1998, Alan Cox wrote:

> > The Intel PII manual says (on page 3-70 of Volume 2) that CPUID can be
> > used in any ring so I don't need to be in the kernel.
> >
> > Any ideas why it gets a SIGSEGV?
>
> Maybe you should execute something after the cpuid - like syscall(exit)
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu