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

Re: Would setting the CONFIG_RTC option break the powerpc kernel on your machine ?

2003-12-17 Thread Segher Boessenkool
No, that's VIA as in Versatile Interface Adapter, not as in VIA Technologies. It used to be a separate chip in the old 68000 days, but now it's integrated in some Mac fabric (e.g. Mac I/O). Actually, there is no RTC chip _at all_ in NewWorld Macs. The PMU itself keeps the time (from a

Re: Would setting the CONFIG_RTC option break the powerpc kernel on your machine ?

2003-12-17 Thread Segher Boessenkool
Actually, there is no RTC chip _at all_ in NewWorld Macs. The PMU itself keeps the time (from a 32768Hz clock). So from a technical point of view, the PMU is the RTC chip, right? Not really, it's a very different mechanism. But you could say it is yeah, if you don't mind being sloppy ;-)

Re: CPU and Memory usage of XFree86

2003-10-09 Thread Segher Boessenkool
Michel Dänzer wrote: FWIW, top uses about 0.3% here (the 2.6 kernel might help there), gnome-terminal and the X server less than 1% together. Okay, another datapoint... PowerBook3,2 500MHz, 2.4.20-ben10, 30 processes, no load. top -d1 takes 2.9% cpu, top -d0.5 takes 5.6%. Starting X... 37

Re: CPU and Memory usage of XFree86

2003-10-02 Thread Segher Boessenkool
Michel Dänzer wrote: On Wed, 2003-10-01 at 00:42, Nirmal Govind wrote: Hi.. I've noticed that the XFree86 process on my ibook is taking up a decent chunk of memory and some CPU and this seems to be slowing down my machine a bit .. when I do 'top', XFree86 is a process that's constantly

Re: Installing onto external FireWire drive.

2003-10-02 Thread Segher Boessenkool
Oh, and the yaboot config is a bit of a pain because Apple can't seem to make up their minds about what to call the devalias for the firewire controler. On the iBook it's fw, the G4 fwx, I think it's back to fw on the G5, maybe. It only was fwx on some older systems, for which the built-in

Re: Newbie (to ppc), but glad to be here.

2003-08-06 Thread Segher Boessenkool
Benjamin Herrenschmidt wrote: I suspect we should probably just expose the PMU i2c bus to userland some way and have a userland tool to deal with that, I'm not too fan of doing a kernel driver... I also have not much time. We _already_ expose it to userland, via the generic PMU interface. And

Re: problem with sound driver in iBook2

2003-08-05 Thread Segher Boessenkool
Michel Dänzer wrote: Yes, I was just looking what happens. Deep inside I was hoping that recording capability might perhaps be added with not too much effort. How about Darwin, couldn't we borrow some code of their driver, or is this code not freely available? I doubt it, but as Segher

Re: PC graphic adapters on Mac Hardware

2003-08-05 Thread Segher Boessenkool
Jeroen Roovers wrote: As I said before, if your Mac has Open Firmware, you can (theoretically, which means I've read about it :-) use a serial It works fine. Do note to use 57600 baud on newer machines, not 38400 as the Apple technotes say. connection to get to a boot prompt, and if Linux

Re: PC graphic adapters on Mac Hardware

2003-08-05 Thread Segher Boessenkool
Benjamin Herrenschmidt wrote: What we would need now is for somebody to port uBoot's emulator to some userland app in Linux, and actually try to see if we can get an x86 typical Radeon card to boot in a Mac or not... While that might be a reasonable short-time plan, what we *really* need is

Re: ibook2

2003-08-01 Thread Segher Boessenkool
digger vermont wrote: On the alsa mailing list I've asked if the reason for no recording is due a lack of specs for the sound chip or a lack of desire and time on the developer end. I've yet to get a response. Does anyone here know? The docs for the current Mac sound chips are publicly

Re: Apple PowerMac G5

2003-07-02 Thread Segher Boessenkool
Sven Luther wrote: So you think that the north-bridge could be an Apple-IBM common design ? It's an Apple design. The rest is not as important, as it is connected trough a HyperTransport bus, so any HT chip will do. The funny thing is that they have a special PCI-X bridge sitting between

Re: some basic problems with ppc assembler

2003-07-02 Thread Segher Boessenkool
Brad Boyer wrote: Do you actually have a document for the official ABI? I found a link to a document in some old messages, but it was a dead link. A generic search of the web didn't turn up anything, although I might have been searching for the wrong words... System V application binary

Re: some basic problems with ppc assembler

2003-07-02 Thread Segher Boessenkool
Benjamin Herrenschmidt wrote: The stwu will do r1=r1-32 and store old r1 there (stack pointer). This will basically sets up the stackframe for the function. The LR is backed up in r0 (the return address) and stored in the stackframe. r31 is a non-volatile register, since the compiler thinks it

Re: some basic problems with ppc assembler

2003-07-02 Thread Segher Boessenkool
Oliver Ripka wrote: .LC0://I guess this means .LC0 .LC0 is a label. .string Hello World //is a global string Outputs a string to object code. It can be accessed via the label .LC0 . .globl main //within the main label. Declares 'main' as a global symbol (it will

Re: kernel compiling problems on iMac CRT

2003-06-30 Thread Segher Boessenkool
Michel Dänzer wrote: I wonder why i2c-keywest doesn't get loaded for you. Because an iMac G3 doesn't need it? ;-) If I was him, I'd try disabling the emu10k crap he enabled... Segher

Re: cpufreq on TiBook 400 MHz

2003-05-23 Thread Segher Boessenkool
Krisztian Mark Szentes wrote: Hi I wonder why there is no /proc/cpufreq on my Titanium PowerBook G4 (400 MHz). Because no-one filled in the right values yet. In linux-2.4.20/arch/ppc/platforms/pmac_cpufreq.c it says: /* Currently, we support the following machines: * * - Titanium

Re: Sid, mp3blaster and ogg Files ...

2003-05-07 Thread Segher Boessenkool
Michel Dänzer wrote: (IMHO libvorbis is broken for not defaulting to native endianness, but that's another story) Why don't you file a bug at bugs.xiph.org? Please do. Segher

Re: Bad sound from iMac headphone jacks

2003-05-04 Thread Segher Boessenkool
Matthew Buckett wrote: That is not a headphone socket -- it is a line-level socket. Ok, not being an audio person, what is the differnce between a line level socket and a headphones socket? Different voltage, different impedance. Is a headphone socket for devices without build in

Re: Bad sound from iMac headphone jacks

2003-05-03 Thread Segher Boessenkool
Matthew Buckett wrote: I'm running debian woody on a iMac 350 (slot loading) and I seem to get problems with the sound when it is sent through the headphones socket on the right of the machine. The sound is rough, not crackly, it's That is not a headphone socket -- it is a line-level socket.

Re: Powerbook Install

2003-04-14 Thread Segher Boessenkool
Chris Tillman wrote: nvsetenv boot-device hd:2,\\:tbxi This tells OpenFirmware to look on the second partition of the main hard disk for a blessed startup file. Blessed has nothing to do with it. Segher

Re: Install debian on a iBook with external FireWire hard drive

2003-04-06 Thread Segher Boessenkool
[EMAIL PROTECTED] wrote: I try to install debian on a iBook. I have an external firewire hard drive on which I want to put debian. I created a HFS+ partition and put the following files: yaboot, yaboot.conf, linux.bin and root.bin. Now I try to boot on this partition. What is the openfirmwire

Re: recording with alsa on tibook

2003-03-16 Thread Segher Boessenkool
Brett Carter wrote: Nope, I believe recording works on the 'clipper' chipset (tibooks v1 v2), but not yet on the 'snapper' chipset (ti v3 above). v2 (PowerBook3,3) uses the Tumbler chipset (TI TAS3001C), v3 and up (PowerBook3,4 and up) use the Snapper (TI TAS3004). I didn't hear the name

Re: some help here please

2003-03-07 Thread Segher Boessenkool
José Salavert Torres wrote: Well this is not an error or question about linux but I thought that ths was the best place to ask. I'm searching for information about powermacs architecture in order to make a work for the University and It's eery difficult for me to find information related to

Re: review wanted of new Debian X FAQ entry

2003-03-05 Thread Segher Boessenkool
Martin Kuball wrote: The problem of course is to find out what kind of bus your machine uses if it's a laptop. Well, trial and error obviously revealed that my iBook uses ADB. All (reasonably new) Apple laptops use ADB. Segher

Re: Booting the Debian installation CD on Powerbook G4 12

2003-02-24 Thread Segher Boessenkool
Gabriel Paubert wrote: If you're going to reimplement the delays using the time base, why not use the KeyLargo timer instead? And tie the bus on repeated I/O trying to read the timer, fighting perhaps with another processor on SMP? No thanks. The pci/33 bus is much slower than the

Re: Booting the Debian installation CD on Powerbook G4 12

2003-02-21 Thread Segher Boessenkool
Benjamin Herrenschmidt wrote: If you're going to reimplement the delays using the time base, why not use the KeyLargo timer instead? It runs at the same frequency (18.432MHz) on all machines, so that'll save a multiply ;) Too bad for the non-Macs, but else you'll have to special-case the 601

Re: What is pbuttonsd ?

2003-02-19 Thread Segher Boessenkool
J Q Private wrote: I do _not_ have pbbuttonsd running. Pardon my ignorance, but I thought I needed pbbuttonsd to get F1 and F2 to change brightness. The PMU handles F1 and F2 itself, unless that function is disabled. Works fine for me. I believe this only works for builtin displays,

Re: Booting the Debian installation CD on Powerbook G4 12

2003-02-19 Thread Segher Boessenkool
Benjamin Herrenschmidt wrote: On Mon, 2003-02-17 at 02:07, paubert wrote: Well, the timebase and decremeter are part of the PPC architecture. I'm not sure things like 4xx implement them as-is... It is part of the user-level 32-bit PEM -- they better implement it :) BTW for the 53 MHz PB,

Re: Trouble with Dual boot MacOSX/Woody - Yaboot on G4 Gigabit

2003-02-13 Thread Segher Boessenkool
Clive Menzies wrote: My G4 is at least a couple of years old (Sawtooth?) AGP Gigabit - so it That's Mystic, one revision newer than Sawtooth. Segher

Re: bloat tolerance?

2003-01-31 Thread Segher Boessenkool
Albert D. Cahalan wrote: This is kind of a survey for PowerPC Linux users. Is it OK to make 32-bit PowerPC apps bigger and slower to allow for running them on IBM's 64-bit hardware? This would hurt everyone running Linux on a Mac. My vote is *NO*. Why not have the people running such systems

Re: g4 and switching consoles

2003-01-24 Thread Segher Boessenkool
J Q Private wrote: Minor note: I read, early on, that I'd have to type the alt/option key first, then Fn, then F[1-7] to get the different consoles, and that worked. Hitting Fn before alt/option does not. Cmd-left and Cmd-right is easier. But once X starts, it does not work anymore. I

Re: vi oriented mailer .. was Re: Suggest a really good email client

2003-01-19 Thread Segher Boessenkool
micro-people wrote: just curious, but is there a vi friendly (or oriented) mailer out there ? have been a debianppc newbie for years @ iBook-Tangerine and wanna keep this machine promt-mode only You might like elm (elm-me). Segher

Re: Brightness and Contrast controls on iMacs

2003-01-13 Thread Segher Boessenkool
Benjamin Herrenschmidt wrote: On Fri, 2003-01-10 at 11:14, Scott McMahan wrote: I'm looking for a way to adjust the screen settings on my iMac. I've search the list/newsgroups and the answers I've found don't work on CRTs (fblevel) or don't really address the right problem (xgamma). Is

Re: memory interleaving

2002-12-17 Thread Segher Boessenkool
Geert Uytterhoeven wrote: On Mon, 9 Dec 2002, David Ulrich wrote: Does the debian kernel support for the memory interleaving on a PowerMac 9500? (2.4.18 SMP) Isn't memory interleaving a hardware feature that's independent of software? Depends. Usually it's configurable on your host

Re: G4 Cube CD Eject

2002-11-01 Thread Segher Boessenkool
Albert D. Cahalan wrote: Don't add an option. Just do the eject. Even a PC user will like that. It's also nice to notice the new disk immediately, instead of waiting for the user to press enter or similar. *Please* don't eject without asking first; some people have laptops, and you too easily

Re: date is 1934 on reboot

2002-10-23 Thread Segher Boessenkool
My TiBook relativeléy often resets the time to 1904, which is also too far off for ntp to correct it. I then need to manually adjust it, before I can sync it with ntp. It seems this happens every time the PMU gets reset, regardless of battery availability. At least this TiBook _does_ have

Re: Sound on g3 beige 233

2002-10-23 Thread Segher Boessenkool
marco wrote: Hi, I have no sound here. Added my user to audio. Could you tel me what to do ? ## ls -la /dev/dsp crw-r--r--1 root audio 14, 3 Mar 14 2002 /dev/dsp ## ls -la /dev/mixer crw-r--r--1 root audio 14, 0 Mar 14 2002 /dev/mixer chmod g+w

Re: unsupported apple hardware and darwin

2002-10-18 Thread Segher Boessenkool
Actually, even Apple's own drivers are not fully open source. Some of them are, some of them aren't (the PMU driver isn't, the temp control and fan drivers aren't, the new machines ATA/100 controller driver isn't, etc...) The temperature and fan controllers have nice specs; can't find the

Re: Key repeat (kernel Bug?)

2002-10-13 Thread Segher Boessenkool
i get that too. i'll be scrolling down, or whatever, and it keeps scrolling down. only if i'm scrolling down, though, which i find strange. It happens for me on other keys, too. And it misses the shift/ctrl/whatever release sometimes, too. It's just that you keep key-down pressed more often