miboot, floppy and 2.6? [was Re: On getting quik to work with oldworld machines]

2005-05-26 Thread Hans Ekbrand
On Wed, May 25, 2005 at 06:19:34AM -0300, Rogério Brito wrote:
 Hi, Vinai.
 
 On Apr 13 2005, Rogério Brito wrote:
  On Apr 13 2005, vinai wrote:
   And what are you using to boot linux without MacOS on this machine ?
  
  Humm, good question. Sometimes, I can make quik work, but I have more
  luck with getting the kernel compiled, compressing the vmlinux file with
  gzip and putting it on a floppy with miboot.

I have tried to do just that, but not succeeded (only tried with 2.6
kernels yet, compiling a 2.4.27 kernel while writing this). I have
also noticed that the d-i miboot floppies for 2.6 does not work on my
oldworld macs. Do you have working miboot floppies with a 2.6 kernel?

If not, any clues on why miboot does not work with 2.6 kernels on
floppies?

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]


signature.asc
Description: Digital signature


Suspend

2005-05-26 Thread Nathan Thrower
I'm running Debian/sarge on an Apple PowerBook G3 500 Mhz
'Pismo.' I've noticed that you can't suspend/hybernate/sleep the
computer when you close the screen, and I was wondering if there was a
solution to this, as I constantly bring my computer around with me, and
booting it every time I need to put it back in my bag would be
inconvenient. I know Linux typically has hybernation issues with
laptops, but I was wondering if there was a solution to this.

Thanks,
Nathan


Re: Suspend

2005-05-26 Thread Benjamin Herrenschmidt
On Thu, 2005-05-26 at 04:01 -0400, Nathan Thrower wrote:
 I'm running Debian/sarge on an Apple PowerBook G3 500 Mhz 'Pismo.'
 I've noticed that you can't suspend/hybernate/sleep the computer when
 you close the screen, and I was wondering if there was a solution to
 this, as I constantly bring my computer around with me, and booting it
 every time I need to put it back in my bag would be inconvenient.  I
 know Linux typically has hybernation issues with laptops, but I was
 wondering if there was a solution to this.

Install pmud or pbbuttonsd.

Ben.



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



Questions about the new powerbook ?

2005-05-26 Thread Mickael Royer
Hi,

I recently bought a powerbook 12 and I have installed linux on it.
For the moment, I use the kernel 2.6.12rc4. It works very well but I still have 2 problems :
 - The suspend to disk doesn't work
when X is lauched. When I try, the system blocks. Else, it works very
well when X is not launched. Is it a problem with the nvidia card ?
 - The trackpad doesn't work. Is it
planned to write a driver for this trackpad in the kernel ?

Thanks 


Re: Questions about the new powerbook ?

2005-05-26 Thread Benjamin Herrenschmidt
On Thu, 2005-05-26 at 11:32 +0200, Mickael Royer wrote:
 Hi,
 
 I recently bought a powerbook 12 and I have installed linux on it.
 For the moment, I use the kernel 2.6.12rc4. It works very well but I
 still have 2 problems :
   -  The suspend to disk doesn't work when X is lauched. When I
 try, the system blocks. Else, it works very well when X is not
 launched. Is it a problem with the nvidia card ?

When does it exactly locks ?

   -  The trackpad doesn't work. Is it planned to write a driver
 for this trackpad in the kernel ?

There are some experiments here or there, I don't know the current
status...

Ben.



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



Re: Questions about the new powerbook ?

2005-05-26 Thread Mickael Royer
  When does it exactly locks ?

 After unloaded modules and stop hotplug, I do 
   echo -n disk  /sys/power/state
 And just after that, an awful image appears and I can do
nothing. When I try the keyboard, nothing happen. The unique solution
is to press the power button until the Powerbook shutdown. 

I try the hibernate script written by the software suspend2 team, and I have the same problem.  

On 5/26/05, Benjamin Herrenschmidt [EMAIL PROTECTED] wrote:
On Thu, 2005-05-26 at 11:32 +0200, Mickael Royer wrote: Hi, I recently bought a powerbook 12 and I have installed linux on it. For the moment, I use the kernel 2.6.12rc4. It works very well but I
 still have 2 problems : -The suspend to disk doesn't work when X is lauched. When I try, the system blocks. Else, it works very well when X is not launched. Is it a problem with the nvidia card ?
When does it exactly locks ? -The trackpad doesn't work. Is it planned to write a driver for this trackpad in the kernel ?There are some experiments here or there, I don't know the current
status...Ben.


Re: Questions about the new powerbook ?

2005-05-26 Thread Benjamin Herrenschmidt
On Thu, 2005-05-26 at 11:54 +0200, Mickael Royer wrote:
When does it exactly locks ?
 
   After unloaded modules and stop hotplug, I do 
   echo -n disk  /sys/power/state
   And just after that, an awful image appears and I can do nothing.
 When I try the keyboard, nothing happen. The unique solution is to
 press the power button until the Powerbook shutdown.  
 
  I try the hibernate script written by the software suspend2 team, and
 I have the same problem. 

Weird.. when you start that, it should switch back to console, that seem
to be broken. Can you switch to console in general when in X ? What if
you log in your machine remotely while it's in X and do chvt 1, does
this work ?

Ben.



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



Re: alsa and jack latency

2005-05-26 Thread Martin Habets
In order to lower the latency you first need to be able to measure
it... I have been able to do some latency testing using the ALSA latencytest
tools on my powerbook using 2.6.11 and some patches:

[1] A patch for the genrtc kernel driver
http://www.mph.eclipse.co.uk/pub/linux/patches/2.6.11/genrtc.c.patch
The ioctls added can be tested using
http://www.mph.eclipse.co.uk/pub/linux/patches/rtctest2.c
It is important to run to this to find out the accuracy of the clock on
your platform. On PPC 1024Hz is probably the highest accurate frequency.
Any machine using genrtc should be able to use these ioctls, not just PPC.

[2] A patch against latencytest.0.5.5
http://www.mph.eclipse.co.uk/pub/linux/patches/latencytest.patch
With USE_GENERIC_TIMER selected in the makefile, this should work on
any platform. For PPC I'd recommend setting USE_PPC_VEA_TIMEBASE in the
Makefile.

Results: Initial testing showed serious latency from the X11 tests, but
the rest looks okay.
[3] http://www.mph.eclipse.co.uk/pub/linux/latency/test3/index.html
With a (questionable) DRM patch for the Radeon driver the results become:
[4] http://www.mph.eclipse.co.uk/pub/linux/latency/test7/index.html
Jack shows 11.6msec latency with -r44100 -p128 -n4.

I'm working with Takashi to get [2] included. I'm not convinced [1] is
needed/usefull for inclusion in the default kernel, unless I hear otherwise.

Martin

On Sat, May 14, 2005 at 09:56:40PM +0100, Paul Brossier wrote:
 Hi all,
 
 Trying to reduce the latency of jack on my ibook G4, i realised i can go
 down to 8.7ms using the oss mode, which is really good. But alsa won't
 accept running with less than 22ms and click on most X request:
 
 $ jackd -R -doss -r44100 -p128 -n3 -w16
 works perfectly, 128*3/44100=8.7ms latency, hardly any xrun on heavy load
 
 $ jackd -R -doss -r44100 -p256 -n2 -w16
 works fine, 11.6ms latency
 
 $ jackd -R -dalsa -r44100 -p128 -n3 -S
 runs but no clients can connect
 
 $ jackd -R -dalsa -r44100 -p256 -n2 -S
 fails saying ...
 ALSA: cannot set number of periods to 2 for capture
 ALSA: cannot configure capture channel
 
 $ jackd -R -dalsa -r44100 -p256 -n4 -S
 would run with 23.2ms latency, but xruns on most X queries
 
 It looks to me that this is related to the pmac driver. I have similar
 problems with snd-usb-audio and an edirol usb, which will only let jack
 run in oss mode. 
 
 I wonder what prevents the pmac module to do so while the oss emulation
 layer does it very well. I am running 2.6.12-rc4, but had this problem
 with earlier 2.6 kernels. Any thoughts?
 
 Many thanks, Paul


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



Re: bluetooth working on new powerbook

