NetBSD-Users archive

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

Re: NetBSD/i386 7.0 hangs booting 486



Am 20.11.2015 um 22:04 schrieb Christos Zoulas:
change:
__get_cpuid_max() to always return 0 immediately and then we can debug it :-)

I could finally get 7.0 to boot on the 486 machine successfully to login prompt after several release builds and installations (no fun):

The above patch alone is not enough. __get_cpuid() also needed a work-around, as it seems to be called with __level == 0, so __get_cpuid() will not return before another cpuid instruction in it is executed.

  if (__get_cpuid_max (__ext, 0) < __level)
    return 0;

  __cpuid (__level, *__eax, *__ebx, *__ecx, *__edx);
  return 1;


I think finding a suitable bugfix is out of my league now, but can assist with testing of course.

Felix


Home | Main Index | Thread Index | Old Index