/srv/irclogs.ubuntu.com/2007/12/17/#ubuntu-kernel.txt

mekiusAnyone know if pata_via is going to be reenabled in the Ubuntu kernels in the near future?00:13
mekiusIf anyone is around, how is it determined whether to load ide-generic?  We have a chipset which doesn't work with the via28xxx module, but loading ide-generic makes the drive appear.  ide-generic is obviously not ideal, but at least it works.  Shouldn't this load if no other module loads for a piece of hardware?00:24
mekiusThis is why I ask about pata_via since I'm assuming it will autoload00:24
Kanohi, could somone fix the powerpc build of 2.6.24? it did not find a modules file00:32
=== asac_ is now known as asac
=== clever is now known as clever[rev]
=== \sh_away is now known as \sh
krautmoin07:25
=== clever[rev] is now known as clever
=== \sh is now known as \sh_away
tseliotBenC are you there?16:58
tseliotI'm trying to get the nvidia driver to work with DKMS however the compilation fails16:59
tseliothere are the two files I had to add to debian/ :17:00
tseliothttp://albertomilone.com/ubuntu/nvidia-kernel-source.postinst17:00
tseliothttp://albertomilone.com/ubuntu/nvidia-kernel-source.prerm17:00
tseliotand this is the modified debian/rules:17:00
tseliothttp://albertomilone.com/ubuntu/rules17:00
BenCtseliot: it fails to compile in the postinst?17:01
tseliotyep17:01
BenCwhat's the failure message?17:02
tseliotthis is the command which the dkms should execute:17:02
tseliotecho "MAKE[0]=\"export IGNORE_XEN_PRESENCE=1; make -C /usr/src/nvidia-${nv_drv_choice}/ -f Makefile.kbuild SYSSRC=/usr/src/linux-headers-${flavours} KBUILD_PARAMS="-C /usr/src/linux-headers-${flavours}" module\""17:02
tseliotif you need the exact error I can log out, install the generated driver and reproduce the problem17:03
BenCI can't really help you without knowing what the actually error is17:03
tseliotok, I'll be right back with the error17:03
tseliotBenC here is what happens when I install nvidia-kernel-source17:35
tseliotUnpacking nvidia-new-kernel-source (from .../nvidia-new-kernel-source_100.14.23+2.6.22.1_i386.deb) ...17:35
tseliotSetting up nvidia-new-kernel-source (1:100.14.23+2.6.22.1) ...17:35
tseliotAdding Module to DKMS build system17:35
tseliotDoing initial module build17:35
tseliotError! Bad return status for module build on kernel: 2.6.22-14-generic (i686)17:35
tseliotConsult the make.log in the build directory17:35
tseliot/var/lib/dkms/nvidia/100.14.23/build/ for more information.17:35
tseliotInstalling initial module17:35
tseliotError! Could not locate nvidia.ko for module nvidia in the DKMS tree.17:35
tseliotYou must run a dkms build for kernel 2.6.22-14-generic (i686) first.17:35
tseliotDone.17:35
tseliotnow I'll paste the real error from the log17:35
tseliotDKMS make.log for nvidia-100.14.23 for kernel 2.6.22-14-generic (i686)17:37
tseliotMon Dec 17 18:34:23 CET 200717:37
tseliotmake: Entering directory `/usr/src/nvidia-100.14.23'17:37
tseliotmake: Nothing to be done for `/usr/src/linux-headers-2.6.22-14-generic'.17:37
tseliotNVIDIA: calling KBUILD...17:37
tseliotmake CC=cc -C modules17:37
tseliotmake: Entering an unknown directory17:37
tseliotmake: *** modules: No such file or directory.  Stop.17:37
tseliotmake: Leaving an unknown directory17:37
tseliotNVIDIA: left KBUILD.17:37
tseliotnvidia.ko failed to build!17:37
tseliotmake: *** [module] Error 117:37
tseliotmake: Leaving directory `/usr/src/nvidia-100.14.23'17:37
tseliotBenC this is all it says. Ideas?17:38
BenCok, next time, use pastebin :)17:38
tseliotsure :P17:38
BenC-C modules17:39
tseliotBenC ok this is the only line of the new error17:44
tseliotmake: *** modules: No such file or directory.  Stop.17:44
BenCwell, it's doing -C in the wrong place17:46
tseliotthe nvidia kernel source package should put the content of the former nvidia source tarball into /usr/src/nvidia-100.14.2317:48
tseliotBenC here is the content of that folder:17:50
tseliothttp://pastebin.com/m6c3fa51217:50
tseliotBenC and here's the content of the dkms.conf:17:52
tseliothttp://pastebin.com/d769a143017:52
mekiusHi, anyone here able to tell me why the pata_via driver is not included in the kernel?  Also is there an easy way to build a single module without rebuilding the entire kernel so we can just package this module?18:00
rtg_mekius: hardy? 'CONFIG_PATA_VIA is not set' might just be  an oversight.18:05
mekiusrtg_: On gutsy kernel, 2.6.22-1418:06
mekiusI have read there were issues with it during dapper/edgy, but haven't found any info on it from feisty/gutsy18:07
mekiusI saw some updates to it as recent as 2.6.22-618:07
rtg_mekius: dunno. you'll have to rebuild the kernel and experiment with it.18:07
mekiusok, I will try it out18:07
rtg_mekius: just so you know, the earliest opportunity to get it enabled by default will be for Hardy.18:08
mekiusYes, I assumed was the case18:08
mekiusI have 3 VIA chipsets to test against, so I'll be able to provide some testing data18:08
mekiusHopefully all goes well as we are having issues with a chipset that isn't supported by the old pata driver and ide-generic doesn't load by default to cover it18:09
=== \sh_away is now known as \sh
mekiusrtg_: Is there anywhere that I could read why the module was disabled?18:18
cheguevaradamn the new linux-restricted-modules-2.6.24 FTBFS again18:18
rtg_mekius: perhaps search LP? BenC was dealing with pata stuf f last time.18:18
mekiusrtg_: I work for gOS and have contacts at VIA who I'm trying to get to be more open and write their drivers in the community, so any information on what is broken would be good :)18:19
mekiusrtg_: OK, I'll look around18:19
BenCmekius: I believe there is a bug about this...the libata-pata driver doesn't work as well as the ide driver, or something along those lines18:19
tseliotBenC: any ideas? The nvidia-new-kernel-source package I made seems to contain the same files as Mandriva's equivalent nvidia-dkms package...18:20
BenCmekius: I believe we disabled the pata-via driver because it was getting broken when host-protected-area was being ignored18:21
mekiusBenC: Ok, I will dig around, just unfortunate since we have some newer hardware and they are begging for it to be supported heh.18:21
BenCtseliot: sounds to me like the proper vars aren't getting passed to the underlying build18:22
mekiusBenC: Do you know if anyone has attempted to fix these issues, or will they still exist if I build it manually?18:22
mekiusBenC: I'll look around launchpad, like I said I saw an update in 2.6.22-6 for it, but nothing after that18:23
mekiusAlso some misc updates before that revision as well18:23
BenCmekius: sad part is, that was disabled because of feisty, and it seems we never tried re-enabling it to see if it was still broken18:24
BenCso it may work, we just don't know18:24
rtg_mekius: if you saw updates in 2.6.22.Y, then they are also upstream.  You might try the current 2.6.24-rc kernel.18:25
tseliotBenC: yes, I know, but how are those variables passed in the official debian/rules you made?18:25
mekiusBenC: Well I can test with a few chipsets and report back.  I will let you know how well it works.18:25
mekiusBenC: I realize that testing is hard without the hardware around :)18:25
BenCtseliot: check the rules file, I don't recall off the top of my head18:26
mekiusrtg_: Is that in the Hardy repo?18:26
rtg_mekius: yep, but you'll have to enable the CONFIG option.18:26
BenCmekius: any testing you can provide is very much appreciated18:26
rtg_mekius: I can build a CONFIG_PATA_VIA in about 20 minutes one if you want to test.18:27
mekiusrtg_: Sry, I'm not all that familiar with Ubuntu, I do this when I install the package?18:27
mekiusBenC: Can do, I need to test anyway, so might as well try to get this working upstream :)18:28
mekiusrtg_: Does it just run make menuconfig during install if I set evn var CONFIG=true?18:29
rtg_mekius: um, its a little more involved then that. gimme a few minutes....18:29
mekiusrtg_: ok, thx18:29
tseliotBenC: this is the line you use in your rules:18:33
tseliot$(ROOT_CMD) make -C $(builddir)/$$i/nv-new -f Makefile SYSSRC=/usr/src/linux-headers-$$i KBUILD_PARAMS="-C /usr/src/linux-headers-$$i SUBDIRS=$(builddir)/$$i/nv-new" module;18:33
BenCtseliot: I have to be honest, I've never worked with dkms, so I don't know how to set it up to pass those vars down to the sub-build18:35
BenCtseliot: mdomsch would be the guy to talk to18:35
tseliotBenC: I really appreciate your honesty. I'll go bug mdomsch then ;)18:36
=== \sh is now known as \sh_away
=== \sh_away is now known as \sh
rtg_mekius: http://people.ubuntu.com/~rtg/linux-image-2.6.24-2-generic_2.6.24-2.3_i386.deb-pata-via19:08
mekiusgah, browser tries to load it heh19:09
mekiuswget :)19:10
=== chuck__ is now known as zul
mekiusrtg_: Is that just a .deb then?19:38
rtg_mekius: yes. download it, then 'sudo dpkg -i linux-image-2.6.24-2-generic_2.6.24-2.3_i386.deb-pata-via'19:39
mekiusyeah19:39
reynaldortg_ hi, can I stole you a minute?19:41
rtg_reynaldo: yes?19:41
mekiusrtg_: going to take a bit of work since i need to install it via a chroot into the system I installed onto the harddrive.  Is this going to cause conflicts with the modules in the linux-ubuntu-modules package?19:42
rtg_mekius: you need to be on bare metal in order to install a kernel. A chroot isn't gonna test your VIA disk problems.19:43
rtg_mekius: and no, the modules installed are completely separate.19:44
mekiusrtg_: well what i'll do is install the kernel to the hard drive and then reboot to the hard drive, only option :/19:45
mekiuscan't get booted into the hard drive copy, well maybe if i could load ide-generic in the initrd19:45
mekiusif this doesn't work, i'll try that19:45
rtg_mekius: I see. then that may be the only way.19:45
mekiusrtg_: Yeah, I'm having all kinds of fun, can't you tell :)19:46
rtg_mekius: yep - its a bitch when your base drivers don't work.19:46
mekiusindeed19:48
rtg_reynaldo: I don't have a Freenode registered nick. You'll have to use email.19:48
mekiuside-generic is so slow too, took over an hour to install heh19:49
rtg_mekius: one of the features I hope our installer guys figure out is a way to blow an ISO onto a USB drive. It really speeds things up.19:51
reynaldortg_: ok, sending it over, thanks a lot.19:51
mekiusrtg_: :)19:52
mekiusrtg_: wish me luck heh19:54
rtg_mekius: hopefully it won't trash your drive, which is a real possibility with the protected area stuff.19:55
mekiusrtg_: Just a test system, no important date19:55
mekiusdata*19:55
rtg_mekius: I would expect to work on a fresh install, but an upgrade from a driver that honors HPA to a driver that does not is surely gonna trash something.19:57
mekiusrtg_: I think it's booting :D19:57
mekiusstill waiting for it, but it has made it farther then before19:58
kylemrtg_, BenC, i was going through old photos and thought you might like this: http://www.flickr.com/photos/__kyle/2117175970/in/set-72157603479056297/19:58
mekiusrtg_: So the new driver doesn't support something important is what you are saying?19:59
mekiusrtg_: Well it booted fine without destroying anything :D19:59
mekiusrtg_: This is good news for me heh19:59
rtg_kylem: man, that seems like awhile ago.19:59
kylemhttp://www.flickr.com/photos/__kyle/2116459477/in/set-72157603479056297/20:00
kylemit was. ;-)20:00
BenCkylem: sweet20:00
BenCit was only a little more than 6 months ago20:00
* BenC loved the "Follow Me" truck20:00
BenCI have the other side to the dueling cameras photo20:01
mekiusrtg_: Did you see any updates to pata_via since 2.6.22-14?20:02
rtg_mekius: can you paste the 'lspci -vvnn' output in http://paste.ubuntu-nl.org/. Lets be sure its doing what we think.20:02
mekiusrtg_: I didn't find anything while searching20:02
mekiusrtg_: ok20:02
rtg_mekius: I haven't been looking at the .22 tree since we stopped Gutsy development.20:03
mekiusok20:03
mekiushmm, ok, we may have some issues, can't gurantee they are due to this module exactly, but definitely having problems20:04
BenChttp://www.flickr.com/photos/__kyle/2117196194/in/set-72157603479056297/20:04
BenCkylem: ^^ it's not too often you get to see what you'll look like in 40 years :)20:05
rtg_mekius: for example?20:05
kylemhehe20:05
rtg_BenC: yuk, yuk.20:05
mekiusWell getting a lot of graphics corruption, might be due to files not being read of the disk?20:05
mekiushappens when i moved windows mostly20:05
rtg_mekius: that could be VIA agp.20:06
rtg_mekius: its unlikely to be a disk issue.20:07
mekiusWell we are using openchrome drivers, so maybe an incompatibility :/20:07
mekiusrtg_: paste.ubuntu-nl.org/4857320:08
rtg_mekius: looks right. the 0581 PCI device ID is specifically supported.20:11
reynaldortg_: sent, thanks again.20:12
reynaldoBenC: hi there ben, gently pinging again. still waiting for your answer. I understand you must be _uterly_ bussy but I just dont want you to forget or even worst, to think I forget about it.20:15
BenCreynaldo: I'll catch it in the morning. Sorry it's taking so long20:16
=== \sh is now known as \sh_away
BenCwtf20:17
BenCI can't see what is causing this:20:17
BenCdpkg-genchanges: warning: duplicate files list entry for package xorg-driver-fglrx (line 23)20:17
BenCthat's while building lrm on i386...can't reproduce it locally20:17
reynaldoBenC: no need to be sorry, we are all just trying to help ;) thanks again!20:18
mekiusrtg_: Ah, might be due to the via drm driver getting loaded20:25
rtg_mekius: it does sound like a graphics issue.20:26
mekiusyeah, i'll try to unload it, but the terminal is hosed heh20:26
mekiushaving to type blind20:26
mekiusGood thing I know how the tab completion behaves like the back of my hand :020:28
mekius:)20:28
mekiusrtg_: Is is possible to build and distribute the pata_via module in a seperate package20:33
rtg_mekius: yes, but you'll have to tell me what the advantages are.20:34
mekiusrtg_: Hmm, seems to only get corrupted when shaped windows come into play20:34
rtg_mekius: I think its the only driver that supports you PCI IDs20:34
mekiusrtg_: Well we would just use it on our machines for now20:35
mekiusI've only tested it on the one machine20:35
mekiusi can test on another quick and see how that does20:35
mekiusHave another notebook with 1106:057120:36
somerville32rtg_, did you apply my patch?20:51
rtg_somerville32: this one? http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commit;h=c0bb64a179acfab520ef9050eb712afd715f686620:53
somerville32No, the one about the userspace typedefs being hidden behind #ifdef __KERNEL__20:54
rtg_somerville32: did you send it to the kernel team mailing list 'cause I don't see it (which doesn't mean I might not have deleted it by accident)20:57
somerville32rtg_, Yes I did send it20:58
somerville32but I forgot to set the subject line20:58
rtg_somerville32: did you ever see it appear? The SPAM filter might have eaten it.20:59
somerville32I'll check the archive21:00
somerville32It is in the archive21:00
somerville32https://lists.ubuntu.com/archives/kernel-team/2007-December/001946.html21:00
mekiusrtg_: Do you think we'll have issues shipping pata_via or would my test here prove that it works ok?21:01
rtg_mekius: I would like to see at least a couple of unique PCI IDs tested. I need to research just what the issues were, 'cause if they were HPA then there might be some update issues.21:03
mekiusrtg_: Ok, I will try to test on a couple more computers today and get back to you.  They should all have different VIA IDE controllers21:04
mekiusTwo are laptops, one's a desktop.21:04
mekiusI'll have to double check, the others might be using sata21:04
rtg_mekius: send the results to the kernel team list so it gets a little wider distribution.21:04
mekiusAh ok, will do21:04
=== \sh_away is now known as \sh
=== \sh is now known as \sh_away
somerville32rtg_, Did you find the e-mail?21:13
mekiusrtg_: Where can I find the list info?21:15
rtg_somerville32: yes. I think I postponed dealing with it until I saw what happened upstream. However, its simple enough I'll go ahead and apply it (after build testing). If it causes on the next rebase it'll be simple enough to fix.21:15
somerville32rtg_, Will you be able to upload today?21:16
rtg_somerville32: no. its not likely until after the the 1st. Canonical is pretty much shut down all of next week.21:17
somerville32The 1st of January?21:17
rtg_somerville32: yes.21:17
rtg_mekius: https://lists.ubuntu.com21:17
somerville32rtg_, I needed the fix for Alpha 2.21:17
mekiusrtg_: thx21:17
rtg_somerville32: its already too late. Alpha2 is being baked this week.21:18
somerville32Then I guess I'll just have to patch xfce4-battery-plugin for now21:19
mekiusrtg_: If I verify that it works for a few devices would it be able to go into the Hardy alphas?21:19
rtg_mekius: Alpha3 https://wiki.ubuntu.com/HardyReleaseSchedule21:20
mekiusrtg_: k21:21
tseliotBenC: I just wanted to let you know that thanks to mdomsch and to your help I got DKMS + NVIDIA to work!!!21:29
BenCtseliot: excellent21:36
tseliotBenC: I was successful but I had to edit the dkms.conf manually.21:41
tseliotHowever I can't seem to escape the dollar sign as I usually do21:42
tseliotthis command in the debian/rules21:42
tseliotecho "MAKE[0]=\"make module KERNDIR=/lib/modules/\$kernelver IGNORE_CC_MISMATCH=1 SYSSRC=\$kernel_source_dir\"" >> $(CURDIR)/debian/dkms.conf21:42
tseliotbecomes:21:42
tseliotMAKE[0]="make module KERNDIR=/lib/modules/\ernelver IGNORE_CC_MISMATCH=1 SYSSRC=\ernel_source_dir"21:42
tseliotand I don't know why $kernelver becomes \ernelver21:43
tselioteven if I escape the dollar sign with \$ i.e. \$kernelver21:43
rtg_tseliot: try $(kernel_source_dir) 'cause I think its a make macro.21:45
tseliotrtg_: mdomsch told me not to expand the variable21:48
rtg_tseliot: ok, then how about $$kernelver and $$kernel_source_dir21:49
tseliotrtg_: I get this:21:51
tseliotMAKE[0]="export IGNORE_XEN_PRESENCE=1; make -C modules /usr/src/nvidia-100.14.23/ -f Makefile.kbuild SYSSRC=/usr/src/linux-headers-2.6.22-14-generic KBUILD_PARAMS=-C21:51
rtg_tseliot: ok, I don't know enough about the layers of shell scripts and make files.21:51
tseliotneither do I. thanks for trying ;)21:52
tseliotrtg_, BenC: I solved it!22:39
tseliot$$""kernelver22:39
tseliot$$ gives $22:39
tseliothowever $$kernelver is interpreted as a variable and it's not escaped22:39
tseliot$$""kernelver means $ + nothing + kernelver22:40
tseliotyay!22:40
=== cheguevara_ is now known as CheGuevara

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