/srv/irclogs.ubuntu.com/2005/09/06/#ubuntu-kernel.txt

=== 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
mjg59BenC: Hi - did you get my patch for fixing hibernate?12:58
lamontAdding console on ttyS0 at MMIO 0xff5e0000 (options '9600n8')01:05
lamontRAMDISK: Compressed image found at block 001:05
lamontKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)01:05
=== lamont pokes jbailey
lamontchecking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd                                                                        01:06
lamontFreeing initrd memory: 9056kB freed01:06
lamonthrm... interesting01:06
jbaileylamont: Eh?  What's that from?01:35
lamontia64, latest breezy01:36
lamontnote that nothing 2.6.12-ish boots on ia64, but this is yet another new failuer01:36
lamontii  initramfs-tool 0.21           tools for generating an initramfs01:37
=== macgyver2 [n=eric@unaffiliated/macgyver2] has joined #ubuntu-kernel
jbaileylamont: file /initrd.img  should tell you that it's a gzip'd thing.01:37
jbaileyfile -z should tell you that it's a cpio archive.01:38
lamont /boot/initrd.img-2.6.12-8-itanium-smp: gzip compressed data, from Unix, max compression01:38
jbaileyIf those are true, then there's some love needed in the kernel.  Otherwise lemme know and I'll get it sorted out.01:38
lamont /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
jbaileyYup, those are what they should be. =(01:38
lamontso that "checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd" is to blame?01:39
lamontwhere does that come from, I wonder?01:39
jbaileyinit/initramfs.c01:39
jbaileyIt calles into unpack_to_rootfs with the buffer.01:40
jbaileyThere 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:40
lamont  Read DSDT from initrd or initramfs (ACPI_INITRD) [N/y/?]  n01:42
lamontis that bad?01:42
jbaileyIs there such thing as a DSDT on ia64?01:42
jbaileyI didn't think there was any concept of power management. =)01:42
lamontwhat's a DSDT?01:42
jbaileyacpi bits.01:42
lamontthere is most certainly ACPI01:42
lamontas in, it's fatal to not have CONFIG_ACPI01:43
jbaileyYou replace the DSDT tables when your vendor sucls/01:43
lamont  Read DSDT from initrd or initramfs (ACPI_INITRD) [N/y/?]  (NEW) n01:43
lamont  Read DSDT from initrd or initramfs (ACPI_INITRD) [Y/n/?]  y01:43
lamont  Read DSDT from initrd or initramfs (ACPI_INITRD) [Y/n/?]  y01:43
lamont  Read DSDT from initrd or initramfs (ACPI_INITRD) [Y/n/?]  y01:43
lamont  Read DSDT from initrd or initramfs (ACPI_INITRD) [Y/n/?]  y01:43
lamont  Read DSDT from initrd or initramfs (ACPI_INITRD) [N/y/?]  (NEW) n01:43
lamont  Read DSDT from initrd or initramfs (ACPI_INITRD) [N/y/?]  n01:43
lamontso some of them have it...01:43
lamont/boot/config-2.6.12-8-itanium-smp:CONFIG_ACPI_INITRD=y01:44
lamontincluding the (failing-to-boot) kernel01:44
jbaileylib/inflate.c is what's failing for you.01:45
jbaileyIt claims bad magic number.01:45
jbaileyYour guess as to whether it's got it wrong, or if the buffer handed in is wrong.01:45
jbaileyWell, hex editor should tell you the first one.01:45
jbaileyAlthough I'm be surprised if ia64 had a different gzip header.01:45
lamont0000000: 1f8b 0800 4335 1643 0203 e43b 5b6c 1cd7  ....C5.C...;[l..01:46
lamont0000010: 7567 6676 a9d9 e592 9ed5 c319 babb c4d0  ugfv............01:46
jbaileyThe joys of hex to octal conversion. =)01:46
lamont0000000: 00011111 10001011 00001000 00000000 01000011 00110101  ....C501:47
lamont0000006: 00010110 01000011 00000010 00000011 11100100 00111011  .C...;01:47
lamont:-)01:47
lamont0000000 105437 000010 032503 041426 001402 035744 066133 15343401:47
lamont0000020 063565 073146 154651 111345 152636 014703 135672 15030401:47
jbailey1F01:47
lamontthere.01:47
lamont1f == 03701:47
lamontotoh, if file says it's compressed data, then it is...01:48
jbailey8b01:48
lamont21301:48
jbailey9e01:48
lamont23601:48
jbaileyThe third character appears to be wrong.01:48
jbaileyFood time, back in 30m or so.01:49
lamontzcat /initrd.img| cpio -i --list01:49
lamontthat works just fine from the command line01:49
lamontBenC: you need more sigs on your key man...01:54
lamontjbailey: and we don't care that this initrd.img is > 9MB, right?01:56
lamontjbailey: actually, magic[0] == 037, and magic[1] ==021302:03
lamontmagic[2]  isn't checked...02:03
lamontmagic[1]  is checked against both 8b and 9e02:03
lamontand method == 8, like it should be...02:04
lamontso either we're passing a bad buffer, we read it wrong, or there's a bug in get_byte() (which looks unlikely)02:21
lamonttime for this one to run off to the back-to-school night02:23
=== zul [n=chuck@CPE0006258ec6c2-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
zulmorning kids02:45
jbaileyBaaaah02:50
zulwhats up jbailey 02:51
jbaileyNot much, just sitting down for more hacking.02:52
zulcool02:52
zulsame here02:58
jbaileyROAR02:59
jbailey#1291502:59
jbaileySilly rabbit, but ah well.03:00
zulwhoops03:01
jbaileyOh, hey.03:03
jbailey-rw-r--r--  1 root root 1309702 2005-06-24 13:54 vmlinuz-2.6.10-5-amd64-k803:03
jbaileyIt's less than the size of a floppy!03:04
jbaileyI thought it was bigger these days...03:04
jbaileyHmm03:04
jbaileyI wonder if that's small enough to do the magic I wanted to with boot floppies.03:04
jbaileyAh well, it's a question for another time.03:04
zulhmmm...wtf03:08
jbaileyWhat are you wtfing?03:08
jbaileyAnd hows the laptop? =)03:08
zulwhen i try to commit something it say no arch user id set03:08
zulthe laptop is fine very fine, very small, very hot...it has no fan03:08
jbaileyI think there's a baz my-id command or something like that.03:08
jbaileyNo fan?03:08
jbaileyWhat type of beast is it?03:09
zuldell latitude x103:09
zulone of thos sub notebooks03:09
jbaileyCute. =)03:09
zulthey keyboard is like the size of my hand03:10
zulill bring with me if i make it to montreal03:11
jbaileyPlease do. =)03:14
zulso my probation is done oct 17 around there so hmmm...03:15
jbaileySo at that point you can screw off a bit more? =)03:16
zulyeah sure :)03:16
zulhmm...one of my neighbours has an open wirless point03:21
=== desrt watches jbailey ignore bug mail
desrt:P03:27
zulyeah its fun..:)03:30
zulBenC: i added hotplug support for buslogic scsi cards...stupid vmware03:31
jbaileydesrt: Hmm?03:41
jbaileyDo you mean 12915?03:41
desrtthat number seems too low03:42
jbaileyWhich bug?03:42
desrti'm just joking around because i submitted a bug and it was assigned to you but you were on the "Excluding:" list :P03:42
jbaileyOh.  It must be assigned to me then. =)03:42
desrtit is :)03:42
jbaileyI don't have it email me on updates for bugs that are assigned to me.03:42
desrtit's a simple bug report -- "[breezy]  please ship <linux/inotify.h>"03:43
jbaileyYup, 1445603:43
jbaileyAre there really userspace components in that head?  What fails without them?03:43
jbaileyIs it an interface that should be provided by a library instead?03:43
desrti'm writing inotify support for gnome-vfs03:44
desrtit uses raw syscalls03:44
desrt(since nothing is really available yet)03:44
desrtthe linux/inotify.h defines constants and the data structure for reported events03:44
jbaileySo are you expecting just the defines and the struct?03:44
desrtexactly03:44
jbaileyHmm.03:44
jbaileyHow stable is inotify_event?03:45
desrttotally03:45
jbaileyI know that inotify was recently added to glibc CVS.03:45
desrtit's in an official kernel release...03:45
jbaileyBah, doesn't mean stability. =)03:45
desrtya it does :P03:45
jbaileyThis is *linux* that we're talking about. =003:45
=== jbailey pines for the glorious days of the Hurd.
jbaileybut ah well.03:45
desrti 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:45
jbaileyIf I hand you a .h file, can you try it for me?03:47
desrt...sure03:47
desrti'm just using one i plucked out of the linux-source package03:47
jbaileyRight, except that all of the header files I provide are cleaned for userspace.03:47
desrtcool.03:47
desrthook it up :)03:48
jbaileyhttp://people.ubuntu.com/~jbailey/inotify.h03:48
desrtman.. i love how firefox wants to open everything with less03:48
desrtalmost03:49
desrt+#define IN_MASK_ADD            0x20000000      /* add to the mask of an already existing03:50
desrtwatch */03:50
jbaileyUmm.03:50
jbaileyThat wasn't in 2.6.12's headers AFAICT.03:50
desrt:)03:50
desrtit definitely is not :)03:50
jbaileyIs it in 2.6.13?03:50
desrtnope.03:50
desrtit will be in .14 though03:50
jbaileyOr is this the stability of the interface you were telling me about? =)03:50
desrtthis is an ABI-compatible change :P03:51
jbaileyUnhuh.03:51
jbaileyIs it a backwards compatible change?03:51
desrtyes.  but definitely not forward.03:51
jbaileyLike if someone uses that, will it still work correctly on the breeze 2.6.12?03:51
jbailey+kerney03:51
jbaileykernel03:51
desrti'm going to file a bug about that now :)03:51
desrti have an email in my inbox from this morning aobut that patch, Signed-off-by: Robert Love <rml@novell.com>03:51
jbaileyDude, I can't randomly add pieces to the Interface from future kernel versions...03:52
desrtok.  fair enough.03:52
desrti'll file this one separately03:52
jbaileyThanks. =)03:52
jbaileyThat should freak upstream out.03:52
jbaileyI haven't committed anything to linux-libc-headers in months. =)03:53
desrtupstream = debian?03:53
jbaileyNope.  Our linux-kernel-headers are unrelated to Debian's.03:53
jbaileyWe share it with a couple other distros.03:53
desrtah03:53
jbaileyI couldn't convince Debian to play along.03:53
desrt"some guy on irc told me it's ok"03:53
desrt:)03:53
jbaileyWell, that's why I won't accept your idea of randomly adding defines. =)03:53
jbaileyBesides, you're Canadian..03:54
jbaileyWe have to stick together. =)03:54
desrti'll cc you on the kernel bug then :P03:54
zulsimpsons...bbiab03:58
=== jbailey shakes his fist at Chuck.
jbaileyDamn you and your cable TV!03:58
zulhehe03:58
zulwhoops...just kernel paniced the wrong box03:59
desrtjbailey; can i confirm this bug?03:59
jbaileyDon't bother, I'll close it in a few minutes.04:00
desrter04:01
desrtwith or without random additions? :)04:01
jbaileyI'm just looking at 9026 right now to see if I can fix it easily.04:01
desrtseems somewhat more important :)04:02
desrtthanks04:02
jbaileyIt's not.  Don't use kernel headers.04:07
jbaileyIt's always the rule.04:07
jbaileyIf they happen to work, then great.04:07
desrthmm04:07
desrtso basically, the libc should build against the kernel headers04:08
desrtand you should always use libc04:08
jbaileyRight.04:08
jbaileyThe kernel doesn't provide a stable user interface.04:08
desrtwhat about really really kernely stuff like input.h?04:08
desrtwell, i guess that falls under the ", then great." clause :P04:09
jbaileyYup04:10
jbaileyThe *kernel* people have said "Don't use these headers"04:10
desrtnod.04:10
mjg59desrt: There's a project that works on maintaining a clean set of kernel headers that are usable for userland04:25
jbaileyWe do bastardly things. =)04:29
mjg59Oh argh.04:33
mjg59reboot=b doesn't work on all hardware.04:33
mjg59FFS.04:33
mjg59So now we may need to drop back to reboot=h by default and supply a mechanism for userspace to switch the kernel to reboot=b04:34
jbaileyWhat do those mean? =)04:34
mjg59reboot=b gets the kernel to jump to the reset code in the bios04:36
mjg59reboot=h gets the kernel to trigger a reset through the keyboard controller04:36
jbaileyAh, evil.04:36
mjg59h is the default, except it doesn't work on some new HPs for reasons I haven't tracked down04:36
mjg59b is our default, and doesn't work on some machines04:37
jbaileyAh, cool.04:38
jbaileyWhat happens in the failure case, does it just not reboot?04:39
mjg59Yes04:39
jbaileyIs 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
mjg59No, the machine hangs at that point04:39
jbaileyAh, suck.04:39
mjg59What's *insanely* annoying is that if I run the *same code from userspace*, it reboots04:39
jbaileyHopefully you mean from something other than ring 3 protected mode userspace...04:40
mjg59Nah04:41
mjg59Needs root, though04:41
mjg59It's just a matter of outbing to the keyboard controller04:41
jbaileyAny chance of just doing the reboot from userspace then as K00reboot ?04:43
mjg59Hm. An interesting idea.04:44
mjg59Not really, though04:45
mjg59The kernel needs to shut down devices04:45
mjg59disk syncing, that sort of thing04:45
jbaileyBut..04:46
jbaileyIt'd be like the good old days.04:46
jbailey"sync; sync; sync; reboot"04:46
mjg59Haha04:47
mjg59But:04:47
mjg59No04:47
desrtmjg59; sounds like a suitably evil project :)04:49
fabbionemorning05:11
=== 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
zulheylo02:32
zulmjg59: the tg3 network cards doesnt come back from suspend properly think i might have found a patch02:33
mjg59zul: What are you running?03:02
zuldell latitude x103:19
zuli put it to sleep, waked it up and my irc sessions were dropped last night03:19
zulill make a patch for it tonight with my syskonnect stuff03:20
zulstupid syskonnect03:22
=== 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
mjg59zul: Colony 3 or a daily? (Or have you upgraded?)03:59
mjg59If you sleep for more than a minute or so, any open connections will probably have been dropped03:59
BenCzul: if you make a patch for tg3, run it past dave miller04:01
BenCanyone have some knowledge of suspend-to-ram?04:16
=== Mithrandir points BenC to mjg59
zulColony304:21
BenCzul: sounds like you have a lot of patches queued up for me :)04:24
BenCzul: you have 13370 (dell libsata patch) already done?04:25
zulyep...not tested yet...was going to test it tonight am at work right now though :)04:26
BenCok04:31
zul2 patches so far, the buslogic hotplug and the libsata patch04:57
zuli have to compile a new kernel tonight and make sure that it compiles ok though04:58
zulim writing a script that will automate the build for me as well so *shrug*04:59
mjg59zul: Ok. Things might improve if you grab the latest acpi-support and acpid05:02
zulok05:13
chmjhello05:27
chmjI found a kernel ops 05:28
chmjhttp://people.ubuntu.com/~charles/ath_failure.log05:28
chmjjust by inserting a netgear wireless cardbus05:28
chmjafter it is detected and the drivers are loaded I just typed bash$ iwlist scan 05:29
chmjscans and gives a segmentation fault and then the kernel crashes :( 05:29
chmjzul: any idea ? 05:32
BenCchmj: where is the source that contains ieee80211_iterate_nodes()?05:38
BenCnot in the standard linux-source05:38
mjg59BenC: atheros is in l-r-m05:39
BenCah, not my bug :)05:39
chmjeheh 05:39
BenC[4294818.012000]  Unable to handle kernel paging request at virtual address 0000ffff05:40
chmjyes, its in l-r-m 05:40
BenCjust a guess, but that 0x0000ffff is just a little too coincidental05:40
BenCis atheros binary, or non-free source code?05:41
BenCor a little of both like nvidia?05:41
chmjI'm not sure 05:42
BenCshould be an easy bug to find05:42
zulchmj: not mine either :)05:42
chmjbah!05:42
BenCthat virtual address is non-random, so can be tracked without much debug05:42
chmjBenC: I'll give it a try05:43
BenCsame virtual address verytime, right?05:43
BenCevery time05:43
chmjI am a newbie though 05:43
BenCstart putting some printk's all around ieee80211_iterate_nodes() (like printk("D: %s\n", __LINE__);)05:44
BenCnot %s, %d05:44
chmjok 05:48
chmjbbl, taking a break 05:48
zulhmm...xen udebs06:44
jbaileyFood time.07:11
=== lamont [n=lamont@15.238.5.156] has joined #ubuntu-kernel
=== jbailey [n=jbailey@testhaus.cns.utoronto.ca] has joined #ubuntu-kernel
zulwhy did i think today is wednesday?08:16
jbaileyYou want a longer time at work to slack off with your laptop?08:19
zulshaddup08:56
zulwohoo...its my birthday monday08:57
jbaileyNice, it's your 30th?08:57
zulyeah it is..09:20
zulim so freaking old09:20
BenCI got 3 years on ya09:21
=== spayne [n=spayne@i-195-137-120-148.freedom2surf.net] has joined #ubuntu-kernel
zulwell not quite old then :)09:22
zulBenC: do you go..."back in my day we had to write our own kernel driver to write a midi file"09:23
zuloi vey im tired09:24
BenCno, I usually say things like "back in the day, writing real programs was done in all hex"09:26
BenCor "I remember peeking and poking, but it wasn't considered vulgar"09:26
jbailey=)09:28
zullol09:34
=== Seveas [n=seveas@seveas.demon.nl] has joined #ubuntu-kernel

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