| Summary: | osf1.ko not loaded during boot-time of linux-emu enabled | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Chris J. Mutter <cjm> |
| Component: | alpha | Assignee: | freebsd-alpha (Nobody) <alpha> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.5-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
> >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
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 Looks like this was fixed in 6.x. |
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. Fix: add kldload osf1.ko in /etc/rc in the section that starts with: case ${linux_enable} ... How-To-Repeat: boot the machine.