On Mon, Feb 2, 2015 at 8:56 PM,  <sf...@users.sourceforge.net> wrote:
> [steps to build kernel]

Thanks for posting the steps.  I'm following them now.

> - get all source files of ubuntu trusty and build as it is
>   $ git clone git://kernel.ubuntu.com/ubuntu/ubuntu-trusty.git
>   $ cd ubuntu-trusty
>   $ fakeroot make-kpkg --uc --us --config silentoldconfig configure

That failed with "no config found", so I repeated it after doing
$ cp -vi /boot/config-`uname -r` .config
It then asked two questions; I said yes to X86_16BIT and no to
IPMI_SI_PROBE_DEFAULTS.

>   $ fakeroot make-kpkg --uc --us --append_to_version -aufsD --revision `date 
> +%y%m%d%H%M` kernel_image
>   (lots of time and space are necessary)

That failed quickly, complaining that -aufsD had an uppercase char, so
I fixed by lowercasing the aufsD:

$ fakeroot make-kpkg --uc --us --append_to_version -aufsd --revision
`date +%y%m%d%H%M` kernel_image

I'll follow the rest of the steps after the build finishes.

> - install the built kernel pkg
>   $ dpkg -i ../linux-image-....deb
> - reboot
> - make sure you can receive "kern.debug" logs
>   $ logger -p kern.debug testing
>   check the kernel log
> - reproduce the problem, in order to make sure
>   check the kernel log
>
> - enable debugging
>   $ cd ubuntu-trusty
>   $ make menuconfig
>     enable CONFIG_AUFS_DEBUG
>     (menu) "Ubuntu Supplied Third-Party Device Drivers"
>            --> "Aufs (Advanced multi layered unification filesystem) support"
>                --> "Debug aufs"
> - re-run "make-kpkg ... kernel_image" and re-install the pkg
> - reboot
> - reproduce the problem
>   check the kernel log
>
> - apply the patch in
>   http://www.mail-archive.com/aufs-users@lists.sourceforge.net/msg04991.html
> - re-run "make-kpkg ... kernel_image" and re-install the pkg
> - reboot
> - reproduce the problem
>   check the kernel log
>
>
>> If it would be helpful, I can figure out have to give you ssh access to
>> this VM if you want to provide me with an SSH public to add.
>
> Can I reboot the system and check the log anytime via ssh?
> If so, I will send my public key privately.
>
>
> J. R. Okajima

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/

Reply via email to