Re: Is there any how-to on cross compiling kernel for ppc on x86

2004-10-28 Thread Eric C. Cooper
On Wed, Oct 27, 2004 at 08:38:22PM -0700, Shi Jin wrote: Couldn't even find my CPU family in the make xconfig menus. 1. Install the toolchain-source package and build a PPC cross-compiler. See the HOWTO in /usr/share/doc/toolchain-source. 2. make ARCH=ppc CROSS_COMPILE=powerpc-linux- xconfig

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Colin Leroy
On 28 Oct 2004 at 08h10, Benjamin Herrenschmidt wrote: Hi, lvds_gen_cntl |= LVDS_DISPLAY_DIS; OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl); lvds_gen_cntl = ~(LVDS_ON | LVDS_BLON /* | LVDS_EN | LVDS_DIGON */); OUTREG(LVDS_GEN_CNTL,

Re: problem installing linux on an IBM RS6000 44P-170 machine

2004-10-28 Thread Jens Schmalzing
Hi, Shi Jin writes: I have been working on this machine for more than a week but still not able to install linux on it. I can either boot from network using tftp or from the floppy, both using the Suse zImage.chrp-power3 image. But when the kernel loads, it looks like using frame buffer

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Colin Leroy
On 28 Oct 2004 at 07h10, Colin Leroy wrote: Hi, lvds_gen_cntl |= LVDS_DISPLAY_DIS; OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl); lvds_gen_cntl = ~(LVDS_ON | LVDS_BLON /* | LVDS_EN | LVDS_DIGON */); OUTREG(LVDS_GEN_CNTL,

Re: Frech keyboard with xfree

2004-10-28 Thread Colin Leroy
On 27 Oct 2004 at 21h10, Sven Luther wrote: Hi, The fr_new helped there, but it absolutely baffles me to see that changing the XF86Config-4 file doesn't get respected, but maybe this is a new and wonderfull gnome 2.6 feature ? It's true that gnome, since 2.6, annoys me with some keyboard

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Benjamin Herrenschmidt
On Thu, 2004-10-28 at 07:49 +0200, Colin Leroy wrote: On 28 Oct 2004 at 08h10, Benjamin Herrenschmidt wrote: Hi, lvds_gen_cntl |= LVDS_DISPLAY_DIS; OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl); lvds_gen_cntl = ~(LVDS_ON | LVDS_BLON /* | LVDS_EN

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Benjamin Herrenschmidt
On Thu, 2004-10-28 at 08:33 +0200, Colin Leroy wrote: On 28 Oct 2004 at 07h10, Colin Leroy wrote: Hi, lvds_gen_cntl |= LVDS_DISPLAY_DIS; OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl); lvds_gen_cntl = ~(LVDS_ON | LVDS_BLON /* | LVDS_EN |

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Colin Leroy
On 28 Oct 2004 at 17h10, Benjamin Herrenschmidt wrote: Hi, Hrm... the above doesn't seem very interesting :) Try not doing mode_timer, add an mdelay instead (for example mdelay(200)) before clearing ON BLON, or first clearing ON, then waiting, then clearing BLON, that sort of thing ...

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Michael Schmitz
It works perfectly here, thanks a lot! (1,5Ghz 15 AlBook) Ah, someone with a 15 Albook. Can you send me your 'lsprop /proc/device-tree' output (I'd like to know what the sensor locations are on that model, and how many fans it has). Michael

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Colin Leroy
On 28 Oct 2004 at 10h10, Colin Leroy wrote: Hi, Hrm... the above doesn't seem very interesting :) Try not doing mode_timer, add an mdelay instead (for example mdelay(200)) before clearing ON BLON, or first clearing ON, then waiting, then clearing BLON, that sort of thing ...

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Colin Leroy
On 28 Oct 2004 at 10h10, Michael Schmitz wrote: Hi Michael, It works perfectly here, thanks a lot! (1,5Ghz 15 AlBook) Ah, someone with a 15 Albook. Can you send me your 'lsprop /proc/device-tree' output (I'd like to know what the sensor locations are on that model, and how many fans it

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Alain Perry
Le jeudi 28 octobre 2004 à 10:07 +0200, Michael Schmitz a écrit : It works perfectly here, thanks a lot! (1,5Ghz 15 AlBook) Ah, someone with a 15 Albook. Can you send me your 'lsprop /proc/device-tree' output (I'd like to know what the sensor locations are on that model, and how many fans

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Sjoerd Simons
On Thu, Oct 28, 2004 at 10:07:38AM +0200, Michael Schmitz wrote: It works perfectly here, thanks a lot! (1,5Ghz 15 AlBook) Ah, someone with a 15 Albook. Can you send me your 'lsprop /proc/device-tree' output (I'd like to know what the sensor locations are on that model, and how many fans it

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Sjoerd Simons
On Thu, Oct 28, 2004 at 10:07:38AM +0200, Michael Schmitz wrote: It works perfectly here, thanks a lot! (1,5Ghz 15 AlBook) Ah, someone with a 15 Albook. Can you send me your 'lsprop /proc/device-tree' output (I'd like to know what the sensor locations are on that model, and how many fans it

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Michael Schmitz
Ah, someone with a 15 Albook. Can you send me your 'lsprop /proc/device-tree' output (I'd like to know what the sensor locations are on that model, and how many fans it has). Sure, as soon as i get home. AFAIK the 15 'Book has two Fans, one for the CPU and one for the GPU. I'll post to

Sensors in adt746x

2004-10-28 Thread Colin Leroy
On 28 Oct 2004 at 12h10, Sjoerd Simons wrote: Hi, On Thu, Oct 28, 2004 at 10:07:38AM +0200, Michael Schmitz wrote: It works perfectly here, thanks a lot! (1,5Ghz 15 AlBook) Ah, someone with a 15 Albook. Can you send me your 'lsprop /proc/device-tree' output (I'd like to know what the

Re: No Hard drive found error with mac-fdisk in install PPC debian

2004-10-28 Thread Francis Parent-Valiquette
Branden, Here's my problem and I search on this list and I did not find anything about this issue. But I find a way to solve it I just get the 2.4 Kernel precompiled from ppckernel.org I extracted it and I rename the 2.4 kernel as linux.bin and everything is working find. By the way nice doc and

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Sjoerd Simons
On Thu, Oct 28, 2004 at 08:38:52AM +1000, Benjamin Herrenschmidt wrote: On Wed, 2004-10-27 at 16:10 +0200, Sjoerd Simons wrote: the usb_bus_type struct doesn't have the rwsem member anymore, so that doesn't compile.. --- linux-2.6.9/drivers/usb/core/hub.c.susp 2004-10-27

True state of support for 12 iBook G4

2004-10-28 Thread John Goerzen
Hello, I am considering purchasing a new 12 iBook from Apple. The intent is to use this with Debian. However, in researching the state of support for this unit, I've found wildly contradictory information. So I'm wondering if someone could help clear this up for me. 1. Sleep mode. According

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Eugen Dedu
I have a PB Alu 15. I patched 2.6.9 with sleep patch and works perfectly! I have a USB mouse connected. However, when I use a Cisco CardBus network card, the screen stays black during wake up, but IMO this is a problem with Cisco driver (airo*). I say this because sometimes the computer

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Michael Schmitz
/proc/device-tree' output (I'd like to know what the sensor locations are on that model, and how many fans it has). In case it could help you, here's the one for the ibook G4 14. hwsensor-typetemperature temperature temperature

Re: Sensors in adt746x

2004-10-28 Thread Colin Leroy
On 28 Oct 2004 at 15h10, Colin Leroy wrote: Hi, Ok, looks like second sensor (temps[1]) is CPU on all ibooks and powerbooks g4... whereas third sensor (temps[2]) is rather irrelevant on powerbooks. Can you try this patch on a PB? it's against latest BK snapshot. You can apply these ones

Re: Frech keyboard with xfree

2004-10-28 Thread Frank Murphy
On Tue, 26 Oct 2004 18:02:18 +1000, Benjamin Herrenschmidt said: On Tue, 2004-10-26 at 10:12 +0200, Sven Luther wrote: I never fuly understood why you needed to rebuild the xkb module though, nor do i really know what should be the right way for it to work in the first place, never

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Colin Leroy
On 28 Oct 2004 at 14h10, Michael Schmitz wrote: Hi, I've gotten a lsprop dump from Sjoerd Simons already - the fans sort of correspond to CPU and GPU (the one being on the CPU end of the heatsink, the other on the GPU end, with another chip - the northbridge? - in between. We just don't

Problem netbooting the daily built power3 image

2004-10-28 Thread Shi Jin
HI there, There was a follow up by another thread 'problem installing linux on an IBM RS6000 44P-170 machine' but I guess more people would be interested in this test. As Jens suggested, I downloaded the vmlinuz-chrp.initrd from http://people.debian.org/~luther/d-i/images/daily/power3/netboot/ .

Problem with keyboard while installing sarge in iMac...

2004-10-28 Thread Israel Chauca
Hi everybody, I downloaded the Sarge net install CD (built 09/30/2004) to install Debian in my iMac Burgundi 333MHz. Everything starts ok, but when I get the Chose your language screen, I can't use the keyboard to change the selection or accept the current one, I don't know if the system is

Re: True state of support for 12 iBook G4

2004-10-28 Thread Jérôme Marant
Quoting John Goerzen [EMAIL PROTECTED]: Hello, I am considering purchasing a new 12 iBook from Apple. The intent is to use this with Debian. However, in researching the state of support for this unit, I've found wildly contradictory information. So I'm wondering if someone could help

kernel panic with previously working MOL OSX (Debian Sarge, iBook G4)

2004-10-28 Thread Des Johnston
I've also tried this on the MOL list, but for good measure (with apologies in advance if it is too far off-list): My MaconLinux installation was working quite happily until today, when it started generating (Darwin) kernel panics on boot. Several things have been updated on both the Debian and

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Luis Sanjuan
On Wed, Oct 27, 2004 at 03:42:48PM +1000, Benjamin Herrenschmidt wrote: Hi ! This is an experimental patch against 2.6.9. It concerns the ATI based Aluminium PowerBook. The nVidia based ones aren't concerned at all, and the iBook G4 will have to wait a bit more for me to get the video wakeup

Re: got quik working with OldWorld G3 Beige 233MHz

2004-10-28 Thread Brad Boyer
On Tue, Oct 26, 2004 at 03:50:31AM -0400, Rick Thomas wrote: I may be mistaken, but I believe that, when booting from a hard disk (not a floppy), miboot depends on having it's early stages loaded by the Apple OldWorld Boot ROM code, which needs the afore-mentioned patches to do its job.

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Michael Schmitz
the other on the GPU end, with another chip - the northbridge? - in between. We just don't have a thermal sensor on the GPU, it's like on the 17 with one sensor on the power supply instead. I sent a patch in a new thread, that implements gradual speed on the fans and starts both fans on

Re: How to set display depth in xdm?

2004-10-28 Thread Daniel R. Killoran,Ph.D.
Daniel R. Killoran,Ph.D. ([EMAIL PROTECTED]) wrote: When installing debian, I guessed wrong about the display depth. The xdm error log complains that the hardware cant support 24 bits. How can I change this to 8 bits? The man pages on xdm don't mention it. Hardware: Macintosh 9500 120

Re: kernel-image-2.4.27-powerpc-smp-pmac unstable with CONFIG_HIGHMEM=y

2004-10-28 Thread Branden Robinson
On Wed, Oct 27, 2004 at 09:36:37PM +0200, Sven Luther wrote: On Wed, Oct 27, 2004 at 12:05:19PM -0500, Branden Robinson wrote: If we're discontining support for 2.4.x kernels on PowerPC, then we should stop shipping packages for them. [...] Otherwise, support them. Sure. but it is not

Re: Frech keyboard with xfree

2004-10-28 Thread Branden Robinson
On Wed, Oct 27, 2004 at 09:47:59PM +0200, Sven Luther wrote: On Wed, Oct 27, 2004 at 12:08:02PM -0500, Branden Robinson wrote: On Mon, Oct 25, 2004 at 11:30:15PM +0200, Sven Luther wrote: the console is not major problem, but this is still utterly broken in X, and there is very little

Powerbook produces a lot more heat after kernel upgrade

2004-10-28 Thread Wouter Lueks
Hello All, Today I compiled the 2.6.9 stock kernel + Ben's suspend patch. However I am experiencing a lot of extra heet production as opposed to the 2.6.8.1 kernel. I have locked my cpu at the lowest frequency (it is fast enough), and with the 2.6.8.1 the fan was almost always off except with

Re: Sensors in adt746x

2004-10-28 Thread Georg C. Kaindl
hi, I've tried your patch, but I can't comment on the changes syncing the fans because my powerbook just has one. But when watching the behaviour of the fan speed stepping code I noticed that it happens quite often that when reducing the fan speed it will get set to values fan_speed because

Re: Processing of kernel-source-2.6.9_2.6.9-1_i386.changes

2004-10-28 Thread Jens Schmalzing
Hi, Joshua Kwan writes: On Andres' behalf let me note that while this is rotting in new, the same debs are available at http://www.acm.rpi.edu/~dilinger/kernel-source-2.6.9 And the corresponding PowerPC stuff has been tested on the machines that Sven and I are using personally, and is

Re: True state of support for 12 iBook G4

2004-10-28 Thread John Goerzen
On 2004-10-28, Jérôme Marant [EMAIL PROTECTED] wrote: Quoting John Goerzen [EMAIL PROTECTED]: Hello, I am considering purchasing a new 12 iBook from Apple. The intent is to use this with Debian. However, in researching the state of support for this unit, I've found wildly contradictory

Re: Sensors in adt746x

2004-10-28 Thread Colin Leroy
On 28 Oct 2004 at 18h10, Georg C. Kaindl wrote: Hi, But when watching the behaviour of the fan speed stepping code I noticed that it happens quite often that when reducing the fan speed it will get set to values fan_speed because of (var -2). I don't know wether this is intended but I

Re: True state of support for 12 iBook G4

2004-10-28 Thread Jrme Marant
John Goerzen [EMAIL PROTECTED] writes: Buying Apple hardware is often a bad choice regarding linux support. I bought an iBook 2 years ago because the ratio quality/price was good, but these days, there are much nicer alternatives in the x86 world. Perhaps you have a recommendation for me

pmdisk-2.6.9

2004-10-28 Thread Sam Halliday
hi there, i noticed that http://honk.physik.uni-konstanz.de/~agx/linux-ppc/kernel/pmdisk-2.6.9-rc1.diff does not apply cleanly to a 2.6.9 tree; does anyone have a 2.6.9 patch? i'm currently trying to set up suspend-to-disk on my iBook G4 (i noticed benh is working on sleep support :-D), but i

Re: OF Patching on 8500

2004-10-28 Thread Mich Lanners
Hi, On 27 Oct, this message from Gavin Sandie echoed through cyberspace: I've got an PowerPC 8500 which quite happily runs debianppc. [snip] My problem is that I have never been able to see the OF screen, from what I've read I need to patch the OF and then use nvsetenv to change the output

Re: Sensors in adt746x

2004-10-28 Thread Colin Leroy
On 28 Oct 2004 at 22h10, Colin Leroy wrote: Hi, Thanks for your feedback. You're right, I missed these two points... Here's an updated patch that should behave more logically (ie, starting when temp == lim and stopping when temp lim - 2), and removing the override case that isn't needed

Re: True state of support for 12 iBook G4

2004-10-28 Thread Sam Halliday
John Goerzen wrote: 1. Sleep mode. According to [1], sleep doesn't work at all. However, others are not reporting any trouble with it (basically saying everything except the Airport Extreme works fine). Does sleep work on this unit? it looks like benh has just started work on this

i

2004-10-28 Thread Jon Cortelyou
Hi all, Has anyone gotten their G3 or G4 iBook's DVD player to play DVD movies under any flavor of Linux? (Running any Linux based DVD playing software) Here is where I'm at so far: I got totem-xine installed onto my G3 600 Mhz Dual-USB iBook running PowerPC Ubuntu Linux (Debian based distro).

Re: i

2004-10-28 Thread Mike Power
I seem to be having a problem with my alsa sound drivers. They play mp3's too fast and have a bit of extra noise in them. You might want to check your audio playback and see if it is playing at normal speed without extra noise. Mike Power Jon Cortelyou wrote: Hi all, Has anyone gotten

Re: Frech keyboard with xfree

2004-10-28 Thread Benjamin Herrenschmidt
On Thu, 2004-10-28 at 15:56 +0200, Frank Murphy wrote: Well it could be, but it would be very strange, I think. Both Mode_switch and ISO_Level3_Shift are like the regular Shift keys. If you wanted an Altkey and F to be the alt modifier + F to open the File menu, but you want an Altkey and N

Re: pmdisk-2.6.9

2004-10-28 Thread Peter Henseler
On Thu, Oct 28, 2004 at 09:35:20PM +0100, Sam Halliday wrote: hi there, i noticed that http://honk.physik.uni-konstanz.de/~agx/linux-ppc/kernel/pmdisk-2.6.9-rc1.diff does not apply cleanly to a 2.6.9 tree; does anyone have a 2.6.9 patch? Use the patch

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Benjamin Herrenschmidt
On Thu, 2004-10-28 at 10:31 +0200, Colin Leroy wrote: On 28 Oct 2004 at 10h10, Colin Leroy wrote: Hi, Hrm... the above doesn't seem very interesting :) Try not doing mode_timer, add an mdelay instead (for example mdelay(200)) before clearing ON BLON, or first clearing ON, then

Re: i

2004-10-28 Thread Jon Cortelyou
I'm sorry about the 'i' title guys. =( I hit send mail accidently. D'oh! Jon

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Benjamin Herrenschmidt
On Thu, 2004-10-28 at 15:44 +0200, Eugen Dedu wrote: I have a PB Alu 15. I patched 2.6.9 with sleep patch and works perfectly! I have a USB mouse connected. However, when I use a Cisco CardBus network card, the screen stays black during wake up, but IMO this is a problem with Cisco driver

Re: True state of support for 12 iBook G4

2004-10-28 Thread Benjamin Herrenschmidt
On Thu, 2004-10-28 at 13:37 +, John Goerzen wrote: Hello, I am considering purchasing a new 12 iBook from Apple. The intent is to use this with Debian. However, in researching the state of support for this unit, I've found wildly contradictory information. So I'm wondering if someone

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread Benjamin Herrenschmidt
Thanks. That'll help some. Both AlBook 15 and 17 seem to share the same features (no GPU sensor, two fans). AlBook 12 and iBook have only a single fan. So always switching on both fans seems to make sense. There are at least 2 revs of 15 and 3 of 17 ... PowerBook5,1 is 17 with nvidia chip

Re: Configuring printing on Debian (Performa6230CD)

2004-10-28 Thread Brad Boyer
On Thu, Oct 28, 2004 at 06:20:53PM -0200, Gunther Furtado wrote: Can anyone help me to set up a StyleWriter II and/or an ImageWriter II on a Debian on a Performa6230CD. I was able to run http://localhost:631 but I don't know exactly how to put down on some fields like location. I've tried

Re: True state of support for 12 iBook G4

2004-10-28 Thread Graham Wilson
On Thu, Oct 28, 2004 at 09:58:46PM +0100, Sam Halliday wrote: John Goerzen wrote: 3. The Airport Extreme. Everybody agrees that it doesn't work now. Some people are saying there are projects to reverse engineer it. But I've never found any solid info on any of these projects. Is

Re: Test patch for sleep on Aluminium PowerBooks

2004-10-28 Thread mike dentifrice
Benjamin Herrenschmidt a dit: but I suppose I'll have to ask ATI what's up. Did they finally disclose information about their chip for you to get sleep working, or did you have to go through reverse-engineering? -- mike dentifrice [EMAIL PROTECTED]

Re: True state of support for 12 iBook G4

2004-10-28 Thread John Goerzen
On 2004-10-28, Jérôme Marant [EMAIL PROTECTED] wrote: John Goerzen [EMAIL PROTECTED] writes: These days, people seem to recommend IBM X40 series, but I don't know if they are cheap enough for you. Yep, nice series. Unfortunately, configured the same as an ibook for the things that matter to