/srv/irclogs.ubuntu.com/2006/03/28/#ubuntu-kernel.txt

=== zenbum [n=zenbum@c-69-181-178-99.hsd1.ca.comcast.net] has joined #ubuntu-kernel
=== ahe [n=ahe@mnh9-d933ba96.pool.mediaWays.net] has joined #ubuntu-kernel
=== _human_blip_ [n=mike@mike.nelsonbay.com] has joined #ubuntu-kernel
=== cmvo [n=cmvo@62.225.11.174] has joined #ubuntu-kernel
=== Ju [n=Ju@c-24-126-231-240.hsd1.ca.comcast.net] has left #ubuntu-kernel ["gone"]
=== chmj [n=chmj@196.44.1.98] has joined #ubuntu-kernel
=== doko [n=doko@dslb-088-073-095-096.pools.arcor-ip.net] has joined #ubuntu-kernel
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-kernel
=== _human_blip_ [n=mike@mike.nelsonbay.com] has joined #ubuntu-kernel
=== netjoined: irc.freenode.net -> brown.freenode.net
=== Traxer|off [i=traxer@shell6.powershells.de] has joined #ubuntu-kernel
=== JaneW [n=JaneW@dsl-146-143-165.telkomadsl.co.za] has joined #ubuntu-kernel
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-kernel
=== Keybuk [n=scott@quest.netsplit.com] has joined #ubuntu-kernel
=== mxpxpod [n=BryanFor@unaffiliated/mxpxpod] has joined #ubuntu-kernel
dokohow are device files for the parallel interface named?04:45
Keybukdo you mean the old-fashioned parallel port?04:47
dokoKeybuk: yes, /dev/parportN04:47
Keybukthere isn't a device for those, is there?04:48
dokosure, but there should be one?04:48
KeybukI doubt it04:48
Keybukdo you see computers with them these days?04:49
dokoat least MAKEDEV had support to create these device files04:49
Keybukreally?04:49
dokodude, every thinkpad has a parpart ...04:49
KeybukI always thought you just talked to parallel ports directly via io, rather than through a device file04:49
doko>>> import parallel04:50
doko>>> p=parallel.Parallel()04:50
dokoTraceback (most recent call last):04:50
doko  File "<stdin>", line 1, in ?04:50
doko  File "/usr/lib/python2.4/site-packages/parallel/parallelppdev.py", line 186, in __init__04:50
doko    self._fd = os.open(self.device, os.O_RDWR)04:50
dokoOSError: [Errno 2]  No such file or directory: '/dev/parport0'04:50
Keybukok04:50
Keybukloading the parport and parport-pc modules doesn't create that device04:50
dokoyes04:50
Keybukseems nobody's bothered to driver-core them04:50
mjg59Mm?04:59
mjg59Don't they appear as /dev/lp0?04:59
Keybukthat's a parallel printer04:59
Keybukwhich is the "lp" driver04:59
Keybuknot raw parport access04:59
mjg59Ah, yes, that does assume a printer05:00
Keybukmjg59: err @ your bug reassign05:27
Keybukwhere does the docs say rmmod is the same as modprobe -r05:27
Keybukall the docs say you should use modprobe -r as its better05:28
infinityKeybuk: So, when you changes how root mounting works in initramfs-tools, did you break LVM along the way?05:38
infinityKeybuk: There seems to be some murmuring to that effect.05:38
KeybukI did, yes05:38
KeybukI fixed it again though05:38
Keybukthe upload to initramfs-tools is the fix, not the cause05:38
Keybuk(worth an explanation)05:38
infinityIndeed..05:39
Keybukwe worked out, thanks to mjg59's knowledge of strange things called "reserved regions" that once a SATA driver was loaded there was no way ide-generic could steal the devices05:39
Keybukwhen I'd investigated I was looking as to when udev got the "ADD /dev/sda" event, which is some time later05:39
mjg59Keybuk: Yeah, my mistake05:39
Keybukso we were able to do away with the "if ide do this, if scsi do that" branching code in udev05:40
Keybukand thus we can mount root filesystems with:05:40
Keybuk- load PCI drivers05:40
Keybuk- load ide-generic05:40
Keybuk- wait for up to three minutes for root to appear05:40
KeybukPCI IDE drivers it'll appear instantly, so it won't wait05:40
Keybukide-generic will be a no-op if a PCI driver was loaded05:40
Keybukif ide-generic runs the device, it'll appear instantly, so it won't wait05:41
infinityDidn't we have some bizarre race in the past when doing it that way?05:41
Keybukfor SATA drivers the driver will reserve the regions immediately so ide-generic won't break it, but it'll be a few seconds before udev gets the real "device add" events (which we wait for)05:41
infinityI vaguely recall my /dev/sda being /dev/hda on 3 out of 4 boots...05:41
Keybukfor SCSI drivers we get the devices after waiting for a few seconds05:42
Keybukthree minutes is a good upper limit on any device waiting05:42
Keybukright05:42
Keybukwe had a bug certainly, but that has gone away05:42
Keybukand that was partially caused by an old kernel patch which I removed05:42
infinityAhh, well that's nice to know.05:42
Keybukand the fact we loaded ide-generic *first*05:42
Keybukwe had a strange patch on our kernels that made loading ide-generic mandatory to get any PCI IDE driver to actually probe05:42
Keybukrather than just probing in the PCI IDE drivers05:43
infinitySpecial.05:43
Keybukok05:43
Keybukso I modified udev to do the above sequence05:43
Keybukand all was good05:43
Keybukexcept for LVM, EVMS, MD, etc.05:43
Keybukwhich suddenly would "hang for three minutes" on boot05:43
Keybukthe fact they didn't before was actually a bug :)05:43
Keybukand I fixed that bug when I rewrote the udev initramfs script, which made them break05:44
Keybukthey should have been breaking all through dapper05:44
Keybukthe bug is obvious; doing the three minute wait in the udev init-premount means that evms/lvm/etc. haven't been run yet (they're run in local-top)05:44
Keybukso we're waiting for a root device to appear before running the magic that makes it05:45
infinityRight.05:45
KeybukI thought about putting the wait in a udev local-top script, but couldn't get PREREQS to play nice (it's not possible to "DEPEND ON EVERYTHING")05:45
Keybukand if you depend on something that doesn't exist, your script never gets run and initramfs goes into infiniloop territory05:45
infinityYou could prereq *, perhaps.05:45
makxyeah that's a bug05:45
KeybukI couldn't put it in local-premount because that's after mountroot() has already panic'd05:45
infinityOr something equally fucked up.05:45
Keybukinfinity: I tried that :p  you can't05:46
infinityBut I'm pretty sure it wasn't designed to be used that way. :)05:46
Keybukthen I realised, that that loop code should be in mountroot() anyway05:46
infinityI could rewrite it to work that way, but icky corner case.05:46
infinityAnd yeah, it's better living in mountroot()05:46
infinityDebian may appreciate that change too.05:46
Keybukso mountroot() now runs local-top, loops for up to three minutes to wait for the root to appear, then if it still hasn't appearered, loops calling panic to let the user fix it, and then carries on05:46
Keybukfor dapper+1 we can think about changing it to loop forever with a pretty message asking the user to insert the damned root filesystem, or press any key to get a shell, or something05:47
Keybuktbh05:47
Keybukfor initramfs-tools, I'd rather get rid of PREREQS and just use run-parts and NN-* like everything else <g>05:47
infinityI don't like magic shell for dependencies either.05:48
Keybukanyway05:48
Keybukthis should fix all occurances of the bug05:48
Keybukas now we have05:48
Keybuk- probe for PCI devices05:48
infinityNot everything about Jeff's code gives me warm fuzzies, just enough to work on it. :)05:48
Keybuk- load ide-generic05:48
Keybuk- run evms, lvm, md, etc.05:48
Keybuk- wait for root to appear05:49
Keybuk- mount root05:49
infinityRock.  Thanks, dude.05:49
infinityThese little bugs have been biting us since dapper opened.05:49
Keybukit actually makes the boot a bit cuter too, because 9/10 now your scsi card gets its act in gear while initramfs is working up to getting to mounting the root05:49
makxthe fixed revsion of initramfs-tools is -25?05:50
infinitymakx: Any chance of shoving the udev side of these changes down Md's throat, so you can make the initramfs changes to match ours?05:50
infinitymakx: Yes, 24-25 would be the patch Scott did, then obviously, his new udev hooks are important to go with it.05:50
makxhaven't looked at the udev changes.05:51
makxinfinity: atm i work around Md with udev_helper which prequs udev05:51
infinity(And make sure Debian's kernels don't have that buggy behaviour mentioned above with ide-generic)05:51
makxwhich is suboptimal05:51
Keybukubuntu20->ubuntu2105:51
Keybukinfinity: Debian's kernels probably still do, because that's where we got the patch05:51
Keybukit was a Xuism05:51
Keybuksomething to do with making the old initrd "load every PCI driver" stuff less icky05:52
makxna it got dropped since 2.6.1405:52
Keybukok05:52
Keybukactually, you want udev ubuntu19->ubuntu2105:52
infinitymakx: Well, just from reading the description on IRC (haven't looked at the hooks yet), Keybuk's new udev hook is probably a fair bit simpler than before, so maybe Md wouldn't be too unhappy to include it.05:52
makxcool i'll take a look in some hours, will work on that.05:53
makxthanks05:53
mjg59BenC: Do we have anything other than bcm43xx using softmac yet?05:53
BenCnot that I know of05:54
infinityKeybuk: Ahh, yes, init-premount/udev looks MUCH cleaner now.  Awesome.05:54
mjg59Ok, cool05:54
infinityKeybuk: Also, usplash_write calls don't need a || true on them, it exits zero even if your computer's on fire.05:56
Keybukheh, everything else does || true05:56
infinityYeah, not sure who to blame for the first || true. :)05:56
mjg59BenC: You have patches05:57
BenCpatches!? we don't need no stinkin' patches!05:58
mjg59They ought to be enough to get bcm43xx to work nicely without hacky scripts05:59
infinityBenC: when do you want to co-ordinate the ipw3945 junk?05:59
BenCinfinity: I think I'll just do the lrm end of it too, I need to add fwcutter aswell06:00
infinityAhh, cool, all you, then.06:00
mjg59BenC: No joy with negotiating bcm43xx firmware?06:01
infinityfwcutter can go in LRM-common (which will need to become arch:any, I assume, unless it's a script), but the ipw3945 daemon appears to be versioned with the kernel module, so it should go in lrm-`uname -r` to keep lockstep (and the binary will need to be versioned on the filesystem)06:01
infinityBenC: If you'd prefer I do any of it, just poke me.  LRM and I are close personal friends (or enemies) at this point.06:03
mjg59The sooner we get the 3945 stuff in, the sooner we actually start getting bug reports about how broken it is06:07
infinitymakx: What problem, exactly, did you have with moving the module lists to files?  I just tried it and it went smashingly...06:08
BenCmjg59: none so far06:08
infinitymjg59: Is that assuming someone has the hardware in their grubby little hands already?06:09
mjg59infinity: Oh, people /do/06:09
makxinfinity: creation time of initramfs06:09
mjg59BenC: Yeah, that's because we're not shipping it...06:09
makxwas 1/2 longer06:09
infinitymakx: I get no slowdowns here... You must have been doing something scary weird...06:10
BenCmjg59: no I meant no luck with bcm43xx firmware06:10
mjg59BenC: Oh, right06:10
makxinfinity: ok cool06:10
infinitymakx: Perhaps you've been too heavily influenced by jbailey's shell. ;)06:10
mjg59BenC: Shame06:10
mjg59Wonder if I can get it out of the Broadcom UK people (who are all embedded MIPS)06:11
infinitymjg59: ISTR suggesting that once before...06:11
infinityThe MIPS folk are very friendly with Debian, at any rate.06:11
mjg59I'll ask tbm about it06:16
mjg59He's been in touch with them before06:16
infinityYes, he has a machine or two from them.06:18
infinityI wouldn't mind one myself.06:18
Keybukinfinity: random thought ...06:35
Keybukwe could split the udev script even further06:35
Keybukstart udevd, and probe for existing buses in init-premount06:35
Keybukthen move the local code to local-premount06:35
Keybukand the network code to nfs-premount06:35
Keybukor something06:35
infinityYeah, when looking at your switch on $BOOT, I was noting you could do that.06:36
Keybuk(actually, probably nfs-top and init-top)06:36
infinityNot that it would make much difference, it would just seem "cleaner"06:36
infinityOTOH, if it's working how it is now, why break it again? :)06:36
Keybukcleanliness? :p06:37
Keybukit'd fix the bug where if you change the boot options on the kernel command line, udev ignores it06:38
infinityNext to godliness, I hear.06:38
Keybuk(it gets $BOOT by reading conf/initramfs.conf)06:38
infinityOh, really?  Yeah, that's kinda icky, then.06:38
infinityBy all means, muck with your stuff how you want.  They're your hooks. ;)06:38
=== airlied [n=airlied@193.1.99.74] has joined #ubuntu-kernel
Keybukinfinity: "while I was in there" ...07:07
KeybukI moved the lvm and md scripts to lvm-common and mdadm07:07
infinityGar.07:08
KeybukGar?07:08
infinityOur uploads collided.07:08
Keybuklol07:08
Keybukwhat did you upload?07:08
infinityAnd soyuz happily accepted both.  AWESOME.07:08
infinityGo soyuz!07:08
=== infinity wonders which one will win.
Keybukyeah, it does that07:09
infinityClearly it has a different concept of "ACCEPT" than katie does...07:09
KeybukI think whichever one gets mailed second wins07:09
infinityThat would be me, then.07:09
infinityI wasn't going to move the lvm and md stuff until Debian did, but I don't mind seeing it go either. :)07:10
KeybukI long ago gave up "waiting for Debian" :p07:10
Keybukactually, it was about the time I resigned from Debian07:10
Keybuklol07:10
infinityI assume lvm-common and mdadm have appropriate Replaces: on them?07:10
Keybukthey do07:10
infinity(Of course, the Replaces will now be wrong..)07:10
KeybukI found that if we do stuff for them, it gets into Debian quicker07:10
Keybuklol07:10
infinity(Cause my version still has those scripts)07:10
Keybukactually, one of them will be right07:10
Keybukbecause I mucked up the Replaces07:11
KeybukLOL07:11
=== infinity laughs.
infinityRight, well you may as well bang up new uploads with fixed Replaces, and then we can yank the scripts AGAIN.07:11
Keybukwho wants to make a 28 with the right things?07:12
Keybukdo you want to, or shall I?07:12
infinity27, even.07:12
Keybuk27?07:12
Keybukyou want to upload a THIRD 27? :p07:12
infinityUnless you're skipping one out of deference to the one that got lost in the queue. :)07:12
Keybukor did we both upload clashing 26s?07:12
infinityWe did 26. :)07:12
Keybukahh07:12
KeybukI did a 27 seconds later07:12
Keybukwell, minutes later07:12
KeybukAccepted:07:13
Keybuk OK: initramfs-tools_0.40ubuntu27.dsc07:13
Keybuk     -> Component: main Section: utils07:13
Keybuk OK: initramfs-tools_0.40ubuntu27.tar.gz07:13
infinityOh, so I need a 28 with my changes? :)07:13
infinityRock.07:13
infinityI'll do that when yours beats mine, then. :)07:13
infinityFUN GAME.07:13
Keybukok07:13
Keybukhttp://people.ubuntu.com/~scott/packages07:13
Keybukthat has my 0.40ubuntu27 source07:14
Keybukgrab that, add your patch, then upload a 2807:14
Keybukand see if we can get four accepteds for the same daily run <g>07:14
=== zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-kernel
zulgday..07:25
zulBenC: new patch for you i sent in email..07:25
BenCzul: ok07:26
zulim not dead yet...just resting ;)07:26
zuloops...it bounced07:28
Keybukinfinity: what is the NM patch to madwifi?  does that make it support background scanning?07:29
infinitySadly, no, just WPA extensions.07:29
infinityBackground scanning would probably be an unwieldly backport, although the NM keeners are looking into it.07:30
infinity(I've not even tried to find the bits required)07:30
infinityAlso, our ubuntu26 uploads got under the wire for the last cron.daily, so we didn't get 4 in one cycle.. *sad*07:30
infinity(That also means that my ubuntu26 is building right now... Or yours.. One of them)07:31
infinityIn the end, looks like mine won. :)07:32
crimsunBenC: pong07:34
BenCcrimsun: unping, current patches fixed hda problems that people were seeing07:34
KeybukIn Soviet Distro ... Soyuz accepts you!07:35
crimsunBenC: ok. Were these the sigmatel or realtek folks?07:35
crimsunah, analog07:38
BenCzul: already got the patch in07:45
zulBenC: ok good to know07:45
BenCmjg59: Can you look at https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/3370408:36
BenCmjg59: User claims his amd64 system wont boot unless he removed the ATI IO-APIC block from you (timer pin fixup)08:37
mjg59BenC: Yes, some newer BIOSes "fix" it in a way that breaks that08:37
mjg59We should revert my fix and go to the one used in 2.6.1608:37
mjg59Hang on, I'll dig it out08:37
BenCok08:37
dilingerhm09:16
dilingerBenC: so davem claims he's got silo booting from iso9660 on the sunfire 280 i sent him09:16
BenCdilinger: as far as I know silo 1.4.11 contains all the fixes needed09:17
dilingerBenC: cool, ok09:17
dilingerBenC: hm, is there a changelog anywhere or anything?  i'm curious what the actual fix involved?09:18
BenCthere's a subversion repo09:19
BenCsvn.sparc-boot.org09:19
dilingers-b.o/websvn is a 40409:19
dilingerwhat's the full path for the repo?09:20
BenCthat's not an http url09:21
BenCit's svn:// url09:21
dilingeryea, i tried that09:21
dilingersvn: PROPFIND of '/': 405 Method Not Allowed (http://svn.sparc-boot.org)09:21
BenCsvn co svn://svn.sparc-boot.org/silo/trunk silo09:21
dilingerthanks09:21
fabbionedilinger: yes.. i got the iso to boot here too on the netra10:01
mjg59BenC: More network drivers for you10:15
mjg59(You love it really)10:16
mjg59BenC: And there go the apic fixes10:37
=== j_ack [n=nico@p508D99D1.dip0.t-ipconnect.de] has joined #ubuntu-kernel
=== _human_blip_ [n=mike@mike.nelsonbay.com] has joined #ubuntu-kernel

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