/srv/irclogs.ubuntu.com/2007/09/21/#ubuntu-kernel.txt

rtgmjg59: Well, I suspect you know who gets to manage those expectations.01:20
mjg59Heh01:20
bdmurrayuvcvideo is blocking my laptop from suspending01:48
bdmurrayI receive an error message when that kernel module is loaded and I try to suspend with 2.6.22-11.01:51
=== osmosis [n=steven@cpe-76-80-127-252.socal.res.rr.com] has joined #ubuntu-kernel
bdmurrayActually, I don't understand why that module is being loaded on my system.02:22
bdmurrayWhay does this "alias:          usb:v*p*d*dc*dsc*dp*ic0Eisc01ip00*" alias match?02:23
bdmurrays/Whay/What/02:23
kylemany device that claims to be usb video, subclass video control02:30
bdmurraykylem: So uvcvideo will loaded for any unknown webcam?02:32
kylemit's a match based on the capability of the usb device, not it's specific vendor/device ids.02:32
mjg59bdmurray: If it claims to be a USB video device, which most webcams don't02:34
bdmurrayokay, but I don't understand why the module would be loaded for devices that are supported by the driver02:34
bdmurraymaybe webcam was the wrong word, the camera in my laptop then02:34
kylemlsusb -v | egrep 'bInterface.*Class'02:34
mjg59Your camera presumably claims to implement the USB video class02:35
bdmurrayOkay, so it might work with uvcvideo then?02:37
mjg59bdmurray: It claims that it should do. It might be lying, or uvcvideo might be broken.02:39
bdmurraymjg59: Okay, that module is preventing me from suspending though and if it matches a lot of devices it seems like it might be a problem for a lot of people then.02:40
mjg59bdmurray: Sounds like we need to fix the module. What are the symptoms?02:40
bdmurrayWhen trying to suspend vi "echo -n mem > /sys/power/state" I receive a kernel erro message regarding "uvcvideo 5-4:1.1: suspend error -22"02:42
mjg59bdmurray: Uh. Why are you trying to suspend like that?02:43
bdmurrayline 39 of /etc/acpi/sleep.sh is what was failing and it wasn't very informative02:43
bdmurraySo I was originally using /etc/acpi/sleep.sh02:44
mjg59dmesg should give you the same information02:45
mjg59Hm. Interesting. I can't see any obvious reason why that would fail.02:45
bdmurrayI think it worked before this commit - 616d7243b60bb3eb2abed6cf99fe4d3edfc6a87402:46
mjg59to lum or the main kernel?02:46
bdmurraylum02:46
=== gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel
mjg59Interesting.02:47
bdmurraymy git knowledge isn't the greatest but I think that was the last commit changing uvcvideo02:48
mjg59If you revert that, does it work?02:49
bdmurrayHow could I do that?02:49
=== bullgard4 [n=detlef@p54BF3945.dip0.t-ipconnect.de] has joined #ubuntu-kernel
mjg59git revert 616d7243b60bb3eb2abed6cf99fe4d3edfc6a87402:49
mjg59Then try building l-u-m02:50
mjg59Are you sure it says "suspend error"?02:50
mjg59I can't find that string in the obvious bits of the kernel02:50
bdmurray[   83.816850]  usb_endpoint usbdev5.2_ep82: PM: suspend 0->2, parent 5-4:1.0 already 202:52
bdmurray[   83.816863]  uvcvideo 5-4:1.1: suspend error -2202:52
mjg59Ah, ok, thanks02:52
mjg59Hm. Still not entirely obvious.02:53
=== jml [n=jml@ppp121-44-213-76.lns1.hba1.internode.on.net] has joined #ubuntu-kernel
bdmurraymjg59: 2.6.22-10 suspends if that is any help02:59
mjg59Is that before that commit?03:01
bdmurrayYeah it looks like03:03
mjg59Ah, hm. That diff added a suspend method.03:04
mjg59Oh, I see03:04
mjg59Right. Can you rmmod uvcvideo, then modprobe uvcvideo trace=25503:05
mjg59Then try a suspend and paste the full demsg?03:05
bdmurraysure, just a sec03:06
=== gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel
bdmurrayDid I do something wrong or should have suspending worked?03:13
lamontkylem: you around?03:13
lamontor BenC?03:13
mjg59bdmurray: No, suspending probably shouldn't have worked03:15
=== lamont sends mail to kernel-team
lamontsigh03:17
lamontkylem: -12.36 will ftbfs on hppa without the patch I mailed to kernel-team.  sorry for not mailing it earlier when it was being discussed in channel.03:17
bdmurraymjg59: well, here is dmesg, I'll make sure it fails again too03:20
bdmurrayhttp://pastebin.osuosl.org/237203:20
mjg59bdmurray: Ah, I think I know what the issue is03:24
mjg59bdmurray: It's failing to initialise, but not releasing the device03:24
mjg59Hm. No, that /should/ release things correctly03:25
=== lamont goes hoem
bdmurrayHrm, ocassionally the system becomes nonresponsive when suspending too.03:34
lamontbdmurray: mine turns almost completely off when I suspend it. :)04:04
=== jml_ [n=jml@dsl-210-15-197-192-static.TAS.netspace.net.au] has joined #ubuntu-kernel
=== Whoopie_ [n=Whoopie@unaffiliated/whoopie] has joined #ubuntu-kernel
=== _czessi [n=Czessi@dslb-088-073-057-210.pools.arcor-ip.net] has joined #ubuntu-kernel
=== jml_ [n=jml@ppp121-44-213-76.lns1.hba1.internode.on.net] has joined #ubuntu-kernel
=== lifeless [n=robertc@ppp245-86.static.internode.on.net] has joined #ubuntu-kernel
=== n2diy [n=darryl@wlk-barre-208-103-148-20.dynamic-dialup.coretel.net] has joined #ubuntu-kernel
=== Abo-Marwan47 [i=sus@gateway/tor/x-d811b7a38a7a01bb] has joined #ubuntu-kernel
=== IntuitiveNipple [n=TJ@alexandros.tjworld.net] has joined #ubuntu-kernel
=== XSource [n=XSource@41.201.236.44] has joined #ubuntu-kernel
=== lamont thinks that the lrm build-dep on gcc-3.4 [hppa] could change to gcc-4.1. I'll test that tomorrow
=== XSource [n=XSource@41.201.239.71] has joined #ubuntu-kernel
=== bullgard4 [n=detlef@p54BF04B3.dip0.t-ipconnect.de] has joined #ubuntu-kernel
krautmoin08:25
=== allee [n=ach@dialin-145-254-254-121.pools.arcor-ip.net] has joined #ubuntu-kernel
=== XSource [n=XSource@41.201.249.121] has joined #ubuntu-kernel
=== gicmo [n=gicmo@91.64.103.94] has joined #ubuntu-kernel
=== JanC [n=janc@lugwv/member/JanC] has joined #ubuntu-kernel
=== bullgard4 [n=detlef@p54BF3A6E.dip0.t-ipconnect.de] has joined #ubuntu-kernel
=== Keybuk [n=scott@wing-commander.netsplit.com] has joined #ubuntu-kernel
=== rikai [n=rikai@unaffiliated/rikai] has joined #ubuntu-kernel
=== n0u [i=Chaton@unaffiliated/nou] has joined #ubuntu-kernel
=== Krystof [i=csr21@158.223.59.95] has joined #ubuntu-kernel
=== doko [n=doko@161.116.111.2] has joined #ubuntu-kernel
=== XSource [n=XSource@41.201.222.82] has joined #ubuntu-kernel
=== amitk [n=amit@a91-154-119-106.elisa-laajakaista.fi] has joined #ubuntu-kernel
=== XSource [n=XSource@41.201.241.29] has joined #ubuntu-kernel
=== sams [n=sam@116.71.177.191] has joined #ubuntu-kernel
=== sams [n=sam@116.71.177.191] has left #ubuntu-kernel []
=== macd [n=d@cl-151.ewr-01.us.sixxs.net] has joined #ubuntu-kernel
=== Lure [n=lure@external-1.hermes.si] has joined #ubuntu-kernel
=== amitk [n=amit@a91-154-119-106.elisa-laajakaista.fi] has joined #ubuntu-kernel
=== amitk [n=amit@a91-154-119-106.elisa-laajakaista.fi] has joined #ubuntu-kernel
=== amitk [n=amit@a91-154-119-106.elisa-laajakaista.fi] has joined #ubuntu-kernel
=== verwilst [n=verwilst@d51A4A585.access.telenet.be] has joined #ubuntu-kernel
verwilsthi guys01:26
verwilsti was wondering, shouldn't there be a linux-image-xen or something?01:26
verwilsti apt-get install'ed linux-image-2.6.22-11-xen01:27
verwilstbut apparently, when 2.6.22-12-xen is out, it doesn't automatically upgrade01:27
verwilstcould it be because be installing it like that, it pinned itself to -11 ?01:27
Chorusthere is a package named "linux-image-xen"01:30
Chorushttp://packages.ubuntu.com/gutsy/metapackages/linux-image-xen01:30
=== ivoks [n=ivoks@7-163.dsl.iskon.hr] has joined #ubuntu-kernel
verwilstaaah01:41
verwilstbut not for amd6401:41
verwilstbugreport it?01:41
zulverwilst: its coming soon01:47
verwilstzul: coolnes :)01:49
verwilstjust trying out xenman01:50
verwilst0.5 on feisty doesn't seem to let me login to my server01:50
verwilst0.6 doesn't seem to work on feisty, it cant find some modules :)01:50
verwilstpython modules that is01:50
zulbecause xen-3.1 changed stuff01:50
zultry the one on gutsy01:50
verwilstyeah, i don't have a gutsy yet01:51
verwilstoh! my laptop!01:51
verwilstit scans for /usr/lib/xen-*, maybe if i just change the location, it'll work01:51
verwilstzul: apparmor seems to be disabled for the xen kernel02:20
verwilstany idea why?02:20
zulverwilst: because its not, i dont use it for one02:20
verwilstits not disabled you mean?02:20
zulverwilst: but but in a bug request and ill enable it this weekend02:21
verwilstthanks man :)02:21
verwilstzul: hm, it seems to be available in linux-ubuntu-modules-xen02:26
verwilstE: Couldn't find package linux-ubuntu-modules-2.6.22-12-xen02:26
verwilstbut my mirror is acting up so it seems :p02:26
zulfor amd64?02:26
verwilstin the changelog entry for ",linux-ubuntu-modules-2.6.22 (2.6.22-12.29)"  it says "Ben Collins: ubuntu: Add amd64 to xen target"02:28
zulcould be your mirro 02:28
verwilstftp://ftp.ubuntu.com/ubuntu/pool/universe/l/linux-ubuntu-modules-2.6.2202:29
verwilstidd02:29
verwilstthe kernel has been sycned02:29
verwilstbut the modules aren't yet02:29
verwilstxenman looks pretty nice btw02:30
=== rikai [n=rikai@unaffiliated/rikai] has joined #ubuntu-kernel
=== gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel
=== jetsaredim [n=jgreenwa@pool-141-149-173-208.bos.east.verizon.net] has joined #ubuntu-kernel
jetsaredimdid we ever get an answer on the vmware modules question?02:44
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-kernel
=== amitk [n=amit@a91-154-119-106.elisa-laajakaista.fi] has joined #ubuntu-kernel
verwilstzul: hm, do you know of a bug that makes the bridge not being creates?03:13
verwilstcreated*03:13
verwilsti have bridge-utils installed03:13
verwilstand my xend-config.sxp has the network-bridge thing correct03:14
verwilsti have lots of vif's, but no bridge03:14
zulnope03:14
verwilsthad that problem before with -10 i think03:15
verwilstbooting with 2.6.16-xen worked fine03:15
verwilstso must be a kernel issue03:15
verwilst2.6.18-xen sorry, the official one03:15
zulyou might want to check #xen03:16
=== gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel
=== amitk [n=amit@a91-154-119-106.elisa-laajakaista.fi] has joined #ubuntu-kernel
=== doko [n=doko@161.116.111.2] has joined #ubuntu-kernel
=== mdomsch [n=mdomsch@cpe-70-124-62-55.austin.res.rr.com] has joined #ubuntu-kernel
=== XSource [n=XSource@41.201.255.187] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== gicmo [n=gicmo@91.64.103.94] has joined #ubuntu-kernel
=== bullgard4 [n=detlef@p54BF0A5F.dip0.t-ipconnect.de] has joined #ubuntu-kernel
NafalloLenovo ThinkPad R61 (NA01FUK)04:12
NafalloI hope its a good one, cause I have it early next week :-)04:12
=== XSource [n=XSource@41.201.253.224] has joined #ubuntu-kernel
verwilstzul: read everything on #xen? :)04:43
zuluh no04:43
verwilstzul: only the last lines are important :)04:43
=== XSource [n=XSource@41.201.178.8] has joined #ubuntu-kernel
bdmurrayBenC: I'm having some issues with suspend and uvcvideo on my laptop.05:01
BenCbdmurray: yeah, I've heard the same from others05:01
mjg59bdmurray: Did you generate the full trace I asked for?05:01
BenCsome people have added it to the list of modules to load/unload for suspend05:01
mjg59There's a trivial one line workaround05:02
=== johanbr [n=j@JBrannlund.MathStat.Dal.Ca] has joined #ubuntu-kernel
mjg59Just change the return -EINVAL to return 0 in uvc_suspend()05:03
mjg59It's a sanity check that's failing05:03
mjg59I suspect because the driver never bound, so dev->video.streaming->intf never got set05:03
mjg59Quite /why/ the driver is still attached to the device when it failed to set up the video interface, I've no idea05:03
zulmjg59: http://svn.berlios.de/viewcvs/linux-uvc/linux-uvc/trunk/uvc_driver.c?rev=122&r1=120&r2=12205:04
mjg59zul: Yes, that's the code we have05:04
zulah ok05:04
bdmurrayWhen the module is initially loaded I do see a message about it failing to initialize the device05:05
mjg59bdmurray: The logs from an attempted suspend with the tracing turned on would be helpful05:05
bdmurraymjg59: okay, I'll keep trying to get one05:06
=== ivoks [n=ivoks@34-100.dsl.iskon.hr] has joined #ubuntu-kernel
=== Abo-Marwan47 [i=sus@gateway/tor/x-c74e9ae68186aff6] has joined #ubuntu-kernel
=== natenewz [n=nate@75-162-41-30.desm.qwest.net] has joined #ubuntu-kernel
=== l_ [n=l_@mix.mmjgroup.com] has joined #ubuntu-kernel
=== gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel
=== Lure [n=lure@89-212-18-142.dynamic.dsl.t-2.net] has joined #ubuntu-kernel
natenewzsubmitted bug #129972 this last summer, if somebody wants to take a look, I can test and run commands and things06:04
ubotuLaunchpad bug 129972 in alsa-driver "no sound on hp dv6500 pavilion laptop" [Undecided,Confirmed]  https://launchpad.net/bugs/12997206:04
bdmurraynatenewz: is that with gutsy or feisty?06:06
natenewzbdmurray: gutsy06:09
=== newz2000 [n=matt@unaffiliated/newz2000] has joined #ubuntu-kernel
bdmurraynatenewz: installed or a live cd?06:12
natenewzbdmurray: installed06:13
=== jmbp [n=jb37118@200.71.50.164] has joined #ubuntu-kernel
=== jmbp [n=jb37118@200.71.50.164] has left #ubuntu-kernel ["Ex-Chat"]
=== IntuitiveNipple [n=TJ@alexandros.tjworld.net] has joined #ubuntu-kernel
=== jdong [n=dizzle@ubuntu/member/jdong] has joined #ubuntu-kernel
jdongwhat architectures are "tickless"?06:44
jdongjust i386, or i386 and amd64?06:44
jdongsorry if I, err, ticked... anyone off by asking that in -devel06:45
mjg59Just 938606:45
mjg59i38606:45
jdongah, ok06:45
jdongthanks06:45
=== jdong [n=dizzle@ubuntu/member/jdong] has left #ubuntu-kernel ["L]
=== XSource [n=XSource@41.201.231.171] has joined #ubuntu-kernel
bdmurrayIs there a reason PM_TRACE isn't available on amd64?07:00
mjg59bdmurray: It shouldn't make any difference in this case?07:02
bdmurraymjg59: The architecture shouldn't make any difference?07:03
mjg59bdmurray: Oh, sorry, are we not on uvcvideo any more?07:04
mjg59I believe rtg added PM_TRACE support to x86_6407:05
mjg59Back in Feisty07:05
bdmurrayRight I see it in 2.6.20 but not 2.6.2207:05
rtgmjg59: I don't think we carried that forward.07:05
mjg59sigh.07:06
mjg59BenC: Please, please, please could you generate a list of patches that weren't carried forward?07:06
kylemeh?07:07
kylemit's upstream.07:07
BenCthose got merged upstream07:07
mjg59BenC: It's still something of a general problem, though07:07
rtgmjg59: PM_TRACE was used to find out which drivers were causing suspend problems. I think most of them have been fixed. The remaining video issues are not solvable using PM_TRACE.07:07
mjg59rtg: No, there will still be a large number of drivers causing issues.07:08
BenCmjg59: at this point, suspend tracing doesn't much matter, does it?07:08
BenCbut i was sure all of our patches got merged upstream, including the amd64 one07:08
mjg59BenC: We still seem to be missing the MSI and MMCONFIG stuff07:09
BenCNow that I was sure was merged at the start of gutsy work07:09
mjg59Nope07:09
mjg59static int pci_msi_enable = 1;07:10
mjg59BenC: This is why I keep asking for a list - nobody seems to have any clue which patches have been dropped by accident :)07:11
=== m0rg0th [n=m0rg0th@219.64.120.181] has joined #ubuntu-kernel
bdmurrayI think there should be some consistency with pm_trace.  Having it available on i386 but not on x86_64 seems odd.  Also the wiki page DebuggingKernelSuspend points people to it.07:18
mjg59Yeah. It's in-kernel, it should be switched on.07:18
=== BenC was pretty sure tim merged that...let me check
BenCyeah, the +6 is still there, so no amd64 support...hmm07:23
rtgBenC: Cherry-pick from Feisty?07:24
BenCrtg: yeah07:25
rtgFeisty c63e3d917a84214a98c81ae497bcd4a72ead62ed07:25
rtgI'll get it after kylem sorts out the ABI brokeness.07:25
=== pina [n=arg@unaffiliated/pina] has joined #ubuntu-kernel
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel
=== tuxmaniac [n=aanjhan@unaffiliated/tuxmaniac] has joined #ubuntu-kernel
=== Krystof [n=csr21@84-51-132-95.christ977.adsl.metronet.co.uk] has joined #ubuntu-kernel
=== bullgard4 [n=detlef@p54BF10EF.dip0.t-ipconnect.de] has joined #ubuntu-kernel
=== Kano [n=kano@91.64.67.21] has joined #ubuntu-kernel
Kanohi, are those vfs changes from 2.6.23?09:28
Kanothey make that aufs does not compile again09:28
BenCKano: no, they are caused by apparmor needing vfs changes for proper hooks09:40
BenCKano: search for an aufs patch to make it work with latest apparmor09:41
=== asac_ [n=asac@debian/developer/asac] has joined #ubuntu-kernel
=== mdomsch [n=Matt_Dom@cpe-70-124-62-55.austin.res.rr.com] has joined #ubuntu-kernel
=== tehk [n=tehk@c-69-249-157-157.hsd1.nj.comcast.net] has joined #ubuntu-kernel
KanoBenC: any idea where to find that?10:01
=== stepomaticc [n=stepomat@85.127.104.109] has joined #ubuntu-kernel
=== allee [n=ach@dialin-212-144-129-194.pools.arcor-ip.net] has joined #ubuntu-kernel
=== gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel
=== tehk [n=tehk@c-69-249-157-157.hsd1.nj.comcast.net] has joined #ubuntu-kernel
=== gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel
=== okaratas [n=CCNA@fsf/member/okaratas] has joined #ubuntu-kernel
okaratashello11:20
jetsaredimdid we ever get an answer on the vmware modules question?11:29
=== n0u_ [i=Chaton@causse.larzac.fr.eu.org] has joined #ubuntu-kernel
=== ivoks [n=ivoks@34-100.dsl.iskon.hr] has joined #ubuntu-kernel
=== n0u [i=Chaton@unaffiliated/nou] has joined #ubuntu-kernel
=== JanC [n=janc@lugwv/member/JanC] has joined #ubuntu-kernel
=== n0u [i=Chaton@unaffiliated/nou] has joined #ubuntu-kernel

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