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-prev] [day] [month] [year] [list]
Message-ID: <430001ad-bc25-d4be-6013-673c14e87dba@xenosoft.de>
Date:   Tue, 3 Jan 2023 05:03:14 +0100
From:   Christian Zigotzky <chzigotzky@...osoft.de>
To:     Sean Anderson <seanga2@...il.com>,
        Madalin Bucur <madalin.bucur@....com>,
        "David S. Miller" <davem@...emloft.net>
Cc:     darren@...vens-zone.net, info@...osoft.de,
        linuxppc-dev@...ts.ozlabs.org, madskateman@...il.com,
        matthew@...on.biz, rtd2@...a.co.nz, sean.anderson@...o.com,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        Eric Dumazet <edumazet@...gle.com>,
        Jakub Kicinski <kuba@...nel.org>,
        Paolo Abeni <pabeni@...hat.com>
Subject: Re: [FSL P50x0] DPAA Ethernet issue

On 02 January 2023 at 04:32 am, Christian Zigotzky wrote:
> On 01 January 2023 at 07:11 pm, Sean Anderson wrote:
>
> Thank you for testing this. Unfortunately, I have no P-series hardware,
> so I was unable to test the 10gec/dtsec parts of this conversion. I had
> hoped that this would get tested by someone with the hardware (at NXP)
> before now, but it seems you get to be the "lucky" first user.
>
> I see you have labeled one of your kernels as supporting QEMU.  Do you
> happen to have instructions for running Linux on QEMU?
>
> Can you try the following patch. I think my mail client will mangle 
> it,  so I have also attached it to this email.
>
> ------------
>
> Hi Sean,
>
> Thanks a lot for your answer.
>
> I use the virtio-net device in a virtual e5500 QEMU/KVM HV machine. 
> [1] [2]
>
> I will test your patch as soon as possible.
>
> Thanks,
> Christian
>
> [1] QEMU command: qemu-system-ppc64 -M ppce500 -cpu e5500 -m 1024 
> -kernel uImage-6.2 -drive 
> format=raw,file=void-live-powerpc-20220129.img,index=0,if=virtio 
> -netdev user,id=mynet0 -device virtio-net,netdev=mynet0 -append "rw 
> root=/dev/vda2" -device virtio-gpu -device virtio-mouse-pci -device 
> virtio-keyboard-pci -device pci-ohci,id=newusb -audiodev 
> id=sndbe,driver=pa,server=/run/user/1000/pulse/native -device 
> usb-audio,bus=newusb.0 -enable-kvm -smp 4 -fsdev 
> local,security_model=passthrough,id=fsdev0,path=/home/amigaone/Music 
> -device virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=hostshare
>
> [2] https://forum.hyperion-entertainment.com/viewtopic.php?p=46749

Hi Sean,

I tested your patch with the RC2 today but unfortunately the kernel 
doesn't link after compiling.

Error messages:

   LD      .tmp_vmlinux.kallsyms1
`.exit.text' referenced in section `__bug_table' of crypto/algboss.o: 
defined in discarded section `.exit.text' of crypto/algboss.o
`.exit.text' referenced in section `__bug_table' of crypto/algif_hash.o: 
defined in discarded section `.exit.text' of crypto/algif_hash.o
`.exit.text' referenced in section `__bug_table' of 
drivers/char/hw_random/core.o: defined in discarded section `.exit.text' 
of drivers/char/hw_random/core.o
make[1]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1
make: *** [Makefile:1252: vmlinux] Error 2

Maybe it is not an issue because of the patch because the RC1 compilied 
and linked with the patch.

@Dave
Please test the RC1 with Sean's patch.

Download: http://www.xenosoft.de/uImage-6.2-dpaa-t1

sudo dmesg | grep -i dpaa

[    3.017121] fsl_dpaa_mac ffe4e8000.ethernet: FMan dTSEC version: 
0x08240101
[    3.017256] fsl_dpaa_mac ffe4e8000.ethernet: FMan MAC address: 
00:04:a3:6b:41:65
[    3.017534] fsl_dpaa_mac ffe4f0000.ethernet: 
of_get_mac_address(/soc@...000000/fman@...000/ethernet@...00) failed
[    3.017745] fsl_dpaa_mac ffe4f0000.ethernet: of_get_phy_mode() for 
/soc@...000000/fman@...000/ethernet@...00 failed. Defaulting to SGMII
[    3.017975] fsl_dpaa_mac: FMan XGEC version: 0x00010330
[    3.018293] fsl_dpaa_mac ffe5e8000.ethernet: FMan dTSEC version: 
0x08240101
[    3.018413] fsl_dpaa_mac ffe5e8000.ethernet: FMan MAC address: 
00:1e:c0:f8:01:59
[    3.018656] fsl_dpaa_mac ffe5f0000.ethernet: 
of_get_mac_address(/soc@...000000/fman@...000/ethernet@...00) failed
[    3.018871] fsl_dpaa_mac ffe5f0000.ethernet: of_get_phy_mode() for 
/soc@...000000/fman@...000/ethernet@...00 failed. Defaulting to SGMII
[    3.019099] fsl_dpaa_mac: FMan XGEC version: 0x00010330
[    3.021559] fsl_dpaa_mac ffe4e8000.ethernet eth0: Probed interface eth0
[    3.023358] fsl_dpaa_mac ffe4f0000.ethernet: Using random MAC 
address: 5e:d0:6f:2b:29:35
[    3.024041] fsl_dpaa_mac ffe4f0000.ethernet eth1: Probed interface eth1
[    3.026381] fsl_dpaa_mac ffe5e8000.ethernet eth2: Probed interface eth2
[    3.028199] fsl_dpaa_mac ffe5f0000.ethernet: Using random MAC 
address: c2:ec:b7:35:67:37
[    3.028878] fsl_dpaa_mac ffe5f0000.ethernet eth3: Probed interface eth3
[    7.543868] fsl_dpaa_mac ffe4e8000.ethernet eth0: PHY 
[mdio@...4e1120:03] driver [Generic PHY] (irq=POLL)
[    7.549774] fsl_dpaa_mac ffe4e8000.ethernet eth0: configuring for 
phy/rgmii link mode
[    7.583166] fsl_dpaa_mac ffe5e8000.ethernet eth2: PHY 
[mdio@...4e1120:07] driver [Generic PHY] (irq=POLL)
[    7.589079] fsl_dpaa_mac ffe5e8000.ethernet eth2: configuring for 
phy/rgmii link mode

Cheers,
Christian

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