Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6 Kernel Config
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
Colddiver
n00b
n00b


Joined: 06 Feb 2003
Posts: 22
Location: Canada

PostPosted: Thu Apr 15, 2004 11:42 am    Post subject: 2.6 Kernel Config Reply with quote

Hello,

I managed to install the latest Gentoo and the 2.6.4-pegasos0 kernel on my 1 GHz TiBook. I<ve got most things working but I still have some issues. I found some hints here on this list but somethings keep eluding me.

1. 3-button emulation under X
I have it setup but it does not seem to work. I was using YellowDog Linux before I switched to Gentoo and the button emulation was done via the F keys (F10-F11 if I recall correctly). It does not seem to work here.

2. Keymap (X again)
Anybody know what is the best keymap to use for a French Canadian Keyboard on a TiBook?

3. Sleep
I haven't figured how to configure the kernel to allow the powerbook to sleep properly. Right now, it does not sleep at all. I did turn on several power management features of the kernel but something seems to be missing.

4. Sound
I have enabled both ALSA and dmasound in the kernel config. I also added some modules in the autoload config but I still have no sound. I would need a list of all the things needed to get sound working either with ALSA or dmasound.

5. Hotplug
I also have an athlon XP Gentoo box. I used genkernel to create a 2.6 kernel that probes and autodetect devices. Is there anyway to do something similar on the PPC platform?

6. OpenOffice
I never got it to compile. I tried a few different versions, including the ximian ones but the build always failed. I installed it by downloading the binary installer from www.openoffice.org but I would like to know why it failed all the time. I also have build failures on a fairly regular basis. I switched my make.conf flags to:

CFLAGS="-O3 -mcpu=7450 -maltivec -mabi=altivec -pipe -fsigned-char -mpowerpc-gfxopt -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"

after reading some posts on this list. This did not help in building OpenOffice though.

Thanks,

Colddiver
Back to top
View user's profile Send private message
SeJo
Retired Dev
Retired Dev


Joined: 08 Oct 2002
Posts: 298
Location: Belgium

PostPosted: Thu Apr 15, 2004 12:10 pm    Post subject: Re: 2.6 Kernel Config Reply with quote

Colddiver wrote:
Hello,

I managed to install the latest Gentoo and the 2.6.4-pegasos0 kernel on my 1 GHz TiBook. I<ve got most things working but I still have some issues. I found some hints here on this list but somethings keep eluding me.

1. 3-button emulation under X
I have it setup but it does not seem to work. I was using YellowDog Linux before I switched to Gentoo and the button emulation was done via the F keys (F10-F11 if I recall correctly). It does not seem to work here.

this is done by the pbbuttonsd, emerge that one... also check the pppc faq for info about it
Colddiver wrote:

2. Keymap (X again)
Anybody know what is the best keymap to use for a French Canadian Keyboard on a TiBook?

for the french keyboard (dunno if it's the same as the canadian one) use this one: http://dev.gentoo.org/~sejo/mac-be-PPC.map.gz
Colddiver wrote:

3. Sleep
I haven't figured how to configure the kernel to allow the powerbook to sleep properly. Right now, it does not sleep at all. I did turn on several power management features of the kernel but something seems to be missing.

try emerging pmud and using it again check the PPC FAQ
Colddiver wrote:

4. Sound
I have enabled both ALSA and dmasound in the kernel config. I also added some modules in the autoload config but I still have no sound. I would need a list of all the things needed to get sound working either with ALSA or dmasound.

check the alsa guide...
Colddiver wrote:

5. Hotplug
I also have an athlon XP Gentoo box. I used genkernel to create a 2.6 kernel that probes and autodetect devices. Is there anyway to do something similar on the PPC platform?

there is a genkernel for ppc
Colddiver wrote:

6. OpenOffice
I never got it to compile. I tried a few different versions, including the ximian ones but the build always failed. I installed it by downloading the binary installer from www.openoffice.org but I would like to know why it failed all the time. I also have build failures on a fairly regular basis. I switched my make.conf flags to:

CFLAGS="-O3 -mcpu=7450 -maltivec -mabi=altivec -pipe -fsigned-char -mpowerpc-gfxopt -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
after reading some posts on this list. This did not help in building OpenOffice though.

I use the bin so can't help
Colddiver wrote:


Thanks,

Colddiver

no problem, next time do read the faq... that's where it is there for.

greetings
_________________
"I am not bound to please thee with my answers."
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Thu Apr 15, 2004 12:35 pm    Post subject: Re: 2.6 Kernel Config Reply with quote

SeJo wrote:
Colddiver wrote:

3. Sleep
I haven't figured how to configure the kernel to allow the powerbook to sleep properly. Right now, it does not sleep at all. I did turn on several power management features of the kernel but something seems to be missing.

try emerging pmud and using it again check the PPC FAQ


pmud doesn't work with 2.6.x. I suspect you meant pbbuttonsd, with the 'replace pmud' option set.
Back to top
View user's profile Send private message
SeJo
Retired Dev
Retired Dev


Joined: 08 Oct 2002
Posts: 298
Location: Belgium

PostPosted: Thu Apr 15, 2004 12:59 pm    Post subject: Reply with quote

linux powke 2.6.4
/etc/init.d/pmud status
* status: started
/etc/init.d/pbbuttonsd status
* status: started

works with me :p
_________________
"I am not bound to please thee with my answers."
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Thu Apr 15, 2004 1:12 pm    Post subject: Reply with quote

SeJo wrote:
linux powke 2.6.4
/etc/init.d/pmud status
* status: started
/etc/init.d/pbbuttonsd status
* status: started

works with me :p


Interesting. When I first tried 2.6.1 on ppc, I tried running it and every time the pmud process exited as soon as it started, without reporting any error. Googled a bit, checked these forums, found similar reports from others, and concluded it doesn't work with 2.6.x.

Just curious -- do you have a pmud process actually running? The init script just checks whether the process started without errors, so if the daemon process exits prematurely, the 'status' from the init script won't always catch that.
Back to top
View user's profile Send private message
tomasino
Apprentice
Apprentice


Joined: 11 Feb 2004
Posts: 154
Location: Italy, Bologna

PostPosted: Thu Apr 15, 2004 2:10 pm    Post subject: Re: 2.6 Kernel Config Reply with quote

Colddiver wrote:


6. OpenOffice
I never got it to compile. I tried a few different versions, including the ximian ones but the build always failed. I installed it by downloading the binary installer from www.openoffice.org but I would like to know why it failed all the time. I also have build failures on a fairly regular basis. I switched my make.conf flags to:

CFLAGS="-O3 -mcpu=7450 -maltivec -mabi=altivec -pipe -fsigned-char -mpowerpc-gfxopt -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"

after reading some posts on this list. This did not help in building OpenOffice though.


I know that on ppc only the ximian version compile, and in all arch using extreme flags can cause error in compiling.

I've emerged ximian-OOo1.1 with CFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -pipe -fsigned-char" and all work fine.
Back to top
View user's profile Send private message
SeJo
Retired Dev
Retired Dev


Joined: 08 Oct 2002
Posts: 298
Location: Belgium

PostPosted: Thu Apr 15, 2004 2:40 pm    Post subject: Reply with quote

ozonator wrote:


Just curious -- do you have a pmud process actually running? The init script just checks whether the process started without errors, so if the daemon process exits prematurely, the 'status' from the init script won't always catch that.


yes they are both running...
_________________
"I am not bound to please thee with my answers."
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Thu Apr 15, 2004 3:11 pm    Post subject: Reply with quote

SeJo wrote:
ozonator wrote:


Just curious -- do you have a pmud process actually running? The init script just checks whether the process started without errors, so if the daemon process exits prematurely, the 'status' from the init script won't always catch that.


yes they are both running...


Thanks for the info. For now, pbbuttonsd provides what I need for power management (except, perhaps, the 'snooze' command), but maybe I'll give pmud another try sometime.
Back to top
View user's profile Send private message
Colddiver
n00b
n00b


Joined: 06 Feb 2003
Posts: 22
Location: Canada

PostPosted: Thu Apr 15, 2004 7:13 pm    Post subject: Re: 2.6 Kernel Config Reply with quote

Quote:
this is done by the pbbuttonsd, emerge that one... also check the pppc faq for info about it


Looks like I forgot to emerge powerprefs... I will give this a try.

Quote:
for the french keyboard (dunno if it's the same as the canadian one) use this one: http://dev.gentoo.org/~sejo/mac-be-PPC.map.gz


I'm gonna have to give this a try... Last time I tried this, I got a really messed-up layout and I couldn't type anything.

Quote:
try emerging pmud and using it again check the PPC FAQ


I read elsewhere that pmud was not working under 2.6 kernel. Some people provided various suggestions below so I will give these a try.


Quote:
there is a genkernel for ppc


Last time I tried it, it didn't do what it was supposed to do (i.e. compile everything and install the kernel and initrd into /boot). I had to manually copy one of the genkernel .config file and compile afterward.

Quote:

no problem, next time do read the faq... that's where it is there for.


Well... I did read most of the docs but I found that not all of them were very ppc- or 2.6-kernel-friendly. It took me a hell of a long time to even get the kernel to boot (and I did follow the install instructions to the letter).

One other thing that I just noticed... the df commands lists 2 entries for / which seems to indicate that my / is mounted twice (I find that to be pretty scary). I double-checked my fstab and everything looks nice (there is no mountpoint for /boot - one mountpoint for swap, /, proc, cdrom and tmpfs). Any idea what's causing this?

Thanks for all the replies!

Colddiver[/quote]
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Thu Apr 15, 2004 7:51 pm    Post subject: Re: 2.6 Kernel Config Reply with quote

Colddiver wrote:
One other thing that I just noticed... the df commands lists 2 entries for / which seems to indicate that my / is mounted twice (I find that to be pretty scary). I double-checked my fstab and everything looks nice (there is no mountpoint for /boot - one mountpoint for swap, /, proc, cdrom and tmpfs). Any idea what's causing this?


This has come up before; here's a thread that might help. It's also discussed in this thread.
Back to top
View user's profile Send private message
genfoo
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 192

PostPosted: Fri Apr 16, 2004 10:03 pm    Post subject: Re: 2.6 Kernel Config Reply with quote

Colddiver wrote:
1. 3-button emulation under X
I have it setup but it does not seem to work. I was using YellowDog Linux before I switched to Gentoo and the button emulation was done via the F keys (F10-F11 if I recall correctly). It does not seem to work here.


Also, FYI .. this is not something that's 'native' to Linux, it's just something that YDL preconfigures for you. The old ppc guide used to tell you how to do most of this sort of stuff, but they've seen fit to merge all the guides into one, and most of the PPC specific information is now gone...

that sucks for all the ppc users out there that need the answers, a lot of people worked hard on that old guide, and a lot of the information that was in there is _very_ hard to find ... most especially a lot of the oldworld information. Oldworld users seem to be left pretty much out in the cold with the latest releases of most PPC distros which sucks!
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Fri Apr 16, 2004 10:27 pm    Post subject: Re: 2.6 Kernel Config Reply with quote

genfoo wrote:
Colddiver wrote:
1. 3-button emulation under X
I have it setup but it does not seem to work. I was using YellowDog Linux before I switched to Gentoo and the button emulation was done via the F keys (F10-F11 if I recall correctly). It does not seem to work here.


Also, FYI .. this is not something that's 'native' to Linux, it's just something that YDL preconfigures for you. The old ppc guide used to tell you how to do most of this sort of stuff, but they've seen fit to merge all the guides into one, and most of the PPC specific information is now gone...


There's still lots in the PPC FAQ. This includes the mouse button emulation information, and the prerequisite kernel option needed for emulation.
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