<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://gunkies.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Roytam</id>
		<title>Computer History Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://gunkies.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Roytam"/>
		<link rel="alternate" type="text/html" href="https://gunkies.org/wiki/Special:Contributions/Roytam"/>
		<updated>2026-04-15T17:56:29Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.1</generator>

	<entry>
		<id>https://gunkies.org/w/index.php?title=386BSD_0.0&amp;diff=10773</id>
		<title>386BSD 0.0</title>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=386BSD_0.0&amp;diff=10773"/>
				<updated>2012-04-15T00:24:20Z</updated>
		
		<summary type="html">&lt;p&gt;Roytam: fix shbang patch url&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:386BSD 0.0.jpg|thumb|200px|right|386BSD 0.0 floppy]]&lt;br /&gt;
&lt;br /&gt;
[[386 BSD]] 0.0 ... is bare.  It is not what you would expect, being spoiled in multiuser systems!&lt;br /&gt;
&lt;br /&gt;
As they state:&lt;br /&gt;
&lt;br /&gt;
At  the  moment,  386BSD  comes up single user, and requires manual starting of the system  daemons,  as  well  as filesystem  checks. In use, one would minimally wish to type after booting:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck -p&lt;br /&gt;
mount -a&lt;br /&gt;
update&lt;br /&gt;
/etc/netstart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will improve in forthcoming  versions  of  386BSD. Be  aware  that  the  user is running as the super-user, and care should be taken given the maximum privileges present.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That is right, no login, you are just running as root!!!!&lt;br /&gt;
&lt;br /&gt;
== The 0.0 announcement ==&lt;br /&gt;
[[386BSD 0.0 announcement]]&lt;br /&gt;
&lt;br /&gt;
== releases ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
There have been three releases &lt;br /&gt;
of &amp;quot;0.0&amp;quot;, though.  The first wasn't really intended for global release, and &lt;br /&gt;
was quickly followed by a &amp;quot;fixup&amp;quot; release, called &amp;quot;0.0new&amp;quot; by some.  Then &lt;br /&gt;
another fixup version of 0.0 was released.  According to Bill, this couldn't &lt;br /&gt;
be called 0.1, as there was something called 0.1 and 0.2 already in Beta &lt;br /&gt;
test at a few sites.  So it stayed 0.0, and has been identified as &amp;quot;0.0newer&amp;quot; &lt;br /&gt;
and the &amp;quot;3/17&amp;quot; release of 0.0, that I've seen.  (Possibly others, as well?) &amp;lt;/pre&amp;gt;&lt;br /&gt;
Oh man, no wonder it's so... confusing!?  source from [http://groups.google.com/group/comp.unix.bsd/browse_thread/thread/08df2132c2a6cb02?hl=en here], I wonder which one we have......&lt;br /&gt;
&lt;br /&gt;
== what runs ==&lt;br /&gt;
Well there isn't even a 'ps' command!  Gcc is version 1.39!  A 'full' install, binaries and source is 43mb!  this is  a super bare bones port!  &lt;br /&gt;
&lt;br /&gt;
*Ethernet seems to be only WD 8003 cards, and NE2000 ... &lt;br /&gt;
&lt;br /&gt;
building a kernel easily causes it to trap!..&lt;br /&gt;
&lt;br /&gt;
danger ahead!&lt;br /&gt;
&lt;br /&gt;
=== building a kernel ===&lt;br /&gt;
the first thing you'll have to deal with is missing commands..&lt;br /&gt;
*sort&lt;br /&gt;
*grep&lt;br /&gt;
*test / [&lt;br /&gt;
&lt;br /&gt;
== getting this to run ==&lt;br /&gt;
So far no emulator can install from the boot disk. So I cheated.&lt;br /&gt;
&lt;br /&gt;
NetBSD 0.8's floppy driver works (probably 386BSD 0.0p23 &amp;amp; 24 too) so&lt;br /&gt;
I mounted the 0.0 floppy and copied the contents off.  Then I took a&lt;br /&gt;
copy of my NetBSD 0.8 hard disk (which started as 386BSD 0.1) newfs'd&lt;br /&gt;
the a partition, mounted it, and copyied in the 0.0 files.&lt;br /&gt;
&lt;br /&gt;
Much to my surprise not only did the 0.1 bootblocks load the 0.0&lt;br /&gt;
kernel, but the 0.0 kernel reads the 0.1 disk just fine.&lt;br /&gt;
&lt;br /&gt;
And all the 'errors' about stray interrupts and 'format error in&lt;br /&gt;
bad-sector file' are normal (it's in usenet) as 0.0 was a very touchy&lt;br /&gt;
animal.&amp;lt;ref&amp;gt;actually it is still present in later version but controlled by wdquiet variable. --[[User:Roytam|Roytam]] 06:54, 14 April 2012 (PDT)&amp;lt;/ref&amp;gt;  So, ignoring the floppy I ran it under Qemu and it's&lt;br /&gt;
'fast!...' but it works better when the clock is in the 1990's&lt;br /&gt;
otherwise it'll reset back to 1970 and things act weird.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qemu -L pc-bios -hda 386bsd.disk -M isapc -net nic -net user -no-reboot -m 8 -startdate &amp;quot;1993-12-07&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
right now the fastest and best option is Qemu.  0.11.1 is the highest version to work, as the 'SEABios' has issues with the boot loader. My image is [http://vpsland.superglobalmegacorp.com/install/386BSD/386bsd-0.0/qemu/386BSD-0.0.qcow2 here].  The ethernet doesn't work right, just a few stray interrupt 0's then it freezes up. I wonder if it could be timing, that maybe a way to slow qemu down....?&lt;br /&gt;
&lt;br /&gt;
== critical patches ==&lt;br /&gt;
There was a flurry of fixes and addendums for 0.0  as it was a little rough around the edges..&lt;br /&gt;
*[http://groups.google.com/group/comp.unix.bsd/browse_thread/thread/1c6397039f10e76b?hl=en close-on-exec was broken]&lt;br /&gt;
*[http://groups.google.com/group/comp.unix.bsd/browse_thread/thread/cb899f7ccb81550b?hl=en more cooked/raw mode issues]&lt;br /&gt;
* [http://www.dnull.com/bsd/oldnews/bsdnew1761.html shbang support and proper handling long arg list]&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{Reflist}}&lt;/div&gt;</summary>
		<author><name>Roytam</name></author>	</entry>

	<entry>
		<id>https://gunkies.org/w/index.php?title=386BSD_0.0&amp;diff=10772</id>
		<title>386BSD 0.0</title>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=386BSD_0.0&amp;diff=10772"/>
				<updated>2012-04-14T13:54:31Z</updated>
		
		<summary type="html">&lt;p&gt;Roytam: add some footnotes (wikip-style)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:386BSD 0.0.jpg|thumb|200px|right|386BSD 0.0 floppy]]&lt;br /&gt;
&lt;br /&gt;
[[386 BSD]] 0.0 ... is bare.  It is not what you would expect, being spoiled in multiuser systems!&lt;br /&gt;
&lt;br /&gt;
As they state:&lt;br /&gt;
&lt;br /&gt;
At  the  moment,  386BSD  comes up single user, and requires manual starting of the system  daemons,  as  well  as filesystem  checks. In use, one would minimally wish to type after booting:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck -p&lt;br /&gt;
mount -a&lt;br /&gt;
update&lt;br /&gt;
/etc/netstart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will improve in forthcoming  versions  of  386BSD. Be  aware  that  the  user is running as the super-user, and care should be taken given the maximum privileges present.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That is right, no login, you are just running as root!!!!&lt;br /&gt;
&lt;br /&gt;
== The 0.0 announcement ==&lt;br /&gt;
[[386BSD 0.0 announcement]]&lt;br /&gt;
&lt;br /&gt;
== releases ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
There have been three releases &lt;br /&gt;
of &amp;quot;0.0&amp;quot;, though.  The first wasn't really intended for global release, and &lt;br /&gt;
was quickly followed by a &amp;quot;fixup&amp;quot; release, called &amp;quot;0.0new&amp;quot; by some.  Then &lt;br /&gt;
another fixup version of 0.0 was released.  According to Bill, this couldn't &lt;br /&gt;
be called 0.1, as there was something called 0.1 and 0.2 already in Beta &lt;br /&gt;
test at a few sites.  So it stayed 0.0, and has been identified as &amp;quot;0.0newer&amp;quot; &lt;br /&gt;
and the &amp;quot;3/17&amp;quot; release of 0.0, that I've seen.  (Possibly others, as well?) &amp;lt;/pre&amp;gt;&lt;br /&gt;
Oh man, no wonder it's so... confusing!?  source from [http://groups.google.com/group/comp.unix.bsd/browse_thread/thread/08df2132c2a6cb02?hl=en here], I wonder which one we have......&lt;br /&gt;
&lt;br /&gt;
== what runs ==&lt;br /&gt;
Well there isn't even a 'ps' command!  Gcc is version 1.39!  A 'full' install, binaries and source is 43mb!  this is  a super bare bones port!  &lt;br /&gt;
&lt;br /&gt;
*Ethernet seems to be only WD 8003 cards, and NE2000 ... &lt;br /&gt;
&lt;br /&gt;
building a kernel easily causes it to trap!..&lt;br /&gt;
&lt;br /&gt;
danger ahead!&lt;br /&gt;
&lt;br /&gt;
=== building a kernel ===&lt;br /&gt;
the first thing you'll have to deal with is missing commands..&lt;br /&gt;
*sort&lt;br /&gt;
*grep&lt;br /&gt;
*test / [&lt;br /&gt;
&lt;br /&gt;
== getting this to run ==&lt;br /&gt;
So far no emulator can install from the boot disk. So I cheated.&lt;br /&gt;
&lt;br /&gt;
NetBSD 0.8's floppy driver works (probably 386BSD 0.0p23 &amp;amp; 24 too) so&lt;br /&gt;
I mounted the 0.0 floppy and copied the contents off.  Then I took a&lt;br /&gt;
copy of my NetBSD 0.8 hard disk (which started as 386BSD 0.1) newfs'd&lt;br /&gt;
the a partition, mounted it, and copyied in the 0.0 files.&lt;br /&gt;
&lt;br /&gt;
Much to my surprise not only did the 0.1 bootblocks load the 0.0&lt;br /&gt;
kernel, but the 0.0 kernel reads the 0.1 disk just fine.&lt;br /&gt;
&lt;br /&gt;
And all the 'errors' about stray interrupts and 'format error in&lt;br /&gt;
bad-sector file' are normal (it's in usenet) as 0.0 was a very touchy&lt;br /&gt;
animal.&amp;lt;ref&amp;gt;actually it is still present in later version but controlled by wdquiet variable. --[[User:Roytam|Roytam]] 06:54, 14 April 2012 (PDT)&amp;lt;/ref&amp;gt;  So, ignoring the floppy I ran it under Qemu and it's&lt;br /&gt;
'fast!...' but it works better when the clock is in the 1990's&lt;br /&gt;
otherwise it'll reset back to 1970 and things act weird.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qemu -L pc-bios -hda 386bsd.disk -M isapc -net nic -net user -no-reboot -m 8 -startdate &amp;quot;1993-12-07&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
right now the fastest and best option is Qemu.  0.11.1 is the highest version to work, as the 'SEABios' has issues with the boot loader. My image is [http://vpsland.superglobalmegacorp.com/install/386BSD/386bsd-0.0/qemu/386BSD-0.0.qcow2 here].  The ethernet doesn't work right, just a few stray interrupt 0's then it freezes up. I wonder if it could be timing, that maybe a way to slow qemu down....?&lt;br /&gt;
&lt;br /&gt;
== critical patches ==&lt;br /&gt;
There was a flurry of fixes and addendums for 0.0  as it was a little rough around the edges..&lt;br /&gt;
*[http://groups.google.com/group/comp.unix.bsd/browse_thread/thread/1c6397039f10e76b?hl=en close-on-exec was broken]&lt;br /&gt;
*[http://groups.google.com/group/comp.unix.bsd/browse_thread/thread/cb899f7ccb81550b?hl=en more cooked/raw mode issues]&lt;br /&gt;
* [http://www.dnull.com/bsd/oldnews/bsdnew1671.html shbang support and proper handling long arg list]&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{Reflist}}&lt;/div&gt;</summary>
		<author><name>Roytam</name></author>	</entry>

	<entry>
		<id>https://gunkies.org/w/index.php?title=386BSD_0.0&amp;diff=10771</id>
		<title>386BSD 0.0</title>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=386BSD_0.0&amp;diff=10771"/>
				<updated>2012-04-14T13:34:38Z</updated>
		
		<summary type="html">&lt;p&gt;Roytam: add one more patch&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:386BSD 0.0.jpg|thumb|200px|right|386BSD 0.0 floppy]]&lt;br /&gt;
&lt;br /&gt;
[[386 BSD]] 0.0 ... is bare.  It is not what you would expect, being spoiled in multiuser systems!&lt;br /&gt;
&lt;br /&gt;
As they state:&lt;br /&gt;
&lt;br /&gt;
At  the  moment,  386BSD  comes up single user, and requires manual starting of the system  daemons,  as  well  as filesystem  checks. In use, one would minimally wish to type after booting:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fsck -p&lt;br /&gt;
mount -a&lt;br /&gt;
update&lt;br /&gt;
/etc/netstart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will improve in forthcoming  versions  of  386BSD. Be  aware  that  the  user is running as the super-user, and care should be taken given the maximum privileges present.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That is right, no login, you are just running as root!!!!&lt;br /&gt;
&lt;br /&gt;
== The 0.0 announcement ==&lt;br /&gt;
[[386BSD 0.0 announcement]]&lt;br /&gt;
&lt;br /&gt;
== releases ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
There have been three releases &lt;br /&gt;
of &amp;quot;0.0&amp;quot;, though.  The first wasn't really intended for global release, and &lt;br /&gt;
was quickly followed by a &amp;quot;fixup&amp;quot; release, called &amp;quot;0.0new&amp;quot; by some.  Then &lt;br /&gt;
another fixup version of 0.0 was released.  According to Bill, this couldn't &lt;br /&gt;
be called 0.1, as there was something called 0.1 and 0.2 already in Beta &lt;br /&gt;
test at a few sites.  So it stayed 0.0, and has been identified as &amp;quot;0.0newer&amp;quot; &lt;br /&gt;
and the &amp;quot;3/17&amp;quot; release of 0.0, that I've seen.  (Possibly others, as well?) &amp;lt;/pre&amp;gt;&lt;br /&gt;
Oh man, no wonder it's so... confusing!?  source from [http://groups.google.com/group/comp.unix.bsd/browse_thread/thread/08df2132c2a6cb02?hl=en here], I wonder which one we have......&lt;br /&gt;
&lt;br /&gt;
== what runs ==&lt;br /&gt;
Well there isn't even a 'ps' command!  Gcc is version 1.39!  A 'full' install, binaries and source is 43mb!  this is  a super bare bones port!  &lt;br /&gt;
&lt;br /&gt;
*Ethernet seems to be only WD 8003 cards, and NE2000 ... &lt;br /&gt;
&lt;br /&gt;
building a kernel easily causes it to trap!..&lt;br /&gt;
&lt;br /&gt;
danger ahead!&lt;br /&gt;
&lt;br /&gt;
=== building a kernel ===&lt;br /&gt;
the first thing you'll have to deal with is missing commands..&lt;br /&gt;
*sort&lt;br /&gt;
*grep&lt;br /&gt;
*test / [&lt;br /&gt;
&lt;br /&gt;
== getting this to run ==&lt;br /&gt;
So far no emulator can install from the boot disk. So I cheated.&lt;br /&gt;
&lt;br /&gt;
NetBSD 0.8's floppy driver works (probably 386BSD 0.0p23 &amp;amp; 24 too) so&lt;br /&gt;
I mounted the 0.0 floppy and copied the contents off.  Then I took a&lt;br /&gt;
copy of my NetBSD 0.8 hard disk (which started as 386BSD 0.1) newfs'd&lt;br /&gt;
the a partition, mounted it, and copyied in the 0.0 files.&lt;br /&gt;
&lt;br /&gt;
Much to my surprise not only did the 0.1 bootblocks load the 0.0&lt;br /&gt;
kernel, but the 0.0 kernel reads the 0.1 disk just fine.&lt;br /&gt;
&lt;br /&gt;
And all the 'errors' about stray interrupts and 'format error in&lt;br /&gt;
bad-sector file' are normal (it's in usenet) as 0.0 was a very touchy&lt;br /&gt;
animal.  So, ignoring the floppy I ran it under Qemu and it's&lt;br /&gt;
'fast!...' but it works better when the clock is in the 1990's&lt;br /&gt;
otherwise it'll reset back to 1970 and things act weird.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qemu -L pc-bios -hda 386bsd.disk -M isapc -net nic -net user -no-reboot -m 8 -startdate &amp;quot;1993-12-07&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
right now the fastest and best option is Qemu.  0.11.1 is the highest version to work, as the 'SEABios' has issues with the boot loader. My image is [http://vpsland.superglobalmegacorp.com/install/386BSD/386bsd-0.0/qemu/386BSD-0.0.qcow2 here].  The ethernet doesn't work right, just a few stray interrupt 0's then it freezes up. I wonder if it could be timing, that maybe a way to slow qemu down....?&lt;br /&gt;
&lt;br /&gt;
== critical patches ==&lt;br /&gt;
There was a flurry of fixes and addendums for 0.0  as it was a little rough around the edges..&lt;br /&gt;
*[http://groups.google.com/group/comp.unix.bsd/browse_thread/thread/1c6397039f10e76b?hl=en close-on-exec was broken]&lt;br /&gt;
*[http://groups.google.com/group/comp.unix.bsd/browse_thread/thread/cb899f7ccb81550b?hl=en more cooked/raw mode issues]&lt;br /&gt;
* [http://www.dnull.com/bsd/oldnews/bsdnew1671.html shbang support and proper handling long arg list]&lt;/div&gt;</summary>
		<author><name>Roytam</name></author>	</entry>

	<entry>
		<id>https://gunkies.org/w/index.php?title=Talk:Installing_386BSD_1.0_on_Qemu&amp;diff=10770</id>
		<title>Talk:Installing 386BSD 1.0 on Qemu</title>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=Talk:Installing_386BSD_1.0_on_Qemu&amp;diff=10770"/>
				<updated>2012-04-14T13:31:45Z</updated>
		
		<summary type="html">&lt;p&gt;Roytam: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A bit raw still, but this gets the installer going on some default cloud computing service fedora box. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum -y install wget&lt;br /&gt;
yum -y install gcc&lt;br /&gt;
yum -y install gcc-c++&lt;br /&gt;
yum -y install ncurses-devel&lt;br /&gt;
yum -y install zlib-devel.i386&lt;br /&gt;
cd /usr/local/src&lt;br /&gt;
wget http://download.savannah.gnu.org/releases/qemu/qemu-0.12.3.tar.gz&lt;br /&gt;
gunzip -c qemu-0.12.3.tar.gz |tar -xvf -&lt;br /&gt;
cd qemu-0.12.3&lt;br /&gt;
./configure --enable-curses&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
cd&lt;br /&gt;
wget http://www.xs4all.nl/~dugo/5boot.img&lt;br /&gt;
wget http://www.xs4all.nl/~dugo/ddbboot.img&lt;br /&gt;
#get CD image XXX&lt;br /&gt;
qemu-img create disk 1G&lt;br /&gt;
cp ddbboot.img 5.img; qemu -fda 5.img -hda disk -hdb 386BSDCD -curses -m 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then in *brrr* DOS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\boot 386bsd.ddb wd1d&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then..:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
          Text 466944&lt;br /&gt;
          Data 20480&lt;br /&gt;
          Start 0xfe000000&lt;br /&gt;
          can't open emm&lt;br /&gt;
          386BSD Release 1.0 by William &amp;amp; Lynne Jolitz. [1.0.22  10/27/94 15:32]&lt;br /&gt;
          Copyright (c) 1989-1994 William F. Jolitz. All rights reserved.&lt;br /&gt;
          clk:  irq0&lt;br /&gt;
          pc: pc0 &amp;lt;color&amp;gt; port 60 irq1&lt;br /&gt;
          aux:  port 310 irq12&lt;br /&gt;
          wd: wd0 &amp;lt;QEMU HARDDISK&amp;gt; wd1 &amp;lt;QEMU HARDDISK&amp;gt;  port 1f0 irq14&lt;br /&gt;
          fd: fd0: 1.44M port 3f0 irq6 drq2&lt;br /&gt;
          com: com1: fifo port 3f8 irq4&lt;br /&gt;
          lpt: lpt0  port 378 irq7&lt;br /&gt;
          npx: npx: irq13&lt;br /&gt;
          mcd:  port 300 irq10&lt;br /&gt;
          erase ^?, kill ^U, intr ^C&lt;br /&gt;
          # ./install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Yes, US/Pacific is fine, partitioning, not so much.&lt;br /&gt;
&lt;br /&gt;
[[User:Dugo|Dugo]] 23:54, 4 May 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Building a Kernel Program ==&lt;br /&gt;
&lt;br /&gt;
The default kernel works like total crap for after the install. I didn't make a /.config file for it, but that shouldn't stop it from understanding inet. Let's try the book:&lt;br /&gt;
&lt;br /&gt;
''Building a Kernel Program''&lt;br /&gt;
&lt;br /&gt;
''In use, this arrangement is much akin to the layout of utilities in the rest of the system. To build a stock kernel out of the stock release, type make  in the kernel directory (/usr/src/kernel).''&lt;br /&gt;
&lt;br /&gt;
Can't be that simpel. The Makefile looks for stock.mk, which isn't there.&lt;br /&gt;
&lt;br /&gt;
''The stock kernel simply selects the modules necessary to run the system on a ordinary IBM clone PC. This defacto industry standard is a system with a video display, IDE drive, floppy, serial and parallel ports.''&lt;br /&gt;
&lt;br /&gt;
Ok,ok, back then the industry standard was running without ethernet adapters, now I understand.&lt;br /&gt;
&lt;br /&gt;
''Other &amp;quot;ready-made&amp;quot; configurations are available in the configuration subdirectory, by copying one to the computer's hostname file (ex: host &amp;quot;foo&amp;quot; would use the config/foo.mk file). Custom configurations may be made by editing the file with a text editor.''&lt;br /&gt;
&lt;br /&gt;
''On initial (re)configuration, the configured kernel should have its compilation dependencies set by issuing a make depend.  A stale set of object files can be erased by issuing a make clean  prior to recreating a kernel. ''&lt;br /&gt;
&lt;br /&gt;
Which one do you copy? Know what, will just use what the Jolitzes used on their laptop.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hostname odysseus&lt;br /&gt;
mount -u /&lt;br /&gt;
cd /usr/src/kernel&lt;br /&gt;
make clean&lt;br /&gt;
make depend&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And then the whole thing breaks, moaning about Unclosed conditionals starting with config.std.mk. When you look at it, you see a .if an a .endif plus a bunch of .include. Looks closed to me. To be continued....&lt;br /&gt;
&lt;br /&gt;
== Testing a New Kernel Program ==&lt;br /&gt;
&lt;br /&gt;
''A freshly made kernel can be tested by installing it with the make install  command, which places it in the root as the file /386bsd.alt. This file can be booted selectively by the system bootstrap (see man bootstrap). Alternatively, a bootable floppy (see &amp;quot;man floppy&amp;quot;) can be used to hold the new kernel and its dedicated root filesystem to check out a new kernel in isolation from the main system.'' &lt;br /&gt;
&lt;br /&gt;
''The &amp;quot;-debug&amp;quot; and &amp;quot;-specify&amp;quot; flags can be used with the bootstrap to invoke run time diagnostic facilities to illustrate kernel operation on the console as a means to allow fault isolation.''&lt;br /&gt;
&lt;br /&gt;
There is no man floppy and no man bootstrap. Now if the default bootblocks worked out of the box that wouldn't be such a problem.&lt;br /&gt;
&lt;br /&gt;
How you are supposed to pass these parameters when booting from your bootflop and have a dedicated root filesystem on it? The params can be passed with BOOT.EXE, but this is a dos binary. Wonder what is in man floppy, a tutorial how to make a floppy dual boot dos &amp;amp; 386bsd? &lt;br /&gt;
&lt;br /&gt;
The specify flag hasn't done anything for me yet. I have no idea what the ''run time diagnostic facilities'' are, the debug kernel drops into a debugger when you least expect it and then spits out ASM like cruft. Bourne Shell scripts aside I'm not much of a coder, trying to make asm shellcode for a hole in sendmail 8.9.1/8.9.3 gave me huge headaches once, trying to get this running needs to stay `Fun!'.&lt;br /&gt;
&lt;br /&gt;
Where was I? Ah, yes, I don't have the system booting from the HD yet and when booting from dosflop it rarely does anything the same while using the same commands. Back to the drawing board and the liner notes I guess.&lt;br /&gt;
&lt;br /&gt;
[[User:Dugo|Dugo]] 19:38, 6 May 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== INSTALLING 386BSD ON YOUR HARD DISK ==&lt;br /&gt;
&lt;br /&gt;
''INSTALLING 386BSD ON YOUR HARD DISK''&lt;br /&gt;
&lt;br /&gt;
''Once you have the 386BSD Sampler successfully running off the CD itself, you can install the 386BSD system in your free DOS partition on your hard disk. In 386BSD, after the# prompt, type install and follow the interactive installation instructions. To leave the system once it is installed, after the # prompt type reboot or press Ctrl-Alt-Del.''&lt;br /&gt;
&lt;br /&gt;
Qemu closed so fast after sending Ctrl-Alt-Del I doubt the CPU did anything more than a hlt intruction of sorts. As the kernels don't like an unclean rootfilesystem very much and the /install leaving filesystems mounted maybe that's where things go south already and the bootblocks are actually ok. I would like to check out how the bootblocks were installed but Lynnes view of release engineering an open source operating system release is to release all sources except for the sources of the BOOT.EXE program and the installer :-/&lt;br /&gt;
&lt;br /&gt;
I'm still miffed about this piece of sentence ''you can install the 386BSD system in your free DOS partition''. I can't believe this means I have to make a DOS partition first, but maybe it is worth trying if all else fails.&lt;br /&gt;
&lt;br /&gt;
0.1 had a large (use)net following and because the posts are archived I didn't have to reinvent the wheel everytime to get it to run and patched. This is going to cost some hairpulling before I have a reproduceable emulator install documented down for posterity. I really hope 1.0 is worth the trouble and beats the hell out of 0.1 + the &amp;quot;bad&amp;quot; unblessed patches, but so far I'm not impressed. The default kernel can't even do a default multiuser boot because network (inet) has not been compiled in. Sendmail leaves the rc hanging for ages, nfs comes crashing down often taking the whole system with it etc.. but I can get into single user mode with a full install for now.&lt;br /&gt;
&lt;br /&gt;
[[User:Dugo|Dugo]] 20:26, 6 May 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
Got it up, recompiled the kernel with inet and can telnet in now.&lt;br /&gt;
[[User:Dugo|Dugo]] 17:37, 11 May 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I'm looking forward to the X11.... :)&lt;br /&gt;
[[User:Neozeed|neozeed]] 03:58, 9 October 2011 (PDT)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
My notes and discovery:&lt;br /&gt;
* 386BSD 1.0 doesn't like translated CHS value, so keep using 1024*16*63*512=528482304 bytes harddisk image for installer&lt;br /&gt;
* 386BSD 1.0 doesn't read SeaBIOS CMOS correctly, so keep using QEMU-0.11&lt;br /&gt;
* 386BSD 1.0 indeed needs /.config file for enabling ne2k_isa, but from my testing, it stalls in &amp;quot;Starting networking&amp;quot; when it discovers NE2000 NIC&lt;br /&gt;
* bundled kernel(ddb/normal) kernel is not stable, build your own by copying odysseus.mk to stock.mk and edit it&lt;br /&gt;
* when compile kernel, do NOT run &amp;quot;make depend&amp;quot;, .depend file will mess up the kernel compilation&lt;br /&gt;
* bundled sed is broken (autoconf-based configure script affects), so compile sed-2.05 instead&lt;br /&gt;
* kernel bug is not fixed like in 0.1-pl24, compiling lynx &amp;gt;2.8.2 HTML.c is not possible&lt;br /&gt;
* when compiling perl 5.003_07, x2p/makefile $(obj) line and following line need to be deleted, &amp;lt;times.h&amp;gt; include in POSIX.xs need to be removed, adding &amp;quot;#define SIG_ERR ((__sighandler_t)-1)&amp;quot; line in mg.c is needed.&lt;br /&gt;
--[[User:Roytam|Roytam]] 06:30, 14 April 2012 (PDT)&lt;/div&gt;</summary>
		<author><name>Roytam</name></author>	</entry>

	<entry>
		<id>https://gunkies.org/w/index.php?title=Talk:Installing_386BSD_1.0_on_Qemu&amp;diff=10769</id>
		<title>Talk:Installing 386BSD 1.0 on Qemu</title>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=Talk:Installing_386BSD_1.0_on_Qemu&amp;diff=10769"/>
				<updated>2012-04-14T13:30:35Z</updated>
		
		<summary type="html">&lt;p&gt;Roytam: My notes and discovery&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A bit raw still, but this gets the installer going on some default cloud computing service fedora box. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum -y install wget&lt;br /&gt;
yum -y install gcc&lt;br /&gt;
yum -y install gcc-c++&lt;br /&gt;
yum -y install ncurses-devel&lt;br /&gt;
yum -y install zlib-devel.i386&lt;br /&gt;
cd /usr/local/src&lt;br /&gt;
wget http://download.savannah.gnu.org/releases/qemu/qemu-0.12.3.tar.gz&lt;br /&gt;
gunzip -c qemu-0.12.3.tar.gz |tar -xvf -&lt;br /&gt;
cd qemu-0.12.3&lt;br /&gt;
./configure --enable-curses&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
cd&lt;br /&gt;
wget http://www.xs4all.nl/~dugo/5boot.img&lt;br /&gt;
wget http://www.xs4all.nl/~dugo/ddbboot.img&lt;br /&gt;
#get CD image XXX&lt;br /&gt;
qemu-img create disk 1G&lt;br /&gt;
cp ddbboot.img 5.img; qemu -fda 5.img -hda disk -hdb 386BSDCD -curses -m 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then in *brrr* DOS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\boot 386bsd.ddb wd1d&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then..:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
          Text 466944&lt;br /&gt;
          Data 20480&lt;br /&gt;
          Start 0xfe000000&lt;br /&gt;
          can't open emm&lt;br /&gt;
          386BSD Release 1.0 by William &amp;amp; Lynne Jolitz. [1.0.22  10/27/94 15:32]&lt;br /&gt;
          Copyright (c) 1989-1994 William F. Jolitz. All rights reserved.&lt;br /&gt;
          clk:  irq0&lt;br /&gt;
          pc: pc0 &amp;lt;color&amp;gt; port 60 irq1&lt;br /&gt;
          aux:  port 310 irq12&lt;br /&gt;
          wd: wd0 &amp;lt;QEMU HARDDISK&amp;gt; wd1 &amp;lt;QEMU HARDDISK&amp;gt;  port 1f0 irq14&lt;br /&gt;
          fd: fd0: 1.44M port 3f0 irq6 drq2&lt;br /&gt;
          com: com1: fifo port 3f8 irq4&lt;br /&gt;
          lpt: lpt0  port 378 irq7&lt;br /&gt;
          npx: npx: irq13&lt;br /&gt;
          mcd:  port 300 irq10&lt;br /&gt;
          erase ^?, kill ^U, intr ^C&lt;br /&gt;
          # ./install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Yes, US/Pacific is fine, partitioning, not so much.&lt;br /&gt;
&lt;br /&gt;
[[User:Dugo|Dugo]] 23:54, 4 May 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Building a Kernel Program ==&lt;br /&gt;
&lt;br /&gt;
The default kernel works like total crap for after the install. I didn't make a /.config file for it, but that shouldn't stop it from understanding inet. Let's try the book:&lt;br /&gt;
&lt;br /&gt;
''Building a Kernel Program''&lt;br /&gt;
&lt;br /&gt;
''In use, this arrangement is much akin to the layout of utilities in the rest of the system. To build a stock kernel out of the stock release, type make  in the kernel directory (/usr/src/kernel).''&lt;br /&gt;
&lt;br /&gt;
Can't be that simpel. The Makefile looks for stock.mk, which isn't there.&lt;br /&gt;
&lt;br /&gt;
''The stock kernel simply selects the modules necessary to run the system on a ordinary IBM clone PC. This defacto industry standard is a system with a video display, IDE drive, floppy, serial and parallel ports.''&lt;br /&gt;
&lt;br /&gt;
Ok,ok, back then the industry standard was running without ethernet adapters, now I understand.&lt;br /&gt;
&lt;br /&gt;
''Other &amp;quot;ready-made&amp;quot; configurations are available in the configuration subdirectory, by copying one to the computer's hostname file (ex: host &amp;quot;foo&amp;quot; would use the config/foo.mk file). Custom configurations may be made by editing the file with a text editor.''&lt;br /&gt;
&lt;br /&gt;
''On initial (re)configuration, the configured kernel should have its compilation dependencies set by issuing a make depend.  A stale set of object files can be erased by issuing a make clean  prior to recreating a kernel. ''&lt;br /&gt;
&lt;br /&gt;
Which one do you copy? Know what, will just use what the Jolitzes used on their laptop.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hostname odysseus&lt;br /&gt;
mount -u /&lt;br /&gt;
cd /usr/src/kernel&lt;br /&gt;
make clean&lt;br /&gt;
make depend&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And then the whole thing breaks, moaning about Unclosed conditionals starting with config.std.mk. When you look at it, you see a .if an a .endif plus a bunch of .include. Looks closed to me. To be continued....&lt;br /&gt;
&lt;br /&gt;
== Testing a New Kernel Program ==&lt;br /&gt;
&lt;br /&gt;
''A freshly made kernel can be tested by installing it with the make install  command, which places it in the root as the file /386bsd.alt. This file can be booted selectively by the system bootstrap (see man bootstrap). Alternatively, a bootable floppy (see &amp;quot;man floppy&amp;quot;) can be used to hold the new kernel and its dedicated root filesystem to check out a new kernel in isolation from the main system.'' &lt;br /&gt;
&lt;br /&gt;
''The &amp;quot;-debug&amp;quot; and &amp;quot;-specify&amp;quot; flags can be used with the bootstrap to invoke run time diagnostic facilities to illustrate kernel operation on the console as a means to allow fault isolation.''&lt;br /&gt;
&lt;br /&gt;
There is no man floppy and no man bootstrap. Now if the default bootblocks worked out of the box that wouldn't be such a problem.&lt;br /&gt;
&lt;br /&gt;
How you are supposed to pass these parameters when booting from your bootflop and have a dedicated root filesystem on it? The params can be passed with BOOT.EXE, but this is a dos binary. Wonder what is in man floppy, a tutorial how to make a floppy dual boot dos &amp;amp; 386bsd? &lt;br /&gt;
&lt;br /&gt;
The specify flag hasn't done anything for me yet. I have no idea what the ''run time diagnostic facilities'' are, the debug kernel drops into a debugger when you least expect it and then spits out ASM like cruft. Bourne Shell scripts aside I'm not much of a coder, trying to make asm shellcode for a hole in sendmail 8.9.1/8.9.3 gave me huge headaches once, trying to get this running needs to stay `Fun!'.&lt;br /&gt;
&lt;br /&gt;
Where was I? Ah, yes, I don't have the system booting from the HD yet and when booting from dosflop it rarely does anything the same while using the same commands. Back to the drawing board and the liner notes I guess.&lt;br /&gt;
&lt;br /&gt;
[[User:Dugo|Dugo]] 19:38, 6 May 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== INSTALLING 386BSD ON YOUR HARD DISK ==&lt;br /&gt;
&lt;br /&gt;
''INSTALLING 386BSD ON YOUR HARD DISK''&lt;br /&gt;
&lt;br /&gt;
''Once you have the 386BSD Sampler successfully running off the CD itself, you can install the 386BSD system in your free DOS partition on your hard disk. In 386BSD, after the# prompt, type install and follow the interactive installation instructions. To leave the system once it is installed, after the # prompt type reboot or press Ctrl-Alt-Del.''&lt;br /&gt;
&lt;br /&gt;
Qemu closed so fast after sending Ctrl-Alt-Del I doubt the CPU did anything more than a hlt intruction of sorts. As the kernels don't like an unclean rootfilesystem very much and the /install leaving filesystems mounted maybe that's where things go south already and the bootblocks are actually ok. I would like to check out how the bootblocks were installed but Lynnes view of release engineering an open source operating system release is to release all sources except for the sources of the BOOT.EXE program and the installer :-/&lt;br /&gt;
&lt;br /&gt;
I'm still miffed about this piece of sentence ''you can install the 386BSD system in your free DOS partition''. I can't believe this means I have to make a DOS partition first, but maybe it is worth trying if all else fails.&lt;br /&gt;
&lt;br /&gt;
0.1 had a large (use)net following and because the posts are archived I didn't have to reinvent the wheel everytime to get it to run and patched. This is going to cost some hairpulling before I have a reproduceable emulator install documented down for posterity. I really hope 1.0 is worth the trouble and beats the hell out of 0.1 + the &amp;quot;bad&amp;quot; unblessed patches, but so far I'm not impressed. The default kernel can't even do a default multiuser boot because network (inet) has not been compiled in. Sendmail leaves the rc hanging for ages, nfs comes crashing down often taking the whole system with it etc.. but I can get into single user mode with a full install for now.&lt;br /&gt;
&lt;br /&gt;
[[User:Dugo|Dugo]] 20:26, 6 May 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
Got it up, recompiled the kernel with inet and can telnet in now.&lt;br /&gt;
[[User:Dugo|Dugo]] 17:37, 11 May 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I'm looking forward to the X11.... :)&lt;br /&gt;
[[User:Neozeed|neozeed]] 03:58, 9 October 2011 (PDT)&lt;br /&gt;
&lt;br /&gt;
My notes and discovery:&lt;br /&gt;
* 386BSD 1.0 doesn't like translated CHS value, so keep using 1024*16*63*512=528482304 bytes for installer&lt;br /&gt;
* 386BSD 1.0 doesn't read SeaBIOS CMOS correctly, so keep using QEMU-0.11&lt;br /&gt;
* 386BSD 1.0 indeed needs /.config file for enabling ne2k_isa, but from my testing, it stalls in &amp;quot;Starting networking&amp;quot; when it discovers NE2000 NIC&lt;br /&gt;
* bundled kernel(ddb/normal) kernel is not stable, build your own by copying odysseus.mk to stock.mk and edit it&lt;br /&gt;
* when compile kernel, do NOT run &amp;quot;make depend&amp;quot;, .depend file will mess up the kernel compilation&lt;br /&gt;
* bundled sed is broken (autoconf-based configure script affects), so compile sed-2.05 instead&lt;br /&gt;
* kernel bug is not fixed like in 0.1-pl24, compiling lynx &amp;gt;2.8.2 HTML.c is not possible&lt;br /&gt;
* when compiling perl 5.003_07, x2p/makefile $(obj) line and following line need to be deleted, &amp;lt;times.h&amp;gt; include in POSIX.xs need to be removed, adding &amp;quot;#define SIG_ERR ((__sighandler_t)-1)&amp;quot; line in mg.c is needed.&lt;br /&gt;
--[[User:Roytam|Roytam]] 06:30, 14 April 2012 (PDT)&lt;/div&gt;</summary>
		<author><name>Roytam</name></author>	</entry>

	</feed>