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

dtchencjwatson: at least from inspecting current git HEAD of anaconda, it seems the PAE is indeed quite straightforward: (from isys/isys.py:711)   if line.startswith("flags") and line.find("pae") != -1:00:30
dtchenerr, "the PAE check"00:30
cjwatsondtchen: ok, thought so00:33
cjwatsonmy question about how the heck we're going to actually account for both sets of users on a single CD stands, though ...00:33
cjwatson(but I see Tim has answered. Fair enough. I guess time will tell)00:34
cjwatson(and any bugs I get about it will be unceremoniously reassigned to the kernel! :-) )00:35
Sarvattis the default i386 generic kernel switching to PAE? or is there going to be a PAE flavor?00:41
* Sarvatt hopes its not the former for the sake of all intel graphics users :D00:42
Sarvatt(because GEM doesnt work with PAE)00:45
cjwatson*blink* that's news to me00:48
cjwatsonshame rtg left a while back ...00:48
cjwatsonthe proposal was to leave -generic alone but basically only offer it for netboot/DVD users; that may be a bit of a roadblock00:49
jjohansenit might be but there are work around patches that can be applied if the real fix doesn't land for .3100:59
maxbogasawara: I don't agree with wontfixing that bug based on that mail link. The bug is about "Why are these packages no longer in the archive", the mail thread is about "How do I build these packages locally"01:04
maxb"Debug packages are so large that they are only built on the buildd's." does not explain why the debug packages built on the buildds are not then published to the archive01:04
ogasawaramaxb: feel free to add a comment01:05
=== cjwatson_ is now known as cjwatson
cjwatsonSarvatt: I've brought the GEM issue up on the mail thread, thanks01:07
Sarvattis there really alot of demand for the default kernel to be PAE on x86? I would think most everything with >4gb ram is going to be x64 compatable so it's down to NX vs the performance overhead and incompatability issues with PAE.. theres some discussion on it in this thread - http://thread.gmane.org/gmane.linux.kernel/84386601:31
cjwatsonlots of people don't want to use amd64 on desktops because then they have to deal with 32-bit compatibility libraries and argh nightmare pain01:38
cjwatsonbut yeah, interesting comments from Linus there01:48
ikepanhchi apw08:27
apwhi08:30
ikepanhcapw: could you look at https://bugs.launchpad.net/bugs/276949, is that ok?08:32
ubot3Malone bug 276949 in linux "No driver for HP Webcam - 15b8:6002" [Medium,Triaged] 08:32
apwikepanhc, what do you need me to see?08:37
ikepanhcapw: the last comment I just sent08:38
apwok, the statement seems factual08:38
ikepanhcI try to, I just afraid bug reporter will be disapoint08:39
apwthey are always dissapointed when we cannot do everything for them08:42
apwif you have asked smb and he is against then thats that08:42
apwwe will have a release before long, and have given them an unofficial kernel which supported the camera08:43
ikepanhcthanks, I will ask smb's story or viewpoint08:44
apwyep... he can aways comment on the bug if there is dissent08:44
* apw looks if the patch is in stable08:44
ikepanhcthat is not a short patch08:45
apwthat indeed is the  issue, big patches == risk08:52
smbIdeally I would like a stable topic branch to be like the mainline builds. So you can install it simply to try out stuff09:26
smband you could switch between the official one and the other09:27
zeroproghey guys i just installed karmic koala and it says that it is built on kernel 2.6.30 but when i do uname -r it says 2.6.28....and i cannot find the source with the correct patches so that i can set up a proper driver dev environment09:27
smbIf we got that, then a pocket in the kernel-team ppa might be the place to put it09:28
smbzeroprog, Was that a clean install/chroot/or upgrade?09:29
zeroprogclean install09:29
apwsmb, yeah i tend to agree with all of that09:29
apwzeroprog, the kernel should indeed be 2.6.3009:29
zeroproghmm.....it says 2.6.28-11.....which doesnt have a source package i guess09:30
smbzeroprog, exactly. the uname output comes from the kernel... Just to rule that out /proc/version says the same?09:30
zeroprogyes smb09:31
apwzeroprog, can you paste the output of cat /proc/version_signature please09:31
smbzeroprog, 2.6.28 is the Jaunty kernel09:31
zeroprogcat /proc/version09:31
zeroprogLinux version 2.6.28-11-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 200909:31
smbThat is the Jaunty release kernel09:31
apwhow about the output of: dpkg -l | grep linux-image09:31
zeroprogdpkg -l |grep linux-image09:32
zeroprogii  linux-image-2.6.28-11-generic              2.6.28-11.42                              Linux kernel image for version 2.6.28 on x8609:32
zeroprogii  linux-image-generic                        2.6.28.11.15                              Generic Linux kernel image09:32
smbAnd maybe to check sanity, check what /etc/apt/source.list has as release09:32
apwand the output of: cat /etc/lsb-release09:32
zeroprogok it says distrib is jaunty but i just bought an ubuntu book with a karmic koala cd09:33
apwfinally check /etc/apt/sources.list09:34
smbapw, and yeas. I think we are on the same track there. I hope we can allocate a slot to think just about the versioning. The rest might be simple enough09:34
apwzeroprog, it claims to be karmic, thats not even released09:34
smbzeroprog, Interesting yeah ^^^09:34
smbChances are rather that they have a Jaunty CD09:34
zeroprogreally....it was supposed to be beta09:34
smbzeroprog, alpha09:35
apwkarmic is only at alpha209:35
zeroprogyes alpha sorry09:35
apwhmmm... then it is possible that the CD was taken at alpha109:35
apwzeroprog, the easiest way forward is likely to run update-manager -d09:35
apwand then take the option to update to karmic09:35
smbapw, Not if sources.list is wrong09:35
apwupdate-manager will sort that out in theory09:36
smbOr aeh09:36
smbYou are right09:36
zeroprogwell id prefer to stay on jaunty because it is stable...but i still cannot get the source for it 09:36
apwzeroprog, ok so what is the actual issue?09:36
apwwhat source are you trying to get09:37
zeroprogi keep getting the invalid format when compiling a simple module .... extension is ko09:37
apwcan you paste the commands you are doing and all of the output into a pastebin and point us to it09:37
zeroprogwell i went to kernel.org and downloaded 2.6.2809:38
zeroproghttp://pastebin.com/d21a8f2fd09:39
smbzeroprog, One thing (probably not really related) The kernel 2.6.28-11 looks like you never did any sort of update on that system. The current updates kernel would be 2.6.28-14.3309:39
apwzeroprog, so are you trying to enable something specific?09:39
zeroprogyes ive just installed this within the last two days after using hardy heron for a year09:40
zeroprogjust the ability to write device drivers heh09:40
* smb wonders wheter this might be "make menuconfig"09:40
apwok that paste has no errors?09:40
zeroproghardy is working fine on my alernative notebook but this one seems to be giving me trouble09:40
smbThough that should not be required to get an external module to build09:41
zeroprogthere are no errors everything installs fine09:41
apwexcept you complained about errors?09:41
zeroproginvalid format hello.ko09:41
apwright that is an error, who says it where from what command09:41
zeroprogfrom make09:41
smbzeroprog, Does dmesg say something at the end09:42
smblike disagrees about version09:42
zeroprogyes 09:42
apwok so when i asked for the command and the errors, those were the ones i was referring to09:42
zeroprogdisagrees with symbol struct_module09:43
apwyou need to be running your installed kernel09:43
apwbefore you can load up modules which you built for it]09:43
apwyour uname says you are running the ubuntu kernel, not your built kernel there09:43
smbThis might be just an external module tree. Not a complete kernel09:44
zeroprogit says im running a generic kernel09:44
smbzeroprog, the place you run the make commands. Is that just containing ou hello world module?09:45
zeroprogyes09:45
apwpaste the uname -r output again09:45
zeroprog2.6.28-11-generic09:45
apwthat is not a generic kernel, that is the ubuntu generic flavour09:46
apwthe mainline kernel would say 2.6.2809:46
zeroprogthe vanilla kernel yes but that failed so i tried this one09:46
apwright but modules are specific to the kernel you built them for09:48
apwso you either need to be running the mainline kernel and make modules for that09:48
apwor you need to be running the ubuntu kernel and need to make modules for that09:48
apwthe two will not mix in either combination09:48
apwyou should be able to make modules for the ubuntu kernel using the headers09:49
apwthey should contain enough to allow 'out of tree' compilation of a module09:49
smbWere there any linux-headers-generic installed?09:49
zeroprogi tried that also....how do i install the mainline kernel?09:50
zeroprogyes smb09:50
apwit sounds like you already did, from those commands09:51
apwwhen you say 'it failed' what does that mean09:51
zeroprogid get the invalid format hello.ko error09:51
apwso somehow you are not making the module for either kernel it seems09:51
zeroprogi am sketchy at makefiles but heres mine http://pastebin.com/d3a99a3cd09:53
zeroprogi just switched it to the headers 09:53
smbThe danger lies in the absolute path for the headers09:53
zeroprogi dont see it09:54
smbnormally you go through /lib/modules/$(uname -r)/build09:54
smbmake -C /usr/src/linux-headers-2.6.28-11-generic M=$(PWD) modules09:54
smb^ here you force it to use that path. That might not be your running kernel09:55
apwthats the one09:55
apwmake -C /usr/src/linux-headers-`uname -r` M=`pwd` modules09:56
smbor "make -C /lib/modules/`uname -r`/build M=`pwd` modules"09:57
smbsame for clean09:57
zeroprogi get target /path/to/my/src does not match target pattern09:57
smbThat is another problem. You usually want to mask the all part when the kernel compile looks at the makefile09:59
smbhell what was that again09:59
zeroprogim sorry what do u mean by mask10:00
smbifeq ($(KERNELRELEASE),)10:01
smb<here comes your all>10:01
smbelse10:01
smbobj-m += hello.ko10:01
smbendif10:01
smbThat way, when you run make, you go into the upper branch and call the kernel make10:02
zeroprogahh ok10:02
smbthen that sets KERNELRELEASE and calls your makefile again and only sees the obj-m10:03
zeroprogis there a separator or some sort or is it the way you typed it10:03
smbThe part between ifeq and else certainly has to be replaced. The rest might or might not be correct, given I just typed from my head10:04
zeroprogyeah im getting a missing separator error10:06
smbAnd just another note: I really do not understand the "make menu config" part. That sounds slightly like useless (or even dangerous) voodoo10:07
zeroprogthe tutorial i read on installing and setting up the kernel source said to do it 10:07
zeroprogactually it was the README10:07
zeroprogalright ive bothered u guys enough thanks for the help ill try to figure the rest out on my own10:08
=== mdz_ is now known as mdz
tjaaltonhey, I have no 3G with my thinkpad in karmic, worked in jaunty (and with the jaunty kernel)10:22
tjaaltonI wonder if the kernel thinks it's disabled or something10:23
tjaaltonfiled bug 386528, will attach the dmesg output now..10:24
ubot3Malone bug 386528 in linux "[karmic] No sierra 3G with 2.6.30, works with 2.6.28" [Undecided,New] https://launchpad.net/bugs/38652810:24
smbtjaalton, Is the 3G visible in lspci -vvvnn (and has a module loaded)?10:24
mvohello! looking at https://blueprints.edge.launchpad.net/ubuntu/+spec/kernel-karmic-flavours its not entirely clear to me what the new names will be linux-generic (with PAE) and linux-legacy (without) - what about linux-386? is that going to go away? what about -server, -virtual? -rt? etc? 10:24
smbapw, Actually what was that ubuntu-bug incarnation that collects all kind of usefull data10:25
tjaaltonsmb: the module was listed in /etc/modules, so it's loaded, but can't see anything with lspci10:25
apwubuntu-bug linux i thought10:26
tjaaltonand the command is apport-collect ###, but I'd need to clear the lp auth first10:26
apwthere is also apport-collect something to add it to another bug10:26
tjaaltonwhere is the cookie stored?10:26
smbBut given the fact it is not in lscpi looks a bit suspicious10:26
smbanyhow10:27
tjaaltonI'll try .2710:27
apwmvo, the linux-386 version will remain in ports as far as i know10:27
tjaaltonmake that .2810:27
smbmvo, -rt has been a community kernel anyways10:27
apwmvo, the -server is likely to remain unchanged name wise.  -rt is a port flavour and not part of the review10:28
smb-386 a ports kernel (also community)10:28
smbI think that leaves virtual which anyways was a repackaged server kernel10:29
tjaaltonsmb: actually, it's a usb device, but lsusb doesn't show it either10:29
mvothanks - so I will add code then that transitions from "generic" -> "legacy" if no PAE is available for now10:30
smbtjaalton, Heh, ok. Wrong lead then. Hm usb...10:30
mvoI'm still wondering what to do about -386 for people with old installs/upgrades. I guess it makes sense to transition them to -generic if they have PAE 10:31
mvo?10:31
smbmvo, If they have PAE that would make sense. What we were not quite clear is people without and possibly cpus not even up to M58610:32
mvoright. if PAE is safe I start with that, if there is a additional combination of flags/information to look at, I'm happy to add them too10:34
smbtjaalton, Just a very wild guess as all the usb modules have been compiled in in jaunty too. maybe you could experiment with unbinding the (crap which one was usb1) ehci driver10:34
mvoI just want to be very careful not to transition people to a kernel that does not boot 10:34
smbmvo, We tried to start of with cpus whe have on that page.10:34
mvosmb: should I add info there as well for my machines (also I have mostly relatively recent ones)?10:35
mvoi.e. is that useful for you?10:35
smbmvo, Tentiatively it feels like getting info about the ones that might break (the older) being more helpful. apw, what would you say?10:36
tjaaltonsmb: ok I'll try. .28 shows it ok, sierra wireless 1199:681310:36
apwsmb, yeah agree with that10:37
mvothe oldest in use I have is a P3-mobile, I guess that is not really very helpful 10:38
mvothanks, I think I got enough info to add basic transition support10:38
tjaaltonsmb: hmm you mean not building EHCI_HCD in the kernel?10:41
apwmvo, there were people who were transistioned onto the 386 ports kerenl who prolly should not have been when upgrading10:41
apwfrom pre hardy->hardy which are worth considering in the transition10:42
smbtjaalton, No, actually (without any experience) I thought it should be possible to use sysfs to unbind the driver from activeness...10:42
mvoapw: there is no code in update-manager that would do a transition like this, they probably had -386 installed before? 10:42
mvoapw: -386 -> -generic is done if they run a SMP kernel, but thats aobut all the magic there is currently10:43
tjaaltonsmb: ah. ok10:43
apwright, thats the issue.  older releases the i386 kernel was the default, they updated and ended up on the ports kernel, not thorough an action but through inaction10:43
apwyou mentioned pulling them up to pae if they had support, it is worth considering pulling them up to -legacy if they have 586 and above10:44
mvoright, I know about this problem, I would love to fix it, but I need a reliable way to know what machines should not be transitioned10:44
mvoI do not want to transition everyone and end up with some machines no longer booting10:44
mvook, if 586 is good, I can certainly do that10:45
smbmvo, Yeah, we need the support of all low-level-cpu loving folks out there10:45
tjaaltonsmb: it's possible to unbind a device from the driver, but the device isn't bound anywhere..11:08
cjwatsoncan we please not call the non-PAE kernel "legacy"?11:09
cjwatsonfirstly, having names that are basically "old" and "new" runs into rather obvious trouble when you need a third; we found that with nvidia11:10
cjwatsondescriptive names are *always* better11:10
cjwatsonsecondly, as I said in e-mail, I'm concerned about the likely performance of using PAE everywhere when it isn't necessary and I think "legacy" is considerably overoptimistic11:10
apwcjwatson, i thought the flip side was that the security people were very keen to have it turned on for NX11:11
cjwatsonthere are lots of considerations11:11
cjwatsonbut I don't think they're simple enough that we can just say "screw you guys, you're legacy"11:12
apwnot trying to dismiss your concerns11:12
cjwatsonI linked to a comment from Linus that was basically "people who turn on HIGHMEM64G are crackheads"11:12
cjwatsonbut anyway, why not just have value-neutral names?11:12
cjwatsonTim used -generic and -generic-pae in another place, which seemed reasonable11:13
apwyep, that part is separate and obvious11:13
apwas in i  htink we should separate the naming issues as against the how to choose the appropriate kernel issues11:14
cjwatsonyes11:14
apwcjwatson, your thread as i see it has no mention of naming, we should inject that into that thread, as it seems to be the master discussion on this feature11:19
cjwatsonthat's because Tim's original mail in that thread used names I didn't object to :-)11:23
cjwatsonapw: I've injected it now11:27
apwcjwatson, thanks thats excellent11:31
tjaaltonsmb: looks like the sierra doesn't work even with mainline 2.6.29.511:45
apwcjwatson, in what form is the kernel on the CD image.  is there a full kernel install, as in the .deb installed?11:53
cjwatsonwhich CD image?11:54
apwhrm, i was thinking of the live ones11:54
cjwatsonthe .deb's just installed in the live filesystem11:54
apwthats what i assumed, thanks11:54
cjwatsonthe only difference from a regular installation is that the actual kernel image is removed, because it's also on the ISO9660 filesystem11:54
cjwatsonsaves us several megabytes11:55
cjwatsonand the installer is smart enough to copy it from the right place11:55
cjwatsonbut other than that it's as normal11:55
apwthanks11:55
smbtjaalton, It least that narrows down the pile. Though it probably still is the whole of usb-core to look at12:39
alex_jonicjwatson: is that also true for 8.04 LiveCDs ?13:16
alex_jonicjwatson: meaning if I install a custom kernel deb, and I install the kernel and initrd outside the squashfs, can I simply remove the kernel from /boot ?13:17
AceLanalex_joni: I can't understand what's your problem, could you describe more explicitly?13:24
alex_joniAceLan: see what cjwatson said above13:28
cjwatsonalex_joni: no, I'm afraid this was added in 8.1013:30
cjwatsonAceLan: I understood :-)13:30
alex_jonicjwatson: ok, thanks.. something to remember for 10.04 then13:30
cjwatson(and it went badly wrong when first introduced, resulting in world-writable kernel images, but we fixed that just before release ...)13:31
alex_joniworld-writable (after the copy from the CD to the live system) ?13:32
=== mdomsch is now known as mdomsch_bos
=== cjwatson_ is now known as cjwatson
rtgsoren: do we still need a 32 bit virtual kernel package for Karmic?15:58
Keybukapw: Jan replied to the vfs union mount issue16:34
apwKeybuk, after the 'i'll look later' ?16:34
KeybukArrgh, it is the autofs crap that is killing us (see commit16:34
Keybuk051d381259eb57d6074d02a6ba6e90e744f1a29f). They actually replace the nameidata16:34
Keybukand therefore the inode operations when they see a symlink which isn't coming16:34
Keybukfrom the filesystem of the parent directory. This is because their root dentry16:34
Keybukis actually a symbolic link ...16:34
KeybukThanks for finding this,16:34
KeybukJan16:34
apwKeybuk, ahh yes16:35
apwso i guess we might get a fix sometime soon16:35
Keybukyes16:36
KeybukI didn't know whether the commit id was a fix or the cause16:36
Keybukor which tree that was in16:36
Keybuketc.16:36
apwlooks to be the cause16:36
apw    [PATCH] autofs4: nameidata needs to be up to date for follow_link16:37
=== shanix_ is now known as shang
cjwatsonalex_joni: after the copy from the CD to the *installed* system18:25
cjwatsonalex_joni: but don't worry about it, it's fixed now18:26
=== bjf is now known as bjf_lunch
alex_jonicjwatson: heh, I have tons of confidence that you guys squash these bugs pretty fast20:59
solarionCan also do more than 2 channels?21:17
solarionALSA, rather21:17
solarion(is what this amd guy is saying: http://blogs.amd.com/home/2009/06/16/turning-it-up-to-11/comment-page-1/#comment-224)21:18
solarionah, perhaps I misread; he meant that the current driver only does 2channel audio21:18
=== bjf_lunch is now known as bjf
cjwatsonalex_joni: where in this case "pretty fast" is "massive panic the day before release", yes :-/21:20
alex_jonicjwatson: don't we all work better under pressure and deadlines :D21:24
alex_jonierrr.. not :D21:24
dtchensolarion: alsa does not place artificial limits on the number of channels available to software above it in the audio stack21:36
=== dashua__ is now known as dashua

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