Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proposal: ifconfig list fails for unpriv user past 2c24ad3377a #638

Closed
wants to merge 2 commits into from

Conversation

paepckehh
Copy link
Contributor

@paepckehh paepckehh commented Jan 19, 2023

Hello Team,
proposed fix for bugID:269042

Summary:
since 2c24ad3377a6f58 / D37873 ifconfig exits with permission denied when called by unpriviledged user and kldload(if_xxx) is called.

With this patch, it just behaves as before, no information is (silently) dropped or missing.

Greetings,
Michael

Copy link
Member

@asomers asomers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This patch would defeat the whole point, which is to catch the EPERM returned by kldload in a jail. What exactly is your problem? Could you please past the command you execute, the user you execute it as, and the expected result you'd like to see?

@paepckehh
Copy link
Contributor Author

Sure,
my idea was to first restore as quick fix the expected behaviour for everyone else, because it can be hard to track down, to have some more time figure out the root cause behind the (pointless) kernel module access attempts

Why? Because not only lists is impacted, but also interface rename operations fail the same way. And, I do not even have kernel modules at all (zero). All interfaces are static within the main kernel and working otherwise (since years) rock stable that way.

Currently its <if_ue> that fails as soon I have more than one ue mapped nic. I will rollback the patch and add some more network interfaces and provide some traces.

Thank you!
Michael

@paepckehh
Copy link
Contributor Author

paepckehh commented Jan 19, 2023

Hello Alan,
if you have an idea why kldload is called at all ... ?

INTERACTIVE

root@rpi2b32 # ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
description: [LOCALHOST] [LOCALNET]
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xffffff00
inet 127.0.0.2 netmask 0xffffffff
inet 127.0.0.80 netmask 0xffffffff
inet 127.0.0.123 netmask 0xffffffff
inet 127.0.0.153 netmask 0xffffffff
inet 127.0.0.222 netmask 0xffffffff
inet 127.0.0.241 netmask 0xffffffff
inet 127.0.0.243 netmask 0xffffffff
inet 127.0.0.246 netmask 0xffffffff
inet 127.0.0.254 netmask 0xffffffff
inet 127.0.0.53 netmask 0xffffffff
groups: lo
pflog0: flags=141<UP,RUNNING,PROMISC> metric 0 mtu 33176
groups: pflog
intra0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: [INTRANET] [CLIENTNET]
options=80009<RXCSUM,VLAN_MTU,LINKSTATE>
ether b8:27:eb:cc:7c:6b
inet 192.168.10.2 netmask 0xffffff00 broadcast 192.168.10.255
inet 192.168.10.53 netmask 0xffffffff broadcast 192.168.10.53
inet 192.168.10.80 netmask 0xffffffff broadcast 192.168.10.80
inet 192.168.10.123 netmask 0xffffffff broadcast 192.168.10.123
inet 192.168.10.240 netmask 0xffffffff broadcast 192.168.10.240
inet 192.168.10.241 netmask 0xffffffff broadcast 192.168.10.241
inet 192.168.10.242 netmask 0xffffffff broadcast 192.168.10.242
inet 192.168.10.243 netmask 0xffffffff broadcast 192.168.10.243
inet 192.168.10.244 netmask 0xffffffff broadcast 192.168.10.244
inet 192.168.10.245 netmask 0xffffffff broadcast 192.168.10.245
inet 192.168.10.246 netmask 0xffffffff broadcast 192.168.10.246
inet 192.168.10.247 netmask 0xffffffff broadcast 192.168.10.247
inet 192.168.10.248 netmask 0xffffffff broadcast 192.168.10.248
inet 192.168.10.249 netmask 0xffffffff broadcast 192.168.10.249
inet 192.168.10.250 netmask 0xffffffff broadcast 192.168.10.250
inet 192.168.10.251 netmask 0xffffffff broadcast 192.168.10.251
inet 192.168.10.252 netmask 0xffffffff broadcast 192.168.10.252
inet 192.168.10.253 netmask 0xffffffff broadcast 192.168.10.253
inet 192.168.10.254 netmask 0xffffffff broadcast 192.168.10.254
media: Ethernet autoselect (100baseTX )
status: active
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
groups: ipfw
ue1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80000
ether 00:1e:10:1f:00:00
inet 10.133.186.66 netmask 0xff000000 broadcast 10.255.255.255
media: Ethernet autoselect
status: active
ue2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80008<VLAN_MTU,LINKSTATE>
ether 00:71:00:ff:1a:02
media: Ethernet autoselect (none)
status: no carrier
ue3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80008<VLAN_MTU,LINKSTATE>
ether 04:69:f8:eb:2b:7b
media: Ethernet autoselect (none)
status: no carrier

