Re: Minor things: swi_net: unregistered isr number

2002-04-26 Thread Peter Wemm

"Matthew N. Dodd" wrote:
> On Thu, 25 Apr 2002, Peter Wemm wrote:
> > This is well known.  If we recieve an ARP frame before we sent one, then
> > we print this.  eg: a broadcast ARP packet will trigger it.  dhclient
> > etc use bpf etc so ARP isn't initialized at this point.
> 
> We could just put this block of code from arp_rtrequest() into arp_init().
> 
>   LIST_INIT(&llinfo_arp);
>   timeout(arptimer, (caddr_t)0, hz);
>   register_netisr(NETISR_ARP, arpintr);
> 
> I'm not sure why it should to be in arp_rtrequest() in the first place.

You do not want the timer running and using cpu if you are not using ARP
(eg: ppp only).

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5


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



Re: Minor things: swi_net: unregistered isr number

2002-04-25 Thread Matthew N. Dodd

On Thu, 25 Apr 2002, Peter Wemm wrote:
> This is well known.  If we recieve an ARP frame before we sent one, then
> we print this.  eg: a broadcast ARP packet will trigger it.  dhclient
> etc use bpf etc so ARP isn't initialized at this point.

We could just put this block of code from arp_rtrequest() into arp_init().

LIST_INIT(&llinfo_arp);
timeout(arptimer, (caddr_t)0, hz);
register_netisr(NETISR_ARP, arpintr);

I'm not sure why it should to be in arp_rtrequest() in the first place.

-- 
| 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 |


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



Re: Minor things: swi_net: unregistered isr number

2002-04-25 Thread Terry Lambert

John Baldwin wrote:
> On 25-Apr-2002 Jan Stocker wrote:
> > My -current system gives me a
> >
> > swi_net: unregistered isr number: 18.
> >
> > too. I cant find any reply to this old subject. May anyone know where it
> > comes from?
> 
> It seems to trigger whenever there is traffic while the IP is 0.0.0.0,
> even for non-DHCP stuff.  I'm not sure what is causing it.

Protocol 18 is "ARP".

The message only happens when the network code is up, but
before the ARP protocol handler is registered.

-- Terry

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



Re: Minor things: swi_net: unregistered isr number

2002-04-25 Thread Peter Wemm

John Baldwin wrote:
> 
> On 25-Apr-2002 Jan Stocker wrote:
> > My -current system gives me a 
> > 
> > swi_net: unregistered isr number: 18.
> > 
> > too. I cant find any reply to this old subject. May anyone know where it
> > comes from?
> 
> It seems to trigger whenever there is traffic while the IP is 0.0.0.0,
> even for non-DHCP stuff.  I'm not sure what is causing it.

This is well known.   If we recieve an ARP frame before we sent one, then
we print this.  eg: a broadcast ARP packet will trigger it.  dhclient etc
use bpf etc so ARP isn't initialized at this point.

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5


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



Re: Minor things: swi_net: unregistered isr number

2002-04-25 Thread John Baldwin


On 25-Apr-2002 Jan Stocker wrote:
> My -current system gives me a 
> 
> swi_net: unregistered isr number: 18.
> 
> too. I cant find any reply to this old subject. May anyone know where it
> comes from?

It seems to trigger whenever there is traffic while the IP is 0.0.0.0,
even for non-DHCP stuff.  I'm not sure what is causing it.

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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



Re: Minor things: swi_net: unregistered isr number

2002-04-25 Thread Jan Stocker

My -current system gives me a 

swi_net: unregistered isr number: 18.

too. I cant find any reply to this old subject. May anyone know where it
comes from?

Jan




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