Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #80698 > unrolled thread

Bug#1054345: linux-image-6.5.0-2-amd64: Segfault with USB Mass storage

Started byael <witwall3@disroot.org>
First post2023-10-22 13:10 +0200
Last post2024-09-21 20:00 +0200
Articles 6 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1054345: linux-image-6.5.0-2-amd64: Segfault with USB Mass storage ael <witwall3@disroot.org> - 2023-10-22 13:10 +0200
    Bug#1054345: Bug presebt on all recent kernel versions ael <witwall3@disroot.org> - 2023-10-22 14:00 +0200
    Bug#1054345: usbcore call trace ael <witwall3@disroot.org> - 2023-11-10 22:00 +0100
    Processed: Re: Bug#1054345: linux-image-6.5.0-2-amd64: Segfault  with USB Mass storage "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-09-21 20:00 +0200
      Re: Processed: Re: Bug#1054345: linux-image-6.5.0-2-amd64: Segfault  with USB Mass storage Craig Small <csmall@debian.org> - 2024-09-23 09:50 +0200
    Bug#1054345: linux-image-6.5.0-2-amd64: Segfault with USB Mass storage Marco d'Itri <md@Linux.IT> - 2024-09-21 20:00 +0200

#80698 — Bug#1054345: linux-image-6.5.0-2-amd64: Segfault with USB Mass storage

Fromael <witwall3@disroot.org>
Date2023-10-22 13:10 +0200
SubjectBug#1054345: linux-image-6.5.0-2-amd64: Segfault with USB Mass storage
Message-ID<HrEvf-2i2-11@gated-at.bofh.it>
Package: src:linux
Version: 6.5.6-1
Severity: normal

Dear Maintainer,

This is just a very preliminary report with little proper information as
yet: perhaps a placeholder which may be useful if other are seein this
problem.

Since installing 6.5.0-2, when hot plugging USB sticks, I see segfault
messages in dmesq such as:

-------------------------------------------------------------------
[ 2538.645420] usb 2-9: new high-speed USB device number 3 using xhci_hcd
[ 2538.800696] usb 2-9: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=20.40
[ 2538.800705] usb 2-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2538.800708] usb 2-9: Product: USB 2.0 Flash Drive
[ 2538.800711] usb 2-9: Manufacturer: Super Talent Flash
[ 2538.800713] usb 2-9: SerialNumber: 13000000000000005672
[ 2538.915612] w[15439]: segfault at 4c ip 000055bcdea2d09e sp 00007ffd80083c00 error 4 in w[55bcdea2c000+3000] likely on CPU 5 (core 1, socket 0)
[ 2538.915624] Code: 0f be c3 48 8b 12 f6 44 42 01 40 74 7f 80 fb 20 74 7a 0f be fb 48 83 c5 01 e8 6e f1 ff ff 49 39 ee 0f 84 7d 00 00 00 45 89 e7 <0f> b6 5d 00 84 db 75 ba 45 85 ff 75 65 48 8b 35 76 3f 00 00 bf 2d
[ 2539.107372] usb-storage 2-9:1.0: USB Mass Storage device detected
[ 2539.107500] scsi host6: usb-storage 2-9:1.0
[ 2539.107576] usbcore: registered new interface driver usb-storage
[ 2539.110315] usbcore: registered new interface driver uas
[ 2539.194645] w[16015]: segfault at 4c ip 000055595990709e sp 00007ffd9dc81ca0 error 4 in w[555959906000+3000] likely on CPU 2 (core 2, socket 0)
[ 2539.194662] Code: 0f be c3 48 8b 12 f6 44 42 01 40 74 7f 80 fb 20 74 7a 0f be fb 48 83 c5 01 e8 6e f1 ff ff 49 39 ee 0f 84 7d 00 00 00 45 89 e7 <0f> b6 5d 00 84 db 75 ba 45 85 ff 75 65 48 8b 35 76 3f 00 00 bf 2d
[ 2540.114671] scsi 6:0:0:0: Direct-Access     Flash/SM Super Talent 2.0 2040 PQ: 0 ANSI: 0 CCS
[ 2540.115312] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 2540.116750] sd 6:0:0:0: [sdb] 1014784 512-byte logical blocks: (520 MB/496 MiB)
[ 2540.117302] sd 6:0:0:0: [sdb] Write Protect is off
[ 2540.117308] sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 2540.117876] sd 6:0:0:0: [sdb] No Caching mode page found
[ 2540.117883] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 2540.172366]  sdb: sdb1 sdb2
[ 2540.172729] sd 6:0:0:0: [sdb] Attached SCSI removable disk

------------------------------------------------------------------------------------

This has happened with at least two different usb sticks of very
different vintages.

I did run a memtest check on RAM, but this only seem to happen when
hotplugging USB sticks, so I am confident that this is a kernel/module
bug.

When I have more time, I will attempt to turn on debugging options and
symbols and more. But I doubt that I am the only one seeing this, and
maybe the bug is already fixed upstream.



-- Package-specific info:
** Version:
Linux version 6.5.0-2-amd64 (debian-kernel@lists.debian.org) (gcc-13 (Debian 13.2.0-5) 13.2.0, GNU ld (GNU Binutils for Debian) 2.41) #1 SMP PREEMPT_DYNAMIC Debian 6.5.6-1 (2023-10-07)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-6.5.0-2-amd64 root=UUID=5b8060f7-f126-4534-a051-db5d205bd315 ro elevator=deadline

** Not tainted

** Kernel log:
Unable to read kernel log; any relevant messages should be attached

** Model information
sys_vendor: Notebook                        
product_name: W54_55SU1,SUW
product_version: Not Applicable                  
chassis_vendor: Notebook                        
chassis_version: N/A                             
bios_vendor: American Megatrends Inc.
bios_version: 4.6.5
board_vendor: Notebook                        
board_name: W54_55SU1,SUW
board_version: Not Applicable                  

** Loaded modules:
uas
usb_storage
mptcp_diag
xsk_diag
tcp_diag
udp_diag
raw_diag
inet_diag
unix_diag
af_packet_diag
netlink_diag
xt_recent
ipt_REJECT
nf_reject_ipv4
xt_comment
xt_hashlimit
xt_addrtype
xt_mark
xt_NFLOG
nfnetlink_log
xt_LOG
nf_log_syslog
nf_nat_tftp
nf_nat_snmp_basic
nf_conntrack_snmp
nf_nat_sip
nf_nat_pptp
nf_nat_irc
nf_nat_h323
nf_nat_ftp
nf_nat_amanda
ts_kmp
nf_conntrack_amanda
nf_conntrack_sane
nf_conntrack_tftp
nf_conntrack_sip
nf_conntrack_pptp
nf_conntrack_netlink
nf_conntrack_netbios_ns
nf_conntrack_broadcast
nf_conntrack_irc
nf_conntrack_h323
nf_conntrack_ftp
xt_tcpudp
xt_conntrack
nft_compat
nft_chain_nat
nf_nat
nf_conntrack
nf_defrag_ipv6
nf_defrag_ipv4
nf_tables
libcrc32c
nfnetlink
qrtr
tun
uinput
binfmt_misc
btusb
btrtl
btbcm
btintel
btmtk
bluetooth
sha3_generic
jitterentropy_rng
drbg
ansi_cprng
ecdh_generic
ecc
pktcdvd
intel_rapl_msr
intel_rapl_common
x86_pkg_temp_thermal
intel_powerclamp
coretemp
kvm_intel
iwlmvm
kvm
cpufreq_ondemand
irqbypass
crc32_pclmul
mac80211
ghash_clmulni_intel
sha512_ssse3
sha512_generic
snd_hda_codec_realtek
snd_hda_codec_generic
ledtrig_audio
snd_hda_codec_hdmi
libarc4
aesni_intel
snd_hda_intel
snd_intel_dspcfg
crypto_simd
snd_intel_sdw_acpi
cryptd
snd_hda_codec
iwlwifi
iTCO_wdt
intel_pmc_bxt
snd_hda_core
rtsx_pci_sdmmc
rapl
iTCO_vendor_support
mei_pxp
at24
mmc_core
r8169
intel_cstate
mei_hdcp
snd_hwdep
watchdog
ehci_pci
xhci_pci
realtek
cfg80211
xhci_hcd
intel_uncore
snd_pcm
i2c_i801
mdio_devres
ehci_hcd
i2c_smbus
sr_mod
snd_timer
libphy
pcspkr
rtsx_pci
mei_me
cdrom
usbcore
snd
rfkill
mei
lpc_ich
usb_common
soundcore
battery
ac
button
joydev
sg
nfsd
auth_rpcgss
nfs_acl
msr
lockd
parport_pc
ppdev
grace
lp
parport
loop
fuse
dm_mod
efi_pstore
sunrpc
configfs
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
crc32c_generic
i915
sd_mod
t10_pi
crc64_rocksoft
crc64
crc_t10dif
crct10dif_generic
i2c_algo_bit
drm_buddy
ttm
drm_display_helper
drm_kms_helper
ahci
libahci
drm
libata
scsi_mod
psmouse
crct10dif_pclmul
cec
crct10dif_common
crc32c_intel
evdev
rc_core
serio_raw
scsi_common
video
wmi

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller [8086:0c04] (rev 06)
	Subsystem: CLEVO/KAPOK Computer Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller [1558:5455]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort+ <MAbort+ >SERR- <PERR- INTx-
	Latency: 0
	Capabilities: <access denied>
	Kernel modules: ie31200_edac

00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
	Subsystem: CLEVO/KAPOK Computer 4th Gen Core Processor Integrated Graphics Controller [1558:5455]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 28
	Region 0: Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
	Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Region 4: I/O ports at f000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
	Subsystem: CLEVO/KAPOK Computer Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [1558:5455]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 34
	Region 0: Memory at f7e14000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05) (prog-if 30 [XHCI])
	Subsystem: CLEVO/KAPOK Computer 8 Series/C220 Series Chipset Family USB xHCI [1558:5455]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 32
	Region 0: Memory at f7e00000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
	Subsystem: CLEVO/KAPOK Computer 8 Series/C220 Series Chipset Family MEI Controller [1558:5455]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 29
	Region 0: Memory at f7e1e000 (64-bit, non-prefetchable) [size=16]
	Capabilities: <access denied>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05) (prog-if 20 [EHCI])
	Subsystem: CLEVO/KAPOK Computer 8 Series/C220 Series Chipset Family USB EHCI [1558:5455]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at f7e1c000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci

00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
	Subsystem: CLEVO/KAPOK Computer 8 Series/C220 Series Chipset High Definition Audio Controller [1558:5455]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 35
	Region 0: Memory at f7e10000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5) (prog-if 00 [Normal decode])
	Subsystem: CLEVO/KAPOK Computer 8 Series/C220 Series Chipset Family PCI Express Root Port [1558:5455]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 24
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 2000-2fff [size=4K] [16-bit]
	Memory behind bridge: df200000-df3fffff [size=2M] [32-bit]
	Prefetchable memory behind bridge: df400000-df5fffff [size=2M] [32-bit]
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16+ MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 [8086:8c14] (rev d5) (prog-if 00 [Normal decode])
	Subsystem: CLEVO/KAPOK Computer 8 Series/C220 Series Chipset Family PCI Express Root Port [1558:5455]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin C routed to IRQ 25
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: f7d00000-f7dfffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16+ MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 [8086:8c16] (rev d5) (prog-if 00 [Normal decode])
	Subsystem: CLEVO/KAPOK Computer 8 Series/C220 Series Chipset Family PCI Express Root Port [1558:5455]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin D routed to IRQ 26
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: e000-efff [size=4K] [16-bit]
	Memory behind bridge: f7c00000-f7cfffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16+ MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05) (prog-if 20 [EHCI])
	Subsystem: CLEVO/KAPOK Computer 8 Series/C220 Series Chipset Family USB EHCI [1558:5455]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 23
	Region 0: Memory at f7e1b000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci

00:1f.0 ISA bridge [0601]: Intel Corporation HM86 Express LPC Controller [8086:8c49] (rev 05)
	Subsystem: CLEVO/KAPOK Computer HM86 Express LPC Controller [1558:5455]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Capabilities: <access denied>
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich

00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c03] (rev 05) (prog-if 01 [AHCI 1.0])
	Subsystem: CLEVO/KAPOK Computer 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [1558:5455]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 27
	Region 0: I/O ports at f0b0 [size=8]
	Region 1: I/O ports at f0a0 [size=4]
	Region 2: I/O ports at f090 [size=8]
	Region 3: I/O ports at f080 [size=4]
	Region 4: I/O ports at f060 [size=32]
	Region 5: Memory at f7e1a000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
	Subsystem: CLEVO/KAPOK Computer 8 Series/C220 Series Chipset Family SMBus Controller [1558:5455]
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin C routed to IRQ 18
	Region 0: Memory at f7e19000 (64-bit, non-prefetchable) [size=256]
	Region 4: I/O ports at f040 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev 73)
	Subsystem: Intel Corporation Wireless-N 7260 [Wilkins Peak 2] [8086:4062]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 33
	Region 0: Memory at f7d00000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader [10ec:5287] (rev 01)
	Subsystem: CLEVO/KAPOK Computer RTL8411B PCI Express Card Reader [1558:5455]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin B routed to IRQ 30
	Region 0: Memory at f7c15000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at f7c00000 [disabled] [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

03:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 12)
	Subsystem: CLEVO/KAPOK Computer RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1558:5455]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 19
	Region 0: I/O ports at e000 [size=256]
	Region 2: Memory at f7c14000 (64-bit, non-prefetchable) [size=4K]
	Region 4: Memory at f7c10000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169


** USB devices:
Bus 001 Device 002: ID 8087:8000 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8008 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
Bus 002 Device 002: ID 8087:07dc Intel Corp. Bluetooth wireless interface
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: trixie/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-6.5.0-2-amd64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.142
ii  kmod                                    30+20230601-2
ii  linux-base                              4.9

Versions of packages linux-image-6.5.0-2-amd64 recommends:
pn  apparmor             <none>
ii  firmware-linux-free  20200122-2

Versions of packages linux-image-6.5.0-2-amd64 suggests:
ii  debian-kernel-handbook  1.0.21
ii  grub-pc                 2.06-13+deb13u1
pn  linux-doc-6.5           <none>

Versions of packages linux-image-6.5.0-2-amd64 is related to:
ii  firmware-amd-graphics     20230515-3
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
pn  firmware-brcm80211        <none>
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
ii  firmware-iwlwifi          20230515-3
pn  firmware-libertas         <none>
ii  firmware-linux-nonfree    20230515-3
ii  firmware-misc-nonfree     20230515-3
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
ii  firmware-realtek          20230515-3
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information

[toc] | [next] | [standalone]


#80700 — Bug#1054345: Bug presebt on all recent kernel versions

Fromael <witwall3@disroot.org>
Date2023-10-22 14:00 +0200
SubjectBug#1054345: Bug presebt on all recent kernel versions
Message-ID<HrFhD-2zq-1@gated-at.bofh.it>
In reply to#80698
 just tested on kernel versions 6.5.0-1-amd64, 6.4.0-4-amd64, 6.4.0-3-amd64 & 6.4.0-2-amd64
 and same bug present on all. So it is long standing, and not specific
 to 6.5.0-2.

 ael

[toc] | [prev] | [next] | [standalone]


#80856 — Bug#1054345: usbcore call trace

Fromael <witwall3@disroot.org>
Date2023-11-10 22:00 +0100
SubjectBug#1054345: usbcore call trace
Message-ID<HyGLD-4wAu-1@gated-at.bofh.it>
In reply to#80698
I now seem to have captured a call trace which may be related:


