/srv/irclogs.ubuntu.com/2005/11/27/#ubuntu-kernel.txt

=== zoe [n=zoe@gnulinux.good-day.net] has joined #ubuntu-kernel
zulmjg59: hmm...i already have a patch for rtl8180 in my tree and i have pushed it to ben already02:16
=== TheMuso [n=luke@dsl-202-173-132-131.nsw.westnet.com.au] has joined #ubuntu-kernel
=== BenC [n=bcollins@209.163.125.153] has joined #ubuntu-kernel
fabbionemorning guys07:02
crimsunhi fabbione 07:09
fabbionehi crim07:09
=== fabbione [n=fabbione@port49.ds1-van.adsl.cybercity.dk] has joined #ubuntu-kernel
=== zul [n=chuck@CPE0006258ec6c2-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
=== fabbione [n=fabbione@port49.ds1-van.adsl.cybercity.dk] has joined #ubuntu-kernel
=== chmj [n=chmj@wbs-146-135-146.telkomadsl.co.za] has joined #ubuntu-kernel
=== fabbione [n=fabbione@port49.ds1-van.adsl.cybercity.dk] has joined #ubuntu-kernel
=== JaneW [n=JaneW@wbs-146-182-174.telkomadsl.co.za] has joined #ubuntu-kernel
=== TheMuso [n=luke@dsl-202-173-132-131.nsw.westnet.com.au] has joined #ubuntu-kernel
=== TheMuso [n=luke@dsl-202-173-132-131.nsw.westnet.com.au] has joined #ubuntu-kernel
=== TheMuso [n=luke@dsl-202-173-132-131.nsw.westnet.com.au] has joined #ubuntu-kernel
=== LaschW [n=LaschW@dyndsl-085-016-009-024.ewe-ip-backbone.de] has joined #ubuntu-kernel
LaschWmay there be a chance to have the ipt_TTL module (I'm not talking about ipt_ttl) in the next kernel images for dapper? There are more and more ISP's who don't allow more than one computer conected so manglint TTL's to a fix value would be very helpfull.12:12
LaschWs/manglint/mangling/12:13
=== fabbione fails to see how TTL can help with that
LaschWfabbione: $IPT -t mangle -A OUTPUT -o $INET_IFACE -j TTL --ttl-set 12812:28
fabbionestill doesn't help...12:28
LaschWfabbione: Most ISP's only check TTL, so up to now12:28
LaschWfabbione: ?Why not?12:29
fabbioneaccording to RFC the max internet radius is 3012:29
fabbioneor better12:29
fabbionethere cannot be more than 30 hops between 2 hosts12:29
fabbioneif an ISP doesn't allow more than one machine to connect12:30
fabbioneit's clearly not TTL that's going to help you12:30
fabbionebecause each machine generate it's own packet with its own TTL12:30
fabbioneso that rule would only increase/reset a TTL to 12812:31
=== CataEnry [n=cataenry@host204-30.pool8248.interbusiness.it] has joined #ubuntu-kernel
CataEnryhi all12:31
LaschWfabbione: And this 'per machine' TTL's will be set to the same value on a gateway using ipt_TTL12:31
mjg59fabbione: ISPs can drop packets with a TTL of 28 when they expect it to be 2912:31
fabbionemjg59: when you traverse a NAT box, TTL is regenerated in the new pkt afaik12:32
LaschWfabbione: And for this there is a need for the ipt_TTL module, as RH does12:32
fabbioneit's easy to workaround at client side ;)12:32
fabbionei could just 'mangle' the outgoing packet to a TTL 30 and zack12:33
fabbionei hide the other boxes behind one12:33
fabbionebut well.. let see what Ben has to say12:33
LaschWfabbione: Thats what I'm talking about. You need ipt_TTL for this12:33
fabbioneLaschW: so you need to workaround...12:34
LaschWfabbione: I now how to do this! But I think most Ubuntu Newbies don't. According the fact that the target group of Ubuntu are new Linux Users...12:35
LaschWfabbione: Or are you expecting new Ubuntu users to build their own kernel modules first? ;-)12:36
fabbioneLaschW: i find weird that's not builded12:37
LaschWfabbione: Pardon my broken english... What do you mean with 'i find weird that's not builded'12:38
fabbioneaccording to iptables man page it's there12:38
fabbionemeaning that's supported by vanilla kernel12:38
fabbioneconfig:CONFIG_IP_NF_MATCH_TTL=m12:39
fabbioneconfig:CONFIG_IP_NF_TARGET_TTL=m12:39
fabbionewerid12:39
fabbioneweird12:39
LaschWfabbione: Hhhm, In the beginning I muddled ipt_nat and ipt_NAT. And it seems many docs do so likewise...12:40
LaschWfabbione: Ubuntu linux-image is missing 'config:CONFIG_IP_NF_TARGET_TTL=m'12:42
fabbioneLaschW: the past i did was from .1512:42
LaschWfabbione: So does Debian...12:42
LaschWfabbione: grep IPT /boot/config-2.6.12-9-k712:43
fabbioneinteresting12:44
fabbioneit looks like it gets automatically unset12:44
fabbionefun12:44
LaschWfabbione: s/IPT/TTL/ pardon me...12:44
fabbioneyeah i got that12:44
LaschWfabbione: I've been digging netfilter mailing lists if there might be any incompatibility using ipt_nat and ipt_NAT at the same time, but dindn't find any.12:46
CataEnrycya next time12:52
fabbioneLaschW: it makes more sense to look at Kconfig12:53
fabbionebut i don't have time right now12:53
LaschWfabbione: Kconfig, the KDE GUI Tool?12:54
fabbioneno12:54
fabbioneKconfig the set of files that acutally build the kernel :)12:54
fabbionethe KDE tool is make xconfig12:54
fabbionegnome: make gconfig12:54
LaschWfabbione: Ok, I was a bit shocked, to be honest. :-))12:55
LaschWfabbione: I had in mind this weird Kcontrol kernel config module *laugh*12:56
fabbionetsk12:56
fabbione:P12:56
LaschWfabbione: :P, fullack12:57
=== chmj [n=chmj@wbs-146-138-174.telkomadsl.co.za] has joined #ubuntu-kernel
=== LaschW [n=LaschW@dyndsl-085-016-009-024.ewe-ip-backbone.de] has left #ubuntu-kernel ["Leaving"]
chmjthe current kernel source in git is unbuildable? or am I missing something ? 01:01
=== LaschW [n=LaschW@dyndsl-085-016-009-024.ewe-ip-backbone.de] has joined #ubuntu-kernel
=== jane_ [n=JaneW@wbs-146-171-20.telkomadsl.co.za] has joined #ubuntu-kernel
=== TheMuso [n=luke@dsl-202-173-132-131.nsw.westnet.com.au] has left #ubuntu-kernel []
=== LaschW [n=LaschW@dyndsl-085-016-009-024.ewe-ip-backbone.de] has left #ubuntu-kernel ["Leaving"]
=== zul [n=chuck@CPE0006258ec6c2-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
=== chuck_ [n=chuck@CPE0006258ec6c2-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
zulmjg59: ping03:11
=== BenC [n=bcollins@209.163.125.153] has joined #ubuntu-kernel
mjg59zul: Hi03:20
zulmjg59: i already wrote a patch for rtl8180 i already pushed it to benc03:34
mjg59zul: Ok, cool03:34
zulso it will get in when it gets in03:50
BenCzul: speaking of the rtl8180, can you email me the external-driver info for it?03:58
BenCI have all your patches in locally, except that one03:58
BenCI need to clean it up a little, since it's building with a local copy of ieee80211, and I need to make it use the stock one from net/ieee8021103:59
=== dilinger blinks
dilingerthere's an rtl8180 driver?04:00
dilingerurl?04:01
BenCsf I believe04:01
dilingeroh, look at that, partly based on my code04:02
dilingertoo bad i don't have an rtl8180 anymore04:04
=== lamont [n=lamont@mib.fc.hp.com] has joined #ubuntu-kernel
zulBenC: ok ill do it tonight04:17
fabbionehey BenC 04:19
BenCfabbione: hey04:19
fabbionesmoking break and i will be back in a sec04:19
fabbionebtw.. .15-rc2 boots on davem box04:19
BenCpuff one for me04:19
fabbionewe must be doing something wrong04:19
BenCit's too cold and wet to smoke outside04:20
BenCok04:20
BenCfor sparc64, I used our old config, and did a "make oldconfig" to update it04:20
BenCI should do a default config just to see if that works04:20
fabbioneit's freezing here.. but if i smoke inside i can wave khtxbye to my testicles04:20
dilingerBenC: where are you?04:21
BenCvirginia04:21
BenCI should make my office the "smoking room"04:21
BenCbut I hate all the nicotine getting on my hw04:22
BenCs/nicotine/tar/04:22
dilingerah, ok.  not that far away04:23
BenCzul: ping04:42
zulpong04:50
BenCping: any bugreport to reference for the ali patch?05:00
BenCtulip patch that is05:00
mjg59http://www.ath-driver.org/ is looking quite promising05:07
makxanyone seen infinity?05:09
mjg59makx: He's quite possibly asleep right now05:09
makxaah ok05:09
makxmjg59: you fixed suspend for sesse's laptop. do you send fix upstream?05:10
mjg59makx: Not yet, because I'm not convinced it's the right fix05:10
mjg59Need to discuss it with PCMCIA upstream05:10
makxok, cool so it's rolling05:10
zulBenC: yeah there is..just dont remmber off the top of my head, ill have to check05:21
BenCzul: btw, gregkh has a speakup patch I am going to use instead of yours05:23
=== chuck_ [n=chuck@CPE0006258ec6c2-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
zulBenC: he does? cool..05:24
BenCfabbione: A defconfig compile with our tree doesn't boot for me05:48
BenCfabbione: I'm going to have to do a stock 2.6.15-rc2 compile to see if I broke something, but I can't see that being the case05:48
BenC99% of the code we introduced either doesn't touch sparc64, or is just drivers that are being compiled modular right now05:49
mjg59BenC: Are all the patches from 2.6.12 in the git tree?05:56
mjg59BenC: Also, ndiswrapper is completely broken on amd6406:06
BenCndiswrapper never did work properly on amd64 in breezy, IIRC06:19
BenCall patches from breezy (except a lot of acpi, and patches that were obsoleted) are in06:20
BenCalso, minus the sk98lin patch06:20
BenCrtl8180 may be a no go in breezy06:20
BenCit's using it's own internal ieee80211 stack, and it isn't playing well with the rest of the system06:21
dilingerany idea whether the original author reverse engineered the management frames stuff, or got some documentation?06:24
mjg59BenC: ndiswrapper worked fine on amd64 in Breezy06:26
mjg59We're missing at least the patch that fixes the clock on AMD64s with ATI chipsets06:26
mjg59BenC: I'll look into the rtl8180 thing at some stage06:26
BenCmjg59: last release from the project was 7 months ago06:27
BenCmjg59: do you have a patch name for the amd64?06:27
dilingerif someone can hook me up w/ an rtl8180 card, and i don't need to reverse engineer the mgmt frame stuff (that's why i stopped working on rtl8180 in the first place), i'm more than happy to start hacking away at the driver again06:28
mjg59BenC: Not off the top of my head. 06:29
BenCmjg59: clokc == video clock, or hw clock?06:29
mjg59HW clock06:30
mjg59It gets two timer interrupts per HZ06:30
BenCkernel-apic-timer-fix06:31
mjg59That's the one06:31
BenCthat was still broken for me in breezy06:31
mjg59Uhm. How so?06:32
BenCit needs to be applied to i386 for k8 chipsets too (like Sempron, which isn't 64-bit)06:32
mjg59Oh, right. Eww.06:32
mjg59Well, upstream are entirely failing to try to fix it properly06:32
BenCI had to boot with noapictimer on my laptop at ubz06:33
BenCis it a hw bug?06:33
mjg59Seems to be06:33
mjg59Windows runs itself off the apic timer rather than using a timer interrupt06:34
mjg59So you don't see it there06:34
mjg59bcm430x is still rather broken, yes06:34
mjg59Its worker queue just fell over on me06:35
mjg59dilinger: You're in the US, right?06:38
dilingermjg59: yea; nyc06:39
=== mjg59 wonders how to get dilinger an rtl8180
BenCmjg59: are you actually getting packets through it yet?06:41
mjg59BenC: Oh, christ no :)06:42
BenCI'm at a loss here06:46
BenCnoapictimer doesn't seem to be an i386 option06:46
BenCyet it worked for my Sempron using a -k7 kernel06:46
mjg59The i386 apic code is quite different to the amd64 stuff06:46
BenCit's only in arch/x86_64/kernel/apci.c06:46
BenCyeah, but why did the kernel option make my timer work :)06:46
dilingermjg59: know anything around that's vacationing in NY?06:47
mjg59dilinger: Afraid not06:54
fabbioneBenC: ok... i don't think we have any sparc specific patch... where does the boot hang?06:54
mjg59BenC: Basically, on the affected chipsets, we either need to drop interrupts from the first apic pin or from irq 006:55
BenCfabbione: can't tell, it doesn't spit anything out, and I can't even do a break to get at the .register and .stack output07:06
fabbioneah07:06
BenCfabbione: I'm getting the stock -rc2 so I can atleast tell dave that it isn't our fault :)07:07
BenCit may be a enterprise bug, since dave doesn't have any machines like this07:07
BenCand my U2 is buried in other stuff, so I can't test that right now07:07
fabbioneBenC: eheh ok.. he is getting a E280R07:08
fabbioneso he will have no excuses07:08
BenCE280R doesn't have the CENTRAL 4-slot hw, so who knows if it will be the same bug07:09
BenCif it will show the same bug that is07:09
fabbioneBenC: if you can push me a .deb somewhere i can probably test it tomorrow07:10
fabbioneright now i am building gcc-4.0 for the libstdc transition07:10
fabbioneand i really can't stop it after these many hours07:11
fabbionedilinger: ping?07:11
BenCok, I'll get it on people07:11
fabbionethanks07:11
BenCmjg59: amd64 apic timer patch is in git now07:14
dilingerfabbione: yo07:14
BenCmjg59: do you think it would be ok to pull -mm's acpi git patch?07:15
mjg59BenC: Sure07:17
mjg59Oooh ooh ooh07:21
mjg59Suspend to RAM has started working on my amd6407:21
mjg59I'm actually going to blame vgacon changes for usplash not working any more07:24
mjg59Ok, maybe it's not that, then07:29
mjg59BenC: Possibly over-optimistic, but is there any chance of more up-to-date orinoco drivers?07:30
mjg59Ok, now that's *very* odd07:32
mjg59If I run usplash from a console, it looks fine07:32
=== zul__ [n=chuck@CPE0006258ec6c2-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
jbaileymjg59: Just not from an Xterm.  Tried that, it was a mistake.07:46
BenCmjg59: there's some vgacon patches in -mm07:56
BenCmay want to look at them07:56
mjg59Nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnngh.07:56
mjg592.6.15 breaks vbetool.07:56
mjg59Entirely.07:56
BenCone is a doublescan fix, and one is a fix for something else (some other corruption)07:56
mjg59Nnnnnngh.08:05
mjg59BenC: Have you added anything that changes the behaviour of /dev/mem ?08:44
BenCyeah, but it's not in -4.408:44
BenCerr, -3.308:44
BenCit's in git though08:44
BenCis it breaking something, because I can disable it?08:45
BenCelmo had requested the devmem patch08:45
mjg59Not sure - I'm having problems trying to make vbetool work, but I think that one's just a symptom rather than a cause08:45
mjg59Ah, yeah, it's triggering if I mmap /dev/zero, so probably not you08:45
mjg59mmap is returning EACCES08:46
mjg59And I can't see why08:46
fabbionehmmm08:46
fabbionecapability?08:47
mjg59Running as root08:47
mjg59This is on amd64, though08:47
mjg59Looking at the kernel, that can only happen if the file is unreadable or unwritable08:47
fabbionei remember once they broke capability in such a way not even root could do anything08:47
mjg59Hmm. It's claiming that I don't have write access to the file.08:54
mjg59Hngh.08:54
BenCis this -3.3 or -4.4?09:19
mjg59-4.409:20
mjg59Never mind, figured it out09:21
mjg59The kernel's just got more picky about mmaping in general09:21
mjg59So I've got a vbetool that at least partially works for amd6409:21
mjg59And now my amd64 suspends and resumes09:22
BenCsweet09:22
BenClamont: ping09:22
lamontack09:23
BenClamont: you'll be happy to know that I did a git pull from the ia64 and parisc repo's today09:23
lamonthow did it get to be 1330 already!?  sigh09:23
lamontBenC: woot!09:23
fabbioneia64?09:24
dilingerlamont: whee, it's 1530 already! ;p09:24
fabbionewe did never pull from ia64 repo09:24
fabbioneoh that might be why ia64 did never boot09:24
lamontdilinger: I have appts this afternoon to go deal with. sigh09:24
mjg59Hmm. 2.6.15 is resulting in my mouse driver not being loaded.09:24
BenC-mm's patches pull from an ia64 repo, so I figured it can't hurt for us to pull too09:24
fabbioneBenC: are the changes already propagated to kernel.org?09:24
BenCit's only like 50k of diff09:24
BenCmjg59: odd09:25
fabbionemjg59: it works here.. usb mouse09:25
mjg59Oh, hang on09:25
mjg59psmouse is loaded09:25
mjg59mousedev isn't09:25
BenCfabbione: they are in 2.6.15-rc1-mm209:25
mjg59Latest hotplug, udev and initramfs-tools09:25
mjg59Anyone have any other things to try?09:25
fabbioneBenC: i meant in our git repo09:25
BenCthought mousedev was hardcoded to load09:25
lamontBenC: and someone was working on making initramfs happy with ia64 too, so that's good09:25
jbaileylamont: Someone other than me?09:26
mjg59Yeah, I can just stick it in modules fo rnow09:26
lamontjbailey: someone here in the lab09:26
jbaileylamont: Cool!09:26
lamont(fails on debian too, you see...)09:26
BenCfabbione: yeah, this is the first pull I did09:26
fabbioneBenC: ok09:26
BenCafk for about 10 minutes09:26
=== doko_ [n=doko@dslb-084-059-100-051.pools.arcor-ip.net] has joined #ubuntu-kernel
BenCfabbione: oh, just got what you meant, no, I haven't pushed yet09:41
BenCtrying a build to make sure I didn't break anything09:41
fabbioneBenC: ehhe ok09:42
BenCzul__: ping09:49
zul__yo09:52
zul__what did i do now? ;)09:56
fabbionezul__: you did nothing09:56
fabbionethat's why we are going to kill you09:56
BenCzul__: I have everything I can take from your repo, so if you can kill it, and start fresh, I can start taking things again09:56
fabbioneisn't time to fix some bugs? ;)09:56
BenCfabbione: never tell the prey that it is about to die :)09:57
fabbioneehehe09:57
zul__BenC: okie dokie09:57
zul__there is a global conpiracy agains me09:57
BenCzul__: only thing I need is some info on that tulip patch09:58
BenCand thanks for the patches too09:58
=== fabbione [n=fabbione@port49.ds1-van.adsl.cybercity.dk] has joined #ubuntu-kernel
fabbionehow did i die?09:58
mjg59Remote closed the connection09:59
fabbioneah09:59
fabbionexchat did die09:59
fabbionethanks09:59
BenCfabbione: kiko has a question, he'll be here in a sec10:01
=== kiko [n=kiko@201-27-7-58.dsl.telesp.net.br] has joined #ubuntu-kernel
kikohey ho10:02
kikofabbione, padrino mio10:02
kikowhat happened to libipt_ROUTE in breezy?10:02
BenChe's wondering what happened to iptables ROUTE between hoary and breezy, says it's no longer there...10:02
fabbioneROUTE?10:03
kikogranted, it never actually worked :)10:03
fabbionethat would be iptables is the package.. not the kernel10:03
kikowell10:03
BenCso that has nothing to do with the kernel?10:03
fabbionei would like to understand what this thing was doing10:03
kikoI don't quite understand but IIRC netfilter and the kernel have a bit of a incestuous relationship10:04
fabbionekiko: yes they do.. that's clear10:04
fabbionea libipt_SOMETHING mostlikely need a ipt_SOMETHING.ko in the kernel10:04
kikoright10:04
kikookay10:05
kikoso what does ipt_ROUTE do10:05
kikoit adds a ROUTE iptables target10:05
kikowhich allows you to do routing changes for packets that match a filter10:05
kikofor instance, you can modify the default route used for packets for a specific service10:06
fabbioneoh yeah i see10:06
fabbioneyou don't need that10:06
fabbioneiptables are for pussies10:06
kikopadrino!10:06
fabbioneyou can just use LAR10:06
kikoiproute2?10:06
fabbionethat's the same i use here10:06
fabbioneyes10:06
fabbioneLinux Advanced Routing10:06
kikohmmm10:06
kikoI believe we tested that and failed, but we can always try harder10:07
kikookay10:07
fabbionekiko: i have working config10:07
fabbione+s10:07
kikofabbione, mail something to me?10:07
fabbionekiko: my consigliere.. it's no problem at aaaalllll10:07
=== kiko lowers head
kikosince i'm already chattering about10:08
kikowe have one box that has a via-rhine ethernet onboard that just hangs when booting with the breezy kernel10:08
kikowe're atm using the hoary kernel10:09
BenCsysrq work at all on it?10:10
BenCmaybe see where it's hanging10:10
kikogiven it's a diskless box it's pretty unlikely we can use it much.10:10
kikookay, that would be a start10:10
kikolet me try and find out where it hangs and poke back10:11
kikoBenC, do we have alt-sysrq on by default in our kernels?10:13
kikoso we do!10:13
kikothanks10:13
BenCI believe so10:13
zul__*sigh* 8 year anniversary tonight..10:15
zul__later10:21
fabbionezul__: have fun10:22
fabbionelook at the positive side.. you might get laid ;)10:22
zul__oh i know i will..10:34
zul__laster10:34
BenCfabbione: booting 2.6.15-rc2 stock10:57
fabbioneBenC: cool10:57
fabbioneanyway.. i am off to bed10:57
fabbionegood night guys10:57
BenCgood night10:57
BenCsweet10:59
BenCfabbione: stock crashes too10:59
fabbioneahah cool10:59
fabbionegonna tell davem10:59
fabbioneehehhe10:59
fabbione*grins*10:59
mjg59BenC: The rtl8180 driver seems to be actively developed in CVS11:18
mjg59(file) Makefile  1.1.1.4  7 weeks  i855crt  Updated to work with current ieee802.11 stack11:19
mjg59Looks sort of promising11:19
BenCodd, I pulled from CVS11:19
BenCand it was broken11:19
BenCbroken meaning it was popping out all kinds of errors regarding ieee80211 stuff11:19
BenCrtl8180-sa2400-dev is the module I checked out11:20
mjg59Ah11:20
mjg59You want rtl818x-newstack11:21
BenCah,11:21
BenCcool, thanks11:21
mjg59And rtl8187-newstack/ for USB support11:21
BenCfabbione: emailed davem my oops11:28
BenCmjg59: lol, the rtl8187-newstack has the .cmd.c files from the kernel build in it :)11:29
mjg59BenC: Heh11:31
chuck_BenC: 1867311:51
BenCchuck_: thanks11:51
chuck_no probs11:51
BenCthis driver is gawd aweful12:02
BenCit's using htonl instead of cpu_to_* stuff12:02

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