[00:00] soren, Not that one immediatly comes to me. Since that is remote, might it also be that there is no network? [00:04] smb_tp: No, it never comes up. I've checked the logs afterwards (I can boot it up in a special rescue mode). [00:06] Actually, I tried booting it with kvm from the special rescue mode, and I got a panic in create_proc_entry, IIRC. I really need that machine to be up, so I quickly pointed lilo at the old kernel and got it running again. [00:06] * soren considers giving 2.6.21 a chance [00:07] Er.. [00:07] 2.6.24-21, of course. [00:07] * soren does that. It's late at night, anyway. [00:07] soren, Ok, proc might be something to look. I scanned over the changes and did not catch something immediately === RAOF_ is now known as RAOF [00:12] smb_tp: No, 2.6.24-21 doesn't love me either. [00:13] soren, too bad. :( If you could find out where it hangs, later of course. For the moment you seem to be stuck with -17 [00:18] smb_tp: http://people.ubuntu.com/~soren/bootfail.png [00:19] smb_tp: Anything you want me to try before I go back to -17? [00:20] soren, no thanks. I take that and dig [00:20] Lovely, thanks. [00:22] Quite a novel use of kvm there :) [00:24] soren, yep. as long as the bug persists with virtual hw as well. hm, could it also create memory dumps... :) [00:25] Sure, if that would be helpful. [00:25] I can't imagine why it won't boot, though. It can't possibly be hardware related if it fails in kvm, too. [00:25] soren, Not immediatly but I could keep this in mind. Havn't used crash on x86 yet [00:27] soren, this atm function is defined in net/atm/clip.c so it sound a bit like something in network. but no change in that file, as far as I can see on a quick look [00:28] I'm a bit afraid it might be an initramfs thing.. [00:28] soren, how that? [00:29] Sorry, I was half talking about something else. The -17 kernel won't boot now, either. [00:31] soren, no prob with that. but that is really strange. [00:31] soren, the kernel parms have not changed? [00:33] Ah, I'm being an idiot. [00:33] I tried to use the kernel as my initramfs.. Typing is hard at this hour. [00:34] soren, interesting concept. :) but true its quite early for you... [00:34] * soren crosses fingeres [00:35] And I've got pingage. \o/ [00:36] soren, \o/ the old kernel or was that even a newer one? [00:37] Oh, still the old kernel. [00:37] soren, ok, then I keep on looking. :) [00:38] smb_tp: Which module had the atm_clip function? [00:38] soren, The atm net driver [00:39] soren, oh, rather atm protocol families... [00:41] It's listed in System.map... Does that mean it's in the kernel image and not in a module? [00:41] System.map-2.6.24-21-server:ffffffff80657170 t atm_clip_init [00:42] soren, afaik yes [00:43] soren, confirmed CONFIG_ATM_CLIP=y [00:44] Yeah, just found that too === asac_ is now known as asac [00:45] soren, The bad thing is that if git doesn't fool me there has been no single change in net/atm between -17 and -19 [00:45] I agree. [00:54] soren, The strange thing is, this atm driver is built in, so why does it only crash for you... [00:58] Yeah. It's quite weird. [00:58] And I don't have atm hardware. [00:58] soren, That doesn't matter. If I read correctly its some protocol driver that gets always initialized. [00:59] Ah, yes, that's probably true. [01:00] smb_tp: If you can think of anything you think I should try, just shout. [01:01] soren, I'll do, but for the moment I am clueless. Maybe it would be good to postpone it till tomorrow. [01:01] soren, tomorrow for me, later for you... [01:01] YEah. I'm on my way to bed, too. [01:01] Er, no, tomorrow for me too. It's 2 AM here :) [01:02] so it is tomorrow :) [01:02] never mind [01:02] Oh, right :) [01:02] good night then [01:02] You too :) [01:02] thanks [01:02] :) [08:08] Hello, I'm reading a book (LDD Linux Device Drivers) and I want to start doing some of the examples. In the book, it tells me to build my own kernel so that I can have the proper headers, but reading some other discussions, it tells me I just need the kernel headers package (check), how do I properly link to them? [13:08] Do you guys have an opinion on dkms? I'm strongly considering switching kvm to use it in Intrepid, but I have no experience with it. [13:14] Hi, guys. I was hoping you could help me out a bit.. I'm having the weirdest problem. [13:14] I have a server that refuses to boot anything but 2.6.24-17-server. If I give it a newer kernel, it fails like this: http://people.ubuntu.com/~soren/bootfail.png [13:14] (I got that screenshot by pointing kvm at the disks from a rescue system.) [13:14] ...so it's not hardware related (since it happens in kvm, too). [13:15] This works, though: kvm -kernel /mnt/boot/vmlinuz-2.6.24-19-server -initrd /mnt/boot/initrd.img-2.6.24-19-server -append "root=UUID=96c1a0f4-28af-4de4-a1f1-c9fe254545ed" -hda /dev/sda -hdb /dev/sdb [13:15] So the kernel and initrd image is fine. [13:15] And lilo manages to boot the -17 kernel just fine. [13:16] ...so lilo is working, too. [13:16] nothing changed in the atm code (see the reference in the backtrace) between -17 and -19. [13:16] soren: does kvm have external modules that need to be recompiled with every kernel? [13:16] It breaks at the same place for both -21 and -19. [13:17] amitk_: Yes. [13:17] soren: why? [13:17] soren: dkms is the preferred solution for ABI sensitive 3rd party kernel modules. [13:17] amitk_: Well, the kernel ships some kvm modules, but half of a kvm release is kernel modules, so there are updates outside of the kernel. [13:17] soren: or rather, what are those modules and why are they external? [13:18] amitk_: they're replacements for the kvm modules in the kernel. [13:18] amitk_: It's mostly to avoid the pain of updating the modules in the kernel build, and since upstream provides them in a way that's easy to build out-of-tree, it makes sense to use it. [13:19] soren: I think this would be a wrong use of DKMS. But if the objective is to short-circuit the kernel upload dependency temporarily till kvm matures, then I guess DKMS is a good way to go about it. [13:19] IMHO, ofcourse :) [13:20] amitk_: Why do you think it would be a wrong use of it? [13:22] soren: multiple sources of kernel modules (open source ones at that!), for one. In my mind DKMS is for modules that have no hope of being merged into the kernel (fglrx, nvidia), are open but alpha-grade right now. [13:24] Each kvm release has a userspace and a kernel space part to it. This is hardly surprising, given kvm's nature. kvm's release schedule is not synced with linux's, so either we're stuck with whatever is in the kernel we're shipping, or I have to spend a day or two merging a new kvm release into our existing kernel tree every time there's a new kvm release. [13:25] virtualbox has chosen a different approach. A week doesn't go by without someone filing a new bug with the problems that arise from that approach. [13:25] dkms seems rather immune to this. [13:25] soren: Understood. Till kvm becomes 'feature complete' I guess it might be easier to just package it separately (using dkms). [13:26] Granted, this is a smaller problem in Intrepid where IIUIC, you've redefined what constitutes an ABI bump, but if I had switched to dkms for hardy, my life would have been much, much easier. [13:27] I can upload a kvm version that uses dkms and see how it fares. We still have a week before FF :) [13:27] soren: Go for it. [13:27] Any clever input on my other problem (the boot failure mentioned above)? [13:28] soren: did I read correctly that networking is through ATM? [13:29] No. [13:29] There's no atm hardware at all. [13:29] The crash is just reported int the atm init code [13:29] smb_tp: There more I think about this problem, the more confused I get. It makes very, very little sense. [13:30] This code should be run an all machines since the driver (some sort of protocol) is built into the kernel (not a module) [13:30] And suddenly (on this server) it crashesh when trying to create a proc entry [13:31] ..but only when I use lilo to boot the kernel. [13:31] With grub it works? [13:31] soren: you changed from grub to lilo? [13:31] I haven't tried with grub, but I'm quite reluctant to just throw away this setup before I've figured out what's wrong. [13:32] amitk_: Always used lilo on that box. [13:32] It boots from RAID1. [13:32] smb_tp: I tried using kvm's own boot loader. [13:32] soren, Ah ok, and that did worked better? [13:32] smb_tp: I can pass a kernel, initrd, and kernel command line to kvm, and then it boots that instead of using the on-disk boot loader. [13:33] smb_tp: Yeah, that worked fine. So the kernel and initrd are both in good shape. [13:33] soren, very very odd. [13:34] Hmm... [13:34] I think I'll try grabbing the kernel and initrd and try booting it on my laptop with lilo.. [13:37] Might be something to try. And otherwise we might try to gather as much msg log from working and non-working cases as we can. And try to find differences in mem allocations/addresses... [13:46] soren: http://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg195980.html [13:46] soren, There is also some other place that mentions lilo option "large-memory" [13:55] smb_tp: large-memory looks very interesting indeed.. [13:56] smb_tp: Well, cover me with eggs and flour and bake me for forty minutes... It works! [13:56] smb_tp: I owe you one! [13:56] soren, So it seems you need a lilo update... :) [13:57] Or hardy might... [13:58] Yeah. [13:58] soren, I am not yet at the bottom of the report, but there seem to be a relation to the initramfs size... [13:58] From -17 to -19 the initrd *just* squeezed over 8MB (8192*1024*1024 bytes) [13:59] Er.. [13:59] 8192*1024 bytes, I mean. [14:00] soren, :) We all get carried away by those giant nombers nowadays... [14:00] soren, Ok, bottom line seems it should be fixed in 1:22.8-5 [14:01] While fixed is relative: debian/liloconfig: Warn about large initrd images, as not [14:01] all systems can successfully boot when the 8MB barrier is reached, [14:01] it depends a lot on system BIOS and chipset configuration. [14:01] -6 sets large-memory by default, it seems. [14:03] Well, it puts "large-memory" into newly generated lilo.conf's by default. [14:03] Yes, that seems to be the only change there (beside of a new email address... [14:05] Well anyways. You can boot our shiny new (well almost) kernels again. :) [14:06] ... and I should remember panics near net init are also near ramdisk init... [14:06] I can. I'm very happy! [14:07] Nice to be of service :) [14:07] * smb_tp goes and brews some coffee... [14:08] * soren too [16:01] Hi, I'm trying to sort out some inconsistent reports regarding Ubuntu kernels on VIA C3 CPUs. [16:01] This is all about support for CMOV, as I understand things. [16:03] I've got one user trying to use 8.04 Server Edition on a C3 and is getting "This kernel requires the following features not present on the CPU: cmov [16:03] Unable to boot - please use a kernel appropriate for your CPU." [16:03] (Or similar) [16:03] He gets this message on the first reboot *after* installation. [16:04] Then I hear from another user (discussion at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/254453) that 8.04 server edition works fine on his C3, which claims to be a Samuel 2 (and therefore shouldn't support CMOV). [16:04] So here are the choices: [16:04] fbond: the actual requirement is PAE. [16:04] PAE? [16:05] physical address extension support in the page table mechanism [16:05] its also a known problem. [16:05] rtg: Known in intrepid, you mean? [16:05] or rather, the issue that its not detected at install time is known. [16:06] dunno about Intrepid, but probably. [16:06] So does 8.04 SE install the -server kernel? [16:07] Maybe more pertinent: is the problem specific to the -server kernel (I had been assuming it is)? [16:07] fbond: I'm unfamiliar with 'SE', but the issue is specific to the server kernel. [16:07] rtg: Okay, that's what I thought. [16:07] SE = Server Edition [16:08] fbond: ah. should have guessed [16:08] I have one user claiming that SE installed -generic, and another is having this issue with SE, so I assume he somehow got -server. [16:08] Just trying to figure out what the heck happened. [16:08] fbond: -generic should work fine. it supports 586 and higher [16:08] rtg: Yeah, I know :) [16:09] Who would know the server installatino process well enough to tell me how one could get a different kernel in different install runs? [16:10] fbond: you could look on the server CD and see for sure, but I don't think it has the generic kernel. [16:11] rtg: Thanks for your help. [16:11] fbond: I think one of the real problems is that the server CD boots the generic kernel, but installs the server kernel. [16:12] I think one user is using the "server" isolinux boot target on a Desktop CD, or something. [16:12] rtg: Yes, that is related to the problem the user that actually used the Server Edition CD is having. [16:13] Oh, that boot target doesn't exist anymore... [16:13] fbond: you can use the alternate installer to install a command line only -generic kernel for use on appliances (such as the VIA C3) [16:14] rtg: Yep. In fact, I think the user that reports SE works on his C3 really just did that. [16:15] rtg: So the issue at hand is not related to CMOV, though? [16:15] not as far as I know. I'm not really sure what CMOV is. [16:15] There are some C3s that support CMOV. Would those C3's still not support -server due to the PAE requirement? [16:15] rtg: There's a lot of confusing information out there. [16:16] fbond: I know for a fact the VIA C3 doesn't support PAE, which is a requirement of the server kernel. [16:17] fbond: New P6 OpCodes: CMOV (conditional move) [16:19] CMOV is a P6 opcode, not a (required) i686 one [16:19] But everything that supports PAE should support cmov [16:20] mjg59: So ... which kernel options determine PAE/CMOV requirements for a given kernel build? [16:20] PAE will be required if CONFIG_HIGHMEM64G is set [16:21] Okay. Is CONFIG_M586/CONFIG_M686 relevant? [16:23] If the kernel's not build with i586 or C3 support, then it'll probably end up requiring cmov [16:23] s/build/built/ [16:23] mjg59: I've seen in the past reports that gcc is buggy and uses CMOV when compiling for 686 (despite the fact that it is an optional instruction). Is that the source of that dependency? [16:23] Sorry for all of the questions :) [16:24] I'm going to document all of this somewhere obvious so that other people can avoid spending a lot of time hunting this info down. [16:25] fbond: cmov is about the only useful bit of the i686 instruction set in most cases [16:25] So yeah, gcc uses it. The kernel build system is smart enough not to do that if you've asked it to support a CPU that doesn't have cmov. [16:25] mjg59: Would you consider this a bug in gcc? [16:26] fbond: Arguably, but it's an argument that occured a long time ago and it's not changing now [16:26] mjg59: Okay, I can settle with that. [16:26] Thanks! [16:32] BenC: any reason why CONFIG_XEN is not turned on for the generic kernels? [16:44] I think because it wont turn on unless we enable 64-bit DMA which does a lot of other weird crap [16:44] disables some drivers in fact (legacy drivers, but drivers we always had in generic kernels) [16:44] BenC: did you have a chance to review aufs? or are you watching for me to submit that minor fix for the config? === mkrufky is now known as mkrufky-lunch === mkrufky-lunch is now known as mkrufky === rikai_ is now known as rikai === mkrufky is now known as Guest73656 === mkrufk1 is now known as mkrufky === thegodfather is now known as fabbione