/srv/irclogs.ubuntu.com/2007/04/11/#ubuntu-kernel.txt

=== jml [n=jml@59.167.203.115] has joined #ubuntu-kernel
kylemBenC, ok, i dunno what's up with the ABI.12:52
kylemi have the same ABI breakage with / without these patches it seems.12:52
BenCodd...there's no ABI breakage in current git that I saw12:58
BenCunless there's some stuff I didn't pull yet12:58
BenCjust two commits from pkl that aren't even related to libata01:00
kylemkvm seems to have jumbled about01:00
=== mjg59 [n=mjg59@cavan.codon.org.uk] has joined #ubuntu-kernel
BenCyeah, I overrode kvm ABI01:02
BenCgrep -v drivers/kvm/ from debian/abi/*/* :)01:02
kylemheh ouch.01:02
BenCpretty much a no-op if anything in there changes01:02
kylemhttp://people.ubuntu.com/~kyle/feisty/01:02
BenCthat G965 fix rings a bell, pretty sure we have a bug about that, right?01:03
BenC+u64n_sectors_boot;/* size of ATA device at startup */01:04
BenCthere's the HPA ABI change...struct ata_device01:04
BenClba48 bug looks important01:05
kylemyeah01:07
kylem1sec, i'll fix the abi change there.01:07
kylemhmm, no way to avoid this really. doh.01:11
=== johanbr [n=j@blk-224-156-151.eastlink.ca] has joined #ubuntu-kernel
kylemcan't we just force the abi until release and tell people who built their modules against in-devel feisty tough luck?01:12
=== TheMuso [n=luke@ubuntu/member/themuso] has joined #ubuntu-kernel
=== jml [n=jml@59.167.203.115] has joined #ubuntu-kernel
=== cjwatson_ [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-kernel
jbaileykylem: I'd say that's probably possible until kernel freeze. =)01:37
=== lfittl [n=lfittl@213.129.230.12] has joined #ubuntu-kernel
jbaileyBut ISVs and such will probably start following along at that poitn.01:38
=== marcin_ant [n=marcin@194.114.146.126] has joined #ubuntu-kernel
=== jml_ [n=jml@59.167.203.115] has joined #ubuntu-kernel
=== pkl_ [n=phillip@lougher.demon.co.uk] has joined #ubuntu-kernel
=== cjwatson_ [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-kernel
=== zul__ [n=chuck@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
=== zul___ [n=chuck@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
=== kkubasik [n=kjk38@kjk38-laptop.student.cwru.edu] has joined #ubuntu-kernel
=== defendguin [n=supertux@cpe-72-181-7-135.houston.res.rr.com] has joined #ubuntu-kernel
defendguinI was looking for some help with a bug that crept in between -12 and -1303:35
defendguinhttps://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/9964803:36
defendguinthere was an MMC update in -13 referencing bug 9317103:37
=== zul [n=chuck@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
=== zul_ [n=chuck@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
=== reitblatt [n=mark@resnet-50-173.dorm.utexas.edu] has joined #ubuntu-kernel
=== reitblatt [n=mark@resnet-50-200.dorm.utexas.edu] has joined #ubuntu-kernel
=== infinity [n=adconrad@cerberus.0c3.net] has joined #ubuntu-kernel
=== someone [n=someone@adsl-71-135-189-174.dsl.pltn13.pacbell.net] has joined #ubuntu-kernel
=== m0rg0th [n=manugarg@220.225.228.97] has joined #ubuntu-kernel
=== kkubasik [n=kjk38@kjk38-laptop.student.cwru.edu] has joined #ubuntu-kernel
=== varka [n=varkatop@p54A5F424.dip.t-dialin.net] has joined #ubuntu-kernel
=== doko [n=doko@dslb-088-074-012-109.pools.arcor-ip.net] has joined #ubuntu-kernel
=== macd_ [n=d@adsl-241-73-94.msy.bellsouth.net] has joined #ubuntu-kernel
=== Eruantalon [n=hans@5634185c.rev.stofanet.dk] has joined #ubuntu-kernel
=== cassidy [n=cassidy@host-213-189-171-21.brutele.be] has joined #ubuntu-kernel
=== ivoks [n=ivoks@wall2.grad.hr] has joined #ubuntu-kernel
=== capiira [n=capiira@dslb-088-064-072-239.pools.arcor-ip.net] has joined #ubuntu-kernel
capiirahi all i tried to compile my own kernel and downloaded the linux-source 2.6.20 and used the config-2.6.20-14-generic from /boot and now i have a big 230mb kernel :) and wonder why10:18
capiirathat's my content http://paste.ubuntu-nl.org/15006/10:19
capiirai see that there is too much stuff compiled but i used the original .config file10:22
=== ilmari [i=ilmari@nygaard.ping.uio.no] has joined #ubuntu-kernel
capiiraso nobody a life?10:51
ilmarithe mmc merge in 2.6.20-13 "broke" HAL (bug 99648)10:55
capiira:/ hmm my kernel did become 230mb big again10:59
capiiraand i need USB_SUSPEND disabled for my scanner11:00
=== madc [n=d@adsl-241-73-94.msy.bellsouth.net] has joined #ubuntu-kernel
=== madc [n=d@adsl-241-73-94.msy.bellsouth.net] has joined #ubuntu-kernel
=== Keybuk [n=scott@quest.netsplit.com] has joined #ubuntu-kernel
=== heno [n=henrik@ubuntu/member/heno] has joined #ubuntu-kernel
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-kernel
capiirastill no nobody a life?12:19
ilmarino, we're all lifeless corpses12:19
capiiracan you help me with my kernel compilation prob ?12:20
capiiramaybe i forgot to do something important12:20
capiirai downloaded the ubuntu linux-source-2.6.20, untared, did a ln -s to /usr/src/linux, copied a lastest generic config to /usr/src/linux/.config, did a sudo make clean and menuconfig and loaded the config, saved it and compiled12:26
capiirait always become 230mb big12:26
=== infinity2 [n=adconrad@cerberus.0c3.net] has joined #ubuntu-kernel
capiiracompiled using make-kpkg12:27
capiirano one know ?12:35
cjwatsoncapiira: looks like the modules aren't stripped12:44
=== rikai_ [n=rikai@unaffiliated/rikai] has joined #ubuntu-kernel
capiirahow so? can i change that in menuconfig?12:58
capiiraits my first kernel compilation and im just doing it because i need USB_SUSPEND off12:58
cjwatsonmake INSTALL_MOD_STRIP=101:01
cjwatsonsee Documentation/kbuild/makefiles.txt01:01
capiirathx01:09
=== EtienneG [n=etienne@ubuntu/member/EtienneG] has joined #ubuntu-kernel
=== rikai_ is now known as rikai
=== orangey [n=orangey@bas5-london14-1088884563.dsl.bell.ca] has joined #ubuntu-kernel
=== abogani [n=abogani@adsl203-157-084.mclink.it] has joined #ubuntu-kernel
capiirayou know how to use that with make-kpkg?02:04
capiiraor if its possible to simply write it into the makefile02:05
capiirai wrote INSTALL_MOD_STRIP := 1 into the makefile variable section lets see what will happen02:17
=== BenC_ [n=bcollins@collinsap1.phunnypharm.org] has joined #ubuntu-kernel
=== mjg59 [n=mjg59@cavan.codon.org.uk] has joined #ubuntu-kernel
=== rikai_ [n=rikai@unaffiliated/rikai] has joined #ubuntu-kernel
=== giangiva [n=giangiva@adsl203-157-083.mclink.it] has joined #ubuntu-kernel
=== rpereira [n=rpereira@ubuntu/member/rpereira] has joined #ubuntu-kernel
=== rikai_ is now known as rikai
=== sdrik [n=sdrik@ip-93-4.dsl.newel.net] has joined #ubuntu-kernel
=== rtg [n=rtg@rtg.theglobal.net] has joined #ubuntu-kernel
=== ivoks [n=ivoks@6-158.dsl.iskon.hr] has joined #ubuntu-kernel
=== pkl_ [n=phillip@lougher.demon.co.uk] has joined #ubuntu-kernel
=== giangiva_ [n=giangiva@adsl203-157-083.mclink.it] has joined #ubuntu-kernel
=== defendguin [n=jmsunser@216-136-108-250.static.twtelecom.net] has joined #ubuntu-kernel
defendguinilmari, have you had any luck lucking for the cause of the regression?03:56
ilmaridefendguin: no, but I did get hold of a -12 kernel and have attached the udevmonitor output03:57
defendguini saw that03:57
ilmariit's definitely the mmc merge that caused it, but I haven't had time to go through the details of the changes03:58
ilmari(at work ATM)03:58
defendguinilmari, me too03:58
defendguini had to install xchat here at work so i could try to steer someone into looking at it03:58
defendguinbug 99648 if anyone is watching04:01
=== pkl_ [n=phillip@lougher.demon.co.uk] has joined #ubuntu-kernel
crimsundefendguin: it doesn't seem like a critical regression from edgy or dapper, so it likely won't be addressed in the next week.04:10
defendguinit breaks everyone's card reader ....04:11
crimsuneveryone's?04:14
zulor just yours?04:14
mjg59Everyone's04:16
ilmarihal doesn't pick up MMC card readers any more04:16
ilmaribecause it can't find the parent device from the class-based DEVPATH 04:16
ilmariit needs to be /devices/-based04:16
cjwatsonMMC is fixable in a post-release update, I think04:19
defendguinif ubuntu were release and all card readers were not working that would most certainly be a black mark on and reviews that it gets04:23
defendguinany reviews*04:24
BenCthe bug is convoluted...is there a suggested patch we can review?04:25
=== giangiva__ [n=giangiva@adsl203-157-084.mclink.it] has joined #ubuntu-kernel
BenCdefendguin: have you tried any patches to fix it?04:29
defendguinBenC, no i have not.  I am not aware of any patches that are available to fix this particular problem. 04:30
BenCmjg59: do you have any ideas on the issue?04:30
mjg59BenC: When you pulled the mmc tree, did you pull the for_linus branch or the main one?04:31
BenCmjg59: I'm pretty sure I pulled for-linus04:31
BenCand I was pretty sure I tested it afterwards because I have mmc on several laptops here04:32
mjg59Well, it's clearly changed the device structure in such a way that hal no longer picks it up04:33
mjg59Options are either alter hal or alter the kernel04:33
BenCaltering hal may be easier to do04:34
BenCquestion is, can we alter hal in such as a way as to be compatible?04:34
mjg59No clue.04:34
BenCyou got any pointers to what needs to change in hal for this to work?04:36
mjg59The udev output ought to give a pretty clear indication04:36
BenCI think I can afford enough beer for Tollef to let hal changes through before I can get a new kernel through04:36
Mithrandirheh04:36
=== giangiva__ [n=giangiva@adsl203-157-084.mclink.it] has joined #ubuntu-kernel
BenCMithrandir: what's the chances I can get this in for RC, or should I just worry about post-RC?04:38
BenCMithrandir: I'll post a diff for you and cjwatson once I get it done, so you can review it04:38
\shBenC: can you give me some details on https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/55495 ?04:39
MithrandirBenC: RC, I don't think so.  post-RC, if the patch isn't too scary.04:39
BenCok04:39
BenC\sh: Ug, 8 months ago, hard to say04:41
BenC\sh: No mention in dapper/edgy changelog for that bug #?04:41
\shBenC: well, dapper / edgy are still having problems with it...(install media kernel)04:41
BenCit's only marked fix committed, so it may be in -proposed04:42
BenCwhich means no install media available04:42
\shBenC: that's the problem...04:42
\shand I can't test it, without having a running installation on this dl320s...;)04:42
Mithrandir\sh: netboot it?04:43
\shMithrandir: could be a solution if I had any network where the machine is. I really need to do a manual install...:( how can I tweak the server CD? ,-)04:44
Mithrandir\sh: documented on the wiki, just search for custom04:44
=== maswan [i=maswan@kennedy.acc.umu.se] has joined #ubuntu-kernel
BenCthis seriously looks like a bug in hal of some kind04:46
BenCDEVNAME=/dev/mmcblk0p104:47
BenCDEVLINKS=/dev/disk/by-uuid/3639-3635 /dev/disk/by-label/ilMobile04:47
BenCit gets that far in -14, but doesn't do the mount04:47
\shMithrandir: for the alternate, old d-i cd?04:47
Mithrandiryes04:48
\shMithrandir: found it thx a lot :)04:48
\shBenC: found it in 2.6.15-26.47 ... actually we need to create 6.06.2 ;)04:50
=== tuxmaniac [n=aanjhan@unaffiliated/tuxmaniac] has joined #ubuntu-kernel
=== pkl_ [n=phillip@lougher.demon.co.uk] has joined #ubuntu-kernel
\shMithrandir: sorry to ask, but when I need to change the default (isolinux) boot kernel in /install/ , I only have to replace it with the kernel I need, right? what about initrd.gz, what is needed for initrd.gz of the alternate installer cd ?05:12
Mithrandir\sh: yes, you can just replace it with the kernel you need, but you should ideally grab both the kernel and the initrd from a build of d-i05:12
\shMithrandir: thinking about dapper, I just want to "update" the installer kernel..nothing else. and I think there is no d-i build for 2.6.15-26.47 or higher05:14
\shor is there a d-i rebuild for every kernel update?05:14
Mithrandirno, but you can do one yourself05:15
\shMithrandir: standard pbuilder run of d-i, I think05:15
Mithrandiryes, just make sure you have the necessary repositories enabled05:15
\shMithrandir: main and restricted 05:16
Mithrandirwell, and -updates and -proposed?05:16
=== newz2000 [n=matt@unaffiliated/newz2000] has joined #ubuntu-kernel
\shMithrandir: -security is the right one ;) the kernel is in the -security repos05:17
Mithrandirwell, that then.05:17
\shMithrandir: thx...trying05:19
=== ivoks [n=ivoks@6-158.dsl.iskon.hr] has joined #ubuntu-kernel
\shMithrandir: forgot to update amd64.cfg to use 2.6.15-28-amd64-server kernel05:25
ilmarigo BenC!05:27
=== pkl_ [n=phillip@lougher.demon.co.uk] has joined #ubuntu-kernel
=== giangiva_ [n=giangiva@adsl203-157-083.mclink.it] has joined #ubuntu-kernel
mjg59BenC: I can give you a one line fix for the kernel re 9964805:40
BenCmjg59: Ok05:40
mjg59http://www.codon.org.uk/~mjg59/tmp/fix_sd.diff05:41
mjg59The alternative looks like quite a lot of work on hal05:41
=== pmjdebruijn [n=pmjdebru@pmjdebruijn.xs4all.nl] has joined #ubuntu-kernel
BenCMithrandir: would you be against a post-RC upload of the kernel with that one-liner fix (nothing from git)?05:43
=== pkl_ [n=phillip@lougher.demon.co.uk] has joined #ubuntu-kernel
ilmarimjg59: yay!05:45
cjwatsonI would really quite like the squashfs fix from git, although I realise it's a bit scary at this point05:45
mjg59What's happening with the HPA stuff?05:45
mjg59That's sort of required05:45
BenCmjg59: right now, it's not even in our git repo, so it's doing nothing05:47
mjg59BenC: We can't release without it05:47
kylemi posted the patches yesterday, not wanting to step on people's toes05:47
kylemsince everyone is trying to get bug fixes in right now..05:48
BenCkylem: if you feel they are tested well enough, then please put them in git05:48
mjg59They're not tested anywhere near well enough, but the alternative is to revert back to drivers/ide05:48
BenCmjg59: what exactly are the implications of not having it?05:48
mjg59Various machines refuse to boot05:48
kylembasically all thinkpads05:48
BenCwhat's the symptoms of the failure?05:48
mjg59Reads beyond end of device05:49
BenCare there any bug reports that reflect this problem?05:50
kylem... yes, the whole impetus for doing this in the first place.05:50
BenCI didn't mean it to say there weren't, just need something to bounce off of to justify the patch05:51
BenCgot a bug number?05:51
kylemhttps://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/8231405:51
=== ivoks [n=ivoks@6-158.dsl.iskon.hr] has joined #ubuntu-kernel
rtgmjg59: I have a laptop that exhibits the mmc problem with an SD card. I'm building with your patch and will test it shortly.05:54
mjg59rtg: It's trivially correct - the wireless stuff is rather more of a blocker05:54
MithrandirBenC: wasn't the idea to do a kernel upload post-rc with the HPA and other really critical fixes?  If so, it can go in with those.05:55
rtgmjg59: I know, but I've been working on a I2C fault.05:55
BenCmjg59: what wireless stuff?05:55
Mithrandirmjg59: is there actually a bug report about the hpa stuff?05:55
BenCMithrandir: see kyle's link05:55
Mithrandirah, cheers05:56
kylemthere's probably more, but that's the report that precipitated me actually writing the code in the first place.05:56
mjg59BenC: The fact that softmac drivers don't work with n-m05:56
BenCI've bumped that bug to critical, marked it inprogress and milestone for release05:56
BenCmjg59: ah, right, any real resolution for that?05:57
BenCor is it still in "we don't know why it wont work" phase?05:57
rtgBenC: "we don't know why it wont work"05:58
mjg59wpa_supplicant never receives the netlink messages05:58
mjg59Which is weird, since iwevent /does/05:58
BenCwe're talking ieee80211_softmac, stock drivers, like bcm43xx, right?05:58
mjg59Yes05:58
mjg59bcm43xx and zd1211rw05:58
BenCI bet I can point to where to look05:59
mjg59That'd be a good start05:59
BenCubuntu/net/wireless/wext-old.c05:59
BenCit replaces the stock net/ core wireless extensions05:59
BenCso that mac80211 stuff can have a compatibility layer06:00
BenCprobably something in there that isn't quite compatible with softmac stuff06:00
BenCmight be missing some nl stuff06:01
rtgBenC: Its not 100% failure. mjg59 can reproduce it, but I could not using the same model AP and a BCM43xx.06:01
BenCI was going to update the mac80211 stuff, but I ditched it because it's a large update06:01
defendguinyou guys are awesome i hope someone is paying you for all this06:01
mjg59defendguin: Me? No.06:01
defendguindamn!06:01
BenCmjg59 gets paid in laptops and beer06:02
defendguinmmmm06:02
mjg59No new laptops for some time06:02
mjg59I'm starting to feel unloved06:02
BenCmjg59: might help if you identified some models that tend to give us the most problems and we can go from there :)06:03
defendguinmjg59, i got a bunch of old latitude D series laptops :-D06:03
defendguinthat may or may not have good hardware06:04
mjg59BenC: TBH, I really don't have the time right now06:04
BenCoh, one bad thing about HPA06:06
BenCchanges ABI06:06
mjg59Like I said, it's basically that or go back to drivers/ide06:06
BenCkylem: Can you show me the patches for HPA again?06:07
kylemhttp://people.ubuntu.com/~kyle/feisty/06:07
BenCkylem: Can you go ahead and commit 0001 and 0005?06:08
kylem0002 is important too06:09
kylemand a one liner06:09
BenCyeah, that one too please06:09
kylemk.06:09
BenCkylem, mjg59: Is there any way to do this patch without the addition of n_sectors_boot?06:13
BenCthat's the only thing changing the ABI06:13
kylemBenC, i think not doing that would break suspend/resume in some instances.06:13
BenCjust wondering if there's some other way to store it06:14
BenCmaybe (ab)use some other part of the struct ata_device06:14
kylemit's 8-bytes, so hard.06:14
kylemi'm testbuilding a patch, but even on my crestline it's kind of slow :P06:15
kylemi think if i abuse padding i can not break ABI on i386/amd6406:15
kylemand we can override it on the other architectures.06:15
=== Amaranth [n=travis@ubuntu/member/Amaranth] has joined #ubuntu-kernel
MithrandirI'd rather have you break the ABI and we take the pain than find random bugs later.06:16
Mithrandireven if it's bloody painful06:16
BenCkylem, mjg59: Why can't we use ata_hpa_resize() in ata_dev_same_device() and avoid the need for n_sectors_boot?06:22
BenCdoes it write to the device in some way?06:23
kylemn_sectors_boot is the very first size returned by IDENTIFY06:23
kylemthe check is basically ensuring that if the drive firmware resets the size, that we make sure it's the same disk06:23
kylembut if it hasn't, then the size in the ata_id will still be the post-HPA size06:24
mjg59Yeah, you need both sizes to do the "Is this the same disk" check06:24
kylemthe problem is, it may or may not be the same.06:24
kylemcould probably do something really ugly like put it on an external linked list tagged by ata_id or something.06:25
BenCtrying to understand the logic in this check06:26
BenCif the n_sectors_boot is the same, it really doesn't mean the device will show the same after HPA is applied, right?06:26
=== johanbr [n=j@JBrannlund.MathStat.Dal.Ca] has joined #ubuntu-kernel
BenCtrying to find the ide code06:27
mjg59IDE doesn't bother with the "Is this disk the same" check06:28
mjg59drivers/ide is very naive06:28
=== capiira [n=capiira@dslb-088-064-072-239.pools.arcor-ip.net] has joined #ubuntu-kernel
MithrandirIDE doesn't have hotplug, though?06:30
=== pmjdebruijn [n=pmjdebru@pmjdebruijn.xs4all.nl] has joined #ubuntu-kernel
capiiraanyone know where i can get a proper .config version of the newest ubuntu kernel?06:30
kylemMithrandir, drivers/ide has a few sata drivers.06:30
Mithrandirok06:30
=== rtg_ [n=rtg@rtg.theglobal.net] has joined #ubuntu-kernel
BenCcapiira: /boot/config-`uname -r`06:31
capiirai used the one from /boot and noticed that my package is 228mb but not becuase of the kernel but becuase of all the modules06:32
mjg59capiira: strip the modules06:32
BenCright, we enable -g compilation06:32
capiirabut how to do that ? i used make-kpkg06:33
BenCcapiira: best bet is to disable CONFIG_DEBUG_INFO in the config06:34
capiirayeah but i used the config from /boot why its not equal the original ubuntu kernel ?06:34
capiirado they differs?06:35
BenCmjg59: In what context is the "same device check" important? Will it break things if the HPA size is different? Is it enough that the boot size is the same for things to work ok?06:35
capiirahmm found06:36
capiiraCONFIG_DEBUG_BUGVERBOSE=y and CONFIG_DEBUG_INFO=y06:36
cjwatsonthe Ubuntu kernel package is built using debian/rules (in the standard way as for any package), not just make-kpkg06:36
BenCit just seems to me that for the same device check to be worth while, the post-hpa-resize size is the important one06:36
capiiraahh ok06:37
=== bronson [n=bronson@66.237.74.66.ptr.us.xo.net] has joined #ubuntu-kernel
Mithrandircapiira: reading some of the wiki pages referenced in the topic is probably a good idea.06:37
capiirayeah thats what i did06:38
capiirahttps://wiki.ubuntu.com/KernelCustomBuild06:38
capiirathey use make-kpkg too06:39
mjg59BenC: What's the code flow? ie, has the hpa resizing been re-performed before the "Is this disk the same" check?06:39
capiiraAlternate Build Method: The Old-Fashioned Debian Way that's what i did06:40
mjg59The drive will have been reset over suspend/resume, so will have dropped back to the original size06:40
kylemcould just blat it unconditionally, i suppose06:40
mjg59capiira: If you want to build a kernel identical to the shipped one, use dpkg-buildpackage and not make-kpkg06:40
mjg59BenC: l-r-m has to be reuploaded anyway, so is breaking the ABI really a huge issue?06:40
capiirayes that's what i want thx06:41
capiiramjg59, you  know a link that explains how to do with dpkg-buildpackage ?06:42
BenCmjg59: ABI breakage isn't merely a matter of uploads at this point06:42
BenCcapiira: yes, the URL above has links to building the kernel06:42
BenCcheck the KnowledgeBase page06:42
BenCmjg59: there are other reasons why I don't want the ABI to change before release :)06:43
mjg59BenC: I'm a bit reluctant about modifying the patch beyond the testing it's already got06:44
BenCignoring the ABI change, I'm still trying to wrap my head around if this check is correct or not06:45
BenCata_dev_configure() is called after ata_dev_same_device() in ata_dev_revalidate()06:46
BenCthe hpa resize occurs in ata_dev_configure06:46
=== Keybuk [n=scott@quest.netsplit.com] has joined #ubuntu-kernel
capiirathx06:46
kylemhttp://marc.info/?l=linux-ide&m=117630937432256&w=206:47
=== pkl_ [n=phillip@lougher.demon.co.uk] has joined #ubuntu-kernel
BenCkylem: Ah, good point...might be proper to set new_n_sectors to the native_max if hpa is enabled on the id06:49
BenCavoids all the ata_hpa_resize stuff, since it actually writes to the device, which is probably bad06:49
mjg59You have to do the ata_hpa_resize on resume06:51
mjg59Or do you mean avoid doing it unconditionally?06:52
kylemi mean, doing it unconditionally is probably the way to go. just entirely forget about the pre-HPA disk size06:52
BenCI was thinking more like breaking out the read_native_max into a helper and use that for the resume case to get new_n_sectors for hpa enabled id's06:58
BenCremove the whole block for "Are we the boot time size..."06:59
=== kylem nods.
=== varka [n=varkatop@p54A5F424.dip.t-dialin.net] has joined #ubuntu-kernel
=== blueyed [n=daniel@pdpc/supporter/active/blueyed] has joined #ubuntu-kernel
BenCkylem: do you have hw to test the hpa stuff?07:22
kylemwell, anyone with an ata disk can test the most critical half of it07:22
kylembut no, i don't have any symptomatic hw.07:22
kylemmy thinkpad predates using HPA, it just had the bios partition at the end of the disk unprotected07:23
BenCwonder how quick the people on the bug report can turn around a test run07:24
BenCguess I'll build a kernel and post it07:24
rtg_BenC: I'm committing the mmc fix. It appears to work. Thanks to mjg59.07:25
BenCI have it in my tree already07:25
kylemrtg_, rock!07:25
BenCrtg_: thanks for testing though07:25
rtg_BenC: Well then, I'll just let you commit it.07:26
blueyedBenC: Bug 84965 has been set to "Fix released" by you on 18 Mar ("Added to my git tree.), but does not seem to have hit the archives yet!?07:27
blueyedhttps://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/84965/07:27
BenCkylem: http://people.ubuntu.com/~bcollins/libata-hpa-support.diff07:28
BenCkylem: that's a redo of your 0003 patch, can you look it over?07:28
BenCI added ata_hpa_native_size() and used it07:29
kylemlooks ok07:29
BenCI'm not absolutely sure of it...I don't know what the expected state of *dev is in this function, so reading it via *dev and deciding if *new_id is the same device may not be the right thing07:31
BenCwe may need to use the n_sectors_boot after all07:31
BenCnot too happy about an ABI bump, but might not be able to avoid it :/07:32
=== reitblatt [n=mark@resnet-50-173.dorm.utexas.edu] has joined #ubuntu-kernel
BenCblueyed: heh, was marked fix committed by chuck, but I never got the commit07:44
BenCzul: Do you have that patch still?07:44
zulBenC: looking07:45
BenCzul: Marked it in progress and assigned back to you07:45
zuldont think so unfortunately07:45
zulit might be on my backup drive, ill check again when im home07:46
=== bronson [n=bronson@66.237.74.66.ptr.us.xo.net] has joined #ubuntu-kernel
blueyedBenC, zul: Thanks for looking into it!07:48
BenCrtg_: Hey, don't let me forget to bring the 5160 cpu's with me to Austin07:52
BenCI keep forgetting to send them out, but I can definitely carry them with me07:53
rtg_BenC: Gotta bug mdz about the MB price list.07:53
BenChe's probably pushing things like that off until UDS, so might be best to talk to him there07:54
rtg_I'm rooming with him, so I'll probably have opportunity.07:54
=== mrec_ is now known as mrec
BenCah, cool07:55
ivoksqemu still can't use CDROM on 20070411 :/07:57
=== shawarma [n=sh@atlas.linux2go.dk] has joined #ubuntu-kernel
=== Amaranth [n=travis@ubuntu/member/Amaranth] has joined #ubuntu-kernel
=== doko [n=doko@dslb-088-074-012-109.pools.arcor-ip.net] has joined #ubuntu-kernel
=== defendguin [n=jmsunser@216-136-108-250.static.twtelecom.net] has joined #ubuntu-kernel
defendguinBenC, what was the decision on that mmc bug from earlier is that going in before release or after it?08:39
BenCdefendguin: before release08:39
BenCwe have a one-liner fix for it08:39
defendguinyeah i saw that08:39
defendguinshould i go and close out the bug saying a fix has been released or just wait till everyone gets it and we test it out to make sure?08:41
mjg59defendguin: fix-committed08:41
mjg59Not released as yet08:42
=== capiira [n=capiira@dslb-084-056-002-010.pools.arcor-ip.net] has joined #ubuntu-kernel
defendguinahh08:42
=== pkl_ [n=phillip@lougher.demon.co.uk] has joined #ubuntu-kernel
=== macd_ [n=d@adsl-150-28-231.aby.bellsouth.net] has joined #ubuntu-kernel
defendguinanyone in here on the acpi team?08:56
=== Eruantalon [n=hans@5634185c.rev.stofanet.dk] has joined #ubuntu-kernel
mjg59Yes08:59
kylemmjg59, you /are/ the acpi team. ;P08:59
mjg59:(09:00
pkl_I thought rtg has also done some stuff on acpi :)09:00
kylempkl_, less fun to tease mjg59 that way. :)09:00
defendguinhehe09:01
mjg59defendguin: What's up?09:01
pkl_I haven't, for which I'm eternally glad.09:01
kylempkl_, hehe.09:02
=== varka_ [n=varkatop@p54A5F424.dip.t-dialin.net] has joined #ubuntu-kernel
defendguini've had a bug outstanding since before edgy's release and i was wondering if someone could take a quick look at it 09:02
mjg59defendguin: I can take a look, but promise little09:03
defendguini understand i don't think it would warrant going in anytime soon but it would be nice to see it finally work09:04
mjg59defendguin: Bug number would be helpful :)09:04
defendguinlaunchpad is being slow09:05
mjg59s/being/09:05
defendguinbug 4461509:06
defendguinwhere did ubotu go?09:06
Nafallodefendguin: never been here :-)09:06
=== doko [n=doko@dslb-088-073-080-164.pools.arcor-ip.net] has joined #ubuntu-kernel
defendguinsure he has09:06
Nafallonope09:06
defendguinok i'm crazy09:07
Nafallonot aslong as I've been anyway :-)09:07
=== doko_ [n=doko@dslb-088-073-080-164.pools.arcor-ip.net] has joined #ubuntu-kernel
defendguinmjg59, i remorted thsi back before dapper was released09:07
mjg59What does sudo acpi_fakekey 142 do?09:09
=== varka [n=varkatop@p54A5F424.dip.t-dialin.net] has joined #ubuntu-kernel
defendguini'll have to write that down and get back to you09:10
mjg59Ok09:11
defendguinthere is a very strict policy around here about bringing personal computers to work09:12
mjg59Heh. Not a problem.09:12
=== varka [n=varkatop@p54A5F424.dip.t-dialin.net] has joined #ubuntu-kernel
defendguinany other info i can collect?09:12
mjg59Working out whether that works would be a good start09:13
defendguinok only 2 + hours09:14
=== m0rg0th [n=manugarg@219.64.120.181] has joined #ubuntu-kernel
=== macd [n=d@adsl-35-254-57.msy.bellsouth.net] has joined #ubuntu-kernel
=== Amaranth [n=travis@ubuntu/member/Amaranth] has joined #ubuntu-kernel
=== varka [n=varkatop@p54A5F424.dip.t-dialin.net] has left #ubuntu-kernel ["Ex-Chat"]
=== fs [i=fs@213.178.77.100] has joined #ubuntu-kernel
capiirahmm hi what does that error mean ? make: *** No rule to make target `binary-debs'. Stop.10:08
=== varka [n=varkatop@p54A5F424.dip.t-dialin.net] has joined #ubuntu-kernel
=== varka [n=varkatop@p54A5F424.dip.t-dialin.net] has joined #ubuntu-kernel
=== varka [n=varkatop@p54A5F424.dip.t-dialin.net] has joined #ubuntu-kernel
=== newz2000 is now known as newz2000_
=== newz2000_ is now known as newz2000
shawarmaHas anyone taken a look at https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/96857 ? It renders Feisty uninstallable in qemu. :-(10:15
=== Eruantalon [n=hans@5634185c.rev.stofanet.dk] has joined #ubuntu-kernel
BenCshawarma: I did a livecd install under qemu just two days ago...I wonder what the difference is10:35
=== blueyed [n=daniel@i5387DFDA.versanet.de] has joined #ubuntu-kernel
MithrandirBenC: on amd64?10:35
Mithrandiriirc, it's amd64-specific10:36
BenC64-bit Intel10:36
Mithrandirwell, same thing.10:36
Mithrandirwith a 64 bit install too?10:36
shawarmaI'm using the 386 iso.10:36
BenCyeah, 64-bit install10:37
shawarmaMithrandir: I'm almost certain that you used an i386 iso as well, when you tested it?10:37
shawarmaThe initial reporter doesn't specify which host arch he's on. :-(10:38
capiirahmmmm :/ there is something wrong or something missing in that debian/rules tutorial from the topic site10:38
Mithrandirshawarma: oh, the cdrom bug, yes, that was i386, iirc.10:39
capiirai did exactly wht it's written there and get that make error10:39
capiirathat error make: *** No rule to make target `binary-debs'. Stop.10:40
BenCcapiira: sounds to me like you install linux-source-2.6.20 package instead of getting the linux-source-2.6.20 sources10:40
BenCthere is a difference10:40
capiirai got the tar.gz10:40
capiiraor bz10:40
capiiralet me see10:41
capiiratar.bz210:41
capiiralinux-source-2.6.20.tar.bz210:41
shawarmacapiira: Instead of "apt-get install linux-source-2.6.20" you should "apt-get source linux-source-2.6.20"10:42
capiiraahh10:42
capiirado you think that's why i get a 230mb package after make-kpkg, too ?10:43
shawarmaBenC: Actually, I don't seem to have any ide devices available at all in my qemu.10:44
mjg59capiira: No10:44
capiirathen it must be right one if it works with make-kpkg or not ?10:44
mjg59capiira: No10:45
capiiraok10:45
BenClet me test real quick10:45
capiiracomplicated, sorry for disturbing just want to get my scanner to work :/10:46
shawarmaBenC: I'm using 0.9.0 right now, but 0.8.3 (or whatever's in Edgy) does the same thing.10:46
BenCshawarma: trying now with a i386 cd from last night10:48
BenCI'm using qemu 0.8.2+dfsg10:49
shawarmaBenC: Ok, cool. I'm using the server cd, but that shouldn't matter here, I suppose.10:49
BenCshouldn't10:49
capiirathat bug https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/8548810:49
shawarmaBenC: Just retested with latest daily both with and without kqemu (qemu 0.9.0). Same thing. No hard drive, no cd-rom.10:51
shawarmaBenC: Not that kqemu should matter at all.10:51
BenCI see hd (sda), but no cdrom10:51
shawarma/sys/block only shows ram0-ram910:52
shawarmaStrange. I can try downgrading my qemu..10:52
BenCactually I see the cdrom, but it's failing to follow though with it10:53
shawarmaBenC: You're using the qemu from feisty?10:53
mjg59Well, the lack of hdc is hardly surprising10:53
mjg59The provided dmesg in the bug log isn't useful10:54
mjg59We need the next page as well10:54
shawarmaHow would I extract that from a running qemu without net access between guest and host?10:55
BenCwell, I can reproduce it, so all it does it reproduce the same exception10:55
shawarmaI'm not sure when it last worked, unfortunately. In January it did, that's for sure..10:56
shawarmaI cleverly overwrote the daily image I had an after that it stopped working.10:57
mjg59It's likely that it worked before that device was being run by libata10:58
shawarmaAny idea when that happened?10:58
shawarmalate february perhaps?10:58
BenCshawarma: you can try "modprobe -r ata_piix; modprobe piix" and see what happens10:59
BenCthat just worked for me11:00
shawarmaNothing.11:00
mjg59Well, if that doesn't work, it's almost certainly some sort of qemu issue11:00
shawarmaIn fact, I'm not sure ata_piix was loaded in the first place..11:00
mjg59The piix driver hasn't changed11:00
shawarmaI'll recheck.11:01
BenCI'm quite sure it did11:01
BenCsince it shows "scsi1: ata_piix"11:01
shawarmamjg59: Well, it *used* to work in qemu.. 11:01
mjg59Yes and then we changed drivers11:02
shawarmaTrue.11:02
shawarmaYes, ata_piix and piix are both indeed loaded.11:03
mjg59If loading piix did nothing, it's probably still bound to ata_piix11:04
BenCyeah, check dmesg after rmmod ata_piix11:05
shawarmaaccording to lsmod nothing is using either.11:05
BenCmake sure it released both ata devices11:05
shawarmaThere's no change in dmesg after remove ata_piix.11:05
mjg59And make sure that ide-generic isn't loaded11:05
mjg59Or ata-generic11:05
mjg59If none of this works, your problem bears no resemblance to the one that the bug's demsg dump is from11:06
shawarmaide-generic is busy, it seems.11:06
mjg59Right. Reboot it.11:06
shawarmaok.. and do what differently this time? unload {ide,ata}-generic first?11:07
mjg59Don't load them in the first place11:07
shawarma*I* didn't.11:07
BenCmost ide drivers cannot be unloaded11:07
shawarmaCan I blacklist it with a kernel parameter of som esort?11:07
mjg59shawarma: If ide-generic is binding, then you have a different bug11:08
mjg59Please provide everything in dmesg that's related to ata11:08
shawarmahere or a new bug?11:09
shawarmaor pastebin..11:09
mjg59pastebin is good for now11:10
shawarmaOk. I see no other way than typing it in, so I'll leave out the imestamps. they seem superfluous.11:10
mjg59Or take screendumps11:10
mjg59That's also fine11:10
shawarmaClever. :-)11:11
shawarmahttp://warma.dk/qemu.png11:11
shawarmaIn fact, I can let you have access to it via vnc?11:12
shawarmaor not. Either way is good.11:14
mjg59Right, yes, that's clearly different.11:14
shawarmabugger.11:14
BenCno idea what that is11:14
BenClooks like a qemu bug though11:15
mjg59ata_std_prereset() is returning an error11:15
mjg59Though that should never happen11:16
shawarmaI'll try 0.8.2+dfsg in a sec. I'm compiling it right now.11:16
mjg59Oh, I see11:16
mjg59       if (!pci_test_config_bits(pdev, &piix_enable_bits[ap->port_no] ))11:16
mjg59                return -ENOENT;11:16
capiirahmm where does apt-get source saved the packages? there is nothing in /usr/src11:17
shawarmahttp://warma.dk/qemu2.png   <--- don't know if that helps?11:17
shawarmacapiira: current directory11:17
mjg59ata_piix is binding and finding that the chip caims to be disabled11:18
capiiraohh i was in a temporally broken symlink dir11:18
mjg59capiira: These questions are probably better suited for #ubuntu than in here11:20
capiirayeah11:20
shawarmaIf it helps at all http://warma.dk/qemudmesg[1-7] .png has the complete dmesg output..11:20
BenCI just tried kqemu (0.9.0) and it works, but shows the same exceptions11:21
BenCbut as I said, it actually works11:22
BenCjust booted livecd11:22
shawarmaweirdness.11:23
shawarmaBenC: Homerolled qemu or the debian one? 11:24
BenCkvm-18 from feisty11:24
shawarmaBenC: I used the qemu 0.9.0 source from debian experimental and compiled it for my edgy server.11:24
shawarmaBenC: Oh. I don't have kvm-able hardware. :-(11:25
BenCkvm is qemu based, just add the -no-kvm option to it11:25
BenCand it's pretty much the same as qemu11:26
shawarmaBut you got it to work with vanilla qemu?11:26
shawarmaWell, 0.8.2+dfsg..11:26
BenCwith 0.8.2+dfsg it works if I rmmod ata_piix, and modprobe piix11:26
shawarmaBenC: That's also necessary with the livecd, I expect?11:27
BenCyeah11:27
shawarmaIt drops you to a shell at some point, you do your thing, and .. what? exit out of the shell and the world continues?11:28
mjg59yes11:29
mjg59BenC: If it's failing with qemu, I suspect that it's quite possibly also failing with real hardware11:29
mjg59(And we do have a few bugs where people are losing CD drives and the like)11:29
=== madc [n=d@adsl-35-254-57.msy.bellsouth.net] has joined #ubuntu-kernel
BenCyeah, but this is the only way I have to duplicate it :)11:30
BenCI need to get it fixed before Friday11:30
BenCI'm wondering if the acpi stuff is breaking it11:32
BenCit's the main difference between what we have and jeff's stable tree11:33
mjg59We don't execute the acpi stuff on startup, do we?11:33
mjg59(No, we don't seem to)11:34
mjg59Does Jeff's stable tree work?11:34
shawarmaHmm... There's no dmesg in the initramfs.. How can I see what's in the buffer?11:36
shawarmaAlright, retesting with qemu 0.8.2+dmesg11:44
shawarmaEr... You know what I meant. :-)11:45
BenCsame thing happens with nopataacpi=111:46
BenCshawarma: dd if=/proc/kmsg of=/tmp/dmesg bs=1 &11:46
BenCshawarma: then you can "more /tmp/dmesg"11:46
shawarmaBenC: Ah, I'll reboot and try again.11:47
shawarmaOh, that also contains the buffer?11:48
=== Eruantalon [n=hans@5634185c.rev.stofanet.dk] has joined #ubuntu-kernel
shawarmaYes, now I get the exceptions as well.11:49
BenCmodprobe ata_generic all_generic_ide=111:49
BenCthat works too11:49
capiiraok compiling  :) i hope things work better using debian/rules :) let me go watch tv for 3h's11:49
BenCafter rmmod ata_piix11:49
BenCso something is wrong with ata_piix11:50
mjg59DMA is hard11:52
capiiraoh i did no "sudo" before AUTOBUILD=1 fakeroot debian/rules binary-debs ! it's needed ?11:54
shawarmaNo.11:54
capiiragood thx :)11:54
shawarmaThat's that fakeroot is for.11:54
capiiraahh ok thx bbl11:55
capiirabut you was right it was because of the apt install and apt source11:56
capiiraits a little bit mixed in the tutorial11:57
=== macd [n=d@adsl-150-23-118.aby.bellsouth.net] has joined #ubuntu-kernel
=== zul [n=chuck@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
=== zul_ [n=chuck@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
BenCmjg59: do you know a way to force PIO with ata_piix?12:15

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