Re: move setfib(1)

2010-05-26 Thread M. Warner Losh
In message: <20100527.001534.807935107107604070@bsdimp.com> "M. Warner Losh" writes: : at the point in the boot scripts you want to use it. Even if you have : / and /usr separate on NFS partitions, you can specify netfs_types="" : in the NFS root's

Re: move setfib(1)

2010-05-26 Thread M. Warner Losh
In message: <4bfe04e5.1010...@semmy.ru> Sergey Matveychuk writes: : 26.05.2010 20:38, Julian Elischer wrote: : > On 5/26/10 9:32 AM, M. Warner Losh wrote: : >> In message:<4bfd158d.7020...@freebsd.org> : >> Sergey Matveychuk writes: : >> : Does is po

Re: move setfib(1)

2010-05-26 Thread M. Warner Losh
In message: <4bfd158d.7020...@freebsd.org> Sergey Matveychuk writes: : Does is possible to move setfib(1) to /sbin for smooth using it in : rc.d scripts? It is small enough. I think that's a good idea. However, it would only be a problem if we are mounting / and /usr off NFS as sepa

Small patch to ipfilter for arm

2010-03-29 Thread M. Warner Losh
OK. I'd like to propose the following patch for ipfilter: Index: sys/contrib/ipfilter/netinet/ip_compat.h === --- sys/contrib/ipfilter/netinet/ip_compat.h(revision 205838) +++ sys/contrib/ipfilter/netinet/ip_compat.h(working

Re: struct sockaddr * and alignment

2010-02-10 Thread M. Warner Losh
In message: Marius NĂ¼nnerich writes: : On Tue, Feb 9, 2010 at 18:34, M. Warner Losh wrote: : > Greetings, : > : > I've found a few inconsistencies in the sockaddr stuff in the tree. : > I'm not sure where to go to get a definitive answer, so I thought I'

struct sockaddr * and alignment

2010-02-09 Thread M. Warner Losh
Greetings, I've found a few inconsistencies in the sockaddr stuff in the tree. I'm not sure where to go to get a definitive answer, so I thought I'd start here. I got here looking at the recent wake breakage on mips. It turns out that the warning was: src/usr.sbin/wake/wake.c: In function 'find

Re: How does rpc.lockd know where to send a request

2010-02-06 Thread M. Warner Losh
In message: <4b6e2b40.1070...@elischer.org> Julian Elischer writes: : M. Warner Losh wrote: : > I have a problem. All systems are running freebsd-current form : > sometime in the last month, although similar systems running : > 8.0-RELEASE exhibit exactly the same prob

Re: How does rpc.lockd know where to send a request

2010-02-06 Thread M. Warner Losh
In message: <4b6e2b40.1070...@elischer.org> Julian Elischer writes: : M. Warner Losh wrote: : > I have a problem. All systems are running freebsd-current form : > sometime in the last month, although similar systems running : > 8.0-RELEASE exhibit exactly the same prob

How does rpc.lockd know where to send a request

2010-02-06 Thread M. Warner Losh
I have a problem. All systems are running freebsd-current form sometime in the last month, although similar systems running 8.0-RELEASE exhibit exactly the same problem. rpc.lockd on an NFS client is doing something that baffles my mind entirely, maybe you can help. Please bear with me, this is

Re: [ed] link state constantly going down and up

2009-04-30 Thread M. Warner Losh
In message: <261c29700904300029s6757d39ei86fbf69ef816f...@mail.gmail.com> Miki writes: : 2009/4/30 M. Warner Losh : : > In message: <261c2970090434k4bc02635m2729a0a54c09c...@mail.gmail.com> : >Miki writes: : > : 2009/4/29 M. Warner Losh : &

Re: [ed] link state constantly going down and up

2009-04-30 Thread M. Warner Losh
In message: <261c2970090434k4bc02635m2729a0a54c09c...@mail.gmail.com> Miki writes: : 2009/4/29 M. Warner Losh : : > : I have a problem with a D-Link DFE-670TXD which is handled by if_ed : : > : the link state is constantly going down and up : : > : Apr 28 14:

[ed] link state constantly going down and up

