/srv/irclogs.ubuntu.com/2005/12/17/#ubuntu-boot.txt

=== lbm [n=lbm@cpe.atm4-0-1301006.0x50a0824e.vgnxx6.customer.tele.dk] has joined #ubuntu-boot
=== pitti [n=pitti@ubuntu/member/pitti] has joined #ubuntu-boot
=== pitti [n=pitti@ubuntu/member/pitti] has left #ubuntu-boot ["Ex-Chat"]
=== Keybuk [n=scott@descent.netsplit.com] has joined #ubuntu-boot
fabbionehey Keybuk12:10
fabbioneKeybuk: i got a regression in dapper... not sure if it's udev...12:10
fabbionemidi* devices are created in /dev/12:11
fabbionethey really should be in /dev/snd/12:11
Keybukk, which midi devices?  snd or oss?  what names?12:14
fabbionesnd12:14
fabbionenames are midi*12:14
fabbionebasically all midi devices on my tivo are in /dev12:14
fabbioneif you need the details i need a few minutes to power it on12:15
=== Keybuk inserts the extra "i" into midi
Keybukok, fixed12:15
fabbionethanks12:15
lifelessKeybuk: the tried and true method of 'wait a week, update, reboot' fixed my udev glitch. Thanks12:42
Keybukcool12:45
=== jbailey [n=jbailey@modemcable139.249-203-24.mc.videotron.ca] has joined #ubuntu-boot
Keybukjbailey: yeah, they're all from musicals02:05
Keybukcan you name them all though? :p02:05
jbaileyKeybuk: No.  I have to admit that my musical tastes tends to extend to top broadway only, and then only from the last 20 years. =)02:08
Keybukthey're all pretty big musicals, iirc02:09
Keybukwell, other than the first one <g>02:09
KeybukBuffy/Once More With Feeling - What can't we face?02:09
KeybukOliver - Got to pick a pocket or two02:09
KeybukCloser to Heaven - My Night02:10
jbaileyI'm only halfway throught season 2 of buffy. =)02:10
infinityOnce More is season 6.02:10
KeybukRocky Horror Show - Charles Atlas Song02:10
jbaileyI missed Oliver, but do plan to see i.02:10
jbaileyThe RHPS I recognised.02:10
infinityIt's also the episode that seems to get many people hooked. :)02:10
jbaileyinfinity: My wife keeps hoping I'll get hooked.02:10
KeybukFame - Hard Work02:11
jbaileyinfinity: I keep pointing out that they can't act. =)02:11
infinityjbailey : That's not important.02:11
KeybukThe Producers - Spring Time for Hitler02:11
jbaileyinfinity: Funny, that's her answer. =)02:11
infinityjbailey : Given that the entire series is a self-referrential spoof, it doesn't need to have acting.02:11
KeybukLittle Shop Of Horrors - Grow For Me02:11
KeybukChess - One Night In Bangkok02:11
KeybukI think that's the list so far :p02:11
infinityjbailey : In fact, it gets worse (well, sillier) as time goes on, but that just seems to make it better.02:12
jbaileyinfinity: Right, and I'm actually starting to enjoy it.02:12
infinitySadly, I can't get Zofia hooked.  She's resistant.02:12
KeybukJoss Whedon is a modern-day god02:12
infinityI took a sneaky approach and got her hooked on Firefly instead.02:12
Keybukaccept it, sit back, and enjoy the fun02:12
jbaileyI just saw the last half of the to be cont'd one in Season 2 where they try to make Spike's girl less insane.02:12
infinityThen said "hey, this is EXACTLY the same as Buffy.. Same jokes, same everything... You shoud really try Buffy"02:13
infinitySo far, she hasn't bitten.02:13
jbaileyI've been wondering if those were the first SM scenes on primetime television.02:13
infinityOh well, I guess "I got hooked on Buffy 'cause I watched it with the teenage daughter of my ex-girlfriend" is never a good way to get one's current girlfriend interested.02:14
jbaileyI think it depends on how long ago the ex was.02:15
jbaileySince it's been 11 years since mine, Angie just isn't threatened anymore. =)02:15
infinityThis one's long enough ago, but people can be.. Twitchy.02:16
infinityI'll wait until we're a good 10 years in before I say "Hey, you do that swirly tihng with your tongue JUST LIKE ANNA USED TO."02:16
jbaileyRight.  It's clearly been too long since I've seen you.02:16
infinityAnd with that, I realise I shouldn't be drinking and typing, and I should perhaps just go to bed.02:16
jbaileyI keep forgetting that your online tact matches your in person tact ;)02:17
infinityTact?02:17
infinityWhat's.... Tact?02:17
infinityThat's kinda the opposite of "saying what I mean, when I mean it, especially when I think you need to hear it", right?02:18
jbaileyThe first one is important.  The second one is harder.  The third one is usually when you need a walk around the block first.02:19
=== infinity grins.
Keybukheh, I got accused of not having any tact over the weekend02:26
MithrandirKeybuk: any idea how to emulate what run-init is doing, using a shellscript?02:26
=== zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-boot
MithrandirI can02:26
Keybukwe were in a club in manchester and had taken some whingy young queens with us, and one of them was moaning why he hadn't received any "shag tag" messages yet?  And I replied immediately with just "Because you're ugly?"02:26
Mithrandirargh02:26
zulhey02:26
KeybukMithrandir: no, never looked what that does02:26
MithrandirKeybuk: hmkay.02:26
=== pitti [n=pitti@ubuntu/member/pitti] has joined #ubuntu-boot
jbaileyinfinity: Next initramfs-tools upload, please consider sucking in all of Max's manpages.03:36
jbaileyinfinity: It seems to be currently most of the diff.03:36
infinityYup.03:37
infinityI'm going to pull in a fair chunk of his diff on my next upload.03:37
infinityAnd do the DEBUG thing.03:37
infinityAnd discover the 36 hour day, too.03:37
infinityYAY.03:37
jbaileyinfinity: Consider polyphasic sleeping.03:40
jbaileyinfinity: And then do something else with the spare time other than work. =)03:40
infinity"spare time"?03:40
infinityI have about as much of that as I have tact.03:40
infinityThe two may relate.03:40
jbaileyTrue. =)03:41
jbaileysquicky dreams, infinity.03:41
infinityMay all your felching involve bendy straws.03:42
makxinfinity cool04:13
makxbig noise in our diff is the quoting of variables done by jonas04:15
makxi've not been consequent on this since 0.3204:15
Mithrandirinfinity: also, please remove the "exit 1" when detecting circular dependencies with a panic.04:39
MithrandirKeybuk: why does init-premount/udev source initramfs.conf?04:40
MithrandirKeybuk: it means overriding boot= on the boot loader command line won't work correctly.04:40
MithrandirKeybuk: any chance of having /usr/bin/udevinfo and /lib/udev/cdrom_id in the initramfs?  (Needed for casper)04:41
MithrandirKeybuk: also, making boot=casper an alternative for boot=local in ./scripts/init-premount/udev would make me happy.04:42
=== HiddenWolf [n=HiddenWo@136.183.dynamic.phpg.net] has joined #ubuntu-boot
=== lbm [n=lbm@x1-6-00-13-10-7a-d1-e4.k233.webspeed.dk] has joined #ubuntu-boot
Mithrandirhmm, so, no response.  Would anybody be inconvenienced if I uploaded an udev with those changes?05:58
KeybukMithrandir: because init doesn't export BOOT06:58
Keybukif casper needs things in the initramfs, it should copy them itself with its own hook06:59
MithrandirKeybuk: then it should use the same logic as init, not just source a file.07:00
Mithrandiruhm, even files which aren't part of the casper package?  That'll break if something else copies them too.07:00
Keybukactually, init should export that variable :)07:00
KeybukMithrandir: Depends07:00
Keybukit won't break, the copy of the file will be the same07:00
Mithrandirok, then it's fine.07:00
KeybukI'll fix udev and initramfs-tools so that variable is exported rather than sourced07:01
KeybukI think I only went with the source to avoid changing two packages at once07:01
Keybukand didn't notice the boot= bit07:01
Mithrandirook07:01
Mithrandircould you make boot=casper as an alternative for boot=local in udev as well?07:01
Keybuksure07:02
Mithrandirthanks.07:02
Keybukso, here's the $10,000,000 question07:02
Keybukthe bits you're using udev helpers for07:02
Keybukdo those really belong in the udev initramfs script?07:02
Keybukie. are you just getting a root filesystem mounted?07:02
Mithrandiryes, I am, but I don't think it's a usecase that udev itself should necessarily support.07:03
Mithrandirit's mount a cdrom and mount an cloop image off there.07:03
Mithrandirsee http://people.ubuntu.com/~tfheen/bzr/casper/simplifiedlivecd/07:03
Keybukwell, if udev has to know about "casper", it should probably know about all things07:03
Keybukhmm07:04
Mithrandirspecifically, http://people.ubuntu.com/~tfheen/bzr/casper/simplifiedlivecd/debian/casper.initramfs07:04
Keybukdon't use "modprobe -q cloop", use "modprobe -Qb cloop"07:04
MithrandirI don't think that makes sense to make part of udev, even if written a bit more generaliised.07:05
Keybukdon't use the while/sleep combo, use "udevplug -W"07:05
MithrandirI just copied this off the previous casper stuff, but will do07:05
Keybuksame for the unionfs modprobe07:05
Keybukok, I take your point ... everything in this script is basically "mounting" the filesystem07:05
KeybukI'll add casper to the udev script as a copy of local07:06
Mithrandirit's similar to scripts/nfs and scripts/local07:06
Keybuk*nods*07:06
Mithrandirso since udev knows about those, I think it should know about casper as well.07:06
Keybukright07:06
Keybukagree07:06
Mithrandircoolie07:06
KeybukI like your CD-ROM hunt07:07
KeybukKamion: we should use something like that in d-i rather than the devfs-reliance07:07
MithrandirI copied it off code you sketched out for me. :-P07:07
Keybukoh, right, yeah :P07:07
Mithrandirisn't it just modprobe -Q rather than -qQ?07:08
=== crispin [n=crispin@cpc1-cmbg8-4-0-cust246.cmbg.cable.ntl.com] has joined #ubuntu-boot
Keybuk-Qb07:08
Keybuk-Q is -q plus even more quietness07:08
Keybuk-b allows the user to blacklist whatever follows07:08
Mithrandirah07:08
Keybuk(ie. it allows it to be utterly consistent)07:08
Mithrandirthat'll blow up, though.07:08
Mithrandirbut sure.07:08
Keybukso?  we assume if they do blacklist something, they had a bloody good reason07:08
Keybukit's good to be consistent about it07:09
Mithrandircan I assume that /dev/cloop0 will always be the name of cloop0, or do I have to query udev/sysfs for it?07:09
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-boot
Mithrandirreload/bzr pull07:12
Keybukyou should probably query it, I guess07:12
Keybukthe user could commit fantastic pedicide and rename them07:12
Keybukor I could07:12
BenCKeybuk: hey, question for you in -devel07:12
KeybukBenC: not that I know of, why?07:12
Keybukide-generic, bad07:13
Keybukide-core, probably ok07:13
Mithrandirkeybuk: in which case I'd hop on the first plane to .uk and beat you with a stick. :-P07:13
Keybukindeed07:13
BenCmainly because with ide.ko modular, none of the ide= hd*= kernel command line options are honored07:13
BenCsince it expects them as module options07:13
Keybukah, heh07:14
KeybukI don't know of any problems with making that built-in07:14
KeybukI wish we built-in more stuff *cough* unix.ko07:14
BenCwhy isn't unix.ko built-in anyway?07:14
MithrandirI think it's a legacy of Xu's reluctance to build anything into the kernel07:14
BenCI've no problem doing it, but I don't know the reason for having it modular in the first place07:15
Mithrandirhe'd probably made ELF into a loadable module, if he could.07:15
BenClol, ok, unix and ide will be built-in in -8.1007:15
Keybuk\o/07:15
BenCmodularity can only go but so far07:16
MithrandirKeybuk: what's the Right way to find an unused cloop node?07:16
Keybuksodomy non sapiens07:17
Keybukdon't know much about those07:18
Mithrandirheh07:18
crispinKeybuk: btw, I only have about 30 mins now, tomorrow and wed I will have longer07:18
Keybuklosetup or something07:18
Keybukcrispin: that's ok, am ready for you now07:18
crispink, so /dev/hda doesn't exist07:18
Keybukcrispin: cat /proc/modules ... and list off the first few for me07:18
crispinide_generic, ide_cd, cdrom, sata_nv, generic07:18
Keybukright07:19
Keybukso that's screwyfic07:19
BenCheh, all three port architectures already had unix.o built-in07:19
BenCpowerpc already had ide-core built-in07:19
BenCnow they all match07:19
Keybukcrispin: echo $BOOT $ROOT07:19
crispin/dev/sda107:19
KeybukBOOT="" ?07:19
Keybuk. conf/initramfs.conf07:20
crispinyep07:20
Keybukecho $BOOT07:20
crispinlocal07:20
Keybukcat /proc/cmdline07:20
crispinroot=/dev/sda1 ro quiet splash07:21
KamionBenC: you may need to tweak the d-i bits a bit when building in ide-core07:21
KamionI'll certainly have to tweak debian-installer to compensate07:21
Keybukcrispin: ls scripts/init-premount07:21
BenCKamion: yeah, I'll check that07:21
crispinudev thermal07:22
BenCKamion: for ide-core, just match whatever ppc is doing (it has it built-in already)07:22
Keybukcrispin: ls scripts/init-top07:22
crispinusplash07:22
Keybukok ...07:23
KamionBenC: right, I can fix the d-i side easily enough, although it's not as simple as matching because the pkg-lists files for the various architectures are often quite divergent07:23
Keybukcrispin: tail -2 scripts/init-premount/udev07:23
crispin\t;;\nesac07:23
MithrandirKamion: do you want me to fix the cdrom-detect similarly to what's in new-casper?07:23
KamionMithrandir: sure, if you like07:24
KamionI was about to go and look at that07:24
Kamionah, yeah, /sys/block querying. if you could keep the current behaviour as an else so that it can be trivially merged, that would be a bonus07:25
KamionI made os-prober use /sys/block if it's there recently07:25
Keybukcrispin: ok ... then I'm bloody confused what's loaded ide-cd, cdrom and ide-generic07:25
Kamion(though not in preference to /dev/discs; should probably fix that)07:25
Keybukcrispin: ls /sys/bus/ide07:26
crispindevices drivers07:26
Keybukcrispin: ls /sys/bus/ide/devices07:27
crispin1.0 1.107:27
Keybukk...07:27
crispin(btw that list of modules I attached to the bug is what I have loaded here)07:27
Keybukcould you reboot, and this time remove quiet and splash from the kernel command-line and add "break=premount" to it instead07:27
crispinyep, done, am at a prompt07:28
Keybukok07:28
Keybukscripts/init-premount/thermal07:28
Keybuk(to stop laptop dying)07:28
crispinthis isn't a laptop ....07:29
Keybukcould you now check /proc/modules and see what's there (should be not much)07:29
Keybukk, do it anyway <g>07:29
MithrandirKeybuk: that means we need /lib/udev/cdrom_id in udev-udeb too07:30
crispinI have 9 modules in there, nothing hardware related, it appears to be just the fb stuff and a couple of others07:30
KeybukMithrandir: k, can you bug me an e-mail07:30
MithrandirKeybuk: sure07:30
Keybukcrispin: ok ... cat /proc/cmdline07:30
crispinroot=/dev/sda1 ro break=premount07:31
Keybukright07:31
Keybukrun udevd --daemon07:31
BenCKamion result is that ide-core udeb is going away07:31
Keybukand for the next command or two, watch for anything being printed on the console07:31
KamionBenC: right, hence necessary adjustment in d-i07:31
Keybukif it talks about ide, it's bad07:31
crispinok, udevd run, nothing on console07:31
Keybukls /sys/bus/ide/devices /sys/bus/scsi/devices /sys/bus/i2o/devices /sys/bus/usb/devices /sys/bus/ieee1394/devices07:32
crispinI get 'no such file or directory' for all of them, /sys is mounted07:33
Keybukgood07:33
Keybukudevplug -Cmem -Cmisc -Ctty -Cvc07:33
crispinrun, nothing on console07:34
Keybukk, ls /sys/block07:34
Keybukis there anything that's not ram* ?07:34
crispinno, just ram0 -> ram1507:34
Keybukok07:35
Keybukgrep 0x01 /sys/bus/pci/devices/*/class07:35
crispinreturned 2 files, 0000:00:09:0 -> 0x01018a and 0000:01:09.0 -> 0x01800007:36
Keybukok....07:36
Keybukcat /sys/bus/pci/devices/0000:00:09:0/modalias07:36
Keybukcat /sys/bus/pci/devices/0000:01:09:0/modalias07:36
Keybuk(both)07:36
=== BenC [n=bcollins@debian/developer/bcollins] has left #ubuntu-boot ["Leaving"]
crispinurgh, do you need to the full output from these files ?07:37
Keybukyes07:37
Keybukexactly07:37
crispin:-)07:37
crispinthe first is: pci:v000010DEd00000065sv0000147Bsd00001C01bc01sc01i8a07:38
crispinsecond is: pci:v00001095d00003112sv00001095sd00003112bc01sc80i0007:39
Keybukok, that's kinda interesting07:40
Keybukthe second one is a Sil 3112 SATA controller?07:41
crispinsounds about right07:41
Keybukthe first one is an nVidia NFORCE IDE controller?07:41
crispinI have a pci sata controller on an nforce m'board07:41
Keybukright....07:42
Keybukcould you: echo blacklist ide-generic > /etc/modprobe.d/test07:42
crispinthe disk hangs off the sata card07:42
crispinyep07:42
Keybukthen udevplug -Bpci -Iclass=0x01*07:42
crispinok, lots of output on the console this time07:43
Keybukk, once done, could you cat /proc/modules07:43
crispinnew stuff in there is scsi_mod, libata, sata_sil, ide_core, amd74xxx, generic, sata_nv, cdrom, ide_cd07:44
Keybukok07:44
Keybukyou have an IDE CD-ROM drive hanging off your motherboard07:44
Keybukbut the drives are hanging off your SATA PCI controller?07:44
crispinyep, 2 of them07:44
crispinexactly07:45
crispin(well, one drive off the sata pci controller)07:45
crispininterestingly, in the console output was:07:45
crispinata1: SATA link up 1.5 Gps (SStatus 113)07:45
crispinata1: dev 0 not supported, ignoring07:46
Keybukright07:46
Keybukcould you check for me:07:46
Keybukls /dev/hd*07:46
Keybukls /dev/s*07:46
crispin/dev/hdd /dev/hdc, no s* stuff07:46
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-boot
Keybukk, so to recap07:47
Keybukyou have a computer with an nVidia NFORCE IDE controller on the motherboard07:47
Keybukand an Sis 3112 SATA controller PCI card07:47
Keybukthere's a CD-ROM hanging off the IDE controller07:47
Keybukand the hard-drive you want to boot off hanging off the SATA controller07:47
crispinyes, (except I have 2 cd rom drives hanging off the m'board ide controller)07:48
=== BenC understands so far
Keybukboth controllers appear find under /sys with the right MODALIAS07:48
Keybukand udev loads the right modules for them both07:48
Keybuk(I think)07:48
BenCis nforce supported in kernel now, or is it just ide-generic?07:48
BenCor are you using nforce drivers from nvidia?07:48
crispinthe sata_nv seems an odd thing to load, the m'board isn't sata07:49
Keybukwell, he has a sata_nv module -- I assume that's the real thing?07:49
Keybukwhat's amd74xxx ?07:49
BenCso what's the issue?07:50
Keybukhmm07:50
KeybukBenC: his hard-drive doesn't appear07:50
crispinI've no idea, I'm just using the stock ubuntu kernels, nothing changed in them at all07:50
Keybukno uevent fromt he kernel for it, looks like the kernel never detects it07:50
Keybuk(on the sata_sil bus)07:50
Keybukcrispin: hmm, we don't ship either sata_nv or amd74xxx07:50
Keybukare you SURE you've not got some nvidia binary drivers in there?07:50
BenCwe do ship sata_nv07:50
BenCis this breezy or dapper?07:51
crispinI do that the restricted modules package installed07:51
Keybukoh, sorry, I can see it now07:51
crispinBenC: daper07:51
BenC2.6.15 kernel?07:51
crispinyep07:51
BenCsata_nv is in there I know07:51
crispinBenC: btw this is bug 20807, it has my lspci and other stuff in there07:51
BenCamd74xx is too07:51
Keybukmodinfo on sata_nv has07:51
Keybukalias: pci:v000010DEd*sv*sd*bc01sc01i*07:52
Keybukso it will be loaded for all nVidia storage controllers07:52
BenCand sata_nv should support ATAPI, so it's doing the right thing to support the cdrom's07:52
BenCok, so sata_sil is the problem?07:52
Keybukyeah, it looks like it's doing the right things07:52
Keybukeither sata_sil is the problem, or the combination of both is an unhappy one07:53
crispinhmm, guys, I need to leave now, I'll be back for longer tomorrow07:53
Keybukok, I'm around most of the day tomorrow07:53
BenCit sees the disk07:53
BenCok07:53
crispinwell, it will be roughly the same time, I am at work till about 6pm GMT07:53
BenCdmesg shows the disk Keybuk07:53
=== crispin is now known as crispin[out]
BenCsda 160Gigs07:54
BenC[4294678.458000]  Attached scsi disk sda at scsi0, channel 0, id 0, lun 007:54
KeybukBenC: where did you get the dmesg?07:54
BenCwait, that's breezy dmesg :/07:54
Keybukyeah07:54
Keybukbreezy!07:54
Keybukcrispin ata1: SATA link up 1.5 Gps (SStatus 113)07:54
Keybukcrispin ata1: dev 0 not supported, ignoring07:54
Keybukdidn't know whether that could be relevant or not07:55
BenCsounds like it07:55
Keybuktomorrow I'll get him to try only loading one of the two drivers, and see what happens then07:57
Keybukthat'd at least rule out interaction07:57
Keybukcould be simply that the sata_sil is busted on current kernel07:57
BenCthe only case where the dmesg would look like this is if dev->id is not an ata device07:59
BenCwhich is a bitmask check08:00
BenCthis is all ata core stuff08:00
BenCthe message isn't from sata_sil, but I guess it's possible that it is not giving libata the right info08:01
Keybukright08:02
Keybukinteresting08:02
Keybukcould be, yeah08:06
Keybukor that sata_nv has stamped all over it08:06
BenC[libata sata_sil]  fix merge related issues08:20
BenCwow, this is a complicated merge08:21
BenCfor git, not for me08:21
Keybukhehe08:22
Mithrandirgenerating the bootcharts takes forever on the live cd..08:23
BenCthe ata updates will be in -8.1008:41
BenCKeybuk: I replied to his bug report to test -8.10 when it's built08:41
Keybukk08:42

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