/srv/irclogs.ubuntu.com/2008/06/20/#ubuntu-kernel.txt

jdubanyone working on the kernel freeze (possibly related to wireless) issue with hardy? i have a useful petri dish of varying hardware presenting the symptom.00:01
lifelessjdub: -19 ?00:33
jdubyeah00:35
=== asac_ is now known as asac
rtgcking: you around? Can you comment on bug #153702 since you have one of the affected machines?13:56
ckingrtg: will do.13:58
ckingrtg: I did the same workaround ida_generic_ide for #153702 - is this classed as a legitimate fix or is this a call for more investigation for a better solution?14:01
rtgcking: Amit was curious what the parameter actually does. Is there a downside to it?14:02
ckingrtg: These I don't know - I will investigate and comment.14:02
mjg59Yes, it means that you're driving it as a generic ATA device14:02
ckingmjg59: which could imply some performance hit?  My experience with this hardware is that it can move data to/from the disc reliably and fairly fast14:04
mjg59Yes, performance hit and reduced functionality14:04
mjg59What does lspci -n give you when booted with the bios in ide mode?14:04
rtgmjg59: my fuzzy notion of what that means is that in IDE mode it does not participate in SATA topology discovery, link state, and other stuff. 14:05
mjg59It's probably less of an issue with the chipset in IDE mode to begin with14:06
mjg59Since ata_piix provides a smaller set of features to begin with14:06
mjg59You're probably limited to the timings set up by the BIOS, though14:06
mjg59I'd be interested to know which driver is binding to the chipset14:11
rtgcking: ^^14:12
ckingmjg59: 00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])14:14
mjg59cking: Can I have lspci -n as well?14:15
ckingmjg59: I mail you 14:16
rtgcking: I have the same Inspiron 530, but it shows a different controller: 00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller (rev 02), 00:1f.2 0104: 8086:2822 (rev 02)14:19
rtgPerhaps thats why I've not seen this issue.14:20
mjg59rtg: Yeah, that'll happen if you boot in RAID mode14:20
mjg59If you flick the switch in the BIOS it should be identical to Colin's14:20
rtgbut the bug report is about _not_ being able to sense the drives in non-RAID mode, but I know this one works both ways.14:21
ckingrtg: I need 5 mins to get a monitor added to the server - it's remotely located at the moment.14:21
ckingrtg: "works" meaning "does not need the all_generic_ide" boot option?14:22
rtgcking: right. I'm cranking up my laptop cause this session is on the Dell 530 (which will go away when I start messing with BIOS options)14:24
ckingrtg_: IDE mode definitely requires the all_generic_ide option, where as RAID does not14:42
rtg_cking: switching mine between RAID/IDE seems to have trashed the MBR. Now it can;t find a boot device in either mode. shit, that is my dev box.14:44
ckingas for performance, some quick dd tests show: write: IDE 51.1 MB/s, RAID: 51.4 MB/s,  read: IDE 65.0 MB/s RAID: 64.5 MB/s14:44
ckingrtg_: not good.14:45
ckingrtg_: so there is little difference between RAID and IDE modes - apart from crapping up your system in the process of testing14:45
rtg_cking: indeed. please add that to the bug report :)14:46
ckingwill do14:46
ckingrtg_: hope you get your dev box sorted asap14:47
rtg_cking: thats just great. all of the ISO's for Hardy on the drives I can't get to. 60 minutes to download...14:49
ckingrtg_: 60 minutes - that's lame speed14:50
rtgcking: stupid BIOS. some futzing around restored the boot.15:09
ckingrtg: it's kinda worrying that a BIOS can be so flakey15:10
rtgcking: I could boot if I chose F12 and went through the boot menu. I ended up having to change boot device  priority settings15:11
rtgsmb_tp: are you taking care of adding the HVR950Q driver for LUM ?15:37
smb_tprtg: yes15:38
smb_tprtg: I opened bug 231628 for tracking15:38
smb_tpbug 24162815:38
mkrufkythanks for that :-)15:39
rtgsmb_tp: thanks. I'm just going through the kernel team mailing list requests to make sure I don't forget something.15:39
smb_tprtg: Np, I am also on the AC-BAT stuff from Yong15:39
rtgsmb_tp: great, thanks.15:40
mkrufkythere was another driver to be added also -- i sent it to mike frey and asked him if i should also send to kernel-team ... he said he'd just commit it and ask you guys to pull ...  but if you want to take a look, it is at: http://linuxtv.org/~mkrufky/lum/add-sms1xxx-to-lum.patch15:40
rtgmkrufky: is it of general use to the distro kernel? Or just MID style devioces?15:41
mkrufkygeneral use15:41
smb_tpmkrufky: at the moment it would be better to post on the list. just to have a better reminder15:41
mkrufkyok, no prob15:41
rtgmkrufky: if these drivers are not already in 2.6.26 you should hassle BenC to put them in the Intrepid package.15:44
smb_tprtg: I just pushed the changes for bug241229 but since the nomination seems to be pending I am not sure where to place the progress 15:44
mkrufkyrtg they are not in 2.6.26 ....  the hvr950q driver *is* in 2.6.26, but its missing some usb ids and some performance tweaks15:45
rtgsmb_tp: mark it "Fix committed", subscribe ubuntu-sru, nominate it for Hardy, and write up the SRU justification in a comment.15:45
mkrufkyrtg: when it comes to intrepid, i think it would be easier for me to send in patches against upstream to sync intrepid kernel -- is that cool?15:45
mkrufkyer, came out wrong... ie:  the hvr950q fixes for intrepid would be easier for me if i could just patch the kernel, rather than LUM15:46
rtgmkrufky: you're too late for that. 2.6.26 is the kernel Intrepid will settle on. right now you'll be pressed to get your drivers into 2.6.27.15:46
mkrufkyok, no prob15:46
mkrufkyi'll get them into 2.6.27.  and i can probably get the performance tweaks and usb vid:pid updates into 2.6.26.y -stable15:47
rtgmkrufky: as for patching the kernel, we prefer to keep the kernel as close to upstream as possible. wholesale changes (like new drivers) are going into a different directory. 15:47
BenCmkrufky: If you are adding drivers to intrepid, we don't want them in the same place as upstream would have them15:47
BenCmkrufky: we'll have them in the ubuntu/ subdirectory15:48
rtgmkrufky: for Intrepid, the ubuntu/ subdirectory is the equivalent of Hardy LUM.15:48
mkrufkyto clarify:15:50
mkrufkyin 2.6.26, the au0828 xc5000 and au8522 drivers are already merged15:51
mkrufkybut, the 2.6.26 versions are missing some patches, such as usb id's and some small performance tweaks15:51
mkrufkyso, i will try to get those into 2.6.26.y -stable ... if that doesnt work out, then we'll have to do LUM ....  however, LUM poses a problem in this case, since 2.6.26 has OTHER drivers that also depend on xc5000.ko15:52
mkrufkywe'll have linking problems if we provide a new xc5000.ko15:52
rtgmkrufky: patching an existing driver is much less of an issue.15:52
mkrufky....and ^^ that is what i meant. 15:52
mkrufky:-)  ok, cool then15:52
mkrufkysms1xxx patch email sent16:01
BenCmkrufky: patching an existing driver should be limited though...large amounts of patching would mean instead, putting the patched driver in ubuntu/ and disabling the in-kernel one16:04
mkrufkyBenC: so far the delta is very small16:05
rtgmkrufky: perf tweaks and PCI ID updates should be OK.16:05
mkrufkyBenC: if it gets larger, we can move the au8522 / au0828 to ubuntu/  but we cant do that to xc5000 in intrepid.  actually, right now the xc5000 sumbitted for LUM is identical to upstream, but I plan to rev it over the weekend with some power management fixes.  16:06
mkrufky...and it will probably be about a week or so before I submit those patches -- the power management stuff will need good testing here first before i submit anywhere :-)16:07
BenCcjwatson: were you able to look at makedumpfile? I need it in main because linux-meta deps on it, and I'll also need it as a build-dep for linux17:06
cjwatsonBenC: I'll have to do a main inclusion review on the spot for it - need to take Benedict over to his dad's now though17:13
BenCcjwatson: ok, no rush, since this is all post-alpha-117:15
BenCyet another time I wish dpkg diversions supported directories17:32
=== mkrufky is now known as mkrufky-away
rtgBenC: would your fix your permissions in /srv/kernel.ubuntu.com/git/ubuntu/ubuntu-dapper.git ?17:33
rtgthe usual BS17:34
BenCrtg: done17:45
rtgBenC: thanks. dapper abi's pushed17:45
BenCrtg: maybe a good idea to copy that pre-receive hook to the rest of our trees17:45
BenCit's in ubuntu-intrepid.git/hooks/17:46
rtgBenC: yep 17:46
rtgBenC: I'll do it as long as I'm messing with the ABI uploads.17:46
lamontdear linux-meta.  why does ppc not get linux-image-server love?18:01
lamont:-)18:01
rtgBenC: and again for /srv/kernel.ubuntu.com/git/ubuntu/ubuntu-gutsy.git18:28
* lamont grumbles at bug 24172618:36
lamontfull dmesg output is at davis:~lamont/dmesg18:36
rtglamont: what's a windfarm?18:43
elmortg: the thermal/fan subsystem for Xserves18:45
elmoat least in the powerpc era - I don't know if the Xeon based ones still use it 18:46
rtgelmo: yeah, I figured it out as soon as I looked at dmesg18:46
rtgelmo, lamont: looks like it might be a macintosh specific driver.18:47
elmoit is18:47
rtgelmo: which might be incompatible with powerpc64-smp ?18:47
elmortg: nope18:47
elmortg: or, rather, it use to work18:48
elmoin dapper + edgy18:48
rtgelmo: I'm checking. I seem to remember some issues with smp-6418:48
mjg59It's used in the G5s, as well18:51
mjg59It's certainly meant to be SMP-compatible18:51
rtgmjg59: right - I'm looking at moduels.dep. It looks like its not loading one of the sensor modules correctly, e.g., PM81, PM91, or PM112.18:54
rtgwhich would pull in windfarm_core18:54
rtgelmo: do you know which of those sensor modules davis is supposed to use?18:55
elmotherm_pm7218:57
elmoI guess18:57
elmohttp://paste.ubuntu.com/21645/18:57
elmo^-- same machine, running dapper18:57
rtgelmo: well davis has therm_pm72 as well18:58
elmoyeah18:58
elmoI've no idea if the output is a problem or not, it just stood out18:59
rtgelmo: hmm, there is also no winfoarm module installed on ross.18:59
elmohmm19:00
elmothe temperature sensors also claim the cpu is running at 11 degrees19:00
elmowhich seems unlikely19:00
mjg59My recollection is that the fans will run full-on without windfarm loaded19:01
elmothat sounds entirely plausible19:01
elmo'cos those xserves are probably the loudest piece of equipment we have19:01
mjg59And beahve more sanely if it is19:02
elmofwiw19:04
elmohttp://paste.ubuntu.com/21648/19:04
elmoI was able to modprobe those on ross19:05
rtgelmo, mjg59: here's the deal. therm_pm72 is adding i2c drivers at load time, but none of the i2c drivers seem to depend on windfarm_core (which has the missing symbols wf_register_control, etc);19:05
elmowhether or not they actually helped with the fans is harder to tell19:05
elmothe others said 'ha ha no such hardware'19:05
rtgelmo: can you try 'modprobe -r therm_pm72; modprobe windfarm_core; modprobe therm_pm72'19:07
elmoon davis?19:08
rtgelmo: sure19:08
elmoFATAL: Error inserting windfarm_core (/lib/modules/2.6.24-19-powerpc64-smp/kernel/drivers/macintosh/windfarm_core.ko): No such device19:08
rtgelmo: but no missing symbols. It just couldn't find the i2c device that it liked.19:09
elmortg: it could on ross though19:10
rtgelmo: lemme figure out what windfarm_core is bitching about.19:10
elmok19:12
elmoit's not super important btw, I'm pretty sure it's not melting the hw19:12
rtgelomo: how about this comment in windfarm_core: '/* Don't register on old machines that use therm_pm72 for now */'19:12
elmoand if it did; I'm definitely not sure if I'd care ;-)19:12
=== mkrufky-away is now known as mkrufky
elmortg: hmm, could be I guess19:13
elmobenh would know for sure19:13
rtgyou mean BenC ?19:13
elmono, benh19:13
rtgdon't know him19:14
elmoBenjamin Herrenschmidt 19:14
rtgoh, he the author :)19:14
rtgelmo: so aside from the annoyance in dmesg, it looks like the default is OK since the fans come on full?19:15
elmortg: assuming they are on full yes19:15
elmortg: but I can't easily tell that from here.  but I'll let you know if the machine explodes over the weekend ;-)19:15
rtgelmo: no problem, then I'm back to what I was doing.19:16
BenCrtg: You've done this before...how do you upload to a ppa?20:21
rtgI use dput with a .dput.cf file20:22
BenCwhat's the stanza in  your .dupt.cf?20:22
rtg[my-ppa]20:22
rtgfqdn = ppa.launchpad.net20:22
rtgmethod = ftp20:22
rtgincoming = ~timg-tpi/ubuntu/20:22
rtglogin = anonymous20:22
rtgallow_unsigned_uploads = 020:22
BenCrtg: thanks20:22
ChickenCutlassrtg: were you able to find the DVB driver commit in the netbook tree?20:28
rtgChickenCutlass: after some pain, yes. I just pushed it to the LUM repo.20:29
ChickenCutlassrtg: sorry -- did I not do the commit correctly20:29
rtgChickenCutlass: who is to say, I'm not really a git expert. Was origin/abi-18 a branch name?20:30
ChickenCutlassrtg: yes20:31
rtgChickenCutlass: I kind of fumbled my way through it.20:31
ChickenCutlassrtg: I typically create a new branch based on an ubuntu kernel tag then make my changes20:32
rtgChickenCutlass: exposing the SHA1 commit ID so I could cherry-pick was the hard part. I couldn't seem to get that syntax right.20:32
ChickenCutlassrtg: ah ok20:32
rtgChickenCutlass: I finally had to create a branch in my local tree with the same name, fetch from the remote, cherry-pick, switch back to master, then rebase against abi-1820:34
ChickenCutlassrtg: ugly20:34
rtgChickenCutlass: it seems that a lot of git stuff is done the ugly way :)20:35
ChickenCutlassrtg: right -- only the strong survive20:35
* BenC stares in wonder at the ppa20:37
BenCYou guys are gonna love this shit20:37
* BenC implemented a last-good-boot infrastructure so you will always have a safe kernel to boot into20:37
rtgnever again will I boot to a blank screen?20:38
BenCrtg: well, never again will you upgrade to a new kernel, and not have a known good one to reboot to if that one fails20:38
BenCe.g. if you have only one kernel installed, and you upgrade to a same ABI kernel...you still have one kernel, and it might not boot20:39
BenCthis mechanism will make sure that doesn't happen20:39
rtgBenC: does the user have to make a grub choice? 20:39
BenCI'm not sure it can guarantee that things like same-upgrade nvidia breakage wont keep it broken (e.g. userspace libraries mixed with wrong version of kernel modules)20:40
BenCrtg: For now, yes...but I'm hoping to add some magic to detect a failed boot, boot to last-good, and pop up something on the desktop saying "Blah blah, you failed last time, you are in a safe mode now"20:40
BenCbut with something better than "safe mode" to call it20:41
rtgBenC: won't that depend on being able to mount a file system?20:41
BenCwhat do you mean?20:42
rtgI was just thinking about the detection for a failed boot.20:42
BenCwell, it will require at least mucking with a boot record for grub to notice it20:42
BenCI'm not sure how it will come together, but I'm going on the assumption that I can make it work20:43
rtgisn't Colin training to be a grub expert?20:43
BenCfor now, just the ability to keep a last booted kernel around is golden20:43
BenCrtg: yeah, this may be a good task for him20:43
BenCAnyone want to add: "deb http://ppa.launchpad.net/ben-collins/ubuntu intrepid main" to their apt sources.list, install and let me know if it works for them20:48
BenCI've only tested on one machine :)20:48
BenCyou will have to do a reboot to get the first last-good-boot setup, but then it should work after that20:49
BenCunfortunately, grub fails to build on amd64, so it will only work for i386 for now20:49
BenCpgraner: ping21:09
munckfishBenC: I'm running the misc/getabis script in the ports source. It's failing. I've updated it so it builds the correct URL (was using 'linux' instead of 'linux-ports')21:39
munckfishBenC: but now I notice there are no linux-image-* packages in their for the 1.2 upload21:39
munckfishthere are kernel-image-*di*21:39
munckfishAny idea what's wrong there?21:40
munckfishBenC: this is my patch for it so far http://paste.ubuntu.com/21667/21:43
munckfishhere's where I'm hoping it'll find em http://ports.ubuntu.com/ubuntu-ports/pool/main/l/linux-ports/21:43
BenCmunckfish: are you looking on ports.ubuntu.com?21:44
munckfishyes21:44
munckfishsee url above21:44
BenCmunckfish: hmm...for some reason, someone put them in universe21:45
BenCwhich makes zero sense21:45
BenChttp://ports.ubuntu.com/pool/universe/l/linux-ports/21:46
munckfishhmmm21:46
munckfishhttps://launchpad.net/ubuntu/intrepid/powerpc/linux-image-2.6.25-1-powerpc64-smp/2.6.25-1.221:46
munckfishyep it says universe there21:46
munckfishweird21:46
munckfish:S21:46
munckfishoh, or is that a sarcastic way of saying that's deliberate?21:47
trainpicI have a question about madwifi drivers21:48
trainpicI was under the impression that they are included in restricted-modules, but someone told me that they aren't included at all21:49
trainpicI'm fairly sure they are, and I'm sure someone here knows21:49
rtgtrainpic: they are in LRM as of feisty.21:49
trainpicIf they are, when will the latest version be in?21:49
trainpicOK21:49
munckfishBenC: so shall I just update the getabis script to look there as well as the other 3 urls it already does? Cause I presume they aren't going to move now.21:50
trainpicWhen will the version with support for the AR242x be in?21:50
trainpicI have to manually compile it for each kernel21:50
rtgtrainpic: have the madwifi folks released a mainstream version that supports it?21:51
trainpicYes, that is what I downloaded and compiled.21:51
trainpicI'm not sure what version it is, and madwifi.org is having problems right now21:51
rtgif I remember correctly, the last version was 0.9.421:52
rtgwhat have you built?21:52
trainpicThe version in Ubuntu supports the chipset under 32bit, but I run 64bit and need the latest21:52
trainpiclet me check21:52
munckfishBenC: I've just realised I don't actually know how to specify whether something should go into universe or main. I presume it's about which ftp site the package source is uploaded to.21:53
munckfishBenC: if so, how can half of the packages from the same source end up in the wrong section21:53
* munckfish is utterly confused :S21:54
rtgmunckfish: each package is defined in debian/control under its own 'Section:'21:54
trainpicI think it was 0.9.421:54
trainpicWhatever it was had AR242x support under 64bit, and was mainstream21:54
trainpicI would check the website but it isn't responding21:55
munckfishrtg: yep, says 'devel', or 'base' etc21:55
munckfishrtg: but not 'main' or 'universe'21:55
rtgtrainpic: 0.9.4 is what is in LRM.21:55
trainpicHm... maybe it wasn't mainstream yet then. Again, wish the site was up so I could be sure. I know for a fact that what's in LRM doesn't support the AR242x under 64bit :-(21:56
rtgmunckfish: thats the root of your problem. I'd help, but I'm late already. gotta go.21:56
munckfishrtg: ok np c ya21:56
pgranerBenC: pong22:00
munckfishBenC: patched to look in that location too now (http://paste.ubuntu.com/21674/)22:03
munckfishI'll send this into the mailing list if you like22:03

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