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

mkrufkymrec__: might be a good idea for you do to a DKMS package00:45
mkrufkymkrufky: and make your package remove any pre-existing em28xx00:45
mkrufkyoops, i meant mrec__ ^00:45
mkrufkyi *highly* suggest using the in-kernel dvb-core rather that installing your own... otherwise you'll break somebody else's driver00:46
mkrufkyi did this by using the headers in /lib/modules/`uname -r`/build/drivers/media/dvb/dvb-core/*.h00:47
mkrufky...and you can depend on their presence if you are doing a DKMS build00:47
apt_getHi02:20
BenCfair warning...rebasing on -rc6 now, so I would hold off pushing anything to the repo10:36
BenCrtg: -rc6 included a fix to xen/time.c...different than mine, but fixed the same problem10:42
BenCso it wasn't just us10:42
rtgBenC: cool. how did they fix it?10:43
BenCrtg: They used iter_div_u64_rem()10:46
rtgBenC: gotta go. home gain, home again, jiggety jig.10:50
=== dashua__ is now known as dashua
maks_what's the irc nick of tim gardner?12:41
amitkmaks_: it is 'rtg'12:43
maks_ok thanks12:43
maks_rtg f448b9a70cda0ed9878db485de30363f9c9db6e1 is a dup12:43
maks_you'll find the same entry below in blacklist with proper desc12:43
maks_ speaking of ubuntu hardy tree, as you might have guessed ;)12:49
maks_hmm rtg is not here12:49
maks_will repost12:49
pgranermaks_: rtg is traveling today, he will be back online prob Monday13:41
BenCmjg59: Do you recall this patch: hostap: send events on data interface as well as master interface14:51
BenCmjg59: I'm wondering if it's still needed14:52
mjg59I expect so, but haven't tested14:52
BenCmjg59: is it something that should go upstream?15:02
mjg59Conceivably15:02
mjg59Probably best to check it with Dan Williams15:02
BenCOk15:03
BenC-rw-r--r-- 1 bcollins bcollins 48234 2008-06-13 09:45 ubuntu-stuff.diff15:04
BenCThat our current delta against 2.6.26-rc215:04
BenCgood chunk of that is vesafb modular15:05
BenCerr, 2.6.26-rc615:05
qenseCan someone help me out a bit with bug 222703?15:30
qense<ubottu> Launchpad bug 222703 in linux "Suspend fails after first time" [Undecided,Incomplete] https://launchpad.net/bugs/22270315:30
qenseI can't determine the cause15:31
qenseshould I just mark it as confirmed and leave it to you, or do you want some more informaton?15:31
=== qense is now known as qense|dinner
=== pgraner_ is now known as pgraner
=== qense|dinner is now known as qense
pgranerBenC: ping18:02
BenCpgraner: Yes?18:03
pgranerBenC: hey, I want to work on a adding a patch and building. Specifically this one http://marc.info/?l=linux-usb&m=121080766320582&w=418:03
pgranerBenC: its upstream and I actually need it I'd like to build a custom pkg just for me. Where do we start, I can't seem to find the one page to get me started.18:04
munckfishpgraner: https://wiki.ubuntu.com/KernelTeam/KnowledgeBase18:06
munckfishKernelMaintenance page has a lot of good info18:06
munckfishor18:07
munckfishhttps://help.ubuntu.com/community/Kernel/Compile18:07
smb_tppgraner: If you want a patch on top of the current git in a ppa, I could push you a script as well18:07
=== emgent_ is now known as emgent
keeskirkland: (switching here) yeah, I think the problem is discussed in the bug you found21:18
kirklandkees: the problem that pitti mentioned?21:18
kees(95089)  yeah21:19
kirklandokay, i've asked Serge Hallyn to add some comments to the bug21:19
kirklandkees: in case there's something we're missing21:20
keeskirkland: yeah, it wasn't entirely obvious to me, but after looking at CAP_SETPCAP, I tended to agree with pitti.21:21
keeskirkland: if CONFIG_SECURITY_FILE_CAPABILITIES could operate without it, that'd be nice21:21
kirklandkees: right, i think hallyn will be able to clarify what is/isn't possible21:21
keesif you look at the code for where CAP_SETPCAP is defined, it is clearly ifdef'd with CONFIG_SEC.._FILE_CAP.. but I don't know why21:24
kirklandkees: hallyn added some info to https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/9508921:26
keesheya hallyn, thanks for the details -- this is an area I'm much less familiar with.  :)21:27
hallynnp21:28
hallyni'm not quite clear on the history21:28
hallynat the start of the thread, were file capabilities enabled and cap-setpcap turned off, or was it just a regular kernel without file capabilities?21:29
keeshallyn: I'm a bit unclear myself.  I think the issue is with the #ifdefs that seem to allow CAP_SETPCAP when CONFIG_SEC.._FILE_CAP..=yes21:30
keesand without additional context, it seems dangerous21:30
hallynis there a gitweb site or something where i can see the current code and .configs for default builds?  I assume not, just would be kick-ass if so...21:30
keesthere is, yes, kernel.ubuntu.com21:30
mjg59kees: Should get to your libx86 stuff next week, I've just got nv40 suspend/resume working21:30
mjg59(without any libx86 stuff. Hurrah!)21:30
hallynkees: cool!  thanks.21:31
keesmjg59: nice!  how does it work without need to talk to the bios??21:31
keeshallyn: current hardy: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=summary current intrepid: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-intrepid.git;a=summary21:31
mjg59kees: Uses nouveau's bios table interpreter21:31
hallynkees: yes, seeing cap-setpcap enabled would set off warning bells :)  though we did try to comment it in include/linux/capability.h21:32
keesmjg59: niiiice.  I'm so glad that project is coming along.21:32
mjg59kees: nvidia and AMD both have tables that are used by the drivers, and just have a small x86 interpreter for it that sits in the bios21:32
mjg59Execute the init table, restore a couple of magic values that would be programmed by the platform bios, run the lvds init code, restore the registers and wham!21:33
hallynkees: excellent, so I can take a look at the apparmor/caps integration.  What about .configs?  available?21:33
mjg59An entirely broken console, but working X21:33
keeshallyn: the configs are in the debian/configs directory21:33
hallynexcellent21:33
keeshallyn: though depending on build options, they are merge together.  other folks here might be more helpful in describing that, though.21:34
keeshallyn: so, in comment 4, pitti is correct?21:34
keeshallyn: this page may be useful for you as well, if you're going to build modified ubuntu kernels: https://help.ubuntu.com/community/Kernel/Compile21:36
hallynkees: was hoping not to build, just figure out the state of the current kernel21:37
hallyni.e. i'm afraid one or two apparmor lines may need tweaking21:38
keeshallyn: that's fine -- intrepid doesn't have apparmor in it yet, I'm waiting for upstream to finish their port to the current linus tree.21:39
keeshallyn: but they're quite responsive about patches21:39
hallynkees: pitti == martin pitt?  If so, he's only right if CONFIG_SECURITY_FILE_CAPABILITIES=n21:39
keeshallyn: check in on oftc in #apparmor21:39
keeshallyn: okay.  so if I boot a CONFIG_SECURITY_FILE_CAPABILITIES=y kernel, I should still get the same output he's showing?21:39
hallynkees: no, bc cap_setpcap should then be in root's sets21:40
hallynkees:  "debian/configs directory" -> can' tfind it, what is the url?21:40
kirklandhallyn: is there a potentially security vulnerability if CONFIG_SECURITY_FILE_CAPABILITIES=n ?21:41
keeshallyn: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=tree;f=debian/config;hb=HEAD21:41
keeshallyn: pitti seems to be saying that have cap_setpcap in root's sets is, in itself, dangerous.21:41
hallynkees: cap_setpcap means something different if file caps are on21:44
hallynkirkland: do you mean if cap_setpcap is allowed?  yes.21:45
keesah-ha -- that's the piece that wasn't obvious to me.21:45
hallynkees: so yes it looks like apparmor would need some changes - at least for setxattr - to support file caps.  21:45
hallynI'll look at it some more next week.21:45
keeshallyn: I'm sure they'd be open to it.21:45
keeshallyn: okay, cool.21:45
hallynkees: where would I send a patch?21:46
hallyni guess i can just join #apparmor next week21:46
keeshallyn: yeah, that's probably the best place to start21:47
keeshallyn: they have some public mailing lists too, but IRC is good.  If you don't get any response, email me and I'll go ping them directly via email.21:47
hallynok, thanks.21:49
keescool, thanks for digging into this -- I've been curious about what was needed for sane filecap support but hadn't had time to look into it.21:50
kirklandkees: hallyn: hey, thanks for taking the time to connect21:52
dupondje'Collin King' happen to be here ? :)22:11
dupondjesomebody here that is able to include a patch into Hardy kernel ? :(22:30
keesdupondje: best to open a bug report with the details and the patch22:34
dupondjehttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/23588922:35
dupondjeenjoy22:35
dupondje:)22:35
keesdupondje: looks like it's already being discussed there.  :)22:36
dupondjeits taking such a huge time to get solved :(22:36
dupondjethe patch is there22:36
dupondjeI tested it .. it works :(22:36
keeshallyn: if you're still around, jjohansen is one of the AppArmor upstreams.22:37
hallynthanks kees22:37
hallynjjohansen: i haven't look at it enough, but i think in order for apparmor (in ubuntu) to work with filecaps, apparmor will need a few tweaks, such as calling the cap setxattr hook22:38
keesdupondje: it can take time -- but it looks like it's progressing.22:40
jjohansenyes, the apparmor hook needs to call cap_inode_setxattr its a fix that is pending22:40
infinitydupondje: The hardy kernel is currently frozen for the 8.04.1 point release, but I suspect your patch and bug will be addressed shortly after that.22:41
hallynjjohansen: oh ok, saves me some time :)  thanks22:41
infinitydupondje: I also have a patch queued for after the point release.  I realise it's frustrating, but QA processes just can't allow for last-minute changes. :/22:41
jjohansenhallyn: np.22:41
dupondjeits a fucking deathlock :( kinda important22:42
dupondjethat controller is used in ALOT of servers22:42
infinitydupondje: Swearing won't help much, nor will it make us delay a point release for a bug (no matter how important that bug may be to some people)22:42
dupondjeI know, but I just think its kinda an important bug, as its a verry common used controller in servers22:45
dupondjeif your server in a datacenter crashes because of it, its not that funny :)22:46
infinityI never claimed it was funny.  Just that, unfortunately, we have release priorities that mean that you might have to carry a local patch/fork for a bit until after 8.04.1 is out (much like I also have to).22:50
dupondjewhen is 8.04.1 comming out tho ?22:50
infinityIt's scheduled for end-of-month, barring any massive setbacks.22:52
infinityBecause the devel team is split between intrepid and hardy right now, the hardy point release test cycles are long and careful.22:52
dupondjewhat they test btw ? :p22:53
dupondjeI just test its not working good ;)22:53

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