/srv/irclogs.ubuntu.com/2015/09/25/#ubuntu-kernel.txt

Frogging101-chanIn kernel 4.2.1 from kernel.ubuntu.com, 0001-base-packing.patch has "+drivers/scsi/scsi_dh.ko" in generic.inclusion-list. I think it's supposed to be "+drivers/scsi/device_handler/scsi_dh.ko", since that's where that file actaully is01:53
Frogging101-chanAnd in 4.2 it has the subdirectory in the path01:53
Frogging101-chanBecause when I try and build it, I get errors about that file not being found01:53
Frogging101-chan4.2 works, 4.2.1 doesn't01:54
Frogging101-chanSo, why was that changed? The file is still where it was before, but the path is now wrong01:58
=== Guest75773 is now known as adrian
=== adrian is now known as Guest32345
silidanapw: i suppose they did not yet contact you?07:30
silidanapw: i mean manufcaturer/dev of camera SDK with the short URB broblem07:31
apwFrogging101-chan (N,BFTL), we build all of those without extras to avoid that kind of things, you should too ... add do_extras_package=false07:41
apwsilidan, no they did not07:41
silidan1apw: did they contact you?10:17
=== psivaa is now known as psivaa-afk
silidan1apw: i found an open source capture application which also implements an open source low level access to the camera via libusb, the essential call to libusb_bluk_transfer is definitly made with the right size (1228800 bytes = 1280x960x1byte), the URB in wireshark still report a length of 61504, with the URB containing: "URB Length = 1228800" and "Data Length = 61440" interesting.. 10:32
silidan1apw: could this short URBs data length be a limitation of usbmon itself?10:38
=== psivaa-afk is now known as psivaa
silidan1apw: according to gdb, the libusb_bulk_transfer call returns with exactly the amount of data it expected...10:58
apwsilidan1, it is possible that is a capture length, strace has a similar thing, you can often change it11:45
=== psivaa is now known as psivaa-lunch
silidan1apw: any hint how? there seems to be no manpage for usbmon, at least on my system12:00
apwsilidan1, sorry no12:01
silidan1apw: can you point me where i should ask about usbmon if not here?12:12
apwsilidan1, sorry i have no additional info on that tool12:19
silidan1does anyone here know if the usbmon kernel module has a limitation on the size of captured frames?12:40
silidandoes anyone here know if the usbmon kernel module has a limitation on the size of captured frames?12:41
TJ-silidan: look at the drivers/usb/mon/ source12:55
TJ-silidan: default buffer for binary capture looks to be ~300KB, and the max 1.2MB, but it looks like that is in total, not per-packet12:57
=== psivaa-lunch is now known as psivaa
silidanapw: a little question, lets assume in my app is using libusb, i know i want to receive 30fps from my camera and my camera can provide them. Can I just issue 30 libusb_bulk_transfers every second to achive that? 13:49
apwsilidan, i have no idea, but in their sceario they are sending continious packets without having to receieve one, which makes a difference13:49
silidanapw: you refer to their winxp scenario?13:50
apwyes13:50
silidanapw: but arent these receiveing bulk transfer also issued from the host controller via URBs? i mean doesnt just the app send the URB for bulk in, and waits for the kernel to basically return it with data in?13:51
apwsilidan, nope, it sends some vendor specific control message at the start, and never speaks again13:52
silidanapw: but usb 2.0 devices cant initiate a bulk transfer on their own.. this is done from host side if im not mistaken... like host asks device for bulk transfer... waits till device sendit, and returns the data to the app.. 13:53
apwsilidan, that is not what the trace says13:53
silidanapw: but the trace just reports the URBs send to the kernel and their contents, the kernel operates based on that data, ie reads from it or writes to it and then just issues a callback if i got that right from reading so far?13:54
silidanapw: o wait, you said trace, you meant the strace output?13:55
mikkquhey there, can i have some help?16:00
mikkqui have latest ubuntu version available and i want to recompile the kernel with custom parameters16:01
jpdsWhy?16:01
mikkquis there any easy way to achieve that? i failed at "sudo apt-get source linux-image-`uname -r`" step16:01
jpdsmikkqu: https://help.ubuntu.com/community/Kernel/Compile16:02
mikkquactually, there are two points why: 1. for learning purposes and to find out how it works in ubuntu, 2. i just want to experiment with option MODULE_FORCE_UNLOAD to be able to unload broken modules16:02
mikkquand I know that's not safe, i just want to get some experience with that16:02
mikkqujpds: I've seen the page, but there is no (yet) instructions for 15.04 which I have16:04
jpdsmikkqu: I can't imagine that they change that much16:04
mikkquI'm stuck with downloading the kernel source archive for my currently using kernel16:04
mikkquthere is a necessary step for obtaining the source: sudo apt-get source linux-image-`uname -r`16:04
mikkquand it's just don't work for me for some reason16:04
mikkquPicking 'linux-lts-raring' as source package instead of 'linux-image-3.8.0-19-generic'16:05
mikkquE: Unable to find a source package for linux-lts-raring16:05
mikkqumaybe I need to have some special repository enabled for that?16:05
mikkquand I have no clue why it suggesting me to pick "linux-lts-raring" which is not found anyway16:05
jtaylormikkqu: are you on ubuntu 12.04?16:07
mikkquno, i'm on the latest available, (not lts) - 15.0416:07
mikkquaccording to lsb_release -a16:07
jtaylorand running a 3.8 kernel?16:07
mikkquyes, it's just by default. i didn't touch anything16:08
mikkqusince i've installed the latest upgrade16:08
jtaylorhm 15.04 should use 3.1916:08
jtayloruse apt-get source linux and you should get the latest source for 15.0416:09
mikkquhmm.. that makes sense actually. i've been tricked that 3.8 is latter than 3.1916:09
jtaylorif you need 3.8 you have to download it manually from launchpad16:09
mikkqubut now I see that it's not16:09
mikkqui think i should switch my kernel to 3.19 first, then16:10
mikkquhmm.. i 100% remember i did "sudo apt-get dist-upgrade" (actually, two times)16:14
mikkquwhy my kernel wasn't switched automatically?16:14
jtaylormaybe you removed the linux-generic package so it didn't upgrade16:15
mikkquops, looks like you're right16:16
argesrtg: whats the numbering scheme for the raspi tags in ubuntu-wily git tree16:18
argesrtg: 1008 is the starting ABI and will just grow16:18
arges?16:18
rtgarges, monotonically increasing ?16:18
argesrtg: ok, just making sure (since its the first one). thanks16:19
rtgarges, we used to have some package name conflicts, so haveing an ABI number like this is a bit historical. blame it on ppisati (cause he's not here)16:20
argesgotcha16:21
bjfjpds, https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel is often an easier starting point for folks wanting to build their own kernel17:11
=== mike_ is now known as Guest52120
=== Guest52120 is now known as mikkqu
rtgjsalisbury, https://bugs.launchpad.net/ubuntu/wily/+source/linux/+bug/1440103/comments/1617:23
ubot5Ubuntu bug 1440103 in linux (Ubuntu Vivid) "[Hyper-V] Kernel panic not functional on Vivid" [Medium,In progress]17:23
jsalisburyrtg, awesome.  Thanks!17:25
mikkquthanks guys, i've updated to the latest kernel and i've been able to download ubuntu kernel sources with apt-get source17:29
mikkquthere is a directory called "linux/", and some gz archive "diff.gz", i guess it's diff between ubuntu and vanilla linux kernel17:30
mikkqui think, it's already applied to the files in "linux/" directory? no need to apply it, so it's just for reference?17:30
mikkquwhen i'm trying to run "fakeroot debian/rules editconfigs" i still getting a lot of errors17:31
mikkqui'm getting the same errors as in this question, created a month ago. would be great if you could take a look17:32
mikkquhttp://unix.stackexchange.com/questions/225020/check-config-errors-on-linux-3-19-0-kernel-configured-under-ubuntu-15-04-x86-6417:32
mikkquok, it worked in the "old-fashioned" way17:41
apwmikkqu, i owuld normally recommend you start from the git repository rather than a source packag17:45
apwmikkqu, as that is what we all do when working with the very same source17:45
mikkquapw: hmm, yeah, git might be a more convenient way, but I'll try to stick to packaging method just this one time17:52
mikkquhow it'll work well. i should probably modify grub somehow, to be able to choose between kernels in case of fail17:52
apwmikkqu, some of the permissions bits get lost in the package on things you use when modifying the package 17:53
apwmikkqu, so don't be supprised17:53
mikkquapw: i guess, in case of permission problems, the worst case is just the broken build near the end17:54
mikkqubut something still could go wrong17:55
mikkqunever thought kernel build takes so much time. is it possible to shorten the build time with ccache or something like this? in case if you have to build it a lot?17:57
apwmikkqu, to build it "the way the archive does" is tricky to do those tricks18:19
apwmikkqu, then again i normally build in a PPA because that uses someone elses compute18:19
mikkquoh crap! build actually failed, after about an hour of work18:32
th3s3_3y3sWhat process runs bluetooth or is it in kernel?20:32
th3s3_3y3sThe thing crashes and respawn.20:57
th3s3_3y3sAnd says bluetooth process is it talking about bluetoothd?20:58
th3s3_3y3sMbp21:22
=== root is now known as Guest53172
th3s3_3y3sLooks like btusb is disabled22:36
th3s3_3y3sIt doesn't load where is the block list?22:36

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!