/srv/irclogs.ubuntu.com/2009/06/18/#ubuntu-kernel.txt

zeroproghey guys i finally was able to compile my module example....but in /var/log/messages it says init suspiciously returned 32 but loading module anyway.....is this bad?01:58
=== bjf is now known as bjf_afk
=== smb_tp is now known as smb
Ngare things like /proc/sys/vm/{laptop_mode,dirty_writeback_centisecs} supposed to be remembered across suspends?11:33
amitkNg: they should be...12:14
Ngamitk: empirically... not so much12:14
NgI set them in sysctl.conf on boot and they're back at roughly default looking values 20 hours later after an unknown number of suspends12:15
Ngwhat I need, is a test case :)12:15
amitkNg: does laptop-mode.conf have any settings to override it, I wonder12:15
Ngooh, good point12:17
Nghttp://pastebin.com/f537ccbeb12:20
Ngoh I wonder if this is the _ON_AC setting12:20
amitkprobably12:23
amitktry disconnecting AC and see if your settings are restored, assuming they are made to laptop-mode.conf and _not_ sysctl.conf12:24
lifelessis there a known bug in karmic where laptops randomly power off?12:30
lifelesshappened to me twice now; power button wasn't held down. machine didn't feel overheated.12:30
amitklifeless: never seen in before, worth a bug.12:40
rtgapw: lemme experiment with the pae kernel a bit.13:25
apwsure ... in a couple of hours i will have some kernels available for testing (errors permitting)13:25
rtgapw: why does gem barf on pae?13:26
rtgis it the extra page table level?13:26
apwthe agp interfaces used to take addresses <4gb only as i understand it13:27
apwthe patches change the API to take page*'s instead fixing the issue13:27
rtgah, I guess that makes sense13:27
apwi think it meant you might try and push things into highmem for graphics objects and the world ended13:28
apwin bad, corrupting type ways13:28
amitkone would think that this would be one of the first problems the developers would encounter given that they work for Intel and probably have few machines with < 4Gb of memory13:29
apwamitk, i am constantly amazed by what is ignored13:30
apwthe issue was a core interface issue, so it got ignored by the graphics people13:30
apwtill dave picked it up it seems13:30
rtghmm, its pretty bad when NM can't even get an ethernet DHCP address. I can see the server offerring an address, but the Karmic client is just ignoring it.13:32
apwouch, no receieve side?13:36
rtgapw: works fine if I hard code the address13:37
apwunable to receive broadcasts perhaps?13:38
rtgapw: no, it ARP'd OK13:39
apwhrm13:40
apwbug in dhcp client perhaps13:40
apwperhaps slap a tcpdump on the channel before enabling13:40
rtgapw: I can see the offer in /var/log/syslog13:41
apw*gurgle*13:41
apwthat has to be a NM/dhcp bug then13:42
apwas we now know the offer made it to the machine, and into dhcp-client, and we know you can set an address on the interface13:42
rtgapw: well, pae --> garbage onscreen13:47
apwrtg hrm, that is unexpected13:47
apwi would have expected working but compiz disabled13:48
apwi'll get with bryce and see what testing we can get done on those kernels13:48
rtgapw: this DHCP issue has to be Karmic related, I booted a Jaunty kernel and still cannot get an ethernet address, though wireless works fine.13:51
apwyeah be worth seeing if we have merged those support packages recently13:51
apwrtg, i see luke has just sent up a pull for the ports re-merge13:52
rtgthis ought to be interesting13:53
apwyeah ... you gonna handle that?13:53
rtgmight as well, everything is fresh in my head13:53
apwor do you want me to13:53
apwgood enough13:53
rtgback in a few, coffee run13:53
TheMusoFWIW this was not something I asked for. I was happy with how it was, but the archive admins are the ones who want this merge.13:53
apwyeah we were happy too, not sure quite what the beef was exactly13:55
Keybukapw: got a new build for me yet? :p13:55
TheMusoapw: I can fully understand why  you guys wanted it separate.13:55
apwKeybuk, oh we got fixes there too13:56
apw?13:56
Keybukapw: yeah Jan sent a patch through earlier13:56
KeybukSubject: [PATCH] Don't replace nameidata path when following links13:56
apwok just finsihed some kms uploads, so will get that now13:56
Keybuk(in the thread)13:56
apwKeybuk, any idea what the limitation on sysfs and proc might mean13:57
Keybukyes13:58
Keybukif you mount your union over /13:58
Keybukthen any attempt to write into /proc, /sys, /dev, etc. will go to the union ;)13:58
apwahh heh yeah it is a stupid thing to do obviously13:59
apwit was only a minimal demo of the explosion13:59
sorenKeybuk: What's the solution for that? Special case virtual filesystems or avoid overlaying "submounts" altogether?14:03
sorenOr something entirely different?14:03
Keybuksoren: you make the union before you mount them14:04
Keybukyou can mount over top of a union obviously14:04
sorenKeybuk: Oh, right.14:04
Keybukie. make your root filesystem, then mount the union, then mount the virtual filesystems, etc.14:04
KeybukI was actually thinking that it might be fun to support this in /etc/fstab :p14:04
sorenRight, right. *headdesk* I wasn't thinking.14:04
Keybuk  server:/ro/jaunty/usr  /usr  nfs defaults 0 014:05
Keybuk  tmpfs                  /usr  tmpfs  union 0 014:05
Keybukthen I realised that it just works14:05
apwnnng14:05
pgranerapw: ping15:07
apwpong15:08
pgranerapw: can you take a peek at https://bugs.launchpad.net/bugs/370173  this one is getting a huge number of "me too" 15:08
ubot3Malone bug 370173 in linux "Ubuntu 9.04 laptop overheat and shutdown" [Undecided,Confirmed] 15:08
=== Nafallo_ is now known as Nafallo
apwpgraner, what a crock15:27
pgranerapw: heh... its another one of those bugs with a billion comments...15:29
rtgapw: we use crock pots to make stew, and they are hot. is that the issue?15:29
apwheh perhaps15:30
pgranerapw: not sure if its better suited for you or smb but we need to track it and see if there what upstream knows15:31
apwpgraner, indeed .... i'll get a range of kernels and see if i can reproduce it here15:32
smbWe probably have to look and decide15:34
bjf_afkrtg, question about imx51 build16:46
=== bjf_afk is now known as bjf
rtgbjf: hmm?16:47
bjfrtg, jiffies.h can find CLOCK_TICK_RATE16:48
bjfrtg, it's defined in mx51.h16:48
rtgbjf: s/can/can't/ ?16:48
bjfrtg, right "can't"16:48
rtgseems like an arch problem introduced by their patch set16:49
bjfrtg, early part of build must setup headers so this can be found16:49
bjfrtg, It's probably one of the merge conflicts that I didn't handle right16:49
rtgbjf: yep, the prep phase points asm to asm-arm16:49
rtgbjf: do you have your branch pushed somewhere?16:50
bjfrtg, looking at include I don't see asm or asm-arm16:50
bjfrtg, just asm-generic16:50
bjfrtg, I'll dig into it16:51
rtgbjf: k, I'll be back in awhile16:51
=== stew is now known as HolieThePuppet
=== HolieThePuppet is now known as stew
apwKeybuk, that unionfs kernel is ready: https://edge.launchpad.net/~apw/+archive/green18:00
Keybukthanks18:01
MacSlowhttp://pastebin.ubuntu.com/19866418:05
MacSlowAnybody with an idea what "Failed to register hw (error -17)" means?18:05
MacSlowThanks in advance18:05
rtgMacSlow: Jaunty?18:07
MacSlowrtg, no on Karmic 2.6.30-9-generic18:13
rtgMacSlow: its a software registration error, so I'm not really sure why its failing.18:14
MacSlowrtg, firmware issue?18:14
rtgMacSlow: I have some 3945's. Lemme try 'em out.18:14
MacSlowrtg, sweet... thanks!18:14
MacSlowrtg, btw.. just so that you know... I've wifi-based network again thanks to the atk9k PCMCIA-card I've plugged into laptop18:15
MacSlowrtg, but still getting the internal wifi-card working again would be very slick18:16
rtgMacSlow: they both use the same registration function, so its interesting that iwl is failing.18:16
rtgMacSlow: I assume the i3945 worked with Jaunty?18:16
MacSlowrtg, oh... so it's not a firmware thing then?!18:16
MacSlowrtg, well the whole thing started failing around the interpid/jaunty time18:17
rtgMacSlow: I don't think so, but I did recently upgrade the Karmic firmware for that part.18:17
rtgMacSlow: if its been failing for that long, then you may have HW issues.18:17
MacSlowthat's why I bought the atk9k in Mountain View during second last UDS in California18:17
MacSlowcrap18:18
rtgsome of these wireless cards don't last forever.18:18
MacSlowrtg, it's not really an old laptpo18:18
MacSlowonly about 2 years old18:19
MacSlowI regard that still as rather new18:19
rtgMacSlow: I guarantee that i3945 worked with Intrepid and Jaunty.  Its in one of my primary travel laptops18:19
MacSlow*sniff*18:20
rtgMacSlow: I'm updating an Inspiron 1420 with Karmic. It'll be 20 minutes or so. I also know that ogasawara has the same laptop.18:21
MacSlowI wonder if I can get a replacement one on warrenty still18:21
rtgMacSlow: can't help you there :)18:21
MacSlowrtg, ogasawara had her fair bit of entanglements with my laptop at last AllHands regarding the issue18:22
MacSlowkillswitch issues back then18:22
rtgMacSlow: I'm really thinking you might HW issues18:22
MacSlowbut I was running another kernel during AllHands18:22
rtgs/might/might have/18:22
rtgMacSlow: what kind of laptop?18:23
ogasawaraMacSlow: lemme reboot into the latest karmic, but I've not had any issues with my wifi (iwl3945) on my inspiron 142018:23
MacSlowrtg, I'll try to get feedback on an exchange card at the local dealer tomorrow or so18:23
MacSlowbrb18:23
invisibillGreetings deep kernel heads:  I'm an amd64 / nvidia / ubuntustudio user.  I had to upgrade from the relase-rt kernel to http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30-rc8/ to work around system crashes.  18:28
MacSlowre18:29
invisibillside effect is my best sound card "echoaudio mia" doesn't work with this. 18:29
invisibillI want to build the latest kernel from scratch but I'm not sure of the way to go for this.  I see there is an rt in the git repository, but I cant tell if it will work for amd64. 18:30
invisibillany suggestions for the best place to start on this?  18:30
invisibillI've built custom kernels on debian systems a few years back but I'm sure the process is different on ubuntu. 18:31
invisibillThis may be asking too much, but can you (anyone that knows what they're doing) put a how-to for building an ubuntu kernel on the kernel wiki?  18:33
ogasawaraMacSlow: unfortunately no errors here for me with 2.6.30-9 - http://pastebin.ubuntu.com/198684/18:33
rtginvisibill: start here: https://wiki.ubuntu.com/KernelTeam/KernelMaintenance18:34
MacSlowogasawara, ok I'll try to get a replacement iwl3945 on warrenty then... hopefully18:34
invisibillthere is this blog post here but It looks a bit ad-hoc http://blog.avirtualhome.com/2008/10/28/how-to-compile-a-custom-kernel-for-ubuntu-intrepid/18:34
MacSlowogasawara, rtg: thanks sofar to the two of you!18:34
invisibillok thanks rtg  I'll have a read up of this.18:36
rtgMacSlow: works fine for me as well18:37
MacSlowrtg, yeah.. rub salt into the wound ;)18:38
rtgMacSlow: just walk around muttering "I'm screwed, I'm screwed" :)18:38
MacSlowrtg, but you mentioned to see it often such internal wifi-cards die18:38
rtgMacSlow: mostly I see them die in outdoor environments18:39
MacSlowthat kind of ruins my trust in the overly solid thinkpads18:39
MacSlowrtg, due to other electromagnetic radiation?18:40
rtgMacSlow: sometimes, but they also fail due to continuous use.18:40
MacSlowwhich is usually shielded by building walls (if one uses the laptop only indoors)?18:40
MacSlowhow stupid is that?18:40
rtgMacSlow: if this is your primary laptop for the last 2 years, then its had a great deal of use.18:41
MacSlowalmost sounds like built-in failure to keep customers18:41
MacSlowrtg, but it's a tool... it's meant to be used that thoroughly...18:41
MacSlowespecially thinkpads18:42
rtgin a perfect world...18:42
MacSlowgee... my world is collapsing right now :)18:42
* apw shifts to his ethernet connection to save his packets18:43
MacSlowapw, now you're scared right? :)18:47
apwheh18:47
Keybukapw: I can chroot in!19:03
invisibillhi again.  I want to checkout the latest rt kerenel to build on my amd64 system:  http://kernel.ubuntu.com/git?p=abogani/ubuntu-jaunty-rt.git;a=commit;h=b583230610922e5414cb38d09d3104753a77a771  What is the command to do that? 19:03
apwKeybuk, excellent.  so you can do some sensible testing now?19:03
apwyou could reply and let them know when you get a chance19:04
Keybukapw: strange issue with symlinks19:04
Keybukbash: /usr/bin/vi: File exists19:04
Keybukwhere /usr/bin/vi -> /etc/alternatives/vi -> /usr/bin/vim.tiny19:04
apwhrm very odd.  so any of the other links work?19:04
invisibillgit clone git://kernel.ubuntu.com/git?p=abogani/ubuntu-jaunty-rt.git  ??19:04
Keybukyes19:05
Keybukwhich is weird19:05
Keybuktype -f doesn't find it either19:05
Keybukseems to be true for most alternatives19:05
Keybukother symlinks are ok19:05
apwinvisibill, nope, git clone git://kernel.ubuntu.com/abogani/ubuntu-jaunty-rt.git19:06
apwso links to links are unwell perhaps19:06
Keybukapw: rename() obviously doesn't work19:07
Keybukwhich breaks lots of things19:07
invisibillthanks apw19:07
apwwhats it say 'EXFS' or something?19:07
apwi do wonder why a rename can't trigger a copy up, then simply return ERESTART19:08
Keybukweird19:08
Keybukstat64("/usr/bin/vi", 0x99999999) = -1 EEXIST (File exists)19:08
apwerp19:08
Keybukdamnit, this feels so close :p19:11
Keybukmailed Jan + Val19:14
apwyou are clearly testing it far more than they19:17
jjohansenapw: as I recall it, its returning that its across device, and the libc is suppose to pick that up and fallback to a copy19:18
apwbut one really needs the atomicity of the rename() call19:19
apwso it seems safer to copy-up and restart the rename().  As i understand things rename() on things in the top layer can work19:19
jjohansenapw: I haven't looked at the patches enough, but I believe last I looked it was only doing rename in the top layer if both files were in the top layer, other wise it treated it like copy up19:21
jjohansens/enough/recently19:21
apwright, i believe it will rename if the file is already up19:22
jjohansenI remember this being explicitly mentioned as a problem19:22
jjohansenthat is possible19:22
Keybukapw: I'm running apt-get dist-upgrade in the chroot19:22
Keybukit's a pretty mean and unforgiving test19:22
apwso i think triggering a copy up, then returning ERESTART should trigger a new rename() from glibc and that should succeed19:23
jjohansenof course I could be mixing up aufs or unitionfs with union mounts, I spent more time in them19:23
apwi've suggested it to the authors, they can tell me why it would not work19:23
jjohansenapw:  is the error EXDEV19:24
apwi believe so yes19:24
jjohansenyeah, that is the error for moving files across a device19:25
apwKeybuk, that is very brave ... i am expecting you to have nothing left :)19:25
Keybukwhich you are, obviously19:25
Keybukthough in practice, it should be a copy and a whiteout19:25
apwis your machine still with us?19:26
* Keybuk decides to leave the "kernel panic on umount" bug for later19:26
Keybukapw: sure19:26
Keybukwhile, yes, I agree with Jan that POSIX does say that rename() might fail ...20:01
invisibillHi again:  can someone tell me what the difference between running 'fakeroot debian/rules binary-modules-rt' and 'fakeroot make-kpkg –initrd –append-to-version=-me1 kernel_image kernel_headers' ? 20:23
=== ivoks_ is now known as ivoks
TheMusortg: Ok I'll hopefully get to revising the ports configs stuff this evening.23:40

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