[Kernel-packages] [Bug 2008085] Re: net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG: unable to handle page fault)

2023-05-17 Thread Jian Hui Lee
version 5.15.0-1030.35~20.04.1 passes the regression test.

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-intel-iotg in Ubuntu.
https://bugs.launchpad.net/bugs/2008085

Title:
  net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG:
  unable to handle page fault)

Status in HWE Next:
  Invalid
Status in ubuntu-kernel-tests:
  New
Status in linux-intel-iotg package in Ubuntu:
  Invalid
Status in linux-intel-iotg source package in Jammy:
  Fix Released

Bug description:
  Issue found on node "onibi" with J-intel-iotg 5.15.0-1026.31 this
  cycle.

  The veth.sh test in net category will hang and timeout, causing test
  report incomplete.

  I can see some traces in dmesg with manual test.

  
ubuntu@onibi:~/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net$
 sudo ./veth.sh
  default - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregationok
  - aggregation with TSO off   ok
  with gro on - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  default channels ok
  with gro enabled on link down - gro flag ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  setting tx channels  ok
  setting both rx and tx channels  ok
  bad setting: combined channels   ok
  setting invalid channels nr  fail rx:3:3 
tx:3:5 combined:n/a:n/a
  bad setting: XDP with RX nr less than TX ok
  (hangs here)

  dmesg output:
  [  547.520923] BUG: unable to handle page fault for address: b7380001
  [  547.520999] #PF: supervisor write access in kernel mode
  [  547.521045] #PF: error_code(0x0002) - not-present page
  [  547.521089] PGD 10067 P4D 10067 PUD 0
  [  547.521133] Oops: 0002 [#1] SMP PTI
  [  547.521168] CPU: 1 PID: 1559 Comm: ip Not tainted 5.15.0-1026-intel-iotg 
#31-Ubuntu
  [  547.521233] Hardware name: Dell Inc. PowerEdge R310/05XKKK, BIOS 1.8.2 
08/17/2011
  [  547.521293] RIP: 0010:veth_xdp+0x18f/0x1e0 [veth]
  [  547.521342] Code: ff 41 89 9d 1c 01 00 00 49 21 85 e8 00 00 00 e9 74 ff ff 
ff 48 c7 c7 80 e3 b0 c0 e8 2b 3b 06 c1 b8 e4 ff ff ff 4d 85 ff 74 85 <49> c7 07 
80 e3 b0 c0 e9 79 ff ff ff 48 c7 c7 20 e4 b0 c0 e8 09 3b
  [  547.521488] RSP: 0018:b738c254f420 EFLAGS: 00010282
  [  547.521535] RAX: ffe4 RBX: 0db2 RCX: 
b738c254fb20
  [  547.521594] RDX: c0b0bf90 RSI: b738c254f468 RDI: 
c0b0e380
  [  547.521653] RBP: b738c254f450 R08: 0001 R09: 
b738c0081000
  [  547.521711] R10:  R11:  R12: 
8c65ced9
  [  547.521769] R13: 8c65c12f6000 R14:  R15: 
b7380001
  [  547.521828] FS:  7faa028b3b80() GS:8c66f764() 
knlGS:
  [  547.521895] CS:  0010 DS:  ES:  CR0: 80050033
  [  547.521943] CR2: b7380001 CR3: 00010f068000 CR4: 
06e0
  [  547.522004] Call Trace:
  [  547.522029]  
  [  547.522052]  ? veth_open+0x90/0x90 [veth]
  [  547.522094]  dev_xdp_install+0x66/0xf0
  [  547.522135]  dev_xdp_attach+0x1fc/0x590
  [  547.522171]  ? __bpf_prog_get+0x1f/0xe0
  [  547.522212]  dev_change_xdp_fd+0x200/0x240
  [  547.522252]  do_setlink+0xba2/0xc70
  [  547.522288]  ? dev_get_alias+0x35/0x50
  [  547.522326]  __rtnl_newlink+0x61e/0xa20
  [  547.522363]  ? security_sock_rcv_skb+0x2f/0x50
  [  547.522406]  ? skb_queue_tail+0x48/0x60
  [  547.522444]  ? sock_def_readable+0x4b/0x80
  [  547.522485]  ? __netlink_sendskb+0x62/0x80
  [  547.522528]  ? netlink_unicast+0x2fb/0x340
  [  547.522566]  ? rtnl_getlink+0x398/0x420
  [  547.522611]  ? kmem_cache_alloc_trace+0x17e/0x2a0
  [  547.522657]  rtnl_newlink+0x49/0x70
  [  547.522692]  rtnetlink_rcv_msg+0x15d/0x400
  [  547.522731]  ? rtnl_calcit.isra.0+0x130/0x130
  [  547.524524]  netlink_rcv_skb+0x56/0x100
  [  547.526314]  rtnetlink_rcv+0x15/0x20
  [  547.528102]  netlink_unicast+0x223/0x340
  [  

[Kernel-packages] [Bug 2008085] Re: net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG: unable to handle page fault)

2023-05-06 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-intel-
iotg-5.15/5.15.0-1029.34~20.04.1 kernel in -proposed solves the problem.
Please test the kernel and update this bug with the results. If the
problem is solved, change the tag 'verification-needed-focal' to
'verification-done-focal'. If the problem still exists, change the tag
'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-focal-linux-intel-iotg-5.15 
verification-needed-focal

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-intel-iotg in Ubuntu.
https://bugs.launchpad.net/bugs/2008085

Title:
  net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG:
  unable to handle page fault)

Status in HWE Next:
  Invalid
Status in ubuntu-kernel-tests:
  New
Status in linux-intel-iotg package in Ubuntu:
  Invalid
Status in linux-intel-iotg source package in Jammy:
  Fix Released

Bug description:
  Issue found on node "onibi" with J-intel-iotg 5.15.0-1026.31 this
  cycle.

  The veth.sh test in net category will hang and timeout, causing test
  report incomplete.

  I can see some traces in dmesg with manual test.

  
ubuntu@onibi:~/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net$
 sudo ./veth.sh
  default - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregationok
  - aggregation with TSO off   ok
  with gro on - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  default channels ok
  with gro enabled on link down - gro flag ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  setting tx channels  ok
  setting both rx and tx channels  ok
  bad setting: combined channels   ok
  setting invalid channels nr  fail rx:3:3 
tx:3:5 combined:n/a:n/a
  bad setting: XDP with RX nr less than TX ok
  (hangs here)

  dmesg output:
  [  547.520923] BUG: unable to handle page fault for address: b7380001
  [  547.520999] #PF: supervisor write access in kernel mode
  [  547.521045] #PF: error_code(0x0002) - not-present page
  [  547.521089] PGD 10067 P4D 10067 PUD 0
  [  547.521133] Oops: 0002 [#1] SMP PTI
  [  547.521168] CPU: 1 PID: 1559 Comm: ip Not tainted 5.15.0-1026-intel-iotg 
#31-Ubuntu
  [  547.521233] Hardware name: Dell Inc. PowerEdge R310/05XKKK, BIOS 1.8.2 
08/17/2011
  [  547.521293] RIP: 0010:veth_xdp+0x18f/0x1e0 [veth]
  [  547.521342] Code: ff 41 89 9d 1c 01 00 00 49 21 85 e8 00 00 00 e9 74 ff ff 
ff 48 c7 c7 80 e3 b0 c0 e8 2b 3b 06 c1 b8 e4 ff ff ff 4d 85 ff 74 85 <49> c7 07 
80 e3 b0 c0 e9 79 ff ff ff 48 c7 c7 20 e4 b0 c0 e8 09 3b
  [  547.521488] RSP: 0018:b738c254f420 EFLAGS: 00010282
  [  547.521535] RAX: ffe4 RBX: 0db2 RCX: 
b738c254fb20
  [  547.521594] RDX: c0b0bf90 RSI: b738c254f468 RDI: 
c0b0e380
  [  547.521653] RBP: b738c254f450 R08: 0001 R09: 
b738c0081000
  [  547.521711] R10:  R11:  R12: 
8c65ced9
  [  547.521769] R13: 8c65c12f6000 R14:  R15: 
b7380001
  [  547.521828] FS:  7faa028b3b80() GS:8c66f764() 
knlGS:
  [  547.521895] CS:  0010 DS:  ES:  CR0: 80050033
  [  547.521943] CR2: b7380001 CR3: 00010f068000 CR4: 
06e0
  [  547.522004] Call Trace:
  [  547.522029]  
  [  547.522052]  ? veth_open+0x90/0x90 [veth]
  [  547.522094]  dev_xdp_install+0x66/0xf0
  [  547.522135]  dev_xdp_attach+0x1fc/0x590
  [  547.522171]  ? __bpf_prog_get+0x1f/0xe0
  [  547.522212]  dev_change_xdp_fd+0x200/0x240
  [  547.522252]  do_setlink+0xba2/0xc70
  [  547.522288]  ? dev_get_alias+0x35/0x50
  [  547.522326]  __rtnl_newlink+0x61e/0xa20
  [  547.522363]  ? 

[Kernel-packages] [Bug 2008085] Re: net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG: unable to handle page fault)

2023-05-04 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-intel-iotg - 5.15.0-1028.33

