NetBSD-Bugs archive

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

kern/56719: ifconfig lo0 output broken with compat_netbsd32



>Number:         56719
>Category:       kern
>Synopsis:       ifconfig lo0 output broken with compat_netbsd32
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 16 19:00:00 +0000 2022
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.93
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD seven-days-to-the-wolves.aprisoft.de 9.99.93 NetBSD 9.99.93 (GENERIC) #524: Wed Feb 16 09:43:50 CET 2022 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

While reviewing compat_netbsd32 test results I noticed some strange fallout
that happens due to broken "ifconfig lo0" output.

>How-To-Repeat:

chroot into a i386 base on amd64, then: 

# ifconfig lo0
lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33624
ifconfig: media_status: SIOCGIFDATA: Inappropriate ioctl for device

while the native version says:
# ifconfig lo0
lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33624
	status: active
	inet 127.0.0.1/8 flags 0
	inet6 ::1/128 flags 0x20<NODAD>
	inet6 fe80::1%lo0/64 flags 0 scopeid 0x3
	
>Fix:
n/a



Home | Main Index | Thread Index | Old Index