=== alexlist` is now known as alexlist === AceLan_ is now known as AceLan === shuduo is now known as shuduo_afk === zyga-afk is now known as zyga === shuduo_afk is now known as shuduo [09:12] apw: thanks for the answer a few days ago. I figured the specific binary i needed (to manipulate pstate aggressiveness) x86_energy_perf_policy isn't going to change too much, so i just built it manually and put it in /usr/local/bin. [09:47] when compile kernel ,what is the linux-headers-generic file? how do i create it? [09:48] cetex, np [09:48] baojg, where are you seing linux-headers-generic. that is normally the meta package name [09:49] look [09:49] ii linux-headers-3.13.0-32 3.13.0-32.57 all Header files related to Linux kernel version 3.13.0 [09:49] ii linux-headers-3.13.0-32-generic 3.13.0-32.57 amd64 Linux kernel headers for version 3.13.0 on 64 bit x86 SMP [09:49] ii linux-headers-3.18.20-031820 3.18.20-031820.201508081633 all Header files related to Linux kernel version 3.18.20 [09:49] ii linux-headers-3.18.20-031820-generic 3.18.20-031820.201508081633 amd64 Linux kernel headers for version 3.18.20 on 64 bit x86 SMP [09:49] ii linux-headers-generic 3.13.0.32.38 amd64 Generic Linux kernel headers [09:49] root@41D-CNC-SD:~/linux-stable# [09:50] the 3.13.0-32 is the header file 14.04 install. [09:51] and the 3.18.20-031820 is the file i create when compile aginst kernel 3.18.20 [09:52] baojg, right so that is a package, and generated from the linux-meta source pacakge [09:54] what command i should use to create the package.? [09:56] anothe quesion :i use fakeroot debian/rules binary-indep to create linux-tools-commomn,but it hang when install the usbip bin,can you gave some suggesion? [09:57] baojg, you would need to get the source for linux-meta and set its version to the abi you are using and then build that package [09:57] but installing hte reuslt will opt you out of all later updates from ubuntu [09:58] baojg, not sure i've seen any such hang in any builds i have done, a simple file install doesn't sound like something which should hang, it may be fakeroot related [09:58] but as i say that doesn't happen to me in my experience [10:00] first run,i met that : not found usbip.h file,i correct it.but then the hang occurs. [10:01] i might have more of an idea from the output produced before the hang, perhaps pastebin the output [10:01] i compile 3.18.20 stable kernle to create ubuntu package on 14.04 ubuntu server. [10:02] wait for a while ,please [10:04] cd /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip && make install CFLAGS="-g -O2 -static" CROSS_COMPILE= [10:04] make[1]: Entering directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip' [10:04] Making install in libsrc [10:04] make[2]: Entering directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/libsrc' [10:04] make[3]: Entering directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/libsrc' [10:04] /bin/mkdir -p '/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib' [10:04] /bin/sh ../libtool --mode=install /usr/bin/install -c libusbip.la '/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib' [10:04] libtool: install: /usr/bin/install -c .libs/libusbip.lai /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib/libusbip.la [10:04] libtool: install: /usr/bin/install -c .libs/libusbip.a /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib/libusbip.a [10:04] libtool: install: chmod 644 /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib/libusbip.a [10:04] libtool: install: ranlib /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib/libusbip.a [10:04] libtool: finish: PATH=".:/usr/local/squid/sbin:/usr/local/squid/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/sbin" ldconfig -n /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib [10:04] ---------------------------------------------------------------------- [10:04] Libraries have been installed in: [10:04] /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib [10:04] If you ever happen to want to link against installed libraries [10:04] in a given directory, LIBDIR, you must either use libtool, and [10:04] specify the full pathname of the library, or use the `-LLIBDIR' [10:04] flag during linking and do at least one of the following: [10:04] - add LIBDIR to the `LD_LIBRARY_PATH' environment variable [10:04] during execution [10:04] - add LIBDIR to the `LD_RUN_PATH' environment variable [10:04] during linking [10:04] - use the `-Wl,-rpath -Wl,LIBDIR' linker flag [10:04] - have your system administrator add LIBDIR to `/etc/ld.so.conf' [10:04] See any operating system documentation about shared libraries for [10:04] more information, such as the ld(1) and ld.so(8) manual pages. [10:04] ---------------------------------------------------------------------- [10:04] make[3]: Nothing to be done for `install-data-am'. [10:04] make[3]: Leaving directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/libsrc' [10:05] make[2]: Leaving directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/libsrc' [10:05] Making install in src [10:05] make[2]: Entering directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/src' [10:05] make[3]: Entering directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/src' [10:05] /bin/mkdir -p '/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/sbin' [10:05] /bin/sh ../libtool --mode=install /usr/bin/install -c usbip usbipd '/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/sbin' [10:05] .... [10:05] ... [10:05] look, it hang in the libtool install. [10:05] ugg flood, thats why i asked you to pastebin it not paste it [10:06] oh sorry,i dont know the pastebin. [10:06] so while it is hung what is actually running (ps) and what are they doing, perhaps attach strace to the stuck bits [10:06] need some time to learn it [10:07] there is a command pastebinit which shoves the data into pastebin and gives you a link to paste [10:07] pastebinit [10:09] a command line command [10:09] is it availble on mac? [10:09] that i have no idea [10:09] you can run it on your ubuntu server though [10:16] http://paste.ubuntu.com/12106805/ [10:16] APW, on the make log and ps. [10:16] only [10:26] baojg, are you reallly running the actual build as root? that sounds rather dangerous to me [10:26] http://paste.ubuntu.com/12106856/ [10:27] yes .root,but use fakeroot [10:27] ok [10:28] well that ps listing is too limited to see what is pending, perhaps try a pstree and look for the branch which has the build in it [10:29] creen(893)───bash(894)───rules(36104)───bash(8456)───make(8457)───sh(8458)───sh(8482)───make(8483)───make(8484)───sh(8485)───sh(8493)───sh(8494) [10:30] the process 9494 is the last one [10:30] ps show /bin/sh -c list='usbip usbipd';....... [10:30] baojg, and not other branches down from make there [10:31] then i'd stick an strace on that last shell and see what it thinks it is doing [10:31] not other branches down from make there ... what do you mean? [10:36] then, it must be that shell, so attach strace to it [10:37] and find out what the heck it is doing [10:39] apw,when are you in the ubuntu-kernel room usually? [10:41] baojg, my nick is in here pretty much always, i vary depending on day and physical location, though currently mostly europe tmie [10:44] strace the stuck process,but it only says stopped by SIGSTOP. [10:44] no sense ,maybe [10:47] i have something other to do,so have to leave .sorry apw. meet another time [10:49] baojg (N,BFTL), that implies it was trying to talk to the terminal while in the background or similar === ghostcube_ is now known as ghostcube === alai` is now known as alai [15:19] apw: hi, am I right to assume that ABI -26 in vivid is the same as -26 in -lts-vivid in trusty? [15:20] tseliot, yes the -lts-backports are the very same trees just compiled locally [15:21] apw: great, this means I can re-use my patch for ABI 26 from trusty :) === jsalisbury changed the topic of #ubuntu-kernel to: Home: https://wiki.ubuntu.com/Kernel/ || Ubuntu Kernel Team Meeting - Tues Aug 25th, 2015 - 17:00 UTC || If you have a question just ask, and do wait around for an answer! If the question is should I file a bug for something, likely you can assume yes. || Channel logs: http://irclogs.ubuntu.com/