/srv/irclogs.ubuntu.com/2016/07/13/#ubuntu-kernel.txt

memguyok i have installed oss  where alsa has been but i have noticed the only problem i have with it is when i turn the ossxmix up all the way i don't get the  loudness range i did with ALSA. Maybe i am missing some mixer amplifier thing but i don't think so. Anybody know if this is fixable?04:07
RAOFThere's presumably some reason you're using the deprecated-for-nearly-a-decade OSS rather than ALSA?04:17
memguyI just wanted to try it . Main reason was understanding of LKM loading the correct ones and getting device files working with the drivers... Thats the more general and important question i had figured out. But as a result of figure this all out i now notice only one setting is really noticeable it is the  loudness level just curious what is causing this?04:20
RAOFI'm honestly surprised you could get it to work at all, and that we're still building it.04:23
memguyI do have an additional unrelated question. It is  .. is there any program ,command , or  file to look up which device files are associated to which module if any. I know each LKM doesn't necessarily  have a /dev device file as well as each dev file doesn't have to be linked to a driver (could be just user created). But it sure would be nice of a way to list what device files are associated with what LKM05:25
memguyto know which ones are created by which lkm's. I have a few ways of going about this none of which i like yet05:27
memguylsmod simple just opens /proc/modules so nothing revealing that i can uses to leverage how to get the associated device files05:44
memguyyet05:44
memguy/proc/devices seem to give mostly all device files names to some extent but there is no good way i can figure out yet on how to linking I am wondering if anybody knows of an ioctl or function one can pass the name of the device file that would tell it what LKM .ko it is registered with05:47
=== JanC_ is now known as JanC
memguyThere are ways like grepping the source for open(/dev/ occurrences in the LKM source code one by one but this isn't really nice or fast way just to find out about an LKM. I purpose that LKM writters embed in the modinfo strings the device files  it creates if any . They all have Author , parameters ,...etc why not include the device files it uses in general06:30
mjg59The name of the device file is determined by udev, not the driver06:34
mjg59So the kernel has no idea what htey're called06:34
memguywait LKM can create device files 06:34
mjg59They can, but they shouldn't06:34
memguywhy not06:35
mjg59Because that's up to udev06:35
mjg59Anyway06:35
mjg59You can figure it out by looking at the major and minor numbers on the device node06:35
memguywhy do the want to uses udev i mean i get udev is for plug in play kind of detection which loads the LKM needed06:35
mjg59And then look for the dev file under /sys which has those major and minor numbers in it06:36
memguySo its like udev creates the device file then loads the LKM for it 06:36
mjg59Then walk from there to the driver06:36
memguymjg59 not sure what you mean. I know how to find the device files major and minor number06:39
memguybut how do you know which device file is associated to which LKM06:40
memguyare you saying that the sysfs has a way to associate the LKM with a device file because i have a number of way to  figure out a device files major and minor numbers... but no way to know what device files are associated to which LKM if any. There could be one associated to an LKM or several or none. I just don't understand by major and minor number how one can determine what LKM its on 06:44
memguyseems looking up a list of hardware to major and minor numbers is not a good way to do this as ever evolving LKM and device files one would have to have a list for his version he is on06:46
mjg59There are files in /sys called "dev" which conain a major and minor number pair06:49
mjg59That will allow you to associate the device node with a sysfs device06:49
mjg59Then just follow the driver symlink06:49
=== ben_r_ is now known as ben_r
kamaldmj_s76, hi -- we've just deployed Xenial 4.4.0-31.50 including the nouveau patch in the -proposed archive -- can we get you to do one more quick smoke test of it for verification?14:37
kamaldmj_s76, hi -- we've just deployed Xenial 4.4.0-31.50 including the nouveau patch in the -proposed archive -- can we get you to do one more quick smoke test of it for verification?15:53
dmj_s76kamal: sure...I'll work on that this morning15:54
kamaldmj_s76, thanks a bunch -- just a sanity check on any one of the GPU's should be sufficient15:55
=== JanC is now known as Guest81961
=== JanC_ is now known as JanC
dmj_s76kamal: Just tested it...everything works right once the installer pulls in the proposed kernel.  (Still have to do some nasty workarounds to get to the installer, but that should be fixed once the kernel hits the daily iso)17:03
kamaldmj_s76, excellent, thanks again for all this17:03
dmj_s76My pleasure, makes the Ubuntu experience better and removes a huge support burden from us.17:04
=== PaulW2U_ is now known as PaulW2U
lamontdoes ipv6 autoconf truly not work through a (xenial, 4.4.0-28-generic) bridge?17:34
apwlamont, are you saying the work around you had no longer works ?17:42
lamontthere wasn't a bridge involved in that...17:44
apwlamont, there wasn't?  i remember it as bridge related17:46
lamontthis issue is that I boot a vm on a subnet that only has ipv6 (libvirt qemu-kvm), and I see the router solicitation go from the vm to ff02::2 on vnet0, but not on eth0.3 (the other interface in the bridge)17:46
lamontoh.17:46
lamonttwo different problems:17:47
lamont1) br0 (eth0.2 and actually nothing else atm), didn't get an ipv6 autoconf on the host, because of multicast_snooping being enabled.17:47
lamontturns out that (I think), just enabling mutlicast_querier on that bridge is sufficient to get things happier, as a less invasive workaround17:47
lamontthe new issue is on br1 (which I've been poking at for way too long now...)17:48
lamontcurrent config is identical to br1, only with eth0.3 instead of eth0.217:48
lamontand the issue is that the VM doesn't get ipv6 autoconf17:48
lamontat one point, I had radvd installed on the host, advertising to eth0.3, and it seemed that broke autoconf for br0...  but I didn't fully dive down that rathole.17:49
lamontso I brought up eth0.3 on the host that has radvd for eth0.2, and...17:49
lamontthe host for the vms now autoconfs on both br0 and br1, and none of the vms do.17:50
lamonthaving said that, /proc/sys/net/ipv6/conf/$IFACE/mc_forwarding would seem to be HIGHLY relevant to my needs, but utterly lacking in documenation as to how to configure it to forward all traffic bound for ff02::/6417:51
lamontend rant17:51
lamonthttp://paste.ubuntu.com/19288160/ <-- tcpdump -ni br1 icmp617:52
lamont...:89:57 is hte vm17:52
lamontand yes, when I actually get this mess working, there's a blog post in it.17:53
lamont grep -ve ^# -e ^$ /etc/smcroute/startup.sh 18:06
lamontmgroup from eth0.3 source fe80::1 group ff02::118:06
lamontmroute from eth0.3 source fe80::1 group ff02::1 br118:06
lamontit hurts, but it configures ipv6 on the guests18:06
memguydoes any body know what the equivalent of configfs is in new linux is this info found somewhere in /sys sysfs?18:11
apwlamont, hrm18:12
lamontapw: which gets me to the next issue, where I see ipxe on the vm poke ff02::16 a couple times, and then fail over to ipv4 boot18:14
lamonthitting ctl-b for the ipxe command line doesn't help either18:16
lamontsomething tells me it may be time to bring in another box and see how it does booting with something like a real firmware interface18:17
lamontapw: mind you, that's still totally ignoring the router solicitations18:20
lamontultimately, I suspect that I need dhcp6 queries from ipxe18:21
bbucciantiHi!20:56
bbucciantii don't want to interrupt anything20:56
bbucciantibut i have a problem and i can't resolve alone20:56
bbucciantimy kernel is booting to slow, or i think so20:57
bbucciantilook at my systemd-analyze20:57
bbucciantisystemd-analyze20:57
bbucciantiStartup finished in 16.145s (kernel) + 7.476s (userspace) = 23.622s20:57
apwbbuccianti, that does seem quite high, though not world ending21:07
bbucciantii agree with you21:09
bbucciantibut i want to learn21:09
bbucciantiand reduce boot time21:09
bbucciantican you give me some resources?21:09
memguyi got a question on vdso how does this actually speed up syscalls . I know it maps a page for each program with the vdso.so lib but doesn't each still at the lowest level have to call sysenter/exit or int instructions? Or is it speeding it up by remapping a complete syscall handler function into vdso.so userspace page?22:34

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