/srv/irclogs.ubuntu.com/2007/07/23/#ubuntu-kernel.txt

=== doko [n=doko@dslb-088-073-082-130.pools.arcor-ip.net] has joined #ubuntu-kernel
=== BFTD [n=thomas@67-150-244-254.oak.mdsg-pacwest.com] has joined #ubuntu-kernel
=== n0u [i=Chaton@unaffiliated/nou] has joined #ubuntu-kernel
=== n0u_ [i=Chaton@causse.larzac.fr.eu.org] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== macd [n=d@cl-116.atl-01.us.sixxs.net] has joined #ubuntu-kernel
=== BFTD [n=thomas@67-150-244-77.oak.mdsg-pacwest.com] has joined #ubuntu-kernel
=== OGDA [n=thomas@67-150-255-223.oak.mdsg-pacwest.com] has joined #ubuntu-kernel
=== OGDA is now known as BFTD
=== abogani [n=alessio@adsl203-157-083.mclink.it] has joined #ubuntu-kernel
=== BFTD [n=thomas@67-150-255-223.oak.mdsg-pacwest.com] has joined #ubuntu-kernel
=== OGDA [n=thomas@67-150-255-223.oak.mdsg-pacwest.com] has joined #ubuntu-kernel
=== OGDA is now known as BFTD
=== amitk [n=amit@a81-197-135-210.elisa-laajakaista.fi] has joined #ubuntu-kernel
=== n0u [i=Chaton@unaffiliated/nou] has joined #ubuntu-kernel
=== ivoks [n=ivoks@3-183.dsl.iskon.hr] has joined #ubuntu-kernel
krautmoin09:06
dokolamont, kylem: is there a kernel which has the fix for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32857 ?11:44
=== sdrik` [n=sdrik@ip-93-4.dsl.newel.net] has joined #ubuntu-kernel
=== IanC26 [n=IanC26@124.148.100.72] has joined #ubuntu-kernel
=== cassidy [n=cassidy@44.201-136-217.adsl-dyn.isp.belgacom.be] has joined #ubuntu-kernel
=== ScottK [n=ScottK@ubuntu/member/scottk] has joined #ubuntu-kernel
=== ivoks [n=ivoks@89-172-31-221.adsl.net.t-com.hr] has joined #ubuntu-kernel
=== ScottK [n=ScottK@ubuntu/member/scottk] has left #ubuntu-kernel ["Konversation]
=== IntuitiveNipple [n=TJ@alexandros.tjworld.net] has joined #ubuntu-kernel
=== ivoks [n=ivoks@89-172-31-221.adsl.net.t-com.hr] has joined #ubuntu-kernel
=== gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel
=== alesan [n=alesan@pD9E58B69.dip0.t-ipconnect.de] has joined #ubuntu-kernel
alesanhi.03:10
alesanwe are developing a kernel driver for our device (www.ncomputing.com) it is based on alsa. we want to support ubuntu as best03:11
alesanhow can we know in advance when you are about to release a kernel update so that we can anticipate and create a binary that is going to work with your package?03:12
IntuitiveNipplealesan: Is the driver proprietary ?03:13
alesanGPL03:13
alesanand yes, we could ask the lkml to include it in the main kernel, but we need some time for that (code clean-up etc etc)03:14
alesanbut before it gets accepted we would need a solution.03:14
IntuitiveNippleIf it is GPL, then submit it to Andrew Morton's -mm so it can be reviewed and tested, Ubuntu and other distributions pick up their 'extra' drivers from there based on user demand03:15
zulBenC: ping ^^^03:15
alesanok but - in the meantime - isn't there any option to anticipate your releases?03:15
BenCalesan: best bet is to submit the driver to use for inclusion in gutsy03:16
IntuitiveNippleI think the roadmap illustrates the releases... 6 month cycles03:16
BenCalesan: gutsy will be released in October, and is based on 2.6.22 kernel03:16
alesanok but there are often minor releases03:16
alesanlike 2.6.20-1603:17
BenCalesan: if it's in our source tree, it's being built every time03:17
alesanthat went in 7.04 few weeks ago'03:17
alesanok03:17
alesanI see03:17
BenCalesan: we can't anticipate those03:17
BenCthe ABI bump - the -16 in the above example - is caused by changes we don't control, usually security updates03:17
BenCand we don't usually drop new drivers into a stable release, like 7.0403:18
BenCbut we can include it in the upcoming release of gutsy now, and if it's in our tree, then you need not worry about those minors, since it'll get rebuilt everytime03:18
alesanBenC, ok. very good03:19
BenCalesan: I suggest checking http://kernel.ubuntu.com/, get the ubuntu-gutsy-lum git tree, and send us a request to include via kernel-team@lists.ubuntu.com03:19
BenCalesan: best way is to clone the tree, get it in the build, and send a pull request to the list, otherwise, just send us a nice patch03:20
=== ajmitch_ [n=ajmitch@port166-123.ubs.maxnet.net.nz] has joined #ubuntu-kernel
alesanok I'll talk with the driver author what he thinks is best03:21
alesanask I mean03:21
alesanok thank you very much at this point03:21
alesanBenC, IntuitiveNipple maybe there is a little problem. the driver needs to upload a firmware to our PCI board that is not going to be opensource. will this constitute a problem?03:24
BenCalesan: the ubuntu-gutsy-lum package already has other firmware in it, so long as we have redistribution rights, it should be ok03:24
IntuitiveNippleThat's rather like the Intel wifi firmware situ, it should be ok03:25
alesanIntuitiveNipple, but such a thing won't help our driver to get included in the main kernel, right?03:25
alesanmain kernel I mean -mm first and Linus' kernel after03:26
BenCalesan: it wont keep it from getting into the main kernel03:26
BenCthere's plenty of drivers already that need firmware03:26
IntuitiveNipplealesan: see BenC's comment :)03:26
BenCalesan: just make sure you're using firmware API in kernel, and not doing something silly like building the firmware into the driver via bin2hex header :)03:27
alesanBenC, ok it is ok for now. thank you. and you too IntuitiveNipple 03:27
IntuitiveNippleDo we have any ACPI suspend experts? I've found an issue with feisty & gutsy whereby a notebook prematurely suspends and immediately resumes in acpi_enter_cleep_state() when flushing the CPU cache, *before* the SLP_ENABLE bit is written03:28
IntuitiveNipples/cleep/sleep/03:28
alesanBenC, I checked and, actually, we load our firmware with a userspace tool. the kernel module (which is only for audio) must be loaded before and needs no special firmware to be loaded, but it won't "work" until the firmware is loaded03:31
alesansorry I've been pretty confusing :)03:31
BenCalesan: a firmware tool?03:32
BenCalesan: so the driver doesn't request the firmware from userspace like all the other firmware-using drivers in the kernel? :)03:32
alesanBenC, you know we are building up our Linux-team and some work has been done already maybe not in the best way03:35
BenCalesan: ah, ok. Most likely the lkml will suggest you use the request_firmware() and related calls in the driver to handle the loading03:36
BenCalesan: fits into userspace and distros much better that way03:36
alesansee it like this, our device implements a kind of X-server. the audio part (for which we need the kernel driver) is "optional" and appeared later during the development process03:36
=== ajmitch [n=ajmitch@port166-123.ubs.maxnet.net.nz] has joined #ubuntu-kernel
=== alesan [n=alesan@pD9E599CD.dip0.t-ipconnect.de] has joined #ubuntu-kernel
alesansorry my network went down.03:46
alesanany answer to my latest message :) ?03:47
BenCalesan: didn't see a last question :)03:54
alesan:) well it was an attempt to explain why we don't load the firmware via a kernel call03:55
BenCI'd have to see the driver/product to really understand it better, but I'll take your word for it :)03:56
BenCif you're interested in getting into gutsy, the clock is ticking03:56
BenCwe have feature/kernel freeze coming soon, like 4 weeks or so03:57
alesanok03:58
alesanthank you for the info03:58
BenCno problem03:58
=== tuxmaniac [n=tuxmania@unaffiliated/tuxmaniac] has joined #ubuntu-kernel
=== pkl_ [n=phillip@unaffiliated/pkl/x-764568] has joined #ubuntu-kernel
=== pmjdebruijn [n=pmjdebru@ds9.pcode.nl] has joined #ubuntu-kernel
=== bullgard4 [n=detlef@p54BF1B13.dip0.t-ipconnect.de] has joined #ubuntu-kernel
bullgard4In  http://tinyurl.com/2vy5ul FUNCTION: acpi_evaluate_object: What is meant with "find and evaluate the given object"?05:30
IntuitiveNipplebullgard4: It means that the ACPI namespace is walked to find the 'object' (aka method or device etc) and then the 'object' is executed05:33
=== cobman [n=justinas@213.197.191.146] has joined #ubuntu-kernel
bullgard4IntuitiveNipple: Ok, thank you.05:35
=== alesan [n=alesan@pD9E599CD.dip0.t-ipconnect.de] has joined #ubuntu-kernel
alesanre05:49
alesanBenC, or everybody else that can help me: I have this dual-dual xeon (4 cores) machine with 4GB ram. I can only see 3GB, is standard ubuntu kernel able to get full 4GB or should I compile some 64GB kernel?05:53
IntuitiveNipplealesan: Are you using 64-bit Ubuntu?05:54
alesanno 32 bit for development reasons :)05:54
IntuitiveNippleI think the max you'll see is about 3.2GB in that case05:55
alesanreally05:55
alesanshould I compile my own kernel then, ok05:55
IntuitiveNippleI *believe* there is a way to see all the memory, I read about it some time ago, but I can't remember what it was05:55
alesanonly a problem with upgrades but it's ok05:55
IntuitiveNippledo some Googling for "linux kernel 4GB limit"05:56
alesanIntuitiveNipple, there is an optionin the kernel for 64GB support, do you mean that?05:56
IntuitiveNipplesee http://kerneltrap.org/node/245005:56
alesanor something that won't require a recomiplation?05:56
IntuitiveNipple"The lower 3 GB of the process virtual address space is accessible as the user-space virtual addresses and the upper 1 GB space is reserved for the kernel virtual addresses."05:57
alesanargh my http is broken... this router's crap it blocks http and the only thing I can do is to reset it05:57
mjg59IntuitiveNipple: That's not the issue06:00
mjg59That's per-process, not kernel address space06:00
IntuitiveNippleyeah, the page goes on to talk about HIGHMEM though :)06:00
mjg59alesan: Install the -server kernel06:00
IntuitiveNipplemjg59: Hobbsee tells me you're a bit of an ACPI suspend expert - is this correct?06:01
mjg59Yes06:01
IntuitiveNippleCan I bend your ear on something?06:01
mjg59Sure06:01
mjg59(In here is good)06:01
IntuitiveNippleOk... if you want a link there's a clear concise explanation in the Ubuntu forums too06:02
IntuitiveNippleFeisty and Gutsy with a sony Vaio PGC-SRX51P/B notebook, suspend goes fab but the system resumes immediately06:02
IntuitiveNippleI've been debugging it and found that the call to ACPI_FLUSH_CPU_CACHE() doesn't return, and then the system is Back to C!"06:03
IntuitiveNippleSo i never reaches the acpi_hw_register_write() for SL_ENABLE06:03
IntuitiveNippleAny ideas ?06:04
IntuitiveNippleDetails here: http://ubuntuforums.org/showpost.php?p=3066404&postcount=906:04
mjg59Ah., I saw this on acpi-devel06:04
IntuitiveNippleyou did :)06:05
IntuitiveNippleI've tested it without paravirt and get the same result. It seems the ASM WBINVD causes this06:05
IntuitiveNippleRight now, I'm wondering about moving the call to ACPI_FLUSH_CPU_CACHE() to before the acpi_hw_register_write() alls begin, to see if its tipping something off06:06
IntuitiveNipples/alls/calls/06:06
mjg59Yeah. It's not especially obvious what's going on there.06:07
IntuitiveNippleIt certainly has me stumped to explain it!06:07
IntuitiveNippleThe acutual suspend/resume itself looks beautifully clean and perfect in the log, too06:08
=== alesan [n=alesan@pD9E5BD79.dip0.t-ipconnect.de] has joined #ubuntu-kernel
alesanok sorry my cionnection was bropken.06:13
alesanconnection06:13
alesanmjg59, I read your advice, you mean linux-image-server right?06:13
=== BFTD [n=thomas@67-150-253-234.oak.mdsg-pacwest.com] has joined #ubuntu-kernel
alesanmjg59, am I going to miss the low-latency features in such kernel? or will I hardly notice the difference?06:14
=== boecio [n=chatzill@243.Red-83-58-237.dynamicIP.rima-tde.net] has joined #ubuntu-kernel
=== boecio [n=chatzill@243.Red-83-58-237.dynamicIP.rima-tde.net] has left #ubuntu-kernel []
=== pkl_ [n=phillip@unaffiliated/pkl/x-764568] has joined #ubuntu-kernel
=== alesan [n=alesan@pD9E5B4D0.dip0.t-ipconnect.de] has joined #ubuntu-kernel
=== ScottK [n=ScottK@ubuntu/member/scottk] has joined #ubuntu-kernel
=== bronson [n=bronson@66.237.74.66.ptr.us.xo.net] has joined #ubuntu-kernel
=== allee [n=ach@lapex-mcallee.mpe.mpg.de] has joined #ubuntu-kernel
=== amitk_ [n=amit@a81-197-135-210.elisa-laajakaista.fi] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== arthur_kalm [n=arthur@38.112.100.2] has joined #ubuntu-kernel
arthur_kalmHi everyone, I'm trying to get a D-Link DWL-G122 wireless USB adapter to work with Feisty. The adapter worked perfectly in Dapper but after the upgrade to Feisty, every time I plug the D-Link into the computer all the USB ports instantly disconnect and I get the following error: http://paste.plone.org/15873. Any help would be much appreciated, thanks in advance.09:32
=== RedWyverex [n=mls@ppp-88-217-13-109.dynamic.mnet-online.de] has joined #ubuntu-kernel
JanCarthur_kalm: are you sure it still works with dapper (try a dapper live cd)09:37
arthur_kalmJanC: well it was working with Dapper right before I did the fresh install09:39
JanCthe error you posted is from the USB controller saying something really bad happened  :)09:40
arthur_kalmJanC: hehe true, well it only happens when the wireless adapter connected. Otherwise the USB works fine. The adapter works in windows too..09:41
JanChm, DWL-G122 sounds most likely uses a Ralink chip...09:56
arthur_kalmJanC... perhaps10:01
JanCdo you have a multi-core CPU?10:03
=== ivoks [n=ivoks@38-126.dsl.iskon.hr] has joined #ubuntu-kernel
arthur_kalmno it's a P310:04
arthur_kalm5 years old computer10:04
IntuitiveNipplearthur_kalm: In the process of upgrading did you tinker with the insides of the PC at all? I've seen similar reports when ppl have accidentally 'nudged' something10:08
arthur_kalmIntuitiveNipple: Hmmm I sure hope not... however, now that you mention it... this isn't my computer, it's actually my boss's and he brought it in from home inside a wheeled suitcase and it was bumping around a lot. Let me check that nothing is loose.10:12
IntuitiveNipplethat sounds like an inspired idea :)10:13
IntuitiveNipplereseat everything and pull/push all wires10:13
arthur_kalmhmm just checked and it looks fine.. the thing is that Dapper was working fine when he brought the computer in and we had no problems backing up his personal files10:14
IntuitiveNippleit does sound strange... have you tried it with the Dapper LiveCD to be sure this is not a general problem?10:14
arthur_kalmno, but it _was_ working when it came in...10:15
arthur_kalmI can bring in a live CD tomorrow...10:16
IntuitiveNippleIf you can prove that Dapper is working, then you can investigate what changes would affect it. Have you tried the device in another PC running feisty? 10:17
arthur_kalmhaha, why didn't I think of that :P10:18
arthur_kalmwell it works fine in my computer10:18
=== pkl_ [n=phillip@unaffiliated/pkl/x-764568] has joined #ubuntu-kernel
IntuitiveNippleIs it using ndiswrapper or regular Linux driver?10:19
IntuitiveNippleIt might be worth investigating the USB hub on the problem PC10:20
arthur_kalmboth do not have ndiswrapper10:20
IntuitiveNippleWill another device work in the same USB port that you plug it into?10:20
arthur_kalmwell the USB hub works fine with an external hard drive10:20
arthur_kalmyes10:20
IntuitiveNipplenarrowing it down nicely :)10:20
arthur_kalmhehe10:21
arthur_kalmbut yeah lsusb shows up normally on my machine10:21
arthur_kalmand I just plugged in my USB drive and it works fine10:21
IntuitiveNippleWhen you plug in the device, are there any usb messages in kern.log before the failure?10:23
arthur_kalmwell it registers the USB device, and then tries to probe it, that's when it fails10:24
IntuitiveNippleso the probe is suspect?10:25
arthur_kalmwell prism54 yes10:26
IntuitiveNipplehowabout if you blacklist the module and try plugging it in? that way if it doesn't kill the hub you know you've isolated where the problem is10:27
arthur_kalmso blacklist prism54?10:27
IntuitiveNippleyes10:27
arthur_kalmlet me try10:28
arthur_kalm1 second10:28
arthur_kalmerr10:29
arthur_kalmI forgot, where do you blacklist?10:30
IntuitiveNipple/etc/modprobe.d/blacklist i think10:30
arthur_kalmok10:32
arthur_kalmso I added it to the blacklist and ran "modprobe prism54usb"10:32
arthur_kalmI don't _have_ to restart right?10:32
IntuitiveNippleis prism54usb loaded? (lsmod | grep prism)10:33
arthur_kalmyes10:34
arthur_kalmso I guess restart...10:34
IntuitiveNippleI'd probably do a full restart so you can guarantee the system is 'clean'10:34
arthur_kalmOK10:34
arthur_kalmbtw thank you so much for the help :)10:34
IntuitiveNipplenp... I'm sat here twiddling my thumbs building various kernels :)10:34
JanCprism54 != Ralink10:35
arthur_kalmIntuitiveNipple: hehe10:36
IntuitiveNippleJanC: You saying arthur has the wrong driver?10:36
JanCbut I found DWL-G122 revision 2 & 3 being Ralink, maybe revision 1 (which I didn't found anything about) was prism54...10:36
JanCstupid hardware manufacturers 10:37
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
arthur_kalmJanC: hehe, well I'm using Version A2, 1.0210:37
IntuitiveNippleahhh... I see... arthur, you'd best check the details ! you might be working with the wrong driver10:37
IntuitiveNippleA2/prism according to https://help.ubuntu.com/community/WifiDocs/WirelessCardsSupported#head-603c9481d6c6288b6b674cc50132d21f6d539c5310:38
arthur_kalmok10:38
arthur_kalmso it seems to be prism10:39
IntuitiveNipplearthur_kalm:  *** "Also works with Feisty but you need to blacklist prism54usb driver" *****10:39
arthur_kalmhahaha10:39
IntuitiveNipple(from that table)10:39
arthur_kalmyeah I blacklisted prism54usb and now the USB drives work10:39
JanCarthur_kalm: yeah, rev. B & C (instead of 2 & 3) are Ralink10:39
IntuitiveNipplearthur_kalm: Does that mean its fixed?10:40
arthur_kalmJanC: haha so they work out of the box I guess. I think my girlfriend has rev B or C and they work out of the box10:40
JanCarthur_kalm: if you don't have a multi-core CPU  :)10:40
arthur_kalmIntuitiveNipple: to the point that it doesn't take out all the other USB devices10:40
IntuitiveNipplearthur_kalm: progress indeed :)10:40
=== arthur_kalm goes to take a look whether wireless is working
IntuitiveNippleOn another subject entirely...10:41
arthur_kalmok so the network manager doesn't recognize it...10:41
arthur_kalmand no multicore :P10:42
IntuitiveNipple... does anyone know how I can do a kernel package build and have it only recompile dependencies rather than having to do a clean ?10:42
arthur_kalmbut it _is_ recognized by lsusb10:42
=== arthur_kalm never done a kernel compilation ;)
IntuitiveNippleI did some updates in the ACPI code, but the build with binary-debs only rebuilt what was in the debian/build tree, it didn't recompile the acpi changes10:43
IntuitiveNipplemaybe I can do an out-of-tree build and then create the kernel package in another stage?10:43
arthur_kalmIntuitiveNipple: I should have looked at the wiki :P thanks so much for your help. Thanks JanC10:44
IntuitiveNipplearthur_kalm: is it working now?10:44
arthur_kalmIntuitiveNipple: hmm no it doesn't turn on automatically... but at least we can plug it in now10:45
IntuitiveNippleok10:45
arthur_kalmwhich is progress already10:45
IntuitiveNippleyeah10:45
arthur_kalmand I gotta go home already :(10:45
IntuitiveNipple"Google is your pal"10:45
arthur_kalmyeah I'll look up howtos for it10:45
arthur_kalmwhy do all the helpful people come on when I'm just about to go home? :P10:46
=== calc [n=ccheney@conr-adsl-209-169-124-200.consolidated.net] has joined #ubuntu-kernel
arthur_kalmbut thank you so much for the help, much appreciated10:46
IntuitiveNippleyour welcome10:46
IntuitiveNipple^you're^10:46
arthur_kalmhave a good night everyone!10:46
=== pkl_ [n=phillip@unaffiliated/pkl/x-764568] has joined #ubuntu-kernel
=== IanC26 [n=IanC26@124.148.100.72] has joined #ubuntu-kernel
=== amitk_ [n=amit@a81-197-135-210.elisa-laajakaista.fi] has joined #ubuntu-kernel

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