[Kernel-packages] [Bug 1821434] Re: Panic on suspend/resume Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40

2019-04-21 Thread Valentin Manea
Yes, it looks like that. I've done some more testing and it seems if a
fs is mounted on a device attached to the ASM1062 SATA ports it will
also oops with your patch.

-- 
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/1821434

Title:
  Panic on suspend/resume Kernel panic - not syncing: stack-protector:
  Kernel stack is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  With efi-pstore activated I get the following panic in Linux 4.15.0-46
  after resume:

  <6>[12007.593358] ata10.01: SATA link down (SStatus 0 SControl 330)
  <6>[12007.593469] ata10.02: hard resetting link
  <6>[12007.908353] ata10.02: SATA link down (SStatus 0 SControl 330)
  <6>[12007.911149] ata10.00: configured for UDMA/133
  <0>[12007.972508] Kernel panic - not syncing: stack-protector: Kernel stack 
is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40
  <0>[12007.972508]
  <4>[12007.972515] CPU: 2 PID: 230 Comm: scsi_eh_9 Tainted: P   OE
4.15.0-46-generic #49-Ubuntu
  <4>[12007.972517] Hardware name: System manufacturer System Product 
Name/A320M-C, BIOS 1001 12/10/2017
  <4>[12007.972518] Call Trace:
  <4>[12007.972525]  dump_stack+0x63/0x8b
  <4>[12007.972530]  panic+0xe4/0x244
  <4>[12007.972533]  ? sata_pmp_eh_recover+0xa2b/0xa40
  <4>[12007.972536]  __stack_chk_fail+0x19/0x20
  <4>[12007.972538]  sata_pmp_eh_recover+0xa2b/0xa40
  <4>[12007.972543]  ? ahci_do_softreset+0x260/0x260 [libahci]
  <4>[12007.972545]  ? ahci_do_hardreset+0x140/0x140 [libahci]
  <4>[12007.972547]  ? ata_phys_link_offline+0x60/0x60
  <4>[12007.972549]  ? ahci_stop_engine+0xc0/0xc0 [libahci]
  <4>[12007.972552]  sata_pmp_error_handler+0x22/0x30
  <4>[12007.972554]  ahci_error_handler+0x45/0x80 [libahci]
  <4>[12007.972556]  ata_scsi_port_error_handler+0x29b/0x770
  <4>[12007.972558]  ? ata_scsi_cmd_error_handler+0x101/0x140
  <4>[12007.972559]  ata_scsi_error+0x95/0xd0
  <4>[12007.972562]  ? scsi_try_target_reset+0x90/0x90
  <4>[12007.972563]  scsi_error_handler+0xd0/0x5b0
  <4>[12007.972566]  kthread+0x121/0x140
  <4>[12007.972567]  ? scsi_eh_get_sense+0x200/0x200
  <4>[12007.972569]  ? kthread_create_worker_on_cpu+0x70/0x70
  <4>[12007.972572]  ret_from_fork+0x22/0x40
  <0>[12007.972591] Kernel Offset: 0xcc0 from 0x8100 
(relocation range: 0x8000-0xbfff)

  I have also tried 4.18 and 4.20 from 
https://kernel.ubuntu.com/~kernel-ppa/mainline/ but I get the same problem. The 
problem seems to be related to an add-on PCI-E SATA card:
  22:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA 
Controller (rev 02)

  
  When disks are connected to the card port -> panic, no disks connected -> no 
panic.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1821434/+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


[Kernel-packages] [Bug 1821434] Re: Panic on suspend/resume Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40

2019-04-11 Thread Valentin Manea
I think it's your kernel, I never shut it down after the upgrade and it
has this build date: 4.15.0-47-generic #50 SMP Mon Mar 25 15:56:04 CST
2019 x86_64 x86_64 x86_64 GNU/Linux

-- 
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/1821434

Title:
  Panic on suspend/resume Kernel panic - not syncing: stack-protector:
  Kernel stack is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  With efi-pstore activated I get the following panic in Linux 4.15.0-46
  after resume:

  <6>[12007.593358] ata10.01: SATA link down (SStatus 0 SControl 330)
  <6>[12007.593469] ata10.02: hard resetting link
  <6>[12007.908353] ata10.02: SATA link down (SStatus 0 SControl 330)
  <6>[12007.911149] ata10.00: configured for UDMA/133
  <0>[12007.972508] Kernel panic - not syncing: stack-protector: Kernel stack 
is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40
  <0>[12007.972508]
  <4>[12007.972515] CPU: 2 PID: 230 Comm: scsi_eh_9 Tainted: P   OE
4.15.0-46-generic #49-Ubuntu
  <4>[12007.972517] Hardware name: System manufacturer System Product 
Name/A320M-C, BIOS 1001 12/10/2017
  <4>[12007.972518] Call Trace:
  <4>[12007.972525]  dump_stack+0x63/0x8b
  <4>[12007.972530]  panic+0xe4/0x244
  <4>[12007.972533]  ? sata_pmp_eh_recover+0xa2b/0xa40
  <4>[12007.972536]  __stack_chk_fail+0x19/0x20
  <4>[12007.972538]  sata_pmp_eh_recover+0xa2b/0xa40
  <4>[12007.972543]  ? ahci_do_softreset+0x260/0x260 [libahci]
  <4>[12007.972545]  ? ahci_do_hardreset+0x140/0x140 [libahci]
  <4>[12007.972547]  ? ata_phys_link_offline+0x60/0x60
  <4>[12007.972549]  ? ahci_stop_engine+0xc0/0xc0 [libahci]
  <4>[12007.972552]  sata_pmp_error_handler+0x22/0x30
  <4>[12007.972554]  ahci_error_handler+0x45/0x80 [libahci]
  <4>[12007.972556]  ata_scsi_port_error_handler+0x29b/0x770
  <4>[12007.972558]  ? ata_scsi_cmd_error_handler+0x101/0x140
  <4>[12007.972559]  ata_scsi_error+0x95/0xd0
  <4>[12007.972562]  ? scsi_try_target_reset+0x90/0x90
  <4>[12007.972563]  scsi_error_handler+0xd0/0x5b0
  <4>[12007.972566]  kthread+0x121/0x140
  <4>[12007.972567]  ? scsi_eh_get_sense+0x200/0x200
  <4>[12007.972569]  ? kthread_create_worker_on_cpu+0x70/0x70
  <4>[12007.972572]  ret_from_fork+0x22/0x40
  <0>[12007.972591] Kernel Offset: 0xcc0 from 0x8100 
(relocation range: 0x8000-0xbfff)

  I have also tried 4.18 and 4.20 from 
https://kernel.ubuntu.com/~kernel-ppa/mainline/ but I get the same problem. The 
problem seems to be related to an add-on PCI-E SATA card:
  22:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA 
Controller (rev 02)

  
  When disks are connected to the card port -> panic, no disks connected -> no 
panic.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1821434/+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


[Kernel-packages] [Bug 1821434] Re: Panic on suspend/resume Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40

2019-04-11 Thread Valentin Manea
More logs about some failure of resuming the device

** Attachment added: "dmesg-efi-155492430902001"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1821434/+attachment/5254960/+files/dmesg-efi-155492430902001

-- 
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/1821434

Title:
  Panic on suspend/resume Kernel panic - not syncing: stack-protector:
  Kernel stack is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  With efi-pstore activated I get the following panic in Linux 4.15.0-46
  after resume:

  <6>[12007.593358] ata10.01: SATA link down (SStatus 0 SControl 330)
  <6>[12007.593469] ata10.02: hard resetting link
  <6>[12007.908353] ata10.02: SATA link down (SStatus 0 SControl 330)
  <6>[12007.911149] ata10.00: configured for UDMA/133
  <0>[12007.972508] Kernel panic - not syncing: stack-protector: Kernel stack 
is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40
  <0>[12007.972508]
  <4>[12007.972515] CPU: 2 PID: 230 Comm: scsi_eh_9 Tainted: P   OE
4.15.0-46-generic #49-Ubuntu
  <4>[12007.972517] Hardware name: System manufacturer System Product 
Name/A320M-C, BIOS 1001 12/10/2017
  <4>[12007.972518] Call Trace:
  <4>[12007.972525]  dump_stack+0x63/0x8b
  <4>[12007.972530]  panic+0xe4/0x244
  <4>[12007.972533]  ? sata_pmp_eh_recover+0xa2b/0xa40
  <4>[12007.972536]  __stack_chk_fail+0x19/0x20
  <4>[12007.972538]  sata_pmp_eh_recover+0xa2b/0xa40
  <4>[12007.972543]  ? ahci_do_softreset+0x260/0x260 [libahci]
  <4>[12007.972545]  ? ahci_do_hardreset+0x140/0x140 [libahci]
  <4>[12007.972547]  ? ata_phys_link_offline+0x60/0x60
  <4>[12007.972549]  ? ahci_stop_engine+0xc0/0xc0 [libahci]
  <4>[12007.972552]  sata_pmp_error_handler+0x22/0x30
  <4>[12007.972554]  ahci_error_handler+0x45/0x80 [libahci]
  <4>[12007.972556]  ata_scsi_port_error_handler+0x29b/0x770
  <4>[12007.972558]  ? ata_scsi_cmd_error_handler+0x101/0x140
  <4>[12007.972559]  ata_scsi_error+0x95/0xd0
  <4>[12007.972562]  ? scsi_try_target_reset+0x90/0x90
  <4>[12007.972563]  scsi_error_handler+0xd0/0x5b0
  <4>[12007.972566]  kthread+0x121/0x140
  <4>[12007.972567]  ? scsi_eh_get_sense+0x200/0x200
  <4>[12007.972569]  ? kthread_create_worker_on_cpu+0x70/0x70
  <4>[12007.972572]  ret_from_fork+0x22/0x40
  <0>[12007.972591] Kernel Offset: 0xcc0 from 0x8100 
(relocation range: 0x8000-0xbfff)

  I have also tried 4.18 and 4.20 from 
https://kernel.ubuntu.com/~kernel-ppa/mainline/ but I get the same problem. The 
problem seems to be related to an add-on PCI-E SATA card:
  22:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA 
Controller (rev 02)

  
  When disks are connected to the card port -> panic, no disks connected -> no 
panic.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1821434/+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


[Kernel-packages] [Bug 1821434] Re: Panic on suspend/resume Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40

2019-04-11 Thread Valentin Manea
Unfortunately after many successful suspend/resume cycles I got the same crash 
again. Only difference from the previous times seems to have been the system 
under some I/O load, doing a fs scrub.
See attached kernel logs

** Attachment added: "dmesg-efi-155492430901001"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1821434/+attachment/5254959/+files/dmesg-efi-155492430901001

-- 
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/1821434

Title:
  Panic on suspend/resume Kernel panic - not syncing: stack-protector:
  Kernel stack is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  With efi-pstore activated I get the following panic in Linux 4.15.0-46
  after resume:

  <6>[12007.593358] ata10.01: SATA link down (SStatus 0 SControl 330)
  <6>[12007.593469] ata10.02: hard resetting link
  <6>[12007.908353] ata10.02: SATA link down (SStatus 0 SControl 330)
  <6>[12007.911149] ata10.00: configured for UDMA/133
  <0>[12007.972508] Kernel panic - not syncing: stack-protector: Kernel stack 
is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40
  <0>[12007.972508]
  <4>[12007.972515] CPU: 2 PID: 230 Comm: scsi_eh_9 Tainted: P   OE
4.15.0-46-generic #49-Ubuntu
  <4>[12007.972517] Hardware name: System manufacturer System Product 
Name/A320M-C, BIOS 1001 12/10/2017
  <4>[12007.972518] Call Trace:
  <4>[12007.972525]  dump_stack+0x63/0x8b
  <4>[12007.972530]  panic+0xe4/0x244
  <4>[12007.972533]  ? sata_pmp_eh_recover+0xa2b/0xa40
  <4>[12007.972536]  __stack_chk_fail+0x19/0x20
  <4>[12007.972538]  sata_pmp_eh_recover+0xa2b/0xa40
  <4>[12007.972543]  ? ahci_do_softreset+0x260/0x260 [libahci]
  <4>[12007.972545]  ? ahci_do_hardreset+0x140/0x140 [libahci]
  <4>[12007.972547]  ? ata_phys_link_offline+0x60/0x60
  <4>[12007.972549]  ? ahci_stop_engine+0xc0/0xc0 [libahci]
  <4>[12007.972552]  sata_pmp_error_handler+0x22/0x30
  <4>[12007.972554]  ahci_error_handler+0x45/0x80 [libahci]
  <4>[12007.972556]  ata_scsi_port_error_handler+0x29b/0x770
  <4>[12007.972558]  ? ata_scsi_cmd_error_handler+0x101/0x140
  <4>[12007.972559]  ata_scsi_error+0x95/0xd0
  <4>[12007.972562]  ? scsi_try_target_reset+0x90/0x90
  <4>[12007.972563]  scsi_error_handler+0xd0/0x5b0
  <4>[12007.972566]  kthread+0x121/0x140
  <4>[12007.972567]  ? scsi_eh_get_sense+0x200/0x200
  <4>[12007.972569]  ? kthread_create_worker_on_cpu+0x70/0x70
  <4>[12007.972572]  ret_from_fork+0x22/0x40
  <0>[12007.972591] Kernel Offset: 0xcc0 from 0x8100 
(relocation range: 0x8000-0xbfff)

  I have also tried 4.18 and 4.20 from 
https://kernel.ubuntu.com/~kernel-ppa/mainline/ but I get the same problem. The 
problem seems to be related to an add-on PCI-E SATA card:
  22:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA 
Controller (rev 02)

  
  When disks are connected to the card port -> panic, no disks connected -> no 
panic.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1821434/+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


[Kernel-packages] [Bug 1821434] Re: Panic on suspend/resume Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40

2019-03-26 Thread Valentin Manea
This kernel fixes it for me, I can suspend & resume no problem now with
disks attached to the PCI adapter

-- 
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/1821434

Title:
  Panic on suspend/resume Kernel panic - not syncing: stack-protector:
  Kernel stack is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  With efi-pstore activated I get the following panic in Linux 4.15.0-46
  after resume:

  <6>[12007.593358] ata10.01: SATA link down (SStatus 0 SControl 330)
  <6>[12007.593469] ata10.02: hard resetting link
  <6>[12007.908353] ata10.02: SATA link down (SStatus 0 SControl 330)
  <6>[12007.911149] ata10.00: configured for UDMA/133
  <0>[12007.972508] Kernel panic - not syncing: stack-protector: Kernel stack 
is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40
  <0>[12007.972508]
  <4>[12007.972515] CPU: 2 PID: 230 Comm: scsi_eh_9 Tainted: P   OE
4.15.0-46-generic #49-Ubuntu
  <4>[12007.972517] Hardware name: System manufacturer System Product 
Name/A320M-C, BIOS 1001 12/10/2017
  <4>[12007.972518] Call Trace:
  <4>[12007.972525]  dump_stack+0x63/0x8b
  <4>[12007.972530]  panic+0xe4/0x244
  <4>[12007.972533]  ? sata_pmp_eh_recover+0xa2b/0xa40
  <4>[12007.972536]  __stack_chk_fail+0x19/0x20
  <4>[12007.972538]  sata_pmp_eh_recover+0xa2b/0xa40
  <4>[12007.972543]  ? ahci_do_softreset+0x260/0x260 [libahci]
  <4>[12007.972545]  ? ahci_do_hardreset+0x140/0x140 [libahci]
  <4>[12007.972547]  ? ata_phys_link_offline+0x60/0x60
  <4>[12007.972549]  ? ahci_stop_engine+0xc0/0xc0 [libahci]
  <4>[12007.972552]  sata_pmp_error_handler+0x22/0x30
  <4>[12007.972554]  ahci_error_handler+0x45/0x80 [libahci]
  <4>[12007.972556]  ata_scsi_port_error_handler+0x29b/0x770
  <4>[12007.972558]  ? ata_scsi_cmd_error_handler+0x101/0x140
  <4>[12007.972559]  ata_scsi_error+0x95/0xd0
  <4>[12007.972562]  ? scsi_try_target_reset+0x90/0x90
  <4>[12007.972563]  scsi_error_handler+0xd0/0x5b0
  <4>[12007.972566]  kthread+0x121/0x140
  <4>[12007.972567]  ? scsi_eh_get_sense+0x200/0x200
  <4>[12007.972569]  ? kthread_create_worker_on_cpu+0x70/0x70
  <4>[12007.972572]  ret_from_fork+0x22/0x40
  <0>[12007.972591] Kernel Offset: 0xcc0 from 0x8100 
(relocation range: 0x8000-0xbfff)

  I have also tried 4.18 and 4.20 from 
https://kernel.ubuntu.com/~kernel-ppa/mainline/ but I get the same problem. The 
problem seems to be related to an add-on PCI-E SATA card:
  22:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA 
Controller (rev 02)

  
  When disks are connected to the card port -> panic, no disks connected -> no 
panic.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1821434/+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


[Kernel-packages] [Bug 1821434] Re: Panic on suspend/resume Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40

2019-03-23 Thread Valentin Manea
Can't do apport when the crash happens, I get the logs from efi-pstore.

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
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/1821434

Title:
  Panic on suspend/resume Kernel panic - not syncing: stack-protector:
  Kernel stack is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  With efi-pstore activated I get the following panic in Linux 4.15.0-46
  after resume:

  <6>[12007.593358] ata10.01: SATA link down (SStatus 0 SControl 330)
  <6>[12007.593469] ata10.02: hard resetting link
  <6>[12007.908353] ata10.02: SATA link down (SStatus 0 SControl 330)
  <6>[12007.911149] ata10.00: configured for UDMA/133
  <0>[12007.972508] Kernel panic - not syncing: stack-protector: Kernel stack 
is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40
  <0>[12007.972508]
  <4>[12007.972515] CPU: 2 PID: 230 Comm: scsi_eh_9 Tainted: P   OE
4.15.0-46-generic #49-Ubuntu
  <4>[12007.972517] Hardware name: System manufacturer System Product 
Name/A320M-C, BIOS 1001 12/10/2017
  <4>[12007.972518] Call Trace:
  <4>[12007.972525]  dump_stack+0x63/0x8b
  <4>[12007.972530]  panic+0xe4/0x244
  <4>[12007.972533]  ? sata_pmp_eh_recover+0xa2b/0xa40
  <4>[12007.972536]  __stack_chk_fail+0x19/0x20
  <4>[12007.972538]  sata_pmp_eh_recover+0xa2b/0xa40
  <4>[12007.972543]  ? ahci_do_softreset+0x260/0x260 [libahci]
  <4>[12007.972545]  ? ahci_do_hardreset+0x140/0x140 [libahci]
  <4>[12007.972547]  ? ata_phys_link_offline+0x60/0x60
  <4>[12007.972549]  ? ahci_stop_engine+0xc0/0xc0 [libahci]
  <4>[12007.972552]  sata_pmp_error_handler+0x22/0x30
  <4>[12007.972554]  ahci_error_handler+0x45/0x80 [libahci]
  <4>[12007.972556]  ata_scsi_port_error_handler+0x29b/0x770
  <4>[12007.972558]  ? ata_scsi_cmd_error_handler+0x101/0x140
  <4>[12007.972559]  ata_scsi_error+0x95/0xd0
  <4>[12007.972562]  ? scsi_try_target_reset+0x90/0x90
  <4>[12007.972563]  scsi_error_handler+0xd0/0x5b0
  <4>[12007.972566]  kthread+0x121/0x140
  <4>[12007.972567]  ? scsi_eh_get_sense+0x200/0x200
  <4>[12007.972569]  ? kthread_create_worker_on_cpu+0x70/0x70
  <4>[12007.972572]  ret_from_fork+0x22/0x40
  <0>[12007.972591] Kernel Offset: 0xcc0 from 0x8100 
(relocation range: 0x8000-0xbfff)

  I have also tried 4.18 and 4.20 from 
https://kernel.ubuntu.com/~kernel-ppa/mainline/ but I get the same problem. The 
problem seems to be related to an add-on PCI-E SATA card:
  22:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA 
Controller (rev 02)

  
  When disks are connected to the card port -> panic, no disks connected -> no 
panic.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1821434/+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


[Kernel-packages] [Bug 1821434] [NEW] Panic on suspend/resume Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40

2019-03-22 Thread Valentin Manea
Public bug reported:

With efi-pstore activated I get the following panic in Linux 4.15.0-46
after resume:

<6>[12007.593358] ata10.01: SATA link down (SStatus 0 SControl 330)
<6>[12007.593469] ata10.02: hard resetting link
<6>[12007.908353] ata10.02: SATA link down (SStatus 0 SControl 330)
<6>[12007.911149] ata10.00: configured for UDMA/133
<0>[12007.972508] Kernel panic - not syncing: stack-protector: Kernel stack is 
corrupted in: sata_pmp_eh_recover+0xa2b/0xa40
<0>[12007.972508]
<4>[12007.972515] CPU: 2 PID: 230 Comm: scsi_eh_9 Tainted: P   OE
4.15.0-46-generic #49-Ubuntu
<4>[12007.972517] Hardware name: System manufacturer System Product 
Name/A320M-C, BIOS 1001 12/10/2017
<4>[12007.972518] Call Trace:
<4>[12007.972525]  dump_stack+0x63/0x8b
<4>[12007.972530]  panic+0xe4/0x244
<4>[12007.972533]  ? sata_pmp_eh_recover+0xa2b/0xa40
<4>[12007.972536]  __stack_chk_fail+0x19/0x20
<4>[12007.972538]  sata_pmp_eh_recover+0xa2b/0xa40
<4>[12007.972543]  ? ahci_do_softreset+0x260/0x260 [libahci]
<4>[12007.972545]  ? ahci_do_hardreset+0x140/0x140 [libahci]
<4>[12007.972547]  ? ata_phys_link_offline+0x60/0x60
<4>[12007.972549]  ? ahci_stop_engine+0xc0/0xc0 [libahci]
<4>[12007.972552]  sata_pmp_error_handler+0x22/0x30
<4>[12007.972554]  ahci_error_handler+0x45/0x80 [libahci]
<4>[12007.972556]  ata_scsi_port_error_handler+0x29b/0x770
<4>[12007.972558]  ? ata_scsi_cmd_error_handler+0x101/0x140
<4>[12007.972559]  ata_scsi_error+0x95/0xd0
<4>[12007.972562]  ? scsi_try_target_reset+0x90/0x90
<4>[12007.972563]  scsi_error_handler+0xd0/0x5b0
<4>[12007.972566]  kthread+0x121/0x140
<4>[12007.972567]  ? scsi_eh_get_sense+0x200/0x200
<4>[12007.972569]  ? kthread_create_worker_on_cpu+0x70/0x70
<4>[12007.972572]  ret_from_fork+0x22/0x40
<0>[12007.972591] Kernel Offset: 0xcc0 from 0x8100 (relocation 
range: 0x8000-0xbfff)

