Re: D-Link DFE-550TX Woes

2000-11-30 Thread Daniel Kim

 PS : where on earth have you been reading that ste is the driver for the DFE570Tx ?

-- From /sys/i386/conf/LINT --

# The 'ste' device provides support for adapters based on the Sundance
# Technologies ST201 PCI fast ethernet controller.  This includes the
# D-Link DFE-550TX.

I realize that the 'dc' drivers are for used for D-Link DFE-570TX, however
that is not the NIC I had a question about.

dk



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: Linksys PCMPC100 problem

2000-11-30 Thread Lars Eggert

Another piece to the puzzle of bad network performance of the Linksys cards
is that they're only supported as generic NE2000 cards with 8K of memory by
the ed driver. 1.5K are used for the send buffer, 6.5K remain for the
receive buffer. This is a shortcoming of the ed driver, since the Linksys
cards have 32K of memory.

If a sender sends large packets to a Linksys cards (NFS over UDP), the IP
fragments arrive too fast and overrun the buffer. The last fragment(s) are
lost and the wohle packet is dropped.

The patch below fixes a small bug in the ed driver that causes only 8K
instead of 16K (as normal for 16bit cards) to be used. However, full
support for the Linksys cards should really be added to the ed driver. The
code in http://www.FreeBSD.org/cgi/query-pr.cgi?pr=12088 looks promising,
but doesn't apply cleanly due to bitrot.

Index: if_ed.c
===
RCS file: /home/larse/CVSROOT/RELENG_4/sys/dev/ed/if_ed.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 if_ed.c
--- if_ed.c 2000/10/25 01:15:38 1.1.1.1
+++ if_ed.c 2000/11/30 22:16:13
@@ -1046,6 +1046,18 @@
}
 
 
+   /* 
+* Hack:
+* Reprobe Linksys. This sets sc-isa16bit, which causes 16K
+* of the card memory to be used instead of only 8K. However,
+* the Linksys cards (at least my PCMPC100) have 32K memory.
+* This driver should really be changed to fully support the
+* Linksys cards. The patch in
+* http://www.FreeBSD.org/cgi/query-pr.cgi?pr=12088 looks
+* promising, but doesn't apply cleanly due to bitrot.
+*/
+   ed_get_Linksys(sc);
+
/* 8k of memory plus an additional 8k if 16bit */
memsize = 8192 + sc-isa16bit * 8192;
 
@@ -1690,6 +1702,13 @@
printf("%s\n", (((sc-vendor == ED_VENDOR_3COM) ||
 (sc-vendor == ED_VENDOR_HP)) 
(ifp-if_flags  IFF_ALTPHYS)) ? " tranceiver disabled" :
"");
+#if ED_DEBUG
+   printf("%s%d: %u/%u/%u bytes tx/rx/total card memory\n", 
+   ifp-if_name, ifp-if_unit, 
+   sc-txb_cnt * ED_PAGE_SIZE * ED_TXBUF_SIZE,
+   (sc-rec_page_stop - sc-rec_page_start) * ED_PAGE_SIZE,
+   sc-mem_size);  
+#endif
 
return (0);
 }

-- 
Lars Eggert [EMAIL PROTECTED] Information Sciences Institute
http://www.isi.edu/larse/University of Southern California
 S/MIME Cryptographic Signature


Re: Can this really be true? FreeBSD not working on IBM T20's

2000-11-30 Thread Bruce A. Mah

I'm going to try to move this to -mobile where it belongs...

If memory serves me right, Nate Williams wrote:

  As I read it, some people have had success and others haven't.  It's 
  difficult to figure out what the problem is, since there are so many 
  variables involved and the messages in the thread don't always have the 
  details needed to fully analyze the problem.
 
 I think Ken Key's experience points to it being a partitionID problem,
 since he's done the most testing.

Ken's messages indicated that he'd tested on the A21P and the T21.  In
two separate posts, he said that "we have a couple of T20s' [sic]
running FreeBSD".

I am cautiously optimistic about getting a T20 to work, based on this
info, and some email I've exchanged off-list with one of my cow-orkers.

This is what I meant by "lots of variables"...one of the problems is 
that we can't lump all of the "newer generation ThinkPads" together.

Bruce.



 PGP signature


could netscape hose my dialup modem traffic?

