Re: 17 Powerbook fan turns on when starting into Ubuntu Dapper

2006-08-16 Thread Adam D
BXrge Holen wrote:
 On Wednesday 16 August 2006 05:31, Adam D wrote:
 Sven Luther wrote:
 On Fri, Aug 11, 2006 at 12:32:34AM +0200, Børge Holen wrote:
 On Friday 11 August 2006 00:17, Adam D wrote:
 Adam D wrote:
 BXrge Holen wrote:
 On Thursday 10 August 2006 23:53, Adam D wrote:
 OK,  I decided to just install Ubuntu on the 2nd Gen 17 powerbook
 with ext3 as the file system and it works for now instead of booting
 into xfs.

 Upon startup and starting the network interfaces and then the
 portmap the fan turns on full throttle and spins for a while. It is
 semi loud and is rather annoying.   Is there a way not to have the
 fan spin when booting into Ubunto on startup?
 Is the fan a problem? As in; a fault that make it spin, instead of
 temp.? Anyway, I believe I had some sort of unagreement with my fan
 together with kernel 2.6.8, while at it, I'm not completely sure.

 -Adam
 Guess one would say it is not a problem however when booting into OSX
 the fan does not turn on unless of something really pushing the CPU
 hard.  On Ubuntu the fan is extremely sensitive and turns on with the
 slightest thing running.
 Yes, that could be what I mentioned, I installed debian testing and a
 vanilla kernel, problem solved.
 Can you file a bug report, including a diff of your .config and the
 debian stock one, as well as the version used ?

 Friendly,

 Sven Luther
 I am sorry for taking a bit long to list what I am been doing.  I have been
 trying many different scenarios and using different Debian Install disks. 
 Every Debian install disk has graphic issues when starting into Debian.  As
 soon as the kernel boots I get funky graphic lines that wave on the screen.
  I don't get any of this when using the Ubuntu install disk at all.  I just
 downloaded the latest reversion of Debian and burned the disk. 
 http://cdimage.debian.org/debian-cd/3.1_r2/powerpc/iso-cd/  But I can't any
 choice in yaboot that will give me a proper kernel to boot from.

 Is there something I can do because this is my 2nd powerbook that is very
 temperamental in using Linux and it is very frustrating.  All my G3s (bw),
 G4s, and G4 xserv all do very well and are running as servers and
 workstations quite nicely all the time.

 Stats:

 Machine Name:PowerBook G4 17
 Machine Model:   Powerbook5.5
 CPU Type:PowerPc G4 (1,1)
 CPU Speed:   1.5 GHz
 L2 Cache (per CPU):  512KB
 Memory:  2G
 Bus Speed:   167 MHz
 Boot Rom Version:4.86f0


 It was taking me some extra time because I have been trying to install a
 Debian system and use that so I can compare my configs compiled on Debian
 instead of Ubuntu with Debian's stock kernel.

 Is there a way I can not have any graphic distortion with lines scrolling
 up on the center of the monitor.

 -Adam
 
 Kmail seems to be workin' in debian again... ok, here is my .config file for 
 the kernel. And no flickering.
 
 Børge
 
 


Borge,  thank you very much.  :)  That had helped out perfectly.  I just made a 
few changes with file systems but it worked like it should :).   Now I can get 
back to business with the box and get it configured to the liking.

Another question:  Has people been able to get the keyboard to light up in 
Linux for the 17 PB?


Thanks,
-Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 17 Powerbook fan turns on when starting into Ubuntu Dapper

2006-08-16 Thread Adam D
Rick Thomas wrote:
 
 On Aug 15, 2006, at 11:31 PM, Adam D wrote:
 
 Every Debian install disk has graphic issues when starting into
 Debian.  As soon as the kernel boots I get funky graphic lines that
 wave on the screen.  I don't get any of this when using the Ubuntu
 install disk at all.
 
 Does this web page from the Linux PowerPC FAQ-O-Matic help any?
 
 http://www.jonh.net/lppcfom-serve/cache/1043.html
 


Not for what I am experiencing but that is a good reference for info I can use 
on older boxes.  Thank you.

-Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 17 Powerbook fan turns on when starting into Ubuntu Dapper

2006-08-16 Thread Børge Holen
On Wednesday 16 August 2006 08:07, Adam D wrote:
  On Wednesday 16 August 2006 05:31, Adam D wrote:
  Sven Luther wrote:
  On Fri, Aug 11, 2006 at 12:32:34AM +0200, Børge Holen wrote:
  On Friday 11 August 2006 00:17, Adam D wrote:
  Adam D wrote:
  BXrge Holen wrote:
  On Thursday 10 August 2006 23:53, Adam D wrote:
  OK,  I decided to just install Ubuntu on the 2nd Gen 17 powerbook
  with ext3 as the file system and it works for now instead of
  booting into xfs.
 
  Upon startup and starting the network interfaces and then the
  portmap the fan turns on full throttle and spins for a while. It
  is semi loud and is rather annoying.   Is there a way not to have
  the fan spin when booting into Ubunto on startup?
 
  Is the fan a problem? As in; a fault that make it spin, instead of
  temp.? Anyway, I believe I had some sort of unagreement with my fan
  together with kernel 2.6.8, while at it, I'm not completely sure.
 
  -Adam
 
  Guess one would say it is not a problem however when booting into
  OSX the fan does not turn on unless of something really pushing the
  CPU hard.  On Ubuntu the fan is extremely sensitive and turns on
  with the slightest thing running.
 
  Yes, that could be what I mentioned, I installed debian testing and a
  vanilla kernel, problem solved.
 
  Can you file a bug report, including a diff of your .config and the
  debian stock one, as well as the version used ?
 
  Friendly,
 
  Sven Luther
 
  I am sorry for taking a bit long to list what I am been doing.  I have
  been trying many different scenarios and using different Debian Install
  disks. Every Debian install disk has graphic issues when starting into
  Debian.  As soon as the kernel boots I get funky graphic lines that wave
  on the screen. I don't get any of this when using the Ubuntu install
  disk at all.  I just downloaded the latest reversion of Debian and
  burned the disk.
  http://cdimage.debian.org/debian-cd/3.1_r2/powerpc/iso-cd/  But I can't
  any choice in yaboot that will give me a proper kernel to boot from.
 
  Is there something I can do because this is my 2nd powerbook that is
  very temperamental in using Linux and it is very frustrating.  All my
  G3s (bw), G4s, and G4 xserv all do very well and are running as servers
  and workstations quite nicely all the time.
 
  Stats:
 
  Machine Name:PowerBook G4 17
  Machine Model:   Powerbook5.5
  CPU Type:PowerPc G4 (1,1)
  CPU Speed:   1.5 GHz
  L2 Cache (per CPU):  512KB
  Memory:  2G
  Bus Speed:   167 MHz
  Boot Rom Version:4.86f0
 
 
  It was taking me some extra time because I have been trying to install a
  Debian system and use that so I can compare my configs compiled on
  Debian instead of Ubuntu with Debian's stock kernel.
 
  Is there a way I can not have any graphic distortion with lines
  scrolling up on the center of the monitor.
 
  -Adam
 
  Kmail seems to be workin' in debian again... ok, here is my .config file
  for the kernel. And no flickering.
 
  Børge

 Borge,  thank you very much.  :)  That had helped out perfectly.  I just
 made a few changes with file systems but it worked like it should :).   Now
 I can get back to business with the box and get it configured to the
 liking.

 Another question:  Has people been able to get the keyboard to light up in
 Linux for the 17 PB?


 Thanks,
 -Adam

Everything on the 17 works! except the modem. you need the pbbuttons package 
to fix the lightning.

Børge

-- 
---
Børge
Kennel Arivene 
http://www.arivene.net
---



Re: make `caps_lock' behave as `control' ?

2006-08-16 Thread Andy Wingo
On Mon, 2006-08-14 at 20:59 +0800, William wrote:
 Hi,
 
 Tried various ways to make `caps_lock' key behave as `control' on my
 ibook G4, but never succeed. I've made `caps_lock' report as Control_L
 in xev, but seems it still has no effect.

You have to recompile your kernel :/

http://lists.debian.org/debian-powerpc/2005/12/msg00214.html

If you feel like hacking, you can port adb to sysfs, which would allow
this functionality to be committed upstream :)

Regards,

Andy.
-- 
http://wingolog.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: PowerPC paxtest results w/ gcc-4.1

2006-08-16 Thread Gabriel Paubert
On Tue, Aug 15, 2006 at 01:59:05PM +1000, Paul Mackerras wrote:
 Matt Sealey writes:
 
  Book I compatible PowerPC's have had a no-executable bit in
  the page protection flags since the dark ages.. see page 7-38
  and 7-39 of the 'Programming Environments Manual for 32-Bit
  Microprocessors'.. this document predates even the G3.
 
 What are you referring to?  I have a copy of the PEM from pre-G3 days,
 and a copy that I downloaded just now, and neither of them have an N
 bit in the PTE (and yes I just looked carefully through pages 7-38 and
 7-39).
 
 There is an N bit in the segment register format, and that's what
 Albert is using.
 
  As far as the documentation goes, you can make the page
  readable and writable to the LSU, but the N bit causes the
  instruction fetch to cause a machine check. That's pretty
  not-executable to me at least :)
 
 A machine check is nasty, because it may not be recoverable...

I agree, but I don't know why you believe it would cause 
a machine check (0x200): from my docs, it is an ISI (0x400). 

BTW, there is one way to make pages non executable: mark
them as guarded, but it will have a significant cost in
terms of performance. 

I never understood why PTE entries waste 4 bits (WIMG)
for effectively very few valid combinations.

Regards,
Gabriel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: PowerPC paxtest results w/ gcc-4.1

2006-08-16 Thread Paul Mackerras
Gabriel Paubert writes:

 I agree, but I don't know why you believe it would cause 
 a machine check (0x200): from my docs, it is an ISI (0x400). 

