Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trouble w/ kernel 2.5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Sun Nov 17, 2002 2:09 am    Post subject: Trouble w/ kernel 2.5 Reply with quote

I emergerd the development-kernel. It seems to need keyboard drivers.
I have serial i/o, Keyboards, and AT Keyboard built into the kernel. However, my generic PS/2 keyboard won't work. i8042 keyboard controller(do i even need it?) won't build. I'll make bzImage and the it'll say the kernel is up to date and i8042 keyboard controller won't be selected next time i run make menuconfig.

Also, when i boot w/ my 2.4 kernel, x won't start. It gives me undevined symbol errors in glx libs. I can use x w/ option glx cdommented out and the nv driver instad of the nvidia (accelerted) driver. I re emerged nvidia-kernel and nvidia-glx.
_________________
Aim:gsfgf0
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Nov 17, 2002 3:38 am    Post subject: Re: Trouble w/ kernel 2.5 Reply with quote

gsfgf wrote:
I re emerged nvidia-kernel and nvidia-glx.

Pay close attention to where the /usr/src/linux symlink is pointing when you do this.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Sun Nov 17, 2002 4:29 am    Post subject: Re: Trouble w/ kernel 2.5 Reply with quote

rac wrote:
gsfgf wrote:
I re emerged nvidia-kernel and nvidia-glx.

Pay close attention to where the /usr/src/linux symlink is pointing when you do this.


it's still pointing to xfs-sources. possibley a divverent version than is loadded, though, I'll update the stable kernel and see what happens

EDIT: /usr/src/linux was right. i'm takling he opportunity to update to 2.4.19 and i'll see how this works.

Does anyone have a good site/IRC channel where i can get help w/ the 2.5 kernel?
_________________
Aim:gsfgf0
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Sun Nov 17, 2002 5:19 am    Post subject: Reply with quote

i updated to the 1.4.19-xfs kernel, but i have the same problem. emerge nvidia-kernel depended on gentoo-sources, but still 2.4.19.
_________________
Aim:gsfgf0
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Sun Nov 17, 2002 9:22 am    Post subject: Reply with quote

From my attempts for trun 2.5:
yes you do need i8042 and the AT keyboard. But more important: I only succeeded in getting it right after I started the building process of my kernel with make mrproper.

For nvidia: you have to make sure the symlink /usr/src/linux is pointing towards the right kernel version you want to have it built for.
Also, pay attention to the fact that re-emerging nvidia-kernel can also remove the currently installed version of nvidia-kernel (autoclean!) .
Only version 1.0.3123-r1 works with 2.5.

I emerged nvidia kernel for my 2.5 kernel and compiled it by hand (after changing the symlink) for my 2.4 kernel.

However, this post (very interesting reading) suggests you can also use the emerge command twice to install nvidia-kernel.

BTW glxgears run 10% faster under 2.5 :)
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Nov 17, 2002 9:33 am    Post subject: Reply with quote

Thanks for the plug, but I suspect that autoclean will thwart attempts to emerge it twice, and it may never have worked in the first place. Maybe you could try something tricky like emerging it for 2.5, temporarily stashing the 2.5 /lib/modules directory somewhere safe, emerging it for 2.4 (letting Portage delete stuff in the 2.5 modules directory if it wants) and then replacing the 2.5 modules directory with the backup you made. Tough to say if that's easier than compiling one set by hand or not.

I wonder if there's a cleaner way to do this in Portage. Not that the situation comes up very often, but...
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Sun Nov 17, 2002 10:26 am    Post subject: Reply with quote

Actually,
it does come up for lm_sensors, alsa (not with 2.5, but usually), NVidia-driver, VMWare and anything else that may be kernel-related.

I did try to backup some modules from /lib/modules, but did not get it to work right away, and decided to compile them by hand (same for LM_sensors).

So I did spend some time searching for a cleaner way for this as well, but without succes. Maybe a nice enhancement request :?:
(on the other hand, clever people should keep their development stuff on another partition...)
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Sun Nov 17, 2002 4:36 pm    Post subject: Reply with quote

note: i haven't installed nvidia drivers under 2.5, just 2.4
_________________
Aim:gsfgf0
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Sun Nov 17, 2002 5:39 pm    Post subject: Reply with quote

ok, i have 2.5 running.
2 probs:
1) nvidia drivers still don't work. i did change the /usr/src/linux sumlink to point to the 2.5 dir
2) my mouse doesn't work. when i startx it says /dev/mouse: no such file or direcotory. when i ls /dev mouse shows up. when i ls /dev/mouse or /dev/m* it says /dev/mouse: no such file or directory. i have mouse, ps/2 mouse and inport/ms/atixl busmouse in the kernel. (my mouse is protocol imps/2 in xf86)/
_________________
Aim:gsfgf0
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Sun Nov 17, 2002 6:00 pm    Post subject: Reply with quote

Just checking :)
Quote:


# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set


AT keyboard and PS2 mouse. 2.5.47
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Sun Nov 17, 2002 7:11 pm    Post subject: Reply with quote

where does your /dev/mouse point to
mine oints to /dev/misc/psau which doesn't exist.
_________________
Aim:gsfgf0
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Sun Nov 17, 2002 7:53 pm    Post subject: Reply with quote

/dev/psaux.
This is also what XF86config points towards.
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Sun Nov 17, 2002 9:29 pm    Post subject: Reply with quote

Got it.
i needed the mousedev option enabled.
_________________
Aim:gsfgf0
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Mon Nov 18, 2002 4:21 am    Post subject: Reply with quote

NEW SYSTEM:
My imps/2 mouse no longer works correctly in X. When i move it the cursor jumps all over the screen and X recieves clicks all over the place.

The ps/2 touchpad (which never worked before w/ the imps/2 driver) now works fine. hmmm
_________________
Aim:gsfgf0
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Mon Nov 18, 2002 8:46 am    Post subject: Reply with quote

gsfgf wrote:
NEW SYSTEM: When i move it the cursor jumps all over the screen and X recieves clicks all over the place.


This sounds like the wrong mouse protocol in XF86config:
I'd expect two definitions in there; one for the mouse, and one for the touchpad.
What happens if you try them one by one?
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Mon Nov 18, 2002 11:39 pm    Post subject: Reply with quote

AlterEgo wrote:
gsfgf wrote:
NEW SYSTEM: When i move it the cursor jumps all over the screen and X recieves clicks all over the place.


This sounds like the wrong mouse protocol in XF86config:
I'd expect two definitions in there; one for the mouse, and one for the touchpad.
What happens if you try them one by one?


i know it sounds like bad protocols but why woukd they have changed?
And i can't use the mouse w/out the touchpad. I may try using the mouse as usb.

EDIT: Using the mouse as usb works fine. now both the touchpad and mouse work.
_________________
Aim:gsfgf0
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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