/srv/irclogs.ubuntu.com/2008/12/03/#ubuntu-kernel.txt

x86i'm having a hell of a time finding the source tree for the EXACT kernel I'm running03:16
x86i'm running 2.6.27-9-server, and every package I try to get installs source for 2.6.27, 2.6.27.2, or some variant thereof03:16
x86none of them are -903:16
x86I'm running 8.10-server03:17
x86can anyone help me?03:17
x86i've tried apt-get install linux-source, apt-get source linux-image-2.6.27-9-server, and I even tried the .deb package directly i found on ubuntu's software repository that claimed -903:18
x86none of which compile as -9 though03:18
BenCx86: apt-get source linux03:26
mjg59x86: If you just compile with make, you won't get -9. That's passed as EXTRAVERSION in the package build scripts.03:27
x86mjg59: well I need -9 appended and .2 taken off03:27
mjg59x86: Then use the package build scripts03:27
x86mjg59: when I compile my Digium hardware drivers, it puts them into /lib/modules/2.6.27.2, instead of /lib/modules/2.6.27-9-server like everything else03:28
x86mjg59: got a tutorial?03:28
mjg59Wait. Why are you building against the kernel source rather than the kernel headers?03:28
mjg59Don't do that03:28
x86it requires the kernel source tree03:28
x86(it needs /usr/src/linux)03:28
mjg59Then it's broken03:28
x86it uses genksyms and such03:29
mjg59Unless it's actually sourcing C files into the build, all it needs is the linux-headers-2.6.whatever-foo package03:29
x86stuff in /usr/src/linux/scripts03:29
mjg59Which includes everything needed to build modules03:29
mjg59Including genksyms03:29
x86ok, so I can ln -sf /usr/src/linux-headers-2.6.27-9-server /usr/src/linux ?03:31
x86hmm, looks like! :)03:32
mjg59Well, or make the drivers build against /lib/modules/`uname -r`/build rather than /usr/src/linux, but yeah03:33
x86excellent03:34
x86you're a lifesaver thanks so much :)03:34
mjg59No problem03:36
=== lamont` is now known as lamont
BenC1amitk: do you have the need for madwifi on armel?12:06
=== BenC1 is now known as BenC
drguildohi12:39
drguildodoes stuff like12:39
drguildo[  770.458139] end_request: I/O error, dev sr0, sector 1667928012:40
drguildo[  770.458158] Buffer I/O error on device sr0, logical block 208491012:40
drguildomean my dvd drive is screwed?12:40
drguildoi get it every time i insert a disc12:40
drguildobut e.g. a dvd movie seems to play fine in mplayer12:40
drguildoit seems to be only when i insert a disc12:40
drguildoit happens with 2 drives i've tried12:41
amitkBenC: no12:50
zulBenC: what do you think about moving drbd to dkms?14:12
BenCzul: for what purpose?14:12
zulso the kernel and userspace matches up if there is a need to change in the release cycle14:13
rtgzul: what is drbd?14:13
BenCzul: we do a lot of uploads through the development cycle...not sure how much more control you would need14:13
BenCzul: separating it would require you to add some dependency to make sure upgrades work14:14
zulrtg: its cluster program which allows you to share disks14:14
zultrue...which version did you port to 2.6.28?14:15
BenCzul: the same as in intrepid....we can pull whatever updates you want though14:15
zulBenC: ok thanks..14:15
zulthat makes life easier14:16
rtgapw: I see that Jaunty has EDAC_AMD76 enabled. Does it have the same issue with AGP apertures as Intrepid?14:24
rtgBenC: are you working on Jaunty linux-meta? I got pitti to flush the kernel, so LRM ought to complete sometime today.14:34
BenCrtg: Yeah14:36
BenCrtg: thought you were leaving today?14:36
rtgBenC: in awhile.14:36
rtggotta produce a blueprint first14:36
rtgBenC: pgraner is bored and listless in an airport with his CPU running full on. Maybe you could look over his shoulder and figure out why his update to -proposed isn't working.14:38
apwrtg, i am unsure if .28 is affected by the agp thing, i wonder if we have any h/w which might demonstrate that14:57
rtgit seems like a very northbridge specific problem.14:58
rtgor is it southbridge, I forget.14:59
apwthe reporter says nothrbridge specific15:00
rtgapw: how about bugging the maintainer to see if it sounds like a familiar problem?15:02
apwyeah ... that is a good suggestion15:02
lod__hello, I have a Q.; I'm maintaining custom kernel with IMQ patch for QoS, and using the guide at wiki.ubuntu.com for building custom kernel, but can't find where to change revision numbers for builded kernel, I've looked at debian/rules but can't find it..15:34
apwlod__, the version number comes from the debian/changelog15:42
lod__from the first line or?15:43
alex_jonilod__: use dch or dch -i to manipulate it15:43
lod__it opens changelog for editing? what should I change?15:45
lod__i think i've got it15:47
lod__10x15:47
alex_joniit might take 1-2 iterations to get it fully right, there are certain numer/name combinations the kernel buildscript won't like15:48
lod__if I inc. the last number, and made no change to ubuntu-modules, will It compile?15:49
lod__Is there a reason to add jaunty? linux (2.6.24-22.45ubuntu1.1) jaunty; urgency=low15:52
alex_joniit will compile, but you'll get problems15:55
alex_joniwhen there's a new ubuntu kernel it will overwrite yours15:56
alex_joniI suggest naming it differently15:56
lod__when there is new kernel I'll recompile it with the patch15:57
alex_jonidepends how big your audience is.. if it's only for you it's surely ok whatever you do15:58
lod__I just don't wan't to override mine even If there's no change, like now..15:58
lod__It's for personal use.. Not that I'll forbid someone to use It..15:59
lod__10x again..15:59
lod__have a great day..16:00
apwrtg you acked one of my threads on the email list (the CONFIG_EDAC_AMD76X bug), are you acking the patch option or the blacklisting option?16:47
rtgapw: um, I thought I only saw one, i.e., disabling the config option.16:48
apwin the leader i also suggested we can blacklist the module, though i know not where those come from!16:48
apw(blacklisting as an alternative)16:49
rtgI wonder how many users are afflicted with this problem?16:49
apwnot a huge number i'd guess from the bug16:50
apwi am guessing we have a fair number of AMD based systems in our team alone and noone there had the combination of h/w which triggered it16:51
rtgapw: you've suggested blacklisting to them?16:51
apwthey found blacklisting worked yes16:51
apw(the submitter)16:51
rtgwhat is the downside for folks that have this northbridge, but don't have the radeon GPU?16:51
rtgthe downside of blacklisting by default, I meant16:52
apwwell its not just radeon, the apature is not setup correctly so no AGP graphics will work in DRI mode16:52
apwthe edac module for them is supposed to report on correctable errors that occur on the system16:53
apwand they obviously didn't have it in hardy16:53
rtgI assume you have to have ECC RAM before EDAC makes sense?16:53
apwthat is my expectation yes, i don't know a lot of the details sadly16:54
rtgso, that likely means the effects are primarily in the server community.16:54
apwyes that was my take16:55
apwi wonder if it would 16:55
apwbe better to leave it built, but mark it blacklisted by default16:55
rtgI think in that case that blacklisting makes the most sense. It leaves the module available for installation if its really needed, and afftects the smallest number of platforms.16:55
apwok, can do that ... where are our blacklists ?  i assume they are in some other package?16:56
rtgmodules-init-tools16:56
apwactually lets restate that ... do we default it blacklisted or just leave it as is16:56
rtgyou add a blacklist file in module-init-tools, leave the config option enabled.16:57
apwok ... so i'll look at that then.  a good excuse to figure out how one updates m-i-t16:57
apwhow does one even find the owner of a package16:58
rtgUbuntu owns the local modifications to the package. this isn't something upstream is likely gonna want.16:59
smb_tpapw, A quick question. Just saw your mail about the audio patch. I want to make sure I understand: you booted an unpatched hardy kernel and that worked ?16:59
apwsmb_tp, yes that is correct.  i booted the latest .24 that was installed before i updated and that the sound is routed correctly.  it appears the specific system is not recognised back there, and the default is much closer to useful than that in intrepid17:00
smb_tpInteresting. 17:00
rtgsmb_tp, apw: its not surprising. I think there were a number of ALSA regressions between Hardy and Intrepid.17:01
smb_tpOk, but this way. BTW, the STAC_DELL_M6 is defined there... Not sure this matters17:01
apwapw@dm:~/git2/ubuntu-hardy$ git grep DELL_M617:03
apwapw@dm:~/git2/ubuntu-hardy$ 17:03
apwi don't see it in my tree?17:03
smb_tplum?17:03
apwahh point17:03
rtgyeah, hardy LUM17:03
smb_tppossibly it defaults there to something sensible and less sensible in intrepid.17:04
apwso when i updated to intrepid would hardy-lum have been deinstalled17:05
smb_tpno, all is in the modules dir for the kernel. the co-exist17:05
smb_tps/the/they/17:05
apwie. i no longer have a full modules install for my hardy kernel17:05
rtgapw: yep, it likely did an autoremove when you dist-upgraded - furthermore, we're using ALSA straight from the kernel in Intrepid.17:06
apwoh yeah there they are, ok so this testing is with lum installed, so i guess its safe to say that the default was better in hardy, so any backport there seems unessary risk17:06
smb_tpright17:06
apwok so i think i've done the right thing and done nothing there, and marked the nomination invalid with a reason it works there17:07
apwrtg is it correct to say that the kernel team owns module-init-tools?17:08
smb_tpRight, yes. I actually just wondered about the fact it worked without changes (and that the model would be missing). 17:08
apwsmb_tp, they have definatly added support for the whole family of dells to the kernel, so i am not supprised that this one got broken17:09
apwthey added a general 'reference' implementation for ICH917:09
apwwhich was not there before, and the refereence is wired dfferent to the dell i have17:10
apwso it needs a model quirk to fix that ... 17:10
smb_tpAh, ok. Well it seems everything is wired differently nearly everywhere17:10
apwits mad as mr mad jack mc mad, basically you need 20 binary words for every machine in existance in the kernel17:11
apwsoooo scalable17:11
apwrtg so i have gotten the module-init-tools source package and modified it to add the blacklist entry -- debdiff seems to show something sensible17:29
apwwhat does one do next?17:29
apwi guess i should upload them to my PPA and see what happens, if they build ok17:30
smb_tpapw, right, and if you are happe you need to find someone with upload rights.17:31
smb_tps/happe/happy/17:31
* smb_tp curses his fingers17:31
apwsmb_tp, thanks ... like a sponsor i guess17:32
smb_tpWell in this case rtg might be a good choice. ;-)17:33
smb_tpAnd after that it goes the usual way through archive admins. This package might be special since so closely related to kernel. In the past I tried to look at the changelog and find out who did previous uploads for Ubuntu17:35
apwsmb_tp, yeah rtg and ben are the people who did it before so i'll go to them17:40
apw_once_ i have figured out how to put it in my PPA17:41
apwsmb_tp, got any how to's for PPA's ?17:41
fabbionesmb_tp: [   52.835985] usb 1-1: airprime converter now attached to ttyUSB017:42
smb_tpshould be quite simple. change changelog to something with an extension to recognize. release should be something without -proposed or so. then there was a wiki how to configure dput or dupload.17:43
fabbione^^ the sparc thingy.. I'll prepare a tree for you tomorrow or so17:43
fabbionesmb_tp: based on what .git tree do you want that? (hardy)17:43
apwstruggling to find any docs at all, which is unlike us17:43
smb_tpfabbione, Ok, sure. I remember. Was that missing in the hardy tree? Oh well, I figure out somehow. :)17:44
smb_tpapw, Jus a sec. I try to find it...17:44
fabbionesmb_tp: when you enable the usbserial, it asks tons of config options. there are 3 needs to be set. I'd prefer to send you a diff or something but I need to know on top of git tree you want it17:45
fabbionesmb_tp: -updates? -security? whatever?17:45
smb_tpfabbione, -master is fine17:45
fabbionesmb_tp: ok17:45
fabbioneif then you want to propagate the change forward, it's up to you. I only care about hardy for this machine :)17:46
fabbionebecause I don't plan to reinstall it anytime soon17:46
smb_tpSure. :) NTARS17:47
fabbioneNTARS?17:47
smb_tpNever Touch A Running System17:47
fabbioneah ok17:47
fabbioneyeah indeed17:47
apwsmb_tp, found it ... finally17:48
smb_tpapw, Ah, beat me. I also could just send you my config, if you like17:48
fabbionesmb_tp: this same machine was the "one" that did bootstrap all of ubuntu sparc alone.. a single cpu (old as hell) with 512Mb of RAM.. it's undestroiable17:48
* fabbione can still hear elmo's screaming :)17:49
smb_tpLOL, I can imagine. How long did that take?17:49
fabbioneit took about 3 weeks to catch up with the archive17:50
fabbioneand then it was just keeping up17:50
apwnasty17:50
fabbioneit did miss hoary release for one package because of my mistake.17:50
smb_tpThe machine or the PPA upload?17:50
apwsmb_tp, please do send my your archive if you don't mind17:50
apwthe machine, is nasty :)17:50
fabbioneapw: it's a very small Netra T105.. google for it :)17:51
fabbioneit was doing OOo builds over nds17:51
fabbionenfs17:51
fabbioneit doesn't have enough disks for that :)17:52
* apw feels for the machine facing that life17:52
smb_tpapw, sent you the config17:53
smb_tpwhich is probably most that is special17:53
smb_tpYou either use dupload (simpler since this is a config for that) or dput17:54
smb_tpSince you used debdiff, you already have a source package for it17:55
apwi seem to have dupload installed and your config is for that, so ... seems ok17:55
apwyep learned that side of things when trying to follow along with the linux-meta update17:56
smb_tpjust change the name ;-)17:57
apwsmb_tp, yep .. thanks ... i've hit upload and it did something reasonable looking -- how long does it take from there to appear in your ppa?18:00
smb_tpapw, You will see it quite fast. Then it takes some time to build (well the kernel at least) mit should be better18:01
apwahh there it is .. cool18:01
apwlast i looked there were no PPA builds on the buildd's, of course _now_ they are all rammed.  typicial!18:01
smb_tpdum di dum...18:02
smb_tpone could be me18:02
apwyeah one is you!18:06
* smb_tp sneaks away18:06
apwrtg ok ... i have and updated module-init-tools which seems to work.  i have built and uploaded it to my PPA and installed it from there locally and good things happened.  you available to talk me through the next step?18:34
fabbionesmb_tp: works fine .. all of it18:48
fabbionesmb_tp: i am on ppp over cdma over usbserial on sparc... wanna check? :P18:48
apwfabbione, that sounds like some kind of mental torture19:15
fabbioneapw: i never claimed NOT to be in some kind of BDSM games with my computers19:16
apwheheh, and who is the masters and who the slave?19:17
fabbionei rule the world and you? ;)19:17
apwi like to think so, but suspect i am also deluded19:17
=== doko__ is now known as doko
fabbioneehhee19:23
rtgapw: I'll catch up to you tomorrow wrt to module-init-tools. 20:24

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