Re: italian and german keyboards

2020-03-02 Thread Wolfgang Pfeiffer

On Mon, Mar 02, 2020 at 06:34:46PM +0100, Wolfgang Pfeiffer wrote:

On Sat, Feb 29, 2020 at 11:38:58AM +0100, Riccardo Mottola wrote:

Hi!

I have an iBook and a PowerBook with an italian keyboard. Keys with
have 3 symbols each.
I need to type certain keys with the "right-something" key combination
(altgr on PC) or similar.
Some of these keys are crucial: @, #, [] and to a lesser extent €.


Just from my old emails in 2017 I sent to this list, and I can't verify it
works, because I don't have Debian installed any more to this machine,
so:
On a Powerbook 3.5 (Titanium IV) I might have set up the alt_gr key like so:

in
/etc/default/keyboard
a line something like
XKBOPTIONS="lv3:enter_switch"

??

.. not being sure, but somewhere in the thread the following message
is part of I mentioned that I tried to change


That crap in the last two lines is embarrassing, it actually should say
something like:

" .. the following URL is part of the thread where I earlier asked for
a working"


/etc/default/keyboard
to get the alt_gr behavior on a Macintosh.

Here's the "success" message:
https://lists.debian.org/debian-powerpc/2017/12/msg00024.html


Sorry guys!

Regards
Wolfgang



Re: italian and german keyboards

2020-03-02 Thread Wolfgang Pfeiffer

On Sat, Feb 29, 2020 at 11:38:58AM +0100, Riccardo Mottola wrote:

Hi!

I have an iBook and a PowerBook with an italian keyboard. Keys with
have 3 symbols each.
I need to type certain keys with the "right-something" key combination
(altgr on PC) or similar.
Some of these keys are crucial: @, #, [] and to a lesser extent €.


Just from my old emails in 2017 I sent to this list, and I can't verify it
works, because I don't have Debian installed any more to this machine,
so:
On a Powerbook 3.5 (Titanium IV) I might have set up the alt_gr key like so:

in
/etc/default/keyboard
a line something like
XKBOPTIONS="lv3:enter_switch"

??

.. not being sure, but somewhere in the thread the following message
is part of I mentioned that I tried to change
/etc/default/keyboard
to get the alt_gr behavior on a Macintosh.

Here's the "success" message:
https://lists.debian.org/debian-powerpc/2017/12/msg00024.html

Again: that's from 2017 ...

Good luck!
Wolfgang



Re: Performing installer tests on PowerMac with USB sticks

2019-05-12 Thread Wolfgang Pfeiffer

Hi Adrian,
Sorry, I'm really late with my answer:

On Tue, Apr 30, 2019 at 12:54:54PM +0200, John Paul Adrian Glaubitz wrote:

Hello!

I have dug out one of my iBook G4s now so I can perform installer tests
on the PowerMac target. While the machine has a built-in optical drive,
I would avoid having to burn CDs for every installation test run (even
when using CD-RWs), so I was wondering how well booting from USB sticks
works on these machines.

Does anyone have experience creating bootable USB media for PowerMacs
to install Debian?


 Yes: see this page:
https://lists.debian.org/debian-powerpc/2012/08/msg00042.html

 The previous instructions seem to work still reliably. For a later
install on Debian see this:
https://lists.debian.org/debian-powerpc/2017/12/msg8.html

 Worked on, IIRC, Powerbooks from ~2002 and the another from ~2005.

You'll be using open firmware  ..

Good luck!
 -- Wolfgang



Fwd: [Re: apt install debian-ports-archive-keyring: missing keyring]

2019-02-19 Thread Wolfgang Pfeiffer

Sorry everyone: forgot to CC my answer below to the mailing-list ...

Regards,
Wolfgang

- Forwarded message from Wolfgang Pfeiffer  -

Date: Wed, 20 Feb 2019 01:58:55 +0100
From: Wolfgang Pfeiffer 
To: John Paul Adrian Glaubitz 
Subject: Re: apt install debian-ports-archive-keyring: missing keyring
User-Agent: Mutt/1.10.1 (2018-07-13)

Hi Adrian,

Thanks for your fast response

Seems with installing the keyring manually, as you suggested, the
problems are gone for now.

On Tue, Feb 19, 2019 at 10:10:16PM +0100, John Paul Adrian Glaubitz wrote:

Hello Wolfgang!

On 2/19/19 9:42 PM, Wolfgang Pfeiffer wrote:
> I'm using this sources list:
> https://people.debian.org/~glaubitz/sources.list
> 
> and I get this result, after an 'apt update':
> 
> # apt install debian-ports-archive-keyring

> [ ... ]
> E: unable to locate package debian-ports-archive-keyring

Could you paste the full output of both "apt update"



WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Hit:1 http://ftp.debian.org/debian unstable InRelease
Get:2 http://ftp.ports.debian.org/debian-ports unstable InRelease [47.1 kB]
Get:4 http://incoming.ports.debian.org/buildd unstable InRelease [49.1 kB]
Get:3 http://ftp.ports.debian.org/debian-ports unreleased InRelease [52.4 kB]
Hit:5 http://incoming.debian.org/debian-buildd buildd-unstable InRelease
Err:2 http://ftp.ports.debian.org/debian-ports unstable InRelease
The following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY DA1B2CEA81DCBC61
Err:4 http://incoming.ports.debian.org/buildd unstable InRelease
The following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY DA1B2CEA81DCBC61
Err:3 http://ftp.ports.debian.org/debian-ports unreleased InRelease
The following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY DA1B2CEA81DCBC61
Reading package lists...
W: GPG error: http://ftp.ports.debian.org/debian-ports unstable InRelease: The 
following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY DA1B2CEA81DCBC61
E: The repository 'http://ftp.ports.debian.org/debian-ports unstable InRelease' 
is not signed.
W: GPG error: http://incoming.ports.debian.org/buildd unstable InRelease: The 
following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY DA1B2CEA81DCBC61
E: The repository 'http://incoming.ports.debian.org/buildd unstable InRelease' 
is not signed.
W: GPG error: http://ftp.ports.debian.org/debian-ports unreleased InRelease: 
The following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY DA1B2CEA81DCBC61
E: The repository 'http://ftp.ports.debian.org/debian-ports unreleased 
InRelease' is not signed.



and "apt install debian-ports-archive-keyring"?


# apt install debian-ports-archive-keyring
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package debian-ports-archive-keyrin

then with the key manually downloaded:

# dpkg -i debian-ports-archive-keyring_2018.12.27_all.deb
Selecting previously unselected package debian-ports-archive-keyring.
(Reading database ... 61056 files and directories currently installed.)
Preparing to unpack debian-ports-archive-keyring_2018.12.27_all.deb ...
Unpacking debian-ports-archive-keyring (2018.12.27) ...
Setting up debian-ports-archive-keyring (2018.12.27) ...


~# apt update
Hit:1 http://ftp.debian.org/debian unstable InRelease
Hit:3 http://incoming.debian.org/debian-buildd buildd-unstable InRelease
Get:2 http://incoming.ports.debian.org/buildd unstable InRelease [49.1 kB]
Get:4 http://ftp.ports.debian.org/debian-ports unstable InRelease [47.1 kB]
Get:5 http://ftp.ports.debian.org/debian-ports unreleased InRelease [52.4 kB]
Get:6 http://incoming.ports.debian.org/buildd unstable/main powerpc Packages 
[56.8 kB]
Get:7 http://ftp.ports.debian.org/debian-ports unstable/main powerpc Packages 
[21.5 MB]
Get:8 http://ftp.ports.debian.org/debian-ports unstable/main all Packages 
[9,123 kB]
Get:9 http://ftp.ports.debian.org/debian-ports unreleased/main powerpc Packages 
[3,004 B]
Fetched 30.9 MB in 33s (938 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
605 packages can be upgraded. Run 'apt list --upgradable' to see them.



The package is definitely there:

> 
http://ftp.ports.debian.org/debian-ports/pool/main/d/debian-ports-archive-keyring/debian-ports-archive-keyring_2018.12.27_all.deb

You could also download and install it with:

# wget 
http://ftp.ports.debian.org/debian-ports/pool/main/d/debian-ports-archive-keyring/debian-ports-archive-keyring_2018.12.27_all.deb
# dpkg -i debian-ports-archive-keyring_2018.12.27_all.deb


As you see above from the logs provided above apt seems being happy now.

All the logs from above created on a Powerbook3,5, Titanium IV

apt install debian-ports-archive-keyring: missing keyring

2019-02-19 Thread Wolfgang Pfeiffer

I'm using this sources list:
https://people.debian.org/~glaubitz/sources.list

and I get this result, after an 'apt update':

# apt install debian-ports-archive-keyring
[ ... ]
E: unable to locate package debian-ports-archive-keyring

Anyone?

Wolfgang



Re: Installation of Debian on an iMac PowerPC

2019-02-17 Thread Wolfgang Pfeiffer

On Tue, Feb 12, 2019 at 01:46:52PM -0800, Rick Thomas wrote:

Hi David,

Try installing with the “oldstable”/“Jessie” CD.

   http://cdimage.debian.org/mirror/cdimage/archive/8.11.0/powerpc/iso-cd/

Grub for Powerpc is still a work in progress.  It may not work on your old G3 
machine.  Jessie uses the older “yaboot” bootloader, which may be more stable 
for your situation.  Everybody seems to agree that Grub is the wave of the 
future, but that wave hasn’t fully crested yet.


Does that mean that yaboot will not be available as a bootloader in
some future powerpc Debian? And not being maintained anymore from then
on?

TIA

Regards,
Wolfgang



Re: rescue of install / booting from USB

2019-01-02 Thread Wolfgang Pfeiffer

On Tue, Jan 01, 2019 at 07:10:17PM +0100, Riccardo Mottola wrote:


[ ... ]

Fine, why not try just booting a debian 8 image and see? I could tryi 
fixing yaboot (e.g. by installing the one just booted) or by 
installing debian 8 and then upgrading later.



I got the netinst iso on a USB stick just by doing on Linux (intel):

sudo dd if=debian-8.11.0-powerpc-netinst.iso of=/dev/sdb bs=4M; sync


looks good ... one just has to be extremely careful about the the
"of=sdX" part of the incantation ... ;) one small mistake and a disk
might be destroyed ..



Is that fine on PPC too? I hope so.


To boot it, enter in Open-Firmware and "boot usb".


 would be nice if it was that easy ... ;) ... You're close, but
still: there's more to it: see below ..


I get into the First Stage GNU/Linux bootstrap and type "l" for
GNU/Linux. I get:

Decrementer exception at  %SRR0: 001001d8  %%SRR1: 10003030


Am I sure I am booting from the USB key and not from HD or the two 
boot stages are getting mixed?


Detailed instructions on how to boot from a USB stick via Open
Firmware to a PowerPc machine:
https://lists.debian.org/debian-powerpc/2012/08/msg00042.html

The page is a few years old but it worked here about a year ago.

You probably already know that you'll be, IIRC, on an qwerty keyboard
in OF - so be prepared to search and find the needed keys:
https://lists.debian.org/debian-powerpc/2017/12/msg8.html

Good luck!

Wolfgang



Re: Please update your sources.list for powerpc

2018-07-06 Thread Wolfgang Pfeiffer

On Thu, Jul 05, 2018 at 06:55:47PM +0200, John Paul Adrian Glaubitz wrote:


We might build contrib and non-free packages for Debian Ports
in the future, but I am not sure whether that's possible from
the legal point of view.


What is this legal point of view that makes contrib and non-free
impossible for powerpc?

I read
https://wiki.debian.org/SourcesList
where these repos are listed for Debian.

TIA

Regards,
Wolfgang

--
"The most overlooked advantage of owning a computer is that if they
foul up there's no law against whacking them around a bit."
  - Eric Porterfield ?



Re: Installer from Ports, ppc 32 bit : "No kernel modules found"[was: Re: problem with page /ports/powerpc/]

2017-12-06 Thread Wolfgang Pfeiffer
On Tue, 5 Dec 2017 19:51:47 +0100
Wolfgang Pfeiffer <r...@gmx.net> wrote:

> [  ... ]
> Awesome, the window manager, crashes the system at times. Such
> crashes are what I'm used to with this machine even with an older
> previous Debian install - Debian 8, IIRC, and a different X,
> without awesome. But that crash might be a hardware issue: quite some
> time ago the inverter for this machine was replaced by a new one.

Chances that it's a hardware issue become dimmer: I ran the Apple
hardware test CD on that machine: no problems were found, says the
test program. And I ran the extensive test   

> [ ... ]
> 
> PS: thanks, Adrian, for letting me know about awesome - looks cool,
> that beast, and it seems highly configurable. And I even forgive these
> guys their inclination towards vi .. :)

No, not true, it seems, this  "inclination towards vi" : I might have
been confusing this with the makers of another window manager ..

Sorry, awesome coders ... :)

Regards
Wolfgang




-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?



Re: Installer from Ports, ppc 32 bit : "No kernel modules found"[was: Re: problem with page /ports/powerpc/]

2017-12-05 Thread Wolfgang Pfeiffer
On Tue, 5 Dec 2017 21:13:58 +0100
Gabriel Paubert <paub...@iram.es> wrote:

> On Tue, Dec 05, 2017 at 08:37:24PM +0100, Wolfgang Pfeiffer wrote:
> > [ ... ]
> 
> Ok, thanks, I don't have the keyboard configuration file at hand, but
> it was something like lv3:enter_switch in the keyboard options.

Bingo!!  That was it!
And at least as important: the bar key ("|") is back now where I
expected it.

You saved my day, Gabriel ... :)

Thanks a lot!

Regards
Wolfgang
> 
> Looking at /usr/share/X11/xkb/rules/xorg, there may be other ways to
> get this option, but X keyboard configuration is a mystery for me.
> 
>   Regards,
>   Gabriel



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?



Re: Installer from Ports, ppc 32 bit : "No kernel modules found"[was: Re: problem with page /ports/powerpc/]

2017-12-05 Thread Wolfgang Pfeiffer
On Tue, 5 Dec 2017 20:37:24 +0100
Wolfgang Pfeiffer <r...@gmx.net> wrote:

> On Tue, 5 Dec 2017 20:34:11 +0100
> Wolfgang Pfeiffer <r...@gmx.net> wrote:
> 
> > On Tue, 5 Dec 2017 20:12:24 +0100
> > Gabriel Paubert <paub...@iram.es> wrote:
> >  [ ... ]
> > 
> > The latter one: mine is from ~2001: 
> > "Command (Apple) key followed by KP_Enter"
> > On this image it's the left one:
> > https://images.techhive.com/images/article/2015/05/powerbook-g4-titanium-01-100583313-orig.jpg
> >   
> 
> Other than the one in picture mine is a qwertz one .. but the kp_enter
> key (right side of Option key) is like mine ...
^^
should say: "right side of Apple key"

Sorry

> 
> Regards
> Wolfgang
> 
> > 
> >   
> > > 
> > > I have not booted the Pismo for about 1 year, I use the G4 several
> > > times per week, but it's still under Debian stable (with kernel
> > > 4.14 however).
> >   
> 
> 
> 



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?



Re: Installer from Ports, ppc 32 bit : "No kernel modules found"[was: Re: problem with page /ports/powerpc/]

2017-12-05 Thread Wolfgang Pfeiffer
On Tue, 5 Dec 2017 20:34:11 +0100
Wolfgang Pfeiffer <r...@gmx.net> wrote:

> On Tue, 5 Dec 2017 20:12:24 +0100
> Gabriel Paubert <paub...@iram.es> wrote:
>  [ ... ]
> 
> The latter one: mine is from ~2001: 
> "Command (Apple) key followed by KP_Enter"
> On this image it's the left one:
> https://images.techhive.com/images/article/2015/05/powerbook-g4-titanium-01-100583313-orig.jpg

Other than the one in picture mine is a qwertz one .. but the kp_enter
key (right side of Option key) is like mine ...

Regards
Wolfgang

> 
> 
> > 
> > I have not booted the Pismo for about 1 year, I use the G4 several
> > times per week, but it's still under Debian stable (with kernel 4.14
> > however).  
> 



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?



Re: Installer from Ports, ppc 32 bit : "No kernel modules found"[was: Re: problem with page /ports/powerpc/]

2017-12-05 Thread Wolfgang Pfeiffer
On Tue, 5 Dec 2017 20:12:24 +0100
Gabriel Paubert <paub...@iram.es> wrote:

> On Tue, Dec 05, 2017 at 07:51:47PM +0100, Wolfgang Pfeiffer wrote:
> > On Mon, 4 Dec 2017 02:09:20 +0100
> > Wolfgang Pfeiffer <r...@gmx.net> wrote:
> >  [ ... ]
> > Console:
> > I didn't find any bar key ("|") there, which is a real PITA, and
> > the right "Enter" key next to the right side "Apple" key, cannot be
> > reconfigured to act as "AltGr". So: No third layer, up until now:
> > and yes: I did a
> > "dpkg-reconfigure keyboard-configuration" multiple times.
> > Anyone has a working /etc/default/keyboard config for an old
> > Powerbook?  
> 
> At home, it's powered down, and I won't be there until Friday and it's
> for a Spanish keyboard.
> 
> But there are 2 generations of Powerbooks keyboards: on the right side
> of the keyboard, the first key may be KP_Enter followed by Alt (on my
> Pismo G3), or it may be the Command (Apple) key followed by KP_Enter
> (on my late 2005 Powerbook).
> 
> Which one do you have?

The latter one: mine is from ~2001: 
"Command (Apple) key followed by KP_Enter"
On this image it's the left one:
https://images.techhive.com/images/article/2015/05/powerbook-g4-titanium-01-100583313-orig.jpg


> 
> I have not booted the Pismo for about 1 year, I use the G4 several
> times per week, but it's still under Debian stable (with kernel 4.14
> however).

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?



Re: Installer from Ports, ppc 32 bit : "No kernel modules found"[was: Re: problem with page /ports/powerpc/]

2017-12-05 Thread Wolfgang Pfeiffer
On Mon, 4 Dec 2017 02:09:20 +0100
Wolfgang Pfeiffer <r...@gmx.net> wrote:

> On Mon, 4 Dec 2017 00:50:01 +0100
> John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> wrote:
> 
> > On 12/04/2017 12:14 AM, John Paul Adrian Glaubitz wrote:  
> > > I have to rebuild debian-installer to match the 4.14 kernel. The
> > > current version of debian-installer on the installation images is
> > > built against 4.13 but unstable has kernel 4.14. I will fix this
> > > tomorrow.
> > 
> > I have done this now although it's almost 1 AM in the morning
> > here ... Should work now, I just uploaded the updated image.  
> 
> Works, it seems:
> Just started the same install: no error messages regarding the modules
> anymore.
> 
> I didn't finish the install  - I'm tired. So I aborted the install.
> 
> Aborting the install crashed - but that might be a hardware, not
> sure.
> 
> More in the next 24 hrs. or so ...

tl;dr
Successful install last night on a 
Titanium IV (PowerBook3,5 MacRISC2 MacRISC Power Macintosh) with a 
debian-9.0-powerpc-NETINST-1.iso from
https://cdimage.debian.org/cdimage/ports/
Console: mess. X: crashes. Sleep: broke

Details:
At some point, when trying to abort the install, the installer couldn't
properly shutdown the machine - Photo:
https://i.imgur.com/MJGBrRX.jpg

The newly installed system seems fine so far except X, plus sleep mode:

Awesome, the window manager, crashes the system at times. Such
crashes are what I'm used to with this machine even with an older
previous Debian install - Debian 8, IIRC, and a different X,
without awesome. But that crash might be a hardware issue: quite some
time ago the inverter for this machine was replaced by a new one.

There seems to be an issue with, or different system behavior when
closing the lid for an intended sleep mode - the system *seems* to
crash, and does not wake up after opening the lid - the next system
boot needs the power button to be hold down for five or 10 seconds to
boot, or even  pressing the button multiple times - normally this
needs one single press for a second or so. Weird ...
Powering down the system with the usual "shutdown -h now"  doesn't
result in this problem to power up the machine again.

And sometimes when closing the lid, all that happens is that the light
goes off, system does not seem to get powered down into sleep mode.
And I get a black blank screen when opening again the lid. At least
typing blindly  "shutdown -h now" on a console with root logged in
most of the times work ...

Console:
I didn't find any bar key ("|") there, which is a real PITA, and
the right "Enter" key next to the right side "Apple" key, cannot be
reconfigured to act as "AltGr". So: No third layer, up until now:
and yes: I did a
"dpkg-reconfigure keyboard-configuration" multiple times.
Anyone has a working /etc/default/keyboard config for an old Powerbook?

I'll try to install this same version of that ports installer to an
Alubook ( i.e PowerBook5,8 MacRISC3 Power Macintosh), from around 2005,
in the next days, and see what happens ...

Let me know, please, if you want the syslog for this upcoming install
posted somewhere (could become a ~400 KB file).

Any wishes?

PS: thanks, Adrian, for letting me know about awesome - looks cool,
that beast, and it seems highly configurable. And I even forgive these
guys their inclination towards vi .. :)

Regards
Wolfgang

> Thanks for the night shift, Adrian!
> 
> Good night,
> Wolfgang
> 
> > 
> > Adrian
> >   
> 
> 
> 



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?



Re: Installer from Ports, ppc 32 bit : "No kernel modules found"[was: Re: problem with page /ports/powerpc/]

2017-12-04 Thread Wolfgang Pfeiffer
On Mon, 4 Dec 2017 11:11:07 +0100
John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> wrote:

> On 12/04/2017 01:26 AM, Wolfgang Pfeiffer wrote:
> [  ]

> >>> No wayland, under no circumstances. Please! .. :)
> >>
> >> Why not? Wayland actually uses *less* resources than X, much less.
> >> [ ... ]  
> > 
> > The "less reources" part sounds promising - but the rest:
> > https://fedoraproject.org/wiki/Common_F27_bugs#Wayland_issues
> > And no: I don't want to start a debate about wayland here  ;)  
> 
> Well, Wayland certainly still has some issue but you still have
> the options in Debian anyway. Eventually it will replace X.Org
> though as the X upstream developers themselves no longer want to
> maintain 25+-year-old, bug-ridden source code.

OK, if the Xorg guys themselves already say that Xorg actually is over,
then I won't complain ...

> 
> But again, we're not there yet anyway, so you don't have to worry.
> 
> > And for the archives: I used this fine manual for usb booting the
> > installer: it's around five years old but here it worked:
> > https://lists.debian.org/debian-powerpc/2012/08/msg00042.html  
> 
> Looks good. But as I said, I don't know for how long Yaboot will
> be around as it's currently being replaced.

No problem for me as long as GRUB will have some usable option to 
boot a ppc installer from inside OF, as yaboot perfectly seems to do.
It's really cumbersome to first have to burn an installer image to some
CD instead of being able to quickly pipe such an image to a thumb drive
and use it ...

I'm not even sure I have a usable blanc CD-R(W) around ... and who does
nowadays, anyway? 

> 
> > Thanks a lot to everyone involved for the ppc ports installer  
> 
> That's quite a lot of people, actually :).
> 
> Btw, please join #debian-ports on OFTC if you haven't already.

I've just been via "mibbit": on
irc://irc.debian.org/debianppc
I didn't see anyone in that room tho' 

here I was:
irc://irc.mibbit.net/debian-ports

I'll be back as I know about the X environment I'll install.

Plus: the firmware I'd like to load into the installer environment: the
installer yesterday was complaining about missing firmware, IIRC. But
actually I'd guess this can done (and skipped at install time) on a
fully installed system by simply installing the "firmware-linux-nonfree"
package.

But anyways: I just downloaded 
http://http.debian.net/debian/pool/non-free/f/firmware-nonfree/firmware-nonfree_20170823.orig.tar.xz
I'll try load that onto a second USB thumb drive and see whether the
installer can handle it  ;)

I'll try to be back tomorrow with more information, if necessary ...

Regards,
Wolfgang

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?



Re: Installer from Ports, ppc 32 bit : "No kernel modules found"[was: Re: problem with page /ports/powerpc/]

2017-12-03 Thread Wolfgang Pfeiffer
On Mon, 4 Dec 2017 02:09:20 +0100
Wolfgang Pfeiffer <r...@gmx.net> wrote:

> [ ... ]
> 
> Aborting the install crashed - but that might be a hardware, not

Aborting the install crashed - but that might be a hardware
should say:
Aborting the install crashed - but that might be a hardware issue

Sorry
Wolfgang

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?



Re: Installer from Ports, ppc 32 bit : "No kernel modules found"[was: Re: problem with page /ports/powerpc/]

2017-12-03 Thread Wolfgang Pfeiffer
On Mon, 4 Dec 2017 00:50:01 +0100
John Paul Adrian Glaubitz  wrote:

> On 12/04/2017 12:14 AM, John Paul Adrian Glaubitz wrote:
> > I have to rebuild debian-installer to match the 4.14 kernel. The
> > current version of debian-installer on the installation images is
> > built against 4.13 but unstable has kernel 4.14. I will fix this
> > tomorrow.  
> 
> I have done this now although it's almost 1 AM in the morning here ...
> Should work now, I just uploaded the updated image.

Works, it seems:
Just started the same install: no error messages regarding the modules
anymore.

I didn't finish the install  - I'm tired. So I aborted the install.

Aborting the install crashed - but that might be a hardware, not
sure.

More in the next 24 hrs. or so ...

Thanks for the night shift, Adrian!

Good night,
Wolfgang

> 
> Adrian
> 



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?



Re: Installer from Ports, ppc 32 bit : "No kernel modules found"[was: Re: problem with page /ports/powerpc/]

2017-12-03 Thread Wolfgang Pfeiffer
Hi Adrian, hi All

On Mon, 4 Dec 2017 00:14:50 +0100
John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> wrote:

> Hi Wolfgang!
> 
> On 12/03/2017 11:59 PM, Wolfgang Pfeiffer wrote:
> > "No kernel modules were found. This probably is due to a mismatch
> > between the kernel used by this version of the installer and the
> > kernel version available in the archive.  
> 
> Thanks for the heads-up, I knew I would have forgotten something.
> 
> I have to rebuild debian-installer to match the 4.14 kernel. The
> current version of debian-installer on the installation images is
> built against 4.13 but unstable has kernel 4.14. I will fix this
> tomorrow.

I forgot this - no idea whether it's important:
Yaboot (?) says after booting someth. like this:
"Warning: Bootstrap partition type is wrong: "Apple_HFS"
type should be "Apple_Bootstrap""


> 
> > Oh: what X environment for this very old, but still working
> > machine, is recommendable: I thought about some minimal X,
> > extremely lightweight. Just xorg? How do I do this?  
> 
> You can use something like fvwm, awesome or i3-wm.

Thanks! I'll have a look at the last two from above ...

> 
> > [ ... ]
> 
> > No wayland, under no circumstances. Please! .. :)  
> 
> Why not? Wayland actually uses *less* resources than X, much less.
> [ ... ]

The "less reources" part sounds promising - but the rest:
https://fedoraproject.org/wiki/Common_F27_bugs#Wayland_issues
And no: I don't want to start a debate about wayland here  ;)

And for the archives: I used this fine manual for usb booting the
installer: it's around five years old but here it worked:
https://lists.debian.org/debian-powerpc/2012/08/msg00042.html

The only "pain" on OF was finding '@' ':' and '\' on the qwertz
keyboard. IIRC:
'@' --> -'2'
':'   -->  -'ö'
'\'  --> "#" sign

Thanks a lot to everyone involved for the ppc ports installer

Regards
Wolfgang
-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?



Installer from Ports, ppc 32 bit : "No kernel modules found"[was: Re: problem with page /ports/powerpc/]

2017-12-03 Thread Wolfgang Pfeiffer
Hi Adrian, hi All

On Sun, 3 Dec 2017 13:14:44 +0100
John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> wrote:

> Hi Wolfgang!
> 
> On 12/02/2017 12:17 AM, Wolfgang Pfeiffer wrote:
> >> We are maintaining installer images for ports here:
> >>
> >> http://cdimage.debian.org/cdimage/ports  
> > 
> > I don't see any hint on powerpc in that dir. 
> > The last installer files I found were 8.9.0:
> > http://cdimage.debian.org/cdimage/archive/8.9.0/powerpc/iso-dvd/  
> 
> I have now added powerpc to the ports images folder and updated
> all installation images:
> 
> https://cdimage.debian.org/cdimage/ports/ [ ... ]

I'm trying to install Debian on a TitaniumIV, 32 bit,
(PowerBook3,5) - older than 15 years, IINM, this machine ...

with the latest image from
https://cdimage.debian.org/cdimage/ports/
That is, 
debian-9.0-powerpc-NETINST-1.iso
is copied to a USB thumb drive. The installer booted fine, but now I'm
getting a message that modules are missing:

"No kernel modules were found. This probably is due to a mismatch
between the kernel used by this version of the installer and the kernel
version available in the archive.

If you're installing from a mirror, you can work around this problem by
choosing to install a different version of Debian. The install will
probably fail to work if you continue without kernel modules.

Continue the install without loading kernel modules?

  "

Oh: what X environment for this very old, but still working machine, is
recommendable: I thought about some minimal X, extremely lightweight.
Just xorg? How do I do this?
Point is: I currently have Debian 8 installed on this machine, and X
isn't working well. Just had it booted: crashed, and I had to use the
off-switch to reboot ...

No wayland, under no circumstances. Please! .. :)

TIA

Regards,
Wolfgang


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?



Re: problem with page /ports/powerpc/

2017-12-01 Thread Wolfgang Pfeiffer
On Fri, 3 Nov 2017 09:33:39 +0100
John Paul Adrian Glaubitz  wrote:

> Hi Laura!
> 
> Can you please mention that both powerpc and ppc64 (and even
> powerpcspe) are available through Debian Ports?

Powerpc? Sure?

> 
> We are maintaining installer images for ports here:
> 
> http://cdimage.debian.org/cdimage/ports

I don't see any hint on powerpc in that dir. 
The last installer files I found were 8.9.0:
http://cdimage.debian.org/cdimage/archive/8.9.0/powerpc/iso-dvd/

What did I miss?

> 
> The same applies to alpha, hppa, m68k, sh4, sparc64 and x32.
> 
> Note: We don’t have installation images for some of the architectures
> yet, but that’s being worked on.
> 
> Thanks,
> 
> Adrian
> 
> > On Nov 3, 2017, at 9:16 AM, Laura Arjona Reina 
> > wrote:
> > 
> > Hello
> >   
> >> [ ... ]

TIA,
Wolfgang



Re: Xorg fails on ATI after update (mmio aperture)

2017-03-06 Thread Wolfgang Pfeiffer
On Mon, 2017-03-06 at 08:59 +0100, John Paul Adrian Glaubitz wrote:
> 
> > 
> > On Mar 6, 2017, at 8:36 AM, Michel Dänzer 
> > wrote:
> > 
> > > 
> > > On 06/03/17 04:20 PM, John Paul Adrian Glaubitz wrote:
> > > Correct me if I'm wrong, but in order to use atyfb you have to
> > > use
> > > the fbdev xorg driver. That's my main point.
> > 
> > If you mean for Xorg to use atyfb, that's technically correct, but
> > I'm
> > not sure how it's relevant.
> 
> It's relevant because using the FB driver is always a working
> fallback solution.
> 
> > 
> > > 
> > > I was talking about the missing DRM module as explained in the
> > > linked
> > > article on the X.Org wiki.
> > 
> > The kernel module is only needed for DRI 3D hardware acceleration,
> > for
> > which the needed Mesa driver isn't available in Debian (or even
> > current
> > upstream Mesa) anyway.
> 
> I know DRM is required for 3D acceleration. I was not sure if the
> driver would allow to be loaded with the DRM module missing.
> 
> > 
> > > 
> > > But in any case, using fbdev should always work. The "mach64"
> > > driver
> > > may be broken because it's more or less orphaned.
> > 
> > Except for the part where Riccardo says that the same userspace
> > works
> > with an older kernel.
> 
> I missed that part completely.
> 
> > 
> > Anyway, I looked at Riccardo's original post again and noticed that
> > his
> > xorg.conf has options disabling all hardware acceleration of
> > xserver-xorg-video-mach64 anyway. In that case there's no benefit
> > in
> > using that vs xserver-xorg-video-fbdev.
> 
> On a sidenote: Please be more polite on this list. There is no need
> to be that rude and condescending.

No. He wasn't rude. Not a bit. He simply was - as most of the time here
- very specific, terse and up to the relevant technical points. And
yes: I miss Michel's postings here a little bit. He's a pro, and I
definitively trust him a lot when he's commenting here or elsewhere.

Here's an example of what might be understood as rude. It was written
by me, years ago, on this list:

"Situations like that is why I say that Debian-Linux does not work for
people with a girl-friend or a family, or for folks who need to get a
job done on a computer in a reasonable amount of time. Or for folks who
simply like watching shadows on the wall (John Lennon :) or the stars
above them.

I'd guess it's a system for folks not knowing what to do with their
lives if they had a working OS on their computer."

Whole message:
https://lists.debian.org/debian-powerpc/2003/08/msg00559.html


I admit: I miss postings like that previous one a bit ... :)

> 
> Thank you!

No worries, Adrian: I'm immensely grateful to all Debian developers,
maintainers etc. for their work  - and to every single one of them. I'd
suggest to not destroy the fun of working on it by being too sensitive
about what people *might* have had in their minds when posting here ..

Love you all  :)

Wolfgang

> 
> Adrian



Re: make-jpkg/java-package on unstable/experimental missing?

2010-04-15 Thread Wolfgang Pfeiffer
Hi All

Thanks everyone for the responses so far.

 On Apr 13 2010, Wolfgang Pfeiffer wrote:
  Anyone out there who knows what happened to the tool/package above on
  ppc-Debian?
 
 Not only with ppc, but removed in general (the package is arch all).
 
  Anything I missed?
 
 The announcement that it was removed from unstable.
 
 OTOH, some mightly important programs don't work with openjdk 

Iceweasel here is the candidate that doesn't have Java with openjdk
and that Icedt plugin.

So I installed the stable version of the java-package on unstable, and
tried to make-jpkg the IBM package

ibm-java-sdk-6.0-7.0-linux-ppc.tgz

- sadly with no success: I could build the .deb package, with lots of
errors, but it seems its java didn't work. This might have to do with
either the fact that the stable (!) package does cover only a very old
and meantime unavailable IBM version, namely

ibm-java-sdk-6.0-0.0-linux-ppc.tgz 

or the fact that the unstable system here is only in parts updated to
latest package versions ..

If I have a little time I'll try to repeat the make-jpkg on a stable
Debian on a Ti-Book - I'll post to this thread when I have results
about it.

 (under powerpc, amd64 whatever).  One example is the Governmental
 program for taxes here in Brazil.
 
 It actually consists of two parts: one for declaration of taxes and
 another one for transmission.  The one for transmission (even when run
 from a single, bare jar file) doesn't work with opendjk, though it
 *does* work with sun-java-6.

I you were talking about the sun-java6-jre package I recommend keeping
it, if it works: It's latest version is un-installable on unstable ppc
currently, for unmet dependencies.

Thanks for all the responses, again ..

Best Regards
Wolfgang
-- 
http://heelsbroke.wordpress.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100415112804.gb9...@localhost



make-jpkg/java-package on unstable/experimental missing?

2010-04-13 Thread Wolfgang Pfeiffer
Hi All

Anyone out there who knows what happened to the tool/package above on
ppc-Debian?

It looks like they have been removed from powerpc on
unstable/experimental without creating a replacement.

And yes, I know there are packages on Ubuntu I maybe could try. 

Anything I missed?

Thanks in anticipation.

Regards
Wolfgang
-- 
http://heelsbroke.wordpress.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100413140637.ga9...@localhost



Re: libgl1-mesa-dri 7.6-1 + libgl1-mesa-glx 7.6-1 working on PowerBook5.8?

2009-12-08 Thread Wolfgang Pfeiffer
Hi All

On Fri, Dec 04, 2009 at 12:44:05PM +0100, Wolfgang Pfeiffer wrote:
 
 But because I have slight usability problems with that mixed versions
 scenario on the PB5,8 - e.g. criticalmass, a game that uses OpenGL, is
 very slow, and basically unusable here over the last times I used it -
 I became curious what happens if I also upgrade libgl1-mesa-dri and
 libgl1-mesa-glx to their latest versions. With the fall-back option
 via dpkg-repack I can do that now.
 
 I'll report back later on about the results to the old thread we had
 on a few weeks ago (Hard Crash Xserver on Powerbook (Pismo) Sid)

I sent the promised report last Friday, and a second time last Sunday
to this list, it never showed up here. Sorry, not my fault ..

Michel Dänzer, I hope the debian servers let through at least the
message I sent to you last Friday. 

Best Regards
Wolfgang
-- 
http://heelsbroke.wordpress.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: libgl1-mesa-dri 7.6-1 + libgl1-mesa-glx 7.6-1 working on PowerBook5.8?

2009-12-04 Thread Wolfgang Pfeiffer
Stephane, Michel, and All

On Fri, Dec 04, 2009 at 11:22:38AM +0100, Michel Dänzer wrote:
 On Thu, 2009-12-03 at 20:49 +0100, Wolfgang Pfeiffer wrote: 
  
  I cannot risk to break the usability of a PowerBook5,8 - so before
  upgrading both packages to 7.6-1: Did someone out there get both
  mentioned packages, version 7.6-1, to work without problems on a
  Powerbook5.8?
  
  See bugs #549588 #550691 for more ...
  
  Problem is I don't find my currently installed, more or less working
  versions 7.4-2 anywhere as packages any more. Which means, after
  upgrading, there seems to be a problem to go back to the version
  currently being installed.
 
 What exactly is your concern? If it's just the availability of .debs for
 the old versions, there's always dpkg-repack.

Bingo: dpkg-repack will solve my problem: I didn't know about that
package. Thanks for letting me know about it, Michel.

My problem was that the xorg packages, here on a PowerBook5,8, are
hopefully all to their very latest versions from unstable - except for
the libgl1-mesa-dri and libgl1-mesa-glx packages, which I kept at
7.4-2 because of the bugs I was mentioning before.

But because I have slight usability problems with that mixed versions
scenario on the PB5,8 - e.g. criticalmass, a game that uses OpenGL, is
very slow, and basically unusable here over the last times I used it -
I became curious what happens if I also upgrade libgl1-mesa-dri and
libgl1-mesa-glx to their latest versions. With the fall-back option
via dpkg-repack I can do that now.

I'll report back later on about the results to the old thread we had
on a few weeks ago (Hard Crash Xserver on Powerbook (Pismo) Sid)

Thanks, Michel
Thanks, Stephane

Regards
Wolfgang

-- 
http://heelsbroke.wordpress.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



libgl1-mesa-dri 7.6-1 + libgl1-mesa-glx 7.6-1 working on PowerBook5.8?

2009-12-03 Thread Wolfgang Pfeiffer
Hi All

I cannot risk to break the usability of a PowerBook5,8 - so before
upgrading both packages to 7.6-1: Did someone out there get both
mentioned packages, version 7.6-1, to work without problems on a
Powerbook5.8?

See bugs #549588 #550691 for more ...

Problem is I don't find my currently installed, more or less working
versions 7.4-2 anywhere as packages any more. Which means, after
upgrading, there seems to be a problem to go back to the version
currently being installed.

Thanks in anticipation

Regards
Wolfgang

-- 
http://heelsbroke.wordpress.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Hard Crash Xserver on Powerbook (Pismo) Sid

2009-11-17 Thread Wolfgang Pfeiffer
On Mon, Nov 16, 2009 at 09:27:38PM +0100, Stephane Louise wrote:
 Hi,

 Brian Morris wrote:
 Hey I just did an update today at the console, and
 starting up the window system after, the Xserver hangs.

 There is a cursor but no menu action and no out via function keys,
 plus the cursor doesn't move anyway, so I had no choice other than
 a hard reset restart (Clover-Option-Power keys).

 I can try reconfiguring the server first (I have a very plain system  
 here, just openbox wm with a startx manual start), and/or I can test it  
 by ssh line in case it is just the server/ keyboard hanging.

 My macmini here dies whenever I try to launch an opengl application (like 
 glxgears, glxinfo alone is alright though). When I say it dies, its: hard 
 freeze, cannot ping the poor thing throught network and it just stand 
 frozen here until the hard reset.


I can provoke a complete system crash - with a working keyboard tho' -
by just selecting Noof in the screen saver settings panel. Noof
seems to be an OpenGL screensaver.

System where this happens is a relatively fresh unstable Debian, on
KDE4. But IIRC this crash, triggered by a screensaver-demo happened
too on FVWM, a few days ago. Kernel at the time of the last crash
today rather surely is a self-compiled 2.6.30. The machine is a
TitaniumIV, with a 867 (maximum) MHz CPU.

This crash does not happen with an older unstable Debian with packages
around 7 or 8 months old, that otherwise has updated, relatively fresh
xorg packages installed, on a PowerBook5,8 with the same self-compiled
2.6.30 kernel installed.

And it's not clear to me which package is the culprit, i.e. I don't
know which OpenGl program is involved to start that Noob
screensaver.

And it's unclear to me how to debug the issue, as there seems nothing
being logged on the crashing system about this specific crash.

So I tried, to at least learn what Opengl app helps starting Noob, a 

gdb xscreensaver-demo

on the Powerbook5,8 which hasn't had these problems, and got this when
selecting Noob: 


libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID pci::00:10.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci::00:10.0
libGL error: 
Can't open configuration file /etc/drirc: No such file or directory.
libGL error: 
Can't open configuration file /home/shorty/.drirc: No such file or directory.
-

What package does, or could, 'libGL' refer to? 

If someone would be willing to help debug this: Be quick, because both
computers might see changes to stable software, soon.

HTH

Best Regards
Wolfgang


 I didn't have time to investigate, but if you have a composite desktop  
 manager, you may want to desactivate that to see if your  Tibook survives 
 the X start up.

 Hope that helps,



-- 
http://heelsbroke.wordpress.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: mplayer/xine: Green areas at the edges of wmv videos

2009-11-15 Thread Wolfgang Pfeiffer
On Sat, Nov 14, 2009 at 08:54:14AM -0800, Michel Dänzer wrote:
 On Fri, 2009-11-13 at 14:11 +0100, Wolfgang Pfeiffer wrote: 
  
  Since a few weeks some .wmv files cannot be played properly by both
  mplayer and xine, movies that could be played fine without these green
  colors some time ago, at least as far as I can recall it. When played
  back now, these movies look like shown on the pictures on this page: 
  
  http://forum.videolan.org/viewtopic.php?f=12t=66006
  
  [ ... ]


  Does anyone know the reason for this change of behavior of these movie
  players?
 
 The screenshots look to me like it's most likely a bug in the video
 decoding code, maybe ffmpeg (e.g. package libavcodec51 or libavcodec52).

I have the ffmpeg/libavcodec52 packages from www.debian-multimedia.org
installed ... and it looks like I cannot downgrade them without too
many packages being removed by apt-get.

So I'll wait a little ..

Thanks, Michel

Best Regards
Wolfgang

-- 
http://heelsbroke.wordpress.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



[Solved] Re: mplayer/xine: Green areas at the edges of wmv videos

2009-11-15 Thread Wolfgang Pfeiffer
Hi Michel, Hi All

I'll try to make it as short as possible::

*** 1:

mplayer-g4 is replaced by mplayer. Please remember I got the errors
with an mplayer-g4 on the TitaniumIV

*** 2:

config flags to compile a working mplayer have changed, too. build-deps
probably too. This is relevant for the mplayer I had on the Powerbook5,8


*** 3:

So installing mplayer/mencoder (and so uninstalling its *-g4
variations) on the TiBook helped getting rid of the errors.

*** 4:

And on the Powerbook5,8 this seems to have worked to get around the errors:

---

# apt-get build-dep mplayer   
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  liba52-0.7.4-dev libdts-dev
The following packages will be upgraded:
  liba52-0.7.4 libdca-dev libdca0
3 upgraded, 2 newly installed, 0 to remove and 1043 not upgraded.

-
The non-working mplayer had its build-dep done against an mplayer-g4,
if I read my .bash_history correctly ...

Compiling mplayer with these flags helped:

time DEB_BUILD_OPTIONS=--cc=gcc-4.3 --prefix=/usr --confdir=/etc/mplayer 
--datadir=/usr/share/mplayer --enable-joystick --disable-tremor-internal 
--enable-libopencore_amrnb --enable-libopencore_amrwb --disable-openal 
--disable-faad-internal --disable-liba52-internal --language=all 
--enable-largefiles --enable-menu --disable-libdvdcss-internal --enable-radio 
--enable-radio-capture --enable-xvmc --with-xvmclib=XvMCW --enable-gui 
--disable-win32dll --realcodecsdir=/usr/local/lib/codecs --disable-altivec 
fakeroot debian/rules binary

The non-working mplayer before was compiled differently, for example:

Look for 

--disable-openal
--disable-faad-internal
--disable-liba52-internal
--disable-altivec

in both compiles.

Here are the compile options that seem to have broken mplayer as described:

time DEB_BUILD_OPTIONS=--cc=gcc-4.3 --prefix=/usr --confdir=/etc/mplayer 
--datadir=/usr/share/mplayer --enable-xmga --enable-mga --enable-joystick 
--disable-tremor-internal --enable-libopencore_amrnb --enable-libopencore_amrwb 
--language=all --enable-largefiles --enable-menu --disable-libdvdcss-internal 
--enable-radio --enable-radio-capture --enable-xvmc --with-xvmclib=XvMCW 
--enable-gui --disable-win32dll --realcodecsdir=/usr/local/lib/codecs 
--enable-altivec fakeroot debian/rules binary


Thanks to Christian Marillat: I had a look to the compile flags he,
IINM, used ('mplayer -v some-movie'), and adapted them a little to
my needs.

And they worked.

Thanks Christian Marillat, if you read this ... :)

Thanks Michel, too: You helped me going until I had that issue fixed :)

Best Regards
Wolfgang

-- 
http://heelsbroke.wordpress.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: [Solved: Addendum] Re: mplayer/xine: Green areas at the edges of wmv videos

2009-11-15 Thread Wolfgang Pfeiffer
xine still has the green edges, as described earlier. No changes. But
at least mplayer now seems to work.

Wolfgang

-- 
http://heelsbroke.wordpress.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



mplayer/xine: Green areas at the edges of wmv videos

2009-11-13 Thread Wolfgang Pfeiffer
Hi All

Since a few weeks some .wmv files cannot be played properly by both
mplayer and xine, movies that could be played fine without these green
colors some time ago, at least as far as I can recall it. When played
back now, these movies look like shown on the pictures on this page: 

http://forum.videolan.org/viewtopic.php?f=12t=66006

This mess happens both on a rather fresh unstable Debian on a
TiBookIV, and on a not-so-fresh unstable Debian on a Powerbook5,8.

On the Powerbook5,8 Xorg packages are relatively new from unstable
(not so new is a relatively big chunk of the rest of the packages,
which might be more than half a year old, from unstable) and mplayer
is upgraded to very new versions: mplayer self-rolled 1 or 2 weeks ago
from sources as found on the mplayer sites and installed on the
Powerbook5,8.

Contrary to the TiBookIV where a new mplayer-g4 (mencoder-g4) is
installed from debian.netcologne.de.

New xine packages are used on both machines as shipped with Debian
unstable ...

On both machines this behavior can be seen with the same self-compiled
non-Debian kernel 2.6.30 running. Additionally, the TiBookIV, when
booted with some 2.6.26.rc5 kernel (from git sources then, IIRC), shows
the same behavior regarding these greenish edges ...

Google seems to relatively silent on the mess - that's why I'm here.

So before going into more details:

Does anyone know the reason for this change of behavior of these movie
players?

Thanks for your time in anticipation.

Best Regards
Wolfgang
-- 
http://heelsbroke.wordpress.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Name of kernel driver that manages fan (PowerBook5,8)

2009-11-11 Thread Wolfgang Pfeiffer
Hi Michel, Hi All

On Fri, May 15, 2009 at 12:35:18PM +0200, Michel Dänzer wrote:
 On Fri, 2009-05-15 at 12:12 +0200, Wolfgang Pfeiffer wrote:
  
  Sometimes my fan seems to hang, at a very high speed, IINM, that is,
   
  /sys/devices/temperatures/sensor1_fan_speed
  
  in these cases gives me a value of something like
  
  0 (3859 rpm)
  
  I'd (wild .. :) guess the second value simply means the number of
  rounds/min the fan is spinning ... No idea what the first number
  means.
  
  The only chance - so far - to stop the fan in these instances, is a
  reboot. I'd like to avoid the latter, by simply trying to 
  switch off/on the driver that is responsible for the fan ...
  
  So anyone knows the name of this driver? Is there one? Or is it solely
  a firmware issue? Hints?
 
 It's a bug in the therm_adt746x driver, it sometimes sets the hardware
 bit which inverts the meaning of the fan speed register. The patch below
 fixes it for me, I'm going to submit it for inclusion.