I have also tried 4.18 and 4.20 from 
https://kernel.ubuntu.com/~kernel-ppa/mainline/ but I get the same problem. The 
problem seems to be related to an add-on PCI-E SATA card:
22:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller 
(rev 02)


When disks are connected to the card port -> panic, no disks connected -> no 
panic.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New

** Description changed:

  With efi-pstore activated I get the following panic in Linux 4.15.0-46
  after resume:
  
  <6>[12007.593358] ata10.01: SATA link down (SStatus 0 SControl 330)
  <6>[12007.593469] ata10.02: hard resetting link
  <6>[12007.908353] ata10.02: SATA link down (SStatus 0 SControl 330)
  <6>[12007.911149] ata10.00: configured for UDMA/133
  <0>[12007.972508] Kernel panic - not syncing: stack-protector: Kernel stack 
is corrupted in: sata_pmp_eh_recover+0xa2b/0xa40
- <0>[12007.972508] 
+ <0>[12007.972508]
  <4>[12007.972515] CPU: 2 PID: 230 Comm: scsi_eh_9 Tainted: P   OE
4.15.0-46-generic #49-Ubuntu
  <4>[12007.972517] Hardware name: System manufacturer System Product 
Name/A320M-C, BIOS 1001 12/10/2017
  <4>[12007.972518] Call Trace:
  <4>[12007.972525]  dump_stack+0x63/0x8b
  <4>[12007.972530]  panic+0xe4/0x244
  <4>[12007.972533]  ? sata_pmp_eh_recover+0xa2b/0xa40
  <4>[12007.972536]  __stack_chk_fail+0x19/0x20
  <4>[12007.972538]  sata_pmp_eh_recover+0xa2b/0xa40
  <4>[12007.972543]  ? ahci_do_softreset+0x260/0x260 [libahci]
  <4>[12007.972545]  ? ahci_do_hardreset+0x140/0x140 [libahci]
  <4>[12007.972547]  ? ata_phys_link_offline+0x60/0x60
  <4>[12007.972549]  ? ahci_stop_engine+0xc0/0xc0 [libahci]
  <4>[12007.972552]  sata_pmp_error_handler+0x22/0x30
  <4>[12007.972554]  ahci_error_handler+0x45/0x80 [libahci]
  <4>[12007.972556]  ata_scsi_port_error_handler+0x29b/0x770
  <4>[12007.972558]  ? ata_scsi_cmd_error_handler+0x101/0x140
  <4>[12007.972559]  ata_scsi_error+0x95/0xd0
  <4>[12007.972562]  ? scsi_try_target_reset+0x90/0x90
  <4>[12007.972563]  scsi_error_handler+0xd0/0x5b0
  <4>[12007.972566]  kthread+0x121/0x140
  <4>[12007.972567]  ? scsi_eh_get_sense+0x200/0x200
  <4>[12007.972569]  ? kthread_create_worker_on_cpu+0x70/0x70
  <4>[12007.972572]  ret_from_fork+0x22/0x40
  <0>[12007.972591] Kernel Offset: 0xcc0 from 0x8100 
(relocation range: 0x8000-0xbfff)
  
  I have also tried 4.18 and 4.20 from 
https://kernel.ubuntu.com/~kernel-ppa/mainline/ but I get the same problem. The 
problem seems to be related to an add-on PCI-E SATA card:
- 24:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge 
(rev 04)
+ 22:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA 
Controller (rev 02)
  
- When disks are connected to the card port -> panic, no disks connected
- -> no panic.
+ 
+ When disks are connected to the card port -> panic, no disks connected -> no 
panic.

-- 
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/1821434

Title: