When trying to load the kqemu.ko kernel module, it fails with: kldload: can't load kqemu.ko: Exec format error /var/log/messages shows: Feb 12 03:27:58 hp010 kernel: link_elf_obj: symbol unit2minor undefined Feb 12 03:27:58 hp010 kernel: kldload: /boot/modules/kqemu.ko: Unsupported file type Feb 12 03:27:58 hp010 root: ./kqemu: WARNING: kqemu module failed to load. CURRENT > 800062 no longer has unit2minor. Fix: Apply the attached patch to emulators/kqemu-kmod-devel Note: emulators/kqemu-kmod also needs the same patch: cd /usr/ports/emulators/kqemu-kmod cp ../kqemu-kmod-devel/files/patch-unit2minorfix files Then update the PORTREVISON in emulators/kqemu-kmod/Makefile. Patch attached with submission follows: How-To-Repeat: install either emulators/kqemu-kmod or emulators/kqemu-kmod-devel then try to load kqemu.ko on a recent 8.0-CURRENT.
Responsible Changed From-To: freebsd-ports-bugs->nox Over to maintainer (via the GNATS Auto Assign Tool)
nox 2009-02-12 17:46:29 UTC FreeBSD ports repository Modified files: emulators/kqemu-kmod Makefile emulators/kqemu-kmod-devel Makefile Added files: emulators/kqemu-kmod/files patch-unit2minorfix emulators/kqemu-kmod-devel/files patch-unit2minorfix Log: - Fix kqemu on recent -current which no longer has/uses unit2minor() - Bump PORTREVISION PR: ports/131603 Submitted by: "Scot W. Hetzel" <swhetzel@gmail.com> Revision Changes Path 1.31 +1 -0 ports/emulators/kqemu-kmod-devel/Makefile 1.1 +16 -0 ports/emulators/kqemu-kmod-devel/files/patch-unit2minorfix (new) 1.30 +1 -1 ports/emulators/kqemu-kmod/Makefile 1.1 +16 -0 ports/emulators/kqemu-kmod/files/patch-unit2minorfix (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!