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

Bug#535571: kernel unaligned access copy_to_user_state with IPSec

ja nein wrote:

> Do i have to build them by my own or are they available as dpkg's
> somewhere...?
> I've got a sparc machine as spare, so I could go and test, etc.

Good catch.  It seems that debug kernels are only automatically built
for i386 and amd64 (presumably because those are the platforms where
people are most likely to be using systemtap).  Sorry about that.

If you have a chance to build a kernel from source, I'd suggest using
a recent mainline kernel, which would make it easier to get help from

	$ apt-get install git-core build-essential
	$ git clone git://github.com/torvalds/linux.git
	$ cd linux
	$ cp /boot/config-$(uname -r) .config
	$ yes "" | make localmodconfig; # minimal configuration
	$ make deb-pkg
	# dpkg -i ../linux-image-<version>.deb

The kernel modules gdb can use will be in .ko files scattered under
the linux/ source dir which you can find with commands like

	$ find . -name .git -prune -o -name \*.ko -print


Reply to: