en:docs:os2:os2srv

OS2Server Guide and Reference

Introduction

Goal of OS2Server server is a provide OS/2 Personality on top of L4 microkernel. OS2Server is isolation layer of OS/2 application from another personalities and L4 microkernel itself.

How it organized

OS2Server consist of:

  • Configuration file parser
  • Set of interfaces to kernel and various servers required to implement OS/2 Personality API

OS2Server uses file provider interface to load config.sys and parses it. While parsing is in progress server loop active already because parsing work in separate thread. Parser thread also starts all RUN and CALL applications pointed in CONFIG.SYS and last task it executes is a PROTSHELL task. CONFIG.SYS stataments processed in folowing way:

  1. Skip all BASEDEV stataments
  2. Skip all DEVICE stataments
  3. Skip all IFS stataments
  4. Generate environment according SET stataments
  5. Execute all applications pointed by CALL statament
  6. Execute all applications pointed by RUN statament
  7. Execute application pointed by PROTSHELL statament

Configuration

OS2Server and OS/2 Personality environment configured via text config file named CONFIG.SYS. CONFIG.SYS mostly same as in original OS/2 except some osFree specific things. As example, IFS, BASEDEV and DEVICE statament are ignored because all drivers works in Neutral Personality. Also, additional stataments are supported, like DRIVEMAPPING statament which maps drive letters to Neutral Personality Virtual File System (L4VFS). Here is list of all CONFIG.SYS stataments and variables (most of them not supported yet if no any description of statament here):

  • AUTOFAIL
  • BUFFERS
  • CALL Executes corresponding applications which pointed by this statament.
  • CLOCKSCALE
  • CLOSEFILES
  • CODEPAGE
  • COUNTRY
  • DEVINFO_KBD
  • DEVINFO_VIO
  • DISKCACHE
  • DLLBASING
  • DUMPPROCESS
  • EARLYMEMINIT
  • FAKEISS
  • I13PAGES
  • IBM_JAVA_OPTIONS
  • IOPL
  • IROPT
  • JAVANOFPK
  • LASTDRIVE
  • LDRSTACKOPT
  • LIBPATH
  • MAXWAIT
  • MEMMAN
  • MODE
  • NDWTIMER
  • PAUSEONERROR
  • PRINTMONBUFSIZE
  • PRIORITY
  • PRIORITY_DISK_IO
  • PROTECTONLY
  • PROTSHELL statament containg name of main OS/2 task which executed on OS/2 Personality startup. It can be command line processor, GUI, task manager or any other task which will be starting point for other tasks.
  • RASKDATA
  • REIPL
  • REMOTE_INSTALL_STATE
  • RESERVEDRIVELETTER
  • RUN Start during startup VIO (not PM) programs after all device statements.
  • SETBOOT
  • SOURCEPATH
  • STRACE
  • SUPPRESSPOPUPS
  • SWAPPATH
  • SXFAKEHWFPU
  • SYSDUMP
  • THREADS
  • TIMESLICE
  • TRACE
  • TRACEBUF
  • TRAPDUMP
  • TRAPLOG
  • TRUEMODE
  • VIRTUALADDRESSLIMIT
  • VME
  • WORKPLACE_NATIVE
  • WORKPLACE_PRIMARY_CP
  • WORKPLACE_PROCESS
  • WP_OBJHANDLE

In addition to CONFIG.SYS file OS2Server supports some set of command line arguments:

  • -s, –server (default=BMODFS) file provider name which used to load CONFIG.SYS
  • -n, –name (default=config.sys) file name of configuration file. It can be not CONFIG.SYS, but any pointed here file

Interfaces

 
interface os2server
 {
 }

os2server execution via l4vfs

	title = os2server demo (l4vfs)
	kernel = $(ROOT)/bootstrap -serial
	modaddr 0x02000000
	module = $(ROOT)/$(ABI)/fiasco -nowait -nokdb -serial -jdb_never_stop -tbuf_entries=32768 -jdb_cmd=JH
	module = $(ROOT)/$(ABI)/sigma0
	module = $(ROOT)/$(ABI)/roottask \
	task modname "l4io" boot_priority 0xC0 \
	task modname "sigma0" boot_priority 0xA0 \
	task modname "roottask" boot_priority 0xA0 \
	task modname "log" boot_priority 0xC0 \
	task modname "simple_file_server" attached 8 modules
	module = $(ROOT)/$(ABI)/names
	module = $(ROOT)/$(ABI)/log
	module = $(ROOT)/$(ABI)/dm_phys
	module = $(ROOT)/$(ABI)/simple_ts -t 300
	module = $(ROOT)/$(ABI)/rtc
	module = $(ROOT)/$(ABI)/l4io --noirq
	module = $(ROOT)/$(ABI)/name_server -p
	module = $(ROOT)/$(ABI)/simple_file_server -v 12
	module = $(ROOT)/$(ABI)/libloader.s.so libloader.s.so
	module = $(CFG)/os2-l4vfs.cfg os2-l4vfs.cfg
	module = $(ROOT)/$(ABI)/con_demo1 con_demo1
	module = $(ROOT)/$(ABI)/con_demo2 con_demo2
	module = $(ROOT)/$(ABI)/con_demo3 con_demo3
	module = $(ROOT)/$(ABI)/os2server os2server
	module = $(CFG)/config.sys config.sys
	module = $(ROOT)/$(ABI)/VioWrtTTY_test VioWrtTTY_test
	module = $(ROOT)/$(ABI)/fstab -v 12 -b / -m /sfs
	module = $(ROOT)/$(ABI)/fprov_proxy
	module = $(ROOT)/$(ABI)/l4con --l4io
	module = $(ROOT)/$(ABI)/l4exec
	module = $(ROOT)/$(ABI)/loader --fprov=fprov_proxy_fs /sfs/os2-l4vfs.cfg
	vbeset 0x111

	# cfg_os2
	verbose 0
	modpath "/sfs"
	sleep 0
	task "con_demo1" ""
	priority 0xA0
	task "con_demo2" ""
	priority 0xA0
	task "con_demo3" ""
	priority 0xA0
	task "os2server" "--server fprov_proxy_fs --name /sfs/config.sys"
	priority 0xA0

config.sys:
	PROTSHELL=/sfs/VioWrtTTY_test

Discussion

, 2025/05/06 14:20

Is your website Osfree failing to capture its true potential? With our intelligent traffic system, you can engage thousands of additional visitors daily—without any extra effort on your part.

Take advantage of our free trial that delivers a 4,000-visitor boost so you can see the impact. If you love the results, our plans offer up to 400,000 visitors per month. Let’s turn missed opportunities into growth. Get more details here: https://cutt.ly/1rkkYupq

, 2025/05/06 22:46

Struggling to get targeted leads to your Osfree website? Watch this: https://www.youtube.com/shorts/WAWTLuiOtfM

, 2025/05/09 06:39

Is your Osfree website missing out on leads? See how our AI can fix that: https://www.youtube.com/shorts/WAWTLuiOtfM

, 2025/05/12 06:37

Capture increased leads for your osfree.org website by leveraging AI on Instagram. If you're looking to boost enhanced traffic, create leads, and grow your brand's reach, you can access more information and start a complimentary trial here: https://ow.ly/aSLa50VycS2

This is an AI-powered Instagram growth service that: -Increases followers with specific, premium audiences. -Enhances engagement through intelligent AI algorithms. -Focuses on users based on hashtags and accounts they follow. -Saves work by automating time-consuming Instagram tasks.

Our service prioritizes on real, organic growth—zero bots, without fake followers. It’s ideal for brands like yours that want to turn Instagram into a lead generation powerhouse. Best of all, our service is provided on a month-by-month subscription basis so you can opt out whenever you like. No contracts and a one-week free trial.

, 2025/05/12 21:03

Boost your Osfree website’s traffic with AI! Watch this to learn more: https://www.youtube.com/shorts/WAWTLuiOtfM

, 2025/05/14 08:23

Every day, websites like Osfree miss valuable traffic opportunities. Don’t let yours be one of them. Our smart traffic system is designed to boost visibility and bring highly targeted traffic to your site.

Claim your 4,000 free visitors to test the benefits firsthand. Then, upgrade to plans offering up to 400K visitors per month. It’s time to unlock your website’s true traffic potential. Get started here: https://cutt.ly/DrzWJwmK

, 2025/05/14 17:03

Struggling with low website leads for Osfree? This short video shows how our AI can boost your traffic: https://www.youtube.com/shorts/WAWTLuiOtfM

, 2025/05/15 16:07

Not getting enough leads for Osfree? Check out this video to see our AI traffic solution in action: https://www.youtube.com/shorts/WAWTLuiOtfM

, 2025/05/16 22:51

Not getting the social media traction you deserve? Let us simplify your social media and amplify your presence. We make social media effortless by: Creating and posting 5 engaging social media posts per week customized to match your brand’s style and objectives.

Using our AI-powered growth software to strategically increase your account’s reach, engagement, and followers.

Imagine having a consistent, professional social media presence without lifting a finger. We manage all aspects of content creation and posting, with our AI driving consistent growth. Ready to take your social media to the next level? Hit reply or visit https://cutt.ly/Irk0THq5 for a brief call to discover how we can make your brand stand out.

, 2025/05/17 18:41

What if your website osfree.org was guaranteed a huge surge in traffic? Many businesses overlook thousands of daily visitors simply because they aren’t optimized.

With our cutting-edge traffic solution, you can attract four thousand highly targeted visitors as part of a free trial. If you like what you see, our plans offer up to 350K visitors monthly—helping your site grow. Get more details here: https://ow.ly/3avx50VycEU

, 2025/05/19 22:16

Want more targeted traffic to your Osfree website? See how our AI-powered solution can help in this quick video: https://www.youtube.com/shorts/WAWTLuiOtfM

, 2025/05/23 08:11

Ready to drive targeted visitors to your Osfree site? This quick video explains how our AI works: https://www.youtube.com/shorts/WAWTLuiOtfM

, 2025/05/23 12:06

Is your Osfree website missing out on leads? See how our AI can fix that: https://www.youtube.com/shorts/WAWTLuiOtfM

, 2025/05/23 22:08

Use AI to scrape leads for your website and business for free. Scrape users based on keywords and locations, then contact them automatically with our powerful system. Try it free here: https://cutt.ly/grxEeBU5

, 2025/05/24 02:21

Every day, websites like Osfree miss valuable traffic opportunities. Don’t let yours be one of them. Our AI-powered traffic system is designed to boost visibility and bring highly targeted traffic to your site.

Claim your complimentary 4,000-visitor trial to experience the benefits firsthand. Then, expand to plans offering up to 400K visitors per month. It’s time to unlock your website’s true traffic potential. Get started here: https://cutt.ly/NrcJztOI

Enter your comment. Wiki syntax is allowed:
68᠎ -10 =