2005-05-26 Thread Barry Hawkins
On Tue, May 24, 2005 at 06:47:16PM +0200, Johannes Berg spake thus:
 On Tue, 2005-05-24 at 11:03 -0400, Barry Hawkins wrote:
  Funny thing now is that I cannot get Bluetooth to be recognized with my 
  custom-compiled kernel, although I have attempted to match up what I 
  think the stock 2.6.11-powerpc Debian kernel has for a config with 
  respect to Bluetooth and USB.  I first thought it was because usbcore was 
  not compile as a module (the only difference I could see), but that was 
  not it.  Still poking around, the kernel image docs may shed some light.
 
 Odd. Works fine here, with my own kernel (a heavily patched 2.6.11.10
 right now). If you want my .config send me private mail.
Peculiar, but after compiling again with the Virtual HCI driver as a 
module and usb_core compiled as a module, the problem went away.  I had 
to run a make-kpkg clean as well.  Thanks for the info.  There could be 
something else that affected it, but I don't really know.

Regards,
-- 
Barry Hawkins
All Things Computed
site: www.alltc.com
weblog: www.yepthatsme.com

Registered Linux User #368650


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



Backing an HFS partition

2005-05-26 Thread Gunther Furtado
Hello,

As I am trying to transfer a MacOS8.1 from a bootable hfs iomega zip disk to a 
bootable CD (trying to rescue a Performa630CD). I am having a hard time using 
mkisofs an it made me wonder: is it possible to back up an HFSPlus partition 
from debian? Which tools are available?

Thank you,
-- 

Gunther Furtado
--
Curitiba - PR - Brasil


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



[Help request] xmule build fails for powerpc arch

2005-05-26 Thread Daniel Leidert
Hello,

I have a little problem. The building of the current xmule package fails
for powerpc arch:
http://buildd.debian.org/fetch.php?pkg=xmulever=1.10.0b-1arch=powerpcstamp=1116805464file=logas=raw

But I have no idea, why. It seems to be a problem with the line:

#include deque

But as far as I understand the documentation, the line is right (package
1.9.5 successfully built for powerpc). So what do I miss? Anyone with an
idea? Current sources are also available under
http://allioth.debian.org/projects/pkg-xmule (see CVS).

Regards, Daniel


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



Re: Backing an HFS partition

2005-05-26 Thread Brad Boyer
On Thu, May 26, 2005 at 05:23:52PM -0300, Gunther Furtado wrote:
 As I am trying to transfer a MacOS8.1 from a bootable hfs iomega zip disk to 
 a 
 bootable CD (trying to rescue a Performa630CD). I am having a hard time using 
 mkisofs an it made me wonder: is it possible to back up an HFSPlus partition 
 from debian? Which tools are available?

You can't use mkisofs to make a CD that is bootable on an oldworld or
nubus based mac. It isn't just a matter of having files on the CD to
be able to boot from it. You need a partition map and drivers on your
CD setup correctly. The zip disk would have its own partition map and
drivers if it is bootable, but those drivers may not be compatible
with being loaded from a CD.

You might want to try burning the entire image of the zip disk
(not just the HFS partition) onto a CD and see if it works. That's
the only thing I can think of that might work. There isn't much
free software support for bootable disks on older macs. Just reading
the files from an HFS or HFS+ filesystem is easy.

Brad Boyer
[EMAIL PROTECTED]


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



Grab any d-v-d. (with any encryption) to you computer.

2005-05-26 Thread Dillon

Grow your own dope... plant a man. http://www.get4fast.com/ Shake a leg
Where there's muck there's brass It came like a bolt from the blue
As soon as the stewardess serves the coffee, the airline encounters turbulence. 
Ku-Klux Klan
Know the ropes






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



yaboot-o.f. usage?

2005-05-26 Thread gm c
my yaboot is 1.3.13-3
at  boot: 
I can boot a configured kernel like
boot:hd:12,/vmlinux-c

 An installed kernel boots ok if I put the label vmlinux after the
boot:  from the yaboot.conf file. 
image=/vmlinux
label=vmlinux
root=/dev/hda12
initrd=initrd.img

It will not boot with
boot:hd:12,/vmlinux root=/dev/hda12 initrd=initrd.img

It fails with message need to supply 'root='  
Anyone know how to enter proper text?
mike



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 


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