kernel 3.10.0-862.6.3 hanging when loading raid

Issues related to applications and software problems
q7joey
Posts: 11
Joined: 2018/07/04 05:34:19

Re: kernel 3.10.0-862.6.3 hanging when loading raid

Post by q7joey » 2018/07/05 15:54:12

no fake raid. boot/os drive is normal sata mdraid. storage volumes are lvm raid10 on multipath'd sas drives.

q7joey
Posts: 11
Joined: 2018/07/04 05:34:19

Re: kernel 3.10.0-862.6.3 hanging when loading raid

Post by q7joey » 2018/07/05 16:23:35

i set up a test box and created a volume group (vg) with 12 devices in it, then did this:

lvcreate -m 1 -i 6 --size=1G --name v0 vg

to create a raid10 that should use all 12 drives (6 stripes with 1 mirror)

and that crashed the system (blinking caps/num lock)

i'll try a few other variations to see what happens.

q7joey
Posts: 11
Joined: 2018/07/04 05:34:19

Re: kernel 3.10.0-862.6.3 hanging when loading raid

Post by q7joey » 2018/07/05 16:33:09

reduced vg to 2 drives, and then:

vgreate -m 1 -i 1 --size=100M --name=v0 vg

also causes crash.

q7joey
Posts: 11
Joined: 2018/07/04 05:34:19

Re: kernel 3.10.0-862.6.3 hanging when loading raid

Post by q7joey » 2018/07/05 16:47:35

lvcreate -m 1 --size=10M --name=v0 vg

also crashes. these last tests were all just using loop devices.

seems like this should be enough info to work on.

should i submit an upstream bug, or does the centos group handle that nowadays? i'm not a paid upstream customer.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: kernel 3.10.0-862.6.3 hanging when loading raid

Post by avij » 2018/07/05 17:12:37

Please file a bug at bugzilla.redhat.com: Red Hat > Red Hat Enterprise Linux 7 > component kernel. You can mention that you are using CentOS.

q7joey
Posts: 11
Joined: 2018/07/04 05:34:19

Re: kernel 3.10.0-862.6.3 hanging when loading raid

Post by q7joey » 2018/07/05 22:08:01

https://bugzilla.redhat.com/show_bug.cgi?id=1598587

i'm going to try and capture some kernel panic screenshots to upload to the bug. if anyone else has data to add, feel free (assuming the bug is public).

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: kernel 3.10.0-862.6.3 hanging when loading raid

Post by TrevorH » 2018/07/05 22:59:58

Kernel bugs are automatically marked private. As the reporter, you can add email addresses of other bugzilla account holders to the list and they can then see it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: kernel 3.10.0-862.6.3 hanging when loading raid

Post by avij » 2018/07/07 11:23:12

https://bugs.centos.org/view.php?id=15013 and the linked pages may be relevant to this issue.

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: kernel 3.10.0-862.6.3 hanging when loading raid

Post by toracat » 2018/07/07 17:11:54

A couple of potential patches to fix the issue have been submitted by @pgreco. Centosplus kernels that include the patch (either v1 or v2) are available here:

Patch version1: https://people.centos.org/toracat/kerne ... ug15013v1/

Patch version2: https://people.centos.org/toracat/kerne ... ug15013v2/

Please test if you can.
CentOS Forum FAQ

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: kernel 3.10.0-862.6.3 hanging when loading raid

Post by hunter86_bg » 2018/07/08 12:55:37

Just tested this on RHEL 7 -> the issue is not CentOS specific:

Code: Select all

# lvdisplay -m /dev/storage/videos 
  --- Logical volume ---
  LV Path                /dev/storage/videos
  LV Name                videos
  VG Name                storage
  LV UUID                NtogQP-VvB3-OTCc-3R73-KvUi-GM1C-NuE25Q
  LV Write Access        read/write
  LV Creation host, time Desktop, 2017-10-17 23:22:23 +0300
  LV Status              available
  # open                 1
  LV Size                150.00 GiB
  Current LE             38400
  Mirrored volumes       4
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     8192
  Block device           253:10
   
  --- Segments ---
  Logical extents 0 to 38399:
    Type		raid10
    Monitoring		monitored
    Raid Data LV 0
      Logical volume	videos_rimage_0
      Logical extents	0 to 38399
    Raid Data LV 1
      Logical volume	videos_rimage_1
      Logical extents	0 to 38399
    Raid Data LV 2
      Logical volume	videos_rimage_2
      Logical extents	0 to 38399
    Raid Data LV 3
      Logical volume	videos_rimage_3
      Logical extents	0 to 38399
    Raid Metadata LV 0	videos_rmeta_0
    Raid Metadata LV 1	videos_rmeta_1
    Raid Metadata LV 2	videos_rmeta_2
    Raid Metadata LV 3	videos_rmeta_3

Code: Select all

# lvdisplay -m /dev/storage/virtio 
  --- Logical volume ---
  LV Path                /dev/storage/virtio
  LV Name                virtio
  VG Name                storage
  LV UUID                XJY2TL-ReKQ-F9F6-7x5c-3DuE-Bhu9-9x3mAq
  LV Write Access        read/write
  LV Creation host, time Desktop, 2017-12-10 21:29:58 +0200
  LV Status              available
  # open                 1
  LV Size                650.00 GiB
  Current LE             166400
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     65536
  Block device           253:15
   
  --- Segments ---
  Logical extents 0 to 166399:
    Type		raid0
    Monitoring		not monitored
    Raid Data LV 0
      Logical volume	virtio_rimage_0
      Logical extents	0 to 41599
    Raid Data LV 1
      Logical volume	virtio_rimage_1
      Logical extents	0 to 41599
    Raid Data LV 2
      Logical volume	virtio_rimage_2
      Logical extents	0 to 41599
    Raid Data LV 3
      Logical volume	virtio_rimage_3
      Logical extents	0 to 41599

Post Reply