Having trouble building kernel to debug suspend/resume

Brad Figg brad.figg at canonical.com
Tue Jun 2 22:16:08 UTC 2015


On Mon, Jun 01, 2015 at 06:10:41PM -0700, Tabor Kelly wrote:
> Hello,
> 
> I'm trying to debug kerrnel panics on suspend/resume on a Dell XPS 13
> laptop. In the process I am attempting to set CONFIG_USB_SERIAL=y,
> CONFIG_USB_SERIAL_CONSOLE=y, and CONFIG_USB_SERIAL_PL2303=y (I do have
> a pl2303 adapter) as described here:
> https://wiki.ubuntu.com/Kernel/KernelDebuggingTricks
> 
> However, now when I try to build the kernel (as described here
> https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel) I get the following
> errors (after 'fakeroot debian/rules binary-headers binary-generic'):
> Debug: module-check-generic
> install -d /work/ubuntu-vivid/debian.master/abi/3.19.0-18.18/amd64
> find /work/ubuntu-vivid/debian/build/build-generic/ -name \*.ko | \
> sed -e 's/.*\/\([^\/]*\)\.ko/\1/' | sort >
> /work/ubuntu-vivid/debian.master/abi/3.19.0-18.18/amd64/generic.modules
> II: Checking modules for generic...
>    reading new modules...read 4280 modules.
>    reading old modules...
>       MISS: pl2303
>       MISS: usbserial
>       read 4282 modules : new(0)  missing(2)
> EE: Missing modules (start begging for mercy)
> debian/rules.d/4-checks.mk:12: recipe for target 'module-check-generic' failed
> 
> I did modify debian.master/config/config.common.ubuntu by hand. I
> would love to rename the kernel to something special, but I am not
> sure how. I did notice that it looks like the name comes from
> UNAME_RELEASE, but I couldn't figure out where or how it gets set.
> 
> Any help would be greatly appreciated. Thanks,
> 
> Tabor
> 
> PS - I'm trying to build the Ubuntu-3.19.0-18.18 tag from the git repo.
> PPS -  I'm running Xubuntu 15.04 and 3.19.0-18-generic #18-Ubuntu SMP
> Tue May 19 18:31:35 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux,
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

Try: (some of this you have already done)

$ git clone git://kernel.ubuntu.com/ubuntu/ubuntu-vivid
$ cd ubuntu-vivid
$ vi debian.master/changelog
  . change '3.19.0-20.20' to '3.19.0-20.20~tkelly01'
    WARNING: After the '~' stick to numbers and alpha chars. Other chars my
break
             the build in odd ways.
$ echo 'CONFIG_USB_SERIAL=y' >> debian.master/config/config.common.ubuntu
$ echo 'CONFIG_USB_SERIAL_CONSOLE=y' >> debian.master/config/config.common.ubuntu
$ echo 'CONFIG_USB_SERIAL_PL2303=y' >> debian.master/config/config.common.ubuntu
$ fdr clean
$ fdr updateconfigs
$ fdr binary-headers binary-generic skipabi=true skipmodule=true

-- 
Brad Figg brad.figg at canonical.com http://www.canonical.com




More information about the kernel-team mailing list