[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#682233: mpt2sas: kernel crash under load with hanged disks



tags 682233 + upstream patch pending
quit

Hi,

George Shuklin wrote:

> I think this commit is somehow related to that problem:
>
> commit 14216561e164671ce147458653b1fea06a4ada1e
> Author: James Bottomley <JBottomley@Parallels.com>
> Date:   Wed Jul 25 23:55:55 2012 +0400
>
>     [SCSI] Fix 'Device not ready' issue on mpt2sas

Sounds plausible.  That patch was applied upstream as v3.2.30~126, so
please test 3.2.30-1 once it is available.

If impatient before then:

 0. prerequisites:

	apt-get install git build-essential

 1. get the kernel history, if you do not already have it:

	git clone \
	  git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

 2. fetch point releases:

	cd linux
	git remote add stable \
	  git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
	git fetch stable

 3. configure, build, attempt to reproduce the bug:

	git checkout v3.2.29
	cp /boot/config-$(uname -r) .config; # current configuration
	scripts/config --disable DEBUG_INFO
	make localmodconfig; # optional: minimize configuration
	make deb-pkg; # optionally with -j<num> for parallel build
	dpkg -i ../<name of package>; # as root
	reboot
	... test test test ...

    Hopefully it reproduces the bug.  So

 4. update:

	cd linux
	git merge stable/linux-3.2.y
	make deb-pkg; # maybe with -j4
	dpkg -i ../<name of package>; # as root
	reboot
	... test test test ...

Thanks again for your help and patience.

Sincerely,
Jonathan


Reply to: