/srv/irclogs.ubuntu.com/2008/06/27/#ubuntu-kernel.txt

=== asac_ is now known as asac
ceekaytrying to understand how kexec/kdump works and hoping someone might be able to help me out... when i try to kexec -p /vmlinuz --initrd=/initrd --append=root=/dev/sda1, i get "locate_hold failed" anyone able to point me in a direction? cat /proc/iomem shows that i have an entry for "Crash Kernel" (i booted with the crashkernel=64M@16M option)02:03
ceekaysorry "locate_hole_failed", not "hold"02:03
mkrufkyBenC: fyi, hermann tends to speak to the list in his emails moreso than to those in the to: field  ;-)02:04
BenCmkrufky: I gathered :)02:12
mkrufkyhehe02:12
BenCceekay: on intrepid, just install linux-crashdump-generic02:13
BenCceekay: reboot, and all is good02:13
ceekaybenc: I'm trying to backport to 7.04 if that is at all possible :\02:13
ceekayrather, trying to understand if it is possible02:13
ceekayjust pulled the source pkg kexec-tools (20070330-4ubuntu3) from hardy02:14
BenCceekay: IIRC, 7.04 kexec is broken :)02:14
ceekayit compiles and installs... but i guess the question i'd need to ask here, is does the kernel support it or how can i find out02:14
BenCkexec and/or the kernel02:14
ceekayeek02:15
ceekaythere a way i can check?02:15
BenCthe kernel supports it, but it's not working02:15
BenCceekay: if you get the above error, then it doesn't work02:15
BenCceekay: the kernel supports it, else you wouldn't see the entry in /proc/iomem02:15
ceekayso is a newer kexec-tools not going to resolve this issue? it's broken in 2.6.20-16?02:16
ceekayrather in the kernel itself, not just the kexec tools02:16
BenCright02:17
ceekayquick way to find out i guess... i just ran kexec -p..etcetc... using the new kexec tools package, i didn't get the "locate_hole_failed" error... hit alt+sysrq+c and it appears to have just re-execed the kernel02:18
ceekaywould seem to me that it worked02:19
ceekayand i now have an 80MB living in /proc/kcore02:20
ceekayBenC: did i just prove that it works? (i don't want to get too excited here)02:21
ceekayprobably a stupid question- how can i get the vmlinux file for a released kernel package (i.e. 2.6.20-16)? do i have to download+extract the kernel source package, copy my /boot/config-2.6.20-16 to /usr/src/linux, then make?02:44
ceekaylinux-image-debug seems to have the uncompressed vmlinux but it doesn't appear to match the regular kernel02:45
rtgkirkland: everything is built in my PPA03:03
BenCceekay: sounds good to me03:24
BenCceekay: apt-get install linux-image-debug-generic03:24
BenCceekay: installs the vmlinux with debug symbols that matches the kernel03:24
ceekayBenC: hm... the program "crash" didn't seem to like it...something about mismatched banners03:34
ceekayinteresting... using the /etc/init.d/kdump defaults, kexec isn't happy... i think it's the irqpoll option on my system that causes it to get stuck in an infinite loop03:36
ceekaysorry the warning was about linux_banner, but crash seems to error out saying that /boot/vmlinux-2.6.20-16... and /var/crash/kernel.0 (dump that i copied from /dev/kcore after causing a dump)03:39
ceekaydon't match03:41
BenCceekay: probably your kernel is not the latest one, run apt-get update03:46
ceekayBenC: both packages say 2.6.20-16.35 :\03:47
ceekayi know 2.6.20-17 is out, but as long as these two packages match versions seems like it should work03:48
BenCceekay: sounds like you have something askew on your system03:49
ceekayquite probable03:49
BenCceekay: the -debug package is the vmlinux that was used to build the standard vmlinuz kernel03:49
BenCit's not even a separate build, it's an exact match03:49
ceekayBenC: one last question for you.. looking at https://launchpad.net/ubuntu/+source/kexec-tools it appears that you did the scripts to copy the dumpfile somewhere... if i'm looking to backport this to 7.04, is this something that's only in the 8.10 initrd's?03:50
BenCceekay: you will need kexec-tools, grub and makedumpfile from intrepid03:51
ceekaynoticing the boot flag kdump_needed that gets added by /etc/init.d/kdump to the kexec on panic APPEND line03:51
ceekayah, hadn't realized makedumpfile is a package03:52
BenCit's in universe in intrepid only03:52
ceekaygotcha03:52
ceekayis the new grub really necessary?03:52
BenCyeah03:52
ceekay7.04 seems to do the crashdump option correctly03:52
ceekayBenC: any specifics on what the new grub does differently?03:53
ceekaylast changelog entry i see seems to have been in 7.04 timeframe03:55
ceekayby you :)03:55
BenCceekay: the crashdump= is handled differently03:55
BenCautomatically added03:55
ceekayBenC: crashdump=1 seems to be handled the way i'd expect it to be currently... i set it to 1, run update-grub and then i get a new alt boot option that has the crashkernel64M@16M option appended to it03:58
BenCceekay: that is removed03:59
BenCbut you're free to figure it out on your own :)04:00
ceekaygotcha :)04:00
ceekaythanks so much for you help on this... looks like i have a working backport of current kexec-tools to 7.04...04:00
ceekayonly thing i really had to change was removing "irqpoll" from the append list in /etc/init.d/kdump04:01
ceekayBenC: oh and btw... my debug image does seem to work... i think i had a funky crash dump... just did a clean reboot + sysrq/alt/c, then cp /proc/vmcore /var/crash/kernel.0, now crash reads the dump file just fine :)04:05
=== thegodfather is now known as fabbione
Kanohi10:09
Kanodid somebody notice that the latest 2.6.26 snapshot (and rc6 i tested before) have got problems with dell vostro 1000?10:09
Kanoit only boots when acpi=off - a bit brutal for a laptop10:10
Kanoamd chipset with integrated Xpress 1150 gpu10:11
penfold_99is anyone here working on kvm?14:09
zulpenfold_99: #ubuntu-virt14:16
=== asac_ is now known as asac
rtgkirkland: have you talked to upstream about ecryptfs and the fact that the 'eCryptfs: remove unnecessary page decrypt call' patch did not fix the issue?14:43
kirklandrtg: i have a 10am meeting with them today14:43
kirklandrtg: that's tops on the list ;-)14:43
rtgkirkland: cool. I looked through subsequent commits for 2.6.25 and 2.6.26, but didn't see anything that might make a difference.14:44
kirklandrtg: yeah, this is bothering me14:44
Kanortg: could you add gspca to 2.6.2616:00
=== asac_ is now known as asac
rtgmdomsch: so how long should a BIOS update take on an Inspiron 1420? A00 --> A08. Its been at the 'Performing BIOS Update...' screen for over 10 minutes.16:47
Kanortg: also uvcvideo16:48
Kanortg: dos mode?16:48
rtgKano: why are you asking me? BenC is the Intrepid dud right now. I'm working on Hardy stability issues.16:49
rtgs/dud/dude/16:49
Kanobut why do you change it then?16:50
Kanowhen you look at changelog16:50
rtgKano: because we have changed roles.  Look at who has made the last dozen Intrepid commits.16:50
Kanothe last was you16:51
Kanowhen you really look there..16:51
Kanook before it was benc16:51
rtgKano: forward porting a Hardy fix doesn't count.16:51
Kano;)16:51
mkrufkyKano: can you please lobby the gspca and uvcvideo folks for an upstream merge?16:52
rtgKano: besides, it would be a hell of a lot easier to keep track of what is missing if you sent an email, or better yet a web page somewhere. IRC logs just get lost.16:52
mkrufkyKano: if they finally merge into upstream, this issue will be solved for _everybody_16:53
Kanosure, just kanotix users already test you kernels ;) and they missed em *g*16:53
mkrufkyKano: especially us v4l/dvb folks, who are constantly (incorrectly) getting support requests for those two drivers16:53
Kanoone system - dell vostro 1000 - does not boot it without acpi=off, any idea16:53
rtgnot off-hand. turn off the splash screen during boot and see where it croaks.16:54
mdomschrtg, not sure, I haven't tried on one of those16:54
Kanowell you dont see much16:55
mdomschrtg, generally not quite that long though; several minutes, but not 10+16:55
rtgmdomsch: its still flashing. drat. I hope its not toasterized.16:55
Kanoi guess it has already problems to access hd16:55
Kanodue to missing irqs16:56
johanbrI updated the bios on my 1420 and it didn't take long at all. I didn't time it, but it didn't seem to be longer than a minute.16:56
rtgmdomsch, johanbr - this is one of the original prototypes, so maybe it has other issues.16:56
rtgwell, it power cycled OK, but its still at A00.16:59
rtgguess I'll leave it be.16:59
BenCKano: already said those drivers will get into 2.6.26, then the priority is there17:00
Kanowell whats your priority?17:00
BenCKano: bugging us about it doesn't make it happen any faster17:00
BenCKano: my priority is getting the tree stable...and I can't even make an upload till after alpha 1, so there's no rush17:00
Kanowhen is alapha1 planned?17:01
BenCKano: priority right now is stability and required drivers for booting and testing17:01
BenCKano: was supposed to be by today, but I haven't been updated on the progress in a few days17:02
Kanoi already made a live cd with 2.6.26, no problem booting17:02
BenCKano: as we've explained before, our criteria for a milestone CD != the same priority for yours17:02
BenCwe have milestoned bugs that need to get fixed first, and we have way more testing to do than "boots for Kano"17:03
mkrufkyBenC: when should I plan to have my LUM stuff for intrepid ready to pass on to you?17:03
BenCmkrufky: if by lum you mean ubuntu/ in the main tree, then give me something to pull from :)17:03
mkrufkyi'm imagining i have a month yet before it matters at all17:03
Kanomkrufky: i thought it is just patched now in like in 2.6.22?17:04
mkrufkyKano: correct, i said LUM by accident17:04
BenCmkrufky: just be aware of the milestones and freezes17:04
BenCmkrufky: initial code drop should be soon, easier to justify patches late in the cycle than full drivers17:04
mkrufkyBenC: ok, in that case, is it OK if I wait for 2.6.26 upstream release first?  If my hvr950q performance tweaks get in to 2.6.26, then it will be less changes that I'll have for you17:05
BenCmkrufky: Sure, I would think 2.6.26 release would be within a couple weeks timeframe17:05
tseliotKano: why don't you use DKMS with gspca and uvcvideo (with the sources from upstream) until the kernel team updates the drivers? It should be trivial to do so.17:06
mkrufkyyes... hopefully within the week.  Linus took a vacation (i think) and he hopes to not push out another -rc17:06
mdomschrtg, you might try using 'biosdisk' from http://linux.dell.com/projects.shtml#biosdisk, and an EXE from support.dell.com17:06
rtgmdomsch: k.17:07
Kanotseliot: i use something else, just mentioned that these driver are not there where i expected em17:07
tseliotKano: ah, ok17:08
Kanobut as they easyly compile they should be simple to add, not really much time consuming i think17:08
Kanoyou discuss longer then it actually takes time17:09
BenCKano: it's not the time, it's working on something that isn't as important as the other things I'm working on17:21
* BenC stops explaining priorities to Kano17:21
BenCLet's make it simple, if I worked on everything that everyone pointed me to that was "simple and quick" it would probably take me 3 weeks to complete all those "simple and quick" tasks17:22
BenCall the while, the difficult, and more important things wouldn't get done17:23
Kanowhen i do the patch,will you add it?17:23
BenCKano: it will take me the same amount of time to import your patch as it would for me to cp -a the driver over and add it to the build, so no17:23
=== mkrufky is now known as mkrufky-lunch
UlfJackhi18:38
UlfJackwhat's the right way to debug a freeze? i've searched on google, but havn't come up with anything definitive. kern.log is empty and the crashdump kernels don't seem to do anything either...18:47
rtgUlfJack: perhaps minimize the number of devices that you have active?18:50
UlfJackmemtest passes, and xp seems to run stable as well...18:52
rtgUlfJack: since your IRC sessions comes and goes, I suspect you have a wireless device.18:53
UlfJacki've had to reboot because it freezes18:53
rtgUlfJack: 'it' being a wireless device?18:53
UlfJackno, i'm connected via cable18:54
UlfJackthe laptop has a built-in wireless card, but that never worked, so it's switched off in the bios18:55
UlfJackno overclocking, no restricted drivers, i'm trying to narrow it down, but i'm totally stumped19:00
UlfJacki'm not doing anything specific, it just freezes randomly - it doesn't seem to make a difference if i'm using firefox, openoffice, freecell, or just a console19:02
BenCUlfJack: running what version of Ubuntu?19:03
UlfJack8.0419:03
UlfJackit happens with the -17, the -19, and the -rt kernels19:04
UlfJackhmm, maybe i should reinstall -18 to see if it freezes too19:05
BenCUlfJack: likely wont help19:05
UlfJackcompositing is disabled, too19:06
BenCUlfJack: try running with no network for a bit19:06
UlfJackit also crashes when the network cable is disconnected (in my experience, i didn't just pull the cable ;)19:10
UlfJacki had it crash on me spectacularly when i tried to give a presentation the other day :(19:11
BenCodd19:13
BenCis it a solid lock, or do the caps/num lock leds blink?19:13
BenCBTW, anyone interested, 2.6.26-3.7 is about to be uploaded19:14
UlfJacki'm sorry for the load of join/quit messages, but i have to reboot every 5 min it seems :(19:15
johanbrWhat's your laptop model?19:16
BenCUlfJack: is it a solid lock, or do the caps/num lock leds blink?19:17
UlfJackit's an old lifebook s60, 1 GHz, 512 MB19:17
UlfJackthey don't blink, it just stops (no change on the screen) and ignores alls keyboard/mouse input19:18
johanbrHave you found *any* kernel that's stable?19:20
UlfJackiirc 7.10 was running stable19:20
BenCUlfJack: have you tried switching to console and waiting to see if the hang still occurs? Maybe get some output that way19:21
BenCmake sure to boot without the quiet kernel option19:21
UlfJackdoes quiet make a difference for console output on crash/freeze?19:25
=== mkrufk1 is now known as mkrufky
=== mkrufk1 is now known as mkrufky
=== mkrufky is now known as Guest25652
=== mkrufk1 is now known as mkrufky
UlfJackof course now it doesn't freeze :(20:28
UlfJackoh well, off to bed20:28
Kanohi rtg , BenC , do you want to see a pic with the error of the vostro 1000?22:52
ceekayBenC: after all that advice yesterday (and my excitement that it was working), i can't seem to get kdump working on another one of my systems running (the one i _need_ it to work on)... seems to kernel panic when loading the capture kernel... i see "unknown_bootoption" in the stack trace and everything else above that seems to sound like initial filesystem sync/load. guess i may have to take back my "kdump works on 7.04" statement... any thoug22:54
=== johanbr_ is now known as johanbr

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