---
linux-intel-iotg (5.15.0-1028.33) jammy; urgency=medium

  * jammy/linux-intel-iotg: 5.15.0-1028.33 -proposed tracker (LP:
#2011906)

  * Fail to output sound to external monitor which connects via docking station
(LP: #2009024)
- [Config] Enable CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM

  * [adl-n][rpl] support intel power capping framework (LP: #2013032)
- powercap: RAPL: Add Power Limit4 support for RaptorLake
- powercap: RAPL: Add Power Limit4 support for Alder Lake-N and Raptor 
Lake-P
- powercap: intel_rapl: add support for ALDERLAKE_N

  * [ADL-PS] Audio is malfunction (LP: #2012584)
- ASoC: SOF: Intel: pci-tgl: add ADL-PS support
- ASoC: Intel: soc-acpi: Add entry for rt711-sdca-sdw in ADL match table

  * net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG: unable
to handle page fault) (LP: #2008085)
- Revert "rtnetlink: Add return value check"
- Revert "rtnetlink: Fix unchecked return value of dev_xdp_query_md_btf()"
- Revert "igc: Enable HW RX Timestamp for AF_XDP ZC"
- Revert "igc: Add BTF based metadata for XDP"
- Revert "net/core: XDP metadata BTF netlink API"

  * Bluetooth: btusb: Add module firmware information for MT7622 and MT7961
(LP: #2011520)
- SAUCE: (no-up) Bluetooth: btusb: Add module firmware information for 
MT7622
  and MT7961

  [ Ubuntu: 5.15.0-70.77 ]

  * jammy/linux: 5.15.0-70.77 -proposed tracker (LP: #2011918)
  * CVE-2023-26545
- net: mpls: fix stale pointer if allocation fails during device rename
  * CVE-2023-1281
- net/sched: tcindex: update imperfect hash filters respecting rcu
  * [SRU][Ubuntu 22.04.1] mpi3mr: Add management application interface(BSG)
support (LP: #1971151)
- scsi: mpi3mr: Add bsg device support
- scsi: mpi3mr: Add support for driver commands
- scsi: mpi3mr: Move data structures/definitions from MPI headers to uapi
  header
- scsi: mpi3mr: Add support for MPT commands
- scsi: mpi3mr: Add support for PEL commands
- scsi: mpi3mr: Expose adapter state to sysfs
- scsi: mpi3mr: Add support for NVMe passthrough
- scsi: mpi3mr: Update driver version to 8.0.0.69.0
- scsi: mpi3mr: Increase I/O timeout value to 60s
- scsi: mpi3mr: Hidden drives not removed during soft reset
- scsi: mpi3mr: Return I/Os to an unrecoverable HBA with DID_ERROR
- scsi: mpi3mr: Fix a NULL vs IS_ERR() bug in mpi3mr_bsg_init()
- scsi: mpi3mr: Return error if dma_alloc_coherent() fails
- scsi: mpi3mr: Add shost related sysfs attributes
- scsi: mpi3mr: Add target device related sysfs attributes
- scsi: mpi3mr: Rework mrioc->bsg_device model to fix warnings
- scsi: mpi3mr: Fix kernel-doc
  * cpufreq: intel_pstate: Update Balance performance EPP for Sapphire Rapids
(LP: #2008519)
- cpufreq: intel_pstate: Update EPP for AlderLake mobile
- cpufreq: intel_pstate: Adjust balance_performance EPP for Sapphire Rapids
  * Fail to output sound to external monitor which connects via docking station
(LP: #2009024)
- [Config] Enable CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM
  * Fix mediatek wifi driver crash when loading wrong SAR table (LP: #2009118)
- wifi: mt76: mt7921: fix error code of return in mt7921_acpi_read
  * Jammy update: v5.15.92 upstream stable release (LP: #2011472)
- ARM: dts: imx: Fix pca9547 i2c-mux node name
- ARM: dts: vf610: Fix pca9548 i2c-mux node names
- arm64: dts: freescale: Fix pca954x i2c-mux node names
- arm64: dts: imx8mq-thor96: fix no-mmc property for SDHCI
- firmware: arm_scmi: Clear stale xfer->hdr.status
- bpf: Skip task with pid=1 in send_signal_common()
- erofs/zmap.c: Fix incorrect offset calculation
- blk-cgroup: fix missing pd_online_fn() while activating policy
- HID: playstation: sanity check DualSense calibration data.
- dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init
- cifs: fix return of uninitialized rc in dfs_cache_update_tgthint()
- extcon: usbc-tusb320: fix kernel-doc warning
- Bluetooth: fix null ptr deref on hci_sync_conn_complete_evt
- tools: fix ARRAY_SIZE defines in tools and selftests hdrs
- selftests/vm: remove ARRAY_SIZE define from individual tests
- selftests: Provide local define of __cpuid_count()
- net: fix NULL pointer in skb_segment_list
- net: mctp: purge receive queues on sk destruction
- Linux 5.15.92
  * Jammy update: v5.15.91 upstream stable release (LP: #2011467)
- memory: tegra: Remove clients SID override programming
- memory: atmel-sdramc: Fix missing clk_disable_unprepare in
  atmel_ramc_probe()
- memory: mvebu-devbus: Fix missing clk_disable_unprepare in
  mvebu_devbus_probe()
- dmaengine: ti: k3-udma: Do conditional decrement of
  UDMA_CHAN_RT_PEER_BCNT_REG
- arm64: dts: imx8mp-phycore-som: Remove invalid PMIC property
- ARM: 

[Kernel-packages] [Bug 2008085] Re: net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG: unable to handle page fault)

2023-05-02 Thread Jian Hui Lee
** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-intel-iotg in Ubuntu.
https://bugs.launchpad.net/bugs/2008085

Title:
  net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG:
  unable to handle page fault)

Status in HWE Next:
  Invalid
Status in ubuntu-kernel-tests:
  New
Status in linux-intel-iotg package in Ubuntu:
  Invalid
Status in linux-intel-iotg source package in Jammy:
  In Progress

Bug description:
  Issue found on node "onibi" with J-intel-iotg 5.15.0-1026.31 this
  cycle.

  The veth.sh test in net category will hang and timeout, causing test
  report incomplete.

  I can see some traces in dmesg with manual test.

  
ubuntu@onibi:~/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net$
 sudo ./veth.sh
  default - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregationok
  - aggregation with TSO off   ok
  with gro on - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  default channels ok
  with gro enabled on link down - gro flag ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  setting tx channels  ok
  setting both rx and tx channels  ok
  bad setting: combined channels   ok
  setting invalid channels nr  fail rx:3:3 
tx:3:5 combined:n/a:n/a
  bad setting: XDP with RX nr less than TX ok
  (hangs here)

  dmesg output:
  [  547.520923] BUG: unable to handle page fault for address: b7380001
  [  547.520999] #PF: supervisor write access in kernel mode
  [  547.521045] #PF: error_code(0x0002) - not-present page
  [  547.521089] PGD 10067 P4D 10067 PUD 0
  [  547.521133] Oops: 0002 [#1] SMP PTI
  [  547.521168] CPU: 1 PID: 1559 Comm: ip Not tainted 5.15.0-1026-intel-iotg 
#31-Ubuntu
  [  547.521233] Hardware name: Dell Inc. PowerEdge R310/05XKKK, BIOS 1.8.2 
08/17/2011
  [  547.521293] RIP: 0010:veth_xdp+0x18f/0x1e0 [veth]
  [  547.521342] Code: ff 41 89 9d 1c 01 00 00 49 21 85 e8 00 00 00 e9 74 ff ff 
ff 48 c7 c7 80 e3 b0 c0 e8 2b 3b 06 c1 b8 e4 ff ff ff 4d 85 ff 74 85 <49> c7 07 
80 e3 b0 c0 e9 79 ff ff ff 48 c7 c7 20 e4 b0 c0 e8 09 3b
  [  547.521488] RSP: 0018:b738c254f420 EFLAGS: 00010282
  [  547.521535] RAX: ffe4 RBX: 0db2 RCX: 
b738c254fb20
  [  547.521594] RDX: c0b0bf90 RSI: b738c254f468 RDI: 
c0b0e380
  [  547.521653] RBP: b738c254f450 R08: 0001 R09: 
b738c0081000
  [  547.521711] R10:  R11:  R12: 
8c65ced9
  [  547.521769] R13: 8c65c12f6000 R14:  R15: 
b7380001
  [  547.521828] FS:  7faa028b3b80() GS:8c66f764() 
knlGS:
  [  547.521895] CS:  0010 DS:  ES:  CR0: 80050033
  [  547.521943] CR2: b7380001 CR3: 00010f068000 CR4: 
06e0
  [  547.522004] Call Trace:
  [  547.522029]  
  [  547.522052]  ? veth_open+0x90/0x90 [veth]
  [  547.522094]  dev_xdp_install+0x66/0xf0
  [  547.522135]  dev_xdp_attach+0x1fc/0x590
  [  547.522171]  ? __bpf_prog_get+0x1f/0xe0
  [  547.522212]  dev_change_xdp_fd+0x200/0x240
  [  547.522252]  do_setlink+0xba2/0xc70
  [  547.522288]  ? dev_get_alias+0x35/0x50
  [  547.522326]  __rtnl_newlink+0x61e/0xa20
  [  547.522363]  ? security_sock_rcv_skb+0x2f/0x50
  [  547.522406]  ? skb_queue_tail+0x48/0x60
  [  547.522444]  ? sock_def_readable+0x4b/0x80
  [  547.522485]  ? __netlink_sendskb+0x62/0x80
  [  547.522528]  ? netlink_unicast+0x2fb/0x340
  [  547.522566]  ? rtnl_getlink+0x398/0x420
  [  547.522611]  ? kmem_cache_alloc_trace+0x17e/0x2a0
  [  547.522657]  rtnl_newlink+0x49/0x70
  [  547.522692]  rtnetlink_rcv_msg+0x15d/0x400
  [  547.522731]  ? rtnl_calcit.isra.0+0x130/0x130
  [  547.524524]  netlink_rcv_skb+0x56/0x100
  [  547.526314]  rtnetlink_rcv+0x15/0x20
  [  547.528102]  netlink_unicast+0x223/0x340
  [  547.529837]  netlink_sendmsg+0x24b/0x4c0
  [  547.531505]  

[Kernel-packages] [Bug 2008085] Re: net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG: unable to handle page fault)

2023-04-13 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-intel-
iotg/5.15.0-1028.33 kernel in -proposed solves the problem. Please test
the kernel and update this bug with the results. If the problem is
solved, change the tag 'verification-needed-jammy' to 'verification-
done-jammy'. If the problem still exists, change the tag 'verification-
needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-jammy-linux-intel-iotg verification-needed-jammy

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-intel-iotg in Ubuntu.
https://bugs.launchpad.net/bugs/2008085

Title:
  net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG:
  unable to handle page fault)

Status in HWE Next:
  Invalid
Status in ubuntu-kernel-tests:
  New
Status in linux-intel-iotg package in Ubuntu:
  Invalid
Status in linux-intel-iotg source package in Jammy:
  In Progress

Bug description:
  Issue found on node "onibi" with J-intel-iotg 5.15.0-1026.31 this
  cycle.

  The veth.sh test in net category will hang and timeout, causing test
  report incomplete.

  I can see some traces in dmesg with manual test.

  
ubuntu@onibi:~/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net$
 sudo ./veth.sh
  default - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregationok
  - aggregation with TSO off   ok
  with gro on - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  default channels ok
  with gro enabled on link down - gro flag ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  setting tx channels  ok
  setting both rx and tx channels  ok
  bad setting: combined channels   ok
  setting invalid channels nr  fail rx:3:3 
tx:3:5 combined:n/a:n/a
  bad setting: XDP with RX nr less than TX ok
  (hangs here)

  dmesg output:
  [  547.520923] BUG: unable to handle page fault for address: b7380001
  [  547.520999] #PF: supervisor write access in kernel mode
  [  547.521045] #PF: error_code(0x0002) - not-present page
  [  547.521089] PGD 10067 P4D 10067 PUD 0
  [  547.521133] Oops: 0002 [#1] SMP PTI
  [  547.521168] CPU: 1 PID: 1559 Comm: ip Not tainted 5.15.0-1026-intel-iotg 
#31-Ubuntu
  [  547.521233] Hardware name: Dell Inc. PowerEdge R310/05XKKK, BIOS 1.8.2 
08/17/2011
  [  547.521293] RIP: 0010:veth_xdp+0x18f/0x1e0 [veth]
  [  547.521342] Code: ff 41 89 9d 1c 01 00 00 49 21 85 e8 00 00 00 e9 74 ff ff 
ff 48 c7 c7 80 e3 b0 c0 e8 2b 3b 06 c1 b8 e4 ff ff ff 4d 85 ff 74 85 <49> c7 07 
80 e3 b0 c0 e9 79 ff ff ff 48 c7 c7 20 e4 b0 c0 e8 09 3b
  [  547.521488] RSP: 0018:b738c254f420 EFLAGS: 00010282
  [  547.521535] RAX: ffe4 RBX: 0db2 RCX: 
b738c254fb20
  [  547.521594] RDX: c0b0bf90 RSI: b738c254f468 RDI: 
c0b0e380
  [  547.521653] RBP: b738c254f450 R08: 0001 R09: 
b738c0081000
  [  547.521711] R10:  R11:  R12: 
8c65ced9
  [  547.521769] R13: 8c65c12f6000 R14:  R15: 
b7380001
  [  547.521828] FS:  7faa028b3b80() GS:8c66f764() 
knlGS:
  [  547.521895] CS:  0010 DS:  ES:  CR0: 80050033
  [  547.521943] CR2: b7380001 CR3: 00010f068000 CR4: 
06e0
  [  547.522004] Call Trace:
  [  547.522029]  
  [  547.522052]  ? veth_open+0x90/0x90 [veth]
  [  547.522094]  dev_xdp_install+0x66/0xf0
  [  547.522135]  dev_xdp_attach+0x1fc/0x590
  [  547.522171]  ? __bpf_prog_get+0x1f/0xe0
  [  547.522212]  dev_change_xdp_fd+0x200/0x240
  [  547.522252]  do_setlink+0xba2/0xc70
  [  547.522288]  ? dev_get_alias+0x35/0x50
  [  547.522326]  __rtnl_newlink+0x61e/0xa20
  [  547.522363]  ? security_sock_rcv_skb+0x2f/0x50
  [  

[Kernel-packages] [Bug 2008085] Re: net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG: unable to handle page fault)

2023-03-17 Thread Jian Hui Lee
** Tags added: originate-from-1943687

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-intel-iotg in Ubuntu.
https://bugs.launchpad.net/bugs/2008085

Title:
  net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG:
  unable to handle page fault)

Status in HWE Next:
  Invalid
Status in ubuntu-kernel-tests:
  New
Status in linux-intel-iotg package in Ubuntu:
  Invalid
Status in linux-intel-iotg source package in Jammy:
  In Progress

Bug description:
  Issue found on node "onibi" with J-intel-iotg 5.15.0-1026.31 this
  cycle.

  The veth.sh test in net category will hang and timeout, causing test
  report incomplete.

  I can see some traces in dmesg with manual test.

  
ubuntu@onibi:~/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net$
 sudo ./veth.sh
  default - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregationok
  - aggregation with TSO off   ok
  with gro on - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  default channels ok
  with gro enabled on link down - gro flag ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  setting tx channels  ok
  setting both rx and tx channels  ok
  bad setting: combined channels   ok
  setting invalid channels nr  fail rx:3:3 
tx:3:5 combined:n/a:n/a
  bad setting: XDP with RX nr less than TX ok
  (hangs here)

  dmesg output:
  [  547.520923] BUG: unable to handle page fault for address: b7380001
  [  547.520999] #PF: supervisor write access in kernel mode
  [  547.521045] #PF: error_code(0x0002) - not-present page
  [  547.521089] PGD 10067 P4D 10067 PUD 0
  [  547.521133] Oops: 0002 [#1] SMP PTI
  [  547.521168] CPU: 1 PID: 1559 Comm: ip Not tainted 5.15.0-1026-intel-iotg 
#31-Ubuntu
  [  547.521233] Hardware name: Dell Inc. PowerEdge R310/05XKKK, BIOS 1.8.2 
08/17/2011
  [  547.521293] RIP: 0010:veth_xdp+0x18f/0x1e0 [veth]
  [  547.521342] Code: ff 41 89 9d 1c 01 00 00 49 21 85 e8 00 00 00 e9 74 ff ff 
ff 48 c7 c7 80 e3 b0 c0 e8 2b 3b 06 c1 b8 e4 ff ff ff 4d 85 ff 74 85 <49> c7 07 
80 e3 b0 c0 e9 79 ff ff ff 48 c7 c7 20 e4 b0 c0 e8 09 3b
  [  547.521488] RSP: 0018:b738c254f420 EFLAGS: 00010282
  [  547.521535] RAX: ffe4 RBX: 0db2 RCX: 
b738c254fb20
  [  547.521594] RDX: c0b0bf90 RSI: b738c254f468 RDI: 
c0b0e380
  [  547.521653] RBP: b738c254f450 R08: 0001 R09: 
b738c0081000
  [  547.521711] R10:  R11:  R12: 
8c65ced9
  [  547.521769] R13: 8c65c12f6000 R14:  R15: 
b7380001
  [  547.521828] FS:  7faa028b3b80() GS:8c66f764() 
knlGS:
  [  547.521895] CS:  0010 DS:  ES:  CR0: 80050033
  [  547.521943] CR2: b7380001 CR3: 00010f068000 CR4: 
06e0
  [  547.522004] Call Trace:
  [  547.522029]  
  [  547.522052]  ? veth_open+0x90/0x90 [veth]
  [  547.522094]  dev_xdp_install+0x66/0xf0
  [  547.522135]  dev_xdp_attach+0x1fc/0x590
  [  547.522171]  ? __bpf_prog_get+0x1f/0xe0
  [  547.522212]  dev_change_xdp_fd+0x200/0x240
  [  547.522252]  do_setlink+0xba2/0xc70
  [  547.522288]  ? dev_get_alias+0x35/0x50
  [  547.522326]  __rtnl_newlink+0x61e/0xa20
  [  547.522363]  ? security_sock_rcv_skb+0x2f/0x50
  [  547.522406]  ? skb_queue_tail+0x48/0x60
  [  547.522444]  ? sock_def_readable+0x4b/0x80
  [  547.522485]  ? __netlink_sendskb+0x62/0x80
  [  547.522528]  ? netlink_unicast+0x2fb/0x340
  [  547.522566]  ? rtnl_getlink+0x398/0x420
  [  547.522611]  ? kmem_cache_alloc_trace+0x17e/0x2a0
  [  547.522657]  rtnl_newlink+0x49/0x70
  [  547.522692]  rtnetlink_rcv_msg+0x15d/0x400
  [  547.522731]  ? rtnl_calcit.isra.0+0x130/0x130
  [  547.524524]  netlink_rcv_skb+0x56/0x100
  [  547.526314]  rtnetlink_rcv+0x15/0x20
  [  547.528102]  netlink_unicast+0x223/0x340
  [  547.529837]  netlink_sendmsg+0x24b/0x4c0
  [  547.531505]  sock_sendmsg+0x69/0x70
  [  547.533114]  

[Kernel-packages] [Bug 2008085] Re: net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG: unable to handle page fault)

2023-03-15 Thread Po-Hsu Lin
Issue still visible in this cycle, confirmed with Jian Hui that this is
expected.

** Tags added: sru-20230227

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-intel-iotg in Ubuntu.
https://bugs.launchpad.net/bugs/2008085

Title:
  net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG:
  unable to handle page fault)

Status in HWE Next:
  Invalid
Status in ubuntu-kernel-tests:
  New
Status in linux-intel-iotg package in Ubuntu:
  Invalid
Status in linux-intel-iotg source package in Jammy:
  In Progress

Bug description:
  Issue found on node "onibi" with J-intel-iotg 5.15.0-1026.31 this
  cycle.

  The veth.sh test in net category will hang and timeout, causing test
  report incomplete.

  I can see some traces in dmesg with manual test.

  
ubuntu@onibi:~/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net$
 sudo ./veth.sh
  default - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregationok
  - aggregation with TSO off   ok
  with gro on - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  default channels ok
  with gro enabled on link down - gro flag ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  setting tx channels  ok
  setting both rx and tx channels  ok
  bad setting: combined channels   ok
  setting invalid channels nr  fail rx:3:3 
tx:3:5 combined:n/a:n/a
  bad setting: XDP with RX nr less than TX ok
  (hangs here)

  dmesg output:
  [  547.520923] BUG: unable to handle page fault for address: b7380001
  [  547.520999] #PF: supervisor write access in kernel mode
  [  547.521045] #PF: error_code(0x0002) - not-present page
  [  547.521089] PGD 10067 P4D 10067 PUD 0
  [  547.521133] Oops: 0002 [#1] SMP PTI
  [  547.521168] CPU: 1 PID: 1559 Comm: ip Not tainted 5.15.0-1026-intel-iotg 
#31-Ubuntu
  [  547.521233] Hardware name: Dell Inc. PowerEdge R310/05XKKK, BIOS 1.8.2 
08/17/2011
  [  547.521293] RIP: 0010:veth_xdp+0x18f/0x1e0 [veth]
  [  547.521342] Code: ff 41 89 9d 1c 01 00 00 49 21 85 e8 00 00 00 e9 74 ff ff 
ff 48 c7 c7 80 e3 b0 c0 e8 2b 3b 06 c1 b8 e4 ff ff ff 4d 85 ff 74 85 <49> c7 07 
80 e3 b0 c0 e9 79 ff ff ff 48 c7 c7 20 e4 b0 c0 e8 09 3b
  [  547.521488] RSP: 0018:b738c254f420 EFLAGS: 00010282
  [  547.521535] RAX: ffe4 RBX: 0db2 RCX: 
b738c254fb20
  [  547.521594] RDX: c0b0bf90 RSI: b738c254f468 RDI: 
c0b0e380
  [  547.521653] RBP: b738c254f450 R08: 0001 R09: 
b738c0081000
  [  547.521711] R10:  R11:  R12: 
8c65ced9
  [  547.521769] R13: 8c65c12f6000 R14:  R15: 
b7380001
  [  547.521828] FS:  7faa028b3b80() GS:8c66f764() 
knlGS:
  [  547.521895] CS:  0010 DS:  ES:  CR0: 80050033
  [  547.521943] CR2: b7380001 CR3: 00010f068000 CR4: 
06e0
  [  547.522004] Call Trace:
  [  547.522029]  
  [  547.522052]  ? veth_open+0x90/0x90 [veth]
  [  547.522094]  dev_xdp_install+0x66/0xf0
  [  547.522135]  dev_xdp_attach+0x1fc/0x590
  [  547.522171]  ? __bpf_prog_get+0x1f/0xe0
  [  547.522212]  dev_change_xdp_fd+0x200/0x240
  [  547.522252]  do_setlink+0xba2/0xc70
  [  547.522288]  ? dev_get_alias+0x35/0x50
  [  547.522326]  __rtnl_newlink+0x61e/0xa20
  [  547.522363]  ? security_sock_rcv_skb+0x2f/0x50
  [  547.522406]  ? skb_queue_tail+0x48/0x60
  [  547.522444]  ? sock_def_readable+0x4b/0x80
  [  547.522485]  ? __netlink_sendskb+0x62/0x80
  [  547.522528]  ? netlink_unicast+0x2fb/0x340
  [  547.522566]  ? rtnl_getlink+0x398/0x420
  [  547.522611]  ? kmem_cache_alloc_trace+0x17e/0x2a0
  [  547.522657]  rtnl_newlink+0x49/0x70
  [  547.522692]  rtnetlink_rcv_msg+0x15d/0x400
  [  547.522731]  ? rtnl_calcit.isra.0+0x130/0x130
  [  547.524524]  netlink_rcv_skb+0x56/0x100
  [  547.526314]  rtnetlink_rcv+0x15/0x20
  [  547.528102]  netlink_unicast+0x223/0x340
  [  547.529837]  

[Kernel-packages] [Bug 2008085] Re: net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG: unable to handle page fault)

2023-03-15 Thread Jian Hui Lee
** Tags added: lookout-canyon oem-priority originate-from-2011522

** Changed in: hwe-next
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-intel-iotg in Ubuntu.
https://bugs.launchpad.net/bugs/2008085

Title:
  net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG:
  unable to handle page fault)

Status in HWE Next:
  Invalid
Status in ubuntu-kernel-tests:
  New
Status in linux-intel-iotg package in Ubuntu:
  Invalid
Status in linux-intel-iotg source package in Jammy:
  In Progress

Bug description:
  Issue found on node "onibi" with J-intel-iotg 5.15.0-1026.31 this
  cycle.

  The veth.sh test in net category will hang and timeout, causing test
  report incomplete.

  I can see some traces in dmesg with manual test.

  
ubuntu@onibi:~/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net$
 sudo ./veth.sh
  default - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregationok
  - aggregation with TSO off   ok
  with gro on - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  default channels ok
  with gro enabled on link down - gro flag ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  setting tx channels  ok
  setting both rx and tx channels  ok
  bad setting: combined channels   ok
  setting invalid channels nr  fail rx:3:3 
tx:3:5 combined:n/a:n/a
  bad setting: XDP with RX nr less than TX ok
  (hangs here)

  dmesg output:
  [  547.520923] BUG: unable to handle page fault for address: b7380001
  [  547.520999] #PF: supervisor write access in kernel mode
  [  547.521045] #PF: error_code(0x0002) - not-present page
  [  547.521089] PGD 10067 P4D 10067 PUD 0
  [  547.521133] Oops: 0002 [#1] SMP PTI
  [  547.521168] CPU: 1 PID: 1559 Comm: ip Not tainted 5.15.0-1026-intel-iotg 
#31-Ubuntu
  [  547.521233] Hardware name: Dell Inc. PowerEdge R310/05XKKK, BIOS 1.8.2 
08/17/2011
  [  547.521293] RIP: 0010:veth_xdp+0x18f/0x1e0 [veth]
  [  547.521342] Code: ff 41 89 9d 1c 01 00 00 49 21 85 e8 00 00 00 e9 74 ff ff 
ff 48 c7 c7 80 e3 b0 c0 e8 2b 3b 06 c1 b8 e4 ff ff ff 4d 85 ff 74 85 <49> c7 07 
80 e3 b0 c0 e9 79 ff ff ff 48 c7 c7 20 e4 b0 c0 e8 09 3b
  [  547.521488] RSP: 0018:b738c254f420 EFLAGS: 00010282
  [  547.521535] RAX: ffe4 RBX: 0db2 RCX: 
b738c254fb20
  [  547.521594] RDX: c0b0bf90 RSI: b738c254f468 RDI: 
c0b0e380
  [  547.521653] RBP: b738c254f450 R08: 0001 R09: 
b738c0081000
  [  547.521711] R10:  R11:  R12: 
8c65ced9
  [  547.521769] R13: 8c65c12f6000 R14:  R15: 
b7380001
  [  547.521828] FS:  7faa028b3b80() GS:8c66f764() 
knlGS:
  [  547.521895] CS:  0010 DS:  ES:  CR0: 80050033
  [  547.521943] CR2: b7380001 CR3: 00010f068000 CR4: 
06e0
  [  547.522004] Call Trace:
  [  547.522029]  
  [  547.522052]  ? veth_open+0x90/0x90 [veth]
  [  547.522094]  dev_xdp_install+0x66/0xf0
  [  547.522135]  dev_xdp_attach+0x1fc/0x590
  [  547.522171]  ? __bpf_prog_get+0x1f/0xe0
  [  547.522212]  dev_change_xdp_fd+0x200/0x240
  [  547.522252]  do_setlink+0xba2/0xc70
  [  547.522288]  ? dev_get_alias+0x35/0x50
  [  547.522326]  __rtnl_newlink+0x61e/0xa20
  [  547.522363]  ? security_sock_rcv_skb+0x2f/0x50
  [  547.522406]  ? skb_queue_tail+0x48/0x60
  [  547.522444]  ? sock_def_readable+0x4b/0x80
  [  547.522485]  ? __netlink_sendskb+0x62/0x80
  [  547.522528]  ? netlink_unicast+0x2fb/0x340
  [  547.522566]  ? rtnl_getlink+0x398/0x420
  [  547.522611]  ? kmem_cache_alloc_trace+0x17e/0x2a0
  [  547.522657]  rtnl_newlink+0x49/0x70
  [  547.522692]  rtnetlink_rcv_msg+0x15d/0x400
  [  547.522731]  ? rtnl_calcit.isra.0+0x130/0x130
  [  547.524524]  netlink_rcv_skb+0x56/0x100
  [  547.526314]  rtnetlink_rcv+0x15/0x20
  [  547.528102]  netlink_unicast+0x223/0x340
  [  547.529837]  

[Kernel-packages] [Bug 2008085] Re: net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG: unable to handle page fault)

2023-03-15 Thread Stefan Bader
** Changed in: linux-intel-iotg (Ubuntu)
   Status: New => Invalid

** Changed in: linux-intel-iotg (Ubuntu Jammy)
   Importance: Undecided => Medium

** Changed in: linux-intel-iotg (Ubuntu Jammy)
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-intel-iotg in Ubuntu.
https://bugs.launchpad.net/bugs/2008085

Title:
  net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG:
  unable to handle page fault)

Status in ubuntu-kernel-tests:
  New
Status in linux-intel-iotg package in Ubuntu:
  Invalid
Status in linux-intel-iotg source package in Jammy:
  In Progress

Bug description:
  Issue found on node "onibi" with J-intel-iotg 5.15.0-1026.31 this
  cycle.

  The veth.sh test in net category will hang and timeout, causing test
  report incomplete.

  I can see some traces in dmesg with manual test.

  
ubuntu@onibi:~/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net$
 sudo ./veth.sh
  default - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregationok
  - aggregation with TSO off   ok
  with gro on - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  default channels ok
  with gro enabled on link down - gro flag ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  setting tx channels  ok
  setting both rx and tx channels  ok
  bad setting: combined channels   ok
  setting invalid channels nr  fail rx:3:3 
tx:3:5 combined:n/a:n/a
  bad setting: XDP with RX nr less than TX ok
  (hangs here)

  dmesg output:
  [  547.520923] BUG: unable to handle page fault for address: b7380001
  [  547.520999] #PF: supervisor write access in kernel mode
  [  547.521045] #PF: error_code(0x0002) - not-present page
  [  547.521089] PGD 10067 P4D 10067 PUD 0
  [  547.521133] Oops: 0002 [#1] SMP PTI
  [  547.521168] CPU: 1 PID: 1559 Comm: ip Not tainted 5.15.0-1026-intel-iotg 
#31-Ubuntu
  [  547.521233] Hardware name: Dell Inc. PowerEdge R310/05XKKK, BIOS 1.8.2 
08/17/2011
  [  547.521293] RIP: 0010:veth_xdp+0x18f/0x1e0 [veth]
  [  547.521342] Code: ff 41 89 9d 1c 01 00 00 49 21 85 e8 00 00 00 e9 74 ff ff 
ff 48 c7 c7 80 e3 b0 c0 e8 2b 3b 06 c1 b8 e4 ff ff ff 4d 85 ff 74 85 <49> c7 07 
80 e3 b0 c0 e9 79 ff ff ff 48 c7 c7 20 e4 b0 c0 e8 09 3b
  [  547.521488] RSP: 0018:b738c254f420 EFLAGS: 00010282
  [  547.521535] RAX: ffe4 RBX: 0db2 RCX: 
b738c254fb20
  [  547.521594] RDX: c0b0bf90 RSI: b738c254f468 RDI: 
c0b0e380
  [  547.521653] RBP: b738c254f450 R08: 0001 R09: 
b738c0081000
  [  547.521711] R10:  R11:  R12: 
8c65ced9
  [  547.521769] R13: 8c65c12f6000 R14:  R15: 
b7380001
  [  547.521828] FS:  7faa028b3b80() GS:8c66f764() 
knlGS:
  [  547.521895] CS:  0010 DS:  ES:  CR0: 80050033
  [  547.521943] CR2: b7380001 CR3: 00010f068000 CR4: 
06e0
  [  547.522004] Call Trace:
  [  547.522029]  
  [  547.522052]  ? veth_open+0x90/0x90 [veth]
  [  547.522094]  dev_xdp_install+0x66/0xf0
  [  547.522135]  dev_xdp_attach+0x1fc/0x590
  [  547.522171]  ? __bpf_prog_get+0x1f/0xe0
  [  547.522212]  dev_change_xdp_fd+0x200/0x240
  [  547.522252]  do_setlink+0xba2/0xc70
  [  547.522288]  ? dev_get_alias+0x35/0x50
  [  547.522326]  __rtnl_newlink+0x61e/0xa20
  [  547.522363]  ? security_sock_rcv_skb+0x2f/0x50
  [  547.522406]  ? skb_queue_tail+0x48/0x60
  [  547.522444]  ? sock_def_readable+0x4b/0x80
  [  547.522485]  ? __netlink_sendskb+0x62/0x80
  [  547.522528]  ? netlink_unicast+0x2fb/0x340
  [  547.522566]  ? rtnl_getlink+0x398/0x420
  [  547.522611]  ? kmem_cache_alloc_trace+0x17e/0x2a0
  [  547.522657]  rtnl_newlink+0x49/0x70
  [  547.522692]  rtnetlink_rcv_msg+0x15d/0x400
  [  547.522731]  ? rtnl_calcit.isra.0+0x130/0x130
  [  547.524524]  netlink_rcv_skb+0x56/0x100
  [  547.526314]  

[Kernel-packages] [Bug 2008085] Re: net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG: unable to handle page fault)

2023-03-14 Thread Jian Hui Lee
** Also affects: linux-intel-iotg (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: linux-intel-iotg (Ubuntu Jammy)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-intel-iotg in Ubuntu.
https://bugs.launchpad.net/bugs/2008085

Title:
  net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG:
  unable to handle page fault)

Status in ubuntu-kernel-tests:
  New
Status in linux-intel-iotg package in Ubuntu:
  New
Status in linux-intel-iotg source package in Jammy:
  New

Bug description:
  Issue found on node "onibi" with J-intel-iotg 5.15.0-1026.31 this
  cycle.

  The veth.sh test in net category will hang and timeout, causing test
  report incomplete.

  I can see some traces in dmesg with manual test.

  
ubuntu@onibi:~/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net$
 sudo ./veth.sh
  default - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregationok
  - aggregation with TSO off   ok
  with gro on - gro flag   ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  default channels ok
  with gro enabled on link down - gro flag ok
  - peer gro flag  ok
  - tso flag   ok
  - peer tso flag  ok
  - aggregation with TSO off   ok
  setting tx channels  ok
  setting both rx and tx channels  ok
  bad setting: combined channels   ok
  setting invalid channels nr  fail rx:3:3 
tx:3:5 combined:n/a:n/a
  bad setting: XDP with RX nr less than TX ok
  (hangs here)

  dmesg output:
  [  547.520923] BUG: unable to handle page fault for address: b7380001
  [  547.520999] #PF: supervisor write access in kernel mode
  [  547.521045] #PF: error_code(0x0002) - not-present page
  [  547.521089] PGD 10067 P4D 10067 PUD 0
  [  547.521133] Oops: 0002 [#1] SMP PTI
  [  547.521168] CPU: 1 PID: 1559 Comm: ip Not tainted 5.15.0-1026-intel-iotg 
#31-Ubuntu
  [  547.521233] Hardware name: Dell Inc. PowerEdge R310/05XKKK, BIOS 1.8.2 
08/17/2011
  [  547.521293] RIP: 0010:veth_xdp+0x18f/0x1e0 [veth]
  [  547.521342] Code: ff 41 89 9d 1c 01 00 00 49 21 85 e8 00 00 00 e9 74 ff ff 
ff 48 c7 c7 80 e3 b0 c0 e8 2b 3b 06 c1 b8 e4 ff ff ff 4d 85 ff 74 85 <49> c7 07 
80 e3 b0 c0 e9 79 ff ff ff 48 c7 c7 20 e4 b0 c0 e8 09 3b
  [  547.521488] RSP: 0018:b738c254f420 EFLAGS: 00010282
  [  547.521535] RAX: ffe4 RBX: 0db2 RCX: 
b738c254fb20
  [  547.521594] RDX: c0b0bf90 RSI: b738c254f468 RDI: 
c0b0e380
  [  547.521653] RBP: b738c254f450 R08: 0001 R09: 
b738c0081000
  [  547.521711] R10:  R11:  R12: 
8c65ced9
  [  547.521769] R13: 8c65c12f6000 R14:  R15: 
b7380001
  [  547.521828] FS:  7faa028b3b80() GS:8c66f764() 
knlGS:
  [  547.521895] CS:  0010 DS:  ES:  CR0: 80050033
  [  547.521943] CR2: b7380001 CR3: 00010f068000 CR4: 
06e0
  [  547.522004] Call Trace:
  [  547.522029]  
  [  547.522052]  ? veth_open+0x90/0x90 [veth]
  [  547.522094]  dev_xdp_install+0x66/0xf0
  [  547.522135]  dev_xdp_attach+0x1fc/0x590
  [  547.522171]  ? __bpf_prog_get+0x1f/0xe0
  [  547.522212]  dev_change_xdp_fd+0x200/0x240
  [  547.522252]  do_setlink+0xba2/0xc70
  [  547.522288]  ? dev_get_alias+0x35/0x50
  [  547.522326]  __rtnl_newlink+0x61e/0xa20
  [  547.522363]  ? security_sock_rcv_skb+0x2f/0x50
  [  547.522406]  ? skb_queue_tail+0x48/0x60
  [  547.522444]  ? sock_def_readable+0x4b/0x80
  [  547.522485]  ? __netlink_sendskb+0x62/0x80
  [  547.522528]  ? netlink_unicast+0x2fb/0x340
  [  547.522566]  ? rtnl_getlink+0x398/0x420
  [  547.522611]  ? kmem_cache_alloc_trace+0x17e/0x2a0
  [  547.522657]  rtnl_newlink+0x49/0x70
  [  547.522692]  rtnetlink_rcv_msg+0x15d/0x400
  [  547.522731]  ? rtnl_calcit.isra.0+0x130/0x130
  [  547.524524]  netlink_rcv_skb+0x56/0x100
  [  547.526314]  rtnetlink_rcv+0x15/0x20
  [  547.528102]  netlink_unicast+0x223/0x340
  [