Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cpuid instruction causes panic on 486DX system



On Tue, Jan 15, 2008 at 09:10:14AM +0100, Jarle Greipsland wrote:
> Hi,
> 
> I just tried to boot a current kernel on my trusty, old
> 486DX-based machine.  It panicked very early in the boot sequence
> with a "supervisor trap privileged instruction fault".  To me it
> seems that the kernel tried to use a not implemented instruction
> on this CPU.
> 
> Ten finger dmesg and backtrace:
> NetBSD 4.99.49 .....
> total memory = 40572 KB
> avail memory = 36580 KB
> Generic PC
> mainbus0 (root)
> cpu0 at mainbus0: (uniprocessor)
> cpu0: Intel 486DX (486-class)
> kernel: supervisor trap privileged instruction fault, code=0
> stopped in pid 0.1 (system) at netbsd:x86_cpuid2+0xe:  cpuid
> db> trace
> x86_cpuid2
> identifycpu
> cpu_attach
> config_attach_loc
> config_found_ia
> mainbus_attach
> config_attach_loc
> config_attach
> config_rootfound
> cpu_configure
> configure
> main

'show registers' output could be useful, particularly
%eax, %ecx and maybe %edi.  Perhaps a sub-function of
cpuid is invalid or something.

> Don't tell me that we have also de-supported the 486-class of
> CPUs.

Not that I'm aware of.

        Jonathan Kollasch

Attachment: pgp9twitNh3LW.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index