=== dmk [n=dmk@host81-155-39-68.range81-155.btcentralplus.com] has left #ubuntu-kernel ["Leaving"] === doko_ [n=doko@dsl-084-059-065-068.arcor-ip.net] has joined #ubuntu-kernel [12:58] BenC: Hi - did you get my patch for fixing hibernate? [01:05] Adding console on ttyS0 at MMIO 0xff5e0000 (options '9600n8') [01:05] RAMDISK: Compressed image found at block 0 [01:05] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) === lamont pokes jbailey [01:06] checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd [01:06] Freeing initrd memory: 9056kB freed [01:06] hrm... interesting [01:35] lamont: Eh? What's that from? [01:36] ia64, latest breezy [01:36] note that nothing 2.6.12-ish boots on ia64, but this is yet another new failuer [01:37] ii initramfs-tool 0.21 tools for generating an initramfs === macgyver2 [n=eric@unaffiliated/macgyver2] has joined #ubuntu-kernel [01:37] lamont: file /initrd.img should tell you that it's a gzip'd thing. [01:38] file -z should tell you that it's a cpio archive. [01:38] /boot/initrd.img-2.6.12-8-itanium-smp: gzip compressed data, from Unix, max compression [01:38] If those are true, then there's some love needed in the kernel. Otherwise lemme know and I'll get it sorted out. [01:38] /boot/initrd.img-2.6.12-8-itanium-smp: ASCII cpio archive (SVR4 with no CRC) (gzip compressed data, from Unix, max compression) [01:38] Yup, those are what they should be. =( [01:39] so that "checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd" is to blame? [01:39] where does that come from, I wonder? [01:39] init/initramfs.c [01:40] It calles into unpack_to_rootfs with the buffer. [01:40] There doesn't look to be anything arch specific in there, so I would've thought if it works on ppc64 (which it does) it would work on ia64. [01:42] Read DSDT from initrd or initramfs (ACPI_INITRD) [N/y/?] n [01:42] is that bad? [01:42] Is there such thing as a DSDT on ia64? [01:42] I didn't think there was any concept of power management. =) [01:42] what's a DSDT? [01:42] acpi bits. [01:42] there is most certainly ACPI [01:43] as in, it's fatal to not have CONFIG_ACPI [01:43] You replace the DSDT tables when your vendor sucls/ [01:43] Read DSDT from initrd or initramfs (ACPI_INITRD) [N/y/?] (NEW) n [01:43] Read DSDT from initrd or initramfs (ACPI_INITRD) [Y/n/?] y [01:43] Read DSDT from initrd or initramfs (ACPI_INITRD) [Y/n/?] y [01:43] Read DSDT from initrd or initramfs (ACPI_INITRD) [Y/n/?] y [01:43] Read DSDT from initrd or initramfs (ACPI_INITRD) [Y/n/?] y [01:43] Read DSDT from initrd or initramfs (ACPI_INITRD) [N/y/?] (NEW) n [01:43] Read DSDT from initrd or initramfs (ACPI_INITRD) [N/y/?] n [01:43] so some of them have it... [01:44] /boot/config-2.6.12-8-itanium-smp:CONFIG_ACPI_INITRD=y [01:44] including the (failing-to-boot) kernel [01:45] lib/inflate.c is what's failing for you. [01:45] It claims bad magic number. [01:45] Your guess as to whether it's got it wrong, or if the buffer handed in is wrong. [01:45] Well, hex editor should tell you the first one. [01:45] Although I'm be surprised if ia64 had a different gzip header. [01:46] 0000000: 1f8b 0800 4335 1643 0203 e43b 5b6c 1cd7 ....C5.C...;[l.. [01:46] 0000010: 7567 6676 a9d9 e592 9ed5 c319 babb c4d0 ugfv............ [01:46] The joys of hex to octal conversion. =) [01:47] 0000000: 00011111 10001011 00001000 00000000 01000011 00110101 ....C5 [01:47] 0000006: 00010110 01000011 00000010 00000011 11100100 00111011 .C...; [01:47] :-) [01:47] 0000000 105437 000010 032503 041426 001402 035744 066133 153434 [01:47] 0000020 063565 073146 154651 111345 152636 014703 135672 150304 [01:47] 1F [01:47] there. [01:47] 1f == 037 [01:48] otoh, if file says it's compressed data, then it is... [01:48] 8b [01:48] 213 [01:48] 9e [01:48] 236 [01:48] The third character appears to be wrong. [01:49] Food time, back in 30m or so. [01:49] zcat /initrd.img| cpio -i --list [01:49] that works just fine from the command line [01:54] BenC: you need more sigs on your key man... [01:56] jbailey: and we don't care that this initrd.img is > 9MB, right? [02:03] jbailey: actually, magic[0] == 037, and magic[1] ==0213 [02:03] magic[2] isn't checked... [02:03] magic[1] is checked against both 8b and 9e [02:04] and method == 8, like it should be... [02:21] so either we're passing a bad buffer, we read it wrong, or there's a bug in get_byte() (which looks unlikely) [02:23] time for this one to run off to the back-to-school night === zul [n=chuck@CPE0006258ec6c2-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel [02:45] morning kids [02:50] Baaaah [02:51] whats up jbailey [02:52] Not much, just sitting down for more hacking. [02:52] cool [02:58] same here [02:59] ROAR [02:59] #12915 [03:00] Silly rabbit, but ah well. [03:01] whoops [03:03] Oh, hey. [03:03] -rw-r--r-- 1 root root 1309702 2005-06-24 13:54 vmlinuz-2.6.10-5-amd64-k8 [03:04] It's less than the size of a floppy! [03:04] I thought it was bigger these days... [03:04] Hmm [03:04] I wonder if that's small enough to do the magic I wanted to with boot floppies. [03:04] Ah well, it's a question for another time. [03:08] hmmm...wtf [03:08] What are you wtfing? [03:08] And hows the laptop? =) [03:08] when i try to commit something it say no arch user id set [03:08] the laptop is fine very fine, very small, very hot...it has no fan [03:08] I think there's a baz my-id command or something like that. [03:08] No fan? [03:09] What type of beast is it? [03:09] dell latitude x1 [03:09] one of thos sub notebooks [03:09] Cute. =) [03:10] they keyboard is like the size of my hand [03:11] ill bring with me if i make it to montreal [03:14] Please do. =) [03:15] so my probation is done oct 17 around there so hmmm... [03:16] So at that point you can screw off a bit more? =) [03:16] yeah sure :) [03:21] hmm...one of my neighbours has an open wirless point === desrt watches jbailey ignore bug mail [03:27] :P [03:30] yeah its fun..:) [03:31] BenC: i added hotplug support for buslogic scsi cards...stupid vmware [03:41] desrt: Hmm? [03:41] Do you mean 12915? [03:42] that number seems too low [03:42] Which bug? [03:42] i'm just joking around because i submitted a bug and it was assigned to you but you were on the "Excluding:" list :P [03:42] Oh. It must be assigned to me then. =) [03:42] it is :) [03:42] I don't have it email me on updates for bugs that are assigned to me. [03:43] it's a simple bug report -- "[breezy] please ship " [03:43] Yup, 14456 [03:43] Are there really userspace components in that head? What fails without them? [03:43] Is it an interface that should be provided by a library instead? [03:44] i'm writing inotify support for gnome-vfs [03:44] it uses raw syscalls [03:44] (since nothing is really available yet) [03:44] the linux/inotify.h defines constants and the data structure for reported events [03:44] So are you expecting just the defines and the struct? [03:44] exactly [03:44] Hmm. [03:45] How stable is inotify_event? [03:45] totally [03:45] I know that inotify was recently added to glibc CVS. [03:45] it's in an official kernel release... [03:45] Bah, doesn't mean stability. =) [03:45] ya it does :P [03:45] This is *linux* that we're talking about. =0 === jbailey pines for the glorious days of the Hurd. [03:45] but ah well. [03:45] i tried to get rlove to change some stuff about it... he was like "man.. i wish you'd talked to me like 2 months ago" [03:47] If I hand you a .h file, can you try it for me? [03:47] ...sure [03:47] i'm just using one i plucked out of the linux-source package [03:47] Right, except that all of the header files I provide are cleaned for userspace. [03:47] cool. [03:48] hook it up :) [03:48] http://people.ubuntu.com/~jbailey/inotify.h [03:48] man.. i love how firefox wants to open everything with less [03:49] almost [03:50] +#define IN_MASK_ADD 0x20000000 /* add to the mask of an already existing [03:50] watch */ [03:50] Umm. [03:50] That wasn't in 2.6.12's headers AFAICT. [03:50] :) [03:50] it definitely is not :) [03:50] Is it in 2.6.13? [03:50] nope. [03:50] it will be in .14 though [03:50] Or is this the stability of the interface you were telling me about? =) [03:51] this is an ABI-compatible change :P [03:51] Unhuh. [03:51] Is it a backwards compatible change? [03:51] yes. but definitely not forward. [03:51] Like if someone uses that, will it still work correctly on the breeze 2.6.12? [03:51] +kerney [03:51] kernel [03:51] i'm going to file a bug about that now :) [03:51] i have an email in my inbox from this morning aobut that patch, Signed-off-by: Robert Love [03:52] Dude, I can't randomly add pieces to the Interface from future kernel versions... [03:52] ok. fair enough. [03:52] i'll file this one separately [03:52] Thanks. =) [03:52] That should freak upstream out. [03:53] I haven't committed anything to linux-libc-headers in months. =) [03:53] upstream = debian? [03:53] Nope. Our linux-kernel-headers are unrelated to Debian's. [03:53] We share it with a couple other distros. [03:53] ah [03:53] I couldn't convince Debian to play along. [03:53] "some guy on irc told me it's ok" [03:53] :) [03:53] Well, that's why I won't accept your idea of randomly adding defines. =) [03:54] Besides, you're Canadian.. [03:54] We have to stick together. =) [03:54] i'll cc you on the kernel bug then :P [03:58] simpsons...bbiab === jbailey shakes his fist at Chuck. [03:58] Damn you and your cable TV! [03:58] hehe [03:59] whoops...just kernel paniced the wrong box [03:59] jbailey; can i confirm this bug? [04:00] Don't bother, I'll close it in a few minutes. [04:01] er [04:01] with or without random additions? :) [04:01] I'm just looking at 9026 right now to see if I can fix it easily. [04:02] seems somewhat more important :) [04:02] thanks [04:07] It's not. Don't use kernel headers. [04:07] It's always the rule. [04:07] If they happen to work, then great. [04:07] hmm [04:08] so basically, the libc should build against the kernel headers [04:08] and you should always use libc [04:08] Right. [04:08] The kernel doesn't provide a stable user interface. [04:08] what about really really kernely stuff like input.h? [04:09] well, i guess that falls under the ", then great." clause :P [04:10] Yup [04:10] The *kernel* people have said "Don't use these headers" [04:10] nod. [04:25] desrt: There's a project that works on maintaining a clean set of kernel headers that are usable for userland [04:29] We do bastardly things. =) [04:33] Oh argh. [04:33] reboot=b doesn't work on all hardware. [04:33] FFS. [04:34] So now we may need to drop back to reboot=h by default and supply a mechanism for userspace to switch the kernel to reboot=b [04:34] What do those mean? =) [04:36] reboot=b gets the kernel to jump to the reset code in the bios [04:36] reboot=h gets the kernel to trigger a reset through the keyboard controller [04:36] Ah, evil. [04:36] h is the default, except it doesn't work on some new HPs for reasons I haven't tracked down [04:37] b is our default, and doesn't work on some machines [04:38] Ah, cool. [04:39] What happens in the failure case, does it just not reboot? [04:39] Yes [04:39] Is there a sane way to try the keyboard controller, and if we still happen to be running half a second later, jump to the bios? [04:39] No, the machine hangs at that point [04:39] Ah, suck. [04:39] What's *insanely* annoying is that if I run the *same code from userspace*, it reboots [04:40] Hopefully you mean from something other than ring 3 protected mode userspace... [04:41] Nah [04:41] Needs root, though [04:41] It's just a matter of outbing to the keyboard controller [04:43] Any chance of just doing the reboot from userspace then as K00reboot ? [04:44] Hm. An interesting idea. [04:45] Not really, though [04:45] The kernel needs to shut down devices [04:45] disk syncing, that sort of thing [04:46] But.. [04:46] It'd be like the good old days. [04:46] "sync; sync; sync; reboot" [04:47] Haha [04:47] But: [04:47] No [04:49] mjg59; sounds like a suitably evil project :) [05:11] morning === rtcm [n=jman@217.129.142.72] has joined #ubuntu-kernel === zul [n=chuck@CPE0006258ec6c2-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel [02:32] heylo [02:33] mjg59: the tg3 network cards doesnt come back from suspend properly think i might have found a patch [03:02] zul: What are you running? [03:19] dell latitude x1 [03:19] i put it to sleep, waked it up and my irc sessions were dropped last night [03:20] ill make a patch for it tonight with my syskonnect stuff [03:22] stupid syskonnect === spayne [n=spayne@i-195-137-120-148.freedom2surf.net] has joined #ubuntu-kernel === crimsun [n=crimsun@sh.nu] has joined #ubuntu-kernel === sedak [n=fred@82-32-125-115.cable.ubr04.hawk.blueyonder.co.uk] has joined #ubuntu-kernel [03:59] zul: Colony 3 or a daily? (Or have you upgraded?) [03:59] If you sleep for more than a minute or so, any open connections will probably have been dropped [04:01] zul: if you make a patch for tg3, run it past dave miller [04:16] anyone have some knowledge of suspend-to-ram? === Mithrandir points BenC to mjg59 [04:21] Colony3 [04:24] zul: sounds like you have a lot of patches queued up for me :) [04:25] zul: you have 13370 (dell libsata patch) already done? [04:26] yep...not tested yet...was going to test it tonight am at work right now though :) [04:31] ok [04:57] 2 patches so far, the buslogic hotplug and the libsata patch [04:58] i have to compile a new kernel tonight and make sure that it compiles ok though [04:59] im writing a script that will automate the build for me as well so *shrug* [05:02] zul: Ok. Things might improve if you grab the latest acpi-support and acpid [05:13] ok [05:27] hello [05:28] I found a kernel ops [05:28] http://people.ubuntu.com/~charles/ath_failure.log [05:28] just by inserting a netgear wireless cardbus [05:29] after it is detected and the drivers are loaded I just typed bash$ iwlist scan [05:29] scans and gives a segmentation fault and then the kernel crashes :( [05:32] zul: any idea ? [05:38] chmj: where is the source that contains ieee80211_iterate_nodes()? [05:38] not in the standard linux-source [05:39] BenC: atheros is in l-r-m [05:39] ah, not my bug :) [05:39] eheh [05:40] [4294818.012000] Unable to handle kernel paging request at virtual address 0000ffff [05:40] yes, its in l-r-m [05:40] just a guess, but that 0x0000ffff is just a little too coincidental [05:41] is atheros binary, or non-free source code? [05:41] or a little of both like nvidia? [05:42] I'm not sure [05:42] should be an easy bug to find [05:42] chmj: not mine either :) [05:42] bah! [05:42] that virtual address is non-random, so can be tracked without much debug [05:43] BenC: I'll give it a try [05:43] same virtual address verytime, right? [05:43] every time [05:43] I am a newbie though [05:44] start putting some printk's all around ieee80211_iterate_nodes() (like printk("D: %s\n", __LINE__);) [05:44] not %s, %d [05:48] ok [05:48] bbl, taking a break [06:44] hmm...xen udebs [07:11] Food time. === lamont [n=lamont@15.238.5.156] has joined #ubuntu-kernel === jbailey [n=jbailey@testhaus.cns.utoronto.ca] has joined #ubuntu-kernel [08:16] why did i think today is wednesday? [08:19] You want a longer time at work to slack off with your laptop? [08:56] shaddup [08:57] wohoo...its my birthday monday [08:57] Nice, it's your 30th? [09:20] yeah it is.. [09:20] im so freaking old [09:21] I got 3 years on ya === spayne [n=spayne@i-195-137-120-148.freedom2surf.net] has joined #ubuntu-kernel [09:22] well not quite old then :) [09:23] BenC: do you go..."back in my day we had to write our own kernel driver to write a midi file" [09:24] oi vey im tired [09:26] no, I usually say things like "back in the day, writing real programs was done in all hex" [09:26] or "I remember peeking and poking, but it wasn't considered vulgar" [09:28] =) [09:34] lol === Seveas [n=seveas@seveas.demon.nl] has joined #ubuntu-kernel