/srv/irclogs.ubuntu.com/2015/03/20/#ubuntu-kernel.txt

DanNeed help installing/configuring kernel-source so driver modules will build for conexant usb modem. My thread is here (not spam) http://ubuntuforums.org/showthread.php?t=227005400:55
DanIf that is seen after i leave please reply to post, been trying to install these drivers for about 8 days now. Quite frustrated00:56
DanMore extensive thread on other forum http://www.linuxquestions.org/questions/ubuntu-63/compiling-kernel-source-build-modules-in-ubuntu-14-04-a-4175536945/00:58
DanReplies and help are appreciated00:58
apwDan, the source for the kernel has changed, moving the version.h file somewhere else (into the uapi directory)01:00
apwDan, the driver is clearly not been updated to match in the recent past, and needs to be01:01
DanWhere is the uapi directory?01:01
DanThanks for reply01:01
DanSo i just move version.h into uapi directory and it should build?01:02
DanAlso yes, the drivers havent been maintained since i think 9.1001:04
apwi doubt that very much, if the code is writeen for the kernel since before uapi existed the chances of it workign with the new kernel is very low at best01:04
apwversion.h is already in the uapi directory (under that build link) the driver expects it not to be01:04
apwbut the uapi split isn't exactly new, so you are in uncharted territory01:05
DanCould you reccomend me a distro that would support any of these? http://www.linuxant.com/drivers/dgc/downloads.php01:05
DanOnly reason im on 14.04 is because help was refused if i was running an EOTL release01:06
DanI only need gnome-ppp so as long as it supports that but with a old enough kernel to install/build my drivers that's fine01:07
apwDan, i find it supprising they arn't supported out of the box these days, they are anchient01:07
DanI got version 1.01 out of the box lol and wouldnt even install01:07
Dan1.13.0 installs but i have the module build issue01:08
apwi mean without any extra drivers, most of these things get core support over time01:09
apwthough that page tells you what distros support the drivers, the last ones it lists are so old one normally assumes01:09
apwthe driver has made it into mainline01:09
DanSo my best bet it to try 9.10?01:11
apwif the system doesn't work it out of the box, i'd say you are in a hole01:12
apwas the vendor clearly does not support their own h/w any more01:12
DanI installed the generic dgcmodem-1.13.0.deb ill try the distro specific packages01:12
DanThanks for your help, at least i dont have to figure out the kernel-source01:12
DanBut just to verify, installing the kernel source would do nothing, yes?01:15
mozmckI'm running the following to build some custom kernel packages:  fakeroot debian/rules binary-indep; fakeroot debian/rules binary-perarch; and then fakeroot debian/rules binary-<custom flavour>02:18
mozmckIs this the right way to do this?  It is not building a linux-firmware package - should it?02:18
mozmckoh, and linux-libc-dev is not being built either, but I don't know if it should be.02:20
infinitymozmck: linux-firmware is built by the linux-firmware source package.02:24
mozmckoh, I'm using skipabi=true skipmodule=true - is that still necessary?  I had to do that when I built a custom ubuntu kernel for 10.0402:27
infinitymozmck: It's still necessary if you don't plan to track your ABI changes appropriately.02:28
infinityapw: The mind boggles that someone would apparently waste a week trying to make a 10 year old piece of hardware work that he could have replaced for 15 bucks.02:29
mozmckok, thanks.02:30
lifelessinfinity: ... that was the case 10 years ago too :)02:32
infinitylifeless: Yeah, true.02:32
infinitylifeless: But I get the motivation to make new kit go.  And if you're a hacker, I get the challenge of making old kit go.  But as a volue proposition, if you've gotten a decade out of your 15 dollar softmodem, it's time to find a bin for it.02:33
infinitys/volue/value/02:33
* infinity side-eyes his fingers.02:33
lifelessAye.02:35
lifelessBut its his precious.02:35
lifelessOr maybe he has 10000 of them in retail stores all over the place.02:35
infinityHeh.02:36
mozmckif I want to build i386 packages on my amd64 machine, how would I do that?02:37
lifelesseasiest way is probably a i686 lxc container02:37
mozmckI made a flavour for amd64 and i386, but only the amd64 flavour built02:37
lifelesslxc-create -t ubuntu -n fred -- -a i686 02:37
infinityOr just a chroot.02:37
lifelesspersonally find it more fiddly to manage cross-arch stuff in chroots, but sure, whatever :)02:38
infinitymozmck: Many ways to skin that proverbial cat, but the basic essence is that you want an i386 userspace.  So a chroot or lxc or a VM (in order from light to heavy).02:38
mozmckok, I've heard of pbuilder but not used it, I'll do some reading.02:38
infinitylifeless: Well, your lxc-create call is creating an i386 chroot. :P02:39
mozmckok, thanks.02:39
infinitylifeless: How you enter it defines if it's a chroot or a container.02:39
infinitymozmck: pbuilder is the devil's tool.  sbuild is the way and the light.02:39
mozmckcan I easily use 8 cores in a chroot?02:39
mozmckheh, ok!02:39
infinitymozmck: A chroot changes nothing about your system.  It's just a directory with another root filesystem in it.02:39
lifelessinfinity: yes indeed :)02:40
mozmckah, ok.02:40
lifelessyou should be able to use multi-arch in principle too02:40
infinityYou can, yes.  And for a kernel, that's not a terrible option, since the build-deps are light.02:40
mozmckmulti-arch?02:41
infinitymozmck: The man makes a fair point.  It could be as simple as taking your dpkg-buildpackage command and adding "-ai386" to the command line. :P02:41
lifelesscan one do apt-get build-dep linux-kernel/i386? 02:41
lifelessI forgets02:41
mozmckhmm, ok.  I'm using debian/rules binary-...  02:42
infinitylifeless: I think apt also uses the -aarch syntax for that, but I don't recall.02:42
mozmckI presume that calls dpkg-buildpackage somewhere?02:42
infinitymozmck: Ahh, no.  Other way around, dpkg-buildpackage calls debian/rules.02:42
infinitymozmck: But if you're happier doing the manual fiddling instead of building the whole shebang, just build a quick chroot (or, as lifeless says, an lxc container), and build in there.02:43
infinitylxc might be simpler, just cause it automates the fiddly bind mount bits and whatnot.02:44
mozmckoh, well I haven't used that then I guess.  fakeroot debian/rules binary-<indep|perarch|flavour> is what I've been using.02:44
mozmckmaybe I should be using dpkg-buildpackage.  I only want one flavour though - my custom (PREEMPT-RT) one.02:45
gshmuI want test the latest upstream kernel, so I install the last kernel, but I can't longin in new kernel at tty7. anyone can tell me how to build the linux-image-extra-000.deb package?03:04
mozmckI would like to know that as well!03:07
gshmumozmck: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/143245903:07
ubot5Ubuntu bug 1432459 in linux (Ubuntu) "USB 3.0 automount after "Power off driver/safely remove"" [Low,Incomplete]03:07
gshmuCan you help me to build the linux-image-extra-4.000.deb ?   I'm just build this package: linux-firmware-image-4.0.0-rc1-gshmu_4.0.0-rc1-gshmu-1_amd64.deb linux-headers-4.0.0-rc1-gshmu_4.0.0 rc1-gshmu-1_amd64.deb linux-image-4.0.0-rc1-gshmu_4.0.0-rc1-gshmu-1_amd64.deb linux-image-4.0.0-rc1-gshmu-dbg_4.0.0-rc1-gshmu-1_amd64.deb linux-libc-dev_4.0.0-rc1-gshmu-1_amd64.deb03:10
=== gerald is now known as Guest46672
zequenceinfinity: Sorry, haven't been in for a few days. Both kernels tested now.07:39
apwgshmu, there is no linux-image-extra for mainline builds, they build with the split disabled so all modules should be in the linux-image package09:13
stubAnyone have some kernel boot parameters that might get some useful debug information for https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1434136 ?09:21
ubot5Ubuntu bug 1434136 in linux (Ubuntu) "HP Pavilion 13-b208tu fails to boot with F.26 bios, PSOD" [Undecided,Confirmed]09:21
gshmuapw: How to build it by my self?09:33
apwgshmu, you don't need it because all of its content are instead in linux-image09:34
gshmuapw: I can't login in tty709:34
apwwe do not split the package for mainline builds because it adds no value and can fail because of upstream changed09:35
apwgshmu, unsure, sounds likely that you are seeing a graphics hang from your bug discription, and those sort of things are pretty common in a -rc kernel, particularly as it happens after you are able to type username and password at lightdm09:36
apwgshmu, i would say as you are looking to see if a usb issue is resolved, that you try a v3.19.x kernel from there, as they tend to be more stable09:37
gshmuapw: thanks you 09:37
mozmckapw: how does the build system know that a mainline kernel is being used so it does not split out the *extra package?14:02
apwmozmck, the mainline builder specified it wants no split14:05
mozmckapw: ok, so I copied the debian and debian.master from vivid at the next commit after the 3.18.7 tag into a mainline 3.18.9 kernel.  I do not get the extra package, or the linux-libc-dev package.  should I be getting the latter?  I'm running debian/rules with binary-indep, binary-perarch, and binary-<myflavor> to build packages.14:10
apwmozmck, not sure, the config for the flavour contains the split info, so if you called it something other than generic likely not15:08
apwyou can also tell from the size of the linux-image, if it is huge then it is not split15:08
mozmckapw: hmm, ok.  I called preemptrt, and the linux-image package is 54 MB, so I guess it is not split15:28
mozmckthanks.15:28
apwmozmck, yes the inclusion list is generic specific so you should avoid it15:55
BeagleBug_97Is it possible to install rt-preempt patch on BeagleBoard xM kernel running Ubuntu 14.04?16:39
lamontwho knows precise iptables better than anyone should?21:38
* lamont has very specific quesitons about conntracking in the 3.13.0 kernel (oops, s/precise/trusty/) and would prefer not to go read that much source21:39
apwlamont, i'd guess that without reading only jay might know any detailed questions, though i'd say ask anyhow21:40
lamontlets say I was being crazy and trying to move firewalling to another machine by doing this:  (1) insert the new machine in between the old machine and the outside link from same.  (2) turn on conntracking, but allow all traffic through the new-firewall-to-be, (3) at some point trade rules and make the new machine the active and statefully firewalling machine, and the old one becomes "let it all21:42
lamontthrough" (4) remove the old machine21:42
lamontwould that even work?21:42
lamontwhat tcp sessions would not be stored in the new machine's conntrack? (does that only get written when new connections form, or does it care?)21:43
* lamont doesn't want to rebuild his test lab, either21:43
apwso i would have expected that to have worked as you hope, that as long at the new machine is there long enough that it would pick up the connections, and indeed if you put it21:44
apwinside, so it only sees the valid ocnnections i _think_ it will intuite the ones which are already existing21:44
apwso i think i am saying it should be between the old and inside, else it will have established things where it ought to reject maybe21:45
lamontah, good point21:46
lamontyeah, inside then21:46
lamontI may just see if I can test this out for sure21:46
apwcirtinaly it has estalished detection for existing connections when it starts watching too21:47
lamontnext question: HTF do I see the conntrack table in a 3.13 kernel?21:47
lamontthe pre-trusty way went away (conntrack in /proc/sys/(21:47
apwcrontrack-tools perhaps21:48
apwit might be conntrack -L21:48
apwlamont, conntrack -L seems to do what i think you want21:51
lamontpackagte is conntrack21:52
lamontcool21:52
apwyeha i've been doing a lot of cron stuff today, so i keep misstyping21:52
lamontand the 8-tuple is (src/dst IP/port side A, src/dst IP/port side B), yes?21:53
lamontactually, established/related requires the full SYN/SYN+ACK/ACK handshake to complete for TCP stuff , yes?21:54
apwright the two flow directions21:54
apwi believe there is some recovery for lost entries that could trigger when someone is clearly communicating21:54
apwbut i'd not like to claim to how21:55
lamontheh21:55
lamontI'm thnking of the "new guy on the outside" case (since the firewall filters both directions) - if all it saw was the SYN (and old guy then dropped the packet), I would like to think that ESTABLISHED wouldn't make it when that finally got turned on...21:56
lamontobviously, the sequence would be: turn on firewalling on the new guy, then turn it off on the old guy21:56
apwlamont, that does sound believeable, so yes likely it works either way21:57

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