2000-11-30 Thread Gary Kline

   

   This latest began only after I ungraded to 4.X (I'm currently at 4.1
   and content).  The problem is that occasionally my dialup thru-put
   drops to 5 or 10bps.  Trying to get anything done via telecommuting
   is virtually impossible.

   One thing I thought it might be is the ``stray irq 7'' stderr 
   messages... nope, don't think so.  My latest clue was having 3 
   netscapes instantiated.  Out of the blue, my response went from
   normal  to  rotten.  To get things back to normal there was only
   one rational move: shutdown -r.  

   I'm thinking that this might be a system problem rathen than one
   with ppp.  netscape and DNS?  (?)  I've seen one similar posting
   like this on -questions, but saw no response.

   Anybody know what's happening, or how to trace this?  

   TIA, gents,

   gary


-- 
   Gary D. Kline [EMAIL PROTECTED]  Public service Unix



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: Can this really be true? FreeBSD not working on IBM T20's

2000-11-30 Thread Cyrille Lefevre

Gunnar Flygt [EMAIL PROTECTED] writes:

 Is this really the situation, that FreeBSD is not booting on the latest
 IBM thinkpads? That would really be a pity, since I was going to buy
 such a nice little beast after newyear.
 
 http://bsdtoday.com/2000/November/News342.html

for thoses who don't know this pointer :

http://www.pc.ibm.com/qtechinfo/MIGR-4QHLS4.html

Cyrille.
--
home: mailto:[EMAIL PROTECTED] work: mailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: could netscape hose my dialup modem traffic?

2000-11-30 Thread Barney Wolff

I have seen some weird paging behavior with netscape (4.76)
on 4.2 (beta, then stable as of 11/29).  Sometimes netscape and X
get into a fight over memory, with both seeming to be largely non-resident
although there is free memory.  I can usually provoke this by opening
an extra window in jsp (for example by clicking on the "vote" box on
www.cnn.com).  Quitting netscape makes the symptom go away, in that
I can restart netscape without paging.  This is on an smp P6/200
with 64 MB.  I'm not running ppp.

When you get into the syndrome, run top and see if you're doing a lot
to swap with netscape largely non-resident.

Barney Wolff

On Thu, Nov 30, 2000 at 02:49:26PM -0800, Gary Kline wrote:

This latest began only after I ungraded to 4.X (I'm currently at 4.1
and content).  The problem is that occasionally my dialup thru-put
drops to 5 or 10bps.  Trying to get anything done via telecommuting
is virtually impossible.
 
One thing I thought it might be is the ``stray irq 7'' stderr 
messages... nope, don't think so.  My latest clue was having 3 
netscapes instantiated.  Out of the blue, my response went from
normal  to  rotten.  To get things back to normal there was only
one rational move: shutdown -r.  
 
I'm thinking that this might be a system problem rathen than one
with ppp.  netscape and DNS?  (?)  I've seen one similar posting
like this on -questions, but saw no response.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Compaq DL380 too noisy

2000-11-30 Thread Andre Oppermann

I'm running a Compaq DL380 under FreeBSD 4.2R. Now the fans all run
on full speed and create quite some noise.

Is there any way of regulating them like with the Insight Manager under
Windoze?

-- 
Andre


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



patch from PR i386/12088

2000-11-30 Thread Lars Eggert

Has anyone ported the patch from PR i386/12088
(http://www.FreeBSD.org/cgi/query-pr.cgi?pr=12088) to 4.X? It claims to
better support Linksys 10/100 cards.

I've some trouble with that card under heavy load, mostly because the ed
driver seems to support it as a generic NE2000 with only 8K of card memory.

Thanks,
Lars
-- 
Lars Eggert [EMAIL PROTECTED] Information Sciences Institute
http://www.isi.edu/larse/University of Southern California
 S/MIME Cryptographic Signature


Re: Can this really be true? FreeBSD not working on IBM T20's

2000-11-30 Thread Mike Smith

 On Thu, 30 Nov 2000, Peter Lai wrote:
  So use ext2 or some other FS for your freebsd slices!
 
 Has anyone actually validated this as a solution?

Installation using this as a technique would be very difficult.  You'd 
also need a -current loader with ext2 support.

I do not consider it a solution.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
   V I C T O R Y   N O T   V E N G E A N C E




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: MFC's to stable: descriptor races, low-memory fixes, disklabel

2000-11-30 Thread Doug Barton

On 27 Nov 2000, Randell Jesup wrote:

 FYI, the disklabel fixes probably should be backported to 3.x,
 which will make it slightly easier to backport the redo of disklabel to
 support more useful syntax's for partitions.  (This change will be
 committed by Warner Losh RSN; he already has the patches I did.)  Not a
 big issue, however.

No new functionality should be added to RELENG_3, only bug fixes. 

Doug
-- 
So what I want to know is, where does the RED brick road go?

Do YOU Yahoo!?




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: IPFilter...

2000-11-30 Thread Bruno Miguel

 Still reading on this ipfilter for use with ppp0.  I made a set of rules
 andd tested them out with ipftest and it just hung there.  in controlled c
 out of it no problem.  Whatever.

what ipfilter are you using on which version of FreeBSD ?
kernel, module ?
 
 I am cinfused  as to what i should use for my ip on a dynamic ppp
 connection.  This is really starting to get agravating.should the first line
 of a  set of rules be
 
 map ppp0 0/0 - 0/32  ??

map ppp0 192.168.0.0/24 - 0/32 for example. you can't redirect from 
everywhere to your ppp0. :-)
192.x, or any other subnet being your internal network.

 if i added this then i would need to have natd  running?  If i have natd
 running i need to use something -dynamic in my rc.conf as well ?

no. Either ipnat or natd.
 
 i'm about to give up here pretty much wasted all day at work searching for
 just ONE set of examples which included  device ppp0,   a dynamic dialup
 connection, and the use of 0/32.  I don't know where these people are

Did you read ipfilter how-to ?

 getting these ip addresses on dynamic connections to put them in their
 rulesets.  do they just make up the internal ip address?

No, they use addresses specifically designed for internal networks.

 
   ...:-= The freaking Mail Band =-:...
[EMAIL PROTECTED]
  D.E.Q. @ I.S.T. - Portugal


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Oldish Laptop and boot0

2000-11-30 Thread Daniel O'Connor

Hi,
I upgraded a laptop at work which was running 2.2.6 (oh the pain) to 4.2 and had a
few problems..

The floppy drive was stuffed and it's too old to be able to boot off the CDROM drive
so I transfered the HD to another laptop (P233 Sharp PC-M110) and did the install on
that and it seemed fine (as in boot0 could select which OS to boot from - it dual
boots Windows).

When I transfered the drive back to the P100 laptop boot0 just hung - fortunatly I
found that the floppy drive works well enough to load boot1 (I think it's boot1 - it
loads the forth loader anyway), and from that I could boot to the HD.. I fiddled
with lots of options in boot0cfg but with no luck. I tried installing the boot0
which just boots FreeBSD instead of giving you a choice and found that lo and behold
it works.. Unfortunatly I need it to dual boot, so I dug out and old copy of os-bs
and installed that and it works fine (finally).

Is there any information I can provide which would allow boot0 to be fixed? OS-BS is
OK but it doesn't remember what you booted last which is minorly irritating..

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: The code freeze in RELENG_4 for src is now over.

2000-11-30 Thread Will Andrews

On Wed, Nov 22, 2000 at 05:08:16AM -0800, [EMAIL PROTECTED] wrote:
 With regard to the current 4.2 release I have sent
 a private note to Jordan expressing what I see
 as neccessary steps. My letter to him points out
 possible short falls in the procedure.

Blah.  Why should he be the only one to see your comments?  He's not the
only one involved in the release engineering here, buddy.

-- 
wca


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: PPP named oddity

2000-11-30 Thread Brian Somers

Check out http://www.FreeBSD.org/FAQ/ppp.html.  Your best bet is to 
set up a diagnostic socket and attach to it when ppp appears hung.  
You should be able to ``set log local physical'' and see any incoming 
and outgoing traffic.  If there's no incoming traffic, I'd tend to 
blame the peer.

 Hi all.  
 I have a small network (3 machines) running on 192.168. addresses,
 outside connection is 56K modem.  I'm starting both named and userland
 ppp at boottime.  ppp.conf is basically the one that gets installed,
 with the enable dns line commented out and the username, phonenumber and
 password set.  I then have a cron job that runs fetchmail every 4 hours
 or so to pull down mail.  After a time (maybe a day or so), ppp never
 dials out.  If I kill -9 and restart it stays ok for awhile again.
 ppp is started with -nat -auto -quiet papchap
 named just resolves my three machines.
 netstat -rn shows the default route pointing out thru tun0.
 ppp.linkdown has an iface clear in it.
 
 ps ax when this is happening does not show anything unusual about ppp.
 kernel has the IPDIVERT/IPFIREWALL and NETGRAPH options in it (I am not
 running natd, I'm letting ppp handle that)
 
 Any suggestions of what to look at greatly appreciated.
 
 Michael Remski
 Software Engineer
 [EMAIL PROTECTED]
 7 Henry Clay Drive
 Merrimack, NH 03054
 +1 603.879.7241 direct
 +1 603.577.5533 fax
 www.ellacoya.com

-- 
Brian [EMAIL PROTECTED]brian@[uk.]FreeBSD.org
  http://www.Awfulhak.org   brian@[uk.]OpenBSD.org
Don't _EVER_ lose your sense of humour !




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message