Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

recent kernel changes seem to have broken mozilla

0 views
Skip to first unread message

David Laight

unread,
Nov 5, 2002, 9:17:02 AM11/5/02
to curren...@netbsd.org
Some recent kernel change (probably between 30th October and
4th November) seems to have stopped mozilla sending out any
connect requests (i386 almost GENERIC).

This is almost certainly something to do with ip6 addresses,
but it always used to work. I don't think my DNS server returns
IPv6 addresses.

The kernel config hasn't changed, and the old kernel works
with the current userspace.

Does anyine know what got broken, before I boot the old kernel
and start digging.

David

--
David Laight: da...@l8s.co.uk

David Laight

unread,
Nov 5, 2002, 12:24:56 PM11/5/02
to Miguel Mendez, curren...@netbsd.org
> I'm not sure yet, but Linux' Opera works fine, I'd bet it's some change
> in the IPv6 code as you've mentioned. I'll try to investigate further
> and post the results on this list.

See my own private thread!
add #include "opt_inet" to netinet6/in6_pcb.c

David Laight

unread,
Nov 5, 2002, 12:22:57 PM11/5/02
to curren...@netbsd.org, tech...@netbsd.org
On Tue, Nov 05, 2002 at 01:18:36PM +0000, David Laight wrote:
> Some recent kernel change (probably between 30th October and
> 4th November) seems to have stopped mozilla sending out any
> connect requests (i386 almost GENERIC).
>
> This is almost certainly something to do with ip6 addresses,
> but it always used to work. I don't think my DNS server returns
> IPv6 addresses.
>
> The kernel config hasn't changed, and the old kernel works
> with the current userspace.

I've found where it doesn't work, and how to fix it.
But not why it got broken.....

sys/netinet6/in6_pcb.h is missing a #include "opt_inet.h"
and so gets compiled with INET undefined.
in6_pcbconnect() then returns EADDRNOTAVAIL for IPv4 addresses.

I presume INET was defined somewhere else...

Miguel Mendez

unread,
Nov 5, 2002, 12:17:54 PM11/5/02
to David Laight, curren...@netbsd.org
On Tue, 5 Nov 2002 13:18:36 +0000
David Laight <da...@l8s.co.uk> wrote:

Hi,

> Some recent kernel change (probably between 30th October and
> 4th November) seems to have stopped mozilla sending out any
> connect requests (i386 almost GENERIC).

Just a me-too message to confirm this. Yesterday I upgraded my box from
1.6J to 1.6K, and phoenix 0.4 has stopped working. I always get a
conection refused message. I'm running GENERIC-MP on this box.



> This is almost certainly something to do with ip6 addresses,
> but it always used to work. I don't think my DNS server returns
> IPv6 addresses.

I have IPv6 enabled in this box, and my dns server returns AAAA values.

> The kernel config hasn't changed, and the old kernel works
> with the current userspace.
>
> Does anyine know what got broken, before I boot the old kernel
> and start digging.

I'm not sure yet, but Linux' Opera works fine, I'd bet it's some change


in the IPv6 code as you've mentioned. I'll try to investigate further
and post the results on this list.

Cheers,
--
Miguel Mendez - fl...@energyhq.homeip.net
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
NetBSD :: Unix without hype

David Laight

unread,
Nov 5, 2002, 4:36:21 PM11/5/02
to curren...@netbsd.org, tech...@netbsd.org
> But not why it got broken.....

Located...

netinet/in_pcb.h 1.32 no longer includes netinet6/ipsec.h
netinet6/in6_pcb.c was relying on ipsec.h to include op_inet.h

I suspect the fix is to include it directly.

Perry E. Metzger

unread,
Nov 5, 2002, 4:48:07 PM11/5/02
to David Laight, curren...@netbsd.org, tech...@netbsd.org

I've fixed this (i.e. added the include of "opt_inet.h" to in6_pcb.c).
If there are any other files that are victims of the change to
netinet/in_pcb.h, please let me know.

Perry

David Laight <da...@l8s.co.uk> writes:

--
Perry E. Metzger pe...@piermont.com

0 new messages