INFO: task kworker/0:0:7395 blocked for more than 120 seconds.
[ 1088.815089]       Not tainted 6.5.0-3-amd64 #1 Debian 6.5.8-1
[ 1088.815093] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1088.815095] task:kworker/0:0     state:D stack:0     pid:7395  ppid:2      flags:0x00004000
[ 1088.815105] Workqueue: usb_hub_wq hub_event [usbcore]
[ 1088.815183] Call Trace:
[ 1088.815186]  <TASK>
[ 1088.815192]  __schedule+0x3df/0xb80
[ 1088.815205]  schedule+0x61/0xe0
[ 1088.815211]  schedule_timeout+0x98/0x160
[ 1088.815218]  ? __pfx_process_timeout+0x10/0x10
[ 1088.815227]  wait_for_completion_timeout+0x83/0x170
[ 1088.815236]  usb_start_wait_urb+0xa7/0x180 [usbcore]
[ 1088.815299]  usb_control_msg+0xef/0x150 [usbcore]
[ 1088.815359]  get_bMaxPacketSize0+0x5f/0xc0 [usbcore]
[ 1088.815410]  hub_port_init+0x418/0xff0 [usbcore]
[ 1088.815465]  hub_event+0x1207/0x1c10 [usbcore]
[ 1088.815521]  ? __schedule+0x3e7/0xb80
[ 1088.815528]  process_one_work+0x1e1/0x3f0
[ 1088.815537]  worker_thread+0x51/0x390
[ 1088.815542]  ? _raw_spin_lock_irqsave+0x27/0x60
[ 1088.815549]  ? __pfx_worker_thread+0x10/0x10
[ 1088.815554]  kthread+0xf7/0x130
[ 1088.815562]  ? __pfx_kthread+0x10/0x10
[ 1088.815570]  ret_from_fork+0x34/0x50
[ 1088.815578]  ? __pfx_kthread+0x10/0x10
[ 1088.815584]  ret_from_fork_asm+0x1b/0x30
[ 1088.815597]  </TASK>
[ 1209.646327] INFO: task kworker/0:0:7395 blocked for more than 241 seconds.
[ 1209.646341]       Not tainted 6.5.0-3-amd64 #1 Debian 6.5.8-1
[ 1209.646345] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1209.646348] task:kworker/0:0     state:D stack:0     pid:7395  ppid:2      flags:0x00004000
[ 1209.646363] Workqueue: usb_hub_wq hub_event [usbcore]
[ 1209.646465] Call Trace:
[ 1209.646469]  <TASK>
[ 1209.646476]  __schedule+0x3df/0xb80
[ 1209.646493]  schedule+0x61/0xe0
[ 1209.646501]  schedule_timeout+0x98/0x160
[ 1209.646509]  ? __pfx_process_timeout+0x10/0x10
[ 1209.646520]  wait_for_completion_timeout+0x83/0x170
[ 1209.646532]  usb_start_wait_urb+0xa7/0x180 [usbcore]
[ 1209.646620]  usb_control_msg+0xef/0x150 [usbcore]
[ 1209.646703]  get_bMaxPacketSize0+0x5f/0xc0 [usbcore]
[ 1209.646772]  hub_port_init+0x418/0xff0 [usbcore]
[ 1209.646849]  hub_event+0x1207/0x1c10 [usbcore]
[ 1209.646925]  ? __schedule+0x3e7/0xb80
[ 1209.646935]  process_one_work+0x1e1/0x3f0
[ 1209.646946]  worker_thread+0x51/0x390
[ 1209.646954]  ? _raw_spin_lock_irqsave+0x27/0x60
[ 1209.646962]  ? __pfx_worker_thread+0x10/0x10
[ 1209.646969]  kthread+0xf7/0x130
[ 1209.646980]  ? __pfx_kthread+0x10/0x10
[ 1209.646990]  ret_from_fork+0x34/0x50
[ 1209.647002]  ? __pfx_kthread+0x10/0x10
[ 1209.647011]  ret_from_fork_asm+0x1b/0x30
[ 1209.647028]  </TASK>
[ 1330.478037] INFO: task kworker/0:0:7395 blocked for more than 362 seconds.
[ 1330.478048]       Not tainted 6.5.0-3-amd64 #1 Debian 6.5.8-1
[ 1330.478052] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1330.478055] task:kworker/0:0     state:D stack:0     pid:7395  ppid:2      flags:0x00004000
[ 1330.478066] Workqueue: usb_hub_wq hub_event [usbcore]
[ 1330.478149] Call Trace:
[ 1330.478152]  <TASK>
[ 1330.478158]  __schedule+0x3df/0xb80
[ 1330.478172]  schedule+0x61/0xe0
[ 1330.478179]  schedule_timeout+0x98/0x160
[ 1330.478186]  ? __pfx_process_timeout+0x10/0x10
[ 1330.478196]  wait_for_completion_timeout+0x83/0x170
[ 1330.478206]  usb_start_wait_urb+0xa7/0x180 [usbcore]
[ 1330.478276]  usb_control_msg+0xef/0x150 [usbcore]
[ 1330.478342]  get_bMaxPacketSize0+0x5f/0xc0 [usbcore]
[ 1330.478397]  hub_port_init+0x418/0xff0 [usbcore]
[ 1330.478458]  hub_event+0x1207/0x1c10 [usbcore]
[ 1330.478520]  ? __schedule+0x3e7/0xb80
[ 1330.478527]  process_one_work+0x1e1/0x3f0
[ 1330.478536]  worker_thread+0x51/0x390
[ 1330.478542]  ? _raw_spin_lock_irqsave+0x27/0x60
[ 1330.478549]  ? __pfx_worker_thread+0x10/0x10
[ 1330.478555]  kthread+0xf7/0x130
[ 1330.478564]  ? __pfx_kthread+0x10/0x10
[ 1330.478572]  ret_from_fork+0x34/0x50
[ 1330.478580]  ? __pfx_kthread+0x10/0x10
[ 1330.478588]  ret_from_fork_asm+0x1b/0x30
[ 1330.478601]  </TASK>

However this was on hotplugging a garmin Etrex 20 which is always very
slow and after increasing /sys/module/usbcore/parameters/initial_descriptor_timeout
to a very large value (600000 !), so it may not be related.

[toc] | [prev] | [next] | [standalone]


#84060 — Processed: Re: Bug#1054345: linux-image-6.5.0-2-amd64: Segfault with USB Mass storage

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-09-21 20:00 +0200
SubjectProcessed: Re: Bug#1054345: linux-image-6.5.0-2-amd64: Segfault with USB Mass storage
Message-ID<JpcyJ-dT9m-5@gated-at.bofh.it>
In reply to#80698
Processing control commands:

> reassign -1 procps
Bug #1054345 [src:linux] linux-image-6.5.0-2-amd64: Segfault with USB Mass storage
Bug #1054346 [src:linux] linux-image-6.5.0-2-amd64: Segfault with USB Mass storage
Bug reassigned from package 'src:linux' to 'procps'.
Bug reassigned from package 'src:linux' to 'procps'.
No longer marked as found in versions linux/6.5.6-1.
No longer marked as found in versions linux/6.5.6-1.
Ignoring request to alter fixed versions of bug #1054345 to the same values previously set
Ignoring request to alter fixed versions of bug #1054346 to the same values previously set
> retitle -1 w -s segfaults
Bug #1054345 [procps] linux-image-6.5.0-2-amd64: Segfault with USB Mass storage
Bug #1054346 [procps] linux-image-6.5.0-2-amd64: Segfault with USB Mass storage
Changed Bug title to 'w -s segfaults' from 'linux-image-6.5.0-2-amd64: Segfault with USB Mass storage'.
Changed Bug title to 'w -s segfaults' from 'linux-image-6.5.0-2-amd64: Segfault with USB Mass storage'.

-- 
1054345: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054345
1054346: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054346
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#84085 — Re: Processed: Re: Bug#1054345: linux-image-6.5.0-2-amd64: Segfault with USB Mass storage

FromCraig Small <csmall@debian.org>
Date2024-09-23 09:50 +0200
SubjectRe: Processed: Re: Bug#1054345: linux-image-6.5.0-2-amd64: Segfault with USB Mass storage
Message-ID<JpLZv-eeLI-1@gated-at.bofh.it>
In reply to#84060

[Multipart message — attachments visible in raw view] — view raw

Hi Marco,
  Were both these bugs supposed to go to procps? I'm not sure why the BTS
moved both.
I've tagged etc 1054345 so if you want one of them back, I'd rather you
took 1054346.

On Sun, 22 Sept 2024 at 03:57, Debian Bug Tracking System <
owner@bugs.debian.org> wrote:

> Bug #1054345 [src:linux] linux-image-6.5.0-2-amd64: Segfault with USB Mass
> storage
> Bug #1054346 [src:linux] linux-image-6.5.0-2-amd64: Segfault with USB Mass
> storage
> Bug reassigned from package 'src:linux' to 'procps'.
> Bug reassigned from package 'src:linux' to 'procps'.
>

[toc] | [prev] | [next] | [standalone]


#84061

FromMarco d'Itri <md@Linux.IT>
Date2024-09-21 20:00 +0200
Message-ID<JpcyJ-dT9m-7@gated-at.bofh.it>
In reply to#80698

[Multipart message — attachments visible in raw view] — view raw

Control: reassign -1 procps
Control: retitle -1 w -s segfaults

md:~/seeweb/ricette/current$ w -s
 19:45:48 up 1 day, 22:56,  2 users,  load average: 0,02, 0,02, 0,07
USER     TTY      FROM              IDLE WHAT
Errore di segmentazione (core dump creato)
[Exit 139 (SEGV)]
md:~/seeweb/ricette/current 139$ coredumpctl debug 345157
...

(gdb) where
#0  print_host (
    host=host@entry=0x4c <error: Cannot access memory at address 0x4c>, 
    len=16, len@entry=256, fromlen=fromlen@entry=16) at src/w.c:112
#1  0x000055589b960371 in print_from (session=session@entry=0x0, 
    u=u@entry=0x0, ip_addresses=ip_addresses@entry=0, fromlen=fromlen@entry=16)
    at src/w.c:264
#2  0x000055589b960e6e in showinfo (session=0x5558ae332610 "1", 
    name=name@entry=0x5558ae3330e0 "md", u=u@entry=0x0, 
    formtype=formtype@entry=0, maxcmd=maxcmd@entry=35, from=from@entry=1, 
    userlen=8, fromlen=16, ip_addresses=0, pids=0) at src/w.c:622
#3  0x000055589b95f71f in main (argc=<optimized out>, argv=<optimized out>)
    at src/w.c:831
(gdb) 

-- 
ciao,
Marco

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web