I don't believe it would cause a machine check either, but that is
what Matt Sealey was saying.  I don't know where he got that idea.

 BTW, there is one way to make pages non executable: mark
 them as guarded, but it will have a significant cost in
 terms of performance. 

Indeed.  I guess we could do that as a config option for machines that
really want maximum security at the expense of performance, but I
don't think all users would want that.

Paul.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 17 Powerbook fan turns on when starting into Ubuntu Dapper

2006-08-16 Thread Sven Luther
On Tue, Aug 15, 2006 at 08:31:39PM -0700, Adam D wrote:
  Can you file a bug report, including a diff of your .config and the debian
  stock one, as well as the version used ?
  
  Friendly,
  
  Sven Luther
  
  
 
 I am sorry for taking a bit long to list what I am been doing.  I have been 
 trying many different scenarios and using different Debian Install disks.  
 Every Debian install disk has graphic issues when starting into Debian.  As 
 soon as the kernel boots I get funky graphic lines that wave on the screen.  
 I don't get any of this when using the Ubuntu install disk at all.  I just 
 downloaded the latest reversion of Debian and burned the disk.  
 http://cdimage.debian.org/debian-cd/3.1_r2/powerpc/iso-cd/  But I can't any 
 choice in yaboot that will give me a proper kernel to boot from.  

Notice, that you should try the etch/beta3 installer, which has a much better
chance to work on your probably radeon 9700 or so graphic card.

 Is there something I can do because this is my 2nd powerbook that is very 
 temperamental in using Linux and it is very frustrating.  All my G3s (bw), 
 G4s, and G4 xserv all do very well and are running as servers and 
 workstations quite nicely all the time.
 
 Stats:
 
 Machine Name: PowerBook G4 17
 Machine Model:Powerbook5.5
 CPU Type: PowerPc G4 (1,1)
 CPU Speed:1.5 GHz
 L2 Cache (per CPU):   512KB
 Memory:   2G
 Bus Speed:167 MHz
 Boot Rom Version: 4.86f0
 
 
 It was taking me some extra time because I have been trying to install a 
 Debian system and use that so I can compare my configs compiled on Debian 
 instead of Ubuntu with Debian's stock kernel.
 
 Is there a way I can not have any graphic distortion with lines scrolling up 
 on the center of the monitor.

Please, oh please, file a bug report about this issue, writing it to me
personally and/or the mailing list, will make it lost in the noise rather
quickly.

For instructions on how to file a bug report, please :

apt-get reportbug
reportbug linux-2.6

(or mail the report directly to [EMAIL PROTECTED], and use Package: linux-2.6 
as the first line of the body).

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: PowerPC paxtest results w/ gcc-4.1

2006-08-16 Thread Albert Cahalan

On 8/16/06, Paul Mackerras [EMAIL PROTECTED] wrote:

Gabriel Paubert writes:



 BTW, there is one way to make pages non executable: mark
 them as guarded, but it will have a significant cost in
 terms of performance.

Indeed.  I guess we could do that as a config option for machines that
really want maximum security at the expense of performance, but I
don't think all users would want that.


On the other hand, if you want to squeeze some performance
out of the chip, turn off coherency. (probably not for SMP)

I've done it before, with a non-Linux OS. It does help.

Other tricks are to map userspace via BATs and, on the 7410
at least, to map half or all of the outermost cache memory as
a special block of high-speed memory.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: PowerPC paxtest results w/ gcc-4.1

2006-08-16 Thread Segher Boessenkool

I never understood why PTE entries waste 4 bits (WIMG)
for effectively very few valid combinations.


The only invalid combinations are WI=11 -- if you know of
a way to fit 12 combinations in fewer than 4 bits, let us
know :-)

Not all of those 12 are very useful, of course.


Segher


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [PATCH] no-execute -- please test

2006-08-16 Thread Benjamin Herrenschmidt

 We have a bit per page that says if the page is icache dirty or not.
 On machines with no-execute support, we already avoid flushing the
 page until some process first tries to execute from it.  If we
 extended that to this scheme, when we made a segment executable, we
 would have to find and flush all icache-dirty pages in the segment (up
 to 65536 pages).  We wouldn't want to do that every time we made a
 segment executable - it would need to be optimized (e.g. keep a count
 per segment of icache-dirty pages in the segment).

Note that we need to change the icache flush mecanism anyway as it's
always been racy on ppc32 SMP (though very few people noticed so far :)
and ppc64 SMP with  POWER3 CPUs (without N bit).

Ben.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: SCSI/Firewire in alu-book 5,8 not working

2006-08-16 Thread Benjamin Herrenschmidt
On Sat, 2006-08-12 at 00:26 +0200, Wolfgang Pfeiffer wrote:
 On Sat, Aug 12, 2006 at 12:21:53AM +0200, Wolfgang Pfeiffer wrote:
  
  Sorry: In my first message I made a mistake in the subject line: It's
  corrected in this one ...
  
 
 Still BS: I can only talk for the 5,8 one, *not* for the 5,6 one  ...
  ... :/
 
 Sorry #2.

Report this to the linux-1394 mailing list

Cheers,
Ben.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]