Bug 683131

Summary: Kernel panic right after raid is stopped
Product: Red Hat Enterprise Linux 6 Reporter: Przemyslaw Hawrylewicz-Czarnowski <przemyslaw.hawrylewicz.czarnowski>
Component: kernelAssignee: Red Hat Kernel Manager <kernel-mgr>
Status: CLOSED DUPLICATE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: dan.j.williams, dledford, ed.ciechanowski, krzysztof.wojcik
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-08 17:04:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
SCreen shot with panic message
none
Another photo of panic (poor quality) none

Description Przemyslaw Hawrylewicz-Czarnowski 2011-03-08 16:18:52 UTC
Created attachment 482942 [details]
SCreen shot with panic message

Description of problem:
Kernel panic occurs quite often, right after mdadm -Ss command is invoked.
Seems, that raid is correctly stopped (all devices are exported correctly)

Version-Release number of selected component (if applicable):
Output from uname -a:
Linux gklab-128-053 2.6.32-118.el6.x86_64 #1 SMP Tue Feb 22 11:15:55 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

How reproducible:
(often)

Steps to Reproduce:
eg. use this script:
#!/bin/bash -x
Create any container and raid:
#create container (optional)
mdadm -C /dev/md/imsm0 -e imsm -n 3 /dev/sd[a-c] -R
#create array
mdadm -C /dev/md/raid5 -l 5 -c 64 -z max -n 3 /dev/sd[a-c] -R
# create simple config file
mdadm -Esb > /etc/mdadm.conf

#stop array
mdadm -Ss
while true ; do
  # assemble
  mdadm -As
  # wait a moment
  sleep 1
  # stop
  mdadm -Ss
  # uncomment
  # echo "press any key"
  # read -n 1
done
exit 0

Actual results:
Console hangs with kernel panic (see attached screenshot)

Expected results:
Raid is stopped and no kernel panic occurs

Additional info:
mdadm 3.2 is used.

Comment 2 Przemyslaw Hawrylewicz-Czarnowski 2011-03-08 16:40:58 UTC
Created attachment 482947 [details]
Another photo of panic (poor quality)

Comment 3 Doug Ledford 2011-03-08 17:04:53 UTC

*** This bug has been marked as a duplicate of bug 679214 ***