Bug 26610 - MegaRAID SAS 1078 virtual disks not recognized during system boot
Summary: MegaRAID SAS 1078 virtual disks not recognized during system boot
Status: NEW
Alias: None
Product: Infrastructure
Classification: Unclassified
Component: BuildSystem (show other bugs)
Version: unspecified
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-12 01:06 CEST by Christophe PEZEYRE
Modified: 2020-05-15 23:32 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Full output of dmesg (91.74 KB, text/plain)
2020-05-12 01:06 CEST, Christophe PEZEYRE
Details

Description Christophe PEZEYRE 2020-05-12 01:06:06 CEST
Created attachment 11636 [details]
Full output of dmesg

After installing the latest version of Mageia, the system takes almost 3 minutes to launch and I no longer have access to my data hard drives.
  The system installer however had good access to my disks during installation because the fstab is well informed.
All return to normal after having put a kernel earlier than version 5.2.
Environment:
CM: gigabyte X99-ud4
Processor: Intel (R) Xeon (R) CPU E5-1620 v3 @ 3.50GHz
RAM: 2 x 4 GB
System disk: Samsung SSD 850 (ext4 + ntfs DUAL BOOT)
Data disks: MegaRAID SAS 1078, 2 virtual (ext4 + ntfs) 4DD in raid 5 mode.
OS: Mageia 7 x86-64 - Plasma

Dmesg output extract:

With Mageia kernel (default) x86_64 5.6.8-desktop-1.mga7
reproducible at each start:

[code=BASH]
[  215.594857] scsi 6:0:0:0: TASK ABORT not supported
[  215.600846] scsi 6:0:0:0: TARGET RESET not supported
[  215.600851] scsi 6:0:0:0: tag#128 OCR is requested due to IO timeout!!
[  215.600854] scsi 6:0:0:0: tag#128 SCSI host state: 5  SCSI host busy: 1  FW outstanding: 1
[  215.600857] scsi 6:0:0:0: tag#128 megasas: RESET cmd=12 retries=0
[  215.600860] megaraid_sas 0000:03:00.0: [ 0]waiting for 1 commands to complete
[  216.607841] megaraid_sas 0000:03:00.0: megasas_wait_for_outstanding:2812 no more pending commands remain after reset handling.
[  216.607844] megaraid_sas 0000:03:00.0: reset successful
[  238.111824] scsi 6:0:0:0: Device offlined - not ready after error recovery
[  246.815847] INFO: task systemd-udevd:406 blocked for more than 122 seconds.
[  246.815853]       Tainted: P           O      5.6.8-desktop-1.mga7 #1
[  246.815855] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  246.815857] systemd-udevd   D    0   406      1 0x80000000
[  246.815860] Call Trace:
[  246.815873]  ? __schedule+0x276/0x710
[  246.815880]  schedule+0x40/0xb0
[  246.815884]  schedule_timeout+0x208/0x300
[  246.815891]  ? check_preempt_wakeup+0x18d/0x230
[  246.815894]  wait_for_completion+0xad/0x130
[  246.815899]  ? wake_up_q+0xa0/0xa0
[  246.815904]  __flush_work+0x123/0x1d0
[  246.815907]  ? worker_detach_from_pool+0xa0/0xa0
[  246.815911]  work_on_cpu+0x6b/0x90
[  246.815914]  ? workqueue_congested+0x80/0x80
[  246.815921]  ? pci_device_shutdown+0x60/0x60
[  246.815923]  pci_device_probe+0x197/0x1b0
[  246.815930]  really_probe+0x1c2/0x3e0
[  246.815934]  driver_probe_device+0xd2/0x110
[  246.815937]  device_driver_attach+0x4f/0x60
[  246.815941]  __driver_attach+0x86/0x140
[  246.815943]  ? device_driver_attach+0x60/0x60
[  246.815946]  ? device_driver_attach+0x60/0x60
[  246.815949]  bus_for_each_dev+0x77/0xc0
[  246.815952]  bus_add_driver+0x14d/0x1f0
[  246.815956]  ? 0xffffffffc0234000
[  246.815959]  driver_register+0x6b/0xb0
[  246.815961]  ? 0xffffffffc0234000
[  246.815977]  megasas_init+0xd7/0x1000 [megaraid_sas]
[  246.815983]  do_one_initcall+0x46/0x200
[  246.815987]  ? _cond_resched+0x15/0x30
[  246.815991]  ? kmem_cache_alloc_trace+0x1cf/0x210
[  246.815996]  do_init_module+0x5a/0x220
[  246.815999]  load_module+0x224d/0x2580
[  246.816006]  ? vmap_page_range_noflush+0x251/0x350
[  246.816011]  ? __do_sys_init_module+0x13a/0x190
[  246.816013]  __do_sys_init_module+0x13a/0x190
[  246.816019]  do_syscall_64+0x5f/0x220
[  246.816024]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  246.816027] RIP: 0033:0x7f2f9f931e5a
[  246.816034] Code: Bad RIP value.
[  246.816036] RSP: 002b:00007ffcdc9ce128 EFLAGS: 00000206 ORIG_RAX: 00000000000000af
[  246.816039] RAX: ffffffffffffffda RBX: 00000000005f7ae0 RCX: 00007f2f9f931e5a
[  246.816040] RDX: 00007f2f9f5a284d RSI: 000000000004b168 RDI: 00007f2f9e359010
[  246.816041] RBP: 00007f2f9f5a284d R08: 00000000005e9ab0 R09: 00000000005c601a
[  246.816043] R10: 0000000000000005 R11: 0000000000000206 R12: 00007f2f9e359010
[  246.816044] R13: 00000000005eb740 R14: 0000000000020000 R15: 00000000005f7ae0
[  369.695847] INFO: task systemd-udevd:406 blocked for more than 245 seconds.
[  369.695855]       Tainted: P           O      5.6.8-desktop-1.mga7 #1
[  369.695856] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[/code]



With core Mageia x86_64 5.1.20-desktop-2.mga7
correct functioning:

[code=BASH]
[   59.134673] megaraid_sas 0000:03:00.0: 59120 (boot + 88s/0x0008/FATAL) - Battery has failed and cannot support data retention. Please replace the battery 

[/code]
Comment 1 papoteur 2020-05-15 23:32:05 CEST
Sysadmin is not the good assignee. Kernel is certainly better.

Assignee: sysadmin-bugs => kernel
CC: (none) => yves.brungard_mageia


Note You need to log in before you can comment on or make changes to this bug.