lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 13 May 2024 12:05:25 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Stephen Langstaff <stephenlangstaff1@...il.com>,
 Andrew Lunn <andrew@...n.ch>
Cc: linux-kernel@...r.kernel.org, OlteanV@...il.com
Subject: Re: drivers/net/dsa/dsa_loop_bdinfo.c build problems

On 5/13/24 11:55, Stephen Langstaff wrote:
> 
> OK, just confirmed that dsa_loop_bdinfo.c is not compiled to either a .o 
> or a .ko file when using the unmodified Makefiles.

Attached is a configuration that I use on a x86-64 VM for testing that 
is started with:

qemu-system-x86_64 \
         -s \
         -cpu "max" \
         -smp 4 \
         -kernel ~/dev/linux/arch/x86/boot/bzImage \
         -device pci-bridge,id=pci_bridge1,bus=pci.0,chassis_nr=1 \
         -drive 
file=debian.img,if=none,id=drive-virtio-disk0,format=qcow2 -device 
virtio-blk-pci,scsi=off,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 
\
         -nographic \
         -append "root=/dev/vda1 console=ttyS0,115200 mitigations=off" \
         -net nic,model=e1000 -net tap,ifname=tap0

..

ip link set dev enp0s3 name eth0
modprobe dsa_loop_bdinfo
modprobe dsa_loop

ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default qlen 1000
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode 
DEFAULT group default qlen 1000
     link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff
     altname enp0s3
3: lan1@...0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state 
DOWN mode DEFAULT group default qlen 1000
     link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff
4: lan2@...0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state 
DOWN mode DEFAULT group default qlen 1000
     link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff
5: lan3@...0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state 
DOWN mode DEFAULT group default qlen 1000
     link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff
6: lan4@...0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state 
DOWN mode DEFAULT group default qlen 1000
     link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff
-- 
Florian

View attachment "x86-64_dsa.config" of type "text/plain" (5197 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