Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Lites / NetBSD 1.1
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 7th June 16:55
jason stevens
External User
 
Posts: 1
Default Lites / NetBSD 1.1



A while ago (I think it was May) I was playing with Lites on NetBSD. I
did get Mach.UK22 / Lites.1.1.u3 LARGE+mach4 to boot up under qemu.
However I never could figure out networking, or even how to rebuild mach
or lites. It seemed to me that the gcc on NetBSD 1.1 was too old, but
that brought out a whole host of issues. Not to mention that Mach/Lites
is way too complicated for an in-duh-vidual like me to install.

Does anyone really have any notes on what it takes to self host (could
it even do that?) Mach/Lites and how to setup networking.......

At anyrate, if anyone wants to play with the image I built, its a 47MB
and expands to some 300MB.

http://www.vaxenrule.com/lites/mach.dsk.bz2

Jason
  Reply With Quote


  sponsored links


2 7th June 16:55
jason stevens
External User
 
Posts: 1
Default Lites / NetBSD 1.1



After looking at that mach4 users archive & the MachUK02 release notes I
noticed that ne1 on the i386 is coded for IO 0x300/irq 10. So I have
rebuilt a copy of qemu with this setting and doing an 'ifconfig -a' just
showed the loopback adapter. However after doing an 'ifconfig ne1'
suddenly the network card shows up. So the bottom line is that
*finally* I can get this contraption to talk on the network!

For anyone that has downloaded my disk image
(http://www.vaxenrule.com/lites/mach.dsk.bz2) You can just edit qemu's
hw/pc.c & change the settings for the ne2000. However if you don't mind
my slow site, you can download my built version of qemu (with pcap
support so that it can also talk natively on a Windows network) right
here.

http://www.vaxenrule.com/lites/MachUK22-lites-nat.zip


Running the lites.cmd will boot up mach/lites and redirect your local
tcp port 23 to the emulator, allowing you & others to telnet into the
box. For native network access you will need configure the network
similar to this..

Sample win32 usage:
-net nic -net pcap,devicename=\Device\NPF_{21FFCD07-245D-4C93-8D4C-
E0290CD5666D}

The only caveat is finding that guid... The 2 ways I find it is with
ethereal, it will list the GUID for each interface, or you can read the
information in the registry...

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
\NetworkCards


Anyways maybe this will spur some interest out there in Mach/Lites.


Jason
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666