/srv/irclogs.ubuntu.com/2015/08/17/#ubuntu-kernel.txt

=== 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
cetexapw: 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
baojgwhen compile kernel ,what is the linux-headers-generic file? how do i create it?09:47
apwcetex, np09:48
apwbaojg, where are you seing linux-headers-generic.  that is normally the meta package name09:48
baojglook09:49
baojgii  linux-headers-3.13.0-32                  3.13.0-32.57                        all          Header files related to Linux kernel version 3.13.009:49
baojgii  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 SMP09:49
baojgii  linux-headers-3.18.20-031820             3.18.20-031820.201508081633         all          Header files related to Linux kernel version 3.18.2009:49
baojgii  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 SMP09:49
baojgii  linux-headers-generic                    3.13.0.32.38                        amd64        Generic Linux kernel headers09:49
baojgroot@41D-CNC-SD:~/linux-stable#09:49
baojgthe 3.13.0-32 is the header file  14.04 install.09:50
baojgand the 3.18.20-031820 is the file i create when compile aginst kernel 3.18.20 09:51
apwbaojg, right so that is a package, and generated from the linux-meta source pacakge09:52
baojgwhat command i should use to create the package.?09:54
baojganothe 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
apwbaojg, you would need to get the source for linux-meta and set its version to the abi you are using and then build that package09:57
apwbut installing hte reuslt will opt you out of all later updates from ubuntu09:57
apwbaojg, 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 related09:58
apwbut as i say that doesn't happen to me in my experience09:58
baojgfirst run,i met that : not found usbip.h file,i correct it.but then the hang occurs.10:00
apwi might have more of an idea from the output produced before the hang, perhaps pastebin the output10:01
baojgi compile 3.18.20 stable kernle to create ubuntu package on 14.04 ubuntu server.10:01
baojgwait for a while ,please10:02
baojgcd /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip && make install CFLAGS="-g -O2 -static" CROSS_COMPILE=10:04
baojgmake[1]: Entering directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip'10:04
baojgMaking install in libsrc10:04
baojgmake[2]: Entering directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/libsrc'10:04
baojgmake[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
baojglibtool: install: /usr/bin/install -c .libs/libusbip.lai /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib/libusbip.la10:04
baojglibtool: install: /usr/bin/install -c .libs/libusbip.a /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib/libusbip.a10:04
baojglibtool: install: chmod 644 /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib/libusbip.a10:04
baojglibtool: install: ranlib /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib/libusbip.a10:04
baojglibtool: 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/lib10:04
baojg----------------------------------------------------------------------10:04
baojgLibraries have been installed in:10:04
baojg   /root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/bin/lib10:04
baojgIf you ever happen to want to link against installed libraries10:04
baojgin a given directory, LIBDIR, you must either use libtool, and10:04
baojgspecify the full pathname of the library, or use the `-LLIBDIR'10:04
baojgflag during linking and do at least one of the following:10:04
baojg   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable10:04
baojg     during execution10:04
baojg   - add LIBDIR to the `LD_RUN_PATH' environment variable10:04
baojg     during linking10:04
baojg   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag10:04
baojg   - have your system administrator add LIBDIR to `/etc/ld.so.conf'10:04
baojgSee any operating system documentation about shared libraries for10:04
baojgmore information, such as the ld(1) and ld.so(8) manual pages.10:04
baojg----------------------------------------------------------------------10:04
baojgmake[3]: Nothing to be done for `install-data-am'.10:04
baojgmake[3]: Leaving directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/libsrc'10:04
baojgmake[2]: Leaving directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/libsrc'10:05
baojgMaking install in src10:05
baojgmake[2]: Entering directory `/root/linux-stable/debian/build/tools-perarch/tools/usb/usbip/src'10:05
baojgmake[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
baojglook, it hang in the libtool install.10:05
apwugg flood, thats why i asked you to pastebin it not paste it10:05
baojgoh sorry,i dont know the pastebin.10:06
apwso while it is hung what is actually running (ps) and what are they doing, perhaps attach strace to the stuck bits10:06
baojgneed some time to learn it10:06
apwthere is a command pastebinit which shoves the data into pastebin and gives you a link to paste10:07
baojgpastebinit10:07
apwa command line command10:09
baojgis it availble on mac?10:09
apwthat i have no idea10:09
apwyou can run it on your ubuntu server though10:09
baojghttp://paste.ubuntu.com/12106805/10:16
baojgAPW, on the make log and ps.10:16
baojgonly10:16
apwbaojg, are you reallly running the actual build as root?  that sounds rather dangerous to me10:26
baojghttp://paste.ubuntu.com/12106856/10:26
baojgyes .root,but use fakeroot10:27
apwok10:27
apwwell 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 it10:28
baojgcreen(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
baojgthe process 9494 is the last one 10:30
baojgps show /bin/sh -c list='usbip usbipd';.......10:30
apwbaojg, and not other branches down from make there10:30
apwthen i'd stick an strace on that last shell and see what it thinks it is doing10:31
baojgnot other branches down from make there ... what do you mean?10:31
apwthen, it must be that shell, so attach strace to it10:36
apwand find out what the heck it is doing10:37
baojgapw,when are you in the ubuntu-kernel room usually?10:39
apwbaojg, my nick is in here pretty much always, i vary depending on day and physical location, though currently mostly europe tmie10:41
baojgstrace the stuck process,but it only says stopped by SIGSTOP.10:44
baojgno sense ,maybe10:44
baojgi have something  other to  do,so have to leave .sorry apw. meet another time 10:47
apwbaojg (N,BFTL), that implies it was trying to talk to the terminal while in the background or similar10:49
=== ghostcube_ is now known as ghostcube
=== alai` is now known as alai
tseliotapw: hi, am I right to assume that ABI -26 in vivid is the same as -26 in -lts-vivid in trusty?15:19
apwtseliot, yes the -lts-backports are the very same trees just compiled locally15:20
tseliotapw: 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!