Anders Langworthy wrote:
I have a Sharp MP30 notebook that won't boot on OpenBSD/i386. I am unsure if my situation is a bug or unsupported hardware. The issue seems to be the CPU. It is a Transmeta Efficeon processor at 1.60 GHz. The processor is supposedly Pentium Pro (686) compatible. ...snip...
As an update to anybody tinkering with this: This diff from Tom Cosgrove allows the kernel to detect the cpu and boot properly on my system:
Index: machdep.c =================================================================== RCS file: /cvs/src/sys/arch/i386/i386/machdep.c,v retrieving revision 1.411 diff -U9 -r1.411 machdep.c --- machdep.c 12 Nov 2007 01:17:41 -0000 1.411 +++ machdep.c 24 Nov 2007 20:22:22 -0000 @@ -925,18 +925,63 @@ /* Family 6, not yet available from Transmeta */ { CPUCLASS_686, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "686 class" /* Default */ }, NULL + }, + /* Family 7 */ + { + CPUCLASS_686, + } , + /* Family 8 */ + { + CPUCLASS_686, + } , + /* Family 9 */ + { + CPUCLASS_686, + } , + /* Family A */ + { + CPUCLASS_686, + } , + /* Family B */ + { + CPUCLASS_686, + } , + /* Family C */ + { + CPUCLASS_686, + } , + /* Family D */ + { + CPUCLASS_686, + } , + /* Family E */ + { + CPUCLASS_686, + } , + /* Family F */ + { + /* Extended processor family - Transmeta Efficeon */ + CPUCLASS_686, + { + 0, 0, "TM8000", "TM8000", + 0, 0, 0, 0, + 0, 0, 0, 0, + 0, 0, 0, 0, + "TM8000" /* Default */ + }, + tm86_cpu_setup } } }, { "Geode by NSC", CPUVENDOR_NS, "National Semiconductor", /* Family 4, not available from National Semiconductor */ { { CPUCLASS_486, @@ -1493,7 +1538,7 @@ void tm86_cpu_setup(struct cpu_info *ci) { -#if !defined(SMALL_KERNEL) && defined(I586_CPU) +#if !defined(SMALL_KERNEL) && (defined(I586_CPU) || defined(I686_CPU)) longrun_init(); #endif }