=== 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 [12:10] hey Keybuk [12:10] Keybuk: i got a regression in dapper... not sure if it's udev... [12:11] midi* devices are created in /dev/ [12:11] they really should be in /dev/snd/ [12:14] k, which midi devices? snd or oss? what names? [12:14] snd [12:14] names are midi* [12:14] basically all midi devices on my tivo are in /dev [12:15] if you need the details i need a few minutes to power it on === Keybuk inserts the extra "i" into midi [12:15] ok, fixed [12:15] thanks [12:42] Keybuk: the tried and true method of 'wait a week, update, reboot' fixed my udev glitch. Thanks [12:45] cool === jbailey [n=jbailey@modemcable139.249-203-24.mc.videotron.ca] has joined #ubuntu-boot [02:05] jbailey: yeah, they're all from musicals [02:05] can you name them all though? :p [02:08] Keybuk: 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:09] they're all pretty big musicals, iirc [02:09] well, other than the first one [02:09] Buffy/Once More With Feeling - What can't we face? [02:09] Oliver - Got to pick a pocket or two [02:10] Closer to Heaven - My Night [02:10] I'm only halfway throught season 2 of buffy. =) [02:10] Once More is season 6. [02:10] Rocky Horror Show - Charles Atlas Song [02:10] I missed Oliver, but do plan to see i. [02:10] The RHPS I recognised. [02:10] It's also the episode that seems to get many people hooked. :) [02:10] infinity: My wife keeps hoping I'll get hooked. [02:11] Fame - Hard Work [02:11] infinity: I keep pointing out that they can't act. =) [02:11] jbailey : That's not important. [02:11] The Producers - Spring Time for Hitler [02:11] infinity: Funny, that's her answer. =) [02:11] jbailey : Given that the entire series is a self-referrential spoof, it doesn't need to have acting. [02:11] Little Shop Of Horrors - Grow For Me [02:11] Chess - One Night In Bangkok [02:11] I think that's the list so far :p [02:12] jbailey : In fact, it gets worse (well, sillier) as time goes on, but that just seems to make it better. [02:12] infinity: Right, and I'm actually starting to enjoy it. [02:12] Sadly, I can't get Zofia hooked. She's resistant. [02:12] Joss Whedon is a modern-day god [02:12] I took a sneaky approach and got her hooked on Firefly instead. [02:12] accept it, sit back, and enjoy the fun [02:12] I 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:13] Then said "hey, this is EXACTLY the same as Buffy.. Same jokes, same everything... You shoud really try Buffy" [02:13] So far, she hasn't bitten. [02:13] I've been wondering if those were the first SM scenes on primetime television. [02:14] Oh 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:15] I think it depends on how long ago the ex was. [02:15] Since it's been 11 years since mine, Angie just isn't threatened anymore. =) [02:16] This one's long enough ago, but people can be.. Twitchy. [02:16] I'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] Right. It's clearly been too long since I've seen you. [02:16] And with that, I realise I shouldn't be drinking and typing, and I should perhaps just go to bed. [02:17] I keep forgetting that your online tact matches your in person tact ;) [02:17] Tact? [02:17] What's.... Tact? [02:18] That's kinda the opposite of "saying what I mean, when I mean it, especially when I think you need to hear it", right? [02:19] The first one is important. The second one is harder. The third one is usually when you need a walk around the block first. === infinity grins. [02:26] heh, I got accused of not having any tact over the weekend [02:26] Keybuk: any idea how to emulate what run-init is doing, using a shellscript? === zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-boot [02:26] I can [02:26] we 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] argh [02:26] hey [02:26] Mithrandir: no, never looked what that does [02:26] Keybuk: hmkay. === pitti [n=pitti@ubuntu/member/pitti] has joined #ubuntu-boot [03:36] infinity: Next initramfs-tools upload, please consider sucking in all of Max's manpages. [03:36] infinity: It seems to be currently most of the diff. [03:37] Yup. [03:37] I'm going to pull in a fair chunk of his diff on my next upload. [03:37] And do the DEBUG thing. [03:37] And discover the 36 hour day, too. [03:37] YAY. [03:40] infinity: Consider polyphasic sleeping. [03:40] infinity: And then do something else with the spare time other than work. =) [03:40] "spare time"? [03:40] I have about as much of that as I have tact. [03:40] The two may relate. [03:41] True. =) [03:41] squicky dreams, infinity. [03:42] May all your felching involve bendy straws. [04:13] infinity cool [04:15] big noise in our diff is the quoting of variables done by jonas [04:15] i've not been consequent on this since 0.32 [04:39] infinity: also, please remove the "exit 1" when detecting circular dependencies with a panic. [04:40] Keybuk: why does init-premount/udev source initramfs.conf? [04:40] Keybuk: it means overriding boot= on the boot loader command line won't work correctly. [04:41] Keybuk: any chance of having /usr/bin/udevinfo and /lib/udev/cdrom_id in the initramfs? (Needed for casper) [04:42] Keybuk: also, making boot=casper an alternative for boot=local in ./scripts/init-premount/udev would make me happy. === 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 [05:58] hmm, so, no response. Would anybody be inconvenienced if I uploaded an udev with those changes? [06:58] Mithrandir: because init doesn't export BOOT [06:59] if casper needs things in the initramfs, it should copy them itself with its own hook [07:00] Keybuk: then it should use the same logic as init, not just source a file. [07:00] uhm, even files which aren't part of the casper package? That'll break if something else copies them too. [07:00] actually, init should export that variable :) [07:00] Mithrandir: Depends [07:00] it won't break, the copy of the file will be the same [07:00] ok, then it's fine. [07:01] I'll fix udev and initramfs-tools so that variable is exported rather than sourced [07:01] I think I only went with the source to avoid changing two packages at once [07:01] and didn't notice the boot= bit [07:01] ook [07:01] could you make boot=casper as an alternative for boot=local in udev as well? [07:02] sure [07:02] thanks. [07:02] so, here's the $10,000,000 question [07:02] the bits you're using udev helpers for [07:02] do those really belong in the udev initramfs script? [07:02] ie. are you just getting a root filesystem mounted? [07:03] yes, I am, but I don't think it's a usecase that udev itself should necessarily support. [07:03] it's mount a cdrom and mount an cloop image off there. [07:03] see http://people.ubuntu.com/~tfheen/bzr/casper/simplifiedlivecd/ [07:03] well, if udev has to know about "casper", it should probably know about all things [07:04] hmm [07:04] specifically, http://people.ubuntu.com/~tfheen/bzr/casper/simplifiedlivecd/debian/casper.initramfs [07:04] don't use "modprobe -q cloop", use "modprobe -Qb cloop" [07:05] I don't think that makes sense to make part of udev, even if written a bit more generaliised. [07:05] don't use the while/sleep combo, use "udevplug -W" [07:05] I just copied this off the previous casper stuff, but will do [07:05] same for the unionfs modprobe [07:05] ok, I take your point ... everything in this script is basically "mounting" the filesystem [07:06] I'll add casper to the udev script as a copy of local [07:06] it's similar to scripts/nfs and scripts/local [07:06] *nods* [07:06] so since udev knows about those, I think it should know about casper as well. [07:06] right [07:06] agree [07:06] coolie [07:07] I like your CD-ROM hunt [07:07] Kamion: we should use something like that in d-i rather than the devfs-reliance [07:07] I copied it off code you sketched out for me. :-P [07:07] oh, right, yeah :P [07:08] isn't it just modprobe -Q rather than -qQ? === crispin [n=crispin@cpc1-cmbg8-4-0-cust246.cmbg.cable.ntl.com] has joined #ubuntu-boot [07:08] -Qb [07:08] -Q is -q plus even more quietness [07:08] -b allows the user to blacklist whatever follows [07:08] ah [07:08] (ie. it allows it to be utterly consistent) [07:08] that'll blow up, though. [07:08] but sure. [07:08] so? we assume if they do blacklist something, they had a bloody good reason [07:09] it's good to be consistent about it [07:09] can I assume that /dev/cloop0 will always be the name of cloop0, or do I have to query udev/sysfs for it? === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-boot [07:12] reload/bzr pull [07:12] you should probably query it, I guess [07:12] the user could commit fantastic pedicide and rename them [07:12] or I could [07:12] Keybuk: hey, question for you in -devel [07:12] BenC: not that I know of, why? [07:13] ide-generic, bad [07:13] ide-core, probably ok [07:13] keybuk: in which case I'd hop on the first plane to .uk and beat you with a stick. :-P [07:13] indeed [07:13] mainly because with ide.ko modular, none of the ide= hd*= kernel command line options are honored [07:13] since it expects them as module options [07:14] ah, heh [07:14] I don't know of any problems with making that built-in [07:14] I wish we built-in more stuff *cough* unix.ko [07:14] why isn't unix.ko built-in anyway? [07:14] I think it's a legacy of Xu's reluctance to build anything into the kernel [07:15] I've no problem doing it, but I don't know the reason for having it modular in the first place [07:15] he'd probably made ELF into a loadable module, if he could. [07:15] lol, ok, unix and ide will be built-in in -8.10 [07:15] \o/ [07:16] modularity can only go but so far [07:16] Keybuk: what's the Right way to find an unused cloop node? [07:17] sodomy non sapiens [07:18] don't know much about those [07:18] heh [07:18] Keybuk: btw, I only have about 30 mins now, tomorrow and wed I will have longer [07:18] losetup or something [07:18] crispin: that's ok, am ready for you now [07:18] k, so /dev/hda doesn't exist [07:18] crispin: cat /proc/modules ... and list off the first few for me [07:18] ide_generic, ide_cd, cdrom, sata_nv, generic [07:19] right [07:19] so that's screwyfic [07:19] heh, all three port architectures already had unix.o built-in [07:19] powerpc already had ide-core built-in [07:19] now they all match [07:19] crispin: echo $BOOT $ROOT [07:19] /dev/sda1 [07:19] BOOT="" ? [07:20] . conf/initramfs.conf [07:20] yep [07:20] echo $BOOT [07:20] local [07:20] cat /proc/cmdline [07:21] root=/dev/sda1 ro quiet splash [07:21] BenC: you may need to tweak the d-i bits a bit when building in ide-core [07:21] I'll certainly have to tweak debian-installer to compensate [07:21] crispin: ls scripts/init-premount [07:21] Kamion: yeah, I'll check that [07:22] udev thermal [07:22] Kamion: for ide-core, just match whatever ppc is doing (it has it built-in already) [07:22] crispin: ls scripts/init-top [07:22] usplash [07:23] ok ... [07:23] BenC: 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 divergent [07:23] crispin: tail -2 scripts/init-premount/udev [07:23] \t;;\nesac [07:23] Kamion: do you want me to fix the cdrom-detect similarly to what's in new-casper? [07:24] Mithrandir: sure, if you like [07:24] I was about to go and look at that [07:25] ah, 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 bonus [07:25] I made os-prober use /sys/block if it's there recently [07:25] crispin: ok ... then I'm bloody confused what's loaded ide-cd, cdrom and ide-generic [07:25] (though not in preference to /dev/discs; should probably fix that) [07:26] crispin: ls /sys/bus/ide [07:26] devices drivers [07:27] crispin: ls /sys/bus/ide/devices [07:27] 1.0 1.1 [07:27] k... [07:27] (btw that list of modules I attached to the bug is what I have loaded here) [07:27] could you reboot, and this time remove quiet and splash from the kernel command-line and add "break=premount" to it instead [07:28] yep, done, am at a prompt [07:28] ok [07:28] scripts/init-premount/thermal [07:28] (to stop laptop dying) [07:29] this isn't a laptop .... [07:29] could you now check /proc/modules and see what's there (should be not much) [07:29] k, do it anyway [07:30] Keybuk: that means we need /lib/udev/cdrom_id in udev-udeb too [07:30] I have 9 modules in there, nothing hardware related, it appears to be just the fb stuff and a couple of others [07:30] Mithrandir: k, can you bug me an e-mail [07:30] Keybuk: sure [07:30] crispin: ok ... cat /proc/cmdline [07:31] root=/dev/sda1 ro break=premount [07:31] right [07:31] run udevd --daemon [07:31] Kamion result is that ide-core udeb is going away [07:31] and for the next command or two, watch for anything being printed on the console [07:31] BenC: right, hence necessary adjustment in d-i [07:31] if it talks about ide, it's bad [07:31] ok, udevd run, nothing on console [07:32] ls /sys/bus/ide/devices /sys/bus/scsi/devices /sys/bus/i2o/devices /sys/bus/usb/devices /sys/bus/ieee1394/devices [07:33] I get 'no such file or directory' for all of them, /sys is mounted [07:33] good [07:33] udevplug -Cmem -Cmisc -Ctty -Cvc [07:34] run, nothing on console [07:34] k, ls /sys/block [07:34] is there anything that's not ram* ? [07:34] no, just ram0 -> ram15 [07:35] ok [07:35] grep 0x01 /sys/bus/pci/devices/*/class [07:36] returned 2 files, 0000:00:09:0 -> 0x01018a and 0000:01:09.0 -> 0x018000 [07:36] ok.... [07:36] cat /sys/bus/pci/devices/0000:00:09:0/modalias [07:36] cat /sys/bus/pci/devices/0000:01:09:0/modalias [07:36] (both) === BenC [n=bcollins@debian/developer/bcollins] has left #ubuntu-boot ["Leaving"] [07:37] urgh, do you need to the full output from these files ? [07:37] yes [07:37] exactly [07:37] :-) [07:38] the first is: pci:v000010DEd00000065sv0000147Bsd00001C01bc01sc01i8a [07:39] second is: pci:v00001095d00003112sv00001095sd00003112bc01sc80i00 [07:40] ok, that's kinda interesting [07:41] the second one is a Sil 3112 SATA controller? [07:41] sounds about right [07:41] the first one is an nVidia NFORCE IDE controller? [07:41] I have a pci sata controller on an nforce m'board [07:42] right.... [07:42] could you: echo blacklist ide-generic > /etc/modprobe.d/test [07:42] the disk hangs off the sata card [07:42] yep [07:42] then udevplug -Bpci -Iclass=0x01* [07:43] ok, lots of output on the console this time [07:43] k, once done, could you cat /proc/modules [07:44] new stuff in there is scsi_mod, libata, sata_sil, ide_core, amd74xxx, generic, sata_nv, cdrom, ide_cd [07:44] ok [07:44] you have an IDE CD-ROM drive hanging off your motherboard [07:44] but the drives are hanging off your SATA PCI controller? [07:44] yep, 2 of them [07:45] exactly [07:45] (well, one drive off the sata pci controller) [07:45] interestingly, in the console output was: [07:45] ata1: SATA link up 1.5 Gps (SStatus 113) [07:46] ata1: dev 0 not supported, ignoring [07:46] right [07:46] could you check for me: [07:46] ls /dev/hd* [07:46] ls /dev/s* [07:46] /dev/hdd /dev/hdc, no s* stuff === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-boot [07:47] k, so to recap [07:47] you have a computer with an nVidia NFORCE IDE controller on the motherboard [07:47] and an Sis 3112 SATA controller PCI card [07:47] there's a CD-ROM hanging off the IDE controller [07:47] and the hard-drive you want to boot off hanging off the SATA controller [07:48] yes, (except I have 2 cd rom drives hanging off the m'board ide controller) === BenC understands so far [07:48] both controllers appear find under /sys with the right MODALIAS [07:48] and udev loads the right modules for them both [07:48] (I think) [07:48] is nforce supported in kernel now, or is it just ide-generic? [07:48] or are you using nforce drivers from nvidia? [07:49] the sata_nv seems an odd thing to load, the m'board isn't sata [07:49] well, he has a sata_nv module -- I assume that's the real thing? [07:49] what's amd74xxx ? [07:50] so what's the issue? [07:50] hmm [07:50] BenC: his hard-drive doesn't appear [07:50] I've no idea, I'm just using the stock ubuntu kernels, nothing changed in them at all [07:50] no uevent fromt he kernel for it, looks like the kernel never detects it [07:50] (on the sata_sil bus) [07:50] crispin: hmm, we don't ship either sata_nv or amd74xxx [07:50] are you SURE you've not got some nvidia binary drivers in there? [07:50] we do ship sata_nv [07:51] is this breezy or dapper? [07:51] I do that the restricted modules package installed [07:51] oh, sorry, I can see it now [07:51] BenC: daper [07:51] 2.6.15 kernel? [07:51] yep [07:51] sata_nv is in there I know [07:51] BenC: btw this is bug 20807, it has my lspci and other stuff in there [07:51] amd74xx is too [07:51] modinfo on sata_nv has [07:52] alias: pci:v000010DEd*sv*sd*bc01sc01i* [07:52] so it will be loaded for all nVidia storage controllers [07:52] and sata_nv should support ATAPI, so it's doing the right thing to support the cdrom's [07:52] ok, so sata_sil is the problem? [07:52] yeah, it looks like it's doing the right things [07:53] either sata_sil is the problem, or the combination of both is an unhappy one [07:53] hmm, guys, I need to leave now, I'll be back for longer tomorrow [07:53] ok, I'm around most of the day tomorrow [07:53] it sees the disk [07:53] ok [07:53] well, it will be roughly the same time, I am at work till about 6pm GMT [07:53] dmesg shows the disk Keybuk === crispin is now known as crispin[out] [07:54] sda 160Gigs [07:54] [4294678.458000] Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 [07:54] BenC: where did you get the dmesg? [07:54] wait, that's breezy dmesg :/ [07:54] yeah [07:54] breezy! [07:54] crispin ata1: SATA link up 1.5 Gps (SStatus 113) [07:54] crispin ata1: dev 0 not supported, ignoring [07:55] didn't know whether that could be relevant or not [07:55] sounds like it [07:57] tomorrow I'll get him to try only loading one of the two drivers, and see what happens then [07:57] that'd at least rule out interaction [07:57] could be simply that the sata_sil is busted on current kernel [07:59] the only case where the dmesg would look like this is if dev->id is not an ata device [08:00] which is a bitmask check [08:00] this is all ata core stuff [08:01] the message isn't from sata_sil, but I guess it's possible that it is not giving libata the right info [08:02] right [08:02] interesting [08:06] could be, yeah [08:06] or that sata_nv has stamped all over it [08:20] [libata sata_sil] fix merge related issues [08:21] wow, this is a complicated merge [08:21] for git, not for me [08:22] hehe [08:23] generating the bootcharts takes forever on the live cd.. [08:41] the ata updates will be in -8.10 [08:41] Keybuk: I replied to his bug report to test -8.10 when it's built [08:42] k