View previous topic :: View next topic |
Author |
Message |
NegaBenji Tux's lil' helper
Joined: 08 Jun 2004 Posts: 90
|
Posted: Thu Oct 28, 2004 1:27 pm Post subject: How can I go back to my old kernel? (Getting segfaults) |
|
|
I tried out the 2.6.9-r1 kernel the other day, since it's supposed to be stable with the eciadsl modem driver - problem was the modem itself wasn't being recognized, so I want to stick with 2.6.5 until I have time to mess around getting it to work. There's just one problem - I booted back into my 2.6.5 kernel and I'm having issues.
I set it up for framebuffer support back in the day, but it never actually worked (couldn't find any images) - until now. The screen corrupts a bit, but switching to another terminal and back fixes it up. But I seem to be getting some dmesg output leaking onto the screen. And when I look at dmesg, I get this:
Code: |
bootsplash 3.1.4-2004/02/19: looking for picture.... found (1024x768, 20089 byte
s, v3).
bootsplash: status on console 0 changed to on
Unable to handle kernel paging request at virtual address d9aee032
printing eip:
c02cded8
*pde = 17d2f067
*pte = 00000000
Oops: 0000 [#1]
PREEMPT
CPU: 0
EIP: 0060:[<c02cded8>] Tainted: P
EFLAGS: 00010202 (2.6.5-gentoo-r1)
EIP is at splash_renderc+0xe8/0x1b0
eax: 00000001 ebx: d9aee032 ecx: d8986032 edx: 00000000
esi: 00000000 edi: 00000000 ebp: 0000ad55 esp: d6d5bd8c
ds: 007b es: 007b ss: 0068
Process splash.bin (pid: 6315, threadinfo=d6d5a000 task=d722d220)
Stack: 00000800 00000010 00000000 ad550000 00000000 00000000 00000001 00000010
d6c7e220 c05059b4 c05059a4 c02ce60c d9962000 c0505720 00000007 00000000
c05059a5 0000030c 00000019 00000010 00000008 00000010 00000008 d9962000
Call Trace:
[<c02ce60c>] splash_cursor+0x15c/0x260
[<c02c703b>] fbcon_cursor+0x3bb/0x400
[<c0239801>] invert_screen+0x1c1/0x1d0
[<c0236f18>] clear_selection+0x18/0x60
[<c0239d7b>] hide_cursor+0x2b/0x50
[<c023a0a5>] redraw_screen+0x1b5/0x200
[<c0239eaa>] set_origin+0x7a/0xc0
[<c023a792>] vc_resize+0x3b2/0x4e0
[<c02cb88d>] splash_status+0xfd/0x180
[<c02cbb61>] splash_write_proc+0x171/0x450
[<c0152f7e>] dentry_open+0xae/0x160
[<c0183b20>] proc_file_write+0x0/0x50
[<c0183b57>] proc_file_write+0x37/0x50
[<c0153e08>] vfs_write+0xb8/0x130
[<c0153f32>] sys_write+0x42/0x70
[<c010941b>] syscall_call+0x7/0xb
Code: 0f b7 13 90 8d 74 26 00 83 c3 02 f7 c7 40 00 00 00 74 5a 0b
<6>bootsplash 3.1.4-2004/02/19: looking for picture.... found (1024x768, 20089 bytes, v3).
bootsplash: status on console 1 changed to on
bootsplash 3.1.4-2004/02/19: looking for picture.... found (1024x768, 20089 bytes, v3).
bootsplash: status on console 2 changed to on
bootsplash 3.1.4-2004/02/19: looking for picture.... found (1024x768, 20089 bytes, v3). |
(and so on for consoles 1-5)
Not only that, I tried running qtparted the usual way and I got a Floating Point Exception. Things are really amiss, and I don't know what I need to do to get my kernel back how it was. When I used 2.6.9 a few modules were obviously missing, but I loaded them with modprobe and didn't add them to the autoload script so I could avoid any problems when I reverted to 2.6.5 I relinked the 'linux' symlink to the 2.6.5 directory, and I kept the original grub.conf entry obviously... what else has changed? And why exactly is the framebuffer background coming up for this:
Code: | title=Gentoo Linux 2.6.5
# Partition where the kernel image (or operating system) is located
root (hd0,5)
kernel /kernel-2.6.5-gentoo root=/dev/hde8 vga=791 |
Sorry this is a bit long, but I'd appreciate any help - I have no idea what's causing this. I've compiled a new kernel before (2.6.8 ) and been able to switch back with no problems... help? |
|
Back to top |
|
|
bin-doph Guru
Joined: 23 May 2003 Posts: 302
|
Posted: Thu Oct 28, 2004 2:40 pm Post subject: |
|
|
Hi,
why don't u try this. Boot with a standard live-cd. mount your drives and chroot into your system. Then remove bootsplash from any runlevels (I use gensplash, so my service name is "splash", I guess there's something similar with bootsplash). Your modules should be ok, unless you recompiled them. Since your using different kernel-versions they should be located in the approprioate directory under /lib/modules. Leave the chroot, unmount your drives and reboot.
hth
-fe _________________ perl -e '$_=q;4a75737420616e6f74686572205065726c204861636b65720as;;for(s;s;s;s;s;s;s;s;s;s;s;s){s;(..)s?;qq qprint chr 0x$1 and \161 ssq;excess;}' |
|
Back to top |
|
|
NegaBenji Tux's lil' helper
Joined: 08 Jun 2004 Posts: 90
|
Posted: Fri Oct 29, 2004 3:39 am Post subject: |
|
|
Thanks, I'll give that a go tomorrow. I'm not sure it's entirely down to the bootsplash though, that floating point exception I was getting in KDE/Xfce4 terminal windows seemed like a bad omen. I also saw some mention of 'badness' when the computer was shutting down?
I did recompile my modules, as in running 'make && make modules' when I compiled the kernel. Doesn't that build specific 2.6.9 modules though, in their own separate folder which is accessed depending on the running kernel revision? (I forget the exact path...) If recompiling them *is* causing this problem, do I just run 'make modules' from the 2.6.5 source directory to fix it all up again? |
|
Back to top |
|
|
JohnDoe Tux's lil' helper
Joined: 15 Dec 2003 Posts: 96 Location: Lisbon, Portugal
|
Posted: Sun Jan 09, 2005 9:41 pm Post subject: |
|
|
I know this is not what's under discussion here, but when I tried to make a new gateway machine I compiled a 2.6 kernel. (The older one still has a 2.4 and I've been very happy with it.)
I initially tried a hardened kernel but it still goes on the 2.6.7 version which is unstable with the driver. Then I moved to a 2.6.9-gentoo-r13 and it didn't work. It gave a "ERROR eciadsl-synch: failed to create shared semaphore" error.
Then I compiled a 2.6.9 kernel ('emerge =development-sources-2.6.9' since it already goes on the version 2.6.10) and it worked.
Don't know what the problem really is but it comes with the gentoo sources. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|