From greeen@iii.org.tw  Mon Apr  2 09:16:57 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id JAA09497; Mon, 2 Apr 2001 09:16:57 +0200 (MET DST)
Received-Date: Mon, 2 Apr 2001 09:16:57 +0200 (MET DST)
Received: from h179-210-243-135.iii.org.tw(210.243.135.179), claiming to be "mta0.iii.org.tw"
 via SMTP by guadalquivir.fnet.fr, id smtpd009495; Mon Apr  2 09:16:51 2001
Received: from [140.92.66.45] (helo=iiidns.iii.org.tw)
	by mta0.iii.org.tw with esmtp (Exim 3.16 #1)
	id 14jxo7-0006r8-01; Mon, 02 Apr 2001 14:27:19 +0800
Received: from Green ([140.92.12.76])
	by iiidns.iii.org.tw (8.10.2/8.10.2) with SMTP id f326NDM00131;
	Mon, 2 Apr 2001 14:23:13 +0800 (CST)
Message-ID: <001201c0bb3f$4dd65600$4c0c5c8c@trd.iii.org.tw>
From: "Green" <greeen@iii.org.tw>
To: "LinuxKernelMailList" <linux-kernel@vger.kernel.org>,
        "MipsMailList" <linux-mips@fnet.fr>,
        "LinuxEmbeddedMailList" <linux-embedded@waste.org>
Subject: Serial Console!!
Date: Mon, 2 Apr 2001 14:36:50 +0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_000F_01C0BB82.5A991BA0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Content-Length: 2194
Lines: 61

This is a multi-part message in MIME format.

------=_NextPart_000_000F_01C0BB82.5A991BA0
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

Hi all,

I want to login to my MIPS box through serial port.
I execute 'make menuconfig' and select the 'serial console'.
But I can't see the login prompt in my window(I use netterm).

May I ask how serial console work?
Or I forget something?

P.S I skip /sbin/init program.

                                                    Green

------=_NextPart_000_000F_01C0BB82.5A991BA0
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>Hi all,</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9></FONT>&nbsp;</DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>I want to login to my MIPS box =
through serial=20
port.</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>I execute 'make menuconfig' and =
select the 'serial=20
console'.</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>But I can't see the login =
prompt in my window(I use=20
netterm).</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9></FONT>&nbsp;</DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>May I ask how serial console =
work?</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>Or I forget =
something?</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9></FONT>&nbsp;</DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>P.S I skip /sbin/init =
program.</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9></FONT>&nbsp;</DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Green</FONT></DIV></BODY></HTML>

------=_NextPart_000_000F_01C0BB82.5A991BA0--

From ralf@dea.waldorf-gmbh.de  Tue Apr  3 17:02:16 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id RAA10847; Tue, 3 Apr 2001 17:02:16 +0200 (MET DST)
Received-Date: Tue, 3 Apr 2001 17:02:16 +0200 (MET DST)
Received: from u-208-21.karlsruhe.ipdial.viaginterkom.de(62.180.21.208), claiming to be "dea.waldorf-gmbh.de"
 via SMTP by guadalquivir.fnet.fr, id smtpd010816; Tue Apr  3 17:02:12 2001
Received: (from ralf@localhost)
	by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f33DToE31605;
	Tue, 3 Apr 2001 15:29:50 +0200
Date: Tue, 3 Apr 2001 15:29:50 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Jay Konrad <jkonrad@fonts.de>
Cc: linux-mips@fnet.fr
Subject: Re: MIPS
Message-ID: <20010403152949.A28175@bacchus.dhis.org>
References: <200103261302627.SM00227@jkwinntpc>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200103261302627.SM00227@jkwinntpc>; from jkonrad@fonts.de on Mon, Mar 26, 2001 at 12:57:24PM +0200
X-Accept-Language: de,en,fr
Content-Length: 769
Lines: 21

On Mon, Mar 26, 2001 at 12:57:24PM +0200, Jay Konrad wrote:

> I just bought myself a SGI Indigo2 with an R8000 - I do like Linux a lot
> and use it on most of my Intel-based PCs, so naturally I would like to
> test it on this box as well. However, I would rate myself a beginner,
> though I am practicing hard :-)

R8000 isn't supported yet.

> I was at Cebit in Germany last week, but the guys from SGI did not know
> shit, to tell the truth. 

Engineering seems to carefully avoid CeBIT - unlike the sales droids ...

> Well, anyway, I will get some webspace soon, so naturally I would love to
> help you guys by opening up a mirror site. Just tell me what to do.

It's not that we'd already be maxing out the bandwidth of the master sites
but feel free ...

  Ralf

From ralf@dea.waldorf-gmbh.de  Tue Apr  3 17:02:06 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id RAA10818; Tue, 3 Apr 2001 17:02:06 +0200 (MET DST)
Received-Date: Tue, 3 Apr 2001 17:02:06 +0200 (MET DST)
Received: from u-208-21.karlsruhe.ipdial.viaginterkom.de(62.180.21.208), claiming to be "dea.waldorf-gmbh.de"
 via SMTP by guadalquivir.fnet.fr, id smtpd010816; Tue Apr  3 17:02:02 2001
Received: (from ralf@localhost)
	by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f33Dlt831679;
	Tue, 3 Apr 2001 15:47:55 +0200
Date: Tue, 3 Apr 2001 15:47:55 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: "chandra shekhar" <chandra.shekhar@wipro.com>
Cc: linux-mips@fnet.fr
Subject: Re: MIPS compilation problem with 2.4.0
Message-ID: <20010403154755.B28175@bacchus.dhis.org>
References: <3AC2B5DB.72EE4FC3@wipro.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3AC2B5DB.72EE4FC3@wipro.com>; from chandra.shekhar@wipro.com on Thu, Mar 29, 2001 at 06:14:13AM +0200
X-Accept-Language: de,en,fr
Content-Length: 713
Lines: 22

On Thu, Mar 29, 2001 at 06:14:13AM +0200, chandra shekhar wrote:

> I am unable to compile the kernel with 2.4.0 kernel sources on 32-bit
> MIPS.  I am using the old cross compiler (egcs1.03a).

No chance.  egcs 1.0 _will_ misscompile the kernel.

> Has any one compiled successfully for the MIPS platform. I am unable to
> locate latest egcs rpm for installing the latest cross compiler stuff.

oss.sgi.com.

> Please let me know the location from where I can get the latest egcs rpm.
> 
> Also please let me know any changes in the menuconfig needs to be done
> for the kernel compilation to gothrough.

You want to enable crosscompilation.

> Any additional information on this is greatly appreciated.

  Ralf

From ralf@dea.waldorf-gmbh.de  Tue Apr  3 17:01:36 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id RAA10787; Tue, 3 Apr 2001 17:01:36 +0200 (MET DST)
Received-Date: Tue, 3 Apr 2001 17:01:36 +0200 (MET DST)
Received: from u-208-21.karlsruhe.ipdial.viaginterkom.de(62.180.21.208), claiming to be "dea.waldorf-gmbh.de"
 via SMTP by guadalquivir.fnet.fr, id smtpd010785; Tue Apr  3 17:01:29 2001
Received: (from ralf@localhost)
	by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f33E4uF31757
	for linux-mips@fnet.fr; Tue, 3 Apr 2001 16:04:56 +0200
Date: Tue, 3 Apr 2001 16:04:56 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: linux-mips@fnet.fr
Subject: Fwd: I get some problem on porting linux to MIPS SEAD board.
Message-ID: <20010403160455.D28175@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Accept-Language: de,en,fr
Content-Length: 1453
Lines: 45

----- Forwarded message from KimSeng Sew <gis88517@cis.nctu.edu.tw> -----

From: KimSeng Sew <gis88517@cis.nctu.edu.tw>
Date: Thu, 1 Mar 2001 08:39:30 +0100 (MET)
To: linux-mips@fnet.fr
Subject: I get some problem on porting linux to MIPS SEAD board.



Hello, 

I'm currently porting Linux kernel to MIPS SEAD board, 
Here are some problems that I've met.

My kernel can boot on SEAD board.
I've built a ramdisk for my kernel to mount as root-disk.
It can mount the ramdisk successfully, when it comes to 
execve("/bin/sh", ...) it loaded elf-binary normally, but
it stop after start_thread(), there is no response anymore.

I've tried to put "sash"(a statically linked shell) and 
"ash"(a dynamically linked shell) and even a simple "printf.c" 
program(it just print a line of string) into /bin/sh,
but all the response are the same. I also put libc.so.6 and 
ld.so.1 in /lib, these two libraries will load the dynamically
linked programs.

Such response is like that: after calling do_exec() in 
src/linux/fs/exec.c it come to search_binary_handler(),
the return value is 0, it means this call is success, 
but my kernel just can't jump into my compiled program.

I knew you all are familiar with porting Linux to MIPS 
architecture. Therefore, i wish to ask somebody that 
what is the problem with my kernel? what should i take 
care? Can someone tell me about his/her experience?

Thanks a lot.


Kenneth

----- End forwarded message -----

  Ralf

From ralf@dea.waldorf-gmbh.de  Wed Apr  4 22:29:05 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id WAA28375; Wed, 4 Apr 2001 22:29:05 +0200 (MET DST)
Received-Date: Wed, 4 Apr 2001 22:29:05 +0200 (MET DST)
Received: from u-176-19.karlsruhe.ipdial.viaginterkom.de(62.180.19.176), claiming to be "dea.waldorf-gmbh.de"
 via SMTP by guadalquivir.fnet.fr, id smtpd028373; Wed Apr  4 22:28:54 2001
Received: (from ralf@localhost)
	by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f34KSkV09347
	for linux-mips@fnet.fr; Wed, 4 Apr 2001 22:28:46 +0200
Date: Wed, 4 Apr 2001 22:28:46 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: linux-mips@fnet.fr
Subject: [D.vanOosten@phys.uu.nl: r3000 support]
Message-ID: <20010404222846.A9065@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Accept-Language: de,en,fr
Content-Length: 876
Lines: 25

----- Forwarded message from Dries van Oosten <D.vanOosten@phys.uu.nl> -----

From: Dries van Oosten <D.vanOosten@phys.uu.nl>
Date: Wed, 4 Apr 2001 16:41:11 +0200 (MET DST)
To: <linux-mips@fnet.fr>
Subject: r3000 support

Hi,
I was recently given a Tektronix xp217c terminal. This type is build
around a lr33020 from LSI, which I understand, is a processor from the
R3000 family. The machine has a 256 color framebuffer, ps/2 mouse and
keyboard, something that looks like 2 rs232 ports and 8 megabyte internal
memory. On your website, you ask people who own R3000 based machine to
contact you, so here I am *grin*. I have just gotten the machine, so I
haven't had a chance to check anything yet. If you have any question
please feel free to ask. Where should I start if I would try to port
Linux/MIPS to this thing?

Groeten,
Dries


----- End forwarded message -----

  Ralf

From greeen@iii.org.tw  Mon Apr  9 22:42:39 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id WAA12293; Mon, 9 Apr 2001 22:42:39 +0200 (MET DST)
Received-Date: Mon, 9 Apr 2001 22:42:39 +0200 (MET DST)
Received: from h179-210-243-135.iii.org.tw(210.243.135.179), claiming to be "mta0.iii.org.tw"
 via SMTP by guadalquivir.fnet.fr, id smtpd012286; Mon Apr  9 22:42:28 2001
Received: from [140.92.66.45] (helo=iiidns.iii.org.tw)
	by mta0.iii.org.tw with esmtp (Exim 3.16 #1)
	id 14mX3v-0005SS-00; Mon, 09 Apr 2001 16:30:15 +0800
Received: from Green ([140.92.12.76])
	by iiidns.iii.org.tw (8.10.2/8.10.2) with SMTP id f398N0T11444;
	Mon, 9 Apr 2001 16:23:04 +0800 (CST)
Message-ID: <004101c0c0d0$33ca4b40$4c0c5c8c@trd.iii.org.tw>
From: "Green" <greeen@iii.org.tw>
To: "LinuxKernelMailList" <linux-kernel@vger.kernel.org>,
        "MipsMailList" <linux-mips@fnet.fr>,
        "LinuxEmbeddedMailList" <linux-embedded@waste.org>
Subject: I can't read data from COM1
Date: Mon, 9 Apr 2001 16:36:30 +0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_003E_01C0C113.3B269EA0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Content-Length: 5072
Lines: 133

This is a multi-part message in MIME format.

------=_NextPart_000_003E_01C0C113.3B269EA0
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

Hi all,

I write a sample code(user mode) to test the serial driver.
I can open COM1 and write string to COM1.
But, when I want to read data from COM1, the program will block at read =
function.
I trace the driver source code.

1.
When the program execute write operation, it will call tty_write( ) at =
/drivers/char/tty_io.c.
Then it will call gs_write( ) at /drivers/char/general.c.

2.
When the program execute read operation,it will call tty_read( ) at =
/drivers/char/tty_io.c.
Then I don't know which function would be called.
But it was blocked at operation which called =
(tty->ldisc.read)(tty,file,buf,count), as the following

/* Function tty_read( ) in tty_io.c */
if (tty->ldisc.read)
{
      /* Program will be blocked here */
      i =3D (tty->ldisc.read)(tty,file,buf,count);
 }
 else
 {
      /* Error happened */
      i =3D -EIO;
 }

What parameter should I reset?
Thanks in advance.
                                                                         =
                                                   Green


------=_NextPart_000_003E_01C0C113.3B269EA0
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>Hi all,</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9></FONT>&nbsp;</DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>I write a sample code(user =
mode) to test the serial=20
driver.</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>I can open COM1 and write =
string to COM1.</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>But, when I want to read data =
from COM1, the program will=20
block at read function.</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>I trace the driver source =
code.</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9></FONT>&nbsp;</DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9 =
color=3D#800080><STRONG>1.</STRONG></FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>When the program execute write =
operation, it will call=20
<STRONG>tty_write</STRONG>( ) at=20
<STRONG>/drivers/char/tty_io.c</STRONG>.</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>Then it will call =
<STRONG>gs_write( )</STRONG> at=20
<STRONG>/drivers/char/general.c</STRONG>.</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9></FONT>&nbsp;</DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9 =
color=3D#800080><STRONG>2.</STRONG></FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>When the program execute read =
operation,it will call=20
<STRONG>tty_read( )</STRONG> at=20
<STRONG>/drivers/char/tty_io.c</STRONG>.</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9><STRONG>Then I don't know which =
function would be=20
called</STRONG>.</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>But it was blocked at operation =
which called=20
<STRONG>(tty-&gt;ldisc.read)(tty,file,buf,count)</STRONG>, as the=20
following</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9></FONT>&nbsp;</DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9 =
color=3D#008000>/*&nbsp;Function tty_read( ) in=20
tty_io.c&nbsp;*/</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>if=20
(tty-&gt;ldisc.read)<BR>{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<STRONG>=
<FONT=20
color=3D#008000>/*&nbsp;Program will be blocked=20
here&nbsp;*/<BR></FONT></STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i =
=3D=20
<STRONG>(tty-&gt;ldisc.read)(tty,file,buf,count);</STRONG><BR>&nbsp;}<BR>=
&nbsp;else<BR>&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT=20
color=3D#008000>/*&nbsp;Error=20
happened&nbsp;*/</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i =3D=20
-EIO;<BR>&nbsp;}</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9></FONT>&nbsp;</DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>What parameter should I =
reset?</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>Thanks in advance.</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
Green</FONT></DIV>
<DIV><FONT =
face=3D=B7s=B2=D3=A9=FA=C5=E9></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_003E_01C0C113.3B269EA0--

From michaels@jungo.com  Thu Apr 12 15:39:37 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id PAA08781; Thu, 12 Apr 2001 15:39:37 +0200 (MET DST)
Received-Date: Thu, 12 Apr 2001 15:39:37 +0200 (MET DST)
Received: from UNKNOWN(212.170.16.42), claiming to be "servidor.spania-hq.com"
 via SMTP by guadalquivir.fnet.fr, id smtpd008779; Thu Apr 12 15:39:29 2001
Received: from jungo.com ([194.90.113.98] RDNS failed) by servidor.spania-hq.com with Microsoft SMTPSVC(5.0.2195.1600);
	 Thu, 12 Apr 2001 15:40:50 +0200
Message-ID: <3AD5B003.7000908@jungo.com>
Date: Thu, 12 Apr 2001 16:39:15 +0300
From: Michael Shmulevich <michaels@jungo.com>
Organization: Jungo LTD
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.17-21mdk i686; en-US; 0.8.1) Gecko/20010326
X-Accept-Language: en
MIME-Version: 1.0
To: Linux/MIPS <linux-mips@oss.sgi.com>, FR Linux/MIPS <linux-mips@fnet.fr>
Subject: Dynamic linker and .interp section
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 12 Apr 2001 13:40:52.0120 (UTC) FILETIME=[30E39980:01C0C356]
Content-Length: 1803
Lines: 44

Hello,

My question may be a bit off-topic for this list, but still I consider 
the list as a place that may answer me.

I am trying to create a cross-compile environement for linux system that 
will use some specific dynamic linker. To do so I specify 
-Wl,--dynamic-linker flag to gcc. However doing this I face several 
problems:

- the place for the linker during the compilation must match the place 
at the target system (if I pass -Wl,--dynamic-linker /xxx/yyy/ld.so then 
for the executable kernel looks for /xxx/yyy/ld.so in order to execute 
it. Instead I would like to use simply /lib/ld.so

- If I pass -Wl,--dynamic-linker /lib/ld.so, then the /lib/ld.so must 
exist during the compilation and match the chosen system's architecture. 
I don't want to create this file (/lib/ld.so) on my compilation machine, 
as there are many architectures that get compiled there and I cannot use 
the same ld.so for all of them.

- I saw that in gcc's spec file there is a mention of dynamic linker, 
for example, this one is for PPC %:{!dynamic-linker:-dynamic-linker 
/lib/ld.so.1}
This one is interesting because there is no /lib/ld.so.1 on my machine, 
and it resides under /usr/local/powerpc-linux/lib. Still compiler seems 
to ignore the fact that it is missing from /lib and creates the 
corresponding .interp section and PT_INTERP header.

So my question sounds like: can I specify a non-existing linker and tell 
ld to ignore missing file?

Thanks in advance for any response, no matter how insulting it may be :-)

-- 
Sincerely yours,
Michael Shmulevich
______________________________________
Software Developer
Jungo - R&D
email: michaels@jungo.com
web: http://www.jungo.com
Phone: 1-877-514-0537(USA)  +972-9-8859365(Worldwide) ext. 233
Fax:   1-877-514-0538(USA)  +972-9-8859366(Worldwide)

From macro@ds2.pg.gda.pl  Thu Apr 12 16:14:17 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id QAA10300; Thu, 12 Apr 2001 16:14:17 +0200 (MET DST)
Received-Date: Thu, 12 Apr 2001 16:14:17 +0200 (MET DST)
Received: from delta.ds2.pg.gda.pl(213.192.72.1)
 via SMTP by guadalquivir.fnet.fr, id smtpd010298; Thu Apr 12 16:13:43 2001
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id QAA25904;
	Thu, 12 Apr 2001 16:09:48 +0200 (MET DST)
Date: Thu, 12 Apr 2001 16:09:47 +0200 (MET DST)
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To: Michael Shmulevich <michaels@jungo.com>
cc: Linux/MIPS <linux-mips@oss.sgi.com>, FR Linux/MIPS <linux-mips@fnet.fr>
Subject: Re: Dynamic linker and .interp section
In-Reply-To: <3AD5B003.7000908@jungo.com>
Message-ID: <Pine.GSO.3.96.1010412160800.24526A-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Length: 400
Lines: 11

On Thu, 12 Apr 2001, Michael Shmulevich wrote:

> So my question sounds like: can I specify a non-existing linker and tell 
> ld to ignore missing file?

 You can.  Ld never checks for its existence.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

From michaels@jungo.com  Thu Apr 12 16:31:07 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id QAA11732; Thu, 12 Apr 2001 16:31:07 +0200 (MET DST)
Received-Date: Thu, 12 Apr 2001 16:31:07 +0200 (MET DST)
Received: from UNKNOWN(212.170.16.42), claiming to be "servidor.spania-hq.com"
 via SMTP by guadalquivir.fnet.fr, id smtpd011728; Thu Apr 12 16:31:00 2001
Received: from jungo.com ([194.90.113.98] RDNS failed) by servidor.spania-hq.com with Microsoft SMTPSVC(5.0.2195.1600);
	 Thu, 12 Apr 2001 16:32:07 +0200
Message-ID: <3AD5BBDF.8060101@jungo.com>
Date: Thu, 12 Apr 2001 17:29:51 +0300
From: Michael Shmulevich <michaels@jungo.com>
Organization: Jungo LTD
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.17-21mdk i686; en-US; 0.8.1) Gecko/20010326
X-Accept-Language: en
MIME-Version: 1.0
To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
CC: Linux/MIPS <linux-mips@oss.sgi.com>, FR Linux/MIPS <linux-mips@fnet.fr>
Subject: Re: Dynamic linker and .interp section
References: <Pine.GSO.3.96.1010412160800.24526A-100000@delta.ds2.pg.gda.pl>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 12 Apr 2001 14:32:15.0003 (UTC) FILETIME=[5E6E36B0:01C0C35D]
Content-Length: 715
Lines: 27



Maciej W. Rozycki wrote:

> On Thu, 12 Apr 2001, Michael Shmulevich wrote:
> 
> 
>> So my question sounds like: can I specify a non-existing linker and tell 
>> ld to ignore missing file?
> 
> 
>  You can.  Ld never checks for its existence.

As with binutils-2.10 it is not true. Not only ld looks for it, it opens 
the file, checks the architecture and even checks for SO_NAME (adds it 
do NEEDS list). I have tried it several times.


Sincerely yours,
Michael Shmulevich
______________________________________
Software Developer
Jungo - R&D
email: michaels@jungo.com
web: http://www.jungo.com
Phone: 1-877-514-0537(USA)  +972-9-8859365(Worldwide) ext. 233
Fax:   1-877-514-0538(USA)  +972-9-8859366(Worldwide)

From michaels@jungo.com  Thu Apr 12 16:44:27 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id QAA12283; Thu, 12 Apr 2001 16:44:27 +0200 (MET DST)
Received-Date: Thu, 12 Apr 2001 16:44:27 +0200 (MET DST)
Received: from UNKNOWN(212.170.16.42), claiming to be "servidor.spania-hq.com"
 via SMTP by guadalquivir.fnet.fr, id smtpd012281; Thu Apr 12 16:44:21 2001
Received: from jungo.com ([194.90.113.98] RDNS failed) by servidor.spania-hq.com with Microsoft SMTPSVC(5.0.2195.1600);
	 Thu, 12 Apr 2001 16:45:42 +0200
Message-ID: <3AD5BF32.8070807@jungo.com>
Date: Thu, 12 Apr 2001 17:44:02 +0300
From: Michael Shmulevich <michaels@jungo.com>
Organization: Jungo LTD
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.17-21mdk i686; en-US; 0.8.1) Gecko/20010326
X-Accept-Language: en
MIME-Version: 1.0
To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
CC: Linux/MIPS <linux-mips@oss.sgi.com>, FR Linux/MIPS <linux-mips@fnet.fr>
Subject: Re: Dynamic linker and .interp section
References: <Pine.GSO.3.96.1010412160800.24526A-100000@delta.ds2.pg.gda.pl>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 12 Apr 2001 14:45:43.0455 (UTC) FILETIME=[404E32F0:01C0C35F]
Content-Length: 2191
Lines: 51

Quick prove follow-up, sorry for dounple-posting

>  You can.  Ld never checks for its existence.

This one is for non-existing file:

/home/michaels/rg.ulibc/pkg/ulibc/extra/gcc-uClibc/gcc-uClibc-i386 
-L/home/michaels/rg.ulibc/pkg/ulibc -Wl,-warn-common -o busybox cat.o 
chmod_chown_chgrp.o clear.o cmdedit.o cp_mv.o date.o df.o dirname.o du.o 
echo.o find.o grep.o gunzip.o gzip.o halt.o head.o hostname.o id.o 
ifconfig.o init.o insmod.o interface.o kill.o klogd.o ln.o logger.o ls.o 
lsmod.o mkdir.o mknod.o more.o mount.o mtab.o nfsmount.o nslookup.o 
ping.o poweroff.o ps.o pwd.o reboot.o reset.o rm.o rmdir.o rmmod.o 
route.o sed.o sh.o sleep.o stty.o sync.o syslogd.o tail.o tar.o tee.o 
telnet.o test.o tftp.o touch.o true_false.o tty.o umount.o uname.o 
usleep.o which.o whoami.o xargs.o yes.o  busybox.o messages.o usage.o 
utility.o
i386-linux-gcc: /lib/ld-ulibc.so.1: No such file or directory
i386-linux-gcc: /lib/ld-ulibc.so.1: No such file or directory
make: *** [busybox] Error 1
[michaels@kobie busybox]$

This one for empty file:

/home/michaels/rg.ulibc/pkg/ulibc/extra/gcc-uClibc/gcc-uClibc-i386 
-L/home/michaels/rg.ulibc/pkg/ulibc -Wl,-warn-common -o busybox cat.o 
chmod_chown_chgrp.o clear.o cmdedit.o cp_mv.o date.o df.o dirname.o du.o 
echo.o find.o grep.o gunzip.o gzip.o halt.o head.o hostname.o id.o 
ifconfig.o init.o insmod.o interface.o kill.o klogd.o ln.o logger.o ls.o 
lsmod.o mkdir.o mknod.o more.o mount.o mtab.o nfsmount.o nslookup.o 
ping.o poweroff.o ps.o pwd.o reboot.o reset.o rm.o rmdir.o rmmod.o 
route.o sed.o sh.o sleep.o stty.o sync.o syslogd.o tail.o tar.o tee.o 
telnet.o test.o tftp.o touch.o true_false.o tty.o umount.o uname.o 
usleep.o which.o whoami.o xargs.o yes.o  busybox.o messages.o usage.o 
utility.o
/lib/ld-ulibc.so.1: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [busybox] Error 1
[michaels@kobie busybox]$


-- 
Sincerely yours,
Michael Shmulevich
______________________________________
Software Developer
Jungo - R&D
email: michaels@jungo.com
web: http://www.jungo.com
Phone: 1-877-514-0537(USA)  +972-9-8859365(Worldwide) ext. 233
Fax:   1-877-514-0538(USA)  +972-9-8859366(Worldwide)

From macro@ds2.pg.gda.pl  Thu Apr 12 16:48:18 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id QAA12777; Thu, 12 Apr 2001 16:48:18 +0200 (MET DST)
Received-Date: Thu, 12 Apr 2001 16:48:18 +0200 (MET DST)
Received: from delta.ds2.pg.gda.pl(213.192.72.1)
 via SMTP by guadalquivir.fnet.fr, id smtpd012769; Thu Apr 12 16:47:56 2001
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id QAA26844;
	Thu, 12 Apr 2001 16:46:32 +0200 (MET DST)
Date: Thu, 12 Apr 2001 16:46:31 +0200 (MET DST)
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To: Michael Shmulevich <michaels@jungo.com>
cc: Linux/MIPS <linux-mips@oss.sgi.com>, FR Linux/MIPS <linux-mips@fnet.fr>
Subject: Re: Dynamic linker and .interp section
In-Reply-To: <3AD5BBDF.8060101@jungo.com>
Message-ID: <Pine.GSO.3.96.1010412163645.24526C-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Length: 729
Lines: 17

On Thu, 12 Apr 2001, Michael Shmulevich wrote:

> >  You can.  Ld never checks for its existence.
> 
> As with binutils-2.10 it is not true. Not only ld looks for it, it opens 
> the file, checks the architecture and even checks for SO_NAME (adds it 
> do NEEDS list). I have tried it several times.

 It is.  Otherwise I wouldn't be able to cross-compile and I am.  Check
whether you link against a dynamic object.  It might have the dynamic
linker as one of it's DT_NEEDED dependencies.  For example it's the case
for libc.so.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

From ralf@dea.waldorf-gmbh.de  Sat Apr 14 17:11:01 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id RAA00709; Sat, 14 Apr 2001 17:11:01 +0200 (MET DST)
Received-Date: Sat, 14 Apr 2001 17:11:01 +0200 (MET DST)
Received: from 1-114.ctame700-1.telepar.net.br(200.193.160.114), claiming to be "dea.waldorf-gmbh.de"
 via SMTP by guadalquivir.fnet.fr, id smtpd000707; Sat Apr 14 17:10:54 2001
Received: (from ralf@localhost)
	by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f3E27H700846;
	Fri, 13 Apr 2001 23:07:17 -0300
Date: Sat, 14 Apr 2001 04:07:17 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: "Green" <greeen@iii.org.tw>
Cc: "LinuxKernelMailList" <linux-kernel@vger.kernel.org>,
        "MipsMailList" <linux-mips@fnet.fr>,
        "LinuxEmbeddedMailList" <linux-embedded@waste.org>
Subject: Re: I can't read data from COM1
Message-ID: <20010414040717.C659@bacchus.dhis.org>
References: <004101c0c0d0$33ca4b40$4c0c5c8c@trd.iii.org.tw>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <004101c0c0d0$33ca4b40$4c0c5c8c@trd.iii.org.tw>; from greeen@iii.org.tw on Mon, Apr 09, 2001 at 04:36:30PM +0800
X-Accept-Language: de,en,fr
Content-Length: 303
Lines: 8

On Mon, Apr 09, 2001 at 04:36:30PM +0800, Green wrote:

I ran into a similar problem with 2.4.3 where I couldn't enter anything
when running mingetty on the console.  Turned out that by default the
CREAD flag isn't set on a serial interface in 2.4.3 after bootup so
you need to initialize this.

  Ralf

From ralf@dea.waldorf-gmbh.de  Sat Apr 14 17:09:11 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id RAA00621; Sat, 14 Apr 2001 17:09:11 +0200 (MET DST)
Received-Date: Sat, 14 Apr 2001 17:09:11 +0200 (MET DST)
Received: from 1-114.ctame700-1.telepar.net.br(200.193.160.114), claiming to be "dea.waldorf-gmbh.de"
 via SMTP by guadalquivir.fnet.fr, id smtpd000216; Sat Apr 14 17:09:02 2001
Received: (from ralf@localhost)
	by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f3E2FEo00895
	for linux-mips@fnet.fr; Fri, 13 Apr 2001 23:15:14 -0300
Date: Sat, 14 Apr 2001 04:15:14 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: linux-mips@fnet.fr
Subject: [webzyf@sina.com: the Difference between Mips R2000 and R3000]
Message-ID: <20010414041514.E659@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Accept-Language: de,en,fr
Content-Length: 478
Lines: 11

----- Forwarded message from "Zhu Yifan" <webzyf@sina.com> -----

From: "Zhu Yifan" <webzyf@sina.com>
Date: Wed, 11 Apr 2001 05:33:11 +0200 (MET DST)
To: <linux-mips@fnet.fr>
Subject: the Difference between Mips R2000 and R3000

    I can't find enough information about the difference between Mips R2000 and R3000 on MIPS's own website. Is there anyone who can provide me with some detailed technical materials on that?
    Thanks very much!

----- End forwarded message -----

From ralf@dea.waldorf-gmbh.de  Sat Apr 14 17:09:21 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id RAA00649; Sat, 14 Apr 2001 17:09:21 +0200 (MET DST)
Received-Date: Sat, 14 Apr 2001 17:09:21 +0200 (MET DST)
Received: from 1-114.ctame700-1.telepar.net.br(200.193.160.114), claiming to be "dea.waldorf-gmbh.de"
 via SMTP by guadalquivir.fnet.fr, id smtpda00216; Sat Apr 14 17:09:10 2001
Received: (from ralf@localhost)
	by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f3E2Gg600900;
	Fri, 13 Apr 2001 23:16:42 -0300
Date: Sat, 14 Apr 2001 04:16:42 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: "Zhu Yifan" <webzyf@sina.com>
Cc: <linux-mips@fnet.fr>
Subject: Re: the Difference between Mips R2000 and R3000
Message-ID: <20010414041642.F659@bacchus.dhis.org>
References: <007901c0c238$3526b460$0b06a8c0@zyf>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <007901c0c238$3526b460$0b06a8c0@zyf>; from webzyf@sina.com on Wed, Apr 11, 2001 at 05:33:11AM +0200
X-Accept-Language: de,en,fr
Content-Length: 353
Lines: 10

On Wed, Apr 11, 2001 at 05:33:11AM +0200, Zhu Yifan wrote:

>     I can't find enough information about the difference between Mips
> R2000 and R3000 on MIPS's own website. Is there anyone who can provide
> me with some detailed technical materials on that?

For all practical purposes you can consider them identical modulo bugs
and clockrate.

  Ralf

From greeen@iii.org.tw  Tue Apr 17 09:31:37 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id JAA06487; Tue, 17 Apr 2001 09:31:37 +0200 (MET DST)
Received-Date: Tue, 17 Apr 2001 09:31:37 +0200 (MET DST)
Received: from h179-210-243-135.iii.org.tw(210.243.135.179), claiming to be "mta0.iii.org.tw"
 via SMTP by guadalquivir.fnet.fr, id smtpd006485; Tue Apr 17 09:31:24 2001
Received: from [140.92.66.45] (helo=iiidns.iii.org.tw)
	by mta0.iii.org.tw with esmtp (Exim 3.16 #1)
	id 14pPx0-0002qt-00; Tue, 17 Apr 2001 15:31:02 +0800
Received: from Green ([140.92.12.76])
	by iiidns.iii.org.tw (8.10.2/8.10.2) with SMTP id f3H7Uu001566;
	Tue, 17 Apr 2001 15:30:57 +0800 (CST)
Message-ID: <001e01c0c711$586a3220$4c0c5c8c@trd.iii.org.tw>
From: "Green" <greeen@iii.org.tw>
To: "LinuxEmbeddedMailList" <linux-embedded@waste.org>,
        "MipsMailList" <linux-mips@fnet.fr>
Subject: Pcmcia on Linux/Mips!!
Date: Tue, 17 Apr 2001 15:37:00 +0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_001B_01C0C754.3EB4F200"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Content-Length: 2884
Lines: 77

This is a multi-part message in MIME format.

------=_NextPart_000_001B_01C0C754.3EB4F200
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

Hi all,

I am try to write a pcmcia driver on my mips box(r3000).
There were some pcmcia code in kernel source tree.(/drivers/pcmcia)
I selected the CONFIG_PCMCIA in .config file.
But I didn't want to use insmod to load the pcmcia module.

When I insert to pcmcai slot, there is nothing happened.
Does these codes work?

The /init/main.c will call init_pcmcia_ds().
But the init_pcmcia_ds() will show error message "ds: no socket driver =
loaded!".
Why??

                                                                         =
   Green

------=_NextPart_000_001B_01C0C754.3EB4F200
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>Hi all,</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9></FONT>&nbsp;</DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>I am try to write a pcmcia =
driver on my mips=20
box(r3000).</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>There&nbsp;were some pcmcia =
code in&nbsp;kernel source=20
tree.(/drivers/pcmcia)</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>I selected the CONFIG_PCMCIA in =
.config file.</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>But I didn't want to use insmod =
to load the pcmcia=20
module.</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9></FONT>&nbsp;</DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>When I insert to pcmcai slot, =
there is nothing=20
happened.</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>Does these codes =
work?</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9></FONT>&nbsp;</DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>The /init/main.c will call =
init_pcmcia_ds().</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>But the init_pcmcia_ds() will =
show error message "ds: no=20
socket driver loaded!".</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>Why??</FONT></DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9></FONT>&nbsp;</DIV>
<DIV><FONT face=3D=B7s=B2=D3=A9=FA=C5=E9>&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
Green</FONT></DIV></BODY></HTML>

------=_NextPart_000_001B_01C0C754.3EB4F200--

From alhaz@xmission.com  Tue Apr 17 17:24:54 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id RAA10640; Tue, 17 Apr 2001 17:24:54 +0200 (MET DST)
Received-Date: Tue, 17 Apr 2001 17:24:54 +0200 (MET DST)
Received: from mail.xmission.com(198.60.22.22)
 via SMTP by guadalquivir.fnet.fr, id smtpd010638; Tue Apr 17 17:24:45 2001
Received: from alhaz.dsl.xmission.com
	([166.70.14.226] helo=xmission.com ident=alhaz)
	by mail.xmission.com with esmtp (Exim 3.12 #1)
	id 14pXLM-0000BX-00; Tue, 17 Apr 2001 09:24:40 -0600
Sender: alhaz@fnet.fr
Message-ID: <3ADC6037.3860B175@xmission.com>
Date: Tue, 17 Apr 2001 09:24:39 -0600
From: Eric Jorgensen <alhaz@xmission.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.19 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: Green <greeen@iii.org.tw>
CC: LinuxEmbeddedMailList <linux-embedded@waste.org>,
        MipsMailList <linux-mips@fnet.fr>
Subject: Re: Pcmcia on Linux/Mips!!
References: <001e01c0c711$586a3220$4c0c5c8c@trd.iii.org.tw>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Length: 893
Lines: 30

> Green wrote:
> 
> Hi all,
> 
> I am try to write a pcmcia driver on my mips box(r3000).
> There were some pcmcia code in kernel source tree.(/drivers/pcmcia)
> I selected the CONFIG_PCMCIA in .config file.
> But I didn't want to use insmod to load the pcmcia module.

	You may have to. 

> When I insert to pcmcai slot, there is nothing happened.
> Does these codes work?

	You need the cardmgr daemon for anyhthing to happen. 

> The /init/main.c will call init_pcmcia_ds().
> But the init_pcmcia_ds() will show error message "ds: no socket driver
> loaded!".
> Why??

	My guess is that you got that message because there is no socket driver
loaded. 

	I would suggest familiarizing yourself with linux pcmcia card services
on a known platform first, and then attacking this again. Shooting in
the dark and then asking if anyone knows where the bullet went isn't
very productive. 

 - Eric

From ralf@dea.waldorf-gmbh.de  Wed Apr 18 23:51:53 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id XAA24513; Wed, 18 Apr 2001 23:51:53 +0200 (MET DST)
Received-Date: Wed, 18 Apr 2001 23:51:53 +0200 (MET DST)
Received: from oss.sgi.com(216.32.174.190)
 via SMTP by guadalquivir.fnet.fr, id smtpd024511; Wed Apr 18 23:51:46 2001
Received: from dea.waldorf-gmbh.de (IDENT:root@localhost [127.0.0.1])
	by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3ILpdM24243
	for <linux-mips@fnet.fr>; Wed, 18 Apr 2001 14:51:40 -0700
Received: (from ralf@localhost)
	by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f3ILg7G01550;
	Wed, 18 Apr 2001 18:42:07 -0300
Date: Wed, 18 Apr 2001 18:42:07 -0300
From: Ralf Baechle <ralf@oss.sgi.com>
To: linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: New crosscompilers
Message-ID: <20010418184207.C1437@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Accept-Language: de,en,fr
Content-Length: 347
Lines: 7

I've uploaded new egcs 1.1.2 based crosscompiler to oss.sgi.com into
/pub/linux/mips/crossdev/.  The only change for version 1.1.2-4 affects
mips64-linux and mips64el-linux targets where asking for alignments
larger than 8 bytes was ignored with a warning message.  This did
possibly result in some performance penalty for mips64 kernels.

  Ralf

From C.Meier@helfrecht.de  Thu Apr 19 13:56:39 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id NAA29881; Thu, 19 Apr 2001 13:56:39 +0200 (MET DST)
Received-Date: Thu, 19 Apr 2001 13:56:39 +0200 (MET DST)
Received: from mail2.wwl.de(62.157.220.92), claiming to be "post.wwl.de"
 via SMTP by guadalquivir.fnet.fr, id smtpd029879; Thu Apr 19 13:56:34 2001
Received: from (hruserver.helfrecht.de) [62.157.222.195] 
	by post.wwl.de with esmtp (Exim 3.12 #1)
	id 14qD2m-0007zf-00 (Debian); Thu, 19 Apr 2001 13:56:16 +0200
Received: by drueben.wwl.de with Internet Mail Service (5.5.2448.0)
	id <2THNSMJA>; Thu, 19 Apr 2001 13:55:01 +0200
Message-ID: <3118D67FCC0AD411927D204C4F4F50200A31CE@drueben.wwl.de>
From: "Meier, Carsten" <C.Meier@helfrecht.de>
To: "'linux-mips@fnet.fr'" <linux-mips@fnet.fr>
Subject: Install-Guide for MIPS-Linux ????
Date: Thu, 19 Apr 2001 13:54:57 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C0C8C7.8FF65E10"
Content-Length: 1266
Lines: 55

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0C8C7.8FF65E10
Content-Type: text/plain;
	charset="iso-8859-1"

Hello,

has anyone a little Install-guide to install a Linux / Kernel to a
MIPS-10000 - Processor (Siemens RM600).

Thanks al lot for your help.

Bye

Carsten Meier


------_=_NextPart_001_01C0C8C7.8FF65E10
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>Install-Guide for MIPS-Linux ????</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hello,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">has anyone a little Install-guide to =
install a Linux / Kernel to a MIPS-10000 - Processor (Siemens =
RM600).</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks al lot for your help.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Bye</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Carsten Meier</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C0C8C7.8FF65E10--

From juht@postech.ac.kr  Mon Apr 23 09:42:47 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id JAA00386; Mon, 23 Apr 2001 09:42:47 +0200 (MET DST)
Received-Date: Mon, 23 Apr 2001 09:42:47 +0200 (MET DST)
Received: from enisei.postech.ac.kr(141.223.82.45)
 via SMTP by guadalquivir.fnet.fr, id smtpd000384; Mon Apr 23 09:42:39 2001
Received: from thames (thames.postech.ac.kr [141.223.82.4])
	by enisei.postech.ac.kr (8.11.0/8.11.0) with SMTP id f3N7gaI04826
	for <linux-mips@fnet.fr>; Mon, 23 Apr 2001 16:42:36 +0900 (KST)
From: "Ju, Hong-Taek" <juht@postech.ac.kr>
To: <linux-mips@fnet.fr>
Subject: Where can I get a mail archieve?
Date: Mon, 23 Apr 2001 16:43:31 +0900
Message-ID: <FLENIGNJOHOOJBNLLCMLEEFJCMAA.juht@postech.ac.kr>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Content-Length: 180
Lines: 11


Dear MIPS Linuxer

I have just subscribed this mailing-list.
I can not find previous mail archieve anywhere.
Where can I get a previous mail archieve?

Thanks in advance.

/juht


From michaels@jungo.com  Mon Apr 23 17:41:24 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id RAA04779; Mon, 23 Apr 2001 17:41:24 +0200 (MET DST)
Received-Date: Mon, 23 Apr 2001 17:41:24 +0200 (MET DST)
Received: from mailgw3.netvision.net.il(194.90.1.11)
 via SMTP by guadalquivir.fnet.fr, id smtpd004777; Mon Apr 23 17:41:20 2001
Received: from jungo.com ([194.90.113.98])
	by mailgw3.netvision.net.il (8.9.3/8.9.3) with ESMTP id SAA16169;
	Mon, 23 Apr 2001 18:39:31 +0300 (IDT)
Message-ID: <3AE44D0A.9080003@jungo.com>
Date: Mon, 23 Apr 2001 18:40:58 +0300
From: Michael Shmulevich <michaels@jungo.com>
Organization: Jungo LTD
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.17-21mdk i686; en-US; 0.8.1) Gecko/20010326
X-Accept-Language: en
MIME-Version: 1.0
To: Linux/MIPS <linux-mips@oss.sgi.com>, FR Linux/MIPS <linux-mips@fnet.fr>
Subject: ld.so-1.9.x for mips
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Length: 430
Lines: 18

Hi,

I have seen a compiled version of ld.so-1.9.11_mips on ftp.rfc882.com 
site.I am searching for its sources.

Where can I find them, please?

Thanks.

Sincerely yours,
Michael Shmulevich
______________________________________
Software Developer
Jungo - R&D
email: michaels@jungo.com
web: http://www.jungo.com
Phone: 1-877-514-0537(USA)  +972-9-8859365(Worldwide) ext. 233
Fax:   1-877-514-0538(USA)  +972-9-8859366(Worldwide)

From ralf@dea.waldorf-gmbh.de  Mon Apr 23 18:26:34 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id SAA06004; Mon, 23 Apr 2001 18:26:34 +0200 (MET DST)
Received-Date: Mon, 23 Apr 2001 18:26:34 +0200 (MET DST)
Received: from oss.sgi.com(216.32.174.190)
 via SMTP by guadalquivir.fnet.fr, id smtpd005999; Mon Apr 23 18:26:29 2001
Received: from dea.waldorf-gmbh.de (IDENT:root@localhost [127.0.0.1])
	by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3NGQLM00347
	for <linux-mips@fnet.fr>; Mon, 23 Apr 2001 09:26:21 -0700
Received: (from ralf@localhost)
	by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f3NGQFI04588
	for linux-mips@fnet.fr; Mon, 23 Apr 2001 13:26:15 -0300
Date: Mon, 23 Apr 2001 13:26:14 -0300
From: Ralf Baechle <ralf@uni-koblenz.de>
To: linux-mips@fnet.fr
Subject: [juht@postech.ac.kr: Where can I start porting on QED RM5231?]
Message-ID: <20010423132614.A4545@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Accept-Language: de,en,fr
Content-Length: 571
Lines: 24

----- Forwarded message from "Ju, Hong-Taek" <juht@postech.ac.kr> -----

From: "Ju, Hong-Taek" <juht@postech.ac.kr>
Date: Wed, 18 Apr 2001 16:03:10 +0200 (MET DST)
To: <linux-mips@fnet.fr>
Subject: Where can I start porting on QED RM5231?


Dear linux porter on MIPS

I am a Ph.D student in Korea, POSTECH.
I am trying to port Linux on EV-64115-5231 from Galileo.
The evaluation board is equiped with RM5231 CPU.
I am working on SDE4 fom Agorithmics.

Where can I start the porting work?
And How can I contribute to it?

/juht


----- End forwarded message -----

  Ralf

From ralf@dea.waldorf-gmbh.de  Mon Apr 23 18:26:34 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id SAA06005; Mon, 23 Apr 2001 18:26:34 +0200 (MET DST)
Received-Date: Mon, 23 Apr 2001 18:26:34 +0200 (MET DST)
Received: from oss.sgi.com(216.32.174.190)
 via SMTP by guadalquivir.fnet.fr, id smtpd006000; Mon Apr 23 18:26:30 2001
Received: from dea.waldorf-gmbh.de (IDENT:root@localhost [127.0.0.1])
	by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3NGQQM00354
	for <linux-mips@fnet.fr>; Mon, 23 Apr 2001 09:26:27 -0700
Received: (from ralf@localhost)
	by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f3NGQLW04595
	for linux-mips@fnet.fr; Mon, 23 Apr 2001 13:26:21 -0300
Date: Mon, 23 Apr 2001 13:26:21 -0300
From: Ralf Baechle <ralf@uni-koblenz.de>
To: linux-mips@fnet.fr
Subject: [engel@unix-ag.org: Re: Install-Guide for MIPS-Linux ????]
Message-ID: <20010423132621.B4545@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Accept-Language: de,en,fr
Content-Length: 1134
Lines: 37

----- Forwarded message from Michael Engel <engel@unix-ag.org> -----

From: Michael Engel <engel@unix-ag.org>
Date: Thu, 19 Apr 2001 14:10:51 +0200 (MET DST)
To: linux-mips@fnet.fr
Subject: Re: Install-Guide for MIPS-Linux ????


Hi,

On Thu, Apr 19, 2001 at 01:54:57PM +0200, Meier, Carsten wrote:
> has anyone a little Install-guide to install a Linux / Kernel to a
> MIPS-10000 - Processor (Siemens RM600).

You have two choices...

The easy one: it doesn't work.
The complicated one: Start a port based on the existing Linux/MIPS
 kernel code.

In short, sorry, there is no support for RM600 systems in current kernels
and it would take a significant amount of work (and documentation from
Siemens) to port the Linux/MIPS kernel to the RM600.

Some work was done by Ralf Baechle and me to port Linux to RM200C (PCI-
based machines, Ralf) and RM200/RM400 (ISA/EISA-based machines, me)
but the RM600 series is quite different. So your only choice right now
is Sinix or donating the machine to an interested Linux kernel hacker ;-).

regards,
	Michael
-- 
Michael Engel	(engel@unix-ag.org)

----- End forwarded message -----

  Ralf

From ralf@dea.waldorf-gmbh.de  Mon Apr 23 18:26:44 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id SAA06041; Mon, 23 Apr 2001 18:26:44 +0200 (MET DST)
Received-Date: Mon, 23 Apr 2001 18:26:44 +0200 (MET DST)
Received: from oss.sgi.com(216.32.174.190)
 via SMTP by guadalquivir.fnet.fr, id smtpd006001; Mon Apr 23 18:26:35 2001
Received: from dea.waldorf-gmbh.de (IDENT:root@localhost [127.0.0.1])
	by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3NGQVM00362
	for <linux-mips@fnet.fr>; Mon, 23 Apr 2001 09:26:32 -0700
Received: (from ralf@localhost)
	by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f3NGQQJ04602
	for linux-mips@fnet.fr; Mon, 23 Apr 2001 13:26:26 -0300
Date: Mon, 23 Apr 2001 13:26:26 -0300
From: Ralf Baechle <ralf@uni-koblenz.de>
To: linux-mips@fnet.fr
Subject: [airlied@skynet.ie: toolchain with dwarf 2]
Message-ID: <20010423132626.C4545@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Accept-Language: de,en,fr
Content-Length: 543
Lines: 23

----- Forwarded message from Dave Airlie <airlied@skynet.ie> -----

From: Dave Airlie <airlied@skynet.ie>
Date: Sun, 22 Apr 2001 19:02:45 +0200 (MET DST)
To: "Linux MIPS fnet.fr" <linux-mips@fnet.fr>
Subject: toolchain with dwarf 2


Hi,
	is there a MIPS toolchain that can compile the Linux kernel with
dwarf 2 support? or is this a silly question...

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied@skynet.ie
pam_smb / Linux DecStation / Linux VAX / ILUG person


----- End forwarded message -----

  Ralf

From ralf@dea.waldorf-gmbh.de  Mon Apr 23 18:26:44 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id SAA06040; Mon, 23 Apr 2001 18:26:44 +0200 (MET DST)
Received-Date: Mon, 23 Apr 2001 18:26:44 +0200 (MET DST)
Received: from oss.sgi.com(216.32.174.190)
 via SMTP by guadalquivir.fnet.fr, id smtpd006020; Mon Apr 23 18:26:39 2001
Received: from dea.waldorf-gmbh.de (IDENT:root@localhost [127.0.0.1])
	by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3NGQaM00368
	for <linux-mips@fnet.fr>; Mon, 23 Apr 2001 09:26:36 -0700
Received: (from ralf@localhost)
	by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f3NGQV104609
	for linux-mips@fnet.fr; Mon, 23 Apr 2001 13:26:31 -0300
Date: Mon, 23 Apr 2001 13:26:31 -0300
From: Ralf Baechle <ralf@uni-koblenz.de>
To: linux-mips@fnet.fr
Subject: [cosmos@astonlinux.com: MMU]
Message-ID: <20010423132631.D4545@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Accept-Language: de,en,fr
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by oss.sgi.com id f3NGQaM00368
Content-Length: 432
Lines: 22

----- Forwarded message from =B0=AD=BD=C5=B1=D4 <cosmos@astonlinux.com> -=
----

From: =B0=AD=BD=C5=B1=D4 <cosmos@astonlinux.com>
Date: Mon, 23 Apr 2001 03:54:02 +0200 (MET DST)
To: linux-mips@fnet.fr
Subject: MMU

hi everyone,  my name is ShinKyu Kang.

I'm a novice in MIPS.

I'd like to know about MIPS MMU mechanism (R3000)

Please tell me where can I found the documents?

Shinkyu..


----- End forwarded message -----

  Ralf

From ralf@dea.waldorf-gmbh.de  Mon Apr 23 22:03:42 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id WAA11595; Mon, 23 Apr 2001 22:03:42 +0200 (MET DST)
Received-Date: Mon, 23 Apr 2001 22:03:42 +0200 (MET DST)
Received: from oss.sgi.com(216.32.174.190)
 via SMTP by guadalquivir.fnet.fr, id smtpd011593; Mon Apr 23 22:03:34 2001
Received: from dea.waldorf-gmbh.de (IDENT:root@localhost [127.0.0.1])
	by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3NK3QM08763
	for <linux-mips@fnet.fr>; Mon, 23 Apr 2001 13:03:27 -0700
Received: (from ralf@localhost)
	by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f3NK32i05855;
	Mon, 23 Apr 2001 17:03:02 -0300
Date: Mon, 23 Apr 2001 17:03:02 -0300
From: Ralf Baechle <ralf@oss.sgi.com>
To: Michael Shmulevich <michaels@jungo.com>
Cc: Linux/MIPS <linux-mips@oss.sgi.com>, FR Linux/MIPS <linux-mips@fnet.fr>
Subject: Re: ld.so-1.9.x for mips
Message-ID: <20010423170302.E4623@bacchus.dhis.org>
References: <3AE44D0A.9080003@jungo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3AE44D0A.9080003@jungo.com>; from michaels@jungo.com on Mon, Apr 23, 2001 at 06:40:58PM +0300
X-Accept-Language: de,en,fr
Content-Length: 474
Lines: 14

On Mon, Apr 23, 2001 at 06:40:58PM +0300, Michael Shmulevich wrote:

> I have seen a compiled version of ld.so-1.9.11_mips on ftp.rfc882.com 
> site.I am searching for its sources.
> 
> Where can I find them, please?

While this package surprisingly compiles for MIPS it shouldn't be used
ever for anything on Linux/MIPS as we don't have libc4 / libc 5.  The
equivalent for libc6 aka glibc 2 is part of glibc.

Florian, can you remove this package from Debian/MIPS?

  Ralf

From michaels@jungo.com  Tue Apr 24 09:26:18 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id JAA22533; Tue, 24 Apr 2001 09:26:18 +0200 (MET DST)
Received-Date: Tue, 24 Apr 2001 09:26:18 +0200 (MET DST)
Received: from mailgw3.netvision.net.il(194.90.1.11)
 via SMTP by guadalquivir.fnet.fr, id smtpd022531; Tue Apr 24 09:26:15 2001
Received: from jungo.com ([194.90.113.98])
	by mailgw3.netvision.net.il (8.9.3/8.9.3) with ESMTP id KAA09906;
	Tue, 24 Apr 2001 10:24:30 +0300 (IDT)
Message-ID: <3AE52A87.9050403@jungo.com>
Date: Tue, 24 Apr 2001 10:25:59 +0300
From: Michael Shmulevich <michaels@jungo.com>
Organization: Jungo LTD
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.17-21mdk i686; en-US; 0.8.1) Gecko/20010326
X-Accept-Language: en
MIME-Version: 1.0
To: Ralf Baechle <ralf@oss.sgi.com>
CC: Linux/MIPS <linux-mips@oss.sgi.com>, FR Linux/MIPS <linux-mips@fnet.fr>
Subject: Re: ld.so-1.9.x for mips
References: <3AE44D0A.9080003@jungo.com> <20010423170302.E4623@bacchus.dhis.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Length: 1022
Lines: 32

Ralf,


> While this package surprisingly compiles for MIPS it shouldn't be used
> ever for anything on Linux/MIPS as we don't have libc4 / libc 5. 

You're right about Libc5, but I need it for uClibc. Besides it 
surprisingly does not compile for MIPS, as it misses many parts of MIPS 
assembly code, usually found under sysdep part of ld.so.

> The equivalent for libc6 aka glibc 2 is part of glibc.

The whole idea behind uClibc was to get rid of that huge chunk of 
memory-wasting package, and I do not mean to use any part of it.
Unless you can tell me how ld.so of glibc can be compiled standalone :-)



> Florian, can you remove this package from Debian/MIPS?

Florian, please, if you still have sources, can you tell me where they are?


Sincerely yours,
Michael Shmulevich
______________________________________
Software Developer
Jungo - R&D
email: michaels@jungo.com
web: http://www.jungo.com
Phone: 1-877-514-0537(USA)  +972-9-8859365(Worldwide) ext. 233
Fax:   1-877-514-0538(USA)  +972-9-8859366(Worldwide)

From rabeeh@galileo.co.il  Tue Apr 24 10:39:28 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id KAA24204; Tue, 24 Apr 2001 10:39:28 +0200 (MET DST)
Received-Date: Tue, 24 Apr 2001 10:39:28 +0200 (MET DST)
Received: from pop3.galileo.co.il(199.203.130.130), claiming to be "galileo5.galileo.co.il"
 via SMTP by guadalquivir.fnet.fr, id smtpd024202; Tue Apr 24 10:39:24 2001
Received: from galileo.co.il (rabeeh@linux2.galileo.co.il [10.2.40.2])
	by galileo.co.il (8.8.5/8.8.5) with ESMTP id LAA27733;
	Tue, 24 Apr 2001 11:39:17 +0200 (GMT-2)
Message-ID: <3AE53B8C.7070601@galileo.co.il>
Date: Tue, 24 Apr 2001 11:38:36 +0300
From: Rabeeh Khoury <rabeeh@galileo.co.il>
Organization: Galileo Technology
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.14-5.0 i686; en-US; m18) Gecko/20010131 Netscape6/6.01
X-Accept-Language: en
MIME-Version: 1.0
To: Ralf Baechle <ralf@uni-koblenz.de>
CC: linux-mips@fnet.fr, junht@postech.ac.kr
Subject: Re: [juht@postech.ac.kr: Where can I start porting on QED RM5231?]
References: <20010423132614.A4545@bacchus.dhis.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Length: 1003
Lines: 40

Hi,

Try using the MontaVista's port for EV-64120A as a starting point. I 
don't know how much differences would be comparing with the EV-64115 , 
but at least few GT-64115 mapping are different, and in EV-64120A there 
is a 16550 compatible serial controller and in the EV-64115 there is a 
85c30 (Zilog) compatible serial controller.

Regards,
Rabeeh

Ralf Baechle wrote:

> ----- Forwarded message from "Ju, Hong-Taek" <juht@postech.ac.kr> -----
> 
> From: "Ju, Hong-Taek" <juht@postech.ac.kr>
> Date: Wed, 18 Apr 2001 16:03:10 +0200 (MET DST)
> To: <linux-mips@fnet.fr>
> Subject: Where can I start porting on QED RM5231?
> 
> 
> Dear linux porter on MIPS
> 
> I am a Ph.D student in Korea, POSTECH.
> I am trying to port Linux on EV-64115-5231 from Galileo.
> The evaluation board is equiped with RM5231 CPU.
> I am working on SDE4 fom Agorithmics.
> 
> Where can I start the porting work?
> And How can I contribute to it?
> 
> /juht
> 
> 
> ----- End forwarded message -----
> 
>   Ralf
> 
> 
> 

From flo@rfc822.org  Tue Apr 24 12:51:27 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id MAA25843; Tue, 24 Apr 2001 12:51:27 +0200 (MET DST)
Received-Date: Tue, 24 Apr 2001 12:51:27 +0200 (MET DST)
Received: from noose.gt.owl.de(62.52.19.4)
 via SMTP by guadalquivir.fnet.fr, id smtpd025841; Tue Apr 24 12:51:17 2001
Received: by noose.gt.owl.de (Postfix, from userid 10)
	id 349867D9; Tue, 24 Apr 2001 12:51:14 +0200 (CEST)
Received: by paradigm.rfc822.org (Postfix, from userid 1000)
	id CD3F5F391; Tue, 24 Apr 2001 12:48:28 +0200 (CEST)
Date: Tue, 24 Apr 2001 12:48:28 +0200
From: Florian Lohoff <flo@rfc822.org>
To: Michael Shmulevich <michaels@jungo.com>
Cc: Linux/MIPS <linux-mips@oss.sgi.com>, FR Linux/MIPS <linux-mips@fnet.fr>
Subject: Re: ld.so-1.9.x for mips
Message-ID: <20010424124828.D6256@paradigm.rfc822.org>
References: <3AE44D0A.9080003@jungo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.15i
In-Reply-To: <3AE44D0A.9080003@jungo.com>; from michaels@jungo.com on Mon, Apr 23, 2001 at 06:40:58PM +0300
Organization: rfc822 - pure communication
Sender: flo@rfc822.org
Content-Length: 713
Lines: 20

On Mon, Apr 23, 2001 at 06:40:58PM +0300, Michael Shmulevich wrote:
> 
> Hi,
> 
> I have seen a compiled version of ld.so-1.9.11_mips on ftp.rfc882.com 
> site.I am searching for its sources.
> 
> Where can I find them, please?

Its ftp.rfc822.org - Any yes there is one in the debian packages
i and Ryan Murray built on all debian ftp server for mips and mipsel.

For non-debianers - You can extract the .deb by using "ar x <file.deb>"
and then you get 2 tar.gz one data which contains the files and
the control.tar.gz which contains the package informations.

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
     Why is it called "common sense" when nobody seems to have any?

From alan@lxorguk.ukuu.org.uk  Tue Apr 24 15:43:26 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id PAA29848; Tue, 24 Apr 2001 15:43:26 +0200 (MET DST)
Received-Date: Tue, 24 Apr 2001 15:43:26 +0200 (MET DST)
Received: from router-100M.swansea.linux.org.uk(194.168.151.17), claiming to be "the-village.bc.nu"
 via SMTP by guadalquivir.fnet.fr, id smtpd029846; Tue Apr 24 15:43:22 2001
Received: from alan by the-village.bc.nu with local (Exim 2.12 #1)
	id 14s36f-00024A-00; Tue, 24 Apr 2001 14:43:53 +0100
Subject: Re: ld.so-1.9.x for mips
To: michaels@jungo.com (Michael Shmulevich)
Date: Tue, 24 Apr 2001 14:43:51 +0100 (BST)
Cc: ralf@oss.sgi.com (Ralf Baechle), linux-mips@oss.sgi.com (Linux/MIPS),
        linux-mips@fnet.fr (FR Linux/MIPS)
In-Reply-To: <3AE52A87.9050403@jungo.com> from "Michael Shmulevich" at Apr 24, 2001 10:25:59 AM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <E14s36f-00024A-00@the-village.bc.nu>
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Content-Length: 353
Lines: 6

> The whole idea behind uClibc was to get rid of that huge chunk of 
> memory-wasting package, and I do not mean to use any part of it.
> Unless you can tell me how ld.so of glibc can be compiled standalone :-)

You might want to look at newlib instead. That has mips support but not afaik
MIPS linux syscall bindings yet. Its used for things like eCos

From ralf@dea.waldorf-gmbh.de  Tue Apr 24 19:12:54 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id TAA02752; Tue, 24 Apr 2001 19:12:54 +0200 (MET DST)
Received-Date: Tue, 24 Apr 2001 19:12:54 +0200 (MET DST)
Received: from oss.sgi.com(216.32.174.190)
 via SMTP by guadalquivir.fnet.fr, id smtpd002750; Tue Apr 24 19:12:51 2001
Received: from dea.waldorf-gmbh.de (IDENT:root@localhost [127.0.0.1])
	by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3OHCfM27742
	for <linux-mips@fnet.fr>; Tue, 24 Apr 2001 10:12:42 -0700
Received: (from ralf@localhost)
	by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f3OHC1h06159;
	Tue, 24 Apr 2001 14:12:01 -0300
Date: Tue, 24 Apr 2001 14:12:01 -0300
From: Ralf Baechle <ralf@uni-koblenz.de>
To: "Meier, Carsten" <C.Meier@helfrecht.de>
Cc: "'linux-mips@fnet.fr'" <linux-mips@fnet.fr>
Subject: Re: Install-Guide for MIPS-Linux ????
Message-ID: <20010424141201.E5379@bacchus.dhis.org>
References: <3118D67FCC0AD411927D204C4F4F50200A31CE@drueben.wwl.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3118D67FCC0AD411927D204C4F4F50200A31CE@drueben.wwl.de>; from C.Meier@helfrecht.de on Thu, Apr 19, 2001 at 01:54:57PM +0200
X-Accept-Language: de,en,fr
Content-Length: 207
Lines: 8

On Thu, Apr 19, 2001 at 01:54:57PM +0200, Meier, Carsten wrote:

> has anyone a little Install-guide to install a Linux / Kernel to a
> MIPS-10000 - Processor (Siemens RM600).

Non-supported system.

  Ralf

From michaels@jungo.com  Wed Apr 25 09:29:20 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id JAA11735; Wed, 25 Apr 2001 09:29:20 +0200 (MET DST)
Received-Date: Wed, 25 Apr 2001 09:29:20 +0200 (MET DST)
Received: from mailgw3.netvision.net.il(194.90.1.11)
 via SMTP by guadalquivir.fnet.fr, id smtpd011733; Wed Apr 25 09:29:12 2001
Received: from jungo.com ([194.90.113.98])
	by mailgw3.netvision.net.il (8.9.3/8.9.3) with ESMTP id KAA22321;
	Wed, 25 Apr 2001 10:27:29 +0300 (IDT)
Message-ID: <3AE67CBA.4060606@jungo.com>
Date: Wed, 25 Apr 2001 10:28:58 +0300
From: Michael Shmulevich <michaels@jungo.com>
Organization: Jungo LTD
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.17-21mdk i686; en-US; 0.8.1) Gecko/20010326
X-Accept-Language: en
MIME-Version: 1.0
To: FR Linux/MIPS <linux-mips@fnet.fr>, Linux/MIPS <linux-mips@oss.sgi.com>
Subject: usermode gdb / remote gdb
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Length: 3007
Lines: 81

Hi,

I am trying to configure gdb to debug usermode on my mips box. i have 
two choices: one is to use "native"-compiled gdb, ot remote debugging on 
x86 box via serial or IP.

Currently I have no luck making any of the two configurations.

For "native" gdb I try to
$ CC=mips-linux-gcc ./configure mips-linux
and eventually I get
configure: error: *** Gdb does not support host mips-mips-linux-gnu

For remote debugging, I use
$ ./configure --target=mips
which succeded, and I even am able to get cross 'mips-gdb' which 
understands mips executables. However, when trying to configure gdbserver,

$ cd gdb/gdbserver
$ ../../configure mips-linux
*** ./configure.in has no "per-host:" line.
*** Hmm, looks like this directory has been autoconfiscated.
*** Running the local configure script.
creating cache config.cache
checking host system type... mips-mips-linux-gnu
checking target system type... mips-mips-linux-gnu
checking build system type... mips-mips-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
configure: error: *** GDB remote does not support host mips-mips-linux-gnu

Too bad, have seen it before, so I just tried to

$ ../../configure --host=mips --target=mips
*** ./configure.in has no "per-host:" line.
*** Hmm, looks like this directory has been autoconfiscated.
*** Running the local configure script.
loading cache config.cache
checking host system type... mips-mips-elf
checking target system type... mips-mips-elf
checking build system type... mips-mips-elf
checking for a BSD compatible install... /usr/bin/install -c
configure: error: *** GDB remote does not support host mips-mips-elf

And the last try (like the one that worked before):

$ ../../configure --target=mips
Configuring for a i686-pc-linux-gnu host.
*** ./configure.in has no "per-host:" line.
*** Hmm, looks like this directory has been autoconfiscated.
*** Running the local configure script.
loading cache config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... mips-mips-elf
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
updating cache config.cache
creating ./config.status
creating Makefile
linking ./../config/i386/xm-linux.h to xm.h
linking ./../config/mips/tm-embed.h to tm.h
linking ./../config/nm-empty.h to nm.h

which clearly misconfigured, because of host system type set to x86, and 
nm.h is pointing to nm-emty.h (?).

 From what I see, I cannot use neither mips-linux nor mips-elf for host 
specification. On the other hand, I have seen lately a lot of discussion 
for gdb support for MIPS (bot kernel and usermode).

I just wonder what I am missing from all this story.
Your help is greatly appreciated.

Sincerely yours,
Michael Shmulevich
______________________________________
Software Developer
Jungo - R&D
email: michaels@jungo.com
web: http://www.jungo.com
Phone: 1-877-514-0537(USA)  +972-9-8859365(Worldwide) ext. 233
Fax:   1-877-514-0538(USA)  +972-9-8859366(Worldwide)

From ralf@dea.waldorf-gmbh.de  Thu Apr 26 15:06:31 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id PAA23947; Thu, 26 Apr 2001 15:06:31 +0200 (MET DST)
Received-Date: Thu, 26 Apr 2001 15:06:31 +0200 (MET DST)
Received: from oss.sgi.com(216.32.174.190)
 via SMTP by guadalquivir.fnet.fr, id smtpd023945; Thu Apr 26 15:06:27 2001
Received: from dea.waldorf-gmbh.de (IDENT:root@localhost [127.0.0.1])
	by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3QD6EM11157
	for <linux-mips@fnet.fr>; Thu, 26 Apr 2001 06:06:15 -0700
Received: (from ralf@localhost)
	by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f3QD5qW01603
	for linux-mips@fnet.fr; Thu, 26 Apr 2001 10:05:52 -0300
Date: Thu, 26 Apr 2001 10:05:52 -0300
From: Ralf Baechle <ralf@uni-koblenz.de>
To: linux-mips@fnet.fr
Subject: [ians@lineo.com: Re: usermode gdb / remote gdb]
Message-ID: <20010426100552.C1227@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Accept-Language: de,en,fr
Content-Length: 4465
Lines: 114

----- Forwarded message from Ian Soanes <ians@lineo.com> -----

From: Ian Soanes <ians@lineo.com>
Date: Wed, 25 Apr 2001 11:33:43 +0200 (MET DST)
To: Michael Shmulevich <michaels@jungo.com>
CC: FR Linux/MIPS <linux-mips@fnet.fr>, Linux/MIPS <linux-mips@oss.sgi.com>
Subject: Re: usermode gdb / remote gdb

Michael Shmulevich wrote:
> 
> Hi,
> 
> I am trying to configure gdb to debug usermode on my mips box. i have
> two choices: one is to use "native"-compiled gdb, ot remote debugging on
> x86 box via serial or IP.
> 
> Currently I have no luck making any of the two configurations.
> 
> For "native" gdb I try to
> $ CC=mips-linux-gcc ./configure mips-linux
> and eventually I get
> configure: error: *** Gdb does not support host mips-mips-linux-gnu
> 
> For remote debugging, I use
> $ ./configure --target=mips
> which succeded, and I even am able to get cross 'mips-gdb' which
> understands mips executables. However, when trying to configure gdbserver,
> 
> $ cd gdb/gdbserver
> $ ../../configure mips-linux
> *** ./configure.in has no "per-host:" line.
> *** Hmm, looks like this directory has been autoconfiscated.
> *** Running the local configure script.
> creating cache config.cache
> checking host system type... mips-mips-linux-gnu
> checking target system type... mips-mips-linux-gnu
> checking build system type... mips-mips-linux-gnu
> checking for a BSD compatible install... /usr/bin/install -c
> configure: error: *** GDB remote does not support host mips-mips-linux-gnu
> 
> Too bad, have seen it before, so I just tried to
> 
> $ ../../configure --host=mips --target=mips
> *** ./configure.in has no "per-host:" line.
> *** Hmm, looks like this directory has been autoconfiscated.
> *** Running the local configure script.
> loading cache config.cache
> checking host system type... mips-mips-elf
> checking target system type... mips-mips-elf
> checking build system type... mips-mips-elf
> checking for a BSD compatible install... /usr/bin/install -c
> configure: error: *** GDB remote does not support host mips-mips-elf
> 
> And the last try (like the one that worked before):
> 
> $ ../../configure --target=mips
> Configuring for a i686-pc-linux-gnu host.
> *** ./configure.in has no "per-host:" line.
> *** Hmm, looks like this directory has been autoconfiscated.
> *** Running the local configure script.
> loading cache config.cache
> checking host system type... i686-pc-linux-gnu
> checking target system type... mips-mips-elf
> checking build system type... i686-pc-linux-gnu
> checking for a BSD compatible install... /usr/bin/install -c
> updating cache config.cache
> creating ./config.status
> creating Makefile
> linking ./../config/i386/xm-linux.h to xm.h
> linking ./../config/mips/tm-embed.h to tm.h
> linking ./../config/nm-empty.h to nm.h
> 
> which clearly misconfigured, because of host system type set to x86, and
> nm.h is pointing to nm-emty.h (?).
> 
>  From what I see, I cannot use neither mips-linux nor mips-elf for host
> specification. On the other hand, I have seen lately a lot of discussion
> for gdb support for MIPS (bot kernel and usermode).
> 
> I just wonder what I am missing from all this story.
> Your help is greatly appreciated.
> 

Hi Michael,

I can't really comment on self hosted debugging with a native compiled
gdb. However I have been working on host target debugging with the
kernel gdbstub and gdbserver. As you're not interested in kernel
debugging I won't say any more about the kernel stub.

The (host side) gdb I've been using was configured with ./configure
--target=mipsel-linux-elf (my target is an IDT MIPS 79S334 evaluation
board). I too am using an x86 host. I used a development version of
gdb-5.0 (I found the 'official' 5.0 had problems with the
add-symbol-file command that I use for kernel module debugging, and more
importantly for you... breakpoints didn't work) These problems are gone
in the later version.

Yesterday I got gdbserver working correctly on my target (over IP or
serial). It's a combination of Martin Rivers' mips port and my 'fixes'.
At this stage the build is hand cranked and neither of us have put it
under the control of the gdb configuration files. However, we (lineo)
will now start doing this.

I hope this helps in some way. Please let me know if there is anything I
can help with. It might also be worth contacting Fabrice, as it sounds
like he has a working gdb and gdbserver.

Best regards,
Ian

----- End forwarded message -----

  Ralf

From michaels@jungo.com  Sun Apr 29 11:50:07 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id LAA19276; Sun, 29 Apr 2001 11:50:07 +0200 (MET DST)
Received-Date: Sun, 29 Apr 2001 11:50:07 +0200 (MET DST)
Received: from mailgw1.netvision.net.il(194.90.1.14)
 via SMTP by guadalquivir.fnet.fr, id smtpd019254; Sun Apr 29 11:50:05 2001
Received: from jungo.com ([194.90.113.98])
	by mailgw1.netvision.net.il (8.9.3/8.9.3) with ESMTP id MAA25897;
	Sun, 29 Apr 2001 12:49:35 +0300 (IDT)
Message-ID: <3AEBE34C.5070009@jungo.com>
Date: Sun, 29 Apr 2001 12:47:56 +0300
From: Michael Shmulevich <michaels@jungo.com>
Organization: Jungo LTD
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.17-21mdk i686; en-US; 0.8.1) Gecko/20010326
X-Accept-Language: en
MIME-Version: 1.0
To: Jun Sun <jsun@mvista.com>
CC: Ian Soanes <ians@lineo.com>, Linux/MIPS <linux-mips@oss.sgi.com>,
        FR Linux/MIPS <linux-mips@fnet.fr>
Subject: Re: usermode gdb / remote gdb
References: <3AE67CBA.4060606@jungo.com> <3AE69AAA.76A20F08@lineo.com> <3AE6A795.1080004@jungo.com> <3AE6B14F.B5844932@lineo.com> <3AE70BBA.2BD8B387@mvista.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Length: 2023
Lines: 59


Jun,

I have a problem with your patch:

Jun Sun wrote:

> --- gdb-4.17/gdb/config/mips/mipsel-linux.mh.orig	Mon May 22 18:39:07 2000
> +++ gdb-4.17/gdb/config/mips/mipsel-linux.mh	Mon May 22 18:39:07 2000

Gdb seems to miss those files from the distribution. I have checked out 
its CVS tree, and this is what I got:

[michaels@kobie mips]$ pwd
/home/michaels/CVS/gdb/gdb/config/mips
[michaels@kobie mips]$ ls
CVS/           irix5.mh       nm-mips.h       tm-mips.h 
tm-vr5000el.h  vxmips.mt
bigmips.mt     irix5.mt       nm-news-mips.h  tm-mips64.h    tm-vxmips.h 
    wince.mt
bigmips64.mt   littlemips.mh  nm-riscos.h     tm-mipsm3.h    tm-wince.h 
     xm-irix3.h
decstation.mh  littlemips.mt  riscos.mh       tm-mipsv4.h    tx39.mt 
     xm-irix4.h
decstation.mt  mipsm3.mh      tm-bigmips.h    tm-tx39.h      tx39l.mt 
     xm-irix5.h
embed.mt       mipsm3.mt      tm-bigmips64.h  tm-tx39l.h     vr4100.mt 
     xm-mips.h
embed64.mt     mipsv4.mh      tm-embed.h      tm-vr4100.h    vr4300.mt 
     xm-mipsm3.h
embedl.mt      mipsv4.mt      tm-embed64.h    tm-vr4300.h    vr4300el.mt 
    xm-mipsv4.h
embedl64.mt    news-mips.mh   tm-embedl.h     tm-vr4300el.h  vr4xxx.mt 
     xm-news-mips.h
irix3.mh       nm-irix3.h     tm-embedl64.h   tm-vr4xxx.h    vr4xxxel.mt 
    xm-riscos.h
irix3.mt       nm-irix4.h     tm-irix3.h      tm-vr4xxxel.h  vr5000.mt
irix4.mh       nm-irix5.h     tm-irix5.h      tm-vr5000.h    vr5000el.mt
[michaels@kobie mips]$ ls -l *linux*
ls: *linux*: No such file or directory
[michaels@kobie mips]$ cat CVS/Root
:pserver:anoncvs@anoncvs.cygnus.com:/cvs/src
[michaels@kobie mips]$

So, as I said, there seems to be no support for mips-linux in GDB tree.
Where can I get the gdb-4.17 you were talking about?



-- 
Sincerely yours,
Michael Shmulevich
______________________________________
Software Developer
Jungo - R&D
email: michaels@jungo.com
web: http://www.jungo.com
Phone: 1-877-514-0537(USA)  +972-9-8859365(Worldwide) ext. 233
Fax:   1-877-514-0538(USA)  +972-9-8859366(Worldwide)

From jsun@mvista.com  Mon Apr 30 19:47:26 2001
Received: (uucp@localhost) by guadalquivir.fnet.fr (8.8.8/97.02.12/Guadalquivir); id TAA00705; Mon, 30 Apr 2001 19:47:26 +0200 (MET DST)
Received-Date: Mon, 30 Apr 2001 19:47:26 +0200 (MET DST)
Received: from UNKNOWN(12.44.186.158), claiming to be "hermes.mvista.com"
 via SMTP by guadalquivir.fnet.fr, id smtpd000703; Mon Apr 30 19:47:22 2001
Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75])
	by hermes.mvista.com (8.11.0/8.11.0) with ESMTP id f3UHkp020019;
	Mon, 30 Apr 2001 10:46:51 -0700
Sender: jsun@hermes.mvista.com
Message-ID: <3AEDA393.653FD026@mvista.com>
Date: Mon, 30 Apr 2001 10:40:35 -0700
From: Jun Sun <jsun@mvista.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.18 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Michael Shmulevich <michaels@jungo.com>
CC: Ian Soanes <ians@lineo.com>, Linux/MIPS <linux-mips@oss.sgi.com>,
        FR Linux/MIPS <linux-mips@fnet.fr>
Subject: Re: usermode gdb / remote gdb
References: <3AE67CBA.4060606@jungo.com> <3AE69AAA.76A20F08@lineo.com> <3AE6A795.1080004@jungo.com> <3AE6B14F.B5844932@lineo.com> <3AE70BBA.2BD8B387@mvista.com> <3AEBE34C.5070009@jungo.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Length: 2342
Lines: 65

Michael Shmulevich wrote:
> 
> Jun,
> 
> I have a problem with your patch:
> 
> Jun Sun wrote:
> 
> > --- gdb-4.17/gdb/config/mips/mipsel-linux.mh.orig     Mon May 22 18:39:07 2000
> > +++ gdb-4.17/gdb/config/mips/mipsel-linux.mh  Mon May 22 18:39:07 2000
> 
> Gdb seems to miss those files from the distribution. I have checked out
> its CVS tree, and this is what I got:
> 
> [michaels@kobie mips]$ pwd
> /home/michaels/CVS/gdb/gdb/config/mips
> [michaels@kobie mips]$ ls
> CVS/           irix5.mh       nm-mips.h       tm-mips.h
> tm-vr5000el.h  vxmips.mt
> bigmips.mt     irix5.mt       nm-news-mips.h  tm-mips64.h    tm-vxmips.h
>     wince.mt
> bigmips64.mt   littlemips.mh  nm-riscos.h     tm-mipsm3.h    tm-wince.h
>      xm-irix3.h
> decstation.mh  littlemips.mt  riscos.mh       tm-mipsv4.h    tx39.mt
>      xm-irix4.h
> decstation.mt  mipsm3.mh      tm-bigmips.h    tm-tx39.h      tx39l.mt
>      xm-irix5.h
> embed.mt       mipsm3.mt      tm-bigmips64.h  tm-tx39l.h     vr4100.mt
>      xm-mips.h
> embed64.mt     mipsv4.mh      tm-embed.h      tm-vr4100.h    vr4300.mt
>      xm-mipsm3.h
> embedl.mt      mipsv4.mt      tm-embed64.h    tm-vr4300.h    vr4300el.mt
>     xm-mipsv4.h
> embedl64.mt    news-mips.mh   tm-embedl.h     tm-vr4300el.h  vr4xxx.mt
>      xm-news-mips.h
> irix3.mh       nm-irix3.h     tm-embedl64.h   tm-vr4xxx.h    vr4xxxel.mt
>     xm-riscos.h
> irix3.mt       nm-irix4.h     tm-irix3.h      tm-vr4xxxel.h  vr5000.mt
> irix4.mh       nm-irix5.h     tm-irix5.h      tm-vr5000.h    vr5000el.mt
> [michaels@kobie mips]$ ls -l *linux*
> ls: *linux*: No such file or directory
> [michaels@kobie mips]$ cat CVS/Root
> :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src
> [michaels@kobie mips]$
> 
> So, as I said, there seems to be no support for mips-linux in GDB tree.
> Where can I get the gdb-4.17 you were talking about?
> 

You can probably look around and find the official gdb-4.17 release.

A better bet is to get from the mvista CDK 1.2 release:

ftp://ftp.mvista.com/pub/CDKit/1.2/cd/Source/SRPMS/hhl-gdb-5.0-1.src.rpm

It says gdb 5.0, but I think gdb-4.17 is "embedded" in it.  (If not, let me
know).

If you try to add linux-mips to gdb 5.0, you might want to look into the new
multi-arch structure introduced in gdb 5.0.  It *might* be the reason why
original MIPS stuff is removed.

Good luck.

Jun