Just a little feed-back, that I - sort of - was promising quite some
time ago: Your patch, Michel - or better, a slightly edited version
that you wrote, and which I found, IIRC, on the Internet - works great
here: I haven't had this situation ever again with a fan running high
and endlessly since I installed a self rolled, non-Debian 2.6.30
kernel from, IINM, kernel.org, that I patched with the file you
thankfully published.

I installed this patched kernel, IINM, around 3 months ago on the
Powerbook5,8, and I use it on a nearly daily basis, time and again
with a CPU  fans running very high. Plus, I reboot very rarely: In all
this time I don't remember even one single instance where the fans
went belly up on me.

I attach this patch I used for the 2.6.30.

And for everyone else out there: please note that this patched
therm_adt746x.c is already part of the latest git kernel sources. So,
no need to apply it to such fresh kernels ...

Michel,
I owe you not just one pizza, and beer: So if you're around Stuttgart,
Germany, then I hope you'll holler at me, so I can pay my debts ... :)

Thank you for your precious work ... 

Regards
Wolfgang

PS: I cut some header in this email to make sure it will be detached
from the very old original thread, and to make sure it's not going to be
unnoted in there ...


 
 
 diff --git a/drivers/macintosh/therm_adt746x.c 
 b/drivers/macintosh/therm_adt746x.c
 index 82607ad..d2575d5 100644
 --- a/drivers/macintosh/therm_adt746x.c
 +++ b/drivers/macintosh/therm_adt746x.c
 @@ -37,6 +37,7 @@
  #define CONFIG_REG   0x40
  #define MANUAL_MASK  0xe0
  #define AUTO_MASK0x20
 +#define INVERT_MASK  0x10
  
  static u8 TEMP_REG[3]= {0x26, 0x25, 0x27}; /* local, sensor1, sensor2 */
  static u8 LIMIT_REG[3]   = {0x6b, 0x6a, 0x6c}; /* local, sensor1, sensor2 */
 @@ -229,7 +227,9 @@ static void write_fan_speed(struct thermostat *th, int 
 speed, int fan)
   
   if (speed = 0) {
   manual = read_reg(th, MANUAL_MODE[fan]);
 - write_reg(th, MANUAL_MODE[fan], manual|MANUAL_MASK);
 + write_reg(th, MANUAL_MODE[fan],
 + (manual|MANUAL_MASK)  (~INVERT_MASK));
   write_reg(th, FAN_SPD_SET[fan], speed);
   } else {
   /* back to automatic */
 
 

-- 
http://heelsbroke.wordpress.com
diff --git a/drivers/macintosh/therm_adt746x.c b/drivers/macintosh/therm_adt746x.c
index 82607ad..321eaad 100644
--- a/drivers/macintosh/therm_adt746x.c
+++ b/drivers/macintosh/therm_adt746x.c
@@ -37,6 +37,7 @@
 #define CONFIG_REG   0x40
 #define MANUAL_MASK  0xe0
 #define AUTO_MASK0x20
+#define INVERT_MASK  0x10
 
 static u8 TEMP_REG[3]= {0x26, 0x25, 0x27}; /* local, sensor1, sensor2 */
 static u8 LIMIT_REG[3]   = {0x6b, 0x6a, 0x6c}; /* local, sensor1, sensor2 */
@@ -229,7 +230,8 @@ static void write_fan_speed(struct thermostat *th, int speed, int fan)
 	
 	if (speed = 0) {
 		manual = read_reg(th, MANUAL_MODE[fan]);
-		write_reg(th, MANUAL_MODE[fan], manual|MANUAL_MASK);
+		write_reg(th, MANUAL_MODE[fan],
+			(manual|MANUAL_MASK)  (~INVERT_MASK));
 		write_reg(th, FAN_SPD_SET[fan], speed);
 	} else {
 		/* back to automatic */



Re: keyboard problems in Squeeze

2009-11-08 Thread Wolfgang Pfeiffer
On Sun, Nov 08, 2009 at 02:57:42PM +0100, Piotr Kopszak wrote:
 I think I'm beginning to understand the Squeeze idea of keybord
 configuration. If I'm right dpkg-reconfigure console-setup should do
 the trick for both text console and X. But there is still console-data
 which can also be dpkg-reconfigured? Why?

I don't know. 

And I suggest to everyone out there to be very careful with the
choices you make when you run 'dpkg-reconfigure console-setup',
because - if I recall correctly - at one point, a few days ago, my tty
became more or less unusable: I think this happened after running
something like 'dpkg-reconfigure console-setup': Typing on the console
resulted in a terribly messy garbage of letters. And it was very hard
to switch from that broken console back to an X session where I again
re-ran - IIRC - 'dpkg-reconfigure console-setup', and this time
luckily enough took the right choices 

Be careful before messing with your console: You'll need it for the
next reboot ...

 Anyway, how can I prevent both from messing with my keyboard?
 Piotr
 
 2009/11/8 Piotr Kopszak kops...@gmail.com:
  I'm baffled. I moved out the key mappings from xorg.conf but nothing
  changed. 

Did you also try to re-run hal after the changes with xorg.conf?
Something like '/etc/init.d/hal restart'

I have that in
/etc/default/console-setup:
--
# If you change the values of these XKB... variables and HAL and X are
# configured to use this file, then the changes will become visible to
# X only if HAL is restarted.  In Debian you need to run
# /etc/init.d/hal restart
---

Also, I recommend a look at
/etc/inputrc
because this file, too, seems being responsible for the keyboard
settings .. 

It's a complicated mess, Piotr - be careful 

Regards
Wolfgang

 X11 have Polish keyboard Firefox and Emacs don't. So what is
  controlling them now?
 
  P.
 
  2009/11/7 Piotr Kopszak kops...@gmail.com:
  My goodness, what a mess. Maybe it's time to seriously think about
  abandoning sid or squeeze for now,  and just wait patiently for next
  stable release. The potential of spoiling a perfectly sane system is
  apparently immense in our community. I'll try to give your solutions a
  try tomorrow morning. Anyway,  GREAT thanks!
 
  Piotr
 
  2009/11/6 Wolfgang Pfeiffer r...@gmx.net:
  Hi All
 
  On Wed, Nov 04, 2009 at 10:05:27AM +, Piotr Kopszak wrote:
  Hello,
 
  I have just installed Squeeze on Powerbook5,6 and I'm trying to set up
  Polish keyboard in X11 and try to do it the way it worked for me in
  Lenny that is
 
  PL_pl locales default and  following settings in xorg.conf:
 
  Option XkbModel pc104
  Option XkbLayout pl
  Option XkbOptions lv3:rwin_switch
 
 
  Funny thing it works in a terminal, it does not work in emacs,
  iceweasel and gnome administration panel.
 
  I had these problems too, on both - IIRC - a Powerbook5,8 (alubook)
  and a Powerbook3,5 (Titanium IV). Keyboard is DE.
 
  The Titanium has a more or less completely updated unstable Debian on
  it, while the alubook has an unstable Debian, too, installed, but with
  rather fresh packages installed mainly for xorg. Most of the rest of
  the software on the alubook is an about half a year old unstable
  Debian.
 
  After lots of testing on both machines over the last few days, this is
  what I found:
 
  It seems I worked around the issues on both machines, for both FVWM and
  KDE - with on old KDE on the alubook and a newer one on the Titanium -
  by
 
  *** 1:
 
  *** A:
 
  Moving ~/.xmodmap completely out of the way. No ~/.xmodmap on both
  computers.
 
  *** B:
 
  Also on the Titanium there is no xorg.conf installed.
 
  On the alubook all I have in xorg.conf is this:
 
  
  # xorg.conf.dpkg-new (Xorg X Window System server configuration file)
  #
  # This file was generated by dexconf, the Debian X Configuration tool, 
  using
  # values from the debconf database.
  #
  # Edit this file with caution, and see the xorg.conf.dpkg-new manual page.
  # (Type man xorg.conf.dpkg-new at the shell prompt.)
  #
  # This file is automatically updated on xserver-xorg package upgrades 
  *only*
  # if it has not been modified since the last upgrade of the xserver-xorg
  # package.
  #
  # If you have edited this file but would like it to be automatically 
  updated
  # again, run the following commands as root:
  #
  #   cp /etc/X11/xorg.conf.dpkg-new /etc/X11/xorg.conf.dpkg-new.custom
  #   md5sum /etc/X11/xorg.conf.dpkg-new 
  /var/lib/xfree86/xorg.conf.dpkg-new.md5sum
  #   dpkg-reconfigure xserver-xorg
 
  #Section Files
 
         # see http://wiki.debian.org/Xorg69To7:
         # FontPath      unix/:7100                    # local font server
         # if the local font server has problems, we can fall back on these
  #       FontPath        /usr/share/fonts/X11/misc
  #       FontPath        /usr/share/fonts/X11/cyrillic
  #       FontPath        /usr/share/fonts/X11

Re: Proper partitioning

2009-08-20 Thread Wolfgang Pfeiffer
On Wed, Aug 19, 2009 at 10:10:12PM +0800, Jason Hsu wrote:
 What are the appropriate partitions for using Debian on a PowerPC?
 So far, my partitioning experience has been limited to Puppy Linux
 and Damn Small Linux on a PC.  Does a PowerPC require certain things
 that a PC does not?

Don't know what specific model you use, but IIRC, this page - earlier
I think it was hosted somewhere else - helped me a lot on 2 differnet
Powerbooks: 

http://neugierig.org/content/tibook/ibook.html

 
 What partitions are you using on your PowerPC?

---
# /sbin/mac-fdisk -l /dev/hda
/dev/hda
#type name  length   base  ( 
size )  system
/dev/hda1 Apple_partition_map Apple 63 @ 1 ( 
31.5k)  Partition map
/dev/hda2 Apple_Bootstrap untitled1954 @ 64
(977.0k)  NewWorld bootblock
/dev/hda3 Apple_UNIX_SVR2 root58593751 @ 2018  ( 
27.9G)  Linux native
/dev/hda4 Apple_UNIX_SVR2 swap 4296876 @ 308284932 (  
2.0G)  Linux swap
/dev/hda5 Apple_UNIX_SVR2 home   249689163 @ 58595769  
(119.1G)  Linux native

Block size=512, Number of Blocks=312581808
DeviceType=0x0, DeviceId=0x0
---

HTH

Best Regards 
Wolfgang
-- 
http://heelsbroke.wordpress.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Proper partitioning

2009-08-20 Thread Wolfgang Pfeiffer
On Thu, Aug 20, 2009 at 01:40:31PM +0200, Wolfgang Pfeiffer wrote:
 
  
  What partitions are you using on your PowerPC?
 
 ---
 # /sbin/mac-fdisk -l /dev/hda
 /dev/hda
 #type name  length   base  ( 
 size )  system
 /dev/hda1 Apple_partition_map Apple 63 @ 1 ( 
 31.5k)  Partition map
 /dev/hda2 Apple_Bootstrap untitled1954 @ 64
 (977.0k)  NewWorld bootblock
 /dev/hda3 Apple_UNIX_SVR2 root58593751 @ 2018  ( 
 27.9G)  Linux native
 /dev/hda4 Apple_UNIX_SVR2 swap 4296876 @ 308284932 (  
 2.0G)  Linux swap
 /dev/hda5 Apple_UNIX_SVR2 home   249689163 @ 58595769  
 (119.1G)  Linux native
 
 Block size=512, Number of Blocks=312581808
 DeviceType=0x0, DeviceId=0x0
 ---
 

Forgot to say that the partitions above are those on a Powerbook5,8
... 

Sorry
Wolfgang
-- 
http://heelsbroke.wordpress.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



[Solved] Re: Audio, Soundbylayout: how to use it at 24 bits/96 KHz

2009-08-18 Thread Wolfgang Pfeiffer
Hi Benjamin, hi All

Thanks, Benjamin, for your response ..

On Mon, Aug 17, 2009 at 12:26:58AM +0200, Benjamin Cama wrote:
 Hi,
 
 Just guessing : for mplayer, I know there is the -srate parameter that
 can set a forced sampling rate for your sound card.

You're right, but I get this switch - IIRC - only working if I install
the attached ~/.asoundrc. Without it this option does not change
mplayer's default here - which seems to be 48000 Hz, no matter what i
feed to mplayer - and this default is pulled - just guessing here -
from maybe /usr/share/alsa/alsa.conf

 Maybe it will work, but the s24le to s16le conversion looks strange
 too ...

Actually I haven't understood the {big,little} endian sound oddities
here - I recommend a look at 'aplay -v' and play some sound file: I
guess alsa just eats any sound, whether big or little endian, and
plays it back according to the endianness it finds on the hardware -
in that case big endian.

The solution:

If I install the attached ~/asoundrc both mplayer and aplay play the
files according to the values the sound files have - the depth at which
they're played back seems to depend on the rate they're played back -
that's nearly exactly what I was looking for. With mplayer I can even
change the rate with the -srate switch .. and yes, the rate is
commented out in the attached .asoundrc ...

Please note that I don't understand why this .asoundrc works as it
does: the documentation I found on the ALSA specifics was unusable
here - in the end I tested and edited config files I found on the
Interwebs. The one attached is the result of these tests.

If you want to explore your soundcard, and what it can do - sample
rate and depth: I use alsacap for this purpose, a little tool you find
at 
http://www.volkerschatz.com/noise/alsa.html
 - it compiled here in a second or 2 ...



