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

Bug#672891: brcmsmac wireless brcms_c_wait_for_tx_completion warning



Touko Korpela wrote:
> On Mon, May 14, 2012 at 05:11:48PM -0500, Jonathan Nieder wrote:

>> commit 5e379203c7788b7af01150bfadbc74d2797a2ef4 upstream.
>
> Patch looks promising but following above instructions I failed to build
> patched 686-pae flavour i386 kernel using amd64 system (and not possible to build on
> target machine because lack of space).

Easiest way is probably to set up a 32-bit chroot.

Here are some alternative instructions. :)

 0. prerequisites:

	apt-get install git build-essential gcc-multilib

 1. get a copy of the kernel history, if you don't 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, test:

	git checkout stable/linux-3.2.y
	ssh target-system 'cat /boot/config-$(uname -r)' >.config
	scripts/config --disable DEBUG_INFO
	make ARCH=i386; # optionally with -j<num> for parallel build
	make ARCH=i386 deb-pkg
	scp ../<name of package> target-system:
	ssh root@target-system dpkg -i <package>
	ssh root@target-system reboot

    Hopefully it reproduces the bug.  So:

 4. try the patch:

	git am -3sc /path/to/patch
	make ARCH=i386; # maybe with -j4
	scp ../<name of package> target-system:
	ssh root@target-system dpkg -i <package>
	ssh root@target-system reboot

Hope that helps,
Jonathan



Reply to: