Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
G4 Fast Kernel HOWTO
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
psihodelia
n00b
n00b


Joined: 27 Dec 2006
Posts: 15

PostPosted: Tue May 29, 2007 1:16 am    Post subject: G4 Fast Kernel HOWTO Reply with quote

Hello guys,

I am about to update my kernel (which is still 2.6.17-rc4). I cannot adjust screen-brightness and sleep-mode doesn't work.

The last time I've tried to update this kernel, I've always had a lot of things didn't work.

I don't know why, but in order to get at least smth. to work good I can use only old 2.6.17 kernel :(

For example:
1) in 2.6.20 screen doesn't work
2) in 2.6.18 poor Airport Extreme wireless connection signal
3) in 2.6.19 poor Alsa microphone sound
and so far and so on ...

I am totally unhappy with all this kernels, especially it takes a lot of time to reconfigure it and to restart system about 100 times before anything start to work.

Can you please give me maybe a workable newest kernel configuration where all things are being configured in proper way and I will have all things to work properly ?

Can anyone please tell me how to update kernels ? What exactly should I emerge? Please don't give me a link to GentooManual because this stuff is covered there very badly. I know many people use different ways to update their kernels without any difficulty.

Thanks in advance!
Back to top
View user's profile Send private message
Abraxas
l33t
l33t


Joined: 25 May 2003
Posts: 807

PostPosted: Tue May 29, 2007 12:30 pm    Post subject: Reply with quote

I update my kernel like this:

1. emerge new kernel
2. delete symlink /usr/src/linux
3. symlink /usr/src/linux to new kernel source directory
4. copy old .config file to new /usr/src/linux directory
4. change directories to /usr/src/linux
5. "make oldconfig" (this will require you to configure newly introduced options)
6. "make menuconfig" to check your config and make sure that any major underlying changes didn't screw anything up like that libata situation
7. build your kernel as normal

If this is what you already do (I'm not sure because you didn't specify) then I don't know of a better way.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue May 29, 2007 3:36 pm    Post subject: Reply with quote

Airport Extreme is pretty unstable without the patches listed in the stickied thread. I can't comment on your other issues without knowing what kind of machine you've got or seeing your kernel config. That said, Abraxas' suggestion is good, this will usually result in a kernel working at least as well as your previous kernel.

Also, what is bad about the Gentoo guide? Have you checked the FAQ as well? How can I improve it without listing a complete config for each possible machine (obviously a huge waste of time for me...)?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
psihodelia
n00b
n00b


Joined: 27 Dec 2006
Posts: 15

PostPosted: Sun Jun 10, 2007 3:22 pm    Post subject: Reply with quote

Actually, I prefer to use this simple script:

/usr/src/recompile.sh

Code:

cd /usr/src/linux
make menuconfig
make
make modules_install
cp vmlinux /boot/2.6.20-gentoo-r5
#cp vmlinux /boot/2.6.15-gentoo-r5
#cp vmlinux /boot/2.6.17-gentoo-r4
#cp vmlinux /boot/2.6.19_r5
#cp vmlinux /boot/2.6.19.1
#cp vmlinux /boot/2.6.17-gentoo-r8
#cp vmlinux /boot/2.6.17.experiment
cd -

#vim /etc/yaboot.conf
#ybin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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