root@rpi2b32 # ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
description: [LOCALHOST] [LOCALNET]
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xffffff00
inet 127.0.0.2 netmask 0xffffffff
inet 127.0.0.80 netmask 0xffffffff
inet 127.0.0.123 netmask 0xffffffff
inet 127.0.0.153 netmask 0xffffffff
inet 127.0.0.222 netmask 0xffffffff
inet 127.0.0.241 netmask 0xffffffff
inet 127.0.0.243 netmask 0xffffffff
inet 127.0.0.246 netmask 0xffffffff
inet 127.0.0.254 netmask 0xffffffff
inet 127.0.0.53 netmask 0xffffffff
groups: lo

root@rpi2b32 # ifconfig ue1
ifconfig: kldload(if_ue): Operation not permitted

root@rpi2b32 # ifconfig ue2
ifconfig: kldload(if_ue): Operation not permitted

root@rpi2b32 # ifconfig intra0
ifconfig: kldload(if_intra0): Operation not permitted

[... every other attempt to list or rename ue1..3 & intra0 terminate the same way. There is no reaon to even try kldload at all, all static, see kernconf]

[... before 2c24ad3 / or tip + patch above, everythings works as expected]

KERNCONFIG

auto-generated DYNAMIC KERNCONF rpi2b32 pnoc - do not edit - 2023-01-19 16:46:50

cpu CPU_CORTEXA
device axe
device axge
device bpf
device cdce
device clk
device cpufreq
device crypto
device da
device dwcotg
device ether
device fdt_pinctrl
device generic_timer
device gpio
device gpioled
device gpioregulator
device hid
device kbdmux
device loop
device md
device mii
device mpcore_timer
device pf
device pflog
device pl310
device psci
device pty
device regulator
device scbus
device smsc
device smscphy
device u3g
device ucom
device uether
device ukbd
device umass
device umodem
device usb
device vt
device wg
device xz
files "../broadcom/bcm2835/files.bcm2836"
files "../broadcom/bcm2835/files.bcm283x"
ident rpi2b32-pnoc
machine arm armv7
makeoptions CONF_CFLAGS="-mcpu=cortex-a7"
makeoptions MODULES_EXTRA=""
options ACCEPT_FILTER_HTTP
options BOOTVERBOSE=1
options CAPABILITIES
options CAPABILITY_MODE
options CC_CUBIC
options EXT2FS
options FDT
options FFS
options FREEBSD_BOOT_LOADER
options GEOM_LABEL
options GEOM_LINUX_LVM
options GEOM_PART_GPT
options GEOM_PART_MBR
options GEOM_UZIP
options HZ=1000
options INET
options INTRNG
options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_VERBOSE
options KBD_DELAY1=200
options KBD_DELAY2=15
options KBD_DISABLE_KEYMAP_LOAD
options LINUX_BOOT_ABI
options MD_ROOT
options MD_ROOT_READONLY
options MSDOSFS
options NO_FFS_SNAPSHOT
options NO_SYSCTL_DESCR
options NULLFS
options PLATFORM
options PREEMPTION
options PRINTF_BUFR_SIZE=128
options ROOTDEVNAME="ufs:md0.uzip"
options ROUTETABLES=8
options SCHED_4BSD
options SC_HISTORY_SIZE=1000
options SC_NO_CUTPASTE
options SMP
options SMP_ON_UP
options SOC_BCM2836
options SOFTUPDATES
options SYSVMSG
options SYSVSEM
options SYSVSHM
options TMPFS
options UFS_DIRHASH
options UNIONFS
options USB_HOST_ALIGN=64
options VFP
options VT_ALT_TO_ESC_HACK=1
options VT_MAXWINDOWS=12
options ZSTDIO
options _KPOSIX_PRIORITY_SCHEDULING

DMESG

---<>---
CPU(0) applied BP hardening: not necessary
Copyright (c) 1992-2023 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 14.0-main-enhanced-846e4a206fabf rpi2b32-pnoc arm
clang version 13.0.0
[1.000000] VT: init without driver.
[1.000001] Preloaded elf kernel "/boot/kernel/kernel" at 0xc2b0f000.
[1.000002] Preloaded md_image "/boot/mdroot" at 0xc2b0f810.
[1.000003] Preloaded boot_entropy_cache "/boot/entropy" at 0xc2b0f854.
[1.000004] No PSCI/SMCCC call function found
[1.000005] CPU: ARM Cortex-A7 r0p5 (ECO: 0x00000000)
[1.000006] CPU Features:
[1.000007] Multiprocessing, Thumb2, Security, Virtualization, Generic Timer, VMSAv7,
[1.000008] PXN, LPAE, Coherent Walk
[1.000009] Optional instructions:
[1.000010] SDIV/UDIV, UMULL, SMULL, SIMD(ext)
[1.000011] LoUU:2 LoC:3 LoUIS:2
[1.000012] Cache level 1:
[1.000013] 32KB/64B 4-way data cache WB Read-Alloc Write-Alloc
[1.000014] 32KB/32B 2-way instruction cache Read-Alloc
[1.000015] Cache level 2:
[1.000016] 512KB/64B 8-way unified cache WB Read-Alloc Write-Alloc
[1.000017] real memory = 1035988992 (987 MB)
[1.000018] avail memory = 967643136 (922 MB)
[1.000019] Physical memory chunk(s):
[1.000020] 0x00001000 - 0x3dbfffff, 987 MB ( 252927 pages)
[1.000021] Excluded memory regions:
[1.000022] 0x00400000 - 0x0304dfff, 44 MB ( 11342 pages) NoAlloc
[1.000023] 0x3dc00000 - 0x3fffffff, 36 MB ( 9216 pages) NoAlloc NoDump
[1.000024] Static device mappings:
[1.000025] 0x3f000000 - 0x3fffffff mapped at VA 0xfef00000
[1.000026] FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
[1.000027] random: read 4096 bytes from preloaded cache
[1.000028] random: no platform bootloader entropy
[1.000029] random: unblocking device.
[1.000031] hostuuid: using 00000000-0000-0000-0000-000000000000
[1.000054] random: entropy device external interface
[1.000062] openfirm:
[1.000077] crypto:
[1.000079] mem:
[1.000082] null: <full device, null device, zero device>
[1.000090] ofwbus0:
[1.000091] simplebus0: on ofwbus0
[1.000092] ofw_clkbus0: on ofwbus0
[1.000093] clk_fixed0: on ofw_clkbus0
[1.000094] clk_fixed1: on ofw_clkbus0
[1.000095] regfix0: on ofwbus0
[1.000096] regfix1: on ofwbus0
[1.000097] bcm2835_firmware0: on simplebus0
[1.000098] ofw_clkbus1: on bcm2835_firmware0
[1.000099] lintc0: mem 0x40000000-0x400000ff on simplebus0
[1.000100] intc0: mem 0x7e00b200-0x7e00b3ff irq 38 on simplebus0
[1.000101] gpio0: <BCM2708/2835 GPIO controller> mem 0x7e200000-0x7e2000b3 irq 7,8 on simplebus0
[1.000102] gpiobus0: on gpio0
[1.000103] Processing 1 pin-config node(s) in pinctrl-0 for mmc@7e202000
[1.000104] gpio0: set pin 48 to func 4
[1.000105] gpio0: set pin 49 to func 4
[1.000106] gpio0: set pin 50 to func 4
[1.000107] gpio0: set pin 51 to func 4
[1.000108] gpio0: set pin 52 to func 4
[1.000109] gpio0: set pin 53 to func 4
[1.000110] mbox0: mem 0x7e00b880-0x7e00b8bf irq 6 on simplebus0
[1.000111] generic_timer0: irq 1,2,3,4 on ofwbus0
[1.000112] Timecounter "ARM MPCore Timecounter" frequency 19200000 Hz quality 1000
[1.000113] Event timer "ARM MPCore Eventtimer" frequency 19200000 Hz quality 1000
[1.000114] simplebus0: txp@7e004000 mem 0x7e004000-0x7e00401f irq 5 disabled compat brcm,bcm2835-txp (no driver attached)
[1.000115] simplebus0: cprman@7e101000 mem 0x7e101000-0x7e102fff compat brcm,bcm2835-cprman (no driver attached)
[1.000116] gpioc0: on gpio0
[1.000118] simplebus0: serial@7e201000 mem 0x7e201000-0x7e2011ff irq 9 disabled compat arm,pl011 (no driver attached)
[1.000119] simplebus0: mmc@7e202000 mem 0x7e202000-0x7e2020ff irq 10 compat brcm,bcm2835-sdhost (no driver attached)
[1.000120] simplebus0: i2s@7e203000 mem 0x7e203000-0x7e203023 disabled compat brcm,bcm2835-i2s (no driver attached)
[1.000121] simplebus0: spi@7e204000 mem 0x7e204000-0x7e2041ff irq 11 disabled compat brcm,bcm2835-spi (no driver attached)
[1.000122] simplebus0: i2c@7e205000 mem 0x7e205000-0x7e2051ff irq 12 disabled compat brcm,bcm2835-i2c (no driver attached)
[1.000123] simplebus0: disabled compat i2c-mux-pinctrl (no driver attached)
[1.000124] simplebus0: dpi@7e208000 mem 0x7e208000-0x7e20808b disabled compat brcm,bcm2835-dpi (no driver attached)
[1.000125] simplebus0: dsi@7e209000 mem 0x7e209000-0x7e209077 irq 13 disabled compat brcm,bcm2835-dsi0 (no driver attached)
[1.000126] simplebus0: aux@7e215000 mem 0x7e215000-0x7e215007 compat brcm,bcm2835-aux (no driver attached)
[1.000127] simplebus0: serial@7e215040 mem 0x7e215040-0x7e21507f irq 14 disabled compat brcm,bcm2835-aux-uart (no driver attached)
[1.000128] simplebus0: spi@7e215080 mem 0x7e215080-0x7e2150bf irq 15 disabled compat brcm,bcm2835-aux-spi (no driver attached)
[1.000129] simplebus0: spi@7e2150c0 mem 0x7e2150c0-0x7e2150ff irq 16 disabled compat brcm,bcm2835-aux-spi (no driver attached)
[1.000130] simplebus0: pwm@7e20c000 mem 0x7e20c000-0x7e20c027 disabled compat brcm,bcm2835-pwm (no driver attached)
[1.000131] simplebus0: hvs@7e400000 mem 0x7e400000-0x7e405fff irq 17 disabled compat brcm,bcm2835-hvs (no driver attached)
[1.000132] simplebus0: dsi@7e700000 mem 0x7e700000-0x7e70008b irq 18 disabled compat brcm,bcm2835-dsi1 (no driver attached)
[1.000133] simplebus0: i2c@7e804000 mem 0x7e804000-0x7e804fff irq 19 disabled compat brcm,bcm2835-i2c (no driver attached)
[1.000134] bcm283x_dwcotg0: <DWC OTG 2.0 integrated USB controller (bcm283x)> mem 0x7e980000-0x7e98ffff,0x7e006000-0x7e006fff irq 20,21 on simplebus0
[1.000135] Checking root against raspberrypi,model-b
[1.000136] Checking root against brcm,bcm2835
[1.000137] Checking root against brcm,bcm2709
[1.000138] Checking root against brcm,bcm2836
[1.000139] usbus1 on bcm283x_dwcotg0
[1.000140] bcm283x_dwcotg0: usbpf: Attached
[1.000142] bcm_dma0: mem 0x7e007000-0x7e007eff irq 22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37 on simplebus0
[1.000144] bcmwd0: <BCM2708/2835 Watchdog> mem 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023 on simplebus0
[1.000145] simplebus0: rng@7e104000 mem 0x7e104000-0x7e10400f irq 39 compat brcm,bcm2835-rng (no driver attached)
[1.000146] simplebus0: pixelvalve@7e206000 mem 0x7e206000-0x7e2060ff irq 40 disabled compat brcm,bcm2835-pixelvalve0 (no driver attached)
[1.000147] simplebus0: pixelvalve@7e207000 mem 0x7e207000-0x7e2070ff irq 41 disabled compat brcm,bcm2835-pixelvalve1 (no driver attached)
[1.000148] simplebus0: thermal@7e212000 mem 0x7e212000-0x7e212007 compat brcm,bcm2836-thermal (no driver attached)
[1.000149] simplebus0: i2c@7e805000 mem 0x7e805000-0x7e805fff irq 42 disabled compat brcm,bcm2835-i2c (no driver attached)
[1.000150] simplebus0: vec@7e806000 mem 0x7e806000-0x7e806fff irq 43 disabled compat brcm,bcm2835-vec (no driver attached)
[1.000151] simplebus0: pixelvalve@7e807000 mem 0x7e807000-0x7e8070ff irq 44 disabled compat brcm,bcm2835-pixelvalve2 (no driver attached)
[1.000152] simplebus0: hdmi@7e902000 mem 0x7e902000-0x7e9025ff,0x7e808000-0x7e8080ff irq 45,46 disabled compat brcm,bcm2835-hdmi (no driver attached)
[1.000153] simplebus0: v3d@7ec00000 mem 0x7ec00000-0x7ec00fff irq 47 disabled compat brcm,vc4-v3d (no driver attached)
[1.000154] simplebus0: disabled compat brcm,bcm2835-vc4 (no driver attached)
[1.000155] simplebus0: mmc@7e300000 mem 0x7e300000-0x7e3000ff irq 48 disabled compat brcm,bcm2835-mmc (no driver attached)
[1.000156] simplebus0: mmcnr@7e300000 mem 0x7e300000-0x7e3000ff irq 49 disabled compat brcm,bcm2835-mmc (no driver attached)
[1.000157] simplebus0: firmwarekms@7e600000 mem 0x7e600000-0x7e6000ff irq 50 disabled compat raspberrypi,rpi-firmware-kms (no driver attached)
[1.000158] simplebus0: smi@7e600000 mem 0x7e600000-0x7e6000ff irq 51 disabled compat brcm,bcm2835-smi (no driver attached)
[1.000159] simplebus0: csi@7e800000 mem 0x7e800000-0x7e8007ff,0x7e802000-0x7e802003 irq 52 disabled compat brcm,bcm2835-unicam (no driver attached)
[1.000160] simplebus0: csi@7e801000 mem 0x7e801000-0x7e8017ff,0x7e802004-0x7e802007 irq 53 disabled compat brcm,bcm2835-unicam (no driver attached)
[1.000161] simplebus0: mem 0x7e009800-0x7e0098ff,0x7ee08000-0x7ee080ff disabled compat brcm,bcm2835-axiperf (no driver attached)
[1.000162] bcm2835_firmware0: compat raspberrypi,vcio (no driver attached)
[1.000163] simplebus0: compat raspberrypi,bcm2835-power (no driver attached)
[1.000164] simplebus0: mailbox@7e00b840 mem 0x7e00b840-0x7e00b87b irq 54 compat brcm,bcm2836-vchiq (no driver attached)
[1.000165] simplebus0: mem 0x7e200000-0x7e200fff compat brcm,bcm2835-gpiomem (no driver attached)
[1.000166] fb0: on simplebus0
[1.000167] fb0: keeping existing fb bpp of 32
[1.000168] fbd0 on fb0
[1.000170] WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 14.0.
[1.000171] VT: initialize with new VT driver "fb".
[1.000185] fb0: 1080x1920(1080x1920@0,0) 32bpp
[1.000186] fb0: fbswap: 1, pitch 4352, base 0x3dc0a000, screen_size 8355840
[1.000187] ofwbus0: compat usb-nop-xceiv (no driver attached)
[1.000188] ofwbus0: irq 0 compat arm,cortex-a7-pmu (no driver attached)
[1.000189] cpulist0: on ofwbus0
[1.000190] cpu0: on cpulist0
[1.000191] cpu0: Nominal frequency 900Mhz
[1.000192] bcm2835_cpufreq0: on cpu0
[1.000193] cpu1: on cpulist0
[1.000194] cpu1: Nominal frequency 900Mhz
[1.000195] cpu2: on cpulist0
[1.000196] cpu2: Nominal frequency 900Mhz
[1.000197] cpu3: on cpulist0
[1.000198] cpu3: Nominal frequency 900Mhz
[1.000199] gpioled0: on ofwbus0
[1.000202] ofwbus0: <cam1_reg> disabled compat regulator-fixed (no driver attached)
[1.000203] crypto: assign cryptosoft0 driver id 0, flags 0x6000000
[1.000213] Timecounters tick every 1.000 msec
[1.001593] lo0: bpf attached
[1.004058] tcp_init: net.inet.tcp.tcbhashsize auto tuned to 8192
[1.005896] WARNING: Adding ifaddrs to all fibs has been turned off by default. Consider tuning net.add_addr_allfibs if needed
[1.174206] ipfw2 initialized, divert loadable, nat loadable, default to accept, logging disabled
[1.175659] pflog0: bpf attached
[1.176666] md0: Preloaded image </boot/mdroot> 34910720 bytes at 0xc09ba000
[1.177452] usbus1: 480Mbps High Speed USB v2.0
[1.188027] ugen1.1: at usbus1
[1.188395] uhub0 on usbus1
[1.188455] uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
[1.199902] bcm2835_cpufreq0: Boot settings:
[1.199960] bcm2835_cpufreq0: current ARM 600MHz, Core 250MHz, SDRAM 400MHz, Turbo OFF
[1.200049] bcm2835_cpufreq0: max/min ARM 900/600MHz, Core 250/250MHz, SDRAM 450/400MHz
[1.200136] bcm2835_cpufreq0: current Core 1312mV, SDRAM_C 1200mV, SDRAM_I 1200mV, SDRAM_P 1200mV
[1.200239] bcm2835_cpufreq0: max/min Core 1312/1200mV, SDRAM_C 1200/1200mV, SDRAM_I 1200/1200mV, SDRAM_P 1200/1200mV
[1.200350] bcm2835_cpufreq0: Temperature 40.0C
[1.403587] Release APs
[1.403600] CPU(1) applied BP hardening: not necessary
[1.403607] CPU(3) applied BP hardening: not necessary
[1.403614] CPU(2) applied BP hardening: not necessary
[1.404969] regulator: shutting down unused regulators
[1.405592] Trying to mount root from ufs:/dev/md0.uzip [ro]...
[1.426541] Warning: no time-of-day clock registered, system time will not be set accurately
[1.426751] start_init: trying /sbin/init
[1.524495] uhub0: 1 port with 1 removable, self powered
[2.030706] ugen1.2: <vendor 0x0424 product 0x9514> at usbus1
[2.031461] uhub1 on uhub0
[2.031532] uhub1: <vendor 0x0424 product 0x9514, class 9/0, rev 2.00/2.00, addr 2> on usbus1
[2.031845] uhub1: MTT enabled
[2.834006] uhub1: 5 ports with 4 removable, self powered
[3.206335] ugen1.3: <vendor 0x0424 product 0xec00> at usbus1
[3.206707] smsc0 on uhub1
[3.206757] smsc0: <vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3> on usbus1
[3.213733] smsc0: chip 0xec00, rev. 0002
[3.231106] miibus0: on smsc0
[3.231300] smscphy0: <SMC LAN8700 10/100 interface> PHY 1 on miibus0
[3.231386] smscphy0: OUI 0x00800f, model 0x000c, rev. 3
[3.233446] smscphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[3.234183] ue0: on smsc0
[3.234326] ue0: bpf attached
[3.234359] ue0: Ethernet address: b8:27:xxxxxxxxxx
[3.622530] ugen1.4: at usbus1
[3.623673] ukbd0 on uhub1
[3.623769] ukbd0: <Dell Dell USB Entry Keyboard, class 0/0, rev 1.10/1.15, addr 4> on usbus1
[3.639265] kbd: new array size 4
[3.639354] kbd1: ukbd0, generic (0), config:0x0, flags:0x3d0000
[3.847934] ue0: changing name to 'intra0'
[3.906525] lo0: link state changed to UP
[4.008425] ugen1.5: <vendor 0x1a40 USB 2.0 Hub> at usbus1
[4.009043] uhub2 on uhub1
[4.009102] uhub2: <vendor 0x1a40 USB 2.0 Hub, class 9/0, rev 2.00/1.11, addr 5> on usbus1
[4.473215] smsc0: chip 0xec00, rev. 0002
[4.494095] intra0: link state changed to DOWN
[4.704770] uhub2: 4 ports with 4 removable, self powered
[5.115839] ugen1.6: at usbus1
[5.117030] umodem0 on uhub2
[5.117149] umodem0: <STMicroelectronics STM32 Virtual COM Port, class 2/0, rev 2.00/2.00, addr 6> on usbus1
[5.117343] umodem0: data interface 1, has no CM over data, has no break
[5.134475] pflog0: promiscuous mode enabled
[5.579920] ugen1.7: at usbus1
[5.580561] axe0 on uhub2
[5.581757] axe0: <0> on usbus1
[5.583031] axe0: PHYADDR 0xe0:0x10
[5.841804] ipfw0: bpf attached
[6.041710] ugen1.8: at usbus1
[6.042451] axe1 on uhub2
[6.043852] axe1: <0> on usbus1
[6.045023] axe1: PHYADDR 0xe0:0x10
[6.237791] miibus1: on axe0
[6.237991] ukphy0: <Generic IEEE 802.3u media interface> PHY 16 on miibus1
[6.238018] ukphy0: OUI 0x007063, model 0x0006, rev. 1
[6.240574] ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[6.242230] ue1: on axe0
[6.242531] ue1: bpf attached
[6.242573] ue1: Ethernet address: 04:69:f8:xxxxxxxxx
[6.959326] intra0: link state changed to UP
[7.440837] miibus2: on axe1
[7.441068] ukphy1: <Generic IEEE 802.3u media interface> PHY 16 on miibus2
[7.441096] ukphy1: OUI 0x007063, model 0x0006, rev. 1
[7.443893] ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
[7.445768] ue2: on axe1
[7.445991] ue2: bpf attached
[7.446009] ue2: Ethernet address: 00:71:00xxxxxx
[11.958099] intra0: link state changed to DOWN
[13.959089] intra0: link state changed to UP
[17.452210] ugen1.9: at usbus1
[17.525580] ugen1.9: at usbus1 (disconnected)
[18.216411] ugen1.9: at usbus1
[18.217038] u3g0 on uhub1
[18.217088] u3g0: <HUAWEIMOBILE HUAWEIMOBILE, class 2/0, rev 2.00/1.02, addr 9> on usbus1
[18.217193] u3g0: port 0 supports modem control
[18.218089] u3g0: Found 3 ports.
[18.218382] cdce0 on uhub1
[18.219235] cdce0: on usbus1
[18.223484] ue3: on cdce0
[18.223801] ue3: bpf attached
[18.223827] ue3: Ethernet address: 00:1e:10:xxxxxxxx
[20.298497] ue1: link state changed to DOWN
[29.976854] intra0: link state changed to DOWN
[31.977970] intra0: link state changed to UP

@paepckehh
Copy link
Contributor Author

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269042

fixed via revert 5205908

Thank you!

@paepckehh paepckehh closed this Jan 21, 2023
@paepckehh paepckehh deleted the ifconfig_perm_fail branch March 5, 2023 17:06
@paepckehh paepckehh restored the ifconfig_perm_fail branch March 5, 2023 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants