From owner-freebsd-i386@FreeBSD.ORG Fri Dec 31 05:30:24 2004 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F408416A4CE for ; Fri, 31 Dec 2004 05:30:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C893C43D53 for ; Fri, 31 Dec 2004 05:30:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBV5UNga076774 for ; Fri, 31 Dec 2004 05:30:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBV5UNLd076773; Fri, 31 Dec 2004 05:30:23 GMT (envelope-from gnats) Resent-Date: Fri, 31 Dec 2004 05:30:23 GMT Resent-Message-Id: <200412310530.iBV5UNLd076773@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David LeCount Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9448F16A4CE for ; Fri, 31 Dec 2004 05:21:30 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7900F43D2D for ; Fri, 31 Dec 2004 05:21:30 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iBV5LU41049520 for ; Fri, 31 Dec 2004 05:21:30 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id iBV5LULx049519; Fri, 31 Dec 2004 05:21:30 GMT (envelope-from nobody) Message-Id: <200412310521.iBV5LULx049519@www.freebsd.org> Date: Fri, 31 Dec 2004 05:21:30 GMT From: David LeCount To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: i386/75686: Random device source not compatible with many 486's X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Dec 2004 05:30:24 -0000 >Number: 75686 >Category: i386 >Synopsis: Random device source not compatible with many 486's >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 31 05:30:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: David LeCount >Release: 5.3 cvsupped >Organization: >Environment: FreeBSD gateway.princekenshi.com 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: I have attempted upgrading my 486 from 5.0-RELEASE to 5.3. I am building on my Pentium 3, though that doesn't seem to have anything to do with the issue. I've used different combinations of CPUTYPE=i486, CPUTYPE?=i486, NO_CPU_CFLAGS=true, and NO_CPU_COPTFLAGS all with the same result. The kernel panics at cpuid in the random_ident_hardware function in /usr/src/sys/dev/random/probe.c. The issue is that my processor doesn't support the cpuid opcode, just as many 486's don't. I found nothing in UPDATING regarding the issue. I also inquired about it on the mailing lists 3 times, so I believe it's not my error. >How-To-Repeat: Compile a 5.3 kernel on a 486 processor that doesn't support the cpuid opcode and try to boot to it. >Fix: Edit the code so it doesn't use the cpuid opcode on processors that do not support it. The 5.0 kernel works so it must use an algorithm that's compatible with these 486's. >Release-Note: >Audit-Trail: >Unformatted: