<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Yes, I had used L4 on VMWare and used both
pcnet32 and e1000 driver in OKLinux. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>For e1000 you need to add following line
to linux/kernel-2.6.23-v2/include/asm-l4/i386/io.h<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>#define mmiowb()<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>With this it should work fine.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Dhiraj<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Geoff White
[mailto:netengadmin@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, May 23, 2008 9:53 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Kalamkar,
Dhiraj D</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [okl4-developer] Fwd:
Ubuntu VMware VM with 2.1 loaded</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Hi Dhiraj!<br>
Did you ever get your driver working ?Were you trying to get e1000 working?<br>
Thanks I'll try what you suggest.<br>
<br>
<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Thu, May 22, 2008 at 9:18 PM, <st1:PersonName w:st="on">Kalamkar,
Dhiraj D</st1:PersonName> <<a href="mailto:dhiraj.d.kalamkar@intel.com">dhiraj.d.kalamkar@intel.com</a>>
wrote:<o:p></o:p></span></font></p>
<div link=blue vlink=blue>
<div>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Hi Geoff,</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>You don't need to comment out line 114 in arch/l4/Makefile.
Just do following:</span></font><o:p></o:p></p>
<p><font size=2 color=navy face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:navy'>#cp l4linux_config_ia32 .config </span></font><o:p></o:p></p>
<p><font size=2 color=navy face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:navy'>#make menuconfig ARCH=l4 SYSTEM=i368</span></font><o:p></o:p></p>
<p><font size=2 color=navy face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:navy'>#mv .config l4linux_config_ia32</span></font><o:p></o:p></p>
<p><font size=2 color=navy face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:navy'>#make mrproper</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>And rebuild OKL4. At least it worked for me fine.</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Regards,</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Dhiraj</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:developer-bounces@okl4.org" target="_blank">developer-bounces@okl4.org</a>
[mailto:<a href="mailto:developer-bounces@okl4.org" target="_blank">developer-bounces@okl4.org</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Geoff White<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, May 23, 2008 9:32 AM<br>
<b><span style='font-weight:bold'>To:</span></b> developer<br>
<b><span style='font-weight:bold'>Subject:</span></b> [okl4-developer] Fwd:
Ubuntu VMware VM with 2.1 loaded</span></font><o:p></o:p></p>
</div>
<div>
<div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<div>
<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>OK, so I have a VMware VM that talks to the Network!!!<br>
I enabled the PCnet32 drivers in the OLLinux kernel (more on the problems with
this later) and rebuilt everything,and I was able to ping <a
href="http://mit.edu" target="_blank">mit.edu</a> ;)<br>
<br>
I did have issues building the new image however! I followed a modified set of
instructions that worked for 1.5.2, comment out line 114 in .../arch/l4/Makefile<br>
and run<br>
make menuconfig<br>
<br>
this worked fine but when I moved the .config file over to l4linux_config_ia32,
I had major problems building the resultant kernel. Finally what I did is
to take the original l4linux_config_ia32 and hand edit it to include the
PCnet32 driver, this didn't quite work, it dropped into interactive mode during
the build and I had to answer a bunch of questions by hand. But in the
end , the kernel built and I was able to load it into a VMware VM and start it
up and ping through the interface! So my only question for now is what is
wrong with make menuconfig or what step do I need to do to get a working
config?<br>
<br>
Here is what it looks like when I build...<br>
<br>
<font color="#000099"><span style='color:#000099'>sound/isa/Kconfig:68:warning:
'select' used by config symbol 'SND_ALS100' refers to undefined symbol 'ISAPNP'<br>
sound/isa/Kconfig:82:warning: 'select' used by config symbol 'SND_AZT2320'
refers to undefined symbol 'ISAPNP'<br>
sound/isa/Kconfig:146:warning: 'select' used by config symbol 'SND_DT019X'
refers to undefined symbol 'ISAPNP'<br>
sound/isa/Kconfig:160:warning: 'select' used by config symbol 'SND_ES968'
refers to undefined symbol 'ISAPNP'<br>
sound/pci/Kconfig:489:warning: 'select' used by config symbol
'SND_FM801_TEA575X' refers to undefined symbol 'VIDEO_V4L1'<br>
sound/pci/Kconfig:490:warning: 'select' used by config symbol
'SND_FM801_TEA575X' refers to undefined symbol 'VIDEO_DEV'<br>
*<br>
* Restart config...<br>
*<br>
*<br>
* Ethernet (10 or 100Mbit)<br>
*<br>
Ethernet (10 or 100Mbit) (NET_ETHERNET) [Y/n/?] y<br>
Generic Media Independent Interface device support (MII) [Y/?] y<br>
Sun Happy Meal 10/100baseT support (HAPPYMEAL) [N/m/y/?] n<br>
Sun GEM support (SUNGEM) [N/m/y/?] n<br>
Sun Cassini support (CASSINI) [N/m/y/?] n<br>
3COM cards (NET_VENDOR_3COM) [N/y/?] n<br>
HP 10/100VG PCLAN (ISA, EISA, PCI) support (HP100) [N/m/y/?] n<br>
EISA, VLB, PCI and on board controllers (NET_PCI) [Y/n/?] y<br>
AMD PCnet32 PCI support (PCNET32) [Y/n/m/?] y<br>
Use RX polling (NAPI) (PCNET32_NAPI) [N/y/?]
(NEW) y<br>
AMD 8111 (new PCI lance) support (AMD8111_ETH) [Y/n/m/?] y<br>
Enable NAPI support (AMD8111E_NAPI) [N/y/?] </span></font><font
color=red><span style='color:red'>n</span></font><font color="#000099"><span
style='color:#000099'><br>
Adaptec Starfire/DuraLAN support (ADAPTEC_STARFIRE)
[N/m/y/?] (NEW) </span></font><font color=red><span style='color:red'>n</span></font><font
color="#000099"><span style='color:#000099'><br>
Broadcom 4400 ethernet support (B44) [N/m/y/?] (NEW) </span></font><font
color=red><span style='color:red'>n</span></font><font color="#000099"><span
style='color:#000099'><br>
nForce Ethernet support (FORCEDETH) [N/m/y/?] (NEW) </span></font><font
color=red><span style='color:red'>n</span></font><font color="#000099"><span
style='color:#000099'><br>
Digi Intl. RightSwitch SE-X support (DGRS) [N/m/y/?] (NEW) </span></font><font
color=red><span style='color:red'>n</span></font><font color="#000099"><span
style='color:#000099'><br>
EtherExpressPro/100 support (eepro100, original Becker
driver) (EEPRO100) [N/m/y/?] (NEW) </span></font><font color=red><span
style='color:red'>n</span></font><font color="#000099"><span style='color:#000099'><br>
Intel(R) PRO/100+ support (E100) [N/m/y/?] (NEW) </span></font><font
color=red><span style='color:red'>n</span></font><font color="#000099"><span
style='color:#000099'><br>
Myson MTD-8xx PCI Ethernet support (FEALNX) [N/m/y/?] (NEW) </span></font><font
color=red><span style='color:red'>n</span></font><font color="#000099"><span
style='color:#000099'><br>
National Semiconductor DP8381x series PCI Ethernet support
(NATSEMI) [N/m/y/?] (NEW) </span></font><font color=red><span style='color:
red'>n<br>
<br>
(there were a few more but I didn't type them in.)<br>
So my question is how do I get a .config (l4linux_config_ia32_vmw ) that
doesn't require interactive intervention?<br>
<br>
</span></font><font color=black><span style='color:black'>so when it's built, I
start it up and...<br>
</span></font><font color="#000099"><span style='color:#000099'>This
architecture does not implement dump_stack()<br>
<br>
Iguana virtual serial driver v1.0<br>
<br>
TCP cubic registered<br>
<br>
Initializing XFRM netlink socket<br>
<br>
NET: Registered protocol family 1<br>
<br>
NET: Registered protocol family 17<br>
<br>
VFS: Mounted root (ext2 filesystem) readonly.<br>
<br>
vserial: init done (handle: 0, owner: 18001, mask: 2)<br>
<br>
Linux user startup!<br>
Mounted proc on /proc<br>
Mounted sysfs on /sys<br>
<br>
Mounted devpts on /dev/pts<br>
no IDE disk image available<br>
Configured net lo device<br>
<st1:place w:st="on">PING</st1:place> <a href="http://127.0.0.1" target="_blank">127.0.0.1</a>
(<a href="http://127.0.0.1" target="_blank">127.0.0.1</a>): 56 data bytes<br>
64 bytes from <a href="http://127.0.0.1" target="_blank">127.0.0.1</a>:
icmp_seq=0 ttl=64 time=40.0 ms<br>
<br>
64 bytes from <a href="http://127.0.0.1" target="_blank">127.0.0.1</a>:
icmp_seq=1 ttl=64 time=0.0 ms<br>
<br>
--- <a href="http://127.0.0.1" target="_blank">127.0.0.1</a> ping statistics
---<br>
<br>
2 packets transmitted, 2 packets received, 0% packet loss<br>
round-trip min/avg/max = 0.0/20.0/40.0 ms<br>
eth0 Link encap:Ethernet HWaddr
00:0C:29:FC:77:6E <br>
BROADCAST
MULTICAST MTU:1500 Metric:1<br>
RX packets:0 errors:0
dropped:0 overruns:0 frame:0<br>
TX packets:0 errors:0
dropped:0 overruns:0 carrier:0<br>
collisions:0
txqueuelen:1000 <br>
RX bytes:0 (0.0 B)
TX bytes:0 (0.0 B)<br>
Interrupt:11 Base
address:0x1400 <br>
<br>
eth0: link up<br>
<br>
configuring network for Linux wombat 2.6.23-i386l4_pc99 #2 Mon May 19
00:34:56 PDT 2008 i386 unknown<br>
info, udhcpc (v0.9.9-pre) started<br>
debug, Sending discover...<br>
debug, Sending select for 192.168.127.130...<br>
info, Lease of <a href="http://192.168.127.130" target="_blank">192.168.127.130</a>
obtained, lease time 1800<br>
deleting routers<br>
route: SIOC[ADD|DEL]RT: No such process<br>
adding dns <a href="http://192.168.127.2" target="_blank">192.168.127.2</a><br>
net eth0 device configuration failed<br>
<br>
<br>
*And We're Done!*<br>
<br>
<br>
<br>
Please press Enter to activate this console. <br>
<br>
<br>
BusyBox v1.00 (2008.05.19-04:45+0000) Built-in shell (ash)<br>
Enter 'help' for a list of built-in commands.<br>
<br>
<br>
/ # ping <a href="http://mit.edu" target="_blank">mit.edu</a><br>
<st1:place w:st="on">PING</st1:place> <a href="http://mit.edu" target="_blank">mit.edu</a>
(<a href="http://18.7.22.69" target="_blank">18.7.22.69</a>): 56 data bytes<br>
64 bytes from <a href="http://18.7.22.69" target="_blank">18.7.22.69</a>:
icmp_seq=0 ttl=128 time=90.0 ms<br>
<br>
64 bytes from <a href="http://18.7.22.69" target="_blank">18.7.22.69</a>:
icmp_seq=1 ttl=128 time=90.0 ms<br>
64 bytes from <a href="http://18.7.22.69" target="_blank">18.7.22.69</a>: icmp_seq=2
ttl=128 time=90.0 ms<br>
64 bytes from <a href="http://18.7.22.69" target="_blank">18.7.22.69</a>:
icmp_seq=3 ttl=128 time=90.0 ms<br>
64 bytes from <a href="http://18.7.22.69" target="_blank">18.7.22.69</a>:
icmp_seq=4 ttl=128 time=80.0 ms<br>
64 bytes from <a href="http://18.7.22.69" target="_blank">18.7.22.69</a>:
icmp_seq=5 ttl=128 time=90.0 ms<br>
64 bytes from <a href="http://18.7.22.69" target="_blank">18.7.22.69</a>:
icmp_seq=6 ttl=128 time=90.0 ms<br>
<br>
--- <a href="http://mit.edu" target="_blank">mit.edu</a> ping statistics ---<br>
7 packets transmitted, 7 packets received, 0% packet loss<br>
round-trip min/avg/max = 80.0/88.5/90.0 ms<br>
</span></font><font color=black><span style='color:black'><br>
<br>
</span></font><font color=red><span style='color:red'><br>
</span></font>I'd like to get this build fully automated and then get it up on
the Wiki<br>
<br>
<br>
<o:p></o:p></span></font></p>
</div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
</div>
</div>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>