[Kernel-packages] [Bug 1970074] Re: UBSAN: array-index-out-of-bounds in /build/linux-9H675w/linux-5.15.0/drivers/ata/libahci.c:968:41

2022-09-27 Thread Anders Trier Olesen
Also hitting the same SATA port multiplier bug:

# uname -a
Linux server 5.15.0-48-generic #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022 
x86_64 x86_64 x86_64 GNU/Linux

# dmesg
[..]
[3.228910] ata6: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[3.228922] 

[3.228926] UBSAN: array-index-out-of-bounds in 
/build/linux-kQ6jNR/linux-5.15.0/drivers/ata/libahci.c:968:41
[3.228931] index 15 is out of range for type 'ahci_em_priv [8]'
[3.228934] CPU: 10 PID: 283 Comm: scsi_eh_5 Not tainted 5.15.0-48-generic 
#54-Ubuntu
[3.228939] Hardware name: To Be Filled By O.E.M. To Be Filled By 
O.E.M./B450M Pro4, BIOS P5.30 08/04/2021
[3.228944] Call Trace:
[3.228947]  
[3.228950]  show_stack+0x52/0x5c
[3.228955]  dump_stack_lvl+0x4a/0x63
[3.228961]  dump_stack+0x10/0x16
[3.228965]  ubsan_epilogue+0x9/0x49
[3.228969]  __ubsan_handle_out_of_bounds.cold+0x44/0x49
[3.228974]  ahci_qc_issue+0x16e/0x170 [libahci]
[3.228981]  ata_qc_issue+0x132/0x250
[3.228986]  ata_exec_internal_sg+0x2c4/0x580
[3.228990]  ? vprintk_default+0x1d/0x30
[3.228996]  ata_exec_internal+0x67/0xa0
[3.229000]  sata_pmp_read+0x8d/0xc0
[3.229004]  sata_pmp_read_gscr+0x3c/0xa0
[3.229008]  sata_pmp_attach+0x8b/0x320
[3.229013]  ata_eh_revalidate_and_attach+0x290/0x4c0
[3.229019]  ata_eh_recover+0x6b6/0xb30
[3.229022]  ? ahci_do_hardreset+0x180/0x180 [libahci]
[3.229028]  ? ahci_stop_engine+0xb0/0xb0 [libahci]
[3.229033]  ? ahci_do_softreset+0x290/0x290 [libahci]
[3.229038]  ? trace_event_raw_event_ata_eh_link_autopsy_qc+0xf0/0xf0
[3.229044]  sata_pmp_eh_recover.isra.0+0x214/0x570
[3.229049]  sata_pmp_error_handler+0x23/0x40
[3.229053]  ahci_error_handler+0x43/0x80 [libahci]
[3.229059]  ata_scsi_port_error_handler+0x2ae/0x600
[3.229063]  ata_scsi_error+0x9c/0xd0
[3.229066]  scsi_error_handler+0x9e/0x180
[3.229070]  ? scsi_unjam_host+0x1c0/0x1c0
[3.229073]  kthread+0x127/0x150
[3.229078]  ? set_kthread_struct+0x50/0x50
[3.229082]  ret_from_fork+0x1f/0x30
[3.229088]  
[3.229090] 

[3.229300] ata6.15: Port Multiplier 1.2, 0x197b:0x575f r0, 15 ports, feat 
0x5/0xf
[3.230403] ata6.00: hard resetting link
[3.705094] ata6.00: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[3.705127] ata6.01: hard resetting link
[4.181093] ata6.01: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[4.181127] ata6.02: hard resetting link
[4.657095] ata6.02: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[4.657128] ata6.03: hard resetting link
[5.133093] ata6.03: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[5.133126] ata6.04: hard resetting link
[5.450154] ata6.04: SATA link down (SStatus 0 SControl 330)
[5.450210] ata6.05: hard resetting link
[5.766149] ata6.05: SATA link down (SStatus 0 SControl 330)
[5.766206] ata6.06: hard resetting link
[6.082149] ata6.06: SATA link down (SStatus 0 SControl 330)
[6.082205] ata6.07: hard resetting link
[6.398147] ata6.07: SATA link down (SStatus 0 SControl 330)
[6.398203] ata6.08: hard resetting link
[6.709083] ata6.08: SATA link down (SStatus 0 SControl 330)
[6.709139] ata6.09: hard resetting link
[7.021157] ata6.09: SATA link down (SStatus 0 SControl 330)
[7.021213] ata6.10: hard resetting link
[7.337993] ata6.10: SATA link down (SStatus 0 SControl 330)
[7.338050] ata6.11: hard resetting link
[7.653996] ata6.11: SATA link down (SStatus 0 SControl 330)
[7.654053] ata6.12: hard resetting link
[7.970174] ata6.12: SATA link down (SStatus 0 SControl 330)
[7.970230] ata6.13: hard resetting link
[8.286146] ata6.13: SATA link down (SStatus 0 SControl 330)
[8.286202] ata6.14: hard resetting link
[8.602168] ata6.14: SATA link down (SStatus 0 SControl 330)
[8.602719] ata6.00: ATA-9: WDC WD40EFRX-68WT0N0, 80.00A80, max UDMA/133
[8.603005] ata6.00: ATA Identify Device Log not supported
[8.603012] ata6.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 32), AA
[8.604194] ata6.00: ATA Identify Device Log not supported
[8.604204] ata6.00: configured for UDMA/133
[8.604767] ata6.01: ATA-9: WDC WD80EMAZ-00WJTA0, 83.H0A83, max UDMA/133
[   18.870432] ata6.01: 15628053168 sectors, multi 0: LBA48 NCQ (depth 32), AA
[   19.148337] ata6.01: Features: NCQ-sndrcv NCQ-prio
[   19.402797] ata6.01: configured for UDMA/133
[   19.403423] ata6.02: ATA-9: WDC WD80EMAZ-00WJTA0, 83.H0A83, max UDMA/133
[   29.928054] ata6.02: 15628053168 sectors, multi 0: LBA48 NCQ (depth 32), AA
[   30.185317] ata6.02: Features: NCQ-sndrcv NCQ-prio
[   30.196587] ata6.02: configured for UDMA/133
[   30.197169] ata6.03: ATA-9: WDC WD40EFRX-68WT0N0, 80.00A80, max UDMA/133
[   30.197555] ata6.03: ATA Identify Device Log not supported

[Kernel-packages] [Bug 1510344] Re: Keyboard Backlight Turns on at boot

2016-05-08 Thread Anders Trier Olesen
This workaround worked for me on a Dell Latitude E5530 running Ubuntu 16.04.
In the file:
/etc/dbus-1/system.d/org.freedesktop.UPower.conf
change:

to:


and reboot.
Source: 
https://askubuntu.com/questions/700069/keyboard-backlight-turns-on-after-lock-screen-display-on

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

Title:
  Keyboard Backlight Turns on at boot

Status in Dell Sputnik:
  Confirmed
Status in One Hundred Papercuts:
  Confirmed
Status in Linux:
  New
Status in linux package in Ubuntu:
  Triaged

Bug description:
  System: Dell XPS 13 9343

  Action: Boot computer

  Expected Behavior: Keyboard backlight would be off when computer is
  booted

  Actual Behavior: Keyboard backlight is on at boot

  This did not happen with Ubuntu 15.04

  There are new files in Ubuntu 15.10 -
  /sys/class/leds/dell::kbd_backlight$

  cat stop_timeout
  60s

   cat start_triggers 
  +keyboard +touchpad

  cat trigger 
  [none] AC-online BAT0-charging-or-full BAT0-charging BAT0-full 
BAT0-charging-blink-full-solid usb-gadget usb-host cpu0 cpu1 cpu2 cpu3 mmc0 
rfkill0

  cat brightness 
  2

  ---

  Unsure if these files are important, but included in the report

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.1.0-2-generic 4.1.0-2.2
  ProcVersionSignature: Ubuntu 4.1.0-2.2-generic 4.1.3
  Uname: Linux 4.1.0-2-generic x86_64
  ApportVersion: 2.18-0ubuntu5
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  ubuntu 2488 F pulseaudio
   /dev/snd/controlC0:  ubuntu 2488 F pulseaudio
  CasperVersion: 1.362
  CurrentDesktop: Unity
  Date: Tue Oct 27 01:29:47 2015
  IwConfig:
   enx00249b0981e3  no wireless extensions.
   
   lono wireless extensions.
  LiveMediaBuild: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150730)
  MachineType: Dell Inc. XPS 13 9343
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi 
file=/cdrom/preseed/username.seed boot=casper quiet splash --- 
cdrom-detect/try-usb=true noprompt
  RelatedPackageVersions:
   linux-restricted-modules-4.1.0-2-generic N/A
   linux-backports-modules-4.1.0-2-generic  N/A
   linux-firmware   1.145
  RfKill:
   0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
  SourcePackage: linux
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/14/2015
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A05
  dmi.board.name: 0TM99H
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA05:bd07/14/2015:svnDellInc.:pnXPS139343:pvr:rvnDellInc.:rn0TM99H:rvrA00:cvnDellInc.:ct9:cvr:
  dmi.product.name: XPS 13 9343
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1510344/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp