* Re: [9fans] Rtl8139 NIC detection..
@ 2004-04-29 12:54 Richard C Bilson
2004-05-01 12:45 ` I RATTAN
0 siblings, 1 reply; 9+ messages in thread
From: Richard C Bilson @ 2004-04-29 12:54 UTC (permalink / raw)
To: 9fans
> I am trying to install Plan 9 on a celeron box with rtl-8139-10BaseT
> ether card. The system installs, looks like rtl is detected during
> boot but is not available after that. I did not find an entry
> in 9fat plan9.ini too. What is the correct incantation plan9.ini
> entry of this card (I am assuming that it is supported)?
This sounds familliar...
The last time I installed, which was about a year ago, the 8139 was
built in to 9load but not into the actual kernel, producing the
symptoms you describe. I'd try building a new kernel, making sure that
it has the 8139 driver.
Once I had a proper kernel, I didn't have to do anything to plan9.ini.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] Rtl8139 NIC detection..
2004-04-29 12:54 [9fans] Rtl8139 NIC detection Richard C Bilson
@ 2004-05-01 12:45 ` I RATTAN
2004-05-01 13:59 ` Russ Cox
0 siblings, 1 reply; 9+ messages in thread
From: I RATTAN @ 2004-05-01 12:45 UTC (permalink / raw)
To: 9fans
Hello,
I did recompile the kernel but no luck. Is there a trick to
/sys/src/9/pc/pcf file entry for rtl8139, as it stands it reads like:
...
link
...
ether8139
...
does it need the keyword 'pci' after this??
Thanks in advance,
-ishwar
On Thu, 29 Apr 2004, Richard C Bilson wrote:
> > I am trying to install Plan 9 on a celeron box with rtl-8139-10BaseT
> > ether card. The system installs, looks like rtl is detected during
> > boot but is not available after that. I did not find an entry
> > in 9fat plan9.ini too. What is the correct incantation plan9.ini
> > entry of this card (I am assuming that it is supported)?
>
> This sounds familliar...
>
> The last time I installed, which was about a year ago, the 8139 was
> built in to 9load but not into the actual kernel, producing the
> symptoms you describe. I'd try building a new kernel, making sure that
> it has the 8139 driver.
>
> Once I had a proper kernel, I didn't have to do anything to plan9.ini.
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] Rtl8139 NIC detection..
2004-05-01 12:45 ` I RATTAN
@ 2004-05-01 13:59 ` Russ Cox
2004-05-01 15:30 ` Ishwar Rattan
0 siblings, 1 reply; 9+ messages in thread
From: Russ Cox @ 2004-05-01 13:59 UTC (permalink / raw)
To: 9fans
What does the "pci" command say when you run it?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] Rtl8139 NIC detection..
2004-05-01 13:59 ` Russ Cox
@ 2004-05-01 15:30 ` Ishwar Rattan
2004-05-01 16:24 ` jmk
0 siblings, 1 reply; 9+ messages in thread
From: Ishwar Rattan @ 2004-05-01 15:30 UTC (permalink / raw)
To: 9fans
output of pci command
-ishwar
--
term% pci
0.0.0: 06.00.00 8086/7190 0
0.1.0: 06.04.00 8086/7191 0
0.11.0: 03.00.00 5333/8811 11 0:e6000000 8368808
0.15.0: 02.00.00 10ec/8139 10 0:0000d401 256 1:e6800000 256
0.19.0: 01.80.00 1103/0004 11 0:0000d801 16 1:0000dc01 16 4:0000e001 256
0.19.1: 01.80.00 1103/0004 11 0:0000e401 16 1:0000e801 16 4:0000ec01 256
0.7.0: 06.01.00 8086/7110 0
0.7.1: 01.01.80 8086/7111 0 4:0000f001 16
0.7.2: 0c.03.00 8086/7112 5 4:0000d001 32
0.7.3: 06.80.00 8086/7113 0
--
A
On Sat, 1 May 2004, Russ Cox wrote:
> What does the "pci" command say when you run it?
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] Rtl8139 NIC detection..
2004-05-01 15:30 ` Ishwar Rattan
@ 2004-05-01 16:24 ` jmk
0 siblings, 0 replies; 9+ messages in thread
From: jmk @ 2004-05-01 16:24 UTC (permalink / raw)
To: 9fans
that all looks fine.
a recent change to the driver was to time out on the initial
hardware reset. this was due to some systems coming up with the
chip in deep sleep mode and the reset code would loop forever
(as an aside i have the code to take chips out of sleep mode if
necessary, but it's not distributed yet).
perhaps the timout is too short. put some prints in here
static int
rtl8139reset(Ctlr* ctlr)
{
int timeo;
/*
* Soft reset the controller.
*/
csr8w(ctlr, Cr, Rst);
for(timeo = 0; timeo < 1000; timeo++){
if(!(csr8r(ctlr, Cr) & Rst))
return 0;
delay(1);
}
return -1;
}
and try it.
--jim
On Sat May 1 11:40:42 EDT 2004, ishwar@pali.cps.cmich.edu wrote:
> output of pci command
>
> -ishwar
> --
> term% pci
> 0.0.0: 06.00.00 8086/7190 0
> 0.1.0: 06.04.00 8086/7191 0
> 0.11.0: 03.00.00 5333/8811 11 0:e6000000 8368808
> 0.15.0: 02.00.00 10ec/8139 10 0:0000d401 256 1:e6800000 256
> 0.19.0: 01.80.00 1103/0004 11 0:0000d801 16 1:0000dc01 16 4:0000e001 256
> 0.19.1: 01.80.00 1103/0004 11 0:0000e401 16 1:0000e801 16 4:0000ec01 256
> 0.7.0: 06.01.00 8086/7110 0
> 0.7.1: 01.01.80 8086/7111 0 4:0000f001 16
> 0.7.2: 0c.03.00 8086/7112 5 4:0000d001 32
> 0.7.3: 06.80.00 8086/7113 0
> --
> A
> On Sat, 1 May 2004, Russ Cox wrote:
>
> > What does the "pci" command say when you run it?
> >
^ permalink raw reply [flat|nested] 9+ messages in thread
* [9fans] Rtl8139 NIC detection..
@ 2004-04-29 3:06 Ishwar Rattan
2004-04-29 3:19 ` Geoff Collyer
0 siblings, 1 reply; 9+ messages in thread
From: Ishwar Rattan @ 2004-04-29 3:06 UTC (permalink / raw)
To: 9fans
I am trying to install Plan 9 on a celeron box with rtl-8139-10BaseT
ether card. The system installs, looks like rtl is detected during
boot but is not available after that. I did not find an entry
in 9fat plan9.ini too. What is the correct incantation plan9.ini
entry of this card (I am assuming that it is supported)?
Thanks in advance,
-ishwar
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-05-01 16:24 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-29 12:54 [9fans] Rtl8139 NIC detection Richard C Bilson
2004-05-01 12:45 ` I RATTAN
2004-05-01 13:59 ` Russ Cox
2004-05-01 15:30 ` Ishwar Rattan
2004-05-01 16:24 ` jmk
-- strict thread matches above, loose matches on Subject: below --
2004-04-29 3:06 Ishwar Rattan
2004-04-29 3:19 ` Geoff Collyer
2004-04-29 3:21 ` jmk
2004-04-29 3:43 ` Geoff Collyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).