Migrating from iMac/powerpc to iMac/intel

2006-12-30 Thread Eduardo Trápani
Hi, I just wrote to debian-users because I need to move a whole debian box from a powerpc iMac to an intel pc. The problem is that there seems to be platform specific files in use and that means that simply reinstalling packages and copying /etc will not be enough. I write here because I th

Is snd-aoa in official kernels?

2006-10-02 Thread Eduardo Trápani
Hi, Is snd-aoa already being shipped with Debian kernel images? If not, could somebody tell me what the appropriate procedure is to build the powerpc64 flavor? Do I have to patch the kernel or is it enough to download 2.6.18 and do a make-kpkg? Thanks, Eduardo. -- To UNSUBSCRIBE, email to

Re: snd-aoa status

2006-08-03 Thread Eduardo Trápani
Too bad, then I'll simply go try it. I hope 'git clone http://johannes.sipsolutions.net/snd-aoa.git/' is still the way to get the latest version. Oh, I thought you had tried. But that isn't the right way to get the latest version, the right way is to just run the latest git kernel :) But I

Re: snd-aoa status

2006-08-02 Thread Eduardo Trápani
I was wondering whether the mic/recording is working with the latest snd-aoa. What chipset does it have, and what layout-ID? I'm at work right now and It's a onyx, layout-id 86. don't have internet at my new flat in Nürnberg yet, so I can't really check anything... Too bad, then I'll simpl

snd-aoa status

2006-08-02 Thread Eduardo Trápani
Hi, I have a Powermac8,2 and thanks to the snd-aoa driver I have sound output, but recording does not work. I was wondering whether the mic/recording is working with the latest snd-aoa. Eduardo. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact

Re: snd-aoa on PowerMac 8,2

2006-04-03 Thread Eduardo Trápani
What kernel? This is some alsa stuff foo that I don't really know much about, I'm developing against 2.6.16-rc4 or something like that... Kernel 1.6.16-rc1 Anyway, I still get no sound out of it. As I said before, alsaplayer and mplayer fail: Checking audio filter chain for 44100Hz/2ch/s16be

Re: snd-aoa on PowerMac 8,2

2006-03-31 Thread Eduardo Trápani
Ok, this has me worried. Investigating the code now. Will report back in a bit. Bug fixed. Sorry, my fault, I accidentally shifted the hardcoded address down by 1 too. Great! Not it seems to detect the deived (see below). I don't know what kind of functionality I should get though. Mplayer

Re: snd-aoa on PowerMac 8,2

2006-03-30 Thread Eduardo Trápani
Now the question why it doesn't respond... Maybe we have to set the hw-reset before trying to find it? That's going to suck. Well, the i2sbus could turn it on. Hrmm Can you try the latest code? Sure. Could you add the lines: MODULE_ALIAS("sound-layout-86"); and /* PowerMac8,2 *

Re: snd-aoa on PowerMac 8,2

2006-03-30 Thread Eduardo Trápani
Mar 30 16:33:03 mapache kernel: snd-aoa-codec-onyx: found k2-i2c, checking if onyx chip is on it (0x46) Mar 30 16:33:03 mapache kernel: snd-aoa-codec-onyx: failed to read control register Mar 30 16:33:03 mapache kernel: snd-aoa-codec-onyx: found k2-i2c, checking if onyx chip is on it (0x47) Mar

Re: snd-aoa on PowerMac 8,2

2006-03-30 Thread Eduardo Trápani
I guess that should relate the "base register" somehow. Maybe something like ONYX_REG_BASE + 0 Then I could set my base register at 0x46 and the rest would work. Maybe. No, you're confusing registers and i2c addresses :) Ok, it was a wild guess actually, I don't have a clue. Thanks for th

Re: snd-aoa on PowerMac 8,2

2006-03-29 Thread Eduardo Trápani
Is the address of the onyx codec hardwired in your code? I looked a bit into the apple stuff and the datasheet again -- it seems that both 0x46 and 0x47 are possible addresses. Can you try the latest code? I did, I get the same error. Tracing it a bit I noticed that still you are using po

snd-aoa on PowerMac 8,2

2006-03-29 Thread Eduardo Trápani
Mar 29 13:26:17 mapache kernel: snd-aoa-codec-onyx: found k2-i2c, checking if onyx chip is on it Mar 29 13:26:17 mapache kernel: low_i2c:xfer() chan=0, addrdir=0x47, mode=4, subsize=1, subaddr=0x43, 1 bytes, bus /[EMAIL PROTECTED],f200/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED] M

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-29 Thread Eduardo Trápani
You might want to load soundcore first. Or install the modules and do a depmod -a and then modprobe instead of insmod. I had the same problem. Sadly, up until 2.6.15 loading up soundcore hangs my imac so I haven't been able to go past that ... Its snd-powermac that hangs your imac, not so

Re: Thermal control for PowerMac 8,2 and new snd module already included in the kernel?

2006-03-29 Thread Eduardo Trápani
I remember I had to patch 2.6.16-rc1 with a Ben patch to get the thermal control running. But the sound was broken and hung the computer. So, I'd like to know if I have to apply any patches to the latest available kernel in order to get both the thermal control and avoid the system hang when

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-29 Thread Eduardo Trápani
How can I find that out? Try loading my driver, specifically snd-aoa-codec-onyx :P Or dive into the device tree, find the layout-id property, and cross reference it with the layout id in the Info.plist file from AppleOnboardAudio. Well, I didn't know where to get the Info.plist file (I only h

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Eduardo Trápani
$ insmod ./soundbus/i2sbus/i2sbus.ko sorbet【snd-aoa】$ sudo /sbin/insmod ./soundbus/soundbus.ko sorbet【snd-aoa】$ sudo /sbin/insmod ./soundbus/i2sbus/i2sbus.ko insmod: error inserting './soundbus/i2sbus/i2sbus.ko': -1 Unknown symbol in module I built it against a just-downloaded 2.6.16 kernel (

Thermal control for PowerMac 8,2 and new snd module already included in the kernel?

2006-03-28 Thread Eduardo Trápani
I remember I had to patch 2.6.16-rc1 with a Ben patch to get the thermal control running. But the sound was broken and hung the computer. So, I'd like to know if I have to apply any patches to the latest available kernel in order to get both the thermal control and avoid the system hang when

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Eduardo Trápani
$ cg clone http://johannes.sipsolutions.net/snd-aoa.git/ snd-aoa Are you sure that works as-is? I'm trying it and cg returns without doing anything ... works fine here: $ cd /tmp/ $ cg clone http://johannes.sipsolutions.net/snd-aoa.git/ snd-aoa defaulting to local storage area Fetching head

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Eduardo Trápani
I have already someone testing on 8,1, but just fyi: And on 8,2? Whoops, missed this before. No, it hasn't been tested there to my knowledge, but I don't even know if that machine has an onyx How can I find that out? Eduardo. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Eduardo Trápani
I have already someone testing on 8,1, but just fyi: And on 8,2? $ sudo apt-get install cogito $ cd /wherever/ $ cg clone http://johannes.sipsolutions.net/snd-aoa.git/ snd-aoa $ cd snd-aoa Are you sure that works as-is? I'm trying it and cg returns without doing anything ... Eduardo. --

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-27 Thread Eduardo Trápani
Hi, I've been rewriting the linux apple sound driver completely with a much nicer layout :) It isn't really to be used too widely now but if anyone is motivated to help hacking there are some things that need sorting out and I'd certainly appreciate help :) I cannot offer help coding, but i

Sound on G5 PowerMac 8,2

2006-03-24 Thread Eduardo Trápani
Hi, Is it supported yet? Eduardo. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Building Thunderbird 1.5

2006-02-22 Thread Eduardo Trápani
Hi, I'm trying to compile mozilla-thunderbird from source. I ran: ./configure --enable-application=mail --host=ppc-linux --without-system-nspr make -f client.mk build and I get errors while compiling this file: security/nss/lib/freebl/mpi/mpi_x86.s I guess it's x86 code, so no won

thermal control iMacG5 - verifying

2006-01-30 Thread Eduardo Trápani
Check /sys/devices/platform/windfarm.0/*, the files in there should show you the fan speeds and temperatures. Great, I can see them now. Thanks a lot! Where can I get the limits? I've seen the temperature go up to 70 without getting the fan sound I had before. I don't have MacOSX so I don't

Re: Thermal control - iMac G5 (information request)

2006-01-20 Thread Eduardo Trápani
e I'll boot one of the older kernels, just in case. Eduardo. PD: Thanks for the g5_defconfig tip. I didn't even know it existed. On Fri, 2006-01-13 at 13:34 +0200, Eduardo Trápani wrote: I have an iMac G5 - PowerMac 8,2. For the time being the thermal control is not working (Lu

Re: Thermal control - iMac G5 (information request)

2006-01-19 Thread Eduardo Trápani
This is definitely not the latest git tree, It doesn't have the patches I wanted you to test. Try 2.6.16-rc1, it does have them. Sorry, I was getting the files from linuxhq.com. Since 2.6.16-rc1 does not build I'm waiting for somebody to tell me if the fix to make it build is the one I posted

Kernel 2.6.16-rc1 does not build (patch)

2006-01-18 Thread Eduardo Trápani
I've tried to build 2.6.16-rc1, but I get the following error: CC arch/powerpc/kernel/rtas.o arch/powerpc/kernel/rtas.c: In function 'rtas_percpu_suspend_me': arch/powerpc/kernel/rtas.c:582: warning: implicit declaration of function 'plpar_hcall_norets' arch/powerpc/kernel/rtas.c:582: error

Re: Thermal control - iMac G5 (information request)

2006-01-17 Thread Eduardo Trápani
Hehe.. well, it's still the lm75 not popping up. Can you enable DEBUG in windfarm_lm75 and arch/powerpc/platforms/powermac/low_i2c.c and send me a new dmesg log ? There you are. Eduardo. dmesg.bz2 Description: BZip2 compressed data

Re: Thermal control - iMac G5 (information request)

2006-01-16 Thread Eduardo Trápani
You can pull current git snapshot and just add that patch to drivers/macintosh/windfarm_smu_controls.c and let me know how it goes ? Same as before. The fan does not stop ... 2.6.15-git4 with the patch. Find attached the dmesg output, with DEBUG turned on for drivers/macintosh/windfarm_pm81.

Thermal control - iMac G5 (information request)

2006-01-13 Thread Eduardo Trápani
I have an iMac G5 - PowerMac 8,2. For the time being the thermal control is not working (Luckily Ben's working on it and he tells me the problem is a change in the layout of device-tree). In the meantime I would like to try to hack the code to see if I can make it work, just for my iMac. The

Re: Fan control 2.6.15-rc6 on PowerMac 8,2 not working

2005-12-22 Thread Eduardo Trápani
You need to enable CONFIG_CPU_FREQ, then powermac support for it (CPU_FREQ_PMAC64), then you can enable the windfarm driver for your machine (CONFIG_WINDFARM_PM81) I did it, but still the fan stays on all the time once it starts. I think it stayed off a bit longer this time though, the X serve

Fan control 2.6.15-rc6 on PowerMac 8,2 not working

2005-12-21 Thread Eduardo Trápani
I'm running 2.6.15-rc6, but the fan is still on all the time. At the beginning of the boot sequence it is off and then, once it starts (well before X) it never stops again. Is there something else I should turn on? Is this G5 supported? Find attached the dmesg, /proc/cpuinfo and /proc/config

Re: ppc64 missing from upstream 2.6.15-rc6?

2005-12-20 Thread Eduardo Trápani
You need to do : make-kpkg --config oldconfig --arch powerpc ... I tried, the error is below. What is the alternative way to build the kernel? In i386 I used to make zImage and then copy the files from arch/boot or something like that. Is there documentation on how to do it for these ker

Re: ppc64 missing from upstream 2.6.15-rc6?

2005-12-19 Thread Eduardo Trápani
I downloaded the sources from kernel.org, but there is no arch/ppc64 ... I bet I'm missing something obvious, but I cannot find it. Yep, ppc64 has folded into the new shared 32/64-bit powerpc arch (arch/powerpc), and is now controlled by config options therein. Now that I had finally learned

ppc64 missing from upstream 2.6.15-rc6?

2005-12-19 Thread Eduardo Trápani
I downloaded the sources from kernel.org, but there is no arch/ppc64 ... I bet I'm missing something obvious, but I cannot find it. Eduardo. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Kernel 2.6.14-2 hangs on iMac G5 8,2 (ata1 timeout)

2005-12-19 Thread Eduardo Trápani
Now I'm ready to test the patches for fan control, actually that's what I wanted to do all along. Are they still the ones you mentioned a while ago? Or just get a recent 2.6.15-rc* snapshot which includes them. The latest snapshot is 2.6.14-git14 (not from 2.6.15-rc series) so I downloaded

Re: Kernel 2.6.14-2 hangs on iMac G5 8,2 (ata1 timeout)

2005-12-16 Thread Eduardo Trápani
Now I'm ready to test the patches for fan control, actually that's what I wanted to do all along. Are they still the ones you mentioned a while ago? Or just get a recent 2.6.15-rc* snapshot which includes them. Where from? I mean with all the Debian patches and everything, or you meant an o

Re: Kernel 2.6.14-2 hangs on iMac G5 8,2 (ata1 timeout)

2005-12-16 Thread Eduardo Trápani
Does it happen if you disable the sound driver ? (prevent it from loading or don't compile it at all if you are building your own kernels). It seems to be working now. I could not convice the kernel image not to build with the sound modules so I simply erased the whole sound subtree from the

Kernel 2.6.14-2 hangs on iMac G5 8,2 (ata1 timeout)

2005-12-15 Thread Eduardo Trápani
I finally found out what happens when the system hangs, using netconsole. I get this error message twice before the system dies: ata1: command 0x25 timeout, stat 0x50 host_stat 0x4 It seems to happen faster when I work under X, then it is reproducible, I open Thunderbird, type my passw

How to compile custom kernel 2.6 for ppc64

2005-12-14 Thread Eduardo Trápani
I've tried everything I could think of, "apt-get source --build", "make-kpk", "debian/rules binary", "dpkg-buildpackage -b -uc" but either the kernel does not boot or I cannot install the image due to errors that I find it hard to trace (a sample from yesterday at the end of the message). I do

Compiling kernel for powerpc64

2005-11-08 Thread Eduardo Trápani
If I simply do apt-get --build, then all powerpc architectures are compiled and that takes forever. How can I build just the powerpc64 flavour? I moved into the unpacked source and tried: cp /boot/config-2.6.14-1-powerpc64 .config make-kpkg --subarch powerpc64 --initrd kernel-image I get mess

Same kernel recognizes network cards in different order

2005-11-08 Thread Eduardo Trápani
The wireless card seems to be detected seomtimes before the ethernet card in 2.6.12 and that breaks the /etc/network/interfaces configuration. See the log below. I know that 2.6.12 is old, but maybe that will point to the problem I have with 2.6.14. I really don't know much about powerpc ha

Re: 2.6.14 on iMac G5

2005-11-07 Thread Eduardo Trápani
Has anybody succesfully booted that kernel? I get lots of "format errors" while trying to load modules. And then, at the end it just blocks, it says something like "waiting for /dev/sda to come up" and that's it. Have you built a 64 bits kernel ? I used apt-get form unstable, yes the powe

2.6.14 on iMac G5

2005-11-07 Thread Eduardo Trápani
Hi, Has anybody succesfully booted that kernel? I get lots of "format errors" while trying to load modules. And then, at the end it just blocks, it says something like "waiting for /dev/sda to come up" and that's it. Eduardo. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: Compiling kernel for ppc64

2005-10-27 Thread Eduardo Trápani
Can't you just use the prebuilt kernels from : http://people.debian.org/~luther/2.6.14-rc5 I was trying to do that. But now I have to apply the patch from Ben for fan control. You can naturally do it yourself by building either a ppc32->ppc64 cross compiler, or inside a etch/sid chroot, o

Re: 2.6.14-rc5 uploaded to experimental available at http://people.debian.org/~luther/2.6.14-rc5

2005-10-26 Thread Eduardo Trápani
I tried to install the ppc64 version and at the end of the installation I had this error message: You already have a NoLOADER configuration in /etc/.conf Install a boot block using the existing /etc/.conf? [Yes] There was an error with running , a log file is available in file /var/log/_log.1648

iMac G5 and fan control

2005-10-26 Thread Eduardo Trápani
Hello, Is there any news about the fan control in the iMac G5? It's on all the time by default and it's a bit noisy for a desktop :(. Eduardo. PD: I read the other messages on the subject, I just wondered whether there was anything new to test. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED]

Compiling kernel for ppc64

2005-10-26 Thread Eduardo Trápani
Hello, Is there a way to compile the kernel for an iMac G5 without having to upgrade the whole box to testing? Thanks, Eduardo. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: how to install debian on imac?

2005-09-11 Thread Eduardo Trápani
Hi! I'd like to install debian onto an iMac G5, but im not sure where to start. Whats the best way to install debian from scratch? Do i just use the debian-installer powerpc rc3 cdrom? No, that will not work. Do i need to use the updated kernel at http://people.debian.org/~luther/d-i/image

Re: Firewire support in powerpc64 (bus_to_virt error)

2005-09-08 Thread Eduardo Trápani
I'm simply trying to mount a firewire disk. All attempts end with this error: Eduardo, this is not the right place to fill such a bug report, please make sure you report a bug against linux-2.6, with title marked as [powerpc]. Ok, I really thought I was doing something wrong, that's why I wr

Firewire support in powerpc64 (bus_to_virt error)

2005-09-07 Thread Eduardo Trápani
Hi, I'm simply trying to mount a firewire disk. All attempts end with this error: sbp2: Unknown symbol bus_to_virt I'm using debian kernel 2.6.12-1-powerpc64. I also tried with the modules from the debian installer package, but I get the same error. Before I try to download the source an

Re: Migrating Debian from iMac G4 to iMac G5

2005-09-07 Thread Eduardo Trápani
Also, notice that it is my experience that linux/powerpc sbp2 (the firewire disk) mode is rather flakey on 2.6 kernels, when i tried that to backup my powerbook, i failed miserably. Cannot confirm this - on 2.6.8 and 2.6.11 (old BenH BK trees), sbp2 and fw is rock solid. The only trick is to pl

Re: Installing Debian on an iMac G5 - stable and testing d-i fail

2005-09-05 Thread Eduardo Trápani
stage, but it got stuck at 69%. I don't know why. I will try the whole process again tonight (the machine is somewhere else), but so far it looks good! Eduardo. >>> On Sat, Sep 03, 2005 at 04:09:55PM -0300, Eduardo Trápani wrote: Can you try booting the daily builds ? These ar

Migrating Debian from iMac G4 to iMac G5

2005-09-05 Thread Eduardo Trápani
With your help I've been able to boot the new iMac G5 and start the installer. Since I'm migrating from another Debian on a G4 I don't know if I should install a whole new system or not. If I start the G4 in target mode, mount the firewire disk in the G5 and simply copy the whole filesystem(

Re: Installing Debian on an iMac G5 - stable and testing d-i fail

2005-09-03 Thread Eduardo Trápani
Can you try booting the daily builds ? These are at : http://people.debian.org/~luther/d-i/images/daily/powerpc64/netboot64/ or : http://people.debian.org/~luther/d-i/images/daily/powerpc64/cdrom64/ Get the initrd.gz and vmlinux on a cd or tftp boot server, write the adequate yaboot.conf,

Installing Debian on an iMac G5 - stable and testing d-i fail

2005-09-01 Thread Eduardo Trápani
Hi! I'm migrating Debian on an iMac G4 to a new G5 (Apple PowerMac8,2 5.2.5f1 BootRom). I downloaded debian-testing-powerpc-businesscard.iso (not too much bandwith to use) today from http://cdimage.debian.org/pub/cdimage-testing/daily/powerpc/current/. When I run install-power4 I get the fol

Running macosx/macos9 applications from linux

2004-09-29 Thread Eduardo Trápani
Hi, Is there a way to run macosx or macos9 applications from Linux ppc? I just received a CD with an application that will run nicely on another iMac FP with MacOSX, but even though I have MacOSX installed on mine, I've only booted it once, to change the setting that says what to do when the p

Volume keys in iMac flat panel

2004-05-03 Thread Eduardo Trápani
Hi, I'm trying to get the keycodes for the volume up and down keys without success. showkeys -s doesn't show any scancode for those keys, and neither does for F13-F15 The kernel is 2.4.25-ben, linux-keycodes seems to be on (zgrep 'keycode *1 =' /etc/console/boottime.kmap.gz) and in Xfree the

Getting kernel 2.4.20-ben10

2003-04-04 Thread Eduardo Trápani
Could somebody please point me to the sources? In ppckernel.org they seem to only have -ben9 and since everybody is talking about rivafb support I want to try it. Thanks, Eduardo.

Re: Kernel 2.4.xx to kernel 2.5.xx

2003-04-03 Thread Eduardo Trápani
Are you sure rivafb in 2.5 has better support than in 2.4? I thought it was rather the other way around, but I may be wrong. No, I'm not sure. But anyway, it would be a lot of work to backport because of the switch Paul mentioned. I guess I will try to get the information on the drivers and

Kernel 2.4.xx to kernel 2.5.xx

2003-04-03 Thread Eduardo Trápani
I would like to try the kernel 2.5.66 (ppc). I remember that to change from 2.2 to 2.4 a number of utilites had to be upgraded. Is that the case when changing from 2.4.20 to 2.5.66? I want to check the rivafb support in the developing kernel and maybe try to backport it to 2.4.xx. Eduar

Re: Xfree86 and iMac G4 flat panel

2003-03-30 Thread Eduardo Trápani
X works almost perfectly! (I still get the red screen after the inactivity timeout but I can change to text mode). I had to get patch the debian kernel 2.4.20 with the diff I found in this message [1]. The patch can be found here[2]. In the kernel I choose only rivafb, without open firmwar

Re: Xfree86 and iMac G4 flat panel

2003-03-28 Thread Eduardo Trápani
Has anybody an iMac with flat panel fully working under X? I have an iMac 17 inches wide screen and it fully works with XFree86 4.3.0 and nv driver. Can you also switch to the text terminal (Ctrl-Alt-F1) and use it? Does the monitor turn itself off after a while? Could you please send to

Re: Xfree86 and iMac G4 flat panel

2003-03-28 Thread Eduardo Trápani
Try Daniel Stone's 4.3 XFree packages (www.penguinppc.org/~daniels) (and let us know) Ok, I did xserver-xfree86 seems to install but debconf complains about all the "_description:" stanzas in the templates file. It looks as though they should be "Description:" instead. I checked the i386 p

Xfree86 and iMac G4 flat panel

2003-03-28 Thread Eduardo Trápani
Hi, Has anybody an iMac with flat panel fully working under X? I am using xfree86 4.2.1-6 and the "nv" driver, kernel 2.4.20 without the rivafb driver. I cannot switch to the text screens, the screen is completely red and I see nothing. And then it doesn't always come back to graphical mod