Re: [hackers] Re: Realtek

2003-04-01 Thread Nate Williams
  An address that works.  Without further knowledge of your laptop, it
  is impossible for me to say.  You will have to find this out by trial
  and error.  Some folks like 0xf800, others like 0x4 and
  one uses 0xd4000, but the last one I don't recommend.
 
 0xf800 seems to work on my StinkPad (still can't get the serial
 port to work though).

You have to enable it using the PS2 'DOS' command (the Windows one won't
work, for whatever reason).  Once it's probably enabled/configured, it
acts like any other normal serial port.  (It's a pain to get it working
right, since it involves dozens of reboots in order to understand what
exactly the configuration *should* be.  From memory, it wasn't as
obvious as it could have been.)



Nate
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [hackers] Re: Realtek

2003-03-31 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
[EMAIL PROTECTED] (Dag-Erling Smørgrav) writes:
: M. Warner Losh [EMAIL PROTECTED] writes:
:  In message: [EMAIL PROTECTED]
:  [EMAIL PROTECTED] (Dag-Erling Smørgrav) writes:
:  : address wrong to not finding it at all (I believe it reports No
:  : station address in CIS!) and refusing to attach.
:  It always didn't find it, you just got lucky before.  The no station
:  address in CIS means that it can't map the CIS.  This means the 'it'
:  isn't dc, but rather 'cbb'.  cbb's ability to map memory is kinda
:  flakey on some machines.  You have one.  You need to set
:  hw.cbb.start_memory to a value that makes your laptop happy.
: 
: ...such as?

An address that works.  Without further knowledge of your laptop, it
is impossible for me to say.  You will have to find this out by trial
and error.  Some folks like 0xf800, others like 0x4 and
one uses 0xd4000, but the last one I don't recommend.

Warner
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [hackers] Re: Realtek

2003-03-31 Thread Dag-Erling Smørgrav
M. Warner Losh [EMAIL PROTECTED] writes:
 An address that works.  Without further knowledge of your laptop, it
 is impossible for me to say.  You will have to find this out by trial
 and error.  Some folks like 0xf800, others like 0x4 and
 one uses 0xd4000, but the last one I don't recommend.

0xf800 seems to work on my StinkPad (still can't get the serial
port to work though).  It still complains about an invalid BAR
number: 27(06).  Plenty of ACPI errors too, but I don't really expect
much from an IBM laptop.

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [hackers] Re: Realtek

2003-03-31 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
[EMAIL PROTECTED] (Dag-Erling Smørgrav) writes:
: M. Warner Losh [EMAIL PROTECTED] writes:
:  An address that works.  Without further knowledge of your laptop, it
:  is impossible for me to say.  You will have to find this out by trial
:  and error.  Some folks like 0xf800, others like 0x4 and
:  one uses 0xd4000, but the last one I don't recommend.
: 
: 0xf800 seems to work on my StinkPad (still can't get the serial
: port to work though).  It still complains about an invalid BAR
: number: 27(06).  Plenty of ACPI errors too, but I don't really expect
: much from an IBM laptop.

Cool.  I'm sorry you have to do these ugly hacks, and hope to get
things working better soon.

Maybe I should add a stinkpad to my wish list :-)

Warner
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [hackers] Re: Realtek

2003-03-31 Thread Dag-Erling Smørgrav
M. Warner Losh [EMAIL PROTECTED] writes:
 Maybe I should add a stinkpad to my wish list :-)

I'll trade you mine for a reasonably recent Dell or FujitsuSiemens
laptop :)

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [hackers] Re: Realtek

2003-03-31 Thread Matthew N. Dodd
On Mon, 31 Mar 2003, Dag-Erling [iso-8859-1] Smørgrav wrote:
 0xf800 seems to work on my StinkPad (still can't get the serial
 port to work though).  It still complains about an invalid BAR
 number: 27(06).  Plenty of ACPI errors too, but I don't really expect
 much from an IBM laptop.

Thankfully, APM works great on the older Thinkpads.  To enable the serial
port you'll want to run the DOS 'ps2.exe' utility.

You can use the 'smapi' kernel driver and the userland utility
ftp://ftp.jurai.net/users/winter/smapi.tar.gz to see if its disabled
(likely).  I still haven't puzzled out how to enable the serial ports with
my utility.

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| [EMAIL PROTECTED] |   2 x '84 Volvo 245DL| ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [hackers] Re: Realtek

2003-03-31 Thread Dag-Erling Smørgrav
Matthew N. Dodd [EMAIL PROTECTED] writes:
 Thankfully, APM works great on the older Thinkpads.

for some definition of great which includes the APM BIOS suddenly
deciding to suspend the laptop after 30 seconds even when the mains
cord is plugged in.

  To enable the serial
 port you'll want to run the DOS 'ps2.exe' utility.

I know.  I did that.  I get:

sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 port 0x3f8-0x3ff irq 4 drq 3 on acpi0
sio0: type 8250 or not responding

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [hackers] Re: Realtek

2003-03-31 Thread Matthew N. Dodd
On Mon, 31 Mar 2003, Dag-Erling [iso-8859-1] Smørgrav wrote:
 for some definition of great which includes the APM BIOS suddenly
 deciding to suspend the laptop after 30 seconds even when the mains
 cord is plugged in.

You've got a 600 series right?

What model and bios revision?  (Find out with the 'vpd' driver or go
into the BIOS setup.)

 I know.  I did that.  I get:

 sio0: configured irq 4 not in bitmap of probed irqs 0
 sio0: port may not be enabled
 sio0: configured irq 4 not in bitmap of probed irqs 0
 sio0: port may not be enabled
 sio0 port 0x3f8-0x3ff irq 4 drq 3 on acpi0
 sio0: type 8250 or not responding

It won't work at all with ACPI; don't use it.

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| [EMAIL PROTECTED] |   2 x '84 Volvo 245DL| ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [hackers] Re: Realtek

2003-03-31 Thread Dag-Erling Smørgrav
Matthew N. Dodd [EMAIL PROTECTED] writes:
 What model and bios revision?  (Find out with the 'vpd' driver or go
 into the BIOS setup.)

Yep, a 600E (2645BG).  I don't know exactly what BIOS version I have,
but I kept it fairly up to date until a fellow committer who shall
remain nameless ran off with the floppy about a year and a half ago.
If there's any way to flash the BIOS from Windows, I can try that.

Regarding vpd, some documentation (at least in NOTES) would be nice.
I shouldn't have to RTFS to understand what you're talking about.

 It won't work at all with ACPI; don't use it.

don't use ACPI or don't use sio?

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [hackers] Re: Realtek

2003-03-31 Thread Matthew N. Dodd
On Tue, 1 Apr 2003, Dag-Erling [iso-8859-1] Smørgrav wrote:
 Regarding vpd, some documentation (at least in NOTES) would be nice.
 I shouldn't have to RTFS to understand what you're talking about.

Build /sys/modules/bios/vpd, install/load it, read the kernel output.  It
also provides all the information via sysctl:

# sysctl hw.vpd
hw.vpd.machine.type.0: 2645
hw.vpd.machine.model.0: 8BU
hw.vpd.build_id.0: INET36WW
hw.vpd.serial.box.0: 78PLGM9
hw.vpd.serial.planar.0: J1B369624W5

  It won't work at all with ACPI; don't use it.

 don't use ACPI or don't use sio?

Don't use ACPI.

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| [EMAIL PROTECTED] |   2 x '84 Volvo 245DL| ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [hackers] Re: Realtek

2003-03-31 Thread Dag-Erling Smørgrav
M. Warner Losh [EMAIL PROTECTED] writes:
 In message: [EMAIL PROTECTED]
 [EMAIL PROTECTED] (Dag-Erling Smørgrav) writes:
 : address wrong to not finding it at all (I believe it reports No
 : station address in CIS!) and refusing to attach.
 It always didn't find it, you just got lucky before.  The no station
 address in CIS means that it can't map the CIS.  This means the 'it'
 isn't dc, but rather 'cbb'.  cbb's ability to map memory is kinda
 flakey on some machines.  You have one.  You need to set
 hw.cbb.start_memory to a value that makes your laptop happy.

...such as?

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [hackers] Re: Realtek

2003-03-30 Thread Wes Peters
On Wednesday 26 March 2003 16:03, David Gilbert wrote:

 Given the price of this card
 ... and the fact that less-than-400Mhz CPU's are rather rare, and that
 this is only an issue for high bandwidth applications ... the rl cards
 might fit for you.

Given the price of the card, you can almost always find a better one at 
roughly the same price.  For instance, this one:

dc0: Intel 21143 10/100BaseTX port 0xd800-0xd87f mem 
0xf300-0xf30003ff irq 7 at device 11.0 on pci0

was FREE last Christmas, from Office Depot.  It's a Belkin branded card 
and normally sells for $10 (at TigerDirect.com).

-- 

Where am I, and what am I doing in this handbasket?

Wes Peters   [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [hackers] Re: Realtek

2003-03-30 Thread Dag-Erling Smørgrav
David Gilbert [EMAIL PROTECTED] writes:
 But ... I'm not sure that their performance is largely better than the
 rl's.  The driver writer for the rl maligns the card in comments for
 requiring alignment (and thus copying).  There are far worse hacks in
 the dc code ... with the comment that some dc implementations are
 worse than others.

Not to mention the fact that over the past year or so people have been
repeatedly picking the dc driver apart and putting it back together
with some bits missing, so for some cards it has gone from working
perfectly, to getting the MAC address wrong but working fine after you
manually set it, to plainly refusing to attach to the card.  My laptop
is now practically reduced to a doorstop since -STABLE doesn't have
Cardbus support and -CURRENT refuses to attach to the NIC.

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [hackers] Re: Realtek

2003-03-30 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
[EMAIL PROTECTED] (Dag-Erling Smørgrav) writes:
: Not to mention the fact that over the past year or so people have been
: repeatedly picking the dc driver apart and putting it back together
: with some bits missing, so for some cards it has gone from working
: perfectly, to getting the MAC address wrong but working fine after you
: manually set it, to plainly refusing to attach to the card.  My laptop
: is now practically reduced to a doorstop since -STABLE doesn't have
: Cardbus support and -CURRENT refuses to attach to the NIC.

As far as I know, all the sizing and weirdness issues have been worked
out with dc.  Care to provide details on the card that isn't?
Alternatively, wanna swap me one of my working cards for it?

Warner
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [hackers] Re: Realtek

2003-03-30 Thread Dag-Erling Smørgrav
M. Warner Losh [EMAIL PROTECTED] writes:
 In message: [EMAIL PROTECTED]
 [EMAIL PROTECTED] (Dag-Erling Smørgrav) writes:
 : Not to mention the fact that over the past year or so people have been
 : repeatedly picking the dc driver apart and putting it back together
 : with some bits missing, so for some cards it has gone from working
 : perfectly, to getting the MAC address wrong but working fine after you
 : manually set it, to plainly refusing to attach to the card.  My laptop
 : is now practically reduced to a doorstop since -STABLE doesn't have
 : Cardbus support and -CURRENT refuses to attach to the NIC.

 As far as I know, all the sizing and weirdness issues have been worked
 out with dc.  Care to provide details on the card that isn't?

It's an IBM branded Xircom card which used to work perfectly (except
for some trouble with underruns which another nearly identical card
didn't have...  but I lost the dongle for that one).  FRU 34L5309 if
you want to look up the datasheet.  About a year ago, subsequent to
changes in the dc driver, -CURRENT started getting the MAC address
wrong (but it would still attach, so I could set the correct MAC
address manually).  At some later point, some time between October
2002 and February 2003 (during which time I didn't run -CURRENT on the
laptop due to insufficient disk space), it went from getting the MAC
address wrong to not finding it at all (I believe it reports No
station address in CIS!) and refusing to attach.

I have a couple of 16-bit cards lying around, but oldcard couldn't
even find the slots, let alone the cards I put in.  I haven't tried
4.8 as it would be useless for me (I need the laptop for development
work on -CURRENT).  The only alternative left is SLIP, which would
prevent me from using the laptop as a serial console since it only has
one port - but it turns out 5.0-RELEASE is unable to use the serial
port.  That may be a BIOS problem though, the BIOS seems to regularly
reset random configuration options (such as the IRDA, what IRDA?  I
don't need no stinking IRDA option) to factory defaults.

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [hackers] Re: Realtek

2003-03-30 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
[EMAIL PROTECTED] (Dag-Erling Smørgrav) writes:
: address wrong to not finding it at all (I believe it reports No
: station address in CIS!) and refusing to attach.

It always didn't find it, you just got lucky before.  The no station
address in CIS means that it can't map the CIS.  This means the 'it'
isn't dc, but rather 'cbb'.  cbb's ability to map memory is kinda
flakey on some machines.  You have one.  You need to set
hw.cbb.start_memory to a value that makes your laptop happy.

Yes, this sucks, but it is a symptom of the deeper problems with the
dynamic allocation of resources in freebsd pci code.

Warner
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [hackers] Re: Realtek

2003-03-26 Thread Alex
Hi Kirill!

That's a real myth about Realtek :0)

We're using them on all our FreeBSD machines for over 5 years without 
any problems. Driver is working fine.
Speed and reliability is OK. So I for one can even offer to choose them 
instead of 3COM as in Russia you can easily get 2 from the 3 3COM cards 
that is not 3COM indeed :0) Not so for cheap Realteks :0)

Good luck

David Gilbert wrote:

Kirill == Kirill Ponomarew [EMAIL PROTECTED] writes:
   

Kirill Hi, On Thu, Mar 06, 2003 at 11:46:43AM -0300, Pablo Morales
Kirill wrote:
 

Someone said that the realtek 8029 and 8139 ethernet cards are the
worst cards ever made. My boss is planning to make a great buy of
this cards for a communication project ( the reasons is obius, the
cost of this cards ) I'm trying to persuade him to by 3com ethernet
cards, but I need technical information to demostrate him that it's
not a good inversion to buy those kind of cards.
Can someone give a good explanation of that or at least where can I
find information about it?
 

Kirill please read comments in /usr/src/sys/pci/if_rl.c

It's worth noting that there's a scale to all this.  The driver
comments imply that the card will push 100Mb if you have enough power
in the CPU ... defined as 400Mhz.  Given the price of this card
... and the fact that less-than-400Mhz CPU's are rather rare, and that
this is only an issue for high bandwidth applications ... the rl cards
might fit for you.
We use them extensively in workstations... even diskless.  The reason
being that with modern processors, they perform adequately ... and
although they take up extra CPU ... CPUs are rather under-utilized
resources in most workstations.
Dave.

 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]