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

Bug#620216: kernel hangs with XFS



reassign 620216 src:linux-2.6 2.6.38-1
severity 655353 important
forwarded 655353 https://bugzilla.kernel.org/show_bug.cgi?id=32342
forcemerge 655353 620216
quit

Hi Thomas,

Thomas Prokosch wrote[1]:

> For reference purposes, the problem seems to be fixed:
> - http://comments.gmane.org/gmane.comp.file-systems.xfs.general/41907
> - http://bugs.debian.org/655353
> - https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=17b3847
>
> I am currently testing the new kernel, but so far the bug did not emerge.
[...]
> It seems that the above patch really fixed this bug - even under heavy load,
> the kernel does not stall any more.
 
Nice.  Thanks much!

It would be nice to get this fixed in the 2.6.32.y series, too.  Would
you be able to test the patch from <http://bugs.debian.org/655353#10>?
It works like this:

 0. Prerequisites:

	apt-get install git build-essential

 1. Grab a copy of the stable kernel series:

	git clone -o stable \
	 git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git \
	 linux
	cd linux

    Or, if you already have a clone of the kernel repository:

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

 2. Check out the 2.6.32.y series:

	git checkout stable/linux-2.6.32.y
	cp /boot/config-$(uname -r) .config; # use current configuration
	make localmodconfig; # optional: minimize configuration
	make; # optionally with -j<num> for parallel build
	fakeroot -u make deb-pkg
	dpkg -i ../<name of package>
	reboot

    Hopefully it reproduces the problem.

 3. Apply and test patch:

	git apply --index thepatch
	make; # maybe with -j4
	fakeroot -u make deb-pkg
	dpkg -i ../<name of package>
	reboot

If it works, we can apply the patch in squeeze and send the patch to
Greg for application to upstream 2.6.32.y kernels, so everyone
benefits.

If you have any questions, just ask.

Jonathan



Reply to: