=== 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 | ||
cetex | 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:12 |
---|---|---|
baojg | when compile kernel ,what is the linux-headers-generic file? how do i create it? | 09:47 |
apw | cetex, np | 09:48 |
apw | baojg, where are you seing linux-headers-generic. that is normally the meta package name | 09:48 |
baojg | look | 09:49 |
baojg | 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 |
baojg | 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 |
baojg | 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 |
baojg | 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 |
baojg | ii linux-headers-generic 3.13.0.32.38 amd64 Generic Linux kernel headers | 09:49 |
baojg | root@41D-CNC-SD:~/linux-stable# | 09:49 |
baojg | the 3.13.0-32 is the header file 14.04 install. | 09:50 |
baojg | and the 3.18.20-031820 is the file i create when compile aginst kernel 3.18.20 | 09:51 |
apw | baojg, right so that is a package, and generated from the linux-meta source pacakge | 09:52 |
baojg | what command i should use to create the package.? | 09:54 |
baojg | 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:56 |
apw | 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 |
apw | but installing hte reuslt will opt you out of all later updates from ubuntu | 09:57 |
apw | 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 |
apw | but as i say that doesn't happen to me in my experience | 09:58 |
baojg | first run,i met that : not found usbip.h file,i correct it.but then the hang occurs. | 10:00 |
apw | i might have more of an idea from the output produced before the hang, perhaps pastebin the output | 10:01 |
baojg | i compile 3.18.20 stable kernle to create ubuntu package on 14.04 ubuntu server. | 10:01 |
baojg | wait for a while ,please | 10:02 |
baojg | cd /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip && make install CFLAGS="-g -O2 -static" CROSS_COMPILE= | 10:04 |
baojg | make[1]: Entering directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip' | 10:04 |
baojg | Making install in libsrc | 10:04 |
baojg | make[2]: Entering directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/libsrc' | 10:04 |
baojg | make[3]: Entering directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/libsrc' | 10:04 |
baojg | /bin/mkdir -p '/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib' | 10:04 |
baojg | /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 |
baojg | 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 |
baojg | 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 |
baojg | libtool: install: chmod 644 /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib/libusbip.a | 10:04 |
baojg | libtool: install: ranlib /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib/libusbip.a | 10:04 |
baojg | 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 |
baojg | ---------------------------------------------------------------------- | 10:04 |
baojg | Libraries have been installed in: | 10:04 |
baojg | /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib | 10:04 |
baojg | If you ever happen to want to link against installed libraries | 10:04 |
baojg | in a given directory, LIBDIR, you must either use libtool, and | 10:04 |
baojg | specify the full pathname of the library, or use the `-LLIBDIR' | 10:04 |
baojg | flag during linking and do at least one of the following: | 10:04 |
baojg | - add LIBDIR to the `LD_LIBRARY_PATH' environment variable | 10:04 |
baojg | during execution | 10:04 |
baojg | - add LIBDIR to the `LD_RUN_PATH' environment variable | 10:04 |
baojg | during linking | 10:04 |
baojg | - use the `-Wl,-rpath -Wl,LIBDIR' linker flag | 10:04 |
baojg | - have your system administrator add LIBDIR to `/etc/ld.so.conf' | 10:04 |
baojg | See any operating system documentation about shared libraries for | 10:04 |
baojg | more information, such as the ld(1) and ld.so(8) manual pages. | 10:04 |
baojg | ---------------------------------------------------------------------- | 10:04 |
baojg | make[3]: Nothing to be done for `install-data-am'. | 10:04 |
baojg | make[3]: Leaving directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/libsrc' | 10:04 |
baojg | make[2]: Leaving directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/libsrc' | 10:05 |
baojg | Making install in src | 10:05 |
baojg | make[2]: Entering directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/src' | 10:05 |
baojg | make[3]: Entering directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/src' | 10:05 |
baojg | /bin/mkdir -p '/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/sbin' | 10:05 |
baojg | /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 |
baojg | .... | 10:05 |
baojg | ... | 10:05 |
baojg | look, it hang in the libtool install. | 10:05 |
apw | ugg flood, thats why i asked you to pastebin it not paste it | 10:05 |
baojg | oh sorry,i dont know the pastebin. | 10:06 |
apw | so while it is hung what is actually running (ps) and what are they doing, perhaps attach strace to the stuck bits | 10:06 |
baojg | need some time to learn it | 10:06 |
apw | there is a command pastebinit which shoves the data into pastebin and gives you a link to paste | 10:07 |
baojg | pastebinit | 10:07 |
apw | a command line command | 10:09 |
baojg | is it availble on mac? | 10:09 |
apw | that i have no idea | 10:09 |
apw | you can run it on your ubuntu server though | 10:09 |
baojg | http://paste.ubuntu.com/12106805/ | 10:16 |
baojg | APW, on the make log and ps. | 10:16 |
baojg | only | 10:16 |
apw | baojg, are you reallly running the actual build as root? that sounds rather dangerous to me | 10:26 |
baojg | http://paste.ubuntu.com/12106856/ | 10:26 |
baojg | yes .root,but use fakeroot | 10:27 |
apw | ok | 10:27 |
apw | 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:28 |
baojg | 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:29 |
baojg | the process 9494 is the last one | 10:30 |
baojg | ps show /bin/sh -c list='usbip usbipd';....... | 10:30 |
apw | baojg, and not other branches down from make there | 10:30 |
apw | then i'd stick an strace on that last shell and see what it thinks it is doing | 10:31 |
baojg | not other branches down from make there ... what do you mean? | 10:31 |
apw | then, it must be that shell, so attach strace to it | 10:36 |
apw | and find out what the heck it is doing | 10:37 |
baojg | apw,when are you in the ubuntu-kernel room usually? | 10:39 |
apw | baojg, my nick is in here pretty much always, i vary depending on day and physical location, though currently mostly europe tmie | 10:41 |
baojg | strace the stuck process,but it only says stopped by SIGSTOP. | 10:44 |
baojg | no sense ,maybe | 10:44 |
baojg | i have something other to do,so have to leave .sorry apw. meet another time | 10:47 |
apw | baojg (N,BFTL), that implies it was trying to talk to the terminal while in the background or similar | 10:49 |
=== ghostcube_ is now known as ghostcube | ||
=== alai` is now known as alai | ||
tseliot | apw: hi, am I right to assume that ABI -26 in vivid is the same as -26 in -lts-vivid in trusty? | 15:19 |
apw | tseliot, yes the -lts-backports are the very same trees just compiled locally | 15:20 |
tseliot | apw: great, this means I can re-use my patch for ABI 26 from trusty :) | 15:21 |
=== 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/ |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!