NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-vax/58002: NetBSD-VAX network stack or drivers broken since NetBSD 10?



>Number:         58002
>Category:       port-vax
>Synopsis:       NetBSD-VAX network stack or drivers broken since NetBSD 10?
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-vax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 06 12:25:00 +0000 2024
>Originator:     Marc Fege
>Release:        10RC5
>Organization:
>Environment:
NetBSD vax1.familie.fege.local 10.0_RC5 NetBSD 10.0_RC5 (GENERIC) #0: Tue Feb 27
 05:27:39 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/vax/compile/GEN
ERIC vax
>Description:
Dear community,

there seems to be a bug within NetBSDs network stack or drivers for some RCs of NetBSD 10 right now affecting the VAX port (see system messages below).  I upgraded my SIMH-emulated VAX-780 from NetBSD 9.3 to 10 Beta without any issue back then over half a year ago, but now for some RCs of NetBSD 10 it doesn't matter which VAX (MicroVAX or VAX-780) and network adapter (de0, qe0) with appropiate configuration in the SIMH configuration I choose, the interface reports always "Inappropriate ioctl".  For some reason no automatic IPv4 setting is done at boot time and even a manual ifconfig for setting up IPv4 addresses manually, won't help out. Neither IPv4 or IPv6 networking is possible beyond the localhost loopback device.
The SIMH-emulator and surrounding environment on the other hand never changed over that time. Odd...

I used my network configuration you'll find below for ages now since NetBSD 6, which is similar for other machines of other ports which I use since 2012.  So, no configuration issue so far.

Any advices?
Thanks for your efforts!

Best regards,
Marc.

System messages (network addresses randomised):

[...]
Starting network.
Hostname: vax
Configuring network interfaces: de0ifconfig: SIOCGIFMEDIA: Inappropriate ioctl
for device.
Adding interface aliases:.
route: writing to routing socket: Network is unreachable
add net default: gateway 10.0.0.1: Network is unreachable
Waiting for duplicate address detection to finish...
Starting dhcpcd.
dhcpcd-9.4.1 starting
DUID ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff
de0: IAID ff:ff:ff:ff
de0: soliciting an IPv6 router
de0: Router Advertisement from fe80::ffff:ffff:ffff:ffff
de0: adding address ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff/64
de0: adding address fd00::ffff:ffff:ffff:ffff/64
de0: adding route to 2003:ffff:ffff:ffff::/64
de0: adding route to fd00::/64
de0: adding default route via fe80::ffff:ffff:ffff:ffff
timed out
[...]

=============

/etc/rc.conf:

hostname="vax"
defaultroute="10.0.0.1"
ip6mode="autohost"
dhcpcd="YES" dhcpcd_flags="-6"

=============

/etc/ifconfig.de0:
up
10.0.0.90 netmask 255.255.255.0 media autoselect
inet6 fd00::ffff:ffff:ffff prefixlen 64

=============

vax# ifconfig 
de0: flags=0x8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        address: ff:ff:ff:ff:ff:ff
        inet6 fe80::ffff:ffff:ffff:ffff%de0/64 flags 0 scopeid 0x1
        inet6 fd00::ffff:ffff:ffff/64 flags 0
        inet6 2003:ffff:ffff:ffff:ffff:ffff:ffff:ffff/64 flags 0x40<AUTOCONF>
        inet6 fd00::ffff:ffff:ffff:ffff/64 flags 0x40<AUTOCONF>
lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33176
        status: active
        inet6 ::1/128 flags 0x20<NODAD>
        inet6 fe80::1%lo0/64 flags 0 scopeid 0x2
        inet 127.0.0.1/8 flags 0

NetBSD vax1.familie.fege.local 10.0_RC5 NetBSD 10.0_RC5 (GENERIC) #0: Tue Feb 27
 05:27:39 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/vax/compile/GEN
ERIC vax


[...]
Starting network.
Hostname: vax
Configuring network interfaces: de0ifconfig: SIOCGIFMEDIA: Inappropriate ioctl
for device.
Adding interface aliases:.
route: writing to routing socket: Network is unreachable
add net default: gateway 10.0.0.1: Network is unreachable
Waiting for duplicate address detection to finish...
Starting dhcpcd.
dhcpcd-9.4.1 starting
DUID ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff
de0: IAID ff:ff:ff:ff
de0: soliciting an IPv6 router
de0: Router Advertisement from fe80::ffff:ffff:ffff:ffff
de0: adding address ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff/64
de0: adding address fd00::ffff:ffff:ffff:ffff/64
de0: adding route to 2003:ffff:ffff:ffff::/64
de0: adding route to fd00::/64
de0: adding default route via fe80::ffff:ffff:ffff:ffff
timed out
[...]

=============

/etc/rc.conf:

hostname="vax"
wpa_supplicant="NO"
defaultroute="10.0.0.1"
ip6mode="autohost"
dhcpcd="YES" dhcpcd_flags="-6"

=============

/etc/ifconfig.de0:
up
10.0.0.90 netmask 255.255.255.0 media autoselect
inet6 fd00::ffff:ffff:ffff prefixlen 64

=============

vax# ifconfig 
de0: flags=0x8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        address: ff:ff:ff:ff:ff:ff
        inet6 fe80::ffff:ffff:ffff:ffff%de0/64 flags 0 scopeid 0x1
        inet6 fd00::ffff:ffff:ffff/64 flags 0
        inet6 2003:ffff:ffff:ffff:ffff:ffff:ffff:ffff/64 flags 0x40<AUTOCONF>
        inet6 fd00::ffff:ffff:ffff:ffff/64 flags 0x40<AUTOCONF>
lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33176
        status: active
        inet6 ::1/128 flags 0x20<NODAD>
        inet6 fe80::1%lo0/64 flags 0 scopeid 0x2
        inet 127.0.0.1/8 flags 0
>How-To-Repeat:
Try to give set any IP address to a network adapter (with ifconfig).
>Fix:



Home | Main Index | Thread Index | Old Index