/srv/irclogs.ubuntu.com/2010/04/10/#ubuntu-kernel.txt

MTecknologyAre there any issues with getting a generic (torvalds branch) kernel to work with 10.04?03:12
lifelessshouldn't be - you can grab the autobuilt upstream kernels after all :)03:14
MTecknologylifeless: I was just trying to figure out why when I use it it can't find my root partition. I musta screwed up. I checked lscpi -k and everything is set right there.03:16
MTecknologylifeless: I was trying to mess around with 2.6.34-rc303:16
MTecknologyI wish I had my generic .config I use with almost everything and it almost always works...03:17
MTecknologylifeless: thanks- I just wanted to make sure there wasn't anything funky that might be messing me up03:18
joaopintohi14:16
joaopintodoes an hang where the sysrq does not respond usually means a kernel freeze ?14:16
KIAazeyes, I think so. But I'm no kernel dev.14:25
KIAazehttp://www.av8n.com/computer/htm/kernel-lockup.htm14:25
KIAazeI've been having such lockups when plugging in a USB stick: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/51448514:26
ubot3Malone bug 514485 in linux "kernel lockup when plugging in USB stick" [Undecided,New] 14:26
KIAazeswitched to Gnome now and haven't been able to reproduce it yet.14:27
=== yofel_ is now known as yofel
MTecknologyI'm lost. I use the exact same config as what's in the generic kernel, but i still get a kernel panic on boot and an error about not being able to find sda2 (root=/dev/sda2)21:34
* abogani waves21:41
aboganiI'm looking for sponsors: https://wiki.ubuntu.com/AlessioIgorBogani/linux-rtPPUApplication21:41
aboganiThanks!21:41
hyperairMTecknology: got initrd?21:42
MTecknologyhyperair: is that a kernel option that I'm not finding?21:45
aboganiMTecknology: No it is *mandatory* kernel installation step.21:46
MTecknologyabogani: I've been taking the easy route - make all modules_install install && update-grub221:47
aboganiMTecknology: Not enough21:47
MTecknologyit has been for everything up until 10.0421:47
MTecknologywhat changed?21:47
aboganiMTecknology: Some modules are modularized for improve speed at boot21:48
aboganiMTecknology: Could you see into /boot directory if you have the initrd.img-* file for you custom kernel?21:50
MTecknologythere isn't21:50
MTecknologyso I need to make the initrd.img* file21:51
aboganiMTecknology: I use this: mkinitramfs -o boot/initrd.img-$VERSION $VERSION21:51
MTecknologyIs there any way to see which modules are in the .img?21:54
MTecknologyabogani: Is there any way to see which modules are in the .img? Or anything that says which modules were put in there to decrease boot time?22:01
aboganiMTecknology: You should gunzip it and extract contents with cpio.22:02
hyperairMTecknology: make-kpkg --initrd22:07
hyperairi think there was something else you had to do22:08
hyperairSarvatt: ?22:08
aboganihyperair: AFAIK make-kpkg isn't supported on Ubuntu.22:08
hyperairit isn't?22:08
* hyperair has been using it all this time =\22:08
MTecknologyI thought initrd was just a collection of modules..22:09
hyperairnah22:09
MTecknologyI was hoping I could just change things form =m to =y and not need to worry about initrd.img-*22:09
hyperairinitrd sets up things22:09
MTecknologyI guess not22:09
hyperairincluding usplash in karmic22:09
hyperairand udev22:10
aboganihyperair is right.22:10
hyperairthere's a devfs option in the kernel you could use to avoid initrd though22:10
MTecknologyI don't see devfs in there - or does it have a different name?22:11
hyperairi forgot22:11
hyperairCONFIG_DEVTMPFS22:11
aboganiNo CONFIG_BLK_DEV_INITRD22:12
hyperairheh?22:12
hyperairwhat's that?22:12
MTecknologyPrompt: Initial RAM filesystem and RAM disk (initramfs/initrd) support22:12
aboganihyperair: Are you also in -motu?22:13
MTecknologyhyperair: instead of making you look it up :)22:13
hyperairabogani: yes i am.22:13
hyperairabogani: why?22:13
MTecknologyso if i disable those options it won't look for initrd?22:13
aboganihyperair: I recall your suggestions about my doubts about packaging so I would want thanks to you again.22:13
hyperairer i have no idea22:13
hyperairO_o22:14
* hyperair doesn't remember..22:14
hyperairbut yw anyway =)22:14
aboganiMTecknology: Don't try it. You waste your time no one in Ubuntu have tested that way.22:14
MTecknologyabogani: I can try it and then somebody will have :P22:15
MTecknologyabogani: from looking at that - I could just cp initrd.img-2.6.32-19-generic initrd.img-2.6.34-rc3 - right?22:15
* hyperair facepalms22:16
hyperairthat won't work.22:16
MTecknologyhyperair: I'm sorry :( Don't hurt yourself over me22:16
MTecknologyhyperair: I'm just a novice noob that likes mucking with things that have no business being mucked with22:17
hyperairheh22:17
hyperairwell just use the initrd22:18
hyperairwhat are you trying to achieve by dropping it?22:18
MTecknologynothing, I was just wondering if I could avoid making it by copying it22:19
hyperairwell, you know how kernel modules can't be used in another kernel?22:20
hyperairinitrds contain kernel modules, naturally they can't be used in another kernel22:21
hyperairif you have no modules at all, then maybe it can be copied22:21
MTecknologyoh22:21
hyperairbut anyway initrd is basically a temporary root22:21
hyperairthat bootstraps everything and then moves to the real root22:21
MTecknologywhat benefits are there in that?22:22
MTecknologyhyperair: I'm not trying to say it shouldn't be there - I'm jsut curious what it offers22:23
hyperairMTecknology: well, for stuff like lvm and cryptostuff, the kernel cannot boot directly using those as some setup needs to be done in userspace.22:34
hyperairMTecknology: also, i'm sure you know that you can't fsck a filesystem while it's mounted22:34
MTecknologyya22:35
MTecknologyok, that makes sense22:35
MTecknologyhyperair: so you could have your entire drive on one lvm volume and boot from it wtih initrd?22:37
hyperairMTecknology: right. but you need /boot in ext4/ext3 or something supported by grub, for example22:45
hyperairas long as the initrd can be supplied22:45
MTecknologyhyperair: cool22:47
MTecknologyhyperair: heh - I tried without initrd and the only issue with that /dev/mapper/cryptswap1 and lvm volumes won't mount, nee to run mount /home, mount /misc, etc. manually and there's no errors22:58
hyperairheh, see? =p22:58
hyperairMTecknology: besides, i think ubuntu's boot process is engineered around the fact that you have an initrd, so it might not work properly if you don't.22:59
MTecknologyhyperair: I wouldn't even use lvm if I didn't have to deal with having windows on the drive23:03
MTecknologyhyperair: nifty stuff23:17
joaopintosysrq not responding indicates a kernel hang ?23:38

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