/srv/irclogs.ubuntu.com/2011/10/24/#ubuntu-kernel.txt

himcesjfHello! Can anyone guide me on loading a module to kernel?06:53
ckinghimcesjf, use sudo modprobe modulename07:20
=== himcesjf1 is now known as himcesjf
smbmorning .+07:35
himcesjfcking: Yes, I'm trying to load acpi module processor and fan. After I modprobe the module, I don't see any change in dmesg to confirm whether its supported on my hardware or not07:37
smbhimcesjf, Depending on what release you are, those may not be modules anymore07:40
himcesjfsmb: http://paste.ubuntu.com/717632/ 07:43
himcesjfand the processor module was built into kernel 2.6.20.7-2 07:46
ppisatimorning *07:48
smbSo? Your list shows that there is no module for fan or processor, I am not sure what this has to do with 2.6.20... 20? 07:49
smbIf you are missing /proc/acpi/processor and .../fan, could be that those finally got removed from proc and only have some place in /sys07:49
himcesjfah, yes right. /proc is being deprecated07:50
himcesjfThen how do I enable acpi processor support in kernel?07:52
smbI should not be necessary. If the acpi bios includes the right information it will always happen automatically07:55
himcesjfok07:55
apw2.6.20 ?08:24
apwsmb, morning08:24
smbapw, Thats what he said... :) Mornign08:25
apwthats like feisty or something08:25
smbat least pre-hardy and I cannot remember farer back (or at least I worked hard to forget)08:26
ppisati_uhm10:44
ppisati_can't build an hardy kernel (inside an hardy x86_64 chroot)10:44
ppisati_http://paste.ubuntu.com/717707/10:44
ppisati_"Could not open /home/flag/canonical/ubuntu-hardy/debian/linux-image-2.6.24-29-generic/lib/modules/2.6.24-29-generic/modules.alias at debian/tests/check-aliases line 10."10:44
ppisati_any idea?10:44
apwppisati_, normally that specific error occurs if the version number is broken10:53
ppisati_uhm10:54
apw/home/flag/canonical/ubuntu-hardy/debian/linux-image-2.6.24-29-generic/lib/modules/10:54
apwls that directory on the builder and see what if anything is in there10:54
ppisati_i've 6 patches on top of hardy's HEAD10:54
ppisati_i could try backing out them10:54
ppisati_but they don't touch the version number/any files in debian/*10:55
apwls that directory on the builder and see what if anything is in there10:55
apw/home/flag/canonical/ubuntu-hardy/debian/linux-image-2.6.24-29-generic/lib/modules/10:56
ppisati_drwxr-xr-x 4 flag flag 4096 2011-10-24 12:41 2.6.24-29-generic10:56
ppisati_only this dir10:56
apwand what is in that dir10:57
ppisati_drwxr-xr-x 2 flag flag 4096 2011-10-24 12:41 initrd10:57
ppisati_drwxr-xr-x 9 flag flag 4096 2011-10-24 12:41 kernel10:57
apwso i'd say depmod may have failed10:57
apwahhh what is your host running ?10:57
apwit is running oneiric10:57
ppisati_onerici10:57
ppisati_but i'm in a hardy-x86_64 chroot10:58
* apw bets depmod is shitting self over the kernel version number, look for DEPMOD in the log10:58
ogra_geez, hardy10:58
ppisati_DEPMOD  2.6.24-29-generic10:59
apwdid it error at all after that?10:59
ogra_7me coughs because of all the dust in the channel10:59
apw^ proof you have a .de keyboard10:59
ogra_hehe11:00
ppisati_bot at that point11:00
ppisati_it was INSALLing all the modules11:00
ppisati_s/bot/not/11:00
ogra_the uk ac100 is twice as expensive so yeah, i took the german model (now sold for 125€ here) ;)11:00
apwppisati_, can you pastebin the whole log please11:01
apwogra_, you and your funny money11:05
ogra_haha11:05
ppisati_apw: http://people.canonical.com/~ppisati/hardy-O.log11:07
apw  /home/flag/canonical/ubuntu-hardy is not clean, please run 'make mrproper'11:08
apwyour tree is damaged, and i think its not configuring right11:09
apwyou might try 'rmdir include/config' and see if that repairs that11:09
apwor if you ran make mrproper, then a git checkout -f would be needed after11:10
ppisati_apw: saw that, but i think i did 'git reset --hard HEAD' in another terminal11:10
ppisati_(that's the entire cut&paste of a screen session)11:10
apwppisati_, ok nothing obvious to see in there.  iirc the depmod run makes the modules.alias, as it didn't make the wrong directory i think the next step is to try runing the depmod yourself11:13
apwyou'll have to work out the incantation though11:13
ppisati_apw: well, compiling on tangerine now (didn't check but i hope it's not O yet)11:14
ppisati_ok, tangerine got it11:31
Kanohi apw , could you set for next rc kernels a ~rc11:35
Kanowould be a good idea to change that before 3.2~rc111:36
apwgiven the kernel names differ, so they don't replace each other, is there anything to be gained by that11:36
Kanowhy on earth does the FINAL kernel have got a libc6 depend?11:37
Kanothe gain is, when you had rc kernels installed and install the final kernel, then rc kernel is on top of the kernel list11:37
Kanoand the final is below every rc kernel11:37
apwKano, well that isn't a use case we care about much, so with UDS coming up it'll not be high on my priority list11:38
Kanothe ~ means that it is below11:38
Kanothats a 5 min change or less11:38
Kanobut tell me why11:38
Kanolibc6 (>= 2.11) now?11:38
Kanofor headers11:38
Kanothats crap11:38
apwif it was that easy you'd be making your own kernels11:38
Kanoi dont see a reason to compile a kernel without patches again11:39
apwyou really have a way of saying things that makes me want to help11:39
Kanoi can not install the headers with lenny systems now11:39
Kanowith that new change11:39
apwits not something which we have changed deliberatly11:40
Kanoyou changed the build system?11:40
apwits something that (likely) came of changing it to build them in the right chroots11:40
apwsomething you asked for11:40
Kanoi asked for a libc6 depend which is even wrong?11:40
apwno you asked for mainline builds for oneiric to be build in oneiric chroots11:41
apwand i suspect it is fallout from that11:41
Kanoi?11:41
Kanonever11:41
apwnoone else ever talks to me about mainline builds11:41
apwbut either way i suspect its an unintended side effect of that11:41
Kanoi need em build with an older chroot11:42
Kanootherwise i can not use the headers11:42
Kanosomething with libc6 2.711:42
apwit is unclear why we would have any libc deps on any headrs11:42
Kanomaybe you updated the packageing code11:43
Kanolike you did a while ago, there i had to hack the depends too11:43
Kanolast time i had to hack this:  sed -i s/3.13/3.2/ linux-image/DEBIAN/control11:44
Kanothis time it is in the headers package11:45
apwwell building the images in teh right chroot is the right thing, else you can't use dkms packages with them11:46
Kanothats incorrect11:46
apwas to why we have a libc dep on headers11:46
apwdefine incorrect11:46
Kanoyou can use any newer libc6 without problems11:46
Kanothats what i did all the time11:46
Kanoi used the kernels on lenny + squeeze11:46
apwit is unclear why a pure headers package would need any dep on any other pacage11:46
Kanoand fglrx/nvidia/vbox always compiled correctly11:47
Kanosqueeze had a much newer libc611:47
apwloadable modules should not be built with a different compiler, that is the key constraint11:48
Kanothat was a problem when switching from 2.9x to 4.011:48
Kanobut never later11:49
Kanothey are compatible11:49
Kanoif you use gcc 4.3 or newer it does not matter11:50
Kanoabsolutely never had issues because of that11:50
apwand we have, and that is our constraint, and our builds11:51
apwthe libc6 dep seems spurious and i'll try and figure out where that is coming from11:51
Kanowell it would not help if you remove it and build still with oneric chroot11:51
apwwhy so11:52
Kanowell you can compile with a newer gcc but not with an older one11:52
Kanomost likely because of missing symbols in older libc611:52
Kanothats why you can use software compiled with older libc6 on a much newer libc6 but not the other way around11:53
apwbut the kernel doesn't use libc, so a dependancy on it makes no sense11:54
Kanothe headers do11:54
Kanothe headers have got binary components11:54
Kanothose can not get linked11:54
Kanowhen you build extra modules11:55
Kanolinux-image would work everywhere, thats clear11:55
apwKano, can you point me to a binary in that package12:00
Kanofor x in $(dpkg -L linux-headers-$(uname -r)); do file $x; done|grep ELF|grep sha12:03
Kanofor x in $(dpkg -L linux-headers-$(uname -r)); do file $x; done|grep ELF12:03
Kanothat way12:03
Kano1912:06
Kanoshared 1012:06
apwunity is only updating my internal panel now, not bothering with my external even though it is showing the correct cursors on it12:28
ppisati_anyone with an hardy box wiliing to test a kernel?12:29
smbppisati_, youre not doing the same thing apw was doing last week=12:29
smb?12:29
ppisati_apw: IIRC he was doing the...12:30
ppisati_smb: ^12:30
apwCVE-2011-154812:30
ubot2apw: The default configuration of logrotate on Debian GNU/Linux uses root privileges to process files in directories that permit non-root write access, which allows local users to conduct symlink and hard link attacks by leveraging logrotate's lack of support for untrusted directories, as demonstrated by /var/log/postgresql/. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1548)12:30
ppisati_smb: cifs/smb pwd stuff12:30
apwyeah that was the one12:30
ppisati_uhm no12:30
apwnot 154812:30
ppisati_i'm doing the12:30
apwthe one you said12:30
ppisati_CVE-2011-108212:30
ubot2ppisati_: fs/eventpoll.c in the Linux kernel before 2.6.38 places epoll file descriptors within other epoll data structures without properly checking for (1) closed loops or (2) deep chains, which allows local users to cause a denial of service (deadlock or stack memory consumption) via a crafted application that makes epoll_create and epoll_ctl system calls. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1082)12:30
ppisati_i backported 2 patches, plus 4 more to ease the "porting"12:31
smbppisati_, Ok, well anyway I can try your kernel if there is a reproducer12:31
tgardnerppisati_, that looks HW independent. you can likely use a VM for testing12:31
ppisati_yep, don't have a vm but i can roll one...12:32
ppisati_smb: no, there's no reproducer12:38
ppisati_i should look for one12:38
smbppisati_, Having one is ideal. Or at least know what would be using epoll to see that this is still working after the changes.12:42
ppisati_smb: ok. i've a reproducer now12:44
=== firewave is now known as FireWave_Job
tgardnerogasawara, did you notice 3.1 is out ?13:48
ogasawaratgardner: yep, rebasing it right now13:49
tgardnerogasawara, cool13:49
ogasawaratgardner: I mailed you some wifi cards, not sure if you've been home though?13:49
=== yofel_ is now known as yofel
* ogasawara back in 2014:22
bjftgardner, ogra_ pointed out on friday that mvl-dove for maverick wasn't supposed to be released, it was just a plaything for NCommander14:26
bjftgardner, i mentioned that we were still doing security patches to it regularly14:27
ogra_bjf, well, the prob we have now is that it cant be removed after release14:29
ogra_nor can we demote it to universe after release14:30
ogra_so even though it hasnt a single user (byond tobin doing his tests) we cant really drop it now14:30
tgardnerogra_, bjf: dang, I wish we'd have known this up front.14:36
tgardneroh well.14:36
=== smb` is now known as smb
tgardnerogasawara, I did receive your package14:36
ogra_tgardner, dito14:36
tgardnerogra_, its just part of the stable updates machine for now. it'll expire soon enough.14:38
ogra_another what, 12 months ?14:38
ogra_or is it only 6 ?14:38
tgardner6 I think14:38
ogra_it burns manpower for no reason, thats what annoys me 14:38
tgardnertrue, but we have most of that kind of stuff scripteed14:39
ogra_k14:40
ogra_at least lucid will be EOL by end of the week :)14:40
ogra_(for arm that is)14:40
tgardnerlong live imx5114:40
ogra_well14:41
ogra_thats another wart 14:41
ogra_i think IS still wants imx51 security updates for the buildds until they get killed14:41
ogra_though thats a matter of IS to talk to you guys14:41
tgardnerogra_, maybe we can get 'em to purge all of the babbages when someone _finally_ releases a good ARM server14:42
ogra_well, thats another 6 months (at least)14:42
tgardnerand I think thats optimistic :)14:43
ogra_i'm an optimist by design ... else i wouldnt work on arm ;)14:44
tgardnerapw, how come we're getting 3 notices for mainline build v3.1 ?15:01
AlanBellhullo, I was wondering if someone can have a look at bug 61423815:01
ubot2Launchpad bug 614238 in linux "Intel Core i3 External Monitor Wavy Output" [Medium,Confirmed] https://launchpad.net/bugs/61423815:01
apwtgardner, manual rebuilds 3 is 'right'15:02
AlanBellthe bug has a patch, that works, but I am not sure that the right things have been done to upstream it and get it into Ubuntu15:02
tgardnerapw, ok, just wanted to make sure it wasn't a script that was running amok15:02
apwtgardner, nope its me thats amok15:02
tgardnersforshee, weren't you working on the wavy external monitor ?15:03
tgardnerAlanBell, sforshee is on vacation, back tomorrow.15:04
ohsixAlanBell: is that the one where the spread spectrum is on vga outputs?15:04
ohsixfrom what i've heard of it theres not a lot that can be done since the clock is shared, you just need to force it off if you use vga15:05
AlanBellohsix: not sure what the cause is, but there is a patch which fixes it perfectly15:09
ohsixit "fixes" it by disabling ssm, which is actually useful on the nonvga outputs15:10
AlanBellhmm, laptop screen and HDMI output worked fine for me15:11
* ppisati_ goes out to see a new flat15:53
tgardnerogasawara, apw: tangerine.buildd:~rtg/lucid/debootstrap/debootstrap_1.0.20ubuntu1.4_all.deb for your local lucid build hosts. I've added the precise chroots on tangerine; gomeisa and tyler soon to follow.16:13
ogasawaratgardner: thanks16:13
tgardnerupdate your kteam-tools16:13
* tgardner -> lunch17:56
=== chrisccoulson_ is now known as chrisccoulson
smosersmb, kernel on ec2 is ill (not a surprise) 20:16
smoserhttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/88107620:16
ubot2Launchpad bug 881076 in linux "precise kernels do not boot on ec2" [Undecided,Incomplete]20:16
bjfnice, thanks20:50
bjfjsalisbury, i think bug #558569 can be marked "Won't Fix" don't you?21:35
ubot2Launchpad bug 558569 in module-init-tools "Unable start as live cd Lucid Beta 2" [High,Fix released] https://launchpad.net/bugs/55856921:35
jsalisburybjf, yes I would say so.  Looks like it's won't fix for Lucid, justs needs the Linux and Linux(Ubuntu) entries updated.21:37
jsalisburybjf, may need to think about ways to expire bugs like this21:38
bjfyes, i think this one won't expire because there are two tasks 21:39
jsalisburybjf, ahh, I see21:39
bjfjsalisbury, but i'm not sure21:40
jsalisburybjf, Hmm, I can't mark the upstream task as wont fix since bugzilla.kernel.org is unavailable21:41
jsalisburybjf, I guess I can just remove that task21:42
bjfjsalisbury, not sure what the policy is for that21:44
jsalisburybjf, ok21:44

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