2009-04-29 Thread M. Warner Losh
: I have a problem with a D-Link DFE-670TXD which is handled by if_ed : : the link state is constantly going down and up : : Apr 28 14:21:33 iut-mir-o kernel: ed0: link state changed to DOWN : Apr 28 14:21:35 iut-mir-o kernel: ed0: link state changed to UP ... : the problem appear with the followin

Re: Small change to ukphy

2009-04-01 Thread M. Warner Losh
In message: <20090401100939.gb12...@michelle.cdnetworks.co.kr> Pyun YongHyeon writes: : On Wed, Apr 01, 2009 at 01:32:46AM -0600, M. Warner Losh wrote: : > I've encountered a number of PHY chips that need auto negotiation : > kicked off to come out of ISO state.

Small change to ukphy

2009-04-01 Thread M. Warner Losh
I've encountered a number of PHY chips that need auto negotiation kicked off to come out of ISO state. This makes sense, because the ukphy driver never seems to take the PHY out of isolation state otherwise. Index: ukphy.c === --- uk

Re: Code review

2008-08-26 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> John Baldwin <[EMAIL PROTECTED]> writes: : On Monday 25 August 2008 02:23:16 am M. Warner Losh wrote: : > I did this a few years ago when trying to track down a problem with : > some realtek network chips that I was having probl

Code review

2008-08-24 Thread M. Warner Losh
I did this a few years ago when trying to track down a problem with some realtek network chips that I was having problems with at Timing Solutions. I'd like to get this into the tree, since it was helpful then. Comments? Warner diff -ur src/sys/pci/if_rl.c newcard/src/sys/pci/if_rl.c --- src/sys

Re: Code review request

2008-08-24 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Roman Kurakin <[EMAIL PROTECTED]> writes: : M. Warner Losh wrote: : > I've been shepherding this patch in my p4 tree for a long time. It : > removes the obsolete support for other systems in if_spppsubr.c. Is : > there a reas

Code review request

2008-08-24 Thread M. Warner Losh
I've been shepherding this patch in my p4 tree for a long time. It removes the obsolete support for other systems in if_spppsubr.c. Is there a reason I shouldn't commit this? Warner Index: if_spppsubr.c === --- if_spppsubr.c (

Re: HEAD UP: non-MPSAFE network drivers to be disabled

2008-06-01 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Bruce M. Simpson" <[EMAIL PROTECTED]> writes: : Other than that, line disciplines can go away. In the past I've uesd line disciplines to implement a keyboard driver for the Apple Newton Keyboard (serial protocol) so I could use it at any point after the

Re: HEAD UP: non-MPSAFE network drivers to be disabled

2008-06-01 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Robert Watson <[EMAIL PROTECTED]> writes: : : On Mon, 26 May 2008, Bruce M. Simpson wrote: : : >> Given that this is (a) 2008 and (b) 8.x we're talking about, are there : >> really that many consumers of SLIP to warrant it being carried forward at : >

Re: Issue with huge numbers of connections

2007-06-17 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Joe Holden <[EMAIL PROTECTED]> writes: : M. Warner Losh wrote: : > Greetings, : > : > I have a friend who is having problems with a service he's running. : > He gets billions and billions of connections to this service a da

Issue with huge numbers of connections

2007-06-17 Thread M. Warner Losh
Greetings, I have a friend who is having problems with a service he's running. He gets billions and billions of connections to this service a day. Somewhere between 10^8 and 10^9 connections, he notices that his servers lose the ability to accept new connections. These are TCP connections. This

tcp connections hanging

2007-06-17 Thread M. Warner Losh
OK. I'm getting very frustrated with my TCP connections hanging. It happens when I log into remote sites, when I try to encode dvds, etc. It is driving me nuts. This is with current from today. Current from 5 or 6 weeks ago doesn't seem to be bothered by this issue. Has anybody else seen it?

Re: FreeBSD NFS Client, Windows 2003 NFS server

2006-12-08 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Harti Brandt <[EMAIL PROTECTED]> writes: : On Thu, 7 Dec 2006, Harti Brandt wrote: : : HB>On Thu, 7 Dec 2006, M. Warner Losh wrote: : HB> : HB>MWL>In message: <[EMAIL PROTECTED]> : HB>MWL>Harti Brandt

Re: FreeBSD NFS Client, Windows 2003 NFS server

2006-12-07 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Harti Brandt <[EMAIL PROTECTED]> writes: : MWL>Does anybody have experience with using FreeBSD 4.x or 6.x NFS clients : MWL>against a Windows 2003 NFS server? What is the performance relative : MWL>to using a FreeBSD NFS server? What is the stability?

Re: FreeBSD NFS Client, Windows 2003 NFS server

2006-12-07 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Harti Brandt <[EMAIL PROTECTED]> writes: : : Hi Warner, : : On Wed, 6 Dec 2006, M. Warner Losh wrote: : : MWL>Does anybody have experience with using FreeBSD 4.x or 6.x NFS clients : MWL>against a Windows 2003 NFS server? What

FreeBSD NFS Client, Windows 2003 NFS server

2006-12-06 Thread M. Warner Losh
Does anybody have experience with using FreeBSD 4.x or 6.x NFS clients against a Windows 2003 NFS server? What is the performance relative to using a FreeBSD NFS server? What is the stability? Does locking work? Does the Windows 2003 server have extensions that grok file system flags? Thanks m

IPv6 IOL certification?

2006-11-09 Thread M. Warner Losh
Does anybody know if the FreeBSD ipv6 stack has passed the IOL Silver or Gold levels from the University of New Hampshire? Warner ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail

Re: cvs commit: src/sys/net if_vlan.c

2006-07-04 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Brooks Davis <[EMAIL PROTECTED]> writes: : and act as though the interface is not there. We could then consider : either holding the interface for a configurable or computed length : of time or adding some sort of refcounting (probably impractical). Ref

Re: USB CDC ACM

2005-06-04 Thread M. Warner Losh
I beleive that umodem implements the usb cdc acm interface. Warner ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: mem leak in mii ? (fwd)

2005-01-22 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Bjoern A. Zeeb" <[EMAIL PROTECTED]> writes: : * all PHY drivers currently seem to use mii_phy_detach for : device_detach. If any implements his own function it will be : responsible for freeing the ivars allocated in miibus_probe. This : should per

Re: Proxim WiFi cards anyone?

2004-07-31 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> [EMAIL PROTECTED] writes: : Hello, all! : : : Today I have bought myself new Proxim Orinoco Gold b/g card : to replace my old Lucent Orinoco b one. : : New card is working fine with the ath driver, but... : Signal strength and radio perfomance are very

Re: cuaa0&ttyd0's bug?

2004-05-19 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Bernd Walter <[EMAIL PROTECTED]> writes: : On Tue, May 18, 2004 at 09:05:52PM +0800, wsk wrote: : > hi,folks: : > It seems that the ttyd0 isn't the dialin line to login , and : > the cuaa0 like is both the dialin/out device!under 4.9 above : > and 5.X .bu

Re: prism 2.5 timeout in wi_cmd 0x010b

2004-01-11 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Lorenzo Vicisano <[EMAIL PROTECTED]> writes: : Warner, : : On Sun, Jan 11, 2004 at 02:23:57PM -0700, M. Warner Losh wrote: : > In message: <[EMAIL PROTECTED]> : > Lorenzo Vicisano <[EMAIL PROTECTED]> writes: :

Re: prism 2.5 timeout in wi_cmd 0x010b

2004-01-11 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Lorenzo Vicisano <[EMAIL PROTECTED]> writes: : However after upgrding the Prism firmware (1.1.0 -> 1.1.1) : the lock up stopped. You really really really want to be using 1.4.5 firmware. Older firmware is known to be buggy. Warner _

Re: finishing the if.h/if_var.h split

2003-09-29 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Brooks Davis <[EMAIL PROTECTED]> writes: : Six years and eight months ago, net/if.h was split into if.h and : if_var.h. At the time, if_var.h was included at the end if if.h as : follows (this is the current code, but it's equivalent): ... : Does this so

Re: SMC 2602W PCI Wireless

2003-09-22 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Daniel Dias Goncalves <[EMAIL PROTECTED]> writes: : The device SMC 2602W PCI works in the FreeBSD? : vendor = 'Admtek Inc' unlikely. The adm wireless driver is still being ported. Warner ___ [EMAIL PROT

Re: Netgear MA401 stopped working

2003-09-02 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Nathan Clark <[EMAIL PROTECTED]> writes: : I have an IBM Thinkpad 600X which dual boots 5.1-Current and XP-Pro. I : purchased a Netgear MA401 wireless 802.11b card which worked fine under : both OS's for about a week. This past Saturday, however, I was

Re: ifconfig question

2003-03-30 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Wes Peters <[EMAIL PROTECTED]> writes: : Only if the spec says those are the only valid ranges. Then we have to : keep up to date with changes in the spec, too. Either some simple sanity : checks or checking for truly valid lengths -- 0, 40 bits, 128

ifconfig question

2003-03-29 Thread M. Warner Losh
The code that prints out the keys for the 802.11 wireless stuff has the following it it: void ieee80211_status (int s, struct rt_addrinfo *info __unused) { ... if (ireq.i_len == 0 || ireq.i_len > 13) continue; ... } Should that check really

Re: Removal of netns - politically correct version

2003-03-05 Thread M. Warner Losh
De: Terry Lambert <[EMAIL PROTECTED]> [ Data: 2003-03-05 ] [ Subjecte: Re: Removal of netns - politically correct version ] > On the other hand, there's no compelling reason to dike it out, > if it can be made to work. I would argue that ISA support is > more or less just as obsolete, as i

Re: Proper -current if_attach locking?

2003-01-07 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Andrew Gallatin <[EMAIL PROTECTED]> writes: : : M. Warner Losh writes: : > In message: <[EMAIL PROTECTED]> : > Andrew Gallatin <[EMAIL PROTECTED]> writes: : > : The IFNET_RLOCK() called in if_sl

Re: Proper -current if_attach locking?

2003-01-07 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Andrew Gallatin <[EMAIL PROTECTED]> writes: : The IFNET_RLOCK() called in if_slowtimo() is a global lock for the : list of ifnet structs to ensure that no devices are removed or added : while something may be using it. There is one ifnet list in the syst

Re: Proper -current if_attach locking?

2003-01-07 Thread M. Warner Losh
I was right (and I think you are too). We do have lock issues. dc_attach does approximately: DC_LOCK ether_attach() (which does a IFNET_WLOCK/UNLOCK pair) DC_UNLOCK (this sets the lock order to be DC_LOCK, IFNET_WLOCK). However in if_slowtimo we have: if_slowtimo(arg) { ... IFNET_RLOCK()

Re: Proper -current if_attach locking?

2003-01-07 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Terry Lambert <[EMAIL PROTECTED]> writes: : "M. Warner Losh" wrote: : > In message: <[EMAIL PROTECTED]> : > Nate Lawson <[EMAIL PROTECTED]> writes: : > : I was looking into some "could sleep mes

Re: Proper -current if_attach locking?

2003-01-06 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Nate Lawson <[EMAIL PROTECTED]> writes: : I was looking into some "could sleep messages" and found some bogus : locking in the attach routine of many drivers. Several init a mtx in : their softc and then lock/unlock it in their attach routine. This, of

Re: ep(4) does not support mediaopt full-duplex

2002-12-30 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Mike Silbersack <[EMAIL PROTECTED]> writes: : >From what I've read, the vortex cards do resemble the older Etherlink : IIIs, so yes those two could probably be merged. They are merged in NetBSD. I think Matt Dodd has some patches that do this. : Howeve

Re: ep(4) does not support mediaopt full-duplex

2002-12-30 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Mike Silbersack <[EMAIL PROTECTED]> writes: : > So I conclude 3C589D does support full duplex at the hardware level. : : You say you're using a 3C589D, which is detected by if_ep_pccard.c as : such: : : case 0x9058: /* 3C589 */ :

Re: ep(4) does not support mediaopt full-duplex

2002-12-30 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Eugene Grosbein <[EMAIL PROTECTED]> writes: : So I conclude 3C589D does support full duplex at the hardware level. I guess that someone will need to add support for it to FreeBSD then. The 3C1 docs I have don't appear to have instructions on how to do th

Re: ep(4) does not support mediaopt full-duplex

2002-12-30 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Eugene Grosbein <[EMAIL PROTECTED]> writes: : Is there a good reason for : not supporting full-duplex? I don't think 3c589 supports full duplex at the hardware level. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net"

Re: Netgraph and KQUEUE(2)

2002-11-06 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Julian Elischer <[EMAIL PROTECTED]> writes: : Ok but there cound be netgraph nodes that have no hardware but could be : called into creation by some external event. : e.g. a netgraph hook on a pseudointerface like gif or tun. : (not at present but a possi

Re: Netgraph and KQUEUE(2)

2002-11-06 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Julian Elischer <[EMAIL PROTECTED]> writes: : : : On Wed, 6 Nov 2002, M. Warner Losh wrote: : : > : 1) Device driver in Netgraph node. When hardware is : > :activated new Netgraph node is created and new : > :kevent sen

Re: Netgraph and KQUEUE(2)

2002-11-06 Thread M. Warner Losh
: 1) Device driver in Netgraph node. When hardware is :activated new Netgraph node is created and new :kevent sent. devd (or something like devd) listens :for these events and does something (loads firmware, :activates device, etc.) Device drivers are not netgraph nodes. They will

Re: Comments Please

2002-10-12 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Luigi Rizzo <[EMAIL PROTECTED]> writes: : On Sat, Oct 12, 2002 at 08:07:47PM -0600, M. Warner Losh wrote: : ... : > : reveals the use of an explicit constant (6) in net/if_arp.h and : > : netinet/if_ether.c; there is more

Re: Comments Please

2002-10-12 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Luigi Rizzo <[EMAIL PROTECTED]> writes: : On Sat, Oct 12, 2002 at 05:18:09PM -0600, M. Warner Losh wrote: : > OK. I'm not a network wonk, so I thought I'd run this by people : > here. What do people think. : : sounds ok --

Comments Please

2002-10-12 Thread M. Warner Losh
OK. I'm not a network wonk, so I thought I'd run this by people here. What do people think. Warner --- //depot/user/imp/freebsd-imp/sys/net/if_ethersubr.c 2002/10/06 21:18:24 +++ //depot/user/imp/newcard/net/if_ethersubr.c 2002/10/11 22:58:57 @@ -124,7 +124,8 @@ static int ether_resolvemulti

Re: Multicast problem with "wi" driver in promiscuous mode - anyresolution?

2002-05-21 Thread M. Warner Losh
I don't think anybody has applied fixes to the wi driver in that time frame for this purpose. Have fun :-(. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: 802.11: WaveLAN/Orinoco Cards

2002-05-06 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Terry Lambert <[EMAIL PROTECTED]> writes: : Martin Minkus wrote: : > Perhaps when I have some spare time I can go look into the wi driver. : > And perhaps your right, firmware changes on the orinoco cards are the : > cause of this; I have flashed mine to

Re: 802.11: WaveLAN/Orinoco Cards

2002-05-06 Thread M. Warner Losh
In message: <005b01c1f4db$e3563f20$020a@bender> "Martin Minkus" <[EMAIL PROTECTED]> writes: : But it's a standard WaveLAN/Orinico card, which is what the wi driver is : intended for? : : I never had to worry about any of this when I had the old white/bronze : 2mbit wavelan cards,

MFC: IF_HANDOFF and IF_HANDOFF_ADJ

2002-04-23 Thread M. Warner Losh
Any objections to MFCing IF_HANDOFF and IF_HANDOFF_ADJ? I'd like there to be a common API between -stable and -current. I'm thinking that the following macros would be sufficient for -stable: #define IF_HANDOFF_ADJ(q, m, ifp, adj) \ if (IF_QFULL((q))) { \

Re: network buffer problem

2002-02-18 Thread M. Warner Losh
Yes. I was going to commit this fix to -stable at bsdcon, but the number of problem laptops that I wanted to look at closely didn't allow it. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message