$ ./alsacap -h
Usage: alsacap [-R] [-C card # [-D device #]]
   alsacap [-R] -d device name [-r rate|-c # of channels|-f sample 
format]...
ALSA capability lister.
First form: Scans one or all soundcards known to ALSA for devices, 
subdevices and parameter ranges.  -R causes a scan for recording
rather than playback devices.  The other options specify the sound
card and possibly the device by number.
Second form: Displays ranges of configuration parameters for the given
ALSA device.  Unlike with the first form, a non-hardware device may be
given.  Up to three optional command-line arguments fix the rate,
number of channels and sample format in the order in which they are
given.  The remaining parameter ranges are output.  If unique, the
number of significant bits of the sample values is output.  (Some
sound cards ignore some of the bits.)

--

$ ./alsacap   
*** Scanning for playback devices ***
Card 0, ID `SoundByLayout', name `SoundByLayout'
  Device 0, ID `Master', name `', 1 subdevices (1 available)
2 channels, sampling rate 8000..96000 Hz
Sample formats: S16_BE, S32_BE
  Subdevice 0, name `subdevice #0

-

$ ./alsacap -R
*** Scanning for recording devices ***
Card 0, ID `SoundByLayout', name `SoundByLayout'
  Device 0, ID `Master', name `', 1 subdevices (1 available)
2 channels, sampling rate 8000..96000 Hz
Sample formats: S16_BE, S32_BE
  Subdevice 0, name `subdevice #0'

--

HTH

Best Regards
Wolfgang
-- 
http://heelsbroke.wordpress.com
pcm.!default {
type plug
slave {
pcm hw:0
#rate 96000
}
}



Audio, Soundbylayout: how to use it at 24 bits/96 KHz

2009-08-16 Thread Wolfgang Pfeiffer
Hi All

PowerBook5,8 here.

I want to play a sound file that is coded to 24 bits/96000 Hz at
exactly these sample rates. 

$ file 24-96-sound.wav 
24-96-sound.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 24 bit, 
stereo 96000 Hz

Apple says the soundcard I have is able to do 16 or 24 bits, and
sample rates of up to 96KHz:

The audio circuitry and audio device drivers handle audio data in
multiple formats. Both digital and analog audio circuitry handle audio
input and output data at sample rates of 32.0 kHz, 44.1 kHz, 48.0 kHz,
64.0 kHz, 88.2 kHz, and 96.0 kHz at sample depths of 16 bits and 24
bits.

Problem is, it looks as if I get maximum 48KHz when playing this 24/96
file: 

--- 
$ aplay -v -r 96000 24-96-sound.wav 
Playing WAVE '24-96-sound.wav' : Signed 24 bit Little Endian in 3bytes, Rate 
96000 Hz, Stereo
Plug PCM: Rate conversion PCM (48000, sformat=S16_BE)
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S24_3LE
  subformat: STD
  channels : 2
  rate : 96000
  exact rate   : 96000 (96000/1)
  msbits   : 24
  buffer_size  : 32768
  period_size  : 2048
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 2048
  period_event : 0
  start_threshold  : 32768
  stop_threshold   : 32768
  silence_threshold: 0
  silence_size : 0
  boundary : 1073741824
Slave: Soft volume PCM
Control: PCM Playback Volume
min_dB: -51
max_dB: 0
resolution: 256
Its setup is:
  stream   : PLAYBACK
  access   : MMAP_INTERLEAVED
  format   : S16_BE
  subformat: STD
  channels : 2
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 1024
  period_event : 0
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary : 1073741824
Slave: Direct Stream Mixing PCM
Its setup is:
  stream   : PLAYBACK
  access   : MMAP_INTERLEAVED
  format   : S16_BE
  subformat: STD
  channels : 2
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 1024

[  ]
-


mplayer:
-

$ mplayer -identify 24-96-sound.wav 
MPlayer SVN-r29409-4.3.3 (C) 2000-2009 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing 24-96-sound.wav.
ID_AUDIO_ID=0
Audio only file format detected.
ID_FILENAME=24-96-sound.wav
ID_DEMUXER=audio
ID_AUDIO_FORMAT=1
ID_AUDIO_BITRATE=4608000
ID_AUDIO_RATE=0
ID_AUDIO_NCH=2
ID_LENGTH=394.00
ID_SEEKABLE=1
ID_CHAPTERS=0
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 96000 Hz, 2 ch, s24le, 4608.0 kbit/100.00% (ratio: 576000-576000)
ID_AUDIO_BITRATE=4608000
ID_AUDIO_RATE=96000
ID_AUDIO_NCH=2
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
[AO_ALSA] Format s24le is not supported by hardware, trying default.
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=pcm
Video: no video
Starting playback...

-

do I have to recompile the 2.6.30 kernel I use, and if yes, what do I change?:

excerpt pcm.h:


/* If you change this don't forget to change rates[] table in pcm_native.c */
#define SNDRV_PCM_RATE_5512 (10)  /* 5512Hz */
#define SNDRV_PCM_RATE_8000 (11)  /* 8000Hz */
#define SNDRV_PCM_RATE_11025(12)  /* 11025Hz */
#define SNDRV_PCM_RATE_16000(13)  /* 16000Hz */
#define SNDRV_PCM_RATE_22050(14)  /* 22050Hz */
#define SNDRV_PCM_RATE_32000(15)  /* 32000Hz */
#define SNDRV_PCM_RATE_44100(16)  /* 44100Hz */
#define SNDRV_PCM_RATE_48000(17)  /* 48000Hz */
#define SNDRV_PCM_RATE_64000(18)  /* 64000Hz */
#define SNDRV_PCM_RATE_88200(19)  /* 88200Hz */
#define SNDRV_PCM_RATE_96000(110) /* 96000Hz */
#define SNDRV_PCM_RATE_176400   (111) /* 176400Hz */
#define SNDRV_PCM_RATE_192000   (112) /* 192000Hz */

--

Or some module parameter I could change for what I want?

What else?

Thanks in anticipation

Best regards
Wolfgang

-- 
http://heelsbroke.wordpress.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? 

Re: Audio, Soundbylayout: how to use it at 24 bits/96 KHz

2009-08-16 Thread Wolfgang Pfeiffer
On Sun, Aug 16, 2009 at 03:53:20PM +0200, Wolfgang Pfeiffer wrote:
 Hi All
 
 PowerBook5,8 here.
 
 I want to play a sound file that is coded to 24 bits/96000 Hz at
 exactly these sample rates. 
 
 $ file 24-96-sound.wav 
 24-96-sound.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 24 
 bit, stereo 96000 Hz
 
 Apple says the soundcard I have is able to do 16 or 24 bits, and
 sample rates of up to 96KHz:
 
 The audio circuitry and audio device drivers handle audio data in
 multiple formats. Both digital and analog audio circuitry handle audio
 input and output data at sample rates of 32.0 kHz, 44.1 kHz, 48.0 kHz,
 64.0 kHz, 88.2 kHz, and 96.0 kHz at sample depths of 16 bits and 24
 bits.

1:

Meantime I doubt this card can do 24 bits: after lots of testing it
looks it can do 16 and 32 bits only.

2:

I found and installed/edited an old ~/.aoundrc file. You find it
attached to this email. It works in that it uses a fixed sample rate
of 96000 Hz for anything you feed to your different sound players. I
hate this solution, as nowadays alsa simply should look at the file
that's fed to it, and then - per default - play it exactly as it was
coded, limited only by the capabilities of the sound card: e.g. a file
with 96000 Hz should be played at exactly that rate, and one with
44100 Hz with 44100 Hz.

But it's a - so far - working compromise. If in doubt don't use the
attached ~/.asoundrc: I cannot guarantee it won't break things on your
system.

3:

Thanks to Michel Dänzer who - if my memory serves me well - published
an .asoundrc many years ago that helped me set up most parts of the one
attached to this email. Again, don't use it: things might have changed
greatly meantime ...

HTH

Best Regards
Wolfgang
-- 
http://heelsbroke.wordpress.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Name of kernel driver that manages fan (PowerBook5,8)

2009-05-15 Thread Wolfgang Pfeiffer
Hi All

What driver do i need to switch off my fan?

Sometimes my fan seems to hang, at a very high speed, IINM, that is,
 
/sys/devices/temperatures/sensor1_fan_speed

in these cases gives me a value of something like

0 (3859 rpm)

I'd (wild .. :) guess the second value simply means the number of
rounds/min the fan is spinning ... No idea what the first number
means.

The only chance - so far - to stop the fan in these instances, is a
reboot. I'd like to avoid the latter, by simply trying to 
switch off/on the driver that is responsible for the fan ...

So anyone knows the name of this driver? Is there one? Or is it solely
a firmware issue? Hints?

Kernel is a hand rolled 2.6.26-rc5-53c8ba9

A glance over 2.6.29 Kconfig's let me find hwmon, but that driver does
not seem to do anything with my hardware - tho I'm not sure ...

I ran sensors-detect which then said lm75 might be driver I
need to load ...

I loaded lm75, ran sensors, which gave me this:

No sensors found!
 Make sure you loaded all the kernel drivers you need.
 Try sensors-detect to find out which these are.


Thanks in anticipation

Best Regards
Wolfgang
-- 
heelsbroke.wordpress.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Name of kernel driver that manages fan (PowerBook5,8)

2009-05-15 Thread Wolfgang Pfeiffer
Thanks a lot, Michel, for your fast response .. :)

On Fri, May 15, 2009 at 12:35:18PM +0200, Michel Dänzer wrote:
 On Fri, 2009-05-15 at 12:12 +0200, Wolfgang Pfeiffer wrote:
  
  Sometimes my fan seems to hang, at a very high speed, IINM, that is,
   
  /sys/devices/temperatures/sensor1_fan_speed
  
  in these cases gives me a value of something like
  
  0 (3859 rpm)
 
 It's a bug in the therm_adt746x driver, it sometimes sets the hardware
 bit which inverts the meaning of the fan speed register. The patch below
 fixes it for me, I'm going to submit it for inclusion.

Patch applies fine to vanilla 2.6.29, after removing a little from the
non code part of your email ... :) .. And after some ugly debate with
mutt here because it first changed the code when saving the patch:
I had to save the message as an attachment, and not from the usual
read view on that message, IINM ... worked in the end tho ... :)

I don't have the sources anymore for my current kernel, so I will
try build a kernel from that stable 2.6.29 lying around ... 

Feedback on whether the patch helps can take many weeks - because the
described bug usually shows up only every 2 months or so ...

Anyways - thanks a lot your help

Nice weekend

Best Regards
Wolfgang
-- 
heelsbroke.blogspot.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: VLC Illegal Instruction

2009-04-29 Thread Wolfgang Pfeiffer
On Sun, Apr 26, 2009 at 01:35:15PM -0300, Gunther Furtado wrote:
 domingo, 26 de abril de 2009,
 Rogério Brito rbr...@ime.usp.br escreveu:
 
 Hi, Gunter.
 
 On Apr 05 2009, Gunther Furtado wrote:
  I am getting a lot of Illegal Instruction complains from VLC
  (whenever I ask it to show me video).
 
 You should already know this, but it sounds like an altivec enabled
 program running in a non-altivec enabled machine.
 
 I'm not used to vlc (I use mplayer almost exclusively) and it works
 fine.
 
 
 AFAIK, mplayer cannot stream audio and video like vlc does. That is why I use 
 it.

Not quite sure, Gunter, what exactly you mean with stream audio and video,
but I think this was a good one  :)

** 1: I listen to Internet radio streams like this:

mplayer -playlist http://novastreamradio.org/playlists/live_broadband.m3u
mplayer http://streaming.radionomy.com:8000/Play-Misty-for-Me

*** 2: I watch Israeli TV News like that:

mplayer 
mms://s3bwm.castup.net/server12/31/306/30679191-61.wmv?ct=DErg=WEaid=31ts=0cu=2A572D4E-6F38-4D5F-9163-026841B8D069

(URL changes daily, IINM ... )

*** 3: 

And I watch German IP-TV (WDR, e.g.) like this:

mplayer -msglevel all=-1 rtp://@239.35.20.29:1

(AFAIK one needs a paid subscription to do #3 - and the firewall must
 allow multicast streams: see Google for igmp multicast ..)

Now what?? ... :)

But I admit the incantations to make mplayer do all that look a lil'
esoteric ... :)

I intend since long to start an entry on my Linux blog with my
favorite mplayer commands only ... No promises I'll get that done at
some point, but your email certainly is an encouragement to at least
consider it. Again. ... :)

Best Regards
Wolfgang

-- 
heelsbroke.blogspot.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



mplayer as a stream server [was: Re: VLC Illegal Instruction]

2009-04-29 Thread Wolfgang Pfeiffer
Hi all

I start a new thread as the topic on the original one is becoming off-topic: 

On Wed, Apr 29, 2009 at 11:27:05AM +0100, Rafal Czlonka wrote:
 Wolfgang Pfeiffer wrote:
   AFAIK, mplayer cannot stream audio and video like vlc does. That is why I 
   use it.
  
  Not quite sure, Gunter, what exactly you mean with stream audio and video,
  but I think this was a good one  :)
 
 Stream, not merely play streams[0]
 
 [0]http://www.videolan.org/vlc/streaming.html

Thanks for that.

Looks like the documentation at least, for vlc, in the regard as
mentioned, is better than for mplayer. But there actually seems to be
a stream server in the mplayer sources. Excerpt from

./mplayer-checkout-2009-04-29/TOOLS/README:

##
netstream - access remote streams
-

NOTE: netstream does not link at the moment - help welcome.

netstream allows you to access most MPlayer stream types from a remote host.
The main purpose of this feature is to make it possible to directly use the
CD or DVD drive of another computer on the network (provided you have the
required bandwidth). On the downside some stream types (currently TV and MF)
are not usable remotely because they are implemented at the demuxer level.

Be aware that currently the server is not secure at all.

Compile the server by running 'make netstream' and then copy the netstream
binary to the right place on your system (usually /usr/local/bin on Unix).
Start the netstream server on the computer you intend to access remotely.
There are no command line arguments.

Play the second track of a VCD on the server with:

  mplayer -cache 5000 mpst://servername/vcd://2

Access files on this server with:

  mplayer -cache 5000 mpst://servername//usr/local/movies/lol.avi

Note that paths which do not start with a / will be interpreted as relative to
the directory where the server is running. The '-cache' option is not needed
but highly recommended.
###

source:
http://www.mplayerhq.hu/MPlayer/releases/mplayer-checkout-snapshot.tar.bz2

I haven't used this part of mplayer until now, so I don't know anything
about its usability ...

But I'd be curious if it works, and how good - so be free to let me know
if you know more ...

Best Regards
Wolfgang

-- 
heelsbroke.blogspot.com


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



apt-get build-dep mplayer, without removing DRI

2008-11-20 Thread Wolfgang Pfeiffer
Hi Christian, hi All

On a Powerbook5,8:

Please note that with the official Debian repositories in the
sources.list a build-dep for mplayer does not work at all:

--
# apt-get build-dep mplayer
Reading package lists... Done
Building dependency tree   
Reading state information... Done
E: Build-dependencies for mplayer could not be satisfied
-

So I wrote http://debian.netcologne.de/debian-multimedia.org to apt
sources.list to make the following work (I attach
/etc/apt/sources.list, just in case i messed that up ..)

So all the following is valid for having
http://debian.netcologne.de/debian-multimedia.org in the sources.list

Now:
When trying to install the necessary packages to be able to
compile mplayer (apt-get build-dep mplayer), apt-get wants
libgl1-mesa-swx11 and libgl1-mesa-swx11-dev getting installed and
libgl1-mesa-dri and libgl1-mesa-glx to be removed. 

The removal of the latter 2 packages seems a bad idea, as it will
remove direct rendering on my machine, thus making the system slow -
provided I understood things correctly.

The most usable hints I got, about what is wrong, was when i tried to
install libgl1-mesa-swx11 directly (the following output slightly
edited for better readability):


# dpkg -i libgl1-mesa-swx11_7.0.3-6_powerpc.deb 
dpkg: regarding libgl1-mesa-swx11_7.0.3-6_powerpc.deb containing 
libgl1-mesa-swx11:
libgl1-mesa-swx11 conflicts with libgl1
libgl1-mesa-glx provides libgl1 and is present and installed.


Problem seems to be the link /usr/lib/libGL.so.1, which is installed
by both libgl1-mesa-swx11 and libgl1-mesa-glx.

I found a trick how to keep libgl1-mesa-dri and libgl1-mesa-glx while
installing the dependencies for mplayer. It seems a little weird and
unsafe to me, so I refrained from actually using it so far: 


# dpkg -i libgl1-mesa-swx11-dev_7.0.3-6_powerpc.deb 
Selecting previously deselected package libgl1-mesa-swx11-dev.
(Reading database ... 113067 files and directories currently installed.)
Unpacking libgl1-mesa-swx11-dev (from 
libgl1-mesa-swx11-dev_7.0.3-6_powerpc.deb) ...
dpkg: dependency problems prevent configuration of libgl1-mesa-swx11-dev:
 libgl1-mesa-swx11-dev depends on libgl1-mesa-swx11 (= 7.0.3-6); however:
  Package libgl1-mesa-swx11 is not installed.
 libgl1-mesa-swx11-dev depends on libx11-dev; however:
  Package libx11-dev is not installed.
 libgl1-mesa-swx11-dev depends on mesa-common-dev (= 7.0.3-6); however:
  Package mesa-common-dev is not installed.
dpkg: error processing libgl1-mesa-swx11-dev (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libgl1-mesa-swx11-dev
-

After that the system reports libgl1-mesa-swx11-dev being installed:


$ apt-cache policy libgl1-mesa-swx11-dev
libgl1-mesa-swx11-dev:
  Installed: 7.0.3-6
  Candidate: 7.0.3-6
  [ ... ]


And now - when trying to build-dep mplayer - the install system does
not try to remove libgl1-mesa-dri and libgl1-mesa-glx, but
libgl1-mesa-swx11-dev instead: 

--
# apt-get build-dep mplayer
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Note, selecting libdv4-dev instead of libdv-dev
The following packages will be REMOVED:
  libgl1-mesa-swx11-dev
The following NEW packages will be installed:
  ccache cpp-4.2 diffstat em8300-headers g++-4.2 gcc-4.2 ladspa-sdk libaa1-dev
  libamrnb-dev libamrwb-dev libartsc0-dev libasound2-dev libatk1.0-dev
  libaudio-dev libaudiofile-dev libavahi-client-dev libavahi-common-dev
  libcaca-dev libcairo2-dev libcdparanoia0-dev libdbus-1-dev libdirectfb-dev
  libdts-dev libdv4-dev libdvdnav-dev libdvdread-dev libesd0-dev libexpat1-dev
  libfaac-dev libfaad-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev
  libggi-target-x libggi2 libggi2-dev libggimisc2 libggimisc2-dev libgif-dev
  libgii1 libgii1-dev libgii1-target-x libgl1-mesa-dev libglib2.0-dev
  libglu1-mesa-dev libgtk2.0-dev libice-dev libjack-dev libjpeg62-dev
  liblircclient-dev liblircclient0 liblivemedia-dev liblzo2-dev libmad0-dev
  libmp3lame-dev libmpcdec-dev libmpeg3-dev libncurses5-dev libogg-dev
  libopenal-dev libopenal1 libpango1.0-dev libpixman-1-dev libpng12-dev
  libpopt-dev libpthread-stubs0 libpthread-stubs0-dev libpulse-browse0
  libpulse-dev libpulse-mainloop-glib0 libsdl1.2-dev libslang2-dev libsm-dev
  libsmbclient-dev libspeex-dev libstdc++6-4.2-dev libsysfs-dev libtheora-dev
  libtwolame-dev libtwolame0 libungif4-dev libvorbis-dev libx11-dev
  libx264-dev libxau-dev libxcb-render-util0-dev libxcb-render0-dev
  libxcb-xlib0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev
  libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev
  libxml2-utils libxrandr-dev libxrender-dev libxt-dev libxv-dev
  libxvidcore4-dev libxvmc-dev libxxf86dga-dev libxxf86vm-dev mesa-common-dev
  pkg-config 

Re: 2.6.28 and appletouch

2008-11-15 Thread Wolfgang Pfeiffer
Hi Elimar

On Mon, Nov 03, 2008 at 04:16:56PM +0100, Elimar Riesebieter wrote:
 * Elimar Riesebieter [081027 21:20 +0100]
  Hi,
  
  does one know why appletouch on vt's doesn't work with
  2.6.28-rc(1|2)? gpm runs and I can use my mighty mouse but no
  trackpad cursor. = 2.6.27.4 works well.
 
 Fixed in 2.6,28-rc3

Good to know.

Thanks

Best Regards
Wolfgang
-- 
heelsbroke.blogspot.com


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



Re: Tool for detecting partition superblocks needed

2008-11-12 Thread Wolfgang Pfeiffer
Hi Benjamin, Hermann Kaiser. Hi All

On Fri, Oct 03, 2008 at 12:16:17AM +0200, Benjamin Cama wrote:
 Le jeudi 02 octobre 2008 à 20:17 +0200, Wolfgang Pfeiffer a écrit :
  Could this also be a simple file system damage?
 
 Errors like that (i.e. in the middle of a DMA interrupt) are not simple
 FS damage, I am pretty sure.

You were right: I got my machine back from repair in the meantime, and
the repair report confirmed your opinion: it said that SMART showed
several defect sectors on the disk, and that the disk had to be
replaced.

So luckily enough I'm back again now with a working fast machine, and
its new disk:  

Thanks a lot, Benjamin, Hermann and everyone else having been
involved: it helped a lot.

Until then ...

Best Regards
Wolfgang
-- 
heelsbroke.blogspot.com


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



Re: Tool for detecting partition superblocks needed

2008-10-03 Thread Wolfgang Pfeiffer
Wow, Benjamin, your effort to help is definitely more than I could
expect from a mailing list .. :)

Thanks for lot: I think I learned a few things with your explanations
...

On Fri, Oct 03, 2008 at 12:16:17AM +0200, Benjamin Cama wrote:
 Le jeudi 02 octobre 2008 à 20:17 +0200, Wolfgang Pfeiffer a écrit :
  Could this also be a simple file system damage?
 
 Errors like that (i.e. in the middle of a DMA interrupt) are not simple
 FS damage, I am pretty sure.
 
  I was hoping it was just something like that, because this hopefully
  could be fixed with a reinstall, and with a previous low-level
  formatting like
  
  dd if=/dev/urandom of=/dev/hda (not being sure whether the syntax is
  correct .. ) 
 
 For this kind of low level formatting, I would advise you to dd
 from /dev/zero, as the hard drive controller can try to replace bad
 sectors if needed when it sees that an all-0 block is written. But when
 some sectors begin to fail, others will soon come, in general.

That's exactly why I will replace that disk. I shall not take any
risks like having to re-install again in a few weeks just because
other disk sectors start to break at some point in the future ...

 
  Oh, and the Fedora smartctrl found (surprise, surprise .. :) a failure on
  LBA 76724676 and 76724678, too (please see the old log above) ...
 
 Well, this confirm that the error lies in hardware, not in the file
 system itself.
 
  I attach the log made on the broken machine via 
  smartctrl -a /dev/hda
 
 So, the very high numbers like Raw_Read_Error_Rate and Seek_Error_Rate
 are meaningless, I think, but the numbers in Offline_Uncorrectable and
 UDMA_CRC_Error_Count show that some sectors have already been lost. But
 what worries me most is the Load_Cycle_Count value : 2898441 is far too
 high for a disk, but may look real, as your disk as been spinning for
 quite some time (1+ hours). This roughly corresponds to a
 load/unload every 15s : do you here some light tic tac sound from your
 disk every 15s or so ? 

IIRC: yes, I think so. Currently 'tho, with the machine being booted
via the Fedora CD, I don't hear any clicks, although hdparm -I reports
the Advanced power management level being set to 128 ...

 For reference, mine, which has a 8000+ hours lifetime, has a count
 of 268656 (ten times less ...). If you take the specs from seagate
 for your hard drive (
 http://www.seagate.com/docs/pdf/datasheet/disc/ds_momentus5400.2_120gb.pdf
 ), you'll see it's made for at most 60 load/unload cycles.

That's why I'll want a Seagate again: Just think about what might have
happened with disk settings changed to no power management, like you
suggested below, with hdparm -B .. :)

 
 I am worried about it because this is what I saw from a lot of apple
 laptops, and as you may have understood, from one of my lost iBook's
 hard drive. This made the news some time ago, not especially for apple's
 disks, but when Ubuntu was said to be killing hard drives : some vendor
 BIOSes did not set the power saving mode of the hard drive correctly,
 which led them to load/unload too often, and kill the hard drive in a
 very short time. 

The first disk shipped with my old Titanium IV PB broke after around 2
years, IIRC ... and the current one (a replacement disk) in that
machine, with more than 7100 Power_On_Hours, and a with a
Load_Cycle_Count of 366793 probably might fail in the near future,
with all the ugly sound I hear from the machine while it is up .. and
I disabled Power Management on this machine via hdparm now ... let's
see .. :)

 AFAIK, OpenFirmware does not set any power saving mode
 at all, and neither does OSX, and by default a lot of disk are in a
 maximum power saving mode, which unloads the hard drive head very
 often, thus consuming less energy but shortening the life of the hard
 drive. [ ... ]
 You can change these settings with the -B option of hdparm, for
 example :
   hdparm -B254 /dev/hda

Let's see whether this is preserved and kept over reboots ... :)

 disables power management on most hard drive (the value is drive
 dependant, most of the time 255 or 254 disables power savings). I think
 this is what is done in laptop-mode package when you set your hard drive
 in no PM mode.
  
   What do you mean by see hda7 ? 
  
  to see in the sense of to detect ... 
  mac-fdisk detected the damaged partition in the Debian installer, IIRC
  ..
 
 What I meant is that, if you can see some partition in mac-fdisk, you
 can see them all. But this doesn't mean the FS on them is not
 failing.

parted detects that partition, but does not see any FS on it, that
is, when I type print in parted for /dev/hda, there's an empty space
for the column where parted is supposed to report the FS for 7 (which
should be /dev/hda7). 

FS is reported for 6 (/home), 5 (/var) and swap for 4. Even hfs+ is
detected correctly for #2, where the small OS X partition sits ...


 When you said you didn't see hda7 but you did with the others, it
 sounded strange to me

Re: Tool for detecting partition superblocks needed

2008-10-02 Thread Wolfgang Pfeiffer
Hi Benjamin, hi All

Benjamin, firstly Thanks for your effort ..

OK, and the question I was asking is answered: I took a Fedora 9 CD
for ppc, booted the affected machine, and found, Fedora has the tools
one needs for a disk recovery. smartctrl is there, plus dumpe2fs, and
even less (which I was badly missing, on the Debian installer, IIRC)
etc. etc. ... Looks nice ...

[note: the German keyboard on Fedora was missing the bar sign (|)
.. so I chose an US English keyboard layout, that had some sign
similar to that .. ]

On Thu, Oct 02, 2008 at 12:49:36AM +0200, Benjamin Cama wrote:
 Le mercredi 01 octobre 2008 à 22:29 +0200, Wolfgang Pfeiffer a écrit :
  Excerpt from the Debian install syslog, cut:
  
  kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
  kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=76724680, 
  high=4, low=9615816, sector=76724680
  kernel: ide: failed opcode was: unknown
  kernel: end_request: I/O error, dev hda, sector 76724680
  kernel: Buffer I/O error on device hda7, logical block 1
  kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
  kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=76724676, 
  high=4, low=9615812, sector=76724676
  kernel: ide: failed opcode was: unknown
  kernel: end_request: I/O error, dev hda, sector 76724676
  kernel: Buffer I/O error on device hda7, logical block 0
  kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
  kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=76724680, 
  high=4, low=9615816, sector=76724680
  kernel: ide: failed opcode was: unknown
  kernel: end_request: I/O error, dev hda, sector 76724680
  
  ... and the errors on sectors 76724680 and 76724680 are reported again
  and again ... and only these 2 sectors, IINM ..
 
 These are quite severe hardware errors, 

Could this also be a simple file system damage? 

I was hoping it was just something like that, because this hopefully
could be fixed with a reinstall, and with a previous low-level
formatting like

dd if=/dev/urandom of=/dev/hda (not being sure whether the syntax is
correct .. ) 

Oh, and the Fedora smartctrl found (surprise, surprise .. :) a failure on
LBA 76724676 and 76724678, too (please see the old log above) ...

I attach the log made on the broken machine via 
smartctrl -a /dev/hda

 I would advise you to do some complete copy of your harddrive right
 now before it gets worse. Just dd your hda, or use some other
 recovery software (like http://www.garloff.de/kurt/linux/ddrescue/
 ).  If only hda7 is affected, I think this is only the beginning,
 and if you have backups it would be better.

I've done some backup already for /home on hda6 ...  and /etc on
hda7 (the failing partition) isn't that important ...

 
  Failing hda7 is the root partition. hda6, not being listed here, with
  quite a few errors, was recoverable ... tho it's not quite clear
  whether this hda6 errors started while I was playing with the Debian
  Installer (Etch, IIRC) ...
 
 This may not be related.
 Maybe you could try to run smartctl -a from here, 

As I said: smartctrl is missing on the Debian installer, or at least I
didn't find it ...

 to get some (hopefully) usefull stats from it.
 
  IIRC:
  the installer later on didn't even see hda7, whereas mac-fdisk did
  (took quite some time for it to finish the detection ...).
 
 What do you mean by see hda7 ? 

to see in the sense of to detect ... 
mac-fdisk detected the damaged partition in the Debian installer, IIRC
..

 
  Apple Hardware Test on the OS X install CD seems to hang/crash, or
  simply does not load even after 15 Minutes or so ...
 
 Well, being on the same IDE controller might not help. Can you remove
 the HDD from your laptop for further analysis ?

No, not that easily .. It's a Powerbook5,8: if I manage to remove the
disk from it (there must be instructions somewhere on www) I'll
reinstall a new one. No time to waste, because my old tibook, where
I'm typing this email, is making strange noises already. Looks like
I'm in need of quick decisions, besides working hardware   ... :)

 
 BTW, how old is your powerbook ? 

a little more than 2.5 years. Still with the same disk installed that was
shipped with the machine ..

Regards, guys. And Thanks

Wolfgang
-- 
heelsbroke.blogspot.com
smartctl version 5.38 [powerpc-redhat-linux-gnu] Copyright (C) 2002-8 Bruce 
Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Model Family: Seagate Momentus 5400.2 series
Device Model: ST9808211A
Serial Number:3LF2V7HB
Firmware Version: 3.07
User Capacity:80,026,361,856 bytes
Device is:In smartctl database [for details use: -P show]
ATA Version is:   6
ATA Standard is:  ATA/ATAPI-6 T13 1410D revision 2
Local Time is:Thu Oct  2 18:07:41 2008 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART

Tool for detecting partition superblocks needed

2008-10-01 Thread Wolfgang Pfeiffer
Hi All

I can't e2fsck my root partition any more - looks seriously like that
partition went belly up on me. e2fsck tells me something like the
superblock could not be read ...

The Debian install CD (Etch) does not have dumpe2fs - which normally
should yield information of the partition backup superblocks. Also the
CD does not seem to offer the option of installing missing
tools/packages to RAM ..

Any ideas how to see or recover the superblocks? Tools on the Etch CD
that might help for that?

Affected machine is a Powerbook5,8

Best Regards
Wolfgang

-- 
heelsbroke.blogspot.com


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



Re: Tool for detecting partition superblocks needed

2008-10-01 Thread Wolfgang Pfeiffer
Hi Gaudenz

Thanks a lot for your response.

After quite a few tests I'm still stuck with a non-loading root
partition.

That is, I get to the first boot prompt from where I can choose to
start a CD, Linux or OS X. Both the CD and OS X can be booted. Linux
doesn't boot.

On Wed, Oct 01, 2008 at 05:35:45PM +0200, Gaudenz Steinlin wrote:
 Hi
 
 On Wed, Oct 01, 2008 at 04:46:11PM +0200, Wolfgang Pfeiffer wrote:
  Hi All
  
  I can't e2fsck my root partition any more - looks seriously like that
  partition went belly up on me. [ ... ]
  
  Affected machine is a Powerbook5,8a

Typo. Should say: Powerbook5,8

 
 If you are able to download and burn a CD, trying one of the Lenny beta CDs
 might help. They have a special rescue mode included. I'm not sure though if
 dumpe2fs is included.

Didn't help: neither dumpe2fs nor smartctl is on that CD ... strange
thing is, that OS X on its own partition, on the same drive, is still
booting. I even updated successfully OS X on its disk partition ... So
it's not clear to me yet whether this disk (hda) is really hosed or not.

Excerpt from the Debian install syslog, cut:

kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=76724680, 
high=4, low=9615816, sector=76724680
kernel: ide: failed opcode was: unknown
kernel: end_request: I/O error, dev hda, sector 76724680
kernel: Buffer I/O error on device hda7, logical block 1
kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=76724676, 
high=4, low=9615812, sector=76724676
kernel: ide: failed opcode was: unknown
kernel: end_request: I/O error, dev hda, sector 76724676
kernel: Buffer I/O error on device hda7, logical block 0
kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=76724680, 
high=4, low=9615816, sector=76724680
kernel: ide: failed opcode was: unknown
kernel: end_request: I/O error, dev hda, sector 76724680

... and the errors on sectors 76724680 and 76724680 are reported again
and again ... and only these 2 sectors, IINM ..

Failing hda7 is the root partition. hda6, not being listed here, with
quite a few errors, was recoverable ... tho it's not quite clear
whether this hda6 errors started while I was playing with the Debian
Installer (Etch, IIRC) ...

IIRC:
the installer later on didn't even see hda7, whereas mac-fdisk did
(took quite some time for it to finish the detection ...).

Apple Hardware Test on the OS X install CD seems to hang/crash, or
simply does not load even after 15 Minutes or so ...

Oh, and I was playing with libfreevec, on Linux, before this happened ...

Whatever. If everyone else understands as much as I do, I'll try to
reinstall (ask me someone why I hate that idea ... :)

Thanks again, Gaudenz ... :)

Best Regards
Wolfgang

-- 
heelsbroke.blogspot.com


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



Re: xrandr and dvi output

2008-09-05 Thread Wolfgang Pfeiffer
On Mon, Aug 25 2008, at 18:44 +0200, Gerfried Fuchs wrote:
   Hi!
 
  I recently got an external monitor that has DVI input. Was quite nice,
 before I only had an VGA screen. Though, the VGA screen worked
 perfectly: I was able to enable the external monitor at any time with
 xrandr, enabling it, disabling it, whatever.
 
  With the DVI screen I now have the problem that xrandr is able to
 detect it, but not really enable it. Well, it /claims/ that it enables
 it, growing the screen layout to the appropriate size, but it doesn't
 display anything. It only works after a fresh reboot when the external
 monitor was plugged. After a suspend of the system and awaking it again
 the external monitor isn't possible to get any output anymore.

http://lists.x.org/archives/xorg-driver-ati/2008-April/005021.html

Quoting Alex Deucher:
--
Many powerbooks use an external tmds chip to provide duallink on the
dvi port.  Not all of these tmds chips are currently supported as I'm
not sure which ones are used in which powerbooks.  It will work if you
boot up the laptop with the DVI port connected since OF will init the
tmds chip.
--

I'd recommend to pull and compile the latest sources for the
ati/radeon drivers, just in case something has changed since Alex
Deucher wrote that. Tho' I'm not sure whether these sources will be
much fresher than what is in the experimental Debian branch.

Or getting fresh xrandr?

Notes on hand-rolling ati/radeon drivers, if needed:
http://wiki.x.org/wiki/RadeonTVbuildHowto
http://www.botchco.com/agd5f/?page_id=2
http://heelsbroke.blogspot.com/2007/12/screen-cloning-on-linux-xrandr12-and.html

Good luck!

Wolfgang
-- 
http://heelsbroke.blogspot.com/


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



Re: keyboard in Etch on powerbook

2008-09-04 Thread Wolfgang Pfeiffer
Hi Piotr

On Thu, Sep 04 2008, at 10:17 +0200, Piotr Kopszak wrote:

 Is this option in xorg.conf doing the same thing?
 
 Option  XkbOptionslv3:lwin_switch


I was shitting you, and me. Sorry about that, Piotr. And thanks for
asking: Because it helped me realize that this line in xorg.conf
actually isn't used here, probably. In fact I still use ~/.xmodmap,
which is read every time I log in either to KDE or (IINM) to FVWM
... I attach that file.

I have a file ~/.kde/env/keyboard.sh, that makes sure ~/.xmodmap is
read when logging in to KDE. Something like:

---
#!/bin/sh
xmodmap /home/my login name/.xmodmap
---
(replacing my login name by my login name) 

And don't ask me how to do *that* in Gnome: I gave up on that desktop
quite some time ago ... :)

man xmodmap
http://www.geocities.com/wolfgangpfeiffer/foolinglinux.html#keyboard

Best Regards, and good luck!
Wolfgang

-- 
http://heelsbroke.blogspot.com/
keycode   8 =
keycode   9 = Escape
keycode  10 = 1 exclam onesuperior exclamdown onesuperior exclamdown
keycode  11 = 2 quotedbl twosuperior oneeighth twosuperior oneeighth
keycode  12 = 3 section threesuperior sterling threesuperior sterling
keycode  13 = 4 dollar onequarter currency onequarter currency
keycode  14 = 5 percent onehalf threeeighths onehalf threeeighths
keycode  15 = 6 ampersand notsign fiveeighths notsign fiveeighths
keycode  16 = 7 slash braceleft seveneighths braceleft seveneighths
keycode  17 = 8 parenleft bracketleft trademark bracketleft trademark
keycode  18 = 9 parenright bracketright plusminus bracketright plusminus
keycode  19 = 0 equal braceright degree braceright degree
keycode  20 = ssharp question backslash questiondown backslash questiondown
keycode  21 = dead_acute dead_grave dead_cedilla dead_ogonek dead_cedilla 
dead_ogonek
keycode  22 = BackSpace Terminate_Server
keycode  23 = Tab ISO_Left_Tab
keycode  24 = q Q at Greek_OMEGA at Greek_OMEGA
keycode  25 = w W lstroke Lstroke lstroke Lstroke
keycode  26 = e E EuroSign EuroSign EuroSign EuroSign
keycode  27 = r R paragraph registered paragraph registered
keycode  28 = t T tslash Tslash tslash Tslash
keycode  29 = z Z leftarrow yen leftarrow yen
keycode  30 = u U downarrow uparrow downarrow uparrow
keycode  31 = i I rightarrow idotless rightarrow idotless
keycode  32 = o O oslash Oslash oslash Oslash
keycode  33 = p P thorn THORN thorn THORN
keycode  34 = udiaeresis Udiaeresis dead_diaeresis dead_abovering 
dead_diaeresis dead_abovering
keycode  35 = plus asterisk dead_tilde dead_macron dead_tilde dead_macron
keycode  36 = Return
keycode  37 = Control_L
keycode  38 = a A ae AE ae AE
keycode  39 = s S ssharp section ssharp section
keycode  40 = d D eth ETH eth ETH
keycode  41 = f F dstroke ordfeminine dstroke ordfeminine
keycode  42 = g G eng ENG eng ENG
keycode  43 = h H hstroke Hstroke hstroke Hstroke
keycode  44 = j J
keycode  45 = k K exclamdown questiondown exclamdown questiondown
keycode  46 = l L at macron at macron
keycode  47 = odiaeresis Odiaeresis dead_doubleacute dead_doubleacute 
dead_doubleacute dead_doubleacute
keycode  48 = adiaeresis Adiaeresis dead_circumflex dead_caron dead_circumflex 
dead_caron
keycode  49 = dead_circumflex degree notsign notsign notsign notsign
keycode  50 = Shift_L
keycode  51 = numbersign apostrophe dead_grave dead_breve dead_grave dead_breve
keycode  52 = y Y guillemotleft less guillemotleft less
keycode  53 = x X guillemotright greater guillemotright greater
keycode  54 = c C cent copyright cent copyright
keycode  55 = v V leftdoublequotemark leftsinglequotemark leftdoublequotemark 
leftsinglequotemark
keycode  56 = b B rightdoublequotemark rightsinglequotemark 
rightdoublequotemark rightsinglequotemark
keycode  57 = n N
keycode  58 = m M mu masculine mu masculine
keycode  59 = comma semicolon horizconnector multiply horizconnector multiply
keycode  60 = period colon periodcentered division periodcentered division
keycode  61 = minus underscore dead_belowdot dead_abovedot dead_belowdot 
dead_abovedot
keycode  62 = Shift_R
keycode  63 = KP_Multiply XF86_ClearGrab
keycode  64 = Alt_L Meta_L
keycode  65 = space
keycode  66 = Caps_Lock
keycode  67 = F1 XF86_Switch_VT_1
keycode  68 = F2 XF86_Switch_VT_2
keycode  69 = F3 XF86_Switch_VT_3
keycode  70 = F4 XF86_Switch_VT_4
keycode  71 = F5 XF86_Switch_VT_5
keycode  72 = F6 XF86_Switch_VT_6
keycode  73 = F7 XF86_Switch_VT_7
keycode  74 = F8 XF86_Switch_VT_8
keycode  75 = F9 XF86_Switch_VT_9
keycode  76 = F10 XF86_Switch_VT_10
keycode  77 = Num_Lock Pointer_EnableKeys
keycode  78 = Scroll_Lock
keycode  79 = KP_Home KP_7
keycode  80 = KP_Up KP_8
keycode  81 = KP_Prior KP_9
keycode  82 = KP_Subtract XF86_Prev_VMode
keycode  83 = KP_Left KP_4
keycode  84 = KP_Begin KP_5
keycode  85 = KP_Right KP_6
keycode  86 = KP_Add XF86_Next_VMode
keycode  87 = KP_End KP_1
keycode  88 = KP_Down KP_2
keycode  89 = KP_Next KP_3
keycode  90 = KP_Insert KP_0
keycode  91 = KP_Delete KP_Separator
keycode  

Re: keyboard in Etch on powerbook

2008-09-03 Thread Wolfgang Pfeiffer
On Tue, Sep 02 2008, at 23:29 +0200, Piotr Kopszak wrote:
 Dear list,
 
 I have just installed Etch on Powerbook5,6 1.67 but cannot get Polish
 input in spite of choosing Polish locales as default, There are no
 problems with Polish fonts. I would be very grateful if you could help
 me enable Polish keyboard if it is somewhere in Etch or direct me to
 any additional resources where I could get one.
 

Just a few quick hints:

man loadkeys: should help at least for the console, maybe even X. 

also: 

ls /usr/share/keymaps/mac/ | grep pl
mac-pl_m-ext.kmap.gz
mac-pl_m-ext1.kmap.gz


The files above are part of the console-data package

man install-kmap (part of condole-common package) says:
 
 [ ... ]
 the problem is, most keymap files are  not  self-contained,  so  it
 does  not  help to just copy the selected file into the root partition.
 The best known solution so far is to expand the keymap file so that  it
 becomes  self-contained, and put it in the root partition.  That's what
 this tool does [ ... ]


So after reading the excerpt above I'm not sure any more whether it's
save to just copy some map below /usr/share/keymaps/mac/ to
/etc/console/boottime.kmap.gz (which I might have done, IIRC ...)


As to X:

For my German keyboard I have this in /etc/X11/xorg.conf (excerpt) :

---
Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xorg
Option  XkbModel  macintosh
Option  XkbLayout de
Option  XkbVariantnodeadkeys
Option  XkbOptionslv3:lwin_switch


HTH

Best Regards
Wolfgang

-- 
http://heelsbroke.blogspot.com/


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



Re: No audio on PowerBook G4 for kernels 2.6.22

2008-09-02 Thread Wolfgang Pfeiffer
Elimar

Thanks for responding, and Sorry for my real late answer.

On Mon, Aug 25 2008, at 09:47 +0200, Elimar Riesebieter wrote:
 On Sun, 24 Aug 2008 the mental interface of
 Wolfgang Pfeiffer told:
 
 [...]
  be warned tho': just realized that something went wrong with /dev/rtc
  with this kernel/config ... or at least I don't see any rtc being
  usable for hwclock ... And so far I don't know how to fix that ..
 
 CONFIG_RTC_LIB=y

selected here as a module

 CONFIG_RTC_CLASS=y

... selected as module

 CONFIG_RTC_HCTOSYS=y

... not selected

 CONFIG_RTC_INTF_SYSFS=y

... selected 

 CONFIG_RTC_INTF_PROC=y

.. selected

 CONFIG_RTC_INTF_DEV=y

... selected

 CONFIG_RTC_DRV_PPC=y

 missing


So it looks I tried to set up the RTC system for that kernel, but
failed to do so because of a missing RTC_DRV_PPC driver, or perhaps
because of deselecting CONFIG_RTC_HCTOSYS ...

Funny tho' that the hw clock still seems to get read at boot time,
although the system complained last boot time, that (excerpt from
/var/log/boot):


Thu Jun 12 11:49:01 2008: Cannot access the Hardware Clock via any known method.
Thu Jun 12 11:49:01 2008: Use the --debug option to see the details of our 
search for an access method.
Thu Jun 12 11:49:01 2008: Setting the system clock..
Thu Jun 12 11:49:01 2008: Cannot access the Hardware Clock via any known method.
Thu Jun 12 11:49:01 2008: Use the --debug option to see the details of our 
search for an access method.
Thu Jun 12 11:49:01 2008: System Clock set. Local time: Thu Jun 12 09:48:57 UTC 
2008.


See? The clock is set up fine, as it seems. Ditto for the system time
here. That's probably why it took so long until I realized the missing
RTC device ... :)

Whatever: I pulled the latest kernel sources, and at least they now
seem to have RTC_DRV_PPC ... let's see ..

Thanks again, Elimar

Best Regards
Wolfgang

-- 
Amy. Queen. Right Now.
http://heelsbroke.blogspot.com/


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



Re: No audio on PowerBook G4 for kernels 2.6.22

2008-08-24 Thread Wolfgang Pfeiffer
Hi All

Sorry for being a bit late

On Wed, Jul 30 2008, at 19:33 +0200, Helge Kreutzmann wrote:
 Hello,
 I own a PowerBook G4.  For previous kernels (2.6.19 self compiled,
 Debian 2.6.22) playing audio files was no problem.  When using the
 Debian 2.6.25 or a self compiled 2.6.24 I no longer have audio
 though.  [ ... ]
 
 Machine info:
 =
 machine : PowerBook5,8
 motherboard : PowerBook5,8 MacRISC3 Power Macintosh
 detected as : 287 (PowerBook G4 15)
 

Helge, looks like we have the same machine:

$ cat /proc/cpuinfo (excerpt):
machine : PowerBook5,8
motherboard : PowerBook5,8 MacRISC3 Power Macintosh 
detected as : 287 (PowerBook G4 15)

I don't have any problems with sound, just tested it again. With this kernel,
self-rolled, the sources gotten via git:

Kernel: 2.6.26-rc5-53c8ba9

Just in case: here's the config for the kernel above: 
http://www.geocities.com/wolfgangpfeiffer/config-2.6.26-rc5-53c8ba9.txt

lsmod
-
Module  Size  Used by
iptable_mangle  2816  0 
therm_adt746x   9836  0 
xts 3552  0 
gf128mul9088  1 xts
nls_iso8859_1   3872  0 
nls_cp437   5504  0 
vfat   11360  0 
fat51452  1 vfat
sd_mod 25712  0 
usb_storage49056  0 
usblp  12672  0 
radeon139816  3 
drm76000  4 radeon
binfmt_misc 9480  1 
nfsd  226328  13 
auth_rpcgss39044  1 nfsd
exportfs4256  1 nfsd
cpufreq_stats   4676  0 
cpufreq_conservative 6656  0 
ipv6  264160  14 
xt_multiport3008  4 
nfs   266896  0 
lockd  67284  2 nfsd,nfs
nfs_acl 3296  2 nfsd,nfs
sunrpc182192  13 nfsd,auth_rpcgss,nfs,lockd,nfs_acl
iptable_nat 6120  1 
nf_nat 16362  1 iptable_nat
nf_conntrack_ipv4  14732  11 iptable_nat,nf_nat
xt_state2080  8 
nf_conntrack   57900  4 iptable_nat,nf_nat,nf_conntrack_ipv4,xt_state
xt_tcpudp   2944  22 
iptable_filter  2720  1 
ip_tables  13040  3 iptable_mangle,iptable_nat,iptable_filter
x_tables   13732  5 
xt_multiport,iptable_nat,xt_state,xt_tcpudp,ip_tables
aes_generic28488  1 
dm_crypt   13956  1 
dm_mod 53736  3 dm_crypt
lm756320  0 
hwmon   2420  1 lm75
sr_mod 16644  0 
cpufreq_ondemand7132  0 
cpufreq_powersave   1856  0 
cpufreq_performance 1856  0 
sbp2   20268  0 
scsi_mod  143788  4 sd_mod,usb_storage,sr_mod,sbp2
apm_emu 1984  0 
apm_emulation   7580  2 apm_emu
joydev 10944  0 
appletouch  9056  0 
snd_aoa_codec_onyx 12512  2 
snd_aoa_fabric_layout11144  3 
snd_aoa15520  2 snd_aoa_codec_onyx,snd_aoa_fabric_layout
usbhid 30436  0 
hid45448  1 usbhid
arc41696  2 
ecb 3008  2 
b43   155844  0 
rfkill  6132  1 b43
mac80211  169640  1 b43
cfg80211   25776  1 mac80211
input_polldev   3720  1 b43
firewire_ohci  24132  0 
firewire_core  37912  1 firewire_ohci
snd_aoa_i2sbus 20164  1 
snd_pcm_oss44096  0 
snd_pcm73156  2 snd_aoa_i2sbus,snd_pcm_oss
snd_page_alloc  8392  1 snd_pcm
snd_mixer_oss  16416  1 snd_pcm_oss
evdev  10560  13 
snd_seq_dummy   2820  0 
pmac_zilog 17668  0 
serial_core19936  1 pmac_zilog
snd_seq_oss35060  0 
snd_seq_midi7008  0 
snd_rawmidi22400  1 snd_seq_midi
snd_seq_midi_event  6336  2 snd_seq_oss,snd_seq_midi
snd_seq55272  6 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer  21508  2 snd_pcm,snd_seq
snd_seq_device  6988  5 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd53044  18 
snd_aoa_codec_onyx,snd_aoa_fabric_layout,snd_aoa,snd_aoa_i2sbus,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore   5924  1 snd
snd_aoa_soundbus5028  2 snd_aoa_fabric_layout,snd_aoa_i2sbus
i2c_powermac4160  0 
ohci1394   33488  0 
ieee1394   83360  2 sbp2,ohci1394
sungem 29828  0 
sungem_phy 11584  1 sungem
ehci_hcd   39980  0 
ohci_hcd   33380  0 
ssb42756  1 b43
ide_cd_mod 33668  0 
pcmcia 30920  2 b43,ssb
cdrom  37368  2 sr_mod,ide_cd_mod
yenta_socket   26252  1 
uninorth_agp 

Re: No audio on PowerBook G4 for kernels 2.6.22

2008-08-24 Thread Wolfgang Pfeiffer
On Sun, Aug 24 2008, at 14:26 +0200, Wolfgang Pfeiffer wrote:

 I don't have any problems with sound, just tested it again. With this kernel,
 self-rolled, the sources gotten via git:
 
 Kernel: 2.6.26-rc5-53c8ba9
 
 Just in case: here's the config for the kernel above: 
 http://www.geocities.com/wolfgangpfeiffer/config-2.6.26-rc5-53c8ba9.txt

be warned tho': just realized that something went wrong with /dev/rtc
with this kernel/config ... or at least I don't see any rtc being
usable for hwclock ... And so far I don't know how to fix that ..

Wolfgang
-- 
http://heelsbroke.blogspot.com/


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



Re: Etch on G5: Yaboot problem still persists

2008-06-15 Thread Wolfgang Pfeiffer
On Sun, Jun 15 2008, at 01:21 +0200, [EMAIL PROTECTED] wrote:
 Hi,
 
 My two cents to the discution :
 what gives you the following command :
 nvsetenv boot-device
 mine returns :
 boot-device=hd:2,yaboot

# nvsetenv boot-device
boot-device=/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]:3,\\:tbxi

The above on a PowerBook5,8 - usually bootable without any problems,
without having to dig into OF incantations ..

And thanks for the hint: I didn't even know about 'nvsetenv' ..  :)

Best Regards
Wolfgang

-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Etch on G5: Yaboot problem still persists

2008-06-14 Thread Wolfgang Pfeiffer
On Sat, Jun 14 2008, at 15:38 -0400, Steven DuBois wrote:
 
 my yaboot.conf looks like this
 
 boot=/dev/sdb2
 device=/[EMAIL PROTECTED]:
 partition=4
 root=/dev/sdb4
 timeout=100
 magicboot=/usr/lib/yaboot/ofboot
 install=/usr/lib/yaboot
 enablecdboot
 macosx=/dev/sdb3
 
 image=/boot/vmlinux
 label=Linux
 read-only
 initrd=/boot/initrd.img
 
 image=/boot/vimlinux.old
 label=old
 read-only
 initrd=/boot/initrd.img.old

yaboot.conf here:


## yaboot.conf generated by debian-installer
##
## run: man yaboot.conf for details. Do not make changes until you have!!
## see also: /usr/share/doc/yaboot/examples for example configurations.
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

boot=/dev/hda3
device=/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]:
partition=7
root=/dev/hda7
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot
macosx=/dev/hda2

image=/boot/vmlinux.26.rc5
label=2.6.26.rc5
read-only

image=/boot/vmlinux.25.rc3
label=2.6.25.rc3
read-only

image=/boot/vmlinux.18.rc4
label=2.6.18.rc4
read-only

image=/boot/vmlinux.old
label=2.6.17.rc3
read-only


-

The first difference I see is your 'install' line. 

Your '/usr/lib/yaboot' is here just a directory.

man yaboot.conf

Seeing error messages when trying to boot?

Good luck
Wolfgang
-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Good luck.

2008-06-12 Thread Wolfgang Pfeiffer
Hi Thomas

On Thu, Jun 12 2008, at 01:05 +0200, Wolfgang Pfeiffer wrote:
 On Wed, Jun 11 2008, at 23:20 +0200, Thomas Viehmann wrote:
  Hi Wolfgang,
  
   On Wed, Jun 11, 2008 at 09:24:31PM +0200, Wolfgang Pfeiffer wrote:
   This will be my last email to a Debian list. 
  
   Reason is my last 2 mails were considered as being SPAM at least from
   one of Debian list admins.
  
  Please do accept my apologies 
 
 No need to apologize .. 

And please ignore my email in this thread with the Winehouse quote, if
possible. When sending it I was still assuming you were seriously
thinking my missing emails were spam.

Let's simply get back to where we've been before this mess ..

Thanks. Also For your effort to keep away spam from the lists.

Best Regards
Wolfgang
-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Good luck.

2008-06-11 Thread Wolfgang Pfeiffer

Hi All - on the Powerpc list.

This will be my last email to a Debian list. 

Reason is my last 2 mails were considered as being SPAM at least from
one of Debian list admins. See below for more: I don't have the time
to convince people like Thomas Viehmann who obviously trust their
obviously lousily set up SPAM filters more than the judgement of their
own mind. 

The email - I cross-posted it - considered as being SPAM, can also be
seen here, on another list.

http://lists.x.org/archives/xorg-driver-ati/2008-June/005617.html

Background for all this: I asked Debian list admins about what
happenend with 2 emails I sent to debian-powerpc, that never showed up
here. One of their answers is attached.

Good luck

Wolfgang

- Forwarded message from Thomas Viehmann [EMAIL PROTECTED] -

From: Thomas Viehmann [EMAIL PROTECTED]
To: Wolfgang Pfeiffer [EMAIL PROTECTED]
CC: [EMAIL PROTECTED],
Debian Listmaster Team [EMAIL PROTECTED]
Subject: Re: debian-powerpc: emails missing
Date: Wed, 11 Jun 2008 19:17:55 +0200
User-Agent: Mozilla-Thunderbird 2.0.0.12 (X11/20080420)

Hi Wolfgang,

Wolfgang Pfeiffer wrote:
 None of them showed on this list. What is happening?
It's spam.

 Subject of the first one:
 [Powerpc - Debian unstable] Color screen cloning: S-Video - PAL TV
 working, nearly flawlessly

We can't do much without the message-id.
SPAM-TAG, [EMAIL PROTECTED] - [EMAIL PROTECTED],
Yes, score=8.6 tagged_above=3.6 required=5.3 tests=[BAYES_00=-2,
BLOGSPOT=3, BLOGSPOTURI=2.5, FOURLA=0.1, IMAGESHACK=3.5,
IMPRONONCABLE_2=1, MDO_CABLE_TV3=0.5]

Maybe you should cut down on your signature.

Kind regards

T.
-- 
Thomas Viehmann, http://thomas.viehmann.net/


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



Re: Good luck.

2008-06-11 Thread Wolfgang Pfeiffer
Hi Hans, Hi Powerpc listers

On Wed, Jun 11 2008, at 21:55 +0200, Hans Ekbrand wrote:
 On Wed, Jun 11, 2008 at 09:24:31PM +0200, Wolfgang Pfeiffer wrote:
  
  Hi All - on the Powerpc list.
  
  This will be my last email to a Debian list. 
  
  Reason is my last 2 mails were considered as being SPAM at least from
  one of Debian list admins.
 
 Hi Wolfgang!
 
 [and [EMAIL PROTECTED], and Thomas Viehmann, who are CC:ed]
 [For a complete version of Wolfgang's mail, see:
  http://lists.debian.org/debian-powerpc/2008/06/msg00067.html]
 
 I'm sorry about how listadmin Thomas Viehmann has treated you. 

Thanks, but no need to be sorry ...:) 

 His
 email, that you quote, is unreasonable, since your mail was *NOT*
 spam.

It *was* SPAM according to the rules - as far as they were
understandable - that Thomas Viehmann was presenting (see my first
mail in this thread). So he acted fully rightly. The point is, that

** 1

Their SPAM rules, as hinted by T. Viehmann, obviously are completely
nuts. T. Viehmann didn't do anything else than quoting and
implementing them: these rules - wild guess - were not set up by him
alone, but by quite a few more people, aka list-admins, or who ever
...

** 2

Every single of these admins is free to try to change sick rules, or
quit loudly, if there's no chances left. 

Debian guys obviously have quite some problems nowadays. I don't
understand fully why, except that I can't solve them, and I refuse to
do so, if I even have to remove some lousy sig to make sure an email
makes it to some mailing list. That'd be too weird, even for me ... :)

 
 But perhaps a more constructive solution for Debian and for you can be
 found, than you avoiding posting to debian lists.

Come on: no solution has to be found for me - I'm fine. It's Debian
guys - at least in important areas - who seem to be grounded rather
hardly. They can solve their probs .. :) .. So have a look at them,
not at me.

Perhaps some of these guys simply heard this Winehouse song too often,
and even worse, thought it were all real instead of some - admittedly
superb - fiction: 

They try to make me go to rehab, and I say no - no - no .. ..

But Thanks ... :)

Good luck again
Wolfgang
-- 
Queen Amy ...


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



Re: Good luck.

2008-06-11 Thread Wolfgang Pfeiffer
On Wed, Jun 11 2008, at 23:20 +0200, Thomas Viehmann wrote:
 Hi Wolfgang,
 
  On Wed, Jun 11, 2008 at 09:24:31PM +0200, Wolfgang Pfeiffer wrote:
  This will be my last email to a Debian list. 
 
  Reason is my last 2 mails were considered as being SPAM at least from
  one of Debian list admins.
 
 Please do accept my apologies 

No need to apologize .. just give me all your money, your computers,
your house, and your girl-friend, your wife ... If I may ask.

Seriously: I already forgot about this whole mess. Obviously it was a
misunderstanding.

But have a look to your SPAM rules. Please. Because today tagging
blogspot as a SPAM pattern seems a little strange. If I may
suggest. ... :)

Best Regards
-- 
Queen Amy
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Etch on G5: Yaboot problem still persists

2008-06-09 Thread Wolfgang Pfeiffer
On Mon, Jun 09 2008, at 15:16 -0400, Steven DuBois wrote:
 ofpath just shows a colon and sdb# after /[EMAIL PROTECTED]: (ofpath 
 /dev/sdb2 shows /[EMAIL PROTECTED]:2)


How does your yaboot.conf look like?

What error messages does the system give you when trying to boot?

Is there anything else you think might be helpful to know?

And just to be sure: I'd try to boot the machine with the openfirmware
commands as shown below. Especially 'devalias' seemed to be helpful. I
tried that yesterday on an old tibook.

Docs:
http://www.firmworks.com/

Good luck

Wolfgang

 
 mac-fdisk /dev/sdb shows the following
 /dev/sdb
 #  type namelength   base 
   ( size ) sytem
 /dev/sdb1   Apple_partition_map Apple   63 @ 1
   ( 31.5k) Partition map
 /dev/sdb2   Apple_Bootstrap untitled  1954 @ 64   
   (977.0k) NewWorld bootblock
 /dev/sdb3 Apple_HFS Untitled 304968688 @ 15204352 
   (145.4G) HFS
 /dev/sdb4   Apple_UNIX_SVR2 untitled  14445313 @ 2018 
   (  6.9G) Linux native
 /dev/sdb5   Apple_UNIX_SVR2 swap757021 @ 14447331 
   (369.6M) Linux swap
 /dev/sdb6Apple_Free Extra   16 @ 320173040
   (  8.0k) Free space
 
 So i chanaged yaboot.conf to say device=/[EMAIL PROTECTED]:2 and i tried :4, 
 but neither worke
 
 On Mon, Jun 09, 2008 at 04:29:38AM +0200, Wolfgang Pfeiffer wrote:
  On Sun, Jun 08 2008, at 22:44 -0300, Rogério Brito wrote:
   On Jun 08 2008, Gunther Furtado wrote:
Alternatively, you could try booting into openfirmware (Opt+Command+O+F 
 
just after the shime) and issuing dev / ls and devalias to 
determine  
the correct path to your disk.

-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: 12 G4 Powerbook with heat issues

2008-06-08 Thread Wolfgang Pfeiffer
On Sat, Jun 07 2008, at 15:02 -0500, Matthew Ray wrote:
 Greetings,
 I've been running vanilla PPC Etch install on my 12 600mhz G3 iBook
 as a server for some time, with months of uptime and no performance
 issues.  I run it with the lid closed and pbbuttonsd configured to
 turn off the screen and run it in powersave mode.  So it runs
 downclocked to 400mhz, and /proc/cpuinfo reports that the temperature
 is under 20 C.  Everything's great with that machine.
 
 I recently installed the same vanilla PPC Etch install on my 12
 1.33ghz G4 PowerBook and reused to pbbuttonsd configuration so I could
 run it in a similar configuration.  /proc/cpuinfo report 666mhz but
 doesn't report the temperature, I get it from
 /sys/devices/temperature/sensor*temperatures, 

Same here: no information via /proc/cpuinfo, but via something like
watch cat /sys/devices/temperatures/sensor{1,2}_temperature

$ cat /proc/cpuinfo 
processor   : 0
cpu : 7447A, altivec supported
clock   : 833.333000MHz
revision: 0.5 (pvr 8003 0105)
bogomips: 16.57
timebase: 832
platform: PowerMac
model   : PowerBook5,8
machine : PowerBook5,8
motherboard : PowerBook5,8 MacRISC3 Power Macintosh 
detected as : 287 (PowerBook G4 15)
pmac flags  : 0019
L2 cache: 512K unified
pmac-generation : NewWorld

With this line in /etc/modules temperature *seems* being fine here:
therm_adt746x limit_adjust=-3


$ /sbin/modinfo therm_adt746x 
filename:   
/lib/modules/2.6.26-rc5-53c8ba9/kernel/drivers/macintosh/therm_adt746x.ko
license:GPL
description:Driver for ADT746x thermostat in iBook G4 and Powerbook G4 Alu
author: Colin Leroy [EMAIL PROTECTED]
srcversion: C5E974A566B0BBEE52DC46F
depends:
vermagic:   2.6.26-rc5-53c8ba9 mod_unload 
parm:   limit_adjust:Adjust maximum temperatures (50 sensor1, 70 
sensor2) by N degrees. (int)
parm:   fan_speed:Specify starting fan speed (0-255) (default 64) (int)
parm:   verbose:Verbose log operations (default 0) (bool)

Although I'm not sure whether your G4 is an alubook or not ..

I look to the fan speed like so:
watch cat /sys/devices/temperatures/sensor1_fan_speed

This output (slightly edited for better readability) here:

$ dmesg | grep -i ADT746
[ ... ] adt746x: version 1 (supported)
[ ... ] adt746x: Thermostat bus: 0, address: 0x2e, limit_adjust: -3, fan_speed: 
-1
[ ... ] adt746x: ADT7467 initializing
[ ... ] adt746x: Lowering max temperatures from 81, 80, 87 to 67, 47, 67


HTH

Best Regards
Wolfgang
-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Debian Sarge y Debian Multimedia

2008-06-08 Thread Wolfgang Pfeiffer
Hi

On Sun, Jun 08 2008, at 00:12 -0600, Esteban Monge wrote:
 Hello.
 
 I have a PowerMac G3 450Mhz, have installed Debian Sarge, i need one
 repository with the Debian Multimedia packages, i try with various but in
 the moment to use debmirror dont download any package, i dont use bad
 debmirror because i make ready two repository, sarge-backports and
 unofficial.

deb http://debian.netcologne.de/debian-multimedia.org unstable main
deb-src http://debian.netcologne.de/debian-multimedia.org unstable main

Is this what you need?

Best Regards
Wolfgang

-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Debian Sarge y Debian Multimedia

2008-06-08 Thread Wolfgang Pfeiffer
On Sun, Jun 08 2008, at 23:25 +0200, Wolfgang Pfeiffer wrote:
 Hi
 
 On Sun, Jun 08 2008, at 00:12 -0600, Esteban Monge wrote:
  Hello.
  
  I have a PowerMac G3 450Mhz, have installed Debian Sarge, i need one
  repository with the Debian Multimedia packages, i try with various but in
  the moment to use debmirror dont download any package, i dont use bad
  debmirror because i make ready two repository, sarge-backports and
  unofficial.
 
 deb http://debian.netcologne.de/debian-multimedia.org unstable main
 deb-src http://debian.netcologne.de/debian-multimedia.org unstable main

Except you probably want 'stable' instead of 'unstable' ... :) ... IINM

Wolfgang 
-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Etch on G5: Yaboot problem still persists

2008-06-08 Thread Wolfgang Pfeiffer
On Sun, Jun 08 2008, at 17:17 -0400, Steven DuBois wrote:
 I did try ybin -v and it ran fine. Should i try to change the device to what 
 you have? I 
 have a Dual 1.8Ghz Power Mac G5.

There's a tool on Debian called ofpath.

It finds you the correct Openfirmware path to your bootstrap partition.

As you can't boot into Debian (right?) I'd recommend your Debian
install CD (changing to a console there with ALT-F{1,2,3,4?}) or
some powerpc LIVE CD/DVD (Ubuntu?) to run this tool.

*** 1:

I'd run mac-fdisk first for the disk (dev/hda ?) where Debian is to be
installed and type 'p'. This shows me the Apple_Bootstrap partition.

*** 2:

Now running ofpath /dev/name of the Bootstrap partition from step 1 should 
find
the Openfirmware path to the bootstrap partition

Provided I didn't miss anything ... :)

Best Regards
Wolfgang

-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Etch on G5: Yaboot problem still persists

2008-06-08 Thread Wolfgang Pfeiffer
On Sun, Jun 08 2008, at 22:44 -0300, Rogério Brito wrote:
 On Jun 08 2008, Gunther Furtado wrote:
  Alternatively, you could try booting into openfirmware (Opt+Command+O+F  
  just after the shime) and issuing dev / ls and devalias to determine  
  the correct path to your disk.
 
 Yes, that is the most hassle free solution, as it does not require
 booting any operating system.

... additionally, I'm not sure anymore that ofpath is part of the
Debian install CD ... maybe they have ofpathname with the installer,
not being sure ...

Wolfgang
-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



git Linux 2.6.26-rc5 - 53c8ba9: seems OK after short use

2008-06-05 Thread Wolfgang Pfeiffer
Hi All

With these rather fresh sources, obtained via git: 

53c8ba9 Linux 2.6.26-rc5 

and after just about an hour of mild tests on 2 powerpc laptops: an
older TiBookIV, a newer Powerbook5,8.

CD-Burning seems to work again: at least on the Powerbook5,8 - with a
real image burn. A simulated CD burn on the TiBookIV ended
successfully.

Sleep seems being OK, on both machines.

Trackpad mouse pointer, on both machines, didn't disappear so far.

I only realised yesterday, after months of using a kernel that I even
uploaded for the rest of the world around Febr./March this year, that
CD burning obviously was gone with v2.6.25-rc3-81-g7704a8b. So after a
short test this burner issue seems gone with the new 2.6.26-rc5 .. :)

And no, I won't upload this 2.6.26-rc5 package anywhere, probably ...

Thanks a lot to the kernel guys ... :)

HTH
Wolfgang
-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Mouse doesn't work on iBook G4 after sleep in Sid

2008-05-12 Thread Wolfgang Pfeiffer
On Sat, May 10 2008, at 10:26 +0200, Denís Fernández Cabrera wrote:
 Hello all, and sorry for reviving this old thread.

As you address more than just me, I'll try to CC the Debian powerpc
list ... I hope this is OK ... :) - for this to work I changed the
In-Reply-To header in this email ... let's see how lucky I am with it
... :) ... 

And Sorry if this isn't exactly the standard way ...

 
 I've just recently dist-upgraded again, and installed the 2.5.25-1
 kernel in my iBook G4 (mid 2005):
 
 [EMAIL PROTECTED]:~$ uname -a
 Linux sputnik 2.6.25-1-powerpc #1 Mon Apr 28 15:21:27 UTC 2008 ppc GNU/Linux
 
 The appletouch bug is still there. Has anybody found a way around it,
 or a way to fix it?
 
 Wolfgang: Sorry for not trying your kernel back then --- i got tangled
 in busy life, and since the older kernel (2.6.18-5) worked more or
 less fine (the wifi worked just barely, and that is what gets me
 trying to make the switch to 2.6.25) I kept going on it.
 
 Could you upload the kernel again somewhere? I'll give it a try.

See here:
http://lists.debian.org/debian-powerpc/2008/04/msg00081.html

The one linked to from the message above should be the latest one I
uploaded, IIRC ..

 
 Also: Have you noticed other mouse freezes after the one you mentioned here?

I see with my current 2.6.25-rc3 the mouse disappear on an old
ti-book. Never, IIRC, on a newer alubook 5,8.

If you're already at it, why not trying to compile the latest git
sources? It should be easy after - possibly (?) - solving the package
dependencies for linux-image builds ... Mini HOWTO ... :) ... : 

HOW TO BUILD A GIT KERNEL PACKAGE ON DEBIAN

$ cd kernel-factory/git/
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

$ ls
.  ..  linux-2.6


# Keep it up-to-date:
$ cd linux-2.6/
$ git pull


## Have a nice view on the kernel:

$ gitk --all 

## The compile, something like

time MAKEFLAGS=CC=gcc-1.23  fakeroot make-kpkg --append-to-version=-abcd1234 
--revision=1234.56.78 kernel_image

You'll find a .config  - about 2 months old or so - via the mailing
list URL above ...

Good luck!

Wolfgang
-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Mouse doesn't work on iBook G4 after sleep in Sid

2008-05-12 Thread Wolfgang Pfeiffer
On Mon, May 12 2008, at 19:13 +0200, Denís Fernández Cabrera wrote:
 Hello again,
 
 2008/5/12 Wolfgang Pfeiffer [EMAIL PROTECTED]:
  On Sat, May 10 2008, at 10:26 +0200, Denís Fernández Cabrera wrote:
Hello all, and sorry for reviving this old thread.
 
   As you address more than just me, I'll try to CC the Debian powerpc
   list ... I hope this is OK ... :) - for this to work I changed the
   In-Reply-To header in this email ... let's see how lucky I am with it
   ... :) ...
 
 Thank you, Wolfgang. :o) I indeed messed up the recipients in my last mail.
 
 I'm trying your kernel right now, and it works quite well --- I've
 tried to suspend and awake the machine a couple of times, and
 everything went fine. 

Congratulations! .. :)

 I'll keep the list updated on how things go, but assume that unless
 I report otherwise, the kernel works.
 
 Which leads me to the question: what did you exactly change in that
 kernel? 

I changed this kernel source with Ben Herrenschmidt's patches, IIRC.
Details on that should be available from here (and ignore the link to
another kernel on that page, please):

http://lists.debian.org/debian-powerpc/2008/03/msg5.html

HTH

Good luck
Wolfgang
-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Issues with Debian Lenny on Powerbook G4

2008-04-24 Thread Wolfgang Pfeiffer
On Wed, Apr 23 2008, at 21:25 -0700, Amit Uttamchandani wrote:
 On Wed, 23 Apr 2008 19:22:18 +0200
 Wolfgang Pfeiffer [EMAIL PROTECTED] wrote:
 
  Ever having considered to install sid/unstable? Most of the time it
  works like a charm on ab old titanium here:
  
  **
  
  processor   : 0
  cpu : 7455, altivec supported
  clock   : 667.00MHz
  revision: 0.2 (pvr 8001 0302)
  bogomips: 66.56
  timebase: 1438
  platform: PowerMac
  machine : PowerBook3,5
  motherboard : PowerBook3,5 MacRISC2 MacRISC Power Macintosh
  detected as : 80 (PowerBook Titanium IV)
  pmac flags  : 001b
  L2 cache: 256K unified
  pmac-generation : NewWorld
  
  *
  
  Graphics hardware:
  
  :00:10.0 VGA compatible controller: ATI Technologies 
  Inc Radeon RV250 [Mobility FireGL 9000] (rev 01)
  
  *
  

 Hi there,
 

Hi

 When I installed testing I changed the sources to sid and upgraded them. But 
 I still couldn't get the Xorg issue figured out. The graphics controller I 
 have is:
 
  description: VGA compatible controller
  product: Rage Mobility M3 AGP 2x
  vendor: ATI Technologies Inc
 
 It seems that's the major issue. Also how did you get the power
 management to work? I couldn't get the sleep/suspend to ram working
 properly?

I have pbbuttonsd installed ... the config file - i.e. /etc/pbbuttonsd.conf
- is attached as pbbuttonsd.conf-tibook - so get the machine to
sleep all I do is pressing the powerbutton of the ti-book. As to the
Sleepkey ID 116 in this pbbuttons.conf: I don't know what's the
right one for your computer  

Also, I attach xorg.conf that is on that tibook as xorg.conf.tibook 

Now, you might even want to try that kernel I'm using: I've uploaded
it quite some time ago to rapidshare:

http://rapidshare.com/files/103023740/linux-image-2.6.25-rc3-g7704a8b-with-ben.s-pmu-patch_2008.03.06_powerpc.deb.html

md5sum for that kernel package on the rapidshare page is 
37732ce4d345bd5b4ef7b74cdc475c16

My apologies for that upload solution, but I don't have another one:
It might be hard to type in the correct code (shown on that image that
rapidshare might display if one wants to download that file ... )
.. don't give up ... :)

The config file for that kernel is on
http://www.geocities.com/wolfgangpfeiffer/config-tibook-2.6.25-rc3-g7704a8b-with-ben.s-pmu-patch.txt

And just in case: I've also attached /etc/modules from the tibook as
modules-tibook .. 

Good luck!

Oh, I nearly forgot that:
This kernel above is heavily modularized ... no initrd image .. and
on install it might complain about a missing source directory, that I
have on the machine where I compiled the kernel ... I just ignored
that complaint for the install on the tibook, IIRC ...   

The only problem I remember with this software, is the occasionally
missing trackpad mouse pointer, on X, IIRC ...

Also: I have a mildly fresh (lots from around March 26, IINM) unstable
Debian on that tibook, with this being installed (excerpt):

ii  libglu1-xorg  1:7.3+3
ii  xorg  1:7.3+3
ii  xorg-docs 1:1.4-2
ii  xserver-xorg  1:7.3+10
hi  xserver-xorg-core 2:1.4.1~git20080131-2
ii  xserver-xorg-input-all1:7.3+10
ii  xserver-xorg-input-evdev  1:1.2.0-1
ii  xserver-xorg-input-kbd1:1.2.2-3
ii  xserver-xorg-input-mouse  1:1.2.3-2
ii  xserver-xorg-input-synaptics  0.14.7~git20070706-2
ii  xserver-xorg-input-wacom  0.7.9.3-2
ii  xserver-xorg-video-all1:7.3+10 
ii  xserver-xorg-video-ati1:6.8.0-1
ii  xserver-xorg-video-chips  1:1.1.1-9
ii  xserver-xorg-video-fbdev  1:0.3.1-4
ii  xserver-xorg-video-glint  1:1.1.1-8
ii  xserver-xorg-video-imstt  1:1.1.0-7
ii  xserver-xorg-video-mga1:1.4.8.dfsg.1-1
ii  xserver-xorg-video-nv 1:2.1.8-1
ii  xserver-xorg-video-s3 1:0.5.0-4
ii  xserver-xorg-video-s3virge1:1.9.1-7
ii  xserver-xorg-video-savage 1:2.1.3-5
ii  xserver-xorg-video-sis1:0.9.3-6
ii  xserver-xorg-video-sisusb 1:0.8.1-9
ii  xserver-xorg-video-tdfx   1:1.3.0-6
ii  xserver-xorg-video-trident1:1.2.4-1
ii  xserver-xorg-video-v4l0.1.1-6
ii  xserver-xorg-video-vga1:4.1.0-8


Best Regards
Wolfgang
-- 
http

Re: Issues with Debian Lenny on Powerbook G4

2008-04-23 Thread Wolfgang Pfeiffer
On Tue, Apr 22 2008, at 10:23 -0700, Amit Uttamchandani wrote:

 I switched back to etch on this laptop and everything worked like
 magic.
 
 So right now I am back to running etch on this machine, which is
 great. I just had to recompile a lot of the software that I needed
 (claws mail 3.4.0, pidgin, etc.) but it didn't take too long since I
 knew what I was doing and which libraries to install.

Ever having considered to install sid/unstable? Most of the time it
works like a charm on ab old titanium here:

**

processor   : 0
cpu : 7455, altivec supported
clock   : 667.00MHz
revision: 0.2 (pvr 8001 0302)
bogomips: 66.56
timebase: 1438
platform: PowerMac
machine : PowerBook3,5
motherboard : PowerBook3,5 MacRISC2 MacRISC Power Macintosh
detected as : 80 (PowerBook Titanium IV)
pmac flags  : 001b
L2 cache: 256K unified
pmac-generation : NewWorld

*

Graphics hardware:

:00:10.0 VGA compatible controller: ATI Technologies 
Inc Radeon RV250 [Mobility FireGL 9000] (rev 01)

*

I don't know which Powerbook G4 Titanium 500MHz you have, but the
one from cpuinfo, etc., above (maxm. 867 MHz), is having
Debian/unstable on it since a very long time with few software
problems, IIRC, over the last 2 or 3 years.

There are problems from time to time (unstable, sic!), sure enough,
but most of them not difficult enough that even a lazybones like me
would not be able find some solution to solve them ... :)

HTH

Best Regards
Wolfgang
-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Not building for powerpc any more

2008-04-15 Thread Wolfgang Pfeiffer
On Tue, Apr 15 2008, at 10:23 +0200, Michel Dänzer wrote:
 On Mon, 2008-04-14 at 16:46 -0400, El Amigo De La Playa wrote:
  -Are we talking about the death of the ppc mailing-list, or the death
  of Debian PPC branch ?
 
 Neither - as should have been clear from my previous post (?) [ ... ]

No question mark being necessary ... :) ...  It was very clear from
your email that you were writing *only* about this specific package,
and nothing else 

Best Regards
Wolfgang

-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: mplayer build failure on powerpc

2008-04-08 Thread Wolfgang Pfeiffer
Hi All

Sorry for answering so late: my Internet line was down.

On Sun, Apr 06 2008, at 21:40 +0200, A Mennucc wrote:
 hi
 
 according to
 http://buildd.debian.org/~jeroen/status/package.php?suite=unstablep=mplayera=powerpc
 mplayer has failed building in powerpc due to 'internal compiler error';
 but it compiles fine in all other archs.
 
 May somebody reschedule the build ?

... mplayer built fine here, from mplayer-checkout-snapshot.tar.bz2,
downloaded about 00:30 AM UTC Monday from, IIRC,
http://www.mplayerhq.hu/design7/dload.html
- and compiled with these options:

time DEB_BUILD_OPTIONS=--prefix=/usr/ --cc=gcc-4.3
--codecsdir=/usr/local/lib/codecs/ 
--confdir=/etc/mplayer/ --enable-crash-debug --enable-largefiles 
--enable-profile --enable-gui
--with-dvdnav-config=/usr/bin/dvdnav-config 
fakeroot debian/rules binary

I think --with-dvdnav-config=/usr/bin/dvdnav-config was ignored
for the compile ... I have to check that ... anyway:

$ gcc-4.3 --version
gcc-4.3 (Debian 4.3.0-2) 4.3.1 20080321 (prerelease)
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

And I haven't installed this new mplayer .deb -- I'd like to get rid
of this --with-dvdnav-config flag being - as it seems - ignored by
the compiler, before installing it ...

HTH

Best Regards
Wolfgang
-- 
Compilers are human!
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Mouse doesn't work on iBook G4 after sleep in Sid

2008-04-03 Thread Wolfgang Pfeiffer
Hi

Being curious:

Those having reported about the kernel problems: Did someone try to
compile the git version of the kernel I wrote would work rather fine
here? Or install the one I uploaded?

Best Regards
Wolfgang
-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Mouse doesn't work on iBook G4 after sleep in Sid

2008-04-03 Thread Wolfgang Pfeiffer
OK: At last I saw this bug, too ...:) ..:
On the tibook (PowerBook3,5) I saw the trackpad mouse disappearing on
X a few minutes ago - for the first time, IIRC. Just putting the
machine to sleep, and resuming it again. fixed it ...

The Tibook has the same kernel installed as the one installed to the
Powerbook5,8, where I didn't notice this bug ...

On the PB5,8:

$ uname -a
Linux debby1-6 2.6.25-rc3-g7704a8b-with-ben.s-pmu-patch #1 Thu Mar 6 12:12:34 
CET 2008 ppc GNU/Linux

Git source I used was
v2.6.25-rc3-81-g7704a8b

$ cat /proc/version [output slightly edited]
Linux version 2.6.25-rc3-g7704a8b-with-ben.s-pmu-patch ([EMAIL PROTECTED]) 
(gcc version 4.1.3 20080301 (prerelease) (Debian 4.1.2-20)) #1 
Thu Mar 6 12:12:34 CET 2008

HTH

Best Regards
Wolfgang

-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Mouse doesn't work on iBook G4 after sleep in Sid

2008-03-28 Thread Wolfgang Pfeiffer
On Fri, Mar 28 2008, at 10:45 +0100, Gaudenz Steinlin wrote:
  On Tuesday 25 March 2008, Denís Fernández Cabrera wrote:
   Hello,
  
   I dist-upgraded, last weekend, to the lastest version of Sid on the
   repositories for my iBook G4 (summer 2005). Generally, it works very
   well (it did fix several bugs that I was suffering till now), but I
   mouse support after suspension doesn't.
  
   After suspending the system (e.g. by closing the lid) it resumes
   correctly, but the mouse is useless. It won't move or receive any
   clicks, and restarting X doesn't help. I have to do a full system
   restart for the mouse to work again.
 
 I also see this occasionally. 


I never (knocking on wood :) saw that with this version (seen via 
'git describe'):

v2.6.25-rc3-81-g7704a8b

It works both on a Powerbook5,8 and on an old TiBook - and the version
above has an additional patch applied. The patch - from Ben - is here:

http://patchwork.ozlabs.org/linuxppc/patch?order=stateid=17107

This kernel works like a charm here since about 4 weeks on a
PowerBook5,8 and, since a few days, on the tibook. Both computers with
a - in the meantime - relatively fresh unstable system.

I've uploaded this kernel quite some time ago to rapidshare:
http://rapidshare.com/files/96992135/linux-image-2.6.25-rc3-g7704a8b-with-ben.s-pmu-patch_2008.02.29_powerpc.deb.html
md5sum: 7a7613e0c52e179acf7caacaa3890901

Please have a look at the .config before installing - this kernel is
heavily modularized.

My /etc/modules file (I believe lm75 is useless in there - might be
worth to be removed from it ... :):

--
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with # are ignored.

apm_emu
ide-cd
#ide-disk
#ide-generic
sbp2
i2c-powermac
#snd-powermac

#snd-aoa:
#soundbus
#i2sbus
#snd-aoa
#snd-aoa-fabric-layout
#snd-aoa-codec-onyx
# End snd-aoa

cpufreq_performance
cpufreq_powersave
cpufreq_ondemand
sr_mod
therm_adt746x limit_adjust=-3
lm75

--

IIRC:

Please note that dpkg upon install might complain about a missing
source dir (linked to from /lib/modules) - at least on the tibook -
where this dir is missing - this wasn't a problem ..)

Best Regards
Wolfgang
-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Mouse doesn't work on iBook G4 after sleep in Sid

2008-03-28 Thread Wolfgang Pfeiffer
On Fri, Mar 28 2008, at 13:50 +0100, Wolfgang Pfeiffer wrote:
 
 I've uploaded this kernel quite some time ago to rapidshare:
 http://rapidshare.com/files/96992135/linux-image-2.6.25-rc3-g7704a8b-with-ben.s-pmu-patch_2008.02.29_powerpc.deb.html
 md5sum: 7a7613e0c52e179acf7caacaa3890901
 
 Please have a look at the .config before installing - this kernel is
 heavily modularized.
 
 My /etc/modules file (I believe lm75 is useless in there - might be
 worth to be removed from it ... :):
 
 --
 # /etc/modules: kernel modules to load at boot time.
 #
 # [ ... ]


... and the modules file is installed to the Powerbook5,8 (tibook's
not up, so I can't see right now ..)

Regards
Wolfgang
-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Mouse doesn't work on iBook G4 after sleep in Sid

2008-03-28 Thread Wolfgang Pfeiffer
On Fri, Mar 28 2008, at 13:50 +0100, Wolfgang Pfeiffer wrote:
 On Fri, Mar 28 2008, at 10:45 +0100, Gaudenz Steinlin wrote:
   On Tuesday 25 March 2008, Denís Fernández Cabrera wrote:
Hello,
   
I dist-upgraded, last weekend, to the lastest version of Sid on the
repositories for my iBook G4 (summer 2005). Generally, it works very
well (it did fix several bugs that I was suffering till now), but I
mouse support after suspension doesn't.
   
After suspending the system (e.g. by closing the lid) it resumes
correctly, but the mouse is useless. It won't move or receive any
clicks, and restarting X doesn't help. I have to do a full system
restart for the mouse to work again.
  
  I also see this occasionally. 
 
 
 I never (knocking on wood :) saw that with this version (seen via 
 'git describe'):
 
 v2.6.25-rc3-81-g7704a8b
 
 It works both on a Powerbook5,8 and on an old TiBook - and the version
 above has an additional patch applied. The patch - from Ben - is here:
 
 http://patchwork.ozlabs.org/linuxppc/patch?order=stateid=17107
 
 This kernel works like a charm here since about 4 weeks on a
 PowerBook5,8 and, since a few days, on the tibook. Both computers with
 a - in the meantime - relatively fresh unstable system.
 
 I've uploaded this kernel quite some time ago to rapidshare:
 http://rapidshare.com/files/96992135/linux-image-2.6.25-rc3-g7704a8b-with-ben.s-pmu-patch_2008.02.29_powerpc.deb.html
 md5sum: 7a7613e0c52e179acf7caacaa3890901

Blast: I gave you the URL to the wrong kernel. Don't try that one above. My 
apologies.

Here is the correct one:
http://rapidshare.com/files/103023740/linux-image-2.6.25-rc3-g7704a8b-with-ben.s-pmu-patch_2008.03.06_powerpc.deb.html
md5sum:37732ce4d345bd5b4ef7b74cdc475c16

$ dpkg -l | grep 2.6.25-rc3
ii  linux-image-2.6.25-rc3-g7704a8b-with-ben.s-pmu-patch  2008.03.06Linux 
kernel binary image for version 2.6.25

Sorry again
Wolfgang

-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Mouse doesn't work on iBook G4 after sleep in Sid

2008-03-28 Thread Wolfgang Pfeiffer
On Fri, Mar 28 2008, at 14:15 +0100, Gaudenz Steinlin wrote:
 On Fri, Mar 28, 2008 at 01:50:01PM +0100, Wolfgang Pfeiffer wrote:
  On Fri, Mar 28 2008, at 10:45 +0100, Gaudenz Steinlin wrote:
On Tuesday 25 March 2008, Denís Fernández Cabrera wrote:
 Hello,

 I dist-upgraded, last weekend, to the lastest version of Sid on the
 repositories for my iBook G4 (summer 2005). Generally, it works very
 well (it did fix several bugs that I was suffering till now), but I
 mouse support after suspension doesn't.

 After suspending the system (e.g. by closing the lid) it resumes
 correctly, but the mouse is useless. It won't move or receive any
 clicks, and restarting X doesn't help. I have to do a full system
 restart for the mouse to work again.
   
   I also see this occasionally. 
  
  
  I never (knocking on wood :) saw that with this version (seen via 
  'git describe'):
 
 Do you mean that you saw it with other kernel versions 


No .. only my mouse disappeared until a few weeks ago from the
console ... I think it had to with this screen cloning routines
(xrandr, etc. ...). something like

/etc/init.d/gpm restart

fixed that, IIRC ...

But I just tested this: Even this little annoyance - that is, gpm gone
- seems being fixed ...

 or did you never experience this bug? 

Clearly no: I don't remember having had this bug, that is, like, the
mouse on X disappearing/being useless, or even the need to reboot for
the mouse to work again, etc

Oh, just in case it's important: I'm using one of these modern 32 RGB
(? is it a 32 RGB mouse ?) mouses, to fix that
x-mouse-pointer-is-destroyed issue: On KDE, I have the KDE Classic
Icon Theme for the X mouse pointer running ...

 Do you use the synaptics driver in X? 

Seems so, yes:

-
$ grep -i synap /var/log/Xorg.0.log
(**) |--Input Device Synaptics Touchpad
(II) LoadModule: synaptics
(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor=X.Org Foundation
(II) Synaptics touchpad driver version 0.14.6 (1406)
(--) Synaptics Touchpad auto-dev sets device to /dev/input/event2
(--) Synaptics Touchpad touchpad found
(**) Synaptics Touchpad: always reports core events
(II) evaluating device (Synaptics Touchpad)
(II) XINPUT: Adding extended input device Synaptics Touchpad (type: MOUSE)
(--) Synaptics Touchpad auto-dev sets device to /dev/input/event2
(--) Synaptics Touchpad touchpad found
(--) Synaptics Touchpad auto-dev sets device to /dev/input/event2
(--) Synaptics Touchpad touchpad found
(--) Synaptics Touchpad auto-dev sets device to /dev/input/event2
(--) Synaptics Touchpad touchpad found
(--) Synaptics Touchpad auto-dev sets device to /dev/input/event2
(--) Synaptics Touchpad touchpad found
(--) Synaptics Touchpad auto-dev sets device to /dev/input/event2
(--) Synaptics Touchpad touchpad found
(--) Synaptics Touchpad auto-dev sets device to /dev/input/event2
(--) Synaptics Touchpad touchpad found
(--) Synaptics Touchpad auto-dev sets device to /dev/input/event2
(--) Synaptics Touchpad touchpad found
(--) Synaptics Touchpad auto-dev sets device to /dev/input/event2
(--) Synaptics Touchpad touchpad found
(--) Synaptics Touchpad auto-dev sets device to /dev/input/event2
(--) Synaptics Touchpad touchpad found
---

 What version of xserver-xorg-input-synaptics do you have installed?


dpkg -l xserver-xorg-input-synaptics

[ .. ]
ii  xserver-xorg-input-synaptics0.14.7~git20070706-2   
Synaptics TouchPad driver for X.Org/XFree86 server

(dpkg output above edited for better readability)

 Can you post the relevant bits of your xorg.conf?

The whole file, just in case (with comments removed at the start of it):

---
# [ ... ]

Section Files

# see http://wiki.debian.org/Xorg69To7:
# FontPath  unix/:7100# local font server
# if the local font server has problems, we can fall back on these
FontPath/usr/share/fonts/X11/misc
#   FontPath/usr/share/fonts/X11/cyrillic
FontPath/usr/share/fonts/X11/Type1
#   FontPath/usr/share/fonts/X11/CID
FontPath/usr/share/fonts/X11/100dpi
FontPath/usr/share/fonts/X11/75dpi
FontPath/usr/share/fonts/X11/100dpi:unscaled
FontPath/usr/share/fonts/X11/75dpi:unscaled
#   FontPath/usr/share/fonts/truetype
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
EndSection

Section Module
Loadbitmap
Loaddbe
Loadddc
Loaddri
Loadextmod
Loadfreetype
Loadglx
Loadint10
Loadrecord
Loadtype1
Loadv4l
Loadvbe
Loadevdev
EndSection

Section InputDevice
Identifier  Generic Keyboard

Re: Mouse doesn't work on iBook G4 after sleep in Sid

2008-03-28 Thread Wolfgang Pfeiffer
On Fri, Mar 28 2008, at 15:11 +0100, Wolfgang Pfeiffer wrote:
 
 Oh, just in case it's important: I'm using one of these modern 32 RGB
 (? is it a 32 RGB mouse ?) mouses, to fix that

should say: (? is it a 32 RGB theme ?) cursor themes, to fix that
  
 x-mouse-pointer-is-destroyed issue: On KDE, I have the KDE Classic
 Icon Theme for the X mouse pointer running ...
 

Sorry
Wolfgang

-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Long boot delay with agpgart

2008-03-09 Thread Wolfgang Pfeiffer
On Wed, Mar 05 2008, at 17:33 +0100, Wolfgang Pfeiffer wrote:

 The boot process began being stuck the moment some agpgart init
 routine started:
 
 Excerpt from kern.log that moment:
 
 [6.882357] usbcore: registered new device driver usb
 [   36.732011] uninorth_agp: gave up waiting for init of module agpgart.
 [   36.733009] uninorth_agp: Unknown symbol agp_bridge
 [   66.734008] uninorth_agp: gave up waiting for init of module agpgart.
 [   66.735011] uninorth_agp: Unknown symbol agp_find_bridge
 [   96.736009] uninorth_agp: gave up waiting for init of module agpgart.
 [   96.737010] uninorth_agp: Unknown symbol agp_device_command
 

With Debian package modutils not being installed I still had in
/etc/modutils/local and in /etc/modules.conf:

pre-install radeon /sbin/modprobe -k agpgart
pre-install agpgart /sbin/modprobe -k uninorth_agp

I don't know whether these lines can be confusing for the boot
routines, or whether they're read at all by the system on boot
time. Anyway: 

I removed modules.conf, and commented out everything in
/etc/modutils/local

A first reboot after the change didn't break anything, as it seems
... 

Sorry if it was only noise ...

Best Regards
Wolfgang

-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: 2.6.25-rc3 (g7704a8b) - freezer for suspend broken?

2008-03-06 Thread Wolfgang Pfeiffer
On Sun, Mar 02 2008, at 16:27 +0100, Wolfgang Pfeiffer wrote:

 With the old kernel I had to press fn-F(x) to change sound, brightness
 etc. - now the same can be done by pressing F(x) without the fn key.
 
 Vice-versa on mc previously I only had to press the F(x) keys to
 access its menu - now I have to add an fn press for the same outcome


modprobe -r usbhid hid; sleep 2; modprobe hid pb_fnmode=2; modprobe usbhid

... works here. Thanks, Elimar :) .. :

http://lkml.org/lkml/2007/2/3/144

Machine back on track now, with a nice 2.6.25 ... :) .. 

Thanks, coders ... :)

Best Regards

Wolfgang
-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: [PATCH] [POWERPC] (testers ?) Fix sleep on some powerbooks

2008-03-04 Thread Wolfgang Pfeiffer
Hi Ben, Gaudenz - Hi All

On Mon, Mar 03 2008, at 17:27 +1100, Benjamin Herrenschmidt wrote:
 The PMU backlight code would kick in during sleep/resume even on
 machines that use a different backlight method. This appears to
 break sleep on my PowerBook, though I can't test that patch at
 the moment as the machine died while I was bisecting.
 
 So if anybody around has one of those latest revision PowerPC
 PowerBooks, the one just before they went to Intel, 

yes, I think so:

$ cat /proc/cpuinfo 
processor   : 0
cpu : 7447A, altivec supported
clock   : 1666.666000MHz
revision: 0.5 (pvr 8003 0105)
bogomips: 33.15
timebase: 832
platform: PowerMac
machine : PowerBook5,8
motherboard : PowerBook5,8 MacRISC3 Power Macintosh 
detected as : 287 (PowerBook G4 15)
pmac flags  : 0019
L2 cache: 512K unified
pmac-generation : NewWorld


 and have a
 problem with suspend/resume, please test this and let me know
 if it helps.

It helps. Thanks a lot .. :) ... 

After installing the kernel with your patch, and booting to it, I
successfully ran the machine into sleep mode, several times: On a
console, after booting, and with no-one logged in. On a
KDE-Login-screen, with root logged in on a console. And just a few
minutes ago in a fully working KDE/KDM X environment.

Pressing the power button on this machine put the system to sleep, and
it resumed when pressing the same button again ... 

I uploaded this fresh kernel .deb, patched with your code, up to
rapidshare: 
http://rapidshare.com/files/96992135/linux-image-2.6.25-rc3-g7704a8b-with-ben.s-pmu-patch_2008.02.29_powerpc.deb.html

md5sum for the file above is 7a7613e0c52e179acf7caacaa3890901

Please note - my favorite part - this kernel does not have an initrd
image included .. :)

I attach my /etc/modules file, just in case ...

For those not familiar to rapidshare procedures: Just choose something
like Free on the page above, wait a few secs, then chose an
appropriate server near you, and type in the code you see in the image.

I don't have my own web space for binaries like this, so sorry if this
is a little annoying ...

For those not subscribed to [EMAIL PROTECTED]:
Here's Ben's original email, with the patch:
http://patchwork.ozlabs.org/linuxppc/patch?order=stateid=17107

Thanks again for your work, Ben   :)

Last, but certainly not least: Thanks Gaudenz, for pointing me to
git bisect, for your response as a whole to the Debian powerpc list
... :) 

My public key can be found with the 'keyserver' URL in the signature ..

Best Regards

 
 Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED]
 ---
 
  drivers/macintosh/via-pmu-backlight.c |5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
 
 --- linux-work.orig/drivers/macintosh/via-pmu-backlight.c 2008-03-03 
 17:24:44.0 +1100
 +++ linux-work/drivers/macintosh/via-pmu-backlight.c  2008-03-03 
 17:25:12.0 +1100
 @@ -17,7 +17,7 @@
  
  [ ... ]


-- 
Wolfgang 

http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with # are ignored.

apm_emu
ide-cd
#ide-disk
#ide-generic
sbp2
i2c-powermac
#snd-powermac

#snd-aoa:
#soundbus
#i2sbus
#snd-aoa
#snd-aoa-fabric-layout
#snd-aoa-codec-onyx
# End snd-aoa

cpufreq_performance
cpufreq_powersave
cpufreq_ondemand
sr_mod
therm_adt746x limit_adjust=-3


signature.asc
Description: Digital signature


Re: [PATCH] [POWERPC] (testers ?) Fix sleep on some powerbooks

2008-03-04 Thread Wolfgang Pfeiffer
On Tue, Mar 04 2008, at 17:15 +0100, Wolfgang Pfeiffer wrote:
 
 
 [ ... ]

 I uploaded this fresh kernel .deb, patched with your code, up to
 rapidshare: 
 http://rapidshare.com/files/96992135/linux-image-2.6.25-rc3-g7704a8b-with-ben.s-pmu-patch_2008.02.29_powerpc.deb.html
 
 md5sum for the file above is 7a7613e0c52e179acf7caacaa3890901
  
the file should say:
linux-image-2.6.25-rc3-g7704a8b-with-ben.s-pmu-patch_2008.02.29_powerpc.deb

Sorry for the overhead ...

Regards

-- 
Wolfgang 

http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



2.6.25-rc3 (g7704a8b) - freezer for suspend broken?

2008-03-02 Thread Wolfgang Pfeiffer
Hi All

Unstable Debian here, most packages last upgraded about 2 months ago.

On a Powerbook5,8

With git sources pulled last Friday: The kernel compiled nicely - it
even booted (I don't take that for granted, with fresh sources and my
 - at best - incomplete knowledge, especially when it comes to the new
kernel switches .. :) ..

Here's the .config:
http://www.geocities.com/wolfgangpfeiffer/config.2.6.25-rc3-g7704a8b.txt

.. but sadly, with 'CONFIG_SUSPEND_FREEZER=y' the machine can be set
into sleep mode (sleep LED blinking like I was used to it with
2.6.18).  
But instead of waking up when pressing the power button, the
system/machine simply was shut down. Logs that I found on it so far in
/var/log - the excerpt below should be one created the moment I
pressed the power button to get the machine into sleep mode, or the
moment I tried to resume from sleep ... not being sure:



Mar  1 00:22:25 debby1-6 pmcs-bdflush: External laptop-mode script found - exiti
ng.
Mar  1 00:22:25 debby1-6 pbbuttonsd: INFO: Script '/etc/power/pmcs-pbbuttonsd su
spend ac ram' lauched but exitcode is not null 
Mar  1 00:22:26 debby1-6 /usr/sbin/gpm[4463]: oops() invoked from gpn.c(205)
Mar  1 00:22:26 debby1-6 /usr/sbin/gpm[4463]: /var/run/gpm.pid: No such file or 
directory
Mar  1 00:22:26 debby1-6 pmcs-bdflush: External laptop-mode script found - 
exiting.
Mar  1 00:22:26 debby1-6 pbbuttonsd: INFO: Script '/etc/power/pmcs-pbbuttonsd 
suspend ac ram' lauched but exitcode is not null 
Jan  1 01:01:16 debby1-6 syslogd 1.5.0#1: restart.
Jan  1 01:01:16 debby1-6 kernel: klogd 1.5.0#1, log source = /proc/kmsg started.
Jan  1 01:01:16 debby1-6 kernel: [0.00] Crash kernel location must be 
0x200
Jan  1 01:01:16 debby1-6 kernel: [0.00] Reserving 0MB of memory at 32MB 
for crashkernel (System RAM: 1024MB)
Jan  1 01:01:16 debby1-6 kernel: [0.00] Using PowerMac machine 
description
Jan  1 01:01:16 debby1-6 kernel: [0.00] Total memory = 1024MB; using 
2048kB for hash table (at cfe0)




The Jan 1 snippet above for the time of the next reboot, as it seems
... :)

As for the gpm part: gpm is often shut down ... seems to be related to
experimental X packages (about 2 months old) .. IIRC gpm crashes at
times when I try to clone the machine LCD to some external VGA ... But
I didn't try to mirror the screen in the instance above ...

And this is how /etc/power/pmcs-pbbuttonsd is looking here:

--
#!/bin/sh
#
# This script is invoked by pbbuttonsd to configure the system for a
# given power level. The script gets three arguments:
# The first and the the third argument belong together. The first
# argument is a command and the third a corresponding argument. Not
# each of the commands have a corresponding argument. The following
# table shows possible combinations:
#
#  $1   $3
#  'powersave'   | power policies transfered to slave
#  'custom'  | scripts
#  'performance' |
#  'suspend'  'ram'  prepare for suspend to RAM (sleep)
# 'disk' prepare for suspend to disk
# 'shutdown' prepare for system shutdown
#  'resume'   'ram'  after wakeup from suspend to RAM
# 'disk' theoretically, not used yet
#  'emergency'   battery is critically low - shutdown.
#  'shutdown'user initiated a system shutdown.
#  'cover-open'   'open' cover has been opened
#  'cover-close'  'close'cover has been closed
#
# 'cover-open' and 'cover-closed' will only be called if no other
# suspend script is going to be called or sleep is not supported 
# on this  machine. The argument for this command is a future
# investment.
#
# The second argument contains the current powersource of the laptop
#  'ac'
#  'battery'
#
# The commands 'emergency' and 'shutdown' are handled directly. All
# other commands will be transfered to the slave scripts which hopefully
# will do the work.

PATH=/bin:/sbin:/usr/bin:/usr/sbin
# Logging is done by the pbbuttonsd daemon.

case $1 in
  emergency)
shutdown -h now Low battery - system will go down now!
;;
  shutdown)
shutdown -h now User requested shutdown - system will go down now!
;;
  *)
cd `dirname $0`
PATH=$PATH:$PWD
[ -d ${1}.d ]  run-parts --arg=$1 --arg=$2 --arg=$3 ${1}.d
run-parts --arg=$1 --arg=$2 --arg=$3 event.d
;;
esac

--

So before I try to find out my mistakes (broken or even missing
userland packages that might be required for 2.6.25, etc. etc. ..):

*** 1:

Anyone out there who got sleep working with 2.6.25, on this machine:

$ cat /proc/cpuinfo 
processor   : 0
cpu : 7447A, altivec supported
clock   : 833.333000MHz
revision: 0.5 (pvr 8003 0105)
bogomips: 16.57
timebase: 832
platform 

Re: USB speaker on iBook running Debian/Lenny

2008-02-21 Thread Wolfgang Pfeiffer
On Sun, Feb 17 2008, at 15:46 +0100, Ennio-Sr wrote:
 * Børge Holen [EMAIL PROTECTED] 
  [2008-02-17]:
   On Saturday 16 February 2008 20:41:14 Ennio-Sr wrote:
   [cut]
  
   you got drivers fore usb soundcard loaded?
  
 
 Here are the results for 'lsmod | grep snd and lsmod | grep usb':
 
 snd_aoa_i2sbus 24388  0 
 snd_aoa_soundbus7908  1 snd_aoa_i2sbus
 snd_usb_audio  94208  0 
 snd_usb_lib19392  1 snd_usb_audio
 snd_seq_oss39668  0 
 snd_seq_midi9664  0 
 snd_seq_midi_event  8064  2 snd_seq_oss,snd_seq_midi
 snd_seq60616  5 snd_seq_oss,snd_seq_midi,snd_seq_midi_event
 snd_rawmidi28384  2 snd_usb_lib,snd_seq_midi
 snd_seq_device  9420  4 snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
 snd_hwdep  10660  1 snd_usb_audio
 snd_powermac   48704  0 
 snd_pcm_oss52480  0 
 snd_mixer_oss  20384  1 snd_pcm_oss
 snd_pcm92324  4 snd_aoa_i2sbus,snd_usb_audio,snd_powermac,
   snd_pcm_oss
 snd_timer26084  2 snd_seq,snd_pcm
 snd67476  12 snd_aoa_i2sbus,snd_usb_audio,snd_seq_oss,
   snd_seq,snd_rawmidi,snd_seq_device,snd_hwdep,snd_powermac,snd_pcm_oss,
   snd_mixer_oss,snd_pcm,snd_timer
 soundcore   8900  1 snd
 snd_page_alloc 11976  1 snd_pcm
 
 -
 
 usb_storage91948  0 
 scsi_mod  181100  1 usb_storage
 usbserial  37584  1 airprime
 hci_usb18428  0 
 bluetooth  62700  5 rfcomm,l2cap,hci_usb
 
 
 Do you think some module is missing?
 

I don't know. 

I grep-ed some mildly fresh (3 or 4 weeks old) kernel sources for the
name of the speakers that do not work ... to no avail so far. It might
be helpful to know how the software on your machine recognizes the
name of the ext. speakers ... see below for that, please.

So what might be helpful:

*** 1:

Does sound work if you unplug the external speakers?

*** 2:

What does 'dmesg' (or the various logs in /var/log/) say at the moment
you connect/disconnect your external usb-speakers?

*** 3:

Output from 'lsusb' the time the ext. speakers are connected to your
computer - if you think it's related to these speakers?


*** 3:

What kernel-version does this happen on? Did you try a very fresh
kernel from unstable (provided this works)?

*** 4:

Perhaps this: your hardware (cat /proc/cpuinfo)?

*** 5:

... What ever you think might be helpful to let us know ...


HTH

Best Regards
Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://heelsbroke.blogspot.com/

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: USB speaker on iBook running Debian/Lenny

2008-02-21 Thread Wolfgang Pfeiffer
On Thu, Feb 21 2008, at 19:06 +0100, Ennio-Sr wrote:

 Well ... this is a very good one: while perusing 'man mplayer' I
 dicovered an option I'd never used; started to play with it and finally,
 putting this line in /etc/mplayer/mplayer.conf:
 
 ao=alsa:noblock:device=hw=1.0
 
 I was able to ear sound coming out of my usb speaker! ;-)
 

This 'hw=1.0' snippet above seems interesting: Do you have a
'/etc/asound.names' installed? I'm not sure if this file is still
necessary with today's snd_aoa* drivers, but I'd give it a try in case
things don't work as expected. Here's a bit more on it, search for
'asound.names' on that page:

http://www.thinkwiki.org/wiki/Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60

I attach my own 'asound.names' file. I wouldn't recommend installing it,
because I'm not sure we have the same sound hardware ... Anyway: if
you have the file installed I'd recommend backing it up before
changing it 

Just in case: this is what the attached file seems to be working on
relatively flawlessly, AFAIKS:

$ cat /proc/cpuinfo 
processor   : 0
cpu : 7447A, altivec supported
clock   : 833.333000MHz
revision: 0.5 (pvr 8003 0105)
bogomips: 16.57
timebase: 832
platform: PowerMac
machine : PowerBook5,8
motherboard : PowerBook5,8 MacRISC3 Power Macintosh 
detected as : 287 (PowerBook G4 15)
pmac flags  : 0019
L2 cache: 512K unified
pmac-generation : NewWorld 

Good luck!

Best Regards
Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://heelsbroke.blogspot.com/

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on
ctl {
alsactl1 {
name hw:0
comment 'Physical Device - SoundByLayout'
}
}
pcm {
alsactl1 {
name default:0
comment 'Abstract Device - Default Device (Duplex)'
}
alsactl2 {
name plug:default:0
comment 'Abstract Device With Conversions - Default Device 
(Duplex)'
}
alsactl3 {
name front:0
comment 'Abstract Device - Front Speakers (Duplex)'
}
alsactl4 {
name plug:front:0
comment 'Abstract Device With Conversions - Front Speakers 
(Duplex)'
}
alsactl5 {
name 'hw:0,0'
comment 'Physical Device -  (Duplex)'
}
alsactl6 {
name 'plughw:0,0'
comment 'Physical Device With Conversions -  (Duplex)'
}
}
rawmidi {
alsactl1 {
name virtual
comment 'Virtual Device - Sequencer (Duplex)'
}
alsactl2 {
name 'virtual:MERGE=0'
comment 'Virtual Device - Sequencer (No Merge) (Duplex)'
}
}
timer {
alsactl1 {
name 'hw:CLASS=1,SCLASS=0,CARD=-1,DEV=0,SUBDEV=0'
comment 'Physical Device - system timer'
}
}
seq {
alsactl1 {
name default
comment 'Default Device - Sequencer (Duplex)'
}
alsactl2 {
name hw
comment 'Physical Device - Sequencer (Duplex)'
}
}


Re: error: eth1: switching to forced 10bt

2008-01-12 Thread Wolfgang Pfeiffer
On Sat, Jan 12 2008, at 11:22 +0100, Peter O'Doherty wrote:
 Thanks a lot for your help Wolfgang.

 When I try sysv-rc ...etc I get the following error:

 -bash sysv-rc-conf: command not found

http://www.google.com/search?hl=enq=%22sysv-rc-conf%3A+command+not+found%22btnG=Google+Search

or, again:
http://wolfgangpfeiffer.com/foolinglinux.html#rc


 Please bear with me as I am a total linux newbie 

http://www.debian.org/doc/

 so I have no idea how to find these scripts (/etc/init.b/ or in
 /etc/rcX.d). 

in an xterm, I'd type mc. If that does not work:

apt-get install mc

 In any case these messages (about eth1) keep appearing
 without giving you the chance to type uninterrupted.

man ifdown

as root:
ifdown eth1

Good luck

Best Regards
Wolfgang
-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://heelsbroke.blogspot.com/

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: error: eth1: switching to forced 10bt

2008-01-12 Thread Wolfgang Pfeiffer
On Sat, Jan 12 2008, at 11:22 +0100, Peter O'Doherty wrote:

 Please bear with me as I am a total linux newbie so I have no idea how to 
 find these scripts (/etc/init.b/ or in
   ^^
My bad: It's /etc/init.d/ ...

 /etc/rcX.d). In any case these messages (about eth1) keep appearing without 
 giving you the chance to type uninterrupted.


Sorry

Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://heelsbroke.blogspot.com/

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: error: eth1: switching to forced 10bt

2008-01-11 Thread Wolfgang Pfeiffer
On Fri, Jan 11 2008, at 22:08 +0100, Peter O'Doherty wrote:
 Hi List,

 I've just installed debian for the first time on a Mac PowerPC and everytime 
 I boot, the following error commands appear alternating every few seconds:

 eth1: switching to forced 10bt
 eth1: switching to forced 100bt

I'm not sure, whether this is actually an error message. It looks more
like an informational one to me ... (tho' I have to guess on the
meaning of 'bt' ..) 


 I don't wish to set up a network at this stage and thought I selected that 
 option during installation.

I'd try this:

sysv-rc-conf networking off

more on that:
http://wolfgangpfeiffer.com/foolinglinux.html#rc

But I'm not sure, because I just realized my networking routines, here
on Debian/unstable, seem to react weird:

# ifdown eth0
ifdown: interface eth0 not configured

But when running 'ifconfig', eth0 still is showing up ... 

so you might want having a look to the scripts in /etc/init.b/ or in
/etc/rcX.d if the 'sysv-rc-conf' incantation does not help ...

HTH

Best Regards
Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://heelsbroke.blogspot.com/

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: make-kpkg utsrelease.h ... does not match current version

2008-01-10 Thread Wolfgang Pfeiffer
On Thu, Jan 10 2008, at 08:47 +0100, Gaudenz Steinlin wrote:
 On Thu, Jan 10, 2008 at 02:45:41AM +0100, Wolfgang Pfeiffer wrote:
  On Wed, Jan 09 2008, at 23:43 +0100, Elimar Riesebieter wrote:
   On Wed, 09 Jan 2008 the mental interface of
   Wolfgang Pfeiffer told:
   
Since hours I'm trying to compile one of the latest git kernel
sources: all builds break like this:

---
== making target
install/linux-image-2.6.24-rc6-2008.01.09-g91183344-dirty-g91183344-dirty-dirty
[new prereqs: ]==
This is kernel package version 11.001.
echo The UTS Release version in include/linux/utsrelease.h; echo 
\2.6.24-rc6-2008.01.09-g91183344-dirty\ ; echo does not match
current version:; echo 
   
   What tells head -10 Makefile in kernel root dir?
  
  With a - in the meantime -  about 2 hours old kernel source tree:
  
  -
  VERSION = 2
  PATCHLEVEL = 6
  SUBLEVEL = 24
  EXTRAVERSION = -rc7
  NAME = Arr Matey! A Hairy Bilge Rat!
 
 There seems to bee a version mismatch (rc7 vs. rc6 above). 

No. Perhaps I wasn't clear enough in my last message: I got the very
latest git sources - after deleting the complete rc6 tree - and *then*
tried another compile with these fresh sources that were rc7 now. A
look at my previous message will show the end of that rc7 compile.

 Did you try to run make-kpkg clean first?

Not only that: Before I ran it, I had to do a

fakeroot make distclean / fakeroot make clean

because make-kpkg wasn't, as it seems, even able to clean the tree
without it:

-

$ fakeroot make-kpkg modules_clean clean
exec debian/rules  DEBIAN_REVISION=+1st.run  modules_clean clean 
echo The UTS Release version in include/linux/utsrelease.h; echo  
\2.6.24-rc7-2008.01.10-gfd0b45df-dirty\ ; echo does not match current 
version:; echo  \2.6.24-rc7-gfd0b45df-dirty-gfd0b45df-dirty-dirty\ ; 
echo Please correct this.; exit 2
The UTS Release version in include/linux/utsrelease.h
 2.6.24-rc7-2008.01.10-gfd0b45df-dirty 
does not match current version:
 2.6.24-rc7-gfd0b45df-dirty-gfd0b45df-dirty-dirty 
Please correct this.
make: *** [modules_clean] Error 2




 make-kpkg is rather picky about this. In most cases it does not
 allow building of unclean sources.

I do that clean always - provided I don't forget it .. :) ...  I'm not
sure whether I did it with the freshly fetched rc7 sources - but with
really uncompiled, fresh sources this shouldn't be necessary, should
it?

 If you want to
 speed up compilation time you can use ccache.

Thanks for that hint. Never done that ... but I found that about it:

http://www.debian-administration.org/articles/129

If I can avoid the Powerbook fans roaring up like some truck (OK, not
like *that* ... :) I really shall enjoy that ... After 8 or 10
compiles I don't even want to hear these fans ... :)

Thanks again

Best Regards
Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://heelsbroke.blogspot.com/

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



[Workarounded!] Re: make-kpkg utsrelease.h ... does not match current version

2008-01-10 Thread Wolfgang Pfeiffer
Hi All

Thanks to Bin I found a workaround: He asked a good question, that
left me without an answer ... :)

On Wed, Jan 09 2008, at 20:27 +0100, Wolfgang Pfeiffer wrote:
 Since hours I'm trying to compile one of the latest git kernel
 sources: all builds break like this:
 


Most important first: the .config change below, i.e. switching off
LOCALVERSION_AUTO, helped to finish the compile until building the
kernel .deb: 

---

$ diff -u ../../.config.2008.01.09 .config
--- ../../.config.2008.01.092008-01-09 12:08:47.0 +0100
+++ .config 2008-01-10 12:24:53.0 +0100
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
-# Linux kernel version: 2.6.24-rc6+first.run
-# Wed Jan  9 12:08:47 2008
+# Linux kernel version: 2.6.24-rc7-2008.01.10
+# Thu Jan 10 12:24:53 2008
 #
 # CONFIG_PPC64 is not set
 
@@ -60,7 +60,7 @@
 CONFIG_BROKEN_ON_SMP=y
 CONFIG_INIT_ENV_ARG_LIMIT=32
 CONFIG_LOCALVERSION=
-CONFIG_LOCALVERSION_AUTO=y
+# CONFIG_LOCALVERSION_AUTO is not set
 CONFIG_SWAP=y
 CONFIG_SYSVIPC=y
 CONFIG_SYSVIPC_SYSCTL=y

--

Funny thing: I didn't believe this LOCALVERSION_AUTO option was
related to this issue as I compiled successfully at least one
git-kernel around summer 2006, with exactly this option turned
on. 
BTW: I think I was wrong in one of my previous messages when writing I
used kernel-package=10.060 then: it probably was some of the versions
before that one.

To narrow down the issue:

Has anyone out there - with a mildly fresh Debian/unstable or
experimental - managed to compile, with make-kpkg, a git(!)-kernel tree with 

CONFIG_LOCALVERSION_AUTO=y

?

Those who use the (non-git?) kernel sources from 
http://www.kernel.org/pub/linux/kernel/v2.6/

Can you successfully compile with make-kpkg with 

CONFIG_LOCALVERSION_AUTO=y

?

Oh yes: the one liner I used today for the successful build, IINM:

time MAKEFLAGS=CC=gcc-4.1 fakeroot make-kpkg --append-to-version=-2008.01.10 
--revision +1st.run kernel_image

I suspect #423721 being responsible for this failure. I add a report
to that page ASAP ...

Thanks to everyone for your support

Best Regards
Wolfgang
-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://heelsbroke.blogspot.com/

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



ccache compile speed gain [was: Re: make-kpkg utsrelease.h [ ... ]

2008-01-10 Thread Wolfgang Pfeiffer
On Thu, Jan 10 2008, at 08:47 +0100, Gaudenz Steinlin wrote:

 [ ... ] If you want to speed up compilation time you can use ccache.

Indeed: A full kernel compile with make-kpkg here is finished about 3
times sooner with ccache.

Without ccache the compile takes about 40 minutes here, on a
Powerbook5,8. With ccache enabled, on the same machine, about 14
minutes  :)

Invaluably useful hint: Lots of thanks, Gaudenz.

Speeding up recompilation with ccache:
http://www.debian-administration.org/articles/129

Best Regards
Wolfgang
-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://heelsbroke.blogspot.com/

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Bug#423721: kernel-package: [Powerpc] Not just bogus version-# annoyance: deb build fails with CONFIG_LOCALVERSION_AUTO=y

2008-01-10 Thread Wolfgang Pfeiffer
Package: kernel-package
Version: 11.001
Followup-For: Bug #423721


Hi All

Similar to #390924 the compile completely fails with git kernels as
long as LOCALVERSION_AUTO is turned on. But other than on #390924 the
fail does no seem to have anything to do with GREP_OPTIONS in the
user's environment being exported.

For example, having disabled in a rather fresh git tree
CONFIG_LOCALVERSION_AUTO the compile will finish cleanly in an
environment where GREP_OPTIONS are exported like so:

env | grep -i grep
GREP_COLOR=31
GREP_OPTIONS=--color=auto

In the same xterm, with the env values from above, I can successfully
compile a git-kernel, as long as I have CONFIG_LOCALVERSION_AUTO
switched off.
The kernel where this worked:
-
git branch -v
* master fd0b45d Merge 
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
---

Output head -6 Makefile in the tree where the compile worked: 
---
$ head -6 Makefile
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 24
EXTRAVERSION = -rc7
NAME = Arr Matey! A Hairy Bilge Rat!


The command used for the build:

time MAKEFLAGS=CC=gcc-4.1 fakeroot make-kpkg 
--append-to-version=-2008.01.10.a --revision +2nd.no.localversion+env.with.grep 
kernel_image

Result, IINM:

linux-image-2.6.24-rc7-2008.01.10.a_+2nd.no.localversion+env.with.grep_powerpc.deb

As soon as I switch on CONFIG_LOCALVERSION_AUTO in the kernel .config,
the deb kernel package build will fail with errors similar to the ones
below: and it does not seem to matter whether GREP_OPTIONS are
exported or not:

-
echo done  debian/stamp-build-kernel
== making target
install/linux-image-2.6.24-rc7-2008.01.10-gfd0b45df-dirty-gfd0b45df-dirty-dirty 
[new
prereqs: ]==
This is kernel package version 11.001.
echo The UTS Release version in include/linux/utsrelease.h; echo 
\2.6.24-rc7-2008.01.10-gfd0b45df-dirty\ ; echo does not match current 
version:; echo
 \2.6.24-rc7-2008.01.10-gfd0b45df-dirty-gfd0b45df-dirty-dirty\ ; echo 
Please
correct this.; exit 2
The UTS Release version in include/linux/utsrelease.h
 2.6.24-rc7-2008.01.10-gfd0b45df-dirty
does not match current version:
 2.6.24-rc7-2008.01.10-gfd0b45df-dirty-gfd0b45df-dirty-dirty
Please correct this.
make: ***
[install/linux-image-2.6.24-rc7-2008.01.10-gfd0b45df-dirty-gfd0b45df-dirty-dirty]
 Error 2
-

Interestingly enough this .deb build fail did not always seem to
happen with CONFIG_LOCALVERSION_AUTO turned on:

This package:

linux-image-2.6.18-rc4-060811-dirty_2.6.18-rc4-060811-dirty-10.00.Custom_powerpc.deb

was built in August 2006 with CONFIG_LOCALVERSION_AUTO=y ... :)

We had a small discussion on the subject on the powerpc list over the
last hours, with a few more details, hopefully:

make-kpkg utsrelease.h ... does not match current version
http://lists.debian.org/debian-powerpc/2008/01/threads.html#00027

Please let me know if you need more information.

Best Regards
Wolfgang

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.18-rc4-060811-dirty
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages kernel-package depends on:
ii  dpkg  1.14.12package maintenance system for Deb
ii  dpkg-dev  1.14.12package building tools for Debian
ii  file  4.21-3 Determines file type using magic
ii  gcc [c-compiler]  4:4.2.1-6  The GNU C compiler
ii  gcc-4.0 [c-compiler]  4.0.3-7The GNU C compiler
ii  gcc-4.1 [c-compiler]  4.1.2-17   The GNU C compiler
ii  gcc-4.2 [c-compiler]  4.2.2-4The GNU C compiler
ii  gettext   0.16.1-2   GNU Internationalization utilities
ii  make  3.81-3 The GNU version of the make util
ii  perl  5.8.8-12   Larry Wall's Practical Extraction 
ii  po-debconf1.0.10 manage translated Debconf template

Versions of packages kernel-package recommends:
ii  bzip2 1.0.3-7high-quality block-sorting file co
ii  libc6-dev [libc-dev]  2.7-3  GNU C Library: Development Librari

-- no debconf information



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



Re: kernel-package: [Powerpc] Not just bogus version-# annoyance: deb build fails with CONFIG_LOCALVERSION_AUTO=y

2008-01-10 Thread Wolfgang Pfeiffer
On Thu, Jan 10 2008, at 22:35 +0100, Wolfgang Pfeiffer wrote:
 
 Output head -6 Makefile in the tree where the compile worked: 
 ---
 $ head -6 Makefile
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 24
 EXTRAVERSION = -rc7
 NAME = Arr Matey! A Hairy Bilge Rat!
 

Wrong: Output was looking like this (minus 1st line from above):

---
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 24
EXTRAVERSION = -rc7
NAME = Arr Matey! A Hairy Bilge Rat!
--

Sorry for the overhead ...

Regards
Wolfgang


-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://heelsbroke.blogspot.com/

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: Bug#423721: kernel-package: [Powerpc] Not just bogus version-# annoyance: deb build fails with CONFIG_LOCALVERSION_AUTO=y

2008-01-10 Thread Wolfgang Pfeiffer
On Thu, Jan 10 2008, at 22:35 +0100, Wolfgang Pfeiffer wrote:
 Package: kernel-package
 Version: 11.001
 Followup-For: Bug #423721
 
 
 Hi All
 
 Similar to #390924 the compile completely fails with git kernels as
 long as LOCALVERSION_AUTO is turned on. 

completely fails might be exaggerated: Actually just the deb package
build failed. vmlinux in the sources tree might have been built
... not being sure tho ...

Wolfgang 

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://heelsbroke.blogspot.com/

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



make-kpkg utsrelease.h ... does not match current version

2008-01-09 Thread Wolfgang Pfeiffer
Since hours I'm trying to compile one of the latest git kernel
sources: all builds break like this:

---
== making target
install/linux-image-2.6.24-rc6-2008.01.09-g91183344-dirty-g91183344-dirty-dirty
[new prereqs: ]==
This is kernel package version 11.001.
echo The UTS Release version in include/linux/utsrelease.h; echo 
\2.6.24-rc6-2008.01.09-g91183344-dirty\ ; echo does not match
current version:; echo 
\2.6.24-rc6-2008.01.09-g91183344-dirty-g91183344-dirty-dirty\ ;
echo Please correct this.; exit 2
The UTS Release version in include/linux/utsrelease.h
 2.6.24-rc6-2008.01.09-g91183344-dirty
does not match current version:
 2.6.24-rc6-2008.01.09-g91183344-dirty-g91183344-dirty-dirty
Please correct this.
make: ***
[install/linux-image-2.6.24-rc6-2008.01.09-g91183344-dirty-g91183344-dirty-dirty]
Error 2

real38m32.015s
user33m45.130s
sys 4m5.898s



command applied:
time MAKEFLAGS=CC=gcc-4.1 fakeroot make-kpkg
--append-to-version=-2008.01.09 --revision +1st.run kernel_image

And yes, I cleaned the sources after every single build ... 

I know there was a similar instance where GREP_OPTIONS seemingly
prevented a build. 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=390924

I don't believe this was the cause as there are no exported GREP
environment settings whatsoever in my user environment any more: I
removed all settings in that regard that I am aware of, rebooted the
machine to be sure there wasn't some setting still running in memory -
to no avail.

env | grep -i grep

returns nothing.

There seems to be an unsolved (?) bug similar to the one above:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=423721

And I'm out of ideas.

Anyone had the same issues?

Best Regards
Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://heelsbroke.blogspot.com/

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



[Addendum] Re: make-kpkg utsrelease.h ... does not match current version

2008-01-09 Thread Wolfgang Pfeiffer
On Wed, Jan 09 2008, at 20:27 +0100, Wolfgang Pfeiffer wrote:
 Since hours I'm trying to compile one of the latest git kernel
 sources: all builds break like this:

.. the last line should say:
sources: all builds break with something similar to this:


 
 ---
 == making target
 install/linux-image-2.6.24-rc6-2008.01.09-g91183344-dirty-g91183344-dirty-dirty
 [new prereqs: ]==
 This is kernel package version 11.001.
 echo The UTS Release version in include/linux/utsrelease.h; echo 
 [  ]

 
 command applied:
 time MAKEFLAGS=CC=gcc-4.1 fakeroot make-kpkg
 --append-to-version=-2008.01.09 --revision +1st.run kernel_image

... I slightly varied the command above sometimes, just to be more
sure it wasn't a syntax problem ...


 
 And yes, I cleaned the sources after every single build ... 
 

 ... and one build was even done on a console, to prevent KDE/KDM
env. settings I might not be aware of ... didn't help either ...

Best Regards
Wolfgang 

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://heelsbroke.blogspot.com/

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



Re: make-kpkg utsrelease.h ... does not match current version

2008-01-09 Thread Wolfgang Pfeiffer
On Wed, Jan 09 2008, at 23:43 +0100, Elimar Riesebieter wrote:
 On Wed, 09 Jan 2008 the mental interface of
 Wolfgang Pfeiffer told:
 
  Since hours I'm trying to compile one of the latest git kernel
  sources: all builds break like this:
  
  ---
  == making target
  install/linux-image-2.6.24-rc6-2008.01.09-g91183344-dirty-g91183344-dirty-dirty
  [new prereqs: ]==
  This is kernel package version 11.001.
  echo The UTS Release version in include/linux/utsrelease.h; echo 
  \2.6.24-rc6-2008.01.09-g91183344-dirty\ ; echo does not match
  current version:; echo 
 
 What tells head -10 Makefile in kernel root dir?

With a - in the meantime -  about 2 hours old kernel source tree:

-
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 24
EXTRAVERSION = -rc7
NAME = Arr Matey! A Hairy Bilge Rat!

# *DOCUMENTATION*
# To see a list of typical targets execute make help
# More info can be located in ./README
# Comments in this file are targeted only to the developer, do no
-

$ git branch -v
* master fd0b45d Merge 
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6

Build's still going belly up on me:
-
echo done  debian/stamp-build-kernel
== making target 
install/linux-image-2.6.24-rc7-2008.01.10-gfd0b45df-dirty-gfd0b45df-dirty-dirty 
[new prereqs: ]==
This is kernel package version 11.001.
echo The UTS Release version in include/linux/utsrelease.h; echo  
\2.6.24-rc7-2008.01.10-gfd0b45df-dirty\ ; echo does not match current 
version:; echo  
\2.6.24-rc7-2008.01.10-gfd0b45df-dirty-gfd0b45df-dirty-dirty\ ; echo Please 
correct this.; exit 2
The UTS Release version in include/linux/utsrelease.h
 2.6.24-rc7-2008.01.10-gfd0b45df-dirty 
does not match current version:
 2.6.24-rc7-2008.01.10-gfd0b45df-dirty-gfd0b45df-dirty-dirty 
Please correct this.
make: *** 
[install/linux-image-2.6.24-rc7-2008.01.10-gfd0b45df-dirty-gfd0b45df-dirty-dirty]
 Error 2


I'll try going back to v2.6.24-rc{5,4,3 ...}, doing a general
dist-upgrade (current softw. here is about 3 weeks old unstable .. )

Getting curious on how far I'll have to check back the kernel tree for
a successful make-kpkg build ...

kernel-package=10.060, this evening, if I recall that version
correctly, didn't help either ... tho' I must have been doing
successful kernel compiles in 2006 with that version, IINVMM ...

 .. tomorrow

Thanks, Elimar.

Good Night

Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://heelsbroke.blogspot.com/

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


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



  1   2   3   4   5   6   >