Subject: Re: new to netbsd!
To: Andy Ruhl <acruhl@gmail.com>
From: seshu yamajala <syamajala@gamebox.net>
List: port-hpcmips
Date: 09/27/2005 19:15:00
--Apple-Mail-1--768154287
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed


On Sep 27, 2005, at 10:28 AM, Andy Ruhl wrote:

> On 9/26/05, seshu yamajala <syamajala@gamebox.net> wrote:
>
>> Hi! I am new to netbsd. I have a clio 1050. I just recently setup
>> netbsd 2.0.2 on a quad pentium pro in my basement. I also installed
>> the hpcmips cross compilers and everything. It takes a while to
>> compile things on the system, but tomorrow i am gonna start compiling
>> the new kernel. I tried to do it once today, but got an error i
>> started compiling the kernel again to see if it would happen, but i
>> don't think it has gotten that far in the process yet. It will
>> probably be a while before it does. I ran config to check my file and
>> everything seemed ok. I patched the kernel with the patches i found
>> on the mailing list by Matt Orgass. I also have a few questions about
>> hardware and things, but those will come later. For now i just wanted
>> to say hi!
>>
>
> You shouldn't have to install anything to do cross compiles, that's
> all handled by build.sh in /usr/src. You just do ./build.sh -m hpcmips
> <etc etc> and it builds everything as hpcmips executables. Is this
> what you're doing?
>
> I wasn't aware of any kernel patches needed for that machine, but I
> don't have one either. If the patch is necessary, it's probably worth
> sending a pr and getting it integrated, if possible.
>

Well, i ran ./build.sh -m hpcmips -T /usr/cross tools and then I  
patched the kernel sources with the stuff here http://www.city- 
net.com/~darkstar/netbsd/ following the instructions here
http://comments.gmane.org/gmane.os.netbsd.ports.hpcmips/1746 after  
that i created a custom config file, ran config MYCONF, which  
returned no errors, and then just ran ./build.sh -m hpcmips -T /usr/ 
cross -u kern=MYCONF kernel. I didn't get an chance to try
to build another kernel today, maybe tomorrow i will.

- Seshu Yamajala
--Apple-Mail-1--768154287
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><BR><DIV><DIV>On Sep 27, 2005, =
at 10:28 AM, Andy Ruhl wrote:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">On 9/26/05, seshu yamajala &lt;<A =
href=3D"mailto:syamajala@gamebox.net">syamajala@gamebox.net</A>&gt; =
wrote:</DIV> <BR><BLOCKQUOTE type=3D"cite"><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi! I am =
new to netbsd. I have a clio 1050. I just recently setup</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">netbsd 2.0.2 on a quad pentium pro in my basement. I =
also installed</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">the hpcmips cross compilers and =
everything. It takes a while to</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">compile =
things on the system, but tomorrow i am gonna start compiling</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">the new kernel. I tried to do it once today, but got =
an error i</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">started compiling the kernel =
again to see if it would happen, but i</DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">don't =
think it has gotten that far in the process yet. It will</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">probably be a while before it does. I ran config to =
check my file and</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">everything seemed ok. I patched =
the kernel with the patches i found</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">on the =
mailing list by Matt Orgass. I also have a few questions about</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">hardware and things, but those will come later. For =
now i just wanted</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">to say hi!</DIV> =
<BR></BLOCKQUOTE><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">You shouldn't have to install anything to do cross =
compiles, that's</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">all handled by build.sh in =
/usr/src. You just do ./build.sh -m hpcmips</DIV><DIV style=3D"margin-top:=
 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&lt;etc =
etc&gt; and it builds everything as hpcmips executables. Is =
this</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">what you're doing?</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I wasn't =
aware of any kernel patches needed for that machine, but I</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">don't have one either. If the patch is necessary, =
it's probably worth</DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; ">sending a pr and getting it =
integrated, if possible.</DIV> <BR =
class=3D"Apple-interchange-newline"></BLOCKQUOTE><BR></DIV><DIV>Well, i =
ran ./build.sh -m hpcmips -T /usr/cross tools and then I patched the =
kernel sources with the stuff here=A0<A =
href=3D"http://www.city-net.com/~darkstar/netbsd/"><FONT =
class=3D"Apple-style-span" =
face=3D"Helvetica">http://www.city-net.com/~darkstar/netbsd/</FONT></A>=A0=
following the instructions here<A =
href=3D"http://comments.gmane.org/gmane.os.netbsd.ports.hpcmips/1746"><FON=
T class=3D"Apple-style-span" face=3D"Helvetica"></FONT></A></DIV><DIV><A =
href=3D"http://comments.gmane.org/gmane.os.netbsd.ports.hpcmips/1746"><FON=
T class=3D"Apple-style-span" =
face=3D"Helvetica">http://comments.gmane.org/gmane.os.netbsd.ports.hpcmips=
/1746</FONT></A>=A0after that i created a custom config file, ran config =
MYCONF, which returned no errors, and then just ran ./build.sh -m =
hpcmips -T /usr/cross -u kern=3DMYCONF kernel. I didn't get an chance to =
try=A0</DIV>to build another kernel today, maybe tomorrow i =
will.=A0<BR><DIV><BR class=3D"khtml-block-placeholder"></DIV><DIV>- =
Seshu Yamajala</DIV></BODY></HTML>=

--Apple-Mail-1--768154287--