From: Krystian B. <cah...@st...> - 2003-01-09 16:53:41
|
On 8 Jan 2003, Kulwant Bhogal wrote: > Hello Krystian, > > > Hmm. It'd be more useful if you used ksymoops. > > Sorry i am a complete Linux newbie, where/how do I use ksymoops? I have never seen this before. Is it a > bootstrap commandline option? > Remember I do not get to a Linux comandline prompt when trying to start Linux > as the kernel crashes while trying to set the system clock. I can only get > to a Linux Shell when I run the installer (which doesn't crash). So try to add "root=/dev/...,rw init=/bin/sh" to kernel-options line then linux will start into raw bash shell. > > Then those magic numbers > > would change into kernel symbols. If you want to help you should: > > > 1) run kernel with "debug=mem" option > > 2) after it hangs up run "dmesg >debug.txt" from amigaos > > I can try this again, but the last time I tried this, dmesg couldn't find > anything. Can anybody help here ? > > 3) run kernel version that doesn't hang your amiga > > Where do I get a different version from? Sourceforge kernels? I find the > layout a bit confusing. My currently installed version came from a CD ISO > image that I burnt to CD and is V2.2 IIRC. Uh, I'm a bit puzzled, what's an IIRC ? Yes from there, take 2.4.13 kernel, it should work. > > 4) copy debug.txt file somewhere on your linux partition > > How do I copy from the Amigaside to the linux partition. All my attempts so > far on cross system copies have not been successful. First thing you should have partition formatted with FFS Intl. If affs module isn't compiled into kernel just insert it with insmod. Then mount it somewhere by "mount -t affs /dev/.... /mnt/..." > Is there an Amiga dev handler (or something) to allow Linux partitions to be > mounted? I could not find one on Aminet. No there isn't (as far as I know), you have to do it from linux side. > > 5) run "ksymoops -V -K -L -m System.map debug.txt >oops.txt" where > > System.map file have to be in the same version as unstable kernel (each > > compiled kernel has only one System.map, so if you compiled kernel > > yourself System.map should be somewhere in source directory, if you > > downloaded kernel from internet it should be in archive) > > Is this on the Linux side? I have to go now, but I will try this tomorrow > possibly. Yep, it's linux specific tool. If you have Debian just get it by "apt-get install ksymoops". Regards Krystian Baclawski |