From cjm@satanii.enemy.org  Mon May 13 06:18:03 2002
Return-Path: <cjm@satanii.enemy.org>
Received: from mx-00.sil.at (mx-00.sil.at [62.116.68.196])
	by hub.freebsd.org (Postfix) with ESMTP id B3FBE37B404
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 13 May 2002 06:18:01 -0700 (PDT)
Received: (qmail-ldap/ctrl 83123 invoked from network); 13 May 2002 13:17:55 -0000
Received: from unknown (HELO satanii.enemy.org) ([62.116.11.3]) (envelope-sender <cjm@satanii.enemy.org>)
          by mx-00.sil.at (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP
          for <FreeBSD-gnats-submit@freebsd.org>; 13 May 2002 13:17:55 -0000
Received: (from cjm@localhost)
	by satanii.enemy.org (8.11.6/8.11.6) id g4DDHxS36569;
	Mon, 13 May 2002 15:17:59 +0200 (CEST)
	(envelope-from cjm)
Message-Id: <200205131317.g4DDHxS36569@satanii.enemy.org>
Date: Mon, 13 May 2002 15:17:59 +0200 (CEST)
From: "Chris J. Mutter" <cjm@s2.enemy.org>
Reply-To: "Chris J. Mutter" <cjm@s2.enemy.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: osf1.ko not loaded during boot-time of linux-emu enabled
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         38031
>Category:       alpha
>Synopsis:       osf1.ko not loaded during boot-time of linux-emu enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-alpha
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 13 06:20:01 PDT 2002
>Closed-Date:    Wed Nov 03 13:17:44 UTC 2010
>Last-Modified:  Wed Nov 03 13:17:44 UTC 2010
>Originator:     Chris J. Mutter
>Release:        FreeBSD 4.5-RELEASE-p4 alpha
>Organization:
Enemy.ORG Productions
>Environment:
System: FreeBSD satanii.enemy.org 4.5-RELEASE-p4 FreeBSD 4.5-RELEASE-p4 #3: Wed May 1 01:47:09 CEST 2002 root@satanii.enemy.org:/usr/obj/usr/src/sys/S2 alpha


>Description:

under freebsd-alpha if you enable linux-emulation the system doesnt load
the osf1.ko kernel module before it tries to load the linux.ko. therefore
linux-emulation does not work and i.e. things like the compaq-cc are not
available after boot.

>How-To-Repeat:

boot the machine.

>Fix:

add kldload osf1.ko in /etc/rc in the section that starts with:
case ${linux_enable} ...
>Release-Note:
>Audit-Trail:

From: Andrew Gallatin <gallatin@cs.duke.edu>
To: "Chris J. Mutter" <cjm@s2.enemy.org>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: alpha/38031: osf1.ko not loaded during boot-time of linux-emu enabled
Date: Mon, 13 May 2002 09:26:23 -0400 (EDT)

  > >Fix:
  > 
  > add kldload osf1.ko in /etc/rc in the section that starts with:
  > case ${linux_enable} ...
 
 That's more of a hacky workaround. 
 
 The real fix would be to figure out why MODULE_DEPEND(linux, osf1, 1,
 1, 1); does not work as it should.
 
 Drew

From: Sten Spans <sten@blinkenlights.nl>
To: bug-followup@FreeBSD.org, cjm@s2.enemy.org
Cc:  
Subject: Re: alpha/38031: osf1.ko not loaded during boot-time of linux-emu
 enabled
Date: Wed, 25 May 2005 00:31:21 +0200 (CEST)

 This is working fine in CURRENT:
 
 deepthought# ls /boot/kernel
 kernel          linux.ko        osf1.ko
 deepthought# echo linux_enable="YES" >> /etc/rc.conf.local
 deepthought# reboot
 ....
 Additional ABI support: linux.
 ....
 FreeBSD/alpha (deepthought.blinkenlights.nl) (ttyd0)
 
 login: root
 Password:
 Last login: Mon May 23 22:27:10 on ttyd0
 May 25 00:29:14 deepthought login: ROOT LOGIN (root) ON ttyd0
 Copyright (c) 1992-2005 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
          The Regents of the University of California. All rights reserved.
 
 FreeBSD 6.0-CURRENT (DEEPTHOUGHT) #8: Tue May 24 23:41:35 CEST 2005
 deepthought# kldstat
 Id Refs Address            Size     Name
   1    9 0xfffffc0000300000 46f3a8   kernel
   2    1 0xfffffe000015a000 2a000    linux.ko
   3    1 0xfffffe0000184000 1e000    osf1.ko
 
 If current is released soonish then persuing this won't
 be worthwile imho.
 
 -- 
 Sten Spans
 
 "There is a crack in everything, that's how the light gets in."
 Leonard Cohen - Anthem
State-Changed-From-To: open->closed 
State-Changed-By: jhb 
State-Changed-When: Wed Nov 3 13:17:29 UTC 2010 
State-Changed-Why:  
Looks like this was fixed in 6.x. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38031 
>Unformatted:
