DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th October 2013
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default sysctl: third level name kern.emul.linux in kern.emul is invalid

Hi everybody !

Running :
Code:
kern.version=OpenBSD 5.4-current (GENERIC.MP) #70: Tue Oct  1 12:57:28 MDT 2013
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
After installing fedora_base , I got :
Code:
sysctl: third level name kern.emul.linux in kern.emul is invalid
Use of uninitialized value $actual in scalar chomp at /usr/libdata/perl5/OpenBSD/Add.pm line 324.
Use of uninitialized value $actual in string eq at /usr/libdata/perl5/OpenBSD/Add.pm line 325.
How can I enable linux emulation?
Reply With Quote
  #2   (View Single Post)  
Old 7th October 2013
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

what is the utility of : kern.emul.nemuls ?
Reply With Quote
  #3   (View Single Post)  
Old 7th October 2013
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,886
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by daemonfowl View Post
How can I enable linux emulation?
...& have you done any search of the documentation?

Read Section 9.4 of the FAQ.

Reply With Quote
  #4   (View Single Post)  
Old 7th October 2013
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Hi ocicat !
Yes I used to do that before this very upgrade took place .. Now after reboot I still have :

Code:
sysctl: third level name kern.emul.linux in kern.emul is invalid
when I issue sysctl kern.emul.linux=1

sysctl -a doesn't have a kern.emul.linux variable .. I only have that in my /etc/sysctl.conf
Reply With Quote
  #5   (View Single Post)  
Old 7th October 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,695
Thanked 214 Times in 189 Posts
Default

compat_linux(8) has been disabled in the GENERIC (and therefore GENERIC.MP) i386 kernel due to the time_t change. Apparently, there were problems.

http://marc.info/?l=openbsd-cvs&m=137912264124210&w=2
Reply With Quote
  #6   (View Single Post)  
Old 7th October 2013
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Hi jggimi !
Thanks for the info and the link !
Reply With Quote
  #7   (View Single Post)  
Old 7th October 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,695
Thanked 214 Times in 189 Posts
Default

There's more in this thread -- specifically, this comment from Philip Guenther (guenther@), who committed the GENERIC patch.

Quote:
...compat_linux needs further fixes to get it working again after the time_t bump. If linux compat is a "must have" then you'll need to run 5.4-release for now.
5.4-release is not yet supported. Support is expected to begin upon release, on or about 1 November 2013.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating /emul/linux after fedora_base daemonfowl OpenBSD Installation and Upgrading 2 15th January 2013 02:55 PM
Get sysctl value from a C program DNAeon FreeBSD Ports and Packages 3 29th September 2008 07:28 PM
kern.ipc.maxpipekva exceeded chavez243 FreeBSD General 2 20th August 2008 01:02 PM
kern.ipc.maxpipekva exceeded schrodinger FreeBSD General 4 22nd July 2008 01:29 PM
kern.version string in -stable? spiderpig OpenBSD General 1 4th June 2008 01:21 PM


All times are GMT. The time now is 11:49 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick