NetBSD-Bugs archive

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

Re: PR/59486 CVS commit: src/sys/compat/linux/common



The following reply was made to PR kern/59486; it has been noted by GNATS.

From: mc36 <csmate%nop.hu@localhost>
To: gnats-bugs%netbsd.org@localhost, kern-bug-people%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, mc36%freemail.hu@localhost,
 Christos Zoulas <christos%netbsd.org@localhost>
Cc: 
Subject: Re: PR/59486 CVS commit: src/sys/compat/linux/common
Date: Sat, 28 Jun 2025 21:38:13 +0200

 hi team, christos,
 
 thank you so much, this time everything seems fine! (also thanks for the comment
 
 on the getsockopts return code...:) so after  cvs checkout -P src/sys/compat/linux
 
 and placing it to a fresh 10.1 tree, building it and feeding the module to my cache,
 
 building the final image with https://github.com/mc36/freeRtr/blob/master/misc/image/image.nbsd
 
 resulted in a working router! even i could activated a fastpath if i wanted.... :)
 
 have a nice day,
 
 csaba
 
 
 
 21368856+784744+1312408 [944186+1401072+1026750]=0x1b37ee8
 Loading /stand/amd64/10.1/modules/cd9660/cd9660.kmod
 [   1.0000000] cpu_rng: rdrand/rdseed
 [   1.0000000] entropy: ready
 [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
 [   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
 [   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
 [   1.0000000]     2024
 [   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
 [   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [   1.0000000]     The Regents of the University of California.  All rights reserved.
 
 [   1.0000000] NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024
 [   1.0000000]  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC
 [   1.0000000] total memory = 1023 MB
 [   1.0000000] avail memory = 962 MB
 [   1.0000000] WARNING: module error: module `cd9660' pushed by boot loader already exists
 [   1.0000040] mainbus0 (root)
 [   1.0000040] ACPI: RSDP 0x00000000000F52B0 000014 (v00 BOCHS )
 [   1.0000040] ACPI: RSDT 0x000000003FFE2390 000034 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
 [   1.0000040] ACPI: FACP 0x000000003FFE223C 000074 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
 [   1.0000040] ACPI: DSDT 0x000000003FFE0040 0021FC (v01 BOCHS  BXPC     00000001 BXPC 00000001)
 [   1.0000040] ACPI: FACS 0x000000003FFE0000 000040
 [   1.0000040] ACPI: APIC 0x000000003FFE22B0 000080 (v03 BOCHS  BXPC     00000001 BXPC 00000001)
 [   1.0000040] ACPI: HPET 0x000000003FFE2330 000038 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
 [   1.0000040] ACPI: WAET 0x000000003FFE2368 000028 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
 [   1.0000040] ACPI: 1 ACPI AML tables successfully acquired and loaded
 [   1.0000040] ioapic0 at mainbus0 apid 0
 [   1.0000040] cpu0 at mainbus0 apid 0
 [   1.0000040] cpu0: 13th Gen Intel(R) Core(TM) i7-1365U, id 0xb06a3
 [   1.0000040] cpu0: node 0, package 0, core 0, smt 0
 [   1.0000040] cpu1 at mainbus0 apid 1
 [   1.0000040] cpu1: 13th Gen Intel(R) Core(TM) i7-1365U, id 0xb06a3
 [   1.0000040] cpu1: node 0, package 0, core 1, smt 0
 [   1.0000040] acpi0 at mainbus0: Intel ACPICA 20221020
 [   1.0000040] acpi0: fixed power button present
 [   1.0240950] hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
 [   1.0247976] qemufwcfg0 at acpi0 (FWCF, QEMU0002): io 0x510-0x51b
 [   1.0247976] pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
 [   1.0247976] pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
 [   1.0247976] fdc0 at acpi0 (FDC0, PNP0700): io 0x3f2-0x3f5,0x3f7 irq 6 drq 2
 [   1.0247976] lpt0 at acpi0 (LPT1, PNP0400-1): io 0x378-0x37f irq 7
 [   1.0247976] com0 at acpi0 (COM1, PNP0501-1): io 0x3f8-0x3ff irq 4
 [   1.0247976] com0: ns16550a, 16-byte FIFO
 [   1.0247976] com0: console
 [   1.0247976] ACPI: Enabled 2 GPEs in block 00 to 0F
 [   1.0247976] pckbd0 at pckbc1 (kbd slot)
 [   1.0247976] pckbc1: using irq 1 for kbd slot
 [   1.0247976] wskbd0 at pckbd0 mux 1
 [   1.0247976] pms0 at pckbc1 (aux slot)
 [   1.0247976] pckbc1: using irq 12 for aux slot
 [   1.0247976] wsmouse0 at pms0 mux 0
 [   1.0247976] pci0 at mainbus0 bus 0: configuration mode 1
 [   1.0247976] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02)
 [   1.0247976] pcib0 at pci0 dev 1 function 0: Intel 82371SB (PIIX3) PCI-ISA Bridge (rev. 0x00)
 [   1.0247976] piixide0 at pci0 dev 1 function 1: Intel 82371SB IDE Interface (PIIX3) (rev. 0x00)
 [   1.0247976] piixide0: primary channel interrupting at ioapic0 pin 14
 [   1.0247976] atabus0 at piixide0 channel 0
 [   1.0247976] piixide0: secondary channel interrupting at ioapic0 pin 15
 [   1.0247976] atabus1 at piixide0 channel 1
 [   1.0247976] piixpm0 at pci0 dev 1 function 3: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x03)
 [   1.0247976] piixpm0: 24-bit timer
 [   1.0247976] piixpm0: interrupting at ioapic0 pin 9
 [   1.0247976] iic0 at piixpm0 port 0: I2C bus
 [   1.0247976] vga0 at pci0 dev 2 function 0: vendor 1234 product 1111 (rev. 0x02)
 [   1.0247976] wsdisplay0 at vga0 kbdmux 1
 [   1.0247976] drm at vga0 not configured
 [   1.0247976] virtio0 at pci0 dev 3 function 0
 [   1.0247976] virtio0: network device (id 1, rev. 0x00)
 [   1.0247976] vioif0 at virtio0: features: 0x31870020<EVENT_IDX,INDIRECT_DESC,NOTIFY_ON_EMPTY,CTRL_MAC,CTRL_RX,CTRL_VQ,STATUS,MAC>
 [   1.0247976] vioif0: Ethernet address 52:54:00:12:34:56
 [   1.0247976] virtio0: config interrupting at msix0 vec 0
 [   1.0247976] virtio0: queues interrupting at msix0 vec 1
 [   1.0247976] isa0 at pcib0
 [   1.0247976] attimer0 at isa0 port 0x40-0x43
 [   1.0247976] pcppi0 at isa0 port 0x61
 [   1.0247976] spkr0 at pcppi0: PC Speaker
 [   1.0247976] wsbell at spkr0 not configured
 [   1.0247976] midi0 at pcppi0: PC speaker
 [   1.0247976] sysbeep0 at pcppi0
 [   1.0247976] attimer0: attached to pcppi0
 [   1.0247976] acpicpu0 at cpu0: ACPI CPU
 [   1.0247976] vmt0 at cpu0
 [   1.0247976] vmware: open failed, eax=0xffffffff, ecx=0x1e, edx=0x5658
 [   1.0247976] vmt0: failed to open backdoor RPC channel (TCLO protocol)
 [   1.0247976] acpicpu1 at cpu1: ACPI CPU
 [   1.0247976] fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
 [   4.9403920] atapibus0 at atabus1: 2 targets
 [   4.9503506] cd0 at atapibus0 drive 0: <QEMU DVD-ROM, QM00003, 2.5+> cdrom removable
 [   4.9503506] swwdog0: software watchdog initialized
 [   4.9503506] WARNING: 1 error while detecting hardware; check system log.
 [   4.9603453] boot device: cd0
 [   4.9603453] root on cd0a dumps on cd0b
 [   4.9821829] root file system type: cd9660
 [   4.9821829] kern.module.path=/stand/amd64/10.1/modules
 Created tmpfs /dev (1835008 byte, 3552 inodes)
 % detecting hardware
 % iface=1 line=1 cross=0 tuntap=0 mem=384m
 error cfgInit.stopRouter:cfgInit.java:1644 shutdown code=18 reason=finished
 % redetecting hardware
 % detected=1 needed=1 changed=0
 error cfgInit.stopRouter:cfgInit.java:1644 shutdown code=18 reason=finished
 starting interfaces.
 starting lines.
 starting main.
                                                                                                              dropped privs to _tcpdump
                                                                                                                                       tcpdump: /dev/stdout: Read-only file system
 
 
    ####                       ##################
   ##                                  ##
   ##  ## ###   #####   #####  ## ###  ## ## ###
 ####  ### ## ##   ## ##   ##  ### ## ##  ### ##
   ##   ##  ## ####### #######  ##  ## ##  ##  ##
   ##   ##     ##      ##       ##     ##  ##
   ##   ##     ##   ## ##   ##  ##     ##  ##
   ##   ##      #####   #####   ##     ##  ##
 
 freeRouter v25.6.28-cur, done by sprscc13@mrn0b0dy.
 
 place on the web: http://www.freertr.org/
 license: http://creativecommons.org/licenses/by-sa/4.0/
 the beer-ware license for selected group of people:
 sprscc13@mrn0b0dy wrote these files. as long as you retain this notice you
 can do whatever you want with this stuff. if we meet some day, and
 you think this stuff is worth it, you can buy me a beer in return
 
 info cfgInit.doInit:cfgInit.java:1423 applying defaults
 info cfgInit.doInit:cfgInit.java:1450 applying configuration
 info cfgInit.doInit:cfgInit.java:1487 boot completed
 welcome
 line ready
 yourname#
 yourname#
 yourname#
 yourname#
 yourname#
 yourname#configure
 warning userLine.doCommands:userLine.java:362 <nobody> configuring from tty1
 yourname(cfg)#interface ethernet1
 yourname(cfg-if)#vrf forwarding host
 yourname(cfg-if)#ipv4 address 10.0.2.222 255.255.255.0
 yourname(cfg-if)#end
 warning userLine.doCommands:userLine.java:392 <nobody> configured from tty1
 yourname#ping 10.0.2.2 vrf host
 pinging 10.0.2.2, src=null, vrf=host, via=null, cnt=5, len=64, df=false, tim=1000, gap=0, ttl=255, tos=0, sgt=0, flow=0, fill=0, alrt=-1, sweep=false, multi=false
 .!!!!
 result=80.0%, recv/sent/lost/err=4/5/1/0, took 1032, min/avg/max/dev rtt=0/2.2/7/7.6, ttl 255/255/255/0.0, tos 0/0.0/0/0.0
 yourname#
 yourname#
 yourname#
 
 
 
 On 6/28/25 20:50, Christos Zoulas wrote:
 > The following reply was made to PR kern/59486; it has been noted by GNATS.
 > 
 > From: "Christos Zoulas" <christos%netbsd.org@localhost>
 > To: gnats-bugs%gnats.NetBSD.org@localhost
 > Cc:
 > Subject: PR/59486 CVS commit: src/sys/compat/linux/common
 > Date: Sat, 28 Jun 2025 14:47:37 -0400
 > 
 >   Module Name: src
 >   Committed By: christos
 >   Date:  Sat Jun 28 18:47:36 UTC 2025
 >   
 >   Modified Files:
 >    src/sys/compat/linux/common: linux_socket.c linux_socket.h
 >   
 >   Log Message:
 >   PR/59486: csaba mate: Ignore IP_MULTICAST_ALL, since we don't have it.
 >   Also, add -3 to return ENOPROTOOPT, more options and consistently whitespace
 >   after define (the majority had define<space> so make them all the samr)
 >   
 >   
 >   To generate a diff of this commit:
 >   cvs rdiff -u -r1.157 -r1.158 src/sys/compat/linux/common/linux_socket.c
 >   cvs rdiff -u -r1.26 -r1.27 src/sys/compat/linux/common/linux_socket.h
 >   
 >   Please note that diffs are not public domain; they are subject to the
 >   copyright notices on the relevant files.
 >   
 


Home | Main Index | Thread Index | Old Index