Re: backing up before debian install

2005-03-03 Thread vinai
> 1. is it OK for debian and OS X if I just shrink the OS X partition
>using partman, and put an ext3 filesystem partition after it?  Or
>should I put it before, etc, or the whole thing is not relevant?

I'm not sure.  There was a discussion on this list sometime within the
last couple of months on this topic.  I THINK partman can resize a HFS+
partition, but not with journaling enabled.  Check the thread to make
sure.

> 2. before using partman, I would like to make a backup of the whole
>disk.  What tools do you suggest for that?
>
>I can now boot the sarge netinstall cd (current, daily release) and
>mount partitions on my firewire/usb2 OWC 250 gb drive.  I thought
>of making a backup into a file on one of the partitions, using the
>tools on the sarge install disk.  Is this feasible?  What tools
>should I use?  I thought of dd, but I don't know how could I make
>it compare the data it has written with the disk, and I don't know
>which device name to use for the whole disk (not just a partition).
>If things don't work out, will I be able to restore from this?

If you want to make a fully functional backup of your mac os x system,
I would recommend looking at Carbon Copy Cloner from Mike Bombich (I
think his website is bombich.com).  It is donation-ware, but I've used
it for the last year to year and a half to backup my laptop drive to an
external firewire drive.  It can create bootable partitions, complete
disk images of existing partitions that can be backed up to CD or DVD,
but not bootable disk images.  Last time I checked, I think the site
said it was for OS X 10.2, but I've successfully used it on 10.3.x for
the last few months, and it still seems to work.

cheers
vinai


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



Re: Hard Disk install on a new PowerMac G5

2005-03-03 Thread Shyamal Prasad
"Francois" == Francois  <[EMAIL PROTECTED]> writes:

Francois> downloaded initrd.gz and a kernel image (vmlinux) from
Francois> the daily build of the netboot installer for newworld
Francois> powerpc [2] (on Sven's pages I think).

Francois> [2]
Francois> http://people.debian.org/~luther/d-i/images/daily/powerpc/netboot/


I think you need the power4 variant of the netboot kernel

http://people.debian.org/~luther/d-i/images/daily/power4/netboot/

Cheers!
Shyamal


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



backing up before debian install

2005-03-03 Thread Tamas K Papp
Hi,

I am about to install debian on my g4 (alu) powerbook.  I would like
to have a dual boot system and if possible, preserve my current OS X
installation.  Two questions:

1. is it OK for debian and OS X if I just shrink the OS X partition
   using partman, and put an ext3 filesystem partition after it?  Or
   should I put it before, etc, or the whole thing is not relevant?

2. before using partman, I would like to make a backup of the whole
   disk.  What tools do you suggest for that?

   I can now boot the sarge netinstall cd (current, daily release) and
   mount partitions on my firewire/usb2 OWC 250 gb drive.  I thought
   of making a backup into a file on one of the partitions, using the
   tools on the sarge install disk.  Is this feasible?  What tools
   should I use?  I thought of dd, but I don't know how could I make
   it compare the data it has written with the disk, and I don't know
   which device name to use for the whole disk (not just a partition).
   If things don't work out, will I be able to restore from this?

Please share suggestions & ideas,

Tamas


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



Exit solved, but I don't know what I did...

2005-03-03 Thread vze26m98
Well, I was able to break out with, I think, a key combination of:

(Ctl-Opt-Cmd-F12)

...which gave me a cursor in the upper left corner of the screen.  I
think then I was able to get to the F6 terminal and login.

Can anyone tell me what I did?

Best,

Charles

<[EMAIL PROTECTED]>


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



Re: CUDAMGR (was "Automatic power-on" or "pmacpow--would a .deb be worthwhile?")

2005-03-03 Thread Mauro
On Thu, 2005-03-03 at 22:17 +0100, Mich Lanners wrote:
> Hey all,
> 
> On   3 Mar, this message from [EMAIL PROTECTED] echoed through
> cyberspace:
> > Hello, an other interesting think to include in this future package
> > could be CUDAMGR.
> 
> LOL :-) Somebody's actually using it! Cool!. No, seriously, I hacked
> that together a long time ago, but server mode (automatic power-on after
> power failure) didn't work on my 7600, so I lost interest.
> 
> But if anybody wants to use the code, feel free to do so.
> 
> Cheers
> 
> Michel
That's a great id ea and a sadly missing function from linux-ppc (2.6 at
least).


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



Graceful exit from TWM/X Windows?

2005-03-03 Thread vze26m98
Hi all-

I'm stuck in TWM/X Windows because, I believe, I forgot to add the
-exitonFail parameter to an xconsole entry in my .xsession file.

So I'm staring at my root window and a console window that says
"Couldn't open console." Nothing more.

Doesn't seem like I can switch to another terminal. (eg Ctl-Alt-F1)

Any thoughts on a graceful exit from my predicament?

Many thanks,

Charles



<[EMAIL PROTECTED]>


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



Re: State of ibook G4 sleep support in 2.6.11?

2005-03-03 Thread Benjamin Herrenschmidt
On Fri, 2005-03-04 at 01:32 +0100, Sebastien NOEL wrote:
> On Fri, 04 Mar 2005 09:40:48 +1100 , Benjamin Herrenschmidt wrote:
> 
> > > this crash look like /dev/random, one time i have xmon, another time not;
> > > one time the keyboard works in xmon, another time not :/
> > 
> > Ok, looks like memory corruption then. What is your CPU model ?
> 
> cat /proc/cpuinfo
> processor   : 0
> cpu : 7455, altivec supported
> clock   : 931MHz
> revision: 3.3 (pvr 8001 0303)
> bogomips: 936.65
> machine : PowerBook6,3
> motherboard : PowerBook6,3 MacRISC3 Power Macintosh
> detected as : 287 (iBook G4)
> pmac flags  : 001b
> L2 cache: 256K unified
> memory  : 640MB
> pmac-generation : NewWorld
> 
> > It could be the RAM thing you told me about, or it could be the cache
> > flushing...
> 
> I hope that it is not the RAM (apple hardare test run fine without any glitch)

Ok, look at arch/ppc/platforms/pmac_sleep.S, there is this bit of code:

/* Due to a bug with the HW flush on some CPU revs, we occasionally
 * experience data corruption. I'm adding a displacement flush along
 * with a dcbf loop over a few Mb to "help". The problem isn't totally
 * fixed by this in theory, but at least, in practice, I couldn't 
reproduce
 * it even with a big hammer...
 */

lis r4,0x0002
mtctr   r4
li  r4,0
1:
lwzxr0,r0,r4
addir4,r4,32/* Go to start of next cache line */
bdnz1b
isync

/* Now, flush the first 4MB of memory */
lis r4,0x0002
mtctr   r4
li  r4,0
sync
1:
dcbf0,r4
addir4,r4,32/* Go to start of next cache line */
bdnz1b


Can you change the 2 instances of "lis r4,0x0002" to "lis r4,0x0020" ?

It will cause the code to flush 16 times more memory :) A bit gross, but it 
would
probably tell us if this is the problem.

Ben.



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



Re: mkvmlinuz: how to use?

2005-03-03 Thread Leandro =?ISO-8859-1?Q?Guimar=E3es?= Faria Corcete Dutra
Em Qui, 2005-03-03 Ãs 22:56 +0100, Sven Luther escreveu:
> 
> mkvmlinuz is just a smallish shell script, which provided the kernel-image you
> are using includes support for mkvmlinuz, in which is copies most of the
> object files built in arch/ppc/boot and a few more into 
> /usr/lib/kernel-image-*
> so the last step of the linking can happen at kernel-image install time, so
> you don't need to have a -pmac, -prep, -chrp and -chrp-rs6k kernel as we used
> to have in older 2.4 times.

The phrasing is quite confusing, but...

OK, so it is there to facilitate primarily compilation, packaging
distribution and instalation, not necessarily booting?


> If you are purely a yaboot or quik user, you can just plain ignore mkvmlinuz,
> and as it is just a smallish script, it will not bother you otherwise.

So it is not intended replace yaboot?

I hoped it was something more foolproof (where fool == me) than
yaboot...


-- 
Leandro GuimarÃes Faria Corcete Dutra <[EMAIL PROTECTED]>
MaringÃ, PR, BRASIL+55 (44) 3025 6253
http://br.geocities.com./lgcdutra/ +55 (44) 8803 1729
Soli Deo Gloria!   +55 (11) 9406 7191


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



Re: State of ibook G4 sleep support in 2.6.11?

2005-03-03 Thread Sebastien NOEL
On Fri, 04 Mar 2005 09:40:48 +1100 , Benjamin Herrenschmidt wrote:

> > this crash look like /dev/random, one time i have xmon, another time not;
> > one time the keyboard works in xmon, another time not :/
> 
> Ok, looks like memory corruption then. What is your CPU model ?

cat /proc/cpuinfo
processor   : 0
cpu : 7455, altivec supported
clock   : 931MHz
revision: 3.3 (pvr 8001 0303)
bogomips: 936.65
machine : PowerBook6,3
motherboard : PowerBook6,3 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags  : 001b
L2 cache: 256K unified
memory  : 640MB
pmac-generation : NewWorld

> It could be the RAM thing you told me about, or it could be the cache
> flushing...

I hope that it is not the RAM (apple hardare test run fine without any glitch)



thanks,

Sebastien


pgpp1n1CzjAOx.pgp
Description: PGP signature


2.6.11 with sleep and linux-wlan-ng drivers

2005-03-03 Thread =?utf-8?q?Kjetil_=C3=98rbekk?=
Does anyone have a .deb, since I am too lazy to do it myself? A
.config could do the job too.

-- 
Kjetil Orbekk


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



Re: ibook2 r128 xv colour corruption

2005-03-03 Thread Benjamin Herrenschmidt
On Thu, 2005-03-03 at 08:47 +, Lee Braiden wrote:
> Hi all :)
> 
> I've noticed a driver-ish problem with Xv recently, with my ATI Rage 128 
> mobility M3...
> 
> When playing large movies (say 800x600; definitely 1024x768) using Xv, it 
> seems to be unable to allocate the memory required.  As a result, mplayer 
> crashes, and xine shows only a green screen.  Regardless of which player I 
> use though, the entire X screen becomes corrupted, as if the palette had been 
> changed on a colour-mapped screen.  But it's 16-bit true-colour, so I'm not 
> sure what's going on there.
> 
> Anyone have ideas on that, or similar experiences?  Should I be expecting to 
> get this fixed soon, or should I just wait for Xorg, which probably 
> (hopefully?) has it sorted already?
> 
> Also, what's the general status of r128 support in Xv, DRI, console, etc.?  
> Is 
> anyone still improving it, or has it been relegated to the past?

That used to work. I'll have to give it a try one of these days.

Ben.



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



Re: iMac Mini

2005-03-03 Thread Benjamin Herrenschmidt
On Thu, 2005-03-03 at 00:40 -0800, Paul J. Lucas wrote:
> On Thu, 3 Mar 2005, Benjamin Herrenschmidt wrote:
> 
> > Thanks all. I'm now installing deb, and will see how to get the
> > remaining bits working.
> 
>   I looked back through the archives and couldn't figure out which
>   are the tbits that don't work.  I'm typing this on a Mac Mini
>   right now.

Sound mostly. Plus I have a problem with my flat panel (but that's
unrelated to the mini) and I intend to try to get sleep support working
on it.

>   The only problem I has was that it didn't like the integral USB
>   hub in the 22" Apple Cinema Display: it would lock up the
>   entire USB subsystem.

I had some weird issues with the 23" hub even in MacOS ... 

Ben.



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



Re: TiBook IV and Kernel 2.6.11

2005-03-03 Thread Benjamin Herrenschmidt
On Thu, 2005-03-03 at 13:37 +0100, Michael Flaig wrote:
> Hi subscribers,
> 
> my Machine is an TiBook IV mit the Radeon 9000 Mobility
> running debian sid.
> 
> I´ve compiled 2.6.11 vanilla and had the problem that the system hang on
> booting at the beginning when drm is initialized. DRM support and radeon
> driver were compiled in.

Weird. I have the same model, and haven't seen the problem, I'll check
with DRM built-in too.

> Now I´ve changed to compile drm and radon driver as module and it seems
> to work much better no hangs when loading the modules.
> 
> Hope that helps somebody out there :-)
> 
> cya,
> 
>   mfl
> 
> 
> btw. the Gnome Volume Applet is crashing when going to suspend.
> I have pbbuttonsd 0.6.7-1 and Alsa 1.0.8-7
> Not sure if it is a kernel problem or a pbbuttonsd problem or an alsa
> problem, maybe someone has an hint for me?
> 
> --- machine ---
> processor   : 0
> cpu : 7455, altivec supported
> clock   : 1000MHz
> revision: 3.3 (pvr 8001 0303)
> bogomips: 997.90
> machine : PowerBook3,5
> motherboard : PowerBook3,5 MacRISC2 MacRISC Power Macintosh
> detected as : 80 (PowerBook Titanium IV)
> pmac flags  : 001b
> L2 cache: 256K unified
> memory  : 512MB
> pmac-generation : NewWorld
> 
> 
> 
-- 
Benjamin Herrenschmidt <[EMAIL PROTECTED]>


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



Re: Massiv kernel crashes on ibook/G4 1.33 GHz

2005-03-03 Thread Benjamin Herrenschmidt
On Thu, 2005-03-03 at 22:13 +0100, steinm wrote:
> Finally got a change to stick in the apple hardware test cd
> and it revealed a problem with the extra 512MB memory bar.
> 
> Without the extra memory it is slow but works :-)

Yes, I noticed that MacOS seem to be less sensitive to problems with
extra memory, possibly because it starts allocating from the bottom,
while Linux allocates more randomly  ?

Ben.



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



Re: State of ibook G4 sleep support in 2.6.11?

2005-03-03 Thread Benjamin Herrenschmidt

> 
> this crash look like /dev/random, one time i have xmon, another time not;
> one time the keyboard works in xmon, another time not :/

Ok, looks like memory corruption then. What is your CPU model ? It could
be the RAM thing you told me about, or it could be the cache flushing...

Ben.



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



Re: mkvmlinuz: how to use?

2005-03-03 Thread Sven Luther
On Thu, Mar 03, 2005 at 02:19:02PM -0300, Leandro Guimaraens Faria Corsetti 
Dutra wrote:
>   Google did not help me, nor the list archives.
> 
>   What is exactly mkvmlinuz, and how to use it?
> 
>   What I could gather is that it puts a reduced version of the
> kernel somewhere in OpenFirmware, so one can do without yaboot.  But
> then how to boot?

When you build a kernel, you either build the vmlinux file, which yaboot and
quik use, or you build a zImage.chrp or .prep or so (try googling for those),
which include a compressed version of the same vmlinux file, plus a small chrp
or prep or coff or whatever mini-bootloader whose code you will find in
arch/ppc/boot, and which may include also an initrd in the same file.

mkvmlinuz is just a smallish shell script, which provided the kernel-image you
are using includes support for mkvmlinuz, in which is copies most of the
object files built in arch/ppc/boot and a few more into /usr/lib/kernel-image-*
so the last step of the linking can happen at kernel-image install time, so
you don't need to have a -pmac, -prep, -chrp and -chrp-rs6k kernel as we used
to have in older 2.4 times.

If you are purely a yaboot or quik user, you can just plain ignore mkvmlinuz,
and as it is just a smallish script, it will not bother you otherwise.

Hope this helps.

Friendly,

Sven Luther


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



Re: initrd.img ?

2005-03-03 Thread Sven Luther
On Thu, Mar 03, 2005 at 12:39:10PM -0800, Paul J. Lucas wrote:
> On Thu, 3 Mar 2005, Ken Moffat wrote:
> 
> >Debian, like any other distro, tries to support a large number of machines
> >with a single kernel.  For that, it makes sense to build everything as
> >modules.
> 
>   Right, but my question is in the context of building one's own
>   kernel.

flexibility and the smallest footprint possible.

you should not be building your own kernels anyway :)

Friendly,

Sven Luther


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



Re: initrd.img ?

2005-03-03 Thread Sven Luther
On Thu, Mar 03, 2005 at 09:32:13AM -0800, Paul J. Lucas wrote:
>   If one is compiling a custom kernel, does one need the
>   initrd.img file?
> 
>   I've compiled kernels before (it's been a while, however), and I
>   don't remember about having to use an initrd.img file.  Can't I
>   just point yaboot.conf directly at the vmlinux file?
> 
>   If I do need an initrd.img file, how does one make one?

It is your choice. If you use the --initrd option to make-kpkg, you can then
provide an initrd, or chose not to without using that option.

Friendly,

Sven Luther


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



Reproducable crash of linux 2.6.x on iBook/G4

2005-03-03 Thread steinm
Hi,

I'm currently in big trouble because my iBook/G4 (bought a couple
of weeks ago) is crashing all the time.

There has been occasional crashes in the past which I thought
were related to the sleep support and linux-wlan-ng.
Since yesterday it crashes during file system check of any
partition. I managed to disable the file system check
after booting the ubuntu live cd. That has been a hassle as
well, because of various kernel crashes.
Currently I don't get the system up, unless in single user
mode or with disabling many daemons.
Whenever a larger process starts like postgresql or
X11 it goes into xmon. Sometimes I get out with 'x'.
I tried various kernels 2.6.8, 2.6.9, 2.6.11-rc4 and the
symptoms are always identical. MacOSX boots just fine.
Anyway, this somehow looks like a hardware damage, because
the system has been fairly stable for some weeks running
2.6.11-rc4.

Would be great if somebody had an idea what is going wrong.

Here is an extract from syslog

Mar  3 10:08:19 localhost kernel: Oops: kernel access of bad area, sig: 11 [#2]
Mar  3 10:08:19 localhost kernel: NIP: C0073B48 LR: C00744C8 SP: EA973D80 REGS: 
ea973cd0 TRAP: 0300Not tainted
Mar  3 10:08:19 localhost kernel: MSR: 9032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 
11
Mar  3 10:08:19 localhost kernel: DAR: 6F4A1C14, DSISR: 4000
Mar  3 10:08:19 localhost kernel: TASK = ef23e250[4410] 'apache2' THREAD: 
ea972000
Mar  3 10:08:19 localhost kernel: Last syscall: 5 
Mar  3 10:08:19 localhost kernel: GPR00: C00744C8 EA973D80 EF23E250 EA973DD0 
6F4A1BB4 0001 EA973D08 EB44D940 
Mar  3 10:08:19 localhost kernel: GPR08: 0011  0001 EF4A1C0C 
 100776F4  7FFD 
Mar  3 10:08:19 localhost kernel: GPR16: 7510 8000  0002 
001B 0EAA63EF 30023178  
Mar  3 10:08:19 localhost kernel: GPR24: 0004 0001 6A973E20  
 EA973DD4 6A973DD0 EA973DD0 
Mar  3 10:08:19 localhost kernel: NIP [c0073b48] follow_mount+0x24/0xe0
Mar  3 10:08:19 localhost kernel: LR [c00744c8] link_path_walk+0x740/0xd4c
Mar  3 10:08:19 localhost kernel: Call trace:
Mar  3 10:08:19 localhost kernel:  [c00744c8] link_path_walk+0x740/0xd4c
Mar  3 10:08:19 localhost kernel:  [c0074600] link_path_walk+0x878/0xd4c
Mar  3 10:08:19 localhost kernel:  [c0074d70] path_lookup+0xa8/0x17c
Mar  3 10:08:19 localhost kernel:  [c007561c] open_namei+0x98/0x6b4
Mar  3 10:08:19 localhost kernel:  [c0062d5c] filp_open+0x38/0x68
Mar  3 10:08:19 localhost kernel:  [c006323c] sys_open+0x68/0xa0
Mar  3 10:08:19 localhost kernel:  [c0004240] ret_from_syscall+0x0/0x44
Mar  3 10:08:20 localhost udev[4420]: removing device node '/dev/vcs1'
Mar  3 10:08:20 localhost udev[4422]: removing device node '/dev/vcsa1'
Mar  3 10:08:20 localhost udev[4445]: creating device node '/dev/vcs1'
Mar  3 10:08:22 localhost kernel: Oops: kernel access of bad area, sig: 11 [#3]
Mar  3 10:08:22 localhost kernel: NIP: C0071FD4 LR: C0071FC0 SP: EAF65E70 REGS: 
eaf65dc0 TRAP: 0300Not tainted
Mar  3 10:08:22 localhost kernel: MSR: 9032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 
11
Mar  3 10:08:22 localhost kernel: DAR: 6AF65EDC, DSISR: 4000
Mar  3 10:08:22 localhost kernel: TASK = ef52f240[4437] 'default.hotplug' 
THREAD: eaf64000
Mar  3 10:08:22 localhost kernel: Last syscall: 3 
Mar  3 10:08:22 localhost kernel: GPR00:  EAF65E70 EF52F240 EB3C2000 
EDF0CC00 C0B67840  C0313D30 
Mar  3 10:08:22 localhost kernel: GPR08: EAF65E4C 2B3C2000 28000228 C030 
 100CC2F4 6AF65ED8  
Mar  3 10:08:22 localhost kernel: GPR16: C0D11C50 EA960CA0   
0080 C0D11BDC C02550E0 0001 
Mar  3 10:08:22 localhost kernel: GPR24: EDF0CC00 0080 EDF0CC10 EB3C2000 
0080 0080 EA960CA0 6AF65ED8 
Mar  3 10:08:22 localhost kernel: NIP [c0071fd4] pipe_readv+0xd8/0x38c
Mar  3 10:08:22 localhost kernel: LR [c0071fc0] pipe_readv+0xc4/0x38c
Mar  3 10:08:22 localhost kernel: Call trace:
Mar  3 10:08:22 localhost kernel:  [c00722b0] pipe_read+0x28/0x38
Mar  3 10:08:22 localhost kernel:  [c0063b5c] vfs_read+0xc8/0x150
Mar  3 10:08:22 localhost kernel:  [c0063e70] sys_read+0x50/0x94
Mar  3 10:08:22 localhost kernel:  [c0004240] ret_from_syscall+0x0/0x44

-- 
  MMK GmbH, Universitaetsstr. 11, 58097 Hagen
  [EMAIL PROTECTED]
  Tel: +2331 840446Fax: +2331 843920


signature.asc
Description: Digital signature


Re: Massiv kernel crashes on ibook/G4 1.33 GHz

2005-03-03 Thread steinm
Finally got a change to stick in the apple hardware test cd
and it revealed a problem with the extra 512MB memory bar.

Without the extra memory it is slow but works :-)

  Uwe

On Thu, Mar 03, 2005 at 08:14:39PM +0100, Uwe Steinmann wrote:
> Hi,
> 
> I've got a serious problem with my ibook/G4. Since yesterday there
> are frequent kernel crashes. No chance to get the system up without
> a kernel crash. Booting in single user mode usually works, probably
> because of much less disk io. As soon as larger processes like
> postgresql or X11 are started the system ends up in xmon, which in
> some cases be left with 'x'.
> 
> This happens for linux 2.6.8 (stock debian kernel), 2.6.9 and 2.6.11-rc4.
> They all had been working till yesterday. I initially suspected my
> daily apt-get upgrade, but that is very unlike to be the case, because
> starting the ubuntu live cd has identical problems. I never get into
> X but usually have a console to log in. If I execute
> 'dd if=/dev/hdax of=/dev/null' it almost freezes imediately. Running
> a fsck is impossible. It freezes before reaching 10%.
> 
> MacOSX is working as usually and even reading one of the
> linux partitions with dd or mounting them from MacOSX with ext2fsx
> didn't cause any problems.
> 
> I'm not sure what is going on, but I'm under the impression that
> this is hardware related. The last time it run reliable (yesterday)
> it has been under heavy load for at least 4 hours with the fan
> on almost all the time. I can't believe this has overheaded it, but
> how knows.
> 
> I added some syslog messages at the end of the mail, just in case it
> helps.
> I'm completely clueless and I don't think apple will care about it
> as long as it runs under MacOSX.
> 
> Any help welcome.
> 
>   Uwe
> 
> Mar  3 10:28:20 localhost postfix/postfix-script: stopping the Postfix mail 
> system
> Mar  3 10:28:20 localhost postfix/master[4742]: terminating on signal 15
> Mar  3 10:28:29 localhost kernel: Oops: kernel access of bad area, sig: 11 
> [#5]
> Mar  3 10:28:29 localhost kernel: NIP: C0071FD4 LR: C0071FC0 SP: EAB4FE70 
> REGS: eab4fdc0 TRAP: 0300Not tainted
> Mar  3 10:28:29 localhost kernel: MSR: 9032 EE: 1 PR: 0 FP: 0 ME: 1 
> IR/DR: 11
> Mar  3 10:28:29 localhost kernel: DAR: 6AB4FEDC, DSISR: 4000
> Mar  3 10:28:29 localhost kernel: TASK = eb6a0e70[4806] 'postfix-script' 
> THREAD: eab4e000
> Mar  3 10:28:29 localhost kernel: Last syscall: 3 
> Mar  3 10:28:29 localhost kernel: GPR00:  EAB4FE70 EB6A0E70 EB61B000 
> EC0A1400 C0B6C360  C0313D30 
> Mar  3 10:28:29 localhost kernel: GPR08: EAB4FE4C 2B61B000 22000428 C030 
>  100CC2F4 6AB4FED8  
> Mar  3 10:28:29 localhost kernel: GPR16: EA548478 EF1DDE80   
> 0080 EA548404 C02550E0 0001 
> Mar  3 10:28:29 localhost kernel: GPR24: EC0A1400 0080 EC0A1410 EB61B000 
> 0080 0080 EF1DDE80 6AB4FED8 
> Mar  3 10:28:29 localhost kernel: NIP [c0071fd4] pipe_readv+0xd8/0x38c
> Mar  3 10:28:29 localhost kernel: LR [c0071fc0] pipe_readv+0xc4/0x38c
> Mar  3 10:28:29 localhost kernel: Call trace:
> Mar  3 10:28:29 localhost kernel:  [c00722b0] pipe_read+0x28/0x38
> Mar  3 10:28:29 localhost kernel:  [c0063b5c] vfs_read+0xc8/0x150
> Mar  3 10:28:29 localhost kernel:  [c0063e70] sys_read+0x50/0x94
> 
> 
> Mar  3 10:33:41 localhost kernel: Oops: kernel access of bad area, sig: 11 
> [#6]
> Mar  3 10:33:41 localhost kernel: NIP: C00BA99C LR: C00BA9E4 SP: DDD3FD90 
> REGS: ddd3fce0 TRAP: 0300Not tainted
> Mar  3 10:33:41 localhost kernel: MSR: 9032 EE: 1 PR: 0 FP: 0 ME: 1 
> IR/DR: 11
> Mar  3 10:33:41 localhost kernel: DAR: 62D79D74, DSISR: 4000
> Mar  3 10:33:41 localhost kernel: TASK = e982a620[5115] 'dpkg' THREAD: 
> ddd3e000
> Mar  3 10:33:41 localhost kernel: Last syscall: 10 
> Mar  3 10:33:41 localhost kernel: GPR00: C00BA9E4 DDD3FD90 E982A620 C039A4D8 
> 0003 0001 DDD3FD78 0001 
> Mar  3 10:33:41 localhost kernel: GPR08: C0A5AF80 C039A4D8 0002 1000 
>  10041170 7290 1003 
> Mar  3 10:33:41 localhost kernel: GPR16: 7170 1002CB90 7140 7FFF7080 
> 8000 2000 1002633C EFEF79A0 
> Mar  3 10:33:41 localhost kernel: GPR24: 0001  C0A5AF80 E2D79D64 
> 1000 0004 62D79D64 62D79D64 
> Mar  3 10:33:41 localhost kernel: NIP [c00ba99c] 
> journal_invalidatepage+0x68/0x144
> Mar  3 10:33:41 localhost kernel: LR [c00ba9e4] 
> journal_invalidatepage+0xb0/0x144
> Mar  3 10:33:41 localhost kernel: Call trace:
> Mar  3 10:33:41 localhost kernel:  [c00a9738] ext3_invalidatepage+0x4c/0x5c
> Mar  3 10:33:41 localhost kernel:  [c0049dd4] do_invalidatepage+0x28/0x44
> Mar  3 10:33:41 localhost kernel:  [c0049ec0] truncate_complete_page+0xd0/0xd4
> Mar  3 10:33:41 localhost kernel:  [c004a0ec] truncate_inode_pages+0x110/0x3e8
> Mar  3 10:33:41 localhost kernel:  [c0081684] generic_delete_inode+0x114/0x118
> Mar  3 10:33:41 localhost kernel:  [c008189c] iput+0x94/0xbc
> Mar  3 10:33:41 lo

Re: CUDAMGR (was "Automatic power-on" or "pmacpow--would a .deb be worthwhile?")

2005-03-03 Thread Mich Lanners
Hey all,

On   3 Mar, this message from [EMAIL PROTECTED] echoed through
cyberspace:
> Hello, an other interesting think to include in this future package
> could be CUDAMGR.

LOL :-) Somebody's actually using it! Cool!. No, seriously, I hacked
that together a long time ago, but server mode (automatic power-on after
power failure) didn't work on my 7600, so I lost interest.

But if anybody wants to use the code, feel free to do so.

Cheers

Michel

-
Michel Lanners |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes|Ask Questions.  Make Mistakes.
L-1710 Luxembourg  |
email   [EMAIL PROTECTED]|
http://www.cpu.lu/~mlan| Learn Always. "


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



Re: keyboard layout under X11

2005-03-03 Thread Ken Moffat
On Thu, 3 Mar 2005, Jochen Voss wrote:

> Hello,
>
> since yesterday I am proud owner of a shiny new Apple powerbook G4.
> My attempts to run Debian on it are summarised at
>
> http://seehuhn.de/comp/powerbook/
>
> My question for now is: is there a simple way to get the keyboard working 
> correctly
> under X11?  I have a British keyboard and thus I tried
>
> Section "InputDevice"
> Identifier  "Generic Keyboard"
> Driver  "keyboard"
> Option  "CoreKeyboard"
> Option  "XkbRules"  "xfree86"
> Option  "XkbModel"  "macintosh"
> Option  "XkbLayout" "gb"
> EndSection
>
> But this does not really work (several keys are swapped).
>
> Many thanks,
> Jochen
>

 I installed -testing on my recent G4 iBook last week, and the British
keyboard is almost correct (that is, matches the key tops), the key with
the back-quote and tilde gives <>, but the key to the left of '1' with a
squiggle and plus-minus gives `~.  Oh, and shift-'3' in an xterm gives #
which is mostly more use than a pound sign.  Everything else seems
correct.  And the magic combination (XFree 4.3.something) is
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "macintosh"
Option  "XkbLayout" "us"

Weird!  But then, this isn't really a regular British layout for @ and
".

HTH

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce



Re: initrd.img ?

2005-03-03 Thread Paul J. Lucas
On Thu, 3 Mar 2005, Ken Moffat wrote:
Debian, like any other distro, tries to support a large number of machines
with a single kernel.  For that, it makes sense to build everything as
modules.
Right, but my question is in the context of building one's own
kernel.
- Paul
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


xterm problem on my powerbook

2005-03-03 Thread Jochen Voss
Hello,

the weirdest problem of my new Linux installation on a powerbook is
the following: "xterm" does not work!  It opens a window but then dies
immediately with the following error message.

xterm: fatal pty error 23 (errno=22) on tty /dev/pts/1

Does anybody else see this problem?  Is there any know cure?

Detail about my machine may be found at http://seehuhn.de/comp/powerbook/ .

All the best,
Jochen
-- 
http://seehuhn.de/


signature.asc
Description: Digital signature


Re: initrd.img ?

2005-03-03 Thread Ken Moffat
On Thu, 3 Mar 2005, Paul J. Lucas wrote:

> On Thu, 3 Mar 2005, Eric Cooper wrote:
>
> > If you compile in "enough" drivers, instead of making them modules,
> > you won't need an initrd.  "Enough" means at least the driver for your
> > hard disk, the filesystem for your root partition, and maybe your
> > keyboard, mouse, and video.
>
>   Why wouldn't you compile-in filesystem and video support?  I
>   mean, the system has to use them the entire time it's up.  So
>   why would anybody make them module?
>
>   - Paul
>
>
>

 Debian, like any other distro, tries to support a large number of
machines with a single kernel.  For that, it makes sense to build
everything as modules.

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce



Re: ***appletalk.ko & ipddp.ko***

2005-03-03 Thread Wolfgang Pfeiffer
On Thu, Mar 03, 2005 at 09:28:24AM -0800, Kim Cascone wrote:

>   - I went in and removed two files from the kernal:
>   - appletalk.ko
>   - ipddp.ko

Oh! If these files were in something like
/lib/modules//kernel/net/appletalk/appletalk.ko
and something similar to this for ipddp.ko then you probably just
deleted some kernel drivers ...

> - when I rebooted everything seemed to be OK although it still tried
> to set up services for Appletalk but timed out and booted OK -
> meaning all my settings and most of the software seemed to work OK
> (Firefox, Evolution, Open Office, Synaptic Package manager, and most
> of the system applets seemed fine on cursory examination)
> #
> - so my questions are now:
>   - should I replace the two appletalk .ko files I removed? if so, 
>   how? from the source of the kernel? or is there some other way
>   to fix this?


I'd ask the package management system to check its own status:
dpkg -C
What does it tell you?

If it won't make any suggestions I'd try to reinstall the kernel:

The dry-run (nothing should be changed with the following because of
the --simulate flag):

apt-get --simulate --reinstall install 

To really try to reinstall it re-run the command above without the
"--simulate" option ...

After this:

Don't forget to compare your yaboot.conf to the files in / and /boot,
or wherever you have your kernel or initrd or whatever ...

If you think all's OK with them I'd run again 
ybin -v

>   -  now that I removed the two (most likely culprits) netatalk dirs 
> this has now created a problem with the package manager i.e. it can't 
> remove the package but it sees that some of the bits are still 
> there...how would I use 'apt-get' to correct this situation? will it 
> remove partial packages? if not what utility would handle this?
>   - is there a rescue package for handling this sort of muck up that I 
> can use for correcting things?

.. the same: I'd try to reinstall the netatalk package the same way as
suggested above for the kernel ...

With no guarantees it will work ... :)  

Good luck
  Wolfgang
-- 
Wolfgang Pfeiffer
http://profiles.yahoo.com/wolfgangpfeiffer


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



keyboard layout under X11

2005-03-03 Thread Jochen Voss
Hello,

since yesterday I am proud owner of a shiny new Apple powerbook G4.
My attempts to run Debian on it are summarised at

http://seehuhn.de/comp/powerbook/

My question for now is: is there a simple way to get the keyboard working 
correctly
under X11?  I have a British keyboard and thus I tried

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "macintosh"
Option  "XkbLayout" "gb"
EndSection

But this does not really work (several keys are swapped).

Many thanks,
Jochen
-- 
http://seehuhn.de/


signature.asc
Description: Digital signature


Re: State of ibook G4 sleep support in 2.6.11?

2005-03-03 Thread Uwe Steinmann
On Thu, Mar 03, 2005 at 03:22:13PM +0100, Sebastien NOEL wrote:
> 
> [last mail seem to have been lost on the way]
>  
> 
> > this crash look like /dev/random, one time i have xmon, another time not;
> > one time the keyboard works in xmon, another time not :/
> 
> I tried with 2.6.9 and the crash happens too.
> 
> 2 weeks ago i changed the apple 128MB memory module for a 512MB from corsair
> 
> If i replug the apple memory, all works fine, no more crash.
> 
> The 512MB module works fine without sleeping, i have no problem with OSX and
> the apple hardware test CD didn't detect any problem.
> 
> I used dd, mkswap & swapon to add swap, just after the "make-kpkg clean"
> I saw :
> "swap_free:Bad swap offset entry 002378a00"
> "<2>kernel BUG in pag_remove_rmap at mm/rmap.c:482!"
Very similar symptoms here. It started yesterday (see my mail just
send to the list).

> your opinion ? Hardware or software problem ?
In my case I suspect a hardware problem though I can image why
it happend from one to the other day.

  Uwe

-- 
  MMK GmbH, Universitaetsstr. 11, 58097 Hagen
  [EMAIL PROTECTED]
  Tel: +2331 840446Fax: +2331 843920


pgpzbYVlhzP99.pgp
Description: PGP signature


Massiv kernel crashes on ibook/G4 1.33 GHz

2005-03-03 Thread Uwe Steinmann
Hi,

I've got a serious problem with my ibook/G4. Since yesterday there
are frequent kernel crashes. No chance to get the system up without
a kernel crash. Booting in single user mode usually works, probably
because of much less disk io. As soon as larger processes like
postgresql or X11 are started the system ends up in xmon, which in
some cases be left with 'x'.

This happens for linux 2.6.8 (stock debian kernel), 2.6.9 and 2.6.11-rc4.
They all had been working till yesterday. I initially suspected my
daily apt-get upgrade, but that is very unlike to be the case, because
starting the ubuntu live cd has identical problems. I never get into
X but usually have a console to log in. If I execute
'dd if=/dev/hdax of=/dev/null' it almost freezes imediately. Running
a fsck is impossible. It freezes before reaching 10%.

MacOSX is working as usually and even reading one of the
linux partitions with dd or mounting them from MacOSX with ext2fsx
didn't cause any problems.

I'm not sure what is going on, but I'm under the impression that
this is hardware related. The last time it run reliable (yesterday)
it has been under heavy load for at least 4 hours with the fan
on almost all the time. I can't believe this has overheaded it, but
how knows.

I added some syslog messages at the end of the mail, just in case it
helps.
I'm completely clueless and I don't think apple will care about it
as long as it runs under MacOSX.

Any help welcome.

  Uwe

Mar  3 10:28:20 localhost postfix/postfix-script: stopping the Postfix mail 
system
Mar  3 10:28:20 localhost postfix/master[4742]: terminating on signal 15
Mar  3 10:28:29 localhost kernel: Oops: kernel access of bad area, sig: 11 [#5]
Mar  3 10:28:29 localhost kernel: NIP: C0071FD4 LR: C0071FC0 SP: EAB4FE70 REGS: 
eab4fdc0 TRAP: 0300Not tainted
Mar  3 10:28:29 localhost kernel: MSR: 9032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 
11
Mar  3 10:28:29 localhost kernel: DAR: 6AB4FEDC, DSISR: 4000
Mar  3 10:28:29 localhost kernel: TASK = eb6a0e70[4806] 'postfix-script' 
THREAD: eab4e000
Mar  3 10:28:29 localhost kernel: Last syscall: 3 
Mar  3 10:28:29 localhost kernel: GPR00:  EAB4FE70 EB6A0E70 EB61B000 
EC0A1400 C0B6C360  C0313D30 
Mar  3 10:28:29 localhost kernel: GPR08: EAB4FE4C 2B61B000 22000428 C030 
 100CC2F4 6AB4FED8  
Mar  3 10:28:29 localhost kernel: GPR16: EA548478 EF1DDE80   
0080 EA548404 C02550E0 0001 
Mar  3 10:28:29 localhost kernel: GPR24: EC0A1400 0080 EC0A1410 EB61B000 
0080 0080 EF1DDE80 6AB4FED8 
Mar  3 10:28:29 localhost kernel: NIP [c0071fd4] pipe_readv+0xd8/0x38c
Mar  3 10:28:29 localhost kernel: LR [c0071fc0] pipe_readv+0xc4/0x38c
Mar  3 10:28:29 localhost kernel: Call trace:
Mar  3 10:28:29 localhost kernel:  [c00722b0] pipe_read+0x28/0x38
Mar  3 10:28:29 localhost kernel:  [c0063b5c] vfs_read+0xc8/0x150
Mar  3 10:28:29 localhost kernel:  [c0063e70] sys_read+0x50/0x94


Mar  3 10:33:41 localhost kernel: Oops: kernel access of bad area, sig: 11 [#6]
Mar  3 10:33:41 localhost kernel: NIP: C00BA99C LR: C00BA9E4 SP: DDD3FD90 REGS: 
ddd3fce0 TRAP: 0300Not tainted
Mar  3 10:33:41 localhost kernel: MSR: 9032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 
11
Mar  3 10:33:41 localhost kernel: DAR: 62D79D74, DSISR: 4000
Mar  3 10:33:41 localhost kernel: TASK = e982a620[5115] 'dpkg' THREAD: ddd3e000
Mar  3 10:33:41 localhost kernel: Last syscall: 10 
Mar  3 10:33:41 localhost kernel: GPR00: C00BA9E4 DDD3FD90 E982A620 C039A4D8 
0003 0001 DDD3FD78 0001 
Mar  3 10:33:41 localhost kernel: GPR08: C0A5AF80 C039A4D8 0002 1000 
 10041170 7290 1003 
Mar  3 10:33:41 localhost kernel: GPR16: 7170 1002CB90 7140 7FFF7080 
8000 2000 1002633C EFEF79A0 
Mar  3 10:33:41 localhost kernel: GPR24: 0001  C0A5AF80 E2D79D64 
1000 0004 62D79D64 62D79D64 
Mar  3 10:33:41 localhost kernel: NIP [c00ba99c] 
journal_invalidatepage+0x68/0x144
Mar  3 10:33:41 localhost kernel: LR [c00ba9e4] 
journal_invalidatepage+0xb0/0x144
Mar  3 10:33:41 localhost kernel: Call trace:
Mar  3 10:33:41 localhost kernel:  [c00a9738] ext3_invalidatepage+0x4c/0x5c
Mar  3 10:33:41 localhost kernel:  [c0049dd4] do_invalidatepage+0x28/0x44
Mar  3 10:33:41 localhost kernel:  [c0049ec0] truncate_complete_page+0xd0/0xd4
Mar  3 10:33:41 localhost kernel:  [c004a0ec] truncate_inode_pages+0x110/0x3e8
Mar  3 10:33:41 localhost kernel:  [c0081684] generic_delete_inode+0x114/0x118
Mar  3 10:33:41 localhost kernel:  [c008189c] iput+0x94/0xbc
Mar  3 10:33:41 localhost kernel:  [c0076968] sys_unlink+0x164/0x1a8
Mar  3 10:33:41 localhost kernel:  [c0004240] ret_from_syscall+0x0/0x44


Mar  3 10:45:47 localhost kernel: Oops: kernel access of bad area, sig: 11 [#7]
Mar  3 10:45:47 localhost kernel: NIP: C00BA99C LR: C00BA9E4 SP: DDA1FD90 REGS: 
dda1fce0 TRAP: 0300Not tainted
Mar  3 10:45:47 localhost kernel: MSR: 9032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 
11
Mar  3 10:45:47 localhost 

Re: mkvmlinuz: how to use?

2005-03-03 Thread Leandro Guimaraens Faria Corsetti Dutra
Em Thu, 03 Mar 2005 19:10:22 +0100, Wee-Jin Goh escreveu:

> There's loads of documentation in the man page. I think that should give
> you enough information to get started.

Sorry, but it didn't... I had found it already, but it is
little more than syntax and options, nothing about an overview of how
to actually use it and the image generated by it.

I guess it is more than enough for those who really grok OF
and the kernel, but not for me.

-- 
Leandro GuimarÃes Faria Corcete Dutra <[EMAIL PROTECTED]>
MaringÃ, PR, BRASIL+55 (44) 3025 6253
http://br.geocities.com./lgcdutra/ +55 (44) 8803 1729
Soli Deo Gloria!   +55 (11) 9406 7191


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



Re: initrd.img ?

2005-03-03 Thread vinai
> If you compile in "enough" drivers, instead of making them modules,
> you won't need an initrd.  "Enough" means at least the driver for
> your hard disk, the filesystem for your root partition, and maybe
> your keyboard, mouse, and video.

I don't have any experience with the 2.6 kernels, but I've booted 2.4
kernels over the last few years withour a ramdisk.  The only modules
I've had are for USB and firewire (which are not needed for boot on my
8500).

vinai


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



Re: initrd.img ?

2005-03-03 Thread Paul J. Lucas
On Thu, 3 Mar 2005, Eric Cooper wrote:
If you compile in "enough" drivers, instead of making them modules,
you won't need an initrd.  "Enough" means at least the driver for your
hard disk, the filesystem for your root partition, and maybe your
keyboard, mouse, and video.
Why wouldn't you compile-in filesystem and video support?  I
mean, the system has to use them the entire time it's up.  So
why would anybody make them module?
- Paul
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: initrd.img ?

2005-03-03 Thread Eric Cooper
On Thu, Mar 03, 2005 at 06:04:26PM +, Wee-Jin Goh wrote:
> On Thu, 2005-03-03 at 09:32 -0800, Paul J. Lucas wrote:
> > If one is compiling a custom kernel, does one need the
> > initrd.img file?
> > 
> > I've compiled kernels before (it's been a while, however), and I
> > don't remember about having to use an initrd.img file.  Can't I
> > just point yaboot.conf directly at the vmlinux file?
> > 
> > If I do need an initrd.img file, how does one make one?
> > 
> > - Paul
> > 
> > 
> 
> The initrd file is the Initial Ram Disk that holds the modules that are
> needed for the system to boot. I don't know if you can do without it,
> but all of my machines need the initrd since I compile ext3 and reiserfs
> as modules and these are needed to read the filesystem and have to be
> loaded via the initrd.
> 
> To make an initrd.img file, use the command mkinitrd. Look up the man
> pages for more info as it's a very simple command to use.

If you compile in "enough" drivers, instead of making them modules,
you won't need an initrd.  "Enough" means at least the driver for your
hard disk, the filesystem for your root partition, and maybe your
keyboard, mouse, and video.

-- 
Eric Cooper e c c @ c m u . e d u


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



Re: mkvmlinuz: how to use?

2005-03-03 Thread Wee-Jin Goh
On Thu, 2005-03-03 at 14:19 -0300, Leandro Guimaraens Faria Corsetti
Dutra wrote:
>   Google did not help me, nor the list archives.
> 
>   What is exactly mkvmlinuz, and how to use it?
> 
>   What I could gather is that it puts a reduced version of the
> kernel somewhere in OpenFirmware, so one can do without yaboot.  But
> then how to boot?
> 
> 
> -- 
> Leandro Guimarães Faria Corcete Dutra <[EMAIL PROTECTED]>
> Maringá, PR, BRASIL+55 (44) 3025 6253
> http://br.geocities.com./lgcdutra/ +55 (44) 8803 1729
> Soli Deo Gloria!   +55 (11) 9406 7191
> 
> 

Hi,

There's loads of documentation in the man page. I think that should give
you enough information to get started.

Regards,
Wee-Jin



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



Re: initrd.img ?

2005-03-03 Thread Wee-Jin Goh
On Thu, 2005-03-03 at 09:32 -0800, Paul J. Lucas wrote:
>   If one is compiling a custom kernel, does one need the
>   initrd.img file?
> 
>   I've compiled kernels before (it's been a while, however), and I
>   don't remember about having to use an initrd.img file.  Can't I
>   just point yaboot.conf directly at the vmlinux file?
> 
>   If I do need an initrd.img file, how does one make one?
> 
>   - Paul
> 
> 

The initrd file is the Initial Ram Disk that holds the modules that are
needed for the system to boot. I don't know if you can do without it,
but all of my machines need the initrd since I compile ext3 and reiserfs
as modules and these are needed to read the filesystem and have to be
loaded via the initrd.

To make an initrd.img file, use the command mkinitrd. Look up the man
pages for more info as it's a very simple command to use.

Regards,
Wee-Jin



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



mkvmlinuz: how to use?

2005-03-03 Thread Leandro Guimaraens Faria Corsetti Dutra
Google did not help me, nor the list archives.

What is exactly mkvmlinuz, and how to use it?

What I could gather is that it puts a reduced version of the
kernel somewhere in OpenFirmware, so one can do without yaboot.  But
then how to boot?


-- 
Leandro GuimarÃes Faria Corcete Dutra <[EMAIL PROTECTED]>
MaringÃ, PR, BRASIL+55 (44) 3025 6253
http://br.geocities.com./lgcdutra/ +55 (44) 8803 1729
Soli Deo Gloria!   +55 (11) 9406 7191


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



initrd.img ?

2005-03-03 Thread Paul J. Lucas
If one is compiling a custom kernel, does one need the
initrd.img file?
I've compiled kernels before (it's been a while, however), and I
don't remember about having to use an initrd.img file.  Can't I
just point yaboot.conf directly at the vmlinux file?
If I do need an initrd.img file, how does one make one?
- Paul
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


***appletalk.ko & ipddp.ko***

2005-03-03 Thread Kim Cascone
On Mar 3, 2005, at 6:28 AM, Wolfgang Pfeiffer wrote:
... which for simply fixing netatalk is a much easier aprroach than
the "chroot" one I was mentioning before. Michel is right, Kim: For 
this
case I'd forget the "chroot" solution ... :)
I can't thank all of you enough for the patient hand holding! ;)
while kernel panics are a great way to learn the inner workings of 
Linux it can also be a white-knuckled free-fall into the deep end of 
the pool!
so here is an update and hopefully a warning to other n00bs as to what 
NOT TO DO when this sort of situation arises:
##
I finally groked (thanks to both Michel and a friends explanation that 
the 'Linux  old'
selections were actually two choices for boots and not a formatting 
error listing one choice
- so I typed in 'old single' and was dumped into the shell as 
root...now I could see my Linux partition and cd around...

here is the process I used and I am now in need of further expertise:
- after reading the /etc/module file I heeded its warning and didn't 
try to edit it directly
- so without too much in between detail I'll cut to the chase:
	- I ended up deleting two obvious netatalk dirs by hand
	- I rebooted and the system crashed when it tried to set up Appletalk 
services
	- went back into 'old single' mode and
	- I tried to modprobe -r Appletalk but it didn't work...no errors or 
warnings...
	- I went in and removed two files from the kernal:
		- appletalk.ko
		- ipddp.ko
- when I rebooted everything seemed to be OK although it still tried to 
set up services for Appletalk but timed out and booted OK
		- meaning all my settings and most of the software seemed to work OK 
(Firefox, Evolution, Open Office, Synaptic Package manager, and most of 
the system applets seemed fine on cursory examination)
#
- so my questions are now:
	- should I replace the two appletalk .ko files I removed? if so, how? 
from the source of the kernel? or is there some other way to fix this?
	-  now that I removed the two (most likely culprits) netatalk dirs 
this has now created a problem with the package manager i.e. it can't 
remove the package but it sees that some of the bits are still 
there...how would I use 'apt-get' to correct this situation? will it 
remove partial packages? if not what utility would handle this?
	- is there a rescue package for handling this sort of muck up that I 
can use for correcting things?

any help is much appreciated! :)
KIM
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: PCMCIA

2005-03-03 Thread Tommy Trussell
On Tue, 1 Mar 2005 20:57:12 -0800, Dylan Beaudette <[EMAIL PROTECTED]> wrote:
> BTW, are you able to get sleep support on your machine 

This is a follow-up on my Wallstreet/PDQ -- as I mentioned I have not
tried sleep in awhile -- I tried it again just now and while it did go
to sleep, upon waking there were so many other problems I had to
reboot. (I can supply details if they are helpful to anyone.) As it
was struggling to respond to the reboot command (issued from vt 2
instead of vt 1 by mistake) I FINALLY saw a "shutting down kernel card
services" note and the reboot completed normally.

So, no, sleep isn't working quite right, but it could be tied into my
PCMCIA issues somehow.


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



Re: Powerbook 12" and vga-out

2005-03-03 Thread Guido Guenther
On Thu, Mar 03, 2005 at 01:07:35PM +, Wee-Jin Goh wrote:
> On Thu, 2005-03-03 at 12:53 +0100, Guido Guenther wrote:
> > On Thu, Mar 03, 2005 at 10:55:33AM +, Wee-Jin Goh wrote:
> > > Is there anyway to get the nv driver to work with the vga-out on my
> > > Powerbook 12" with a fx5200? I've tried playing around with the
> > > CrtcNumber option but it doesn't seem to do anything and instead, I get
> > > a blank screen on both monitor and LCD.
> > Did you try:
> >  
> > http://honk.physik.uni-konstanz.de/~agx/linux-ppc/xfree86/external-monitor-on-12%22-pbook.txt
> > Cheers,
> >  -- Guido
> 
> Thanks, that sort of works. I get a display the CRT, but now my LCD goes
> completely bonkers and displays some weird output.
There's little you can do about that.
 -- Guido


signature.asc
Description: Digital signature


Re: Rebooting as a cron job?

2005-03-03 Thread tab
On Thu, Mar 03, 2005 at 02:31:39PM +0100, Moritz Armingeon wrote:
> > Is it OK to reboot every couple of days with a cron job?
> Technically no problem, but why would you want to do that?

perfectly emulating windows ?
sorry couldn't resist ;)

-- 
Vincent Hanquez


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



Re: Building a Custom Kernel

2005-03-03 Thread Sven Luther
On Tue, Mar 01, 2005 at 10:16:53PM +, Ben Hill wrote:
> Hi,
> 
> Could anyone give me a quick bullet-point list of the stages of building
> a 2.6.8 powerpc kernel?

Don't.

> I'm used to the traditional method, but I'd like to do it the Debian
> way.

man make-kpkg should give you all the info you need.

Friendly,

Sven Luther


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



Re: initrd?

2005-03-03 Thread Sven Luther
On Tue, Mar 01, 2005 at 11:03:21AM -0500, vze26m98 wrote:
> Mike Small wrote on 3/1/05:
> 
> >Not difficult at all, I just changed back to a standard debian kernel
> >with initrd myself.  Below is my new yaboot.conf entry and the old one.
> >The option is documented in the yaboot.conf man page.
> >
> >image=/vmlinux
> >label=Linux
> >initrd=/initrd.img
> >read-only
> >
> >image=/vmlinux.old
> >label=linux.old
> >read-only
> >
> >So you see, it's only a simple one line change.
> 
> Thanks Mike-
> 
> I had seen the following in a previous post to the powerpc list:
> 
> >>image=/boot/vmlinux
> >>label=Linux
> >>read-only
> >>initrd=/boot/initrd.img
> >>
> >>image=/boot/vmlinux.old
> >>label=old
> >>read-only
> >>initrd=/boot/initrd.img.old
> 
> Does it matter if I don't state the absolute path: /boot/vmlinux?  Also,
> I see that this version includes an initrd statement for the old image
> as well.  Is this unecessary?

It depends if /boot is on a separate partition or not. the path has to be from
the partition as root, and i believe yaboot is not able to follow symlinks
cross partitions like lilo is (but then, lilo resolves the symlink in the
running system and simply stores the brutal access info, namely the sector on
disk where the kernel starts and such), so the symlink should be in /boot on
powerpc.

Friendly,

Sven Luther


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



Re: Permission for 'dev/pmu'

2005-03-03 Thread Sven Luther
On Thu, Mar 03, 2005 at 02:17:23PM +, Matthew T. Atkinson wrote:
> 'ello,
> 
> On Fri, 2005-01-07 at 20:04 -0500, Harvey Ussery wrote:
> > I recently reinstalled Sarge PPC on a G4 iMac. Each time I boot up now, 
> > I get an error warning:
> 
> I think I need pinching -- I just logged into GNOME and the error didn't
> appear.  I rebooted just to make sure I hadn't clicked OK out of habit,
> and it didn't appear again! :-D
> 
> Could it be that it's finally been fixed?  I'm really happy!

Yep, sure, for about a month or so now, i think :

control-center (1:2.8.1-4) unstable; urgency=low
- Updated 08_pmu_fix.patch with patches from Sjoerd Simons and Sven Luther
  as a fix for the pmu error message
 -- Arnaud Patard <[EMAIL PROTECTED]>  Sun,  6 Feb 2005 19:13:04 +0100

> Many thanks to the person responsible!

Hehe, i guess all those that participated in the numerous threads about this a
couple month ago are. Anyway, thanks to Arnaud for making the upload with the
fix and looking it over.

Friendly,

Sven Luther


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



Re: PCMCIA

2005-03-03 Thread Tommy Trussell
> On Tuesday 01 March 2005 08:14 pm, Tommy Trussell wrote:
> > ... on My "Wallstreet/PDQ" running sarge, I have trouble with
> > PCMCIA. In fact, when I put in a pcmcia card it gets HOT. 
...
On Tue, 1 Mar 2005 20:57:12 -0800, Dylan Beaudette <[EMAIL PROTECTED]> wrote:
> Hmmm... is this is 300Mhz Powerbook G3? thats what I have...

This is a PowerBook G3 Series 266 Mhz, aka "Wallstreet II" or "PDQ"
(Some people these "Wallstreet" because they look exactly the same,
but it actually has a few internal differences in traditional Apple
fashion.) I usually cover the bases by calling it a "1998 Wallstreet
266 Mhz." I believe your 300 Mhz model is also a PDQ:

http://www.lowendmac.com/pb2/g3series2.shtml

http://www.everymac.com/systems/apple/powerbook_g3/faq/technical_performance.html

> I am using a compact flash reader, and USB 1.1 PCMCIA card in my machine, and
> all seems to be working fine. Remind me, and i will post my relevant config
> files to the internet!
...
> I have not yet found a way to get the cards
> out, short of manually pulling them out... However, i think that the springs
> in my slots are getting worn, and I sometimes have to do this in MacOS...

I have inferred that on Wallstreet/PDQs, eventually the PCMCIA eject
cage breaks. (And of course the famous hinge clutch problem.) These
parts are still available as service parts some places, but I'd hate
to spend that much time and money to fix it... I am saying this as a
real cheapskate who has been loathe to spend the $145 it would take to
buy a new battery even though it would be nice. (The original battery
lasted almost five years, with the little use I put on it.) I also
need a new PRAM battery but what a hassle to get to THAT!

Anyway, the few times I tried the PCMCIA cards under linux I resorted
to using the paperclip eject holes. That technique works, but I gather
that you really want to be certain the card gets powered down
properly, too, so you don't damage the card or the slot with transient
voltages.

> BTW, are you able to get sleep support on your machine also, what kernel
> are you using...

I have not tried sleep in awhile -- last I tried it would sleep
properly once and wake up and then not sleep again until after a
reboot. I'm always afraid to try it in a situation (like now) where I
could lose the train of thought in my email if the GUI crashes. After
I send this I will try again and if something has changed I will
report back.

I'm booting from the stock Debian 2.6.8-powerpc kernel from BootX --
though  apparently I have the 2.4.27 kernel installed too and that's
what apt has linked in the /boot directory (with the 2.6.8 files there
too). I can't remember now why I decided to run the 2.6.x kernel --
maybe it included hfs plus and the other didn't?

I have been trying to figure out if it's possible to get quik working
because it would be nice to give apt full control over the kernel that
actually boots the system. It would make compiling and testing a new
one much simpler!

I mention all this because it's very possible I have a configuration
problem because I have too much installed. Step one might be to remove
the kernel I'm not booting from

> Since this is such a popular machine, perhaps it would be a good idea to pool
> all of our knowledge on this machine in some sort of web page... I would be
> happy to host it!

That would be good... there's lots of outdated information about
Wallstreets on the net... if my experience is any indication it's been
a very reliable linux machine, just difficult to get some particular
things working. And despite all the work I did with Ubuntu on
different machines a few weeks back I haven't even tried it on this
one. It would be very interesting to see how it handles it.


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



alsaconf package?

2005-03-03 Thread vze26m98
Hi all-

Upraded from Woody to 2.6.8 on my Pismo and in getting all the ALSA
packages this morning, ran into the following:

I 'apt-get install alsa-base' and was recommended to install a few other
packages, notably 'alsa-conf-0.4'. I 'apt-get install alsaconf' as this
was what the Debian package list (at )
showed as available, not 'alsa-conf-0.4'.

Here's what apt-get returned:

>vatic:/home/cturner# apt-get install alsaconf
>Reading Package Lists... Done
>Building Dependency Tree... Done
>Some packages could not be installed. This may mean that you have
>requested an impossible situation or if you are using the unstable
>distribution that some required packages have not yet been created
>or been moved out of Incoming.
>
>Since you only requested a single operation it is extremely likely that
>the package is simply not installable and a bug report against
>that package should be filed.
>The following information may help to resolve the situation:
>
>The following packages have unmet dependencies:
>  alsaconf: Depends: alsa-base (>= 0.5.9d-6) but it is not going
> to be installed
>Depends: alsa-utils but it is not going to be installed
>E: Broken packages

As part of my alsa-base install, I had just added both alsa-base and
alsa-utils at the testing revision level which has to be at least 1.0.8.
I then tried 'apt-get install alsaconf-0.4' and got this result"

>vatic:/home/cturner# apt-get install alsaconf-0.4
>Reading Package Lists... Done
>Building Dependency Tree... Done
>Package alsaconf-0.4 is not available, but is referred to by another
package.
>This may mean that the package is missing, has been obsoleted, or
>is only available from another source
>E: Package alsaconf-0.4 has no installation candidate

Any ideas about what' going on here?

Many thanks,

Charles Turner


<[EMAIL PROTECTED]>


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



Re: Problems Playing Videos (audio track is choppy) (PB5,4)

2005-03-03 Thread Matthew T. Atkinson
'ello,

Thanks to all who replied; I undid the prelinking and now mplayer works.
It plays DVDs and videos OK.

bye just now,


-- 
Matthew T. Atkinson <[EMAIL PROTECTED]>


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



Re: ***kernal panic on starting Appletalk services***

2005-03-03 Thread Wolfgang Pfeiffer
On Wed, Mar 02, 2005 at 10:30:06PM -0500, Michel Dänzer wrote:
> On Wed, 2005-03-02 at 17:25 -0800, Kim Cascone wrote:
> > On Mar 2, 2005, at 5:16 PM, Wolfgang Pfeiffer wrote:
> > 
> > > But that looks like lots of good news for me: It seems the system is
> > > offering you to boot an "old" kernel: Did you try to type something
> > > like "Linux", "old" or "Linux:old", whatever, at the prompt, and then
> > > hitting ?  If yes: What happened ... ?
> > 
> > yeah I was confused by what 'old' meant so I typed it in and voila 
> > there I was back in the same infinite loop of trying to install the 
> > Appletalk drivers and kernel panic...
> 
> As mentioned before: Enter 'old single' at the prompt.

... which for simply fixing netatalk is a much easier aprroach than
the "chroot" one I was mentioning before. Michel is right, Kim: For this
case I'd forget the "chroot" solution ... :)

Best Regards
  Wolfgang
-- 
Wolfgang Pfeiffer
http://profiles.yahoo.com/wolfgangpfeiffer


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



Re: State of ibook G4 sleep support in 2.6.11?

2005-03-03 Thread Sebastien NOEL

[last mail seem to have been lost on the way]
 

> this crash look like /dev/random, one time i have xmon, another time not;
> one time the keyboard works in xmon, another time not :/

I tried with 2.6.9 and the crash happens too.

2 weeks ago i changed the apple 128MB memory module for a 512MB from corsair

If i replug the apple memory, all works fine, no more crash.

The 512MB module works fine without sleeping, i have no problem with OSX and
the apple hardware test CD didn't detect any problem.

I used dd, mkswap & swapon to add swap, just after the "make-kpkg clean"
I saw :
"swap_free:Bad swap offset entry 002378a00"
"<2>kernel BUG in pag_remove_rmap at mm/rmap.c:482!"


your opinion ? Hardware or software problem ?


Thanks,

Sebastien


pgpBNV7qOxK4w.pgp
Description: PGP signature


Re: Permission for 'dev/pmu'

2005-03-03 Thread Matthew T. Atkinson
'ello,

On Fri, 2005-01-07 at 20:04 -0500, Harvey Ussery wrote:
> I recently reinstalled Sarge PPC on a G4 iMac. Each time I boot up now, 
> I get an error warning:

I think I need pinching -- I just logged into GNOME and the error didn't
appear.  I rebooted just to make sure I hadn't clicked OK out of habit,
and it didn't appear again! :-D

Could it be that it's finally been fixed?  I'm really happy!

Many thanks to the person responsible!


-- 
Matthew T. Atkinson <[EMAIL PROTECTED]>


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



Re: State of ibook G4 sleep support in 2.6.11?

2005-03-03 Thread Des Johnston


Just to confirm - with 2.6.11 my iBook G4 sleep works just fine and dandy
provided I unplug my DWL-122 in advance :)

Nice work.

DesJ

On Thu, 3 Mar 2005, Benjamin Herrenschmidt wrote:

> On Wed, 2005-03-02 at 17:12 +0100, steinm wrote:
> > On Wed, Mar 02, 2005 at 04:44:25PM +0100, steinm wrote:
> > > On Wed, Mar 02, 2005 at 03:21:19PM +, Des Johnston wrote:
> > > >
> > > > What state is the iBook G4 sleep support in for
> > > > the latest and greatest (vanilla) 2.6.11 kernel?
> > > Works, though I have occasional crashes which may not be related
> > > to the sleep support.
> > Forgot to mention that there issues with some usb devices like my
> > DLink DWL 122 and the linux-wlan-ng modules. If it is pluged in
> > and the ibook is send to sleep it crashes. Unpluging the stick
> > and unloading the modules before going to sleep seems to fix it.
>
> You should not need to unload the modules. In fact, it's a bad idea to
> unload the USB controller modules since they are part of the sleep
> process. Just unplug the stuff. The USB problems will hopefully be fixed
> one day, I'm having a hard time getting that right with the USB folks.
>
> Ben.
>
>


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



Re: Rebooting as a cron job?

2005-03-03 Thread Moritz Armingeon
On 08:15 Thu 03 Mar , Charles Read wrote:
> Hey everybody!
> 
> Is it OK to reboot every couple of days with a cron job?
Technically no problem, but why would you want to do that?

Confused, Moritz


pgp2hwFJK2AGT.pgp
Description: PGP signature


Rebooting as a cron job?

2005-03-03 Thread Charles Read
Hey everybody!
Is it OK to reboot every couple of days with a cron job?
Thanks!!
Charles Read
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Powerbook 12" and vga-out

2005-03-03 Thread Wee-Jin Goh
On Thu, 2005-03-03 at 12:53 +0100, Guido Guenther wrote:
> On Thu, Mar 03, 2005 at 10:55:33AM +, Wee-Jin Goh wrote:
> > Is there anyway to get the nv driver to work with the vga-out on my
> > Powerbook 12" with a fx5200? I've tried playing around with the
> > CrtcNumber option but it doesn't seem to do anything and instead, I get
> > a blank screen on both monitor and LCD.
> Did you try:
>  
> http://honk.physik.uni-konstanz.de/~agx/linux-ppc/xfree86/external-monitor-on-12%22-pbook.txt
> Cheers,
>  -- Guido

Thanks, that sort of works. I get a display the CRT, but now my LCD goes
completely bonkers and displays some weird output.

Any other ideas?

Wee-Jin



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



TiBook IV and Kernel 2.6.11

2005-03-03 Thread Michael Flaig
Hi subscribers,

my Machine is an TiBook IV mit the Radeon 9000 Mobility
running debian sid.

I´ve compiled 2.6.11 vanilla and had the problem that the system hang on
booting at the beginning when drm is initialized. DRM support and radeon
driver were compiled in.

Now I´ve changed to compile drm and radon driver as module and it seems
to work much better no hangs when loading the modules.

Hope that helps somebody out there :-)

cya,

mfl


btw. the Gnome Volume Applet is crashing when going to suspend.
I have pbbuttonsd 0.6.7-1   and Alsa 1.0.8-7
Not sure if it is a kernel problem or a pbbuttonsd problem or an alsa
problem, maybe someone has an hint for me?

--- machine ---
processor   : 0
cpu : 7455, altivec supported
clock   : 1000MHz
revision: 3.3 (pvr 8001 0303)
bogomips: 997.90
machine : PowerBook3,5
motherboard : PowerBook3,5 MacRISC2 MacRISC Power Macintosh
detected as : 80 (PowerBook Titanium IV)
pmac flags  : 001b
L2 cache: 256K unified
memory  : 512MB
pmac-generation : NewWorld



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



Re: Problems Playing Videos (audio track is choppy) (PB5,4)

2005-03-03 Thread Guido Guenther
On Wed, Mar 02, 2005 at 08:58:43PM +, Matthew T. Atkinson wrote:
> [EMAIL PROTECTED]:~$ mplayer
> mplayer: error while loading shared
> libraries: /usr/lib/libavcodec-cvs.so: R_PPC_REL24 relocation at
> 0x0fe9d7fc for symbol `fprintf' out of range
> [EMAIL PROTECTED]:~$
Could you try the latest libavcodec/mplayer, even with prelink enabled?
We pass -fPIC explicitly now which should help.
 -- Guido


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



Re: Problems Playing Videos (audio track is choppy) (PB5,4)

2005-03-03 Thread Guido Guenther
On Wed, Mar 02, 2005 at 08:58:43PM +, Matthew T. Atkinson wrote:
> [EMAIL PROTECTED]:~$ mplayer
> mplayer: error while loading shared
> libraries: /usr/lib/libavcodec-cvs.so: R_PPC_REL24 relocation at
> 0x0fe9d7fc for symbol `fprintf' out of range
> [EMAIL PROTECTED]:~$
Unprelink and turn prelink off.
Cheers,
 -- Guido


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



Re: Problems Playing Videos (audio track is choppy) (PB5,4)

2005-03-03 Thread Moritz Armingeon
On 12:51 Thu 03 Mar , Guido Guenther wrote:
> > lavdopts:idct=2
>   ^^^ not needed since we build ffmpeg with gcc-3.4 now.
I see. Thanks for the info!


pgpYGnJGlry66.pgp
Description: PGP signature


Re: Problems Playing Videos (audio track is choppy) (PB5,4)

2005-03-03 Thread Sebastian Henschel
ahoj...

* "Matthew T. Atkinson" <[EMAIL PROTECTED]> [2005-03-03 10:07 +0100]:
> 
> I can't check it with mplayer because it refuses to start:
> 
> [EMAIL PROTECTED]:~$ mplayer
> mplayer: error while loading shared
> libraries: /usr/lib/libavcodec-cvs.so: R_PPC_REL24 relocation at
> 0x0fe9d7fc for symbol `fprintf' out of range
> [EMAIL PROTECTED]:~$
> 
> I do have the requisite libraries installed.  Got my mplayer from:
> deb http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian/ mplayer/

i had the same problem some months ago which was due to a mixed-up state
of prelinked libraries. follow this thread:
http://lists.debian.org/debian-powerpc/2005/01/msg00196.html

and its final outcome:
http://lists.debian.org/debian-powerpc/2005/01/msg00287.html

cheers,
 Sebastian
-- 
::: .O.
::: ..O
::: OOO
::: lynx -source http://www.kodeaffe.de/shensche.pub | gpg --import


signature.asc
Description: Digital signature


Re: Problems Playing Videos (audio track is choppy) (PB5,4)

2005-03-03 Thread Guido Guenther
On Wed, Mar 02, 2005 at 11:02:08PM +0100, Moritz Armingeon wrote:
> On 20:58 Wed 02 Mar , Matthew T. Atkinson wrote:
> > I have always had similar problems playing video, with all video
> > players.  The audio is choppy and video goes out of sync with it after a
> > pause/resume.  Also, it seems to take up a lot of CPU time to simply
> > play vidoes, which I am surprised about.
> In my .mplayer/config:
> vo=sdl
> #ao=oss
> lavdopts:idct=2
  ^^^ not needed since we build ffmpeg with gcc-3.4 now.
   -- Guido


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



Re: Setup soft modem on PowerBook G4 12" Al?

2005-03-03 Thread Wee-Jin Goh
On Thu, 2005-03-03 at 10:22 +, Mark Ferry wrote:
> Hi all
> 
> GONG Jie wrote:
> > Hi, folks
> > 
> > Is there someone setup the soft mnodem on PowerBook G4 Al
> > successfully?  Or maybe I miss something?
> > 
> 
> The softmodem in the Albook G4 15" is on the i2c bus and not USB at all. 
> The 12" probably uses the same softmodem.
> Linuxant drivers don't support i2c.
> 
> regards
>Mark
> 
> 

This guy over at
http://www.mathematik.uni-marburg.de/~schmidtm/apple/powerbook.en.php
managed to get the softmodem working with the Powerbook 12". They might
have changed modems between revisions of the Powerbook (he's using a
first gen 12") but I think that is unlikely.

Regards,
Wee-Jin



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



Powerbook 12" and vga-out

2005-03-03 Thread Wee-Jin Goh
Hi all,

Is there anyway to get the nv driver to work with the vga-out on my
Powerbook 12" with a fx5200? I've tried playing around with the
CrtcNumber option but it doesn't seem to do anything and instead, I get
a blank screen on both monitor and LCD.

Any help on the subject will be appreciated.

Regards,
Wee-Jin



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



Re: Setup soft modem on PowerBook G4 12" Al?

2005-03-03 Thread Mark Ferry
Hi all
GONG Jie wrote:
Hi, folks
Is there someone setup the soft mnodem on PowerBook G4 Al
successfully?  Or maybe I miss something?
The softmodem in the Albook G4 15" is on the i2c bus and not USB at all. 
The 12" probably uses the same softmodem.
Linuxant drivers don't support i2c.

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


Re: State of ibook G4 sleep support in 2.6.11?

2005-03-03 Thread Sebastien NOEL
On Thu, 03 Mar 2005 13:22:49 +1100 Benjamin Herrenschmidt wrote:

> 
> Ok, the address shows that it happens in a module.
> 
> Unfortunately, xmon in ppc32 doesn't know yet how to use kallsyms so it
> can't get symbols out of modules.
> 
> Can you do a cat /proc/modules before the crash, then crash it, then
> send me the output of that /proc/modules and the xmon values again for
> "pc" and "lr" ?
> 
> Also, if the keyboard works in xmon (it may not ...), try to use the "t"
> command to get a backtrace and send that too.
> 
> Thanks,
> Ben.
> 

this crash look like /dev/random, one time i have xmon, another time not;
one time the keyboard works in xmon, another time not :/

ehci_hcd 33800 0 - Live 0xea1cc000
ohci_hcd 23688 0 - Live 0xe9079000
usbcore 128272 3 ehci_hcd,ohci_hcd, Live 0xea443000
ipv6 280560 10 - Live 0xea46e000
snd_powermac 41252 0 - Live 0xea412000
snd_pcm_oss 62400 0 - Live 0xea401000
snd_mixer_oss 20544 1 snd_pcm_oss, Live 0xe9072000
snd_pcm 98564 2 snd_powermac,snd_pcm_oss, Live 0xea1dd000
snd_timer 24932 1 snd_pcm, Live 0xe906a000
snd 57460 5 snd_powermac,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer, Live 
0xea0ee000
soundcore 8836 1 snd, Live 0xe9036000
snd_page_alloc 9156 1 snd_pcm, Live 0xe9028000
radeon 90052 0 - Live 0xea0d7000
drm 80696 1 radeon, Live 0xea0c2000
uninorth_agp 6880 1 - Live 0xe902
agpgart 35564 2 drm,uninorth_agp, Live 0xe902c000
therm_adt746x 10748 0 - Live 0xe901c000

pc = c0084430
lr = c006424c

backtrace:
  c0040614
  c006424c
  c014dd54
  c01670b0
  c0167220
  c016685c
  c0170e2c
  c0168fa0
  c003b7f0
  c0005adc
  c0004900
  exception:501 [c02afee0] c0005b60
  c0005ba8
  c0003d98
  c02b05d0
  3a30


Thanks,

Sebastien


pgpumWXq2r3ka.pgp
Description: PGP signature


CUDAMGR (was "Automatic power-on" or "pmacpow--would a .deb be worthwhile?")

2005-03-03 Thread gerard
Hello, an other interesting think to include in this future package
could be CUDAMGR.
Her is a repost of an old post of this list that I found on Google,
that is interesting. I just install it on my old PowerMac that I now
use as Fax Server ...

gerard


>Hey all,
>
>On  31 Aug, this message from Eric C. Cooper echoed through
cyberspace:
>On Sun, Sep 01, 2002 at 02:23:27AM +0100, Bastien Nocera wrote:
>On Sat, 2002-07-27 at 22:03, Jonas Oberg wrote:
>A few months back there was a discussion around the (proposed?)
>pmac-utils utility pack. One of the features that someone wanted to
>put in there was a way to put the Mac in "server mode".
>[snip]
>
>On CUDA-based PowerMacs, this will set it to "file server mode" (i.e.,
>automatically reboot upon restoration of power):
>echo -ne '\001\023\001' > /dev/adb
>
>Based on the above discussion, pmacpow, and the Apple technotes I
could
>find related to cuda, I came up with a little utility that manages all
>interesting features of cuda. You can find it here:
>
>   http://www.cpu.lu/~mlan/ftp/cudamgr-1.0.tar.gz
>
>It sets alarm clock power-up (from pmacpow), server mode (aka
automatic
>powerup after AC power failure), wake-on-ring (serial port GPi pin),
and
>queries the last power failure time (doesn't work on my 7600).
>
>I suppose with wake-on-ring and a bit of wire soldering you could even
>make old Macs wake-on-lan :-)
>
>Enjoy!
>
>Michel
>
>-
>Michel Lanners |  " Read Philosophy.  Study Art.
>23, Rue Paul Henkes|Ask Questions.  Make Mistakes.
>L-1710 Luxembourg  |
>email   [EMAIL PROTECTED]|
>http://www.cpu.lu/~mlan| Learn Always. "


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



Re: iMac Mini

2005-03-03 Thread Paul J. Lucas
On Thu, 3 Mar 2005, Colin Leroy wrote:
I looked back through the archives and couldn't figure out
which are the tbits that don't work.  I'm typing this on a
Mac Mini right now.
Does the sound work ?
I don't know... not tried it.  (I personally don't care since
I'm using my Mini as a headless mail server.)
- Paul
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


ibook2 r128 xv colour corruption

2005-03-03 Thread Lee Braiden
Hi all :)

I've noticed a driver-ish problem with Xv recently, with my ATI Rage 128 
mobility M3...

When playing large movies (say 800x600; definitely 1024x768) using Xv, it 
seems to be unable to allocate the memory required.  As a result, mplayer 
crashes, and xine shows only a green screen.  Regardless of which player I 
use though, the entire X screen becomes corrupted, as if the palette had been 
changed on a colour-mapped screen.  But it's 16-bit true-colour, so I'm not 
sure what's going on there.

Anyone have ideas on that, or similar experiences?  Should I be expecting to 
get this fixed soon, or should I just wait for Xorg, which probably 
(hopefully?) has it sorted already?

Also, what's the general status of r128 support in Xv, DRI, console, etc.?  Is 
anyone still improving it, or has it been relegated to the past?

-- 
Lee.


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



Re: iMac Mini

2005-03-03 Thread Colin Leroy
On 03 Mar 2005 at 00h03, Paul J. Lucas wrote:

Hi, 

>   I looked back through the archives and couldn't figure out
>   which are the tbits that don't work.  I'm typing this on a
>   Mac Mini right now.

Does the sound work ?

-- 
 \|/  \|/   Colin
 "@'/ ,. \`@"   http://www.geekounet.org/
 /_| \__/ |_\
\__U_/


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



Re: iMac Mini

2005-03-03 Thread Paul J. Lucas
On Thu, 3 Mar 2005, Benjamin Herrenschmidt wrote:
Thanks all. I'm now installing deb, and will see how to get the
remaining bits working.
I looked back through the archives and couldn't figure out which
are the tbits that don't work.  I'm typing this on a Mac Mini
right now.
The only problem I has was that it didn't like the integral USB
hub in the 22" Apple Cinema Display: it would lock up the
entire USB subsystem.
- Paul
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: ***kernal panic on starting Appletalk services***

2005-03-03 Thread Ken Moffat
On Wed, 2 Mar 2005, Kim Cascone wrote:

>
> On Mar 2, 2005, at 3:17 PM, Ken Moffat wrote:
>
> >  If you've got the ubuntu install CD boot from that, then hit 'tab' at
> > the yaboot prompt.  There is an image called rescue (or something very
> > like that)
> there are:
> install-powerpc
> custom-powerpc
> expert-powerpc
> custom-expert-powerpc
> but none of them have a rescue mode...from what I can tell...
>

Oh.  You must have a different CD from what I used earlier this week
(hoary install from the array-5 subdirectory).  Sorry.

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce