Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pmud issue
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
matricks
n00b
n00b


Joined: 11 Jun 2002
Posts: 1

PostPosted: Wed Jun 12, 2002 12:20 pm    Post subject: pmud issue Reply with quote

I have some problems with pmud on my PB G4 400MHz.
When i issue the command
Code:
/etc/init.d/pmud start

I just get some [ !! ] and no error messages what so ever. When I do a
Code:
# pmud -d
pmud[9673]: pmud [treshold = 420, margin = 15] started
pmud[9673]: opening /dev/adb
pmud[9673]: opening /dev/pmu
pmud[9673]: fcntl(F_SETFL)
pmud[9673]: daemon stopped (fcntl(F_SETFL))


Then I tried
Code:
# cat /dev/pmu      <<< worked
# cat /dev/adb      <<< doesn't work, IO error


any ideas ?
_________________
JEFF!
Back to top
View user's profile Send private message
Gerk
Retired Dev
Retired Dev


Joined: 07 May 2002
Posts: 435

PostPosted: Wed Jun 12, 2002 2:49 pm    Post subject: Reply with quote

This is a known kernel issue, the -r6 kernel is currently uploaded (but still masked for testing) and should solve there errors AFAIK.
Back to top
View user's profile Send private message
brady
n00b
n00b


Joined: 11 Jun 2002
Posts: 23

PostPosted: Fri Jun 21, 2002 3:12 am    Post subject: got ben? Reply with quote

rsync -avz rsync.pengiunppc.org::linux-2.4-benh /my/src/dir

benh is the master of linux-ppc. his kernel tree is your friend.

-brady
Back to top
View user's profile Send private message
soopurman
n00b
n00b


Joined: 24 Jun 2002
Posts: 4

PostPosted: Mon Jun 24, 2002 3:13 pm    Post subject: Re: got ben? Reply with quote

brady wrote:
rsync -avz rsync.pengiunppc.org::linux-2.4-benh /my/src/dir

benh is the master of linux-ppc. his kernel tree is your friend.

-brady


i did exactly this and compiled the latest benh sources with all the right .config options, but the resulting kernel gave me a horribly corrupted X display. so my question is: how can i use a benh kernel, and get it to work in my gentoo system?
the ultimate problem i am trying to solve, which is the reason i want to use ben's code, is neither pmud nor pbbuttonsd will work reliably with gentoo's ppc-sources 2.4.19-r6 for me. on going into or coming out of sleep mode, either the kernel will first print a number of error messages on a text mode virtual console (accessed a bad area, signal 11, SEGV, backtrace, etc....) and the the whole machine will completely freeze (no keyboard combination has any effect but ctrl-command-power reset), or it will skip the error message but freeze none the less. even if sleep does work, it almost always corrupts my X display. Other than these sleep mode problems, the rest of my whole installation is great.
oh, by the way, i'm on Titanium PowerBook G4 550mhz.
any help? please?

thanks . . . :)
- mike
Back to top
View user's profile Send private message
brady
n00b
n00b


Joined: 11 Jun 2002
Posts: 23

PostPosted: Thu Jul 04, 2002 6:51 pm    Post subject: i use an ibook Reply with quote

i use an ibook. my initial linux install was debian, and i had the exact same problems you speak of (pmud, video). benh is definitely a solution.

one thing to note, is when executing the rsync i mentioned above, your .config is overwritten. perhaps, your .config was overwritten, and you didnt compile with options you intended.

i spent a long time searching and testing with benh's kernels, and i have found what i think is my optimal .config. i have posted it at:

[url]
http://brady.mine.nu/kernel-conf
[/url]

it is configured for an ibook2.

if you can't get to the file, try again at night time (US Pacific). i run this webserver out of my dorm on my laptop, and sometimes i take my computer to the research lab.

hope this helps.

-brady
Back to top
View user's profile Send private message
brady
n00b
n00b


Joined: 11 Jun 2002
Posts: 23

PostPosted: Thu Jul 04, 2002 6:55 pm    Post subject: oh yes - one more thing Reply with quote

one other things concerning the video. it is absolutely critical (on an ibook2, not so sure for tibook) that you include the following in your kernel boot parameters:


    append="video=aty128fb keyboard_sends_linux_keycodes=1"


the video=aty128fb is absolutely necessary to have a correct X display on ibook2's. the keycode enty is also important, but im sure you've already figured that one out ;)

cheers!

-brady[/list]
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