Re: Bug#765104: Update hfsprogs to 572.1.1

2020-04-24 Thread Rogério Brito
Dear John Paul,

On Jul 03 2019, John Paul Adrian Glaubitz wrote:
> Are you still interested working on hfsprogs or do you want me to take the
> package over? Updating to a newer version of hfsprogs is surely needed now
> and if you are no longer interested in maintaining the package, it would
> be best to orphan it and me or someone else pick it up for maintenance.

I don't know if you received my last message, but, if not, feel free to
adopt this package.


Thanks,

Rogério Brito.

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br



Re: hfsprogs is not DFSG-Free

2020-04-20 Thread Rogério Brito
Em 19 de abril de 2020 05:20:39 BRT, John Paul Adrian Glaubitz 
 escreveu:
>Hi!
>
>hfsprogs is mandatory for the debian-installer on Apple Power Mac,
>removing it, would break debian-installer for said platform.
>
>I will adopt the package if Rogério is not willing to maintain it.
>
>Adrian

Hi, Adrian.

Please, go ahead and adopt the package.

Thanks,

Rogério Brito.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: Bug#765104: Update hfsprogs to 572.1.1

2019-02-01 Thread Rogério Brito
Dear John Paul,


On Tue, Jan 29, 2019 at 8:13 AM John Paul Adrian Glaubitz
 wrote:
> Both Fedora and Arch are shipping a patched version 540.1 [1, 2],
> so updating to newer versions seems possible with some elbow
> grease.

> > [1] https://src.fedoraproject.org/rpms/hfsplus-tools/tree/master
> > [2] https://aur.archlinux.org/packages/hfsprogs/

Thanks for the pointers. I will try to work on these ASAP (including
some at least another package of mine), since the new version that
they may have package is sure to have many, many fixes and new
features, compared to what we currently have in Debian.

> Could you maybe import the sources from Fedora and thus update the
> Debian package to version 540.1?

Will do (and migrate everything to salsa and modernize the package,
eliminate patches etc.).

> Thanks,
> Adrian

Thanks,

Rogério Brito.

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br



Re: Debian sid testing progress

2018-08-14 Thread Rogério Brito

Hi.

It's been a while (several months) since I last updated my iBook G4 with 
Debian, but I recall some stuff not working correctly and I saw those 
mentioned in the thread pointed to in a previous email.


On 2018-08-13 14:29, swamprock wrote:

FWIW, I am currently trying to fix the Rust compiler on 32-bit PowerPC so
that we will eventually be able to use Firefox and Thunderbird on PowerPC
again.


That would certainly be very nice, Adrian, since without that, we have 
essentially no browser on PowerPC (and, the ones that we had had many 
issues that I can't recall right now).


BTW, which browsers are other people working?

Brian, if you can, please tell other people to subscribe to the list or 
to use Thunderbird to read the list via news.gmane.org gateway (this 
way, people don't get flooded with emails if they don't read their 
emails in a timely fashion).



Nice. I wish my coding skills weren't so old-school, or I could offer help 
beyond just testing. It would be nice to see Quantum's speed and efficiency (to 
the extent that it would be effective) on PPC machines. This could possibly 
have a carry-over affect on TenFourFox, the Mac OS X/PowerPC fork of 
Firefox-ESR, as Cameron is basically left to applying security patches and 
optimizations to the old ESR code.


Some of the code (that is, the non-OSX parts) that Kaiser Cameron is 
producing (especially the Altivec optimizations to decoding videos and 
the JIT of Firefox) would be quite welcome if supplied in a clean 
fashion to Mike Hommey, the Debian maintainer of Firefox (who also 
happens to be an upstream developer at Mozilla).



Thanks to all involved with maintaining this port.


You're welcome. Please join us on #debian-ports on OFTC on IRC if you would
like to get into contact. New help is always welcome.


Will do, time permitting. I'll notify the MacRumors thread of your reply. 
Thanks!


I saw people mentioning that playing videos with mplayer, vlc etc is 
slow on G4 machines. That is because packages in Debian are compiled for 
the lowest common denominator, which is no Altivec at all.


Unfortunately, even if I grab the sources of the Debian ffmpeg package 
and recompile it with Altivec enabled, but without the -mabi=altivec (or 
something like that---don't recall exactly, since, as I said, it's been 
months without touching my iBook), there is no change in performance.


Once I add that option (which changes the ABI), ffmpeg can transcode 
videos 2x as fast and so on. I expect the same things to happen with 
other multimedia libraries/programs (and other programs in general).


Oh, some hints to get VLC, mplayer, mpv etc. working faster on the 
PowerPCs is to disable the loopfilter for H.264 videos (the "mp4" 
videos) and to enable the "fast" processing of lavf.


Something like the following in your ~/.mplayer/config would help:

lavdopts=fast=1:skiploopfilter=nonref

You can substitute nonref by all (but then, the video gets very blocky).

If you can/wish, you (and other members of the forum) can probably 
compile these facts as a FAQ on the Debian wiki (there is an Ubuntu wiki 
about PowerPC that is likely to be outdated, but it had some good advice 
that may not be appliable anymore, due to software having evolved).


https://wiki.debian.org/PowerPC/FAQ
https://wiki.debian.org/DebianOnPowerPC
https://wiki.debian.org/PowerPC/SoundCards
https://wiki.ubuntu.com/PowerPCFAQ
https://wiki.ubuntu.com/PowerPCKnownIssues

(Maybe unify the contents of the pages above would help and also make 
clear what are the issues that are still present or not).


Ideally, some of these issues could be automated and the installs should 
"just work".



Regards,

--
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br



Bug#862312: telegram-desktop: segfaults on powerpc

2017-05-10 Thread Rogério Brito
Package: telegram-desktop
Version: 1.0.29-1
Severity: important

Hi.

I just installed telegram-desktop on my sid system running my PowerPC iBook
G4 and, when I launch it, all that I get is a segfault.

Here is the result of running telegram-desktop under gdb with the debug
symbol packages installed:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(gdb) continue
Continuing.

Thread 1 "telegram-deskto" received signal SIGSEGV, Segmentation fault.
0x2022cc80 in t_assert_fail(char const*, char const*, int) (message=, file=, line=104)
at ./out/Release/../../Telegram/SourceFiles/core/utils.h:53
53  ./out/Release/../../Telegram/SourceFiles/core/utils.h: No such file or 
directory.
(gdb) bt
#0  0x2022cc80 in t_assert_fail(char const*, char const*, int) 
(message=, file=, line=104)
at ./out/Release/../../Telegram/SourceFiles/core/utils.h:53
#1  0x203f7728 in PrepareNotifySound () at 
./Telegram/SourceFiles/media/media_audio.cpp:104
#2  Media::Player::InitAudio() () at 
./Telegram/SourceFiles/media/media_audio.cpp:297
#3  0x204074c0 in Media::Player::start() () at 
./Telegram/SourceFiles/media/player/media_player_instance.cpp:36
#4  0x207e8b74 in Messenger::Messenger() (this=this@entry=0x21a09b10) at 
./Telegram/SourceFiles/messenger.cpp:88
#5  0x20643c50 in make_unique () at /usr/include/c++/6/bits/unique_ptr.h:791
#6  Application::createMessenger() (this=) at 
./Telegram/SourceFiles/application.cpp:315
#7  0x20644004 in Sandbox::launch() () at 
./Telegram/SourceFiles/application.cpp:659
#8  0x206441d4 in Application::singleInstanceChecked() 
(this=this@entry=0xbfffec90)
at ./Telegram/SourceFiles/application.cpp:223
#9  0x20644428 in Application::socketError(QLocalSocket::LocalSocketError) 
(this=0xbfffec90, e=)
at ./Telegram/SourceFiles/application.cpp:196
#10 0x1d700aec in QMetaObject::activate (sender=sender@entry=0xbfffecac, 
signalOffset=, 
local_signal_index=, argv=) at 
kernel/qobject.cpp:3740
#11 0x1d70127c in QMetaObject::activate (sender=sender@entry=0xbfffecac, 
m=m@entry=0x1e78da64 , 
local_signal_index=local_signal_index@entry=2, 
argv=argv@entry=0xbfffe9d4) at kernel/qobject.cpp:3602
#12 0x1e6ece00 in QLocalSocket::error (this=this@entry=0xbfffecac, 
_t1=, 
_t1@entry=QLocalSocket::ConnectionRefusedError) at 
.moc/moc_qlocalsocket.cpp:221
#13 0x1e6f7640 in QLocalSocketPrivate::errorOccurred 
(this=this@entry=0x21a3a140, 
error=error@entry=QLocalSocket::ConnectionRefusedError, function=...) at 
socket/qlocalsocket_unix.cpp:211
#14 0x1e6f83cc in QLocalSocketPrivate::_q_connectToSocket 
(this=this@entry=0x21a3a140) at socket/qlocalsocket_unix.cpp:293
#15 0x1e6f85b0 in QLocalSocket::connectToServer (this=this@entry=0xbfffecac, 
openMode=...)
at socket/qlocalsocket_unix.cpp:253
#16 0x1e6ed3d4 in QLocalSocket::connectToServer (this=this@entry=0xbfffecac, 
name=..., openMode=...)
at socket/qlocalsocket.cpp:386
#17 0x20644aa0 in Application::Application(int&, char**) (this=0xbfffec90, 
argc=, argv=)
at ./Telegram/SourceFiles/application.cpp:107
#18 0x201dd7dc in main (argc=, argv=0xbfffef44) at 
./Telegram/SourceFiles/main.cpp:50
(gdb) 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

If any extra information is needed, please let me know.


Thanks,

Rogério Brito.

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: powerpc
 (ppc)

Kernel: Linux 4.9.0-3-powerpc
Locale: LANG=en_US.utf-8, LC_CTYPE=pt_BR.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages telegram-desktop depends on:
ii  libavcodec57 7:3.2.4-1
ii  libavformat577:3.2.4-1
ii  libavutil55  7:3.2.4-1
ii  libc62.24-10
ii  libgcc1  1:6.3.0-17
ii  libglib2.0-0 2.50.3-2
ii  libminizip1  1.1-8+b1
ii  libopenal1   1:1.17.2-4+b2
ii  libqt5core5a [qtbase-abi-5-7-1]  5.7.1+dfsg-3+b1
ii  libqt5gui5   5.7.1+dfsg-3+b1
ii  libqt5network5   5.7.1+dfsg-3+b1
ii  libqt5widgets5   5.7.1+dfsg-3+b1
ii  libssl1.0.2  1.0.2k-1
ii  libstdc++6   6.3.0-17
ii  libswresample2   7:3.2.4-1
ii  libswscale4  7:3.2.4-1
ii  libx11-6 2:1.6.4-3
ii  qt5-image-formats-plugins5.7.1~20161021-2
ii  zlib1g   1:1.2.8.dfsg-5

telegram-desktop recommends no packages.

telegram-desktop suggests no packages.

-- no debconf information

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br



Specifying the MTD partitions in a device tree

2015-05-14 Thread Rogério Brito
Hi.

I am sending this message to Debian/powerpc, Debian/arm lists because and
linuxppc-dev.  While the issue that I'm having is with a powerpc machine,
the arm people may also be of valuable help with device trees, since they
have to deal with them seemingly all the time.

Anyway, the problem that I have is as follows: I have a Kurobox HG (powerpc)
NAS that Riku Voipio donated me a few years ago.

Everything worked fine and I was able to get Debian (since kernel 2.6.20 or
similar) running up to with kernels 2.6.28 (if my memory serves me well).
With kernel 2.6.29, the partitions of the MTD device that this machine has
were not displayed anymore (only one big device was presented to the user).

In a recent exchange [0] with Scott Wood from the linuxppc-dev, I was
finally able to partition the MTD flash device with the original layout of
the device by passing an `mtdparts` option to the kernel.

[0]: http://permalink.gmane.org/gmane.linux.ports.ppc.embedded/80215


It seems, though, that the proper way to fix this issue for good is to
include such description in the DTS files for the particular board (in fact,
at least 2---but potentially 4---boards are affected by this).

I tried a few experiments with writing a patch to the existing dts files,
but I wasn't successful, since I am not sure about a good amount of the
things and I would appreciate some assistance here.

In particular, I don't know if I filled all the fields correctly and, also,
I don't know where I should graft the description of the flash chip in the
rest of the device tree.

Can anybody help here? I am sending a verbosely and dirty patch (not yet
suitable for inclusion in the main kernel tree) that I created (and which
didn't work) with as much information that I know about the system, but I
can surely collect more information.

Ideally, I would like to get many of the things automated and add support
for the Kurobox HD/HG to the Debian installer, so that people with these
devices can breathe new life into their systems (instead of the original
2.4.20 kernel that came with it).

I would ge greateful for anybody that can help here. I hope to both learn
and help with the maintainance of such machines.


Once again, thanks a lot for any help,

Rogério Brito.

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
From a4e80dc8edb19d323318900020e5cb2e010bda94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rog=C3=A9rio=20Brito?= rbr...@ime.usp.br
Date: Thu, 14 May 2015 02:42:22 -0300
Subject: [PATCH] arch/powerpc: dts: First try at specifying partitions for the
 Kurobox HG.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This is based on my (successful) experience with partitioning the MTD flash
device of the Kurobox HG by passing the `mtdparts` option to the kernel.

For the sake of documentation, the option that works is:

mtdparts=physmap-flash.0:3072k@0k(firmimg),448k@3072k(bootcode),64k@3520k(status),512k@3584k(conf),4096k@0k(full)

Unfortunately, my attempts at mimic'ing the line above in
arch/powerpc/boot/dts/kuroboxHG.dts didn't bear fruits so far.

Signed-off-by: Rogério Brito rbr...@ime.usp.br
---
 arch/powerpc/boot/dts/kuroboxHG.dts | 68 +
 1 file changed, 68 insertions(+)

diff --git a/arch/powerpc/boot/dts/kuroboxHG.dts b/arch/powerpc/boot/dts/kuroboxHG.dts
index 0e758b3..e3de7fb 100644
--- a/arch/powerpc/boot/dts/kuroboxHG.dts
+++ b/arch/powerpc/boot/dts/kuroboxHG.dts
@@ -143,5 +143,73 @@  add flash parts, rtc, ??
 0x7000 0x0 0x0 0x4 mpic 0x3 0x1
 			;
 		};
+
+		/* Based on a mix of information from:
+		   - personal experiments
+		   - http://buffalo.nas-central.org/wiki/Flash_ROM
+		   - Documentation/devicetree/bindings/mtd/mtd-physmap.txt
+		   - Documentation/devicetree/bindings/mtd/partition.txt
+		 */
+		flash@fff8 {
+			compatible = amd,am29lv320 /*  Fujitsu 29PL32TM-90PFTN 4MB Flash ROM chip */, cfi-flash;
+			reg = 0xfff8 0x40;
+			bank-width = 1; /* Found 1 x16 devices at 0x0 in 8-bit bank. */
+			device-width = 1; /* unneeded? */
+
+			/* linux,mtd-name = ; */ /* FIXME: unneeded? */
+			/* use-advanced-sector-protection = ; */ /* FIXME: unneeded? */
+			vendor-id = 0x0004; /* Manufacturer ID 0x04 */
+			device-id = 0x007e; /* Chip ID 0x7e */
+
+			erase-size = 0x1; /* 64 KiB */
+
+			#address-cells = 1; /* FIXME: verify */
+			#size-cells = 1; /* FIXME: verify */
+
+			/*
+
+			My (rbrito) u-boot currently uses:
+
+			   mtdparts=physmap-flash.0:3072k@0k(firmimg),448k@3072k(bootcode),64k@3520k(status),512k@3584k(conf),4096k@0k(full)
+
+			  For reference:
+
+			  * 3072KiB = 0x30
+			  *  448KiB =  0x7
+			  * 3520KiB = 0x37
+			  *   64KiB =  0x1
+			  * 3584KiB = 0x38
+			  *  512KiB =  0x8
+			  * 4096KiB = 0x40

Re: 3D acceleration for Radeon 9600 Pro chip on PowerBook G4

2015-04-07 Thread Rogério Brito
Hi, Herminio.

On 2015-04-07 21:30, Herminio Hernandez, Jr. wrote:
 I thought I would put an update on this thread. I finally was able to mesa
 patches for the r300 driver to work. I was not correctly applying the
 patches the last time I tried. I decided to revisit and this used the
 --dry-run option to verify they were correctly applying. Now I have 3D on
 my iBook G4 with falling back to 16 on my screen depth!

That's super cool. Can you run, say, xbmc on your ibook?

Regardless, can you please post the steps here so that others can
reproduce your steps?


Thanks,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/55248d3b.9090...@ime.usp.br



Re: 3D acceleration for Radeon 9600 Pro chip on PowerBook G4

2015-04-07 Thread Rogério Brito
Hi, Herminio.

Thanks for the description, but I have some questions.

On 2015-04-07 23:43, Herminio Hernandez, Jr. wrote:
 Here is what I did:
 
 1. grab the mesa source

Which version? From their git repository? From debian packages (e.g.,
apt-get source foo)?

 2. install 3 patches two from here
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746272 and one from here
 http://cgit.freedesktop.org/mesa/mesa/commit/?id=cfeb394224f2daeb2139cf4ec489a4dd8297a44d
 (i used the --dry-run option before I applied the patch to be sure there
 were no errors)

In which order are they patches to be applied (I haven't looked at them
to see if they are independent or not)? Michel, are these patches
unsuitable for inclusion upstream (if they are not already)?

 3. installed the dependencies and compiled. I followed the instructions on
 creating deb packages found on the Debian forums here
 http://forums.debian.net/viewtopic.php?f=16t=38976.

Great! Can you put the source Debian packages somewhere (the .dsc and
the .tar.{xz,bz2,gz} ones)? That would be great for continuing from
where you stopped (even better if you put the packaging in a git tree).


Thanks once again,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5524a2df.3050...@ime.usp.br



Bug#767771: icedtea-7-jre-jamvm: jamvm from 7u71-2.5.3-1 gives relocation errors

2014-11-02 Thread Rogério Brito
Package: icedtea-7-jre-jamvm
Version: 7u71-2.5.3-1
Severity: important

Hi.

I am trying to use any kind of Java Virtual Machine that is not the Zero VM
on PowerPC and, unfortunately, the package jamvm version 7u71-2.5.3-1 has a
serious regression: upon invoking `java -jamvm`, I get the following output:

$ java -jamvm
java: relocation error: 
/usr/lib/jvm/java-7-openjdk-powerpc/jre/lib/ppc/libjava.so: symbol 
JVM_FindClassFromCaller, version SUNWprivate_1.1 not defined in file libjvm.so 
with link time reference

Luckily, a reverting all the packages to version 7u65-2.5.2-4 make things
work again.

Is there any information else that I can provide so that we can have this
fixed for jessie?


Thanks,

Rogério Brito.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 3.16-3-powerpc
Locale: LANG=en_US.utf-8, LC_CTYPE=pt_BR.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages icedtea-7-jre-jamvm depends on:
ii  libc6   2.19-12
ii  openjdk-7-jre-headless  7u65-2.5.2-4
ii  zlib1g  1:1.2.8.dfsg-2

icedtea-7-jre-jamvm recommends no packages.

icedtea-7-jre-jamvm suggests no packages.

-- no debconf information

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141102170924.ga11...@ime.usp.br



mesa: Having the same issues as Elimar

2014-09-17 Thread Rogério Brito
Package: mesa
Followup-For: Bug #746272

Hi.

I am having the sasme issues as Elimar is having, under very similar
circumstances (with the exception that my card is a Mobility Radeon 9550,
while his is a 9600).

In particular, I can't run some programs, as they refuse to run. One example
is mpv with the driver opengl. I get, among other things:

,
| libGL error: failed to load driver: r300
| libGL error: failed to load driver: swrast
| [vo/opengl] no GLX support present
| [vo/opengl] OpenGL context creation failed!
| Error opening/initializing the selected video_out (-vo) device.
| Video: no video
| Video: no video
`

And no video appears. I can't also use other programs (desktop environments)
that need any hardware assistance.

If any further information is needed, please let me know. I don't have
access to this notebook as frequently as I'd like, though.


Thanks,

Rogério Brito.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 3.16-1-powerpc
Locale: LANG=en_US.utf-8, LC_CTYPE=pt_BR.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140918003436.ga7...@ime.usp.br



Alternative java/JVM working on armel/powerpc?

2014-07-09 Thread Rogério Brito
Hi there.

I would like to run some programs that require a JVM on alternative
platforms, like armel/powerpc (these are arches for which I have hardware
running Debian, but others might also be of interest).  (Please, feel free
to cross-post this message to other ports, if you deem this to be relevant.)

But anything related to Java is too slow on such architectures with the
default, unoptimized Zero JVM and I'm having some problems while trying to
use other JVM implementations that we have in the archive.

Based on this information, is there anybody out there that can help with
investigation of what works and what doesn't? I would love it if people
could perform a simple test by installing the packages scala and clojure1.4?

* Running clojure and typing (+ 1 1) (without the quotes) should give you
  back the answer 2.
* Running scala and typing 1 + 1 (again, without quotes) should also give
  you back the answer 2.

For each of these cases, does it get faster if you type it again (in which
case the JVM might be caching things)?

After that, can you install alternative JVMs? The packages are:

* jvm-7-avian-jre (for the Avian JVM)
* icedtea-7-jre-jamvm (for JamVM).

To make each be use by default, simply reorder the lines in

   /etc/java-7-openjdk/jvm-your-arch-here.cfg

In particular, does running with avian even work? All I got was an illegal
instruction. It is supposed to be a fast and memory efficient JVM and would
be a great thing to get running on arches where you can't upgrade your
memory as easily as with amd64 or i386.


Thanks in advance for any help here,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org/blog : Projects : https://github.com/rbrito/
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140710021334.ga5...@ime.usp.br



No 3D on iBook G4

2013-11-20 Thread Rogério Brito
Hi there.

I have an iBook G4 with a RV360/M12 [Mobility Radeon 9550] and I just
(re)installed Debian on it.

I mainly need only to play videos (like lectures from Coursera and
other MOOC initiatives) and, honestly, I don't really care for 3D
graphics, but the video players that I tried seem to do (especially
when they choose an opengl backend).

Anyway, with my current setup, I don't get any kind of OpenGL and I
have provided a snapshot of how things are configured in my system
at:


http://www.ime.usp.br/~rbrito/linux/debug-r300/1385003057-g4-linux-3.12-trunk-powerpc.tar.xz

Please note that I am currently booting with the options

radeon.agpmode=-1 video=offb:off video=radeonfb:off

After struggling a lot, I could get mplayer/mpv/vlc to play some
videos if I force XV to be used as the video backend, but, with mpv, I
get the following message:

 [vo/xv] X11 can't keep up! Waiting for XShm completion events...

While this is obviously based on impressions, the whole system feels
like everything is so slow regarding to graphics. :(

Also, not really sure if things are connected to this graphics thing
or not, with Iceweasel 17, I can use things OK, but with Icewease 24,
I simply get a segfault right at the start. Reverting back to version
17 makes it work again. Going back to version 24 makes it segfault
again. And so on. (Yes, everything with both clean and unclean
profiles).

I am now, BTW, using qupzilla for posting this (via gmail). :)

I suspect that newer versions of Iceweasel may be using something
related to WebGL and causing a crash?

If anybody has any hints, please let me know and I will do my best to
provide the necessary information.


Thanks in advance,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


--
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/CAOtrxKMDEZGUKjXximypBh5ys5Y=gbszm9d4z+q0fqy0ssf...@mail.gmail.com



Creating a PowerPC task force?

2013-11-20 Thread Rogério Brito
Dear people,

Motivated by:

* the results of the last call to porters
* the fact that PowerPC (at least) used to be an architecture where Debian
  shined
* the lack of external support (which means that we should help ourselves)
* the documentation that is too spread
* the need of architecture-specific tools (pbbuttonsd? mouseemu?
  gtkpbbutons? anything that needs to be revived? yahoot? grub2?)

I thought: perhaps are people out there that may be interested in shaping up
the powerpc port of Debian?

In fact, since:

* Ubuntu doesn't offer an official PowerPC release anymore.
* Apple has long given up updating the operating system for PowerPC users.
* Major projects like Chromium/v8/nodejs are not available for PowerPC.
* Firefox for PowerPC is essentially dead as far as Mozilla is concerned,
  with only a very bright enthusiast working on building it with JavaScript
  acceleration (http://tenfourfox.blogspot.com/),

we are essentially orphans of the architecture. Again, would anybody else be
interested in addressing the current problems that PowerPC seems to have?

It would be super nice to work on having the installs as good as possible
(meaning: working with as little fiddling as possible after a fresh
install), integrating intelligence about snd-aoa, snd-powermac etc. in
debian-installer, making the 3D thing work as well as feasible,
automatically suggesting programs (alas, even firmware) that are of use for
a powerpc user?

What about this idea?

Perhaps we can already grab/compile the resources that others have already
kept (say, the Gentoo pages, which are very good, the Ubuntu PowerPC FAQ,
which is another very good resource), an old document that I, a long time
ago, started writing at https://github.com/rbrito/powerpc-tutorial etc.

Of course, having both the document for those people that want to know how
things are done and having the code that just works is the golden goal...

Please, let me know if you are interested in joining efforts. I will only
commit efforts if I see other people contributing, as I have my hands full
already.


Thanks,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20131121050736.ga22...@ime.usp.br



Re: No 3D on iBook G4

2013-11-20 Thread Rogério Brito
Dear Michel,

On Nov 21 2013, Michel Dänzer wrote:
 On Don, 2013-11-21 at 01:16 -0200, Rogério Brito wrote:
  I mainly need only to play videos (like lectures from Coursera and
  other MOOC initiatives) and, honestly, I don't really care for 3D
  graphics, but the video players that I tried seem to do (especially
  when they choose an opengl backend).
 
 FWIW, it's definitely recommended to use XVideo over OpenGL for video
 playback on Apple PPC laptops.

I suspected that since my struggles with xine to get a DVD to be played with
xine, but I needed an expert opinion.

  
  http://www.ime.usp.br/~rbrito/linux/debug-r300/1385003057-g4-linux-3.12-trunk-powerpc.tar.xz
 
 Looks like OpenGL is disabled due to the problem described in:
 
 https://lists.debian.org/debian-powerpc/2013/11/msg00045.html

To be honest, I didn't understand Rubén's intented message when he said
¡Oh, I see!. I guessed (incorrectly?) that he had solved the problem, but
there were no further details...

 https://bugs.freedesktop.org/show_bug.cgi?id=71789
 
 Someone will need to investigate this upstream in Mesa.

Ah, OK, so I will try with a bitdepth of 16 as a workaround. For videos,
that should definitely be enough (especially for low bitrate videos).

But, well, I lied that I don't care about 3D at all: I would like to
participate in this course here:


https://www.edx.org/course/uc-berkeley/cs-184-1x/foundations-computer-graphics/1003

which says somewhere that the students will need an OpenGL 2.1 environment,
at least. But that can wait. The current studies are more important than
that one at this moment.

Still, I would love to help so that I can get that working in time for the
next offering (if I can be of any assistance).

  After struggling a lot, I could get mplayer/mpv/vlc to play some
  videos if I force XV to be used as the video backend, but, with mpv, I
  get the following message:
  
   [vo/xv] X11 can't keep up! Waiting for XShm completion events...
 
 This looks like it just can't keep with decoding / displaying the video
 in realtime.

I didn't notice if frames were being dropped, but I will pay more attention
and report back what I find after I finish this e-mail and experiment with
the 16 bits per pixel.

  While this is obviously based on impressions, the whole system feels
  like everything is so slow regarding to graphics. :(
 
 One likely reason for the slowness is that you're disabling AGP with
 radeon.agpmode=-1. If your iBook isn't stable with the default AGP mode,
 try radeon.agpmode=1 or the other values.

I will try it as well.

I now remember that I reported a bug on kernel.org's bugzilla (to which you
replied) which was related to this notebook locking hard whenever I played a
video (it didn't matter the codec of the video).

  Also, not really sure if things are connected to this graphics thing
  or not, with Iceweasel 17, I can use things OK, but with Icewease 24,
  I simply get a segfault right at the start. Reverting back to version
  17 makes it work again. Going back to version 24 makes it segfault
  again. And so on. (Yes, everything with both clean and unclean
  profiles).
  
  I am now, BTW, using qupzilla for posting this (via gmail). :)
  
  I suspect that newer versions of Iceweasel may be using something
  related to WebGL and causing a crash?
 
 Not necessarily WebGL, but it might be related to OpenGL, yes.

Thanks for confirming that my impressions are, at least, not totally crazy.
IIRC, iceweasel 24 was also when Mike Hommey enabled gstreamer playing in
Debian. Not sure what gstreamer may be choosing as a backend to play HTML5
videos.

 One would need to look at a backtrace of a crash to tell though.

The only thing that I tried at that point was a simple strace, but I guess
that running iceweasel under valgrind/gdb would be the better thing to do.


Thanks for your always so nice replies,

Rogério.

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20131121053150.ga22...@ime.usp.br



Re: YouTube on iBook with Wheezy...?

2012-01-08 Thread Rogério Brito
Hi there.

On Jan 07 2012, Jeff Gordon wrote:
 I've tried the FlashVideoReplacer plugin for Firefox/Iceweasel, but that
 doesn't seem to work -- no matter which player I've set it for, nothing
 happens.

Weird.

 I see the file being transferred and cached, but pressing Play only
 results in the message Stopped in less than a second.

I'm talking with the upstream maintainer of that plugin and I have some
patches that are waiting for him to merge. You can see part of my work at my
github tree:

https://github.com/rbrito/flvideoreplacer/branches

Please, do keep in mind that I am a *real* beginner in Javascript.

If you don't mind grabbing videos on the command line, then you can use
youtube-dl, which I maintain here in Debian and to which I also contribute:

https://github.com/rbrito/youtube-dl

I am more proficient with Python than with Javascript, as you can see.

Also, if you feel alone when you want to browse, say, iTunes U, then you can
try to use tunesviewer, which I am starting to contribute to:

https://github.com/rbrito/tunesviewer/branches

Well, perhaps you see some commonalities in the projects that I maintain
(most of them related to videos), but that's because I like visual stimuli.
:-)

 It begins to look like HTML5 may, eventually, be the answer...?  But it
 seems to require something called WebM...?

Which version of Iceweasel are you using? If you are using what is in Debian
testing or in the backports right now, then you have everything needed.

Then, just visit:

http://www.youtube.com/html5

click the link at the bottom that says Join the HTML5 trial and youtube
will send you a cookie that indicates that you prefer WebM videos.

Then, when surfing many (most?) videos on Youtube, you will see them played
right in Firefox.

 Only, when I follow the link at YouTube for that and land at the mozilla
 site, the site will only tell me I need a newer version of Firefox and
 won't I please download it now.

Those browsers distributed by mozilla won't work on PPC machines, as they
are compiled for x86 machines.

 If I go ahead and download it, will I have something that will run in 
 Wheezy on PPC?

No.

 Aternatively, is there any other way to acquire WebM?  And will _it_ be
 useful on PPC?

See above. Lots of ways of watching videos on non-{x86,x86_64} platforms.


Hope this helps,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20120109001426.ga10...@ime.usp.br



Re: Experiences on using zram with ARM?

2011-07-18 Thread Rogério Brito
Hi.

2011/7/14 Rogério Brito rbr...@ime.usp.br:
 As many ARM systems (and other embedded architectures) happen to be
 memory-starved, I thought about playing with zram (the new name of
 zramswap) on some of my systems, but I found out that not all platforms
 have zram enabled in the stock kernels in Debian.

 So, my question is: does anybody have experiences running zram with
 non-{i386,amd64} platforms? It would be nice to know before I start
 compiling many kernels and stuff.

I sent this message about 5 days ago and I didn't have any responses
in debian-arm. For that reason, I am resending it to debian-arm and
also crossposting it to debian-{powerpc,user}. Any experiences shared
here regarding the use of compressed ram would be more than welcome.

Just for the record, if the module is available, it should be simply a
matter of issuing:

modprobe zram # load the module
echo 67108864  /sys/block/zram0/disksize # size of RAM to reserve to
be compressed
mkswap /dev/zram0 # create a swap in that area
swapon /dev/zram0 # use the swap on the compressed RAM

The basic idea here is that by compressing a portion of RAM:

* we may be able to hold more content in RAM.
* while we use some CPU cycles, it should beat the option of going to disk.

So, again, if anybody has any feedback on using this on a non-x86
arch, it would be very much appreciated.


Thanks,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


--
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/CAOtrxKMVO4J=t_nt5pe1q0foswrugkgs3vulponipoeka6g...@mail.gmail.com



Re: OS X unbootable after Squeeze/Sid installation on Powerbook5,6

2011-06-01 Thread Rogério Brito
Hi there.

On May 31 2011, Brad Boyer wrote:
 The Linux HFS+ driver is pretty brain-dead. I should know, since I
 wrote it originally.

In recent versions, Christoph Hellwig has been giving it a facelift (and,
IIRC, Al Viro has also updated it).

 Have you tried booting from an OSX disc and running Disk Utility
 to repair that device? The OSX installer has a menu option to run
 it in case you need to partition your drive.

If he has not yet tried, he could try to use hfsprogs from Debian, which is
Apple's fsck ported to Linux.


Regards,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20110601184249.ga29...@ime.usp.br



Re: Squeeze on Lombard

2011-05-07 Thread Rogério Brito
Hi, Michel.

2011/5/6 Michel Dänzer daen...@debian.org:
 Hmm weird, probably an X driver bug. Does the option have any effect on
 the distortion of 3D apps though?

I reenabled ColorTiling and the weird problems that affected Emacs
(and other applications) are gone. Should this be filed in any BTS?
Which one?

 Unfortunately, this only shows where the GPU lockup is noticed, not what 
 caused it.

 Do the lockups occur with radeon.agpmode=-1 (may also require radeon.no_wb=1) 
 as well?

No, with radeon.agpmode=-1, I am able to use the computer OK, with no
signs of GPU lockup like before, but the graphics of any 3D
application are still messed like the ones in those photos that I took
before.

I have not yet tried radeon.no_wb=1 till now. Should I use it?


Thanks,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


--
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/banlktik+ywkqc2ygrr81nqbeln0xxne...@mail.gmail.com



Re: Squeeze on Lombard

2011-05-05 Thread Rogério Brito
Hi, Gerhard.

On May 04 2011, Gerhard Pircher wrote:
 Correct me, if I'm wrong, but I think you have to disable the radeonfb
 driver with video=radeonfb:off to get radeon KMS working.

I did not know that. It works. I think that this can be added to the PowerPC
wiki page.


Thanks,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20110505160149.ga14...@ime.usp.br



Re: Squeeze on Lombard

2011-05-05 Thread Rogério Brito
Hi, once again, Michel.

On May 05 2011, Michel Dänzer wrote:
 On Mit, 2011-05-04 at 15:26 -0300, Rogério Brito wrote:
  I had to compile my own kernel, because just passing video=radeon to a
  regular Debian kernel doesn't supersede radeonfb, even if I make sure
  that radeon is in the initrd.
 
 Yeah, as Gerhard pointed out, radeonfb needs to be disabled explicitly.

That's nice (thanks again Gerhard), because, then, I was able to use
Debian's kernel, which has network and sound working.

For some reason, with my own kernel I don't have any of these working,
despite the configuration not having anything remarkable of difference.

  * When I use any 3D application, I get distorted output, as you can
  see in the pictures in the URL above.
 
 Does
 
   Option ColorTiling off
 
 in xorg.conf work around this? (Verify in Xorg.0.log that the option is
 taking effect)

With that option (and it taking effect), the colors of regular applications
(like Emacs) are distorted (like an endian error).

 If not, does this happen with e.g. glxgears as well?

glxgears also have the same kind of striped output and, then, it locks up,
as before.  :-( But the machine is still working and I can access it via the
network, which is the important bit. See below.

  Have you seen that before?
 
 No, but it sounds like a GPU lockup.

You hit the nail in the head. Here.

 Can you try booting with radeon.test=1 and see if the tests succeed?

Despite the test succeeding, with actual use I got this lovely thing:

,[ stack-trace.txt ]
| [   48.598657] EXT4-fs (hda3): re-mounted. Opts: errors=remount-ro,commit=0
| [  355.794834] device-mapper: uevent: version 1.0.3
| [  355.796830] device-mapper: ioctl: 4.19.1-ioctl (2011-01-07) initialised: 
dm-de...@redhat.com
| [  397.343868] radeon :00:10.0: GPU lockup CP stall for more than 
1msec
| [  397.343881] GPU lockup (waiting for 0x05C6 last fence id 0x05C5)
| [  397.343980] [ cut here ]
| [  397.343985] WARNING: at 
/build/buildd-linux-2.6_2.6.38-4-powerpc-cmAouh/linux-2.6-2.6.38/debian/build/source_powerpc_none/drivers/gpu/drm/radeon/radeon_fence.c:248
| [  397.343992] Modules linked in: dm_mod cpufreq_stats cpufreq_powersave 
cpufreq_userspace cpufreq_ondemand cpufreq_conservative aes_generic sco rfcomm 
bnep l2cap therm_adt746x pmu_battery arc4 ecb radeon ttm b43 drm_kms_helper 
snd_aoa_codec_tas snd_aoa_fabric_layout snd_aoa snd_aoa_i2sbus btusb bluetooth 
drm snd_pcm rng_core snd_page_alloc mac80211 joydev snd_seq snd_timer 
snd_seq_device cfg80211 ams input_polldev snd i2c_powermac evdev appletouch 
rfkill soundcore power_supply snd_aoa_soundbus ext4 mbcache jbd2 crc16 usbhid 
hid ohci_hcd ssb ehci_hcd mmc_core usbcore firewire_ohci ide_cd_mod sungem 
firewire_core pcmcia sungem_phy crc_itu_t cdrom pcmcia_core nls_base
| [  397.344084] NIP: f272e0b4 LR: f272e0b4 CTR: 0001
| [  397.344091] REGS: ef333c10 TRAP: 0700   Not tainted  (2.6.38-2-powerpc)
| [  397.344095] MSR: 00029032 EE,ME,CE,IR,DR  CR: 24002484  XER: 2000
| [  397.344107] TASK = c2db6f40[1102] 'Xorg' THREAD: ef332000
| [  397.344111] GPR00: f272e0b4 ef333cc0 c2db6f40 004f 8860  
ef333c0e 87be 
| [  397.344121] GPR08: c068c920 c054 c068cde4  001e 101fb794 
c0540504 f27ba39e 
| [  397.344130] GPR16: f27c8b84 f27c8b98 007d 0001  c0067a30 
f27c8b74 f27c8b88 
| [  397.344140] GPR24: 05c5 ef81372c ef333cd4 c2db6f40 ef333cc8  
eccfb480 ef813000 
| [  397.344227] NIP [f272e0b4] radeon_fence_wait+0x2f8/0x3d4 [radeon]
| [  397.344248] LR [f272e0b4] radeon_fence_wait+0x2f8/0x3d4 [radeon]
| [  397.344252] Call Trace:
| [  397.344273] [ef333cc0] [f272e0b4] radeon_fence_wait+0x2f8/0x3d4 [radeon] 
(unreliable)
| [  397.344305] [ef333d40] [f2746d10] radeon_ib_get+0x114/0x1d4 [radeon]
| [  397.344328] [ef333d80] [f2747fcc] radeon_cs_ioctl+0x88/0x1c8 [radeon]
| [  397.344362] [ef333df0] [f23322ac] drm_ioctl+0x2b8/0x430 [drm]
| [  397.344377] [ef333eb0] [c011be88] do_vfs_ioctl+0x69c/0x74c
| [  397.344384] [ef333f10] [c011bfa0] sys_ioctl+0x68/0xa8
| [  397.344393] [ef333f40] [c0015848] ret_from_syscall+0x0/0x40
| [  397.344408] --- Exception: c01 at 0xfb95fa8
| [  397.344411] LR = 0xfb95f0c
| [  397.344414] Instruction dump:
| [  397.344419] 40be0084 813f0aa8 7fe3fb78 80090014 7c0903a6 4e800421 2f83 
41be0068 
| [  397.344430] 809e0010 7f05c378 7de37b78 480780c1 0fe0 9a7f0c68 
7fe3fb78 4bfea739 
| [  397.33] ---[ end trace 7af24afd4ace429d ]---
| [  397.481492] radeon: wait for empty RBBM fifo failed ! Bad things might 
happen.
| [  397.618467] Failed to wait GUI idle while programming pipes. Bad things 
might happen.
| [  397.628919] radeon :00:10.0: (r300_asic_reset:419) 
RBBM_STATUS=0x8802C137
| [  397.632864] Machine check in kernel mode.
| [  397.632868] Caused by (from SRR1=149030): Transfer error ack signal
| [  397.643142] Oops: Machine check, sig: 7 [#1]
| [  397.643429] PowerMac

Re: Squeeze on Lombard

2011-05-05 Thread Rogério Brito
Oh, just some extra points:

2011/5/5 Rogério Brito rbr...@ime.usp.br:
 Despite the test succeeding, with actual use I got this lovely thing:

 ,[ stack-trace.txt ]
 | [   48.598657] EXT4-fs (hda3): re-mounted. Opts: errors=remount-ro,commit=0
 | [  355.794834] device-mapper: uevent: version 1.0.3
 | [  355.796830] device-mapper: ioctl: 4.19.1-ioctl (2011-01-07) initialised: 
 dm-de...@redhat.com
 | [  397.343868] radeon :00:10.0: GPU lockup CP stall for more than 
 1msec
 | [  397.343881] GPU lockup (waiting for 0x05C6 last fence id 0x05C5)
(...)
 | [  398.315478] ---[ end trace 7af24afd4ace429e ]---
 `

Would it be a good idea to file this in some kind of BTS/bugzilla, now
that, at least, I could identify the problem more precisely?


Thanks for all the help,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


--
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/banlktikm6psmqbqgyyuhblnmqen1eba...@mail.gmail.com



Re: Squeeze on Lombard

2011-05-04 Thread Rogério Brito
Hi once again, Michel.

Sorry for not being as speedy, but I had to go to the doctor yesterday
after those tests.

2011/5/3 Michel Dänzer daen...@debian.org:
 Probably the radeon driver is loaded from the initrd (or even built into
 the kernel), but the firmware is not available in the same place.

Well, now I could make KMS work:

http://www.ime.usp.br/~rbrito/linux/debug-r300/2.6.39-rc6/

I had to compile my own kernel, because just passing video=radeon to a
regular Debian kernel doesn't supersede radeonfb, even if I make sure
that radeon is in the initrd.

 That's because the DRI is completely disabled.

Now, that's not a problem anymore. But there are other problems, though:

* When I use any 3D application, I get distorted output, as you can
see in the pictures in the URL above.

* When I boot with KMS, after, say, 1 minute or so (can't be precise
here) almost all feedback from the window manager stops and I can only
move the mouse cursor. Nothing else is updated. After some 30 seconds
more, the monitor becomes completely dark (but the backlight is still
on).

Have you seen that before?


Thanks,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


--
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/BANLkTimfDkKh=jv6f77zbr_j2p42tjk...@mail.gmail.com



Re: Squeeze on Lombard

2011-05-03 Thread Rogério Brito
Hi, Michel.

2011/4/27 Michel Dänzer daen...@debian.org:
 On Son, 2011-04-24 at 04:30 -0300, Rogério Brito wrote:
 OK. I just put a before-and-after comparison on my homepage at:

     http://www.ime.usp.br/~rbrito/linux/debug-r300/

 radeonfb is preventing radeon KMS from initializing.

Oh, you're right. I have put some logs of pure radeon there (see
under the 2.6.39-rc5+ directory there), but I still only got a
software rendering fallback. Just for your information, my main intent
with this machine is to run XBMC, which requires OpenGL 2.0, but, when
falling back to software rendering everything is sooo slow.

There's one catch, though: I had to boot with radeon.modeset=0, since,
if I didn't, I just got a corrupted console, with unreadable
characters and, perhaps, with the boot stuck with init entering
runlevel 2 (just guessing here). Nothing else worked. I can (of
course) provide further information on what I am doing, if told just
what I should do. :-)

Everything here is sid/experimental and I can experiment stuff here,
as it is not in production.


Thanks,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


--
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/BANLkTi=mEW7K9Wvsw6=idnmmyfhyjoi...@mail.gmail.com



Re: Squeeze on Lombard

2011-05-03 Thread Rogério Brito
Hi, Michel.

First of all, thank you very much for your speedy and precise answers. It is
appreciated a lot.

On May 03 2011, Michel Dänzer wrote:
 On Die, 2011-05-03 at 12:04 -0300, Rogério Brito wrote: 
  There's one catch, though: I had to boot with radeon.modeset=0, since,
 
 Well, you can only get hardware accelerated OpenGL 2.x with KMS enabled.

OK.

  if I didn't, I just got a corrupted console, with unreadable
  characters and, perhaps, with the boot stuck with init entering
  runlevel 2 (just guessing here). Nothing else worked.
 
 Try adding radeon.agpmode=1 to the kernel command line and, if that
 alone doesn't help, radeon.no_wb=1 as well.

After waiting about 2 minutes with KMS enabled and radeon.agpmode=1 (I was
actually taking a picture to show you), the system went on and loaded my
desktop. It was full of some weird colors, typical of endianness problems.

I put the pictures that I got, together with some interesting debugging
stuff in the directory:

http://www.ime.usp.br/~rbrito/linux/debug-r300/2.6.39-rc5+.kms/

In particular, notice that radeon DRM is complaining that it couldn't load
the firmware file, but it is there, readable for all:


http://www.ime.usp.br/~rbrito/linux/debug-r300/2.6.39-rc5+.kms/firmware-issue.txt

Also, notice that the glxinfo output, even with the LIBGL_DEBUG=verbose
environment variable set doesn't say anything else to the luser (me) why it
has fallen back to the software rasterizer.

So, if you could provide any assistance here, that would be great.


Thanks,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20110503172527.ga2...@ime.usp.br



Re: A short tutorial on running GRUB2 on a PPC

2011-04-24 Thread Rogério Brito
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA384

Dear Risto and other people,

On 04/04/11 05:30, Risto Suominen wrote:
 2011/4/3, Rogério Brito rbr...@ime.usp.br:
 http://rb.doesntexist.org/blog/posts/running_grub2_on_powerpc_macs/


Just for the record, I have converted both my iBook G3 600MHz and my iBook G4
1.3GHz to grub2 and both are working very well (well, my iBook G3 seems to be
overheating once again, but when it works it is enough to test some programs).

I would recommend it for others to try it and go back only if you have annoying
problems. You problably won't, but who knows? :-)

 My main concern with yaboot has been (until now) its inability to specify
 initrd, unless given in cfg file. Typically with external disks, when root
 device has changed, and the boot stops.
 
 Is it possible with grub2 to specify initrd manually?

As Michel already told you, this problem doesn't occur with grub2: it detects
the kernels that you have already installed (with no need to mess with update
yaboot.conf and run ybin), you can use tab-completion (very handy when you are
in some difficult situation) and all your filesystems can be ext2/3/4, xfs,
btrfs etc.

I just converted things here (in both notebooks) to ext4, as I want to take
advantage of delayed allocation and extents, so I don't know how it would work
with something outside of the ext-family.

I highly recommend it for other people.

And, of course, once you are satisfied with it, you can simply set it as default
in the NVRAM (say, with the boot-device variable of OF).


Hope this helps, Rogério Brito.

- -- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCQAGBQJNs8/MAAoJEAdHvTm8/KqqJ0QQAKkH+I5YCsk6/vXaUCdKe0mj
x5oIcu7RQB/pS/S5wqjGB+kC2fCH1UthIGyJxr7SmBowRkitt6bSJd7TRNH0Odac
xEK/RnoScceVH4ffbWRBObDxwPooBNTw2r+eN8Kf9KGPuaujQ7HKscQIC0SVBocs
eNTUrw0QjsjPFlO7bAjHzy3/fX0rYvhNcXmlYeBTOUXyqEp7N2ziUNy6X13DiiqB
+Ku2q9oHU4X4Fmr+IVHt+JA6F8+upmwWueBQye5ytCf7ns4Hwz+qeEr5tWNrLHPM
bWXW6rY7ZfeAVBJVftXvnik7gesuVvYuIZrreRHfalt/ezl3w1sKuvrLj1nfvzQs
pVMNN9SZcRceClrZef3ojqKmP2OsLGoeelZQ4pVMGA56vwseuZqVxV3mQgcObPlb
/e6XccqHMV0CqnzY4uSc/N4AWupdznaAP3NjXbBKF/MHHP8QcaJ1x1PdPg7bnxex
nKVFimi0iulUjPe3KPUZjNvmswjHTaSQntDsPSxRf5b4P05Tm4Yx3OsbTblUpe5i
fldJT7WI9S+HgDl1taDqxpF+SqwYlknAfDJEcw+vzS56eZ7lzTQ/XHTIL0B2GqJS
Vp8ZmoowltD7NyzX37EjxBwr+RDzKPkmKSQdj9qrZ8C5llxu/1z4s3ol1gf+ciJS
bZ80npTA3Xzqn2/2vpu4
=waPD
-END PGP SIGNATURE-


-- 
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/4db3cfd5.4080...@ime.usp.br



Re: Squeeze on Lombard

2011-04-24 Thread Rogério Brito
Dear Michel,

Sorry for taking so long for getting back to you, but I have some moderately
detailed results.

On 04/14/11 07:48, Michel Dänzer wrote:
 On Don, 2011-04-14 at 07:36 -0300, Rogério Brito wrote: 
 Dear Michel,

 On 04/14/11 05:55, Michel Dänzer wrote:
 On Mit, 2011-04-13 at 14:17 -0300, Rogério Brito wrote: 
 I have one iBook G4 here that has some packages from experimental, a 2.6.38
 kernel and I am not sure if the problem is with KMS, the R400 gallium 
 drivers,
 endianness issues or all those things together.

Oh, one correction: the R400 above was a typo. It should have been R300.

 What's the problem(s) you're having?

 Everything is falling back to software rendering and using the CPU to the 
 maximum.

 Do you want me to show you the output of glxinfo with debug information?
 
 That, and the corresponding Xorg.0.log and dmesg output (at least the
 agp/drm/radeon related messages) should be a start.

OK. I just put a before-and-after comparison on my homepage at:

http://www.ime.usp.br/~rbrito/linux/debug-r300/

There you have a description of the notebook, and logs from it running both the
2.6.32 and the 2.6.38 debian kernels.

Please, notice that I have reverted X to the state at stable, but everything
that I said there holds true to the software rendering problem with KMS. When I
use UMS, I get *much* faster framerates in an OpenGL benchmark available in the
repositories (package: globs).

If you need anything else, please let me know.


Thanks,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/4db3d17e.9060...@ime.usp.br



Re: 2.6.39, radeon_bl and pbbuttonsd

2011-04-24 Thread Rogério Brito
Hi, Elimar and others.

On 04/21/11 05:30, Elimar Riesebieter wrote:
 I am running 2.6.39-rc4. For the backlight control this kernel uses 
 /sys/class/backlight/radeon_bl on my PB.

Would you care to share your configuration for 2.6.39-rc*? Up to -rc3, I was
getting some problems (probably, problems with udev, but I don't quite know for
sure).

 Starting pbbuttonsd the cpu_usage gets up much and the backlight dimms to
 nearly 0. Without pbbuttonsd the backlight can be controlled via `echo
 (0-255) /sys/class/backlight/radeon_bl/brightness` but there is no chance to
 control keyboard illumination, sound et al.

OK, so we have people using pbbuttonsd and, I would guess, its company utilities
(gtkpbbuttons, powerprefs etc.). I see that these were removed from the archive.

Are there any good alternatives to this combo? In particular, how does pmud work
in comparison to pbbuttonsd? I am considering (well, now, for quite some time)
jumping in and maintaining it, if the alternatives are not as good as it.


Regards,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/4db3d3bb.3000...@ime.usp.br



Using a second screen with an iBook G4

2011-04-24 Thread Rogério Brito
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA384

Hi there.

Since I have one iBook G4 here, I think that one use for it would be to put it
to work as a home-theater PC. Unfortunately, it seems that we have some 
problems:

* When I plug an external (1920x1080) monitor on it, I can only get 1024x768 on
the external monitor, which is, of course, quite bad. More than that, I can only
use the external monitor if I disable the internal monitor, because, otherwise,
I get a message (paraphrased) that tells me that the largest screen that can be
allocated is 1024x1024.

I can provide the full details if desired. I am using gnome 2's monitor/randr
applet to choose which output to use.

This is weird, because I remember using a hack in OpenFirmware that unlocked the
iBook's ability to use two screens as its monitor in the past. It worked fine
with MacOS X 10.5, but I don't have MacOS X installed anymore. [0]

[0]: http://www.rutemoeller.com/mp/ibook/ibook_e.html

Is it possible to get rid of any of those limitations? Any one of the use of the
external monitor in some higher resolution or the use of the external monitor as
an extension of the internal one would be nice additions.

* It seems that the ready made media center programs (XBMC) use a lot of
OpenGL stuff and that is sufficient to bring this notebook to its knees, even
when browsing the menus. Almost unusable. I tried moovida, and it is definitely
faster, but it has some bugs and upstream seems to be dead (well, the released a
closed source version, but that's only for other operating systems).

This is a pity, since Moovida seems like a very good choice for weaker machines,
but I don't know of any effort to continue maintaining the 1.x series. Sad.

Finally, MythTV seems to insist in having a capture card installed in its
backend and, for that reason, I didn't go much further with it.

Any comments regarding this situation would be quite appreciated.


Thanks,

Rogério Brito.

- -- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCQAGBQJNs9igAAoJEAdHvTm8/Kqq2UkQAKArXofFzcgAR9bC+rRd3k/g
V7I9wXuHzKf5BYEcD/DXhlntPSyvjVs5oRRV9X8v01bOkIQFZg71T1haaNphYehf
yU3XioUy2W/rv7CHhFzakEByd6p6brgUyPzaVvKjOHT6mZRaJw4AKs6IQ8jkuDWY
uMXcTW0xgr6nV4OeUv2rO12M8apIjRWUC9HA323EeY8nMucRAAhVK7REUTjH3CWm
T0dKbylCcMsO1DnPTPlrf8LtNFlpVNp1hXTKuf0ROk+Qdbd+J7F/9t/1fc7+fFXG
K9YEgjmQQgsXnp2fGnK7SZJ3bxPumeiEe/SYe0zXvoBkhGNK4nlzi0G4HhxUIHFf
5bkcsKml44Nm2tmgw0zNSVwKPOUBOyNAE1KX9H+CJBBAz2k71TiuKdS4M8vYU1GE
C91OTy8EpDT1uMfiTwFUlsLknAwvNzdhSWInORaOQyw91xlNynoQdrAe0/SNO4Ob
6Zh1c0u6DZ33sXRU0l6B/eZ2skiwDGU8vUPKmLcfQbzqUSMdY0K9x1TzYJcw+XHo
7N01gp/F0j5wO9HTnZV/It16OQ1lZy3AkXyR8H3bN++LFBaIVzI7Mre2hp6lFVrP
8Z1O+LcHDlfzozvpfT+IPpI79hO4awytIG4YO3CcNR07vRLdueX9VgvvI2Wq/T+O
7Dx5cE76+s85iYwMxRCU
=C4WS
-END PGP SIGNATURE-


-- 
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/4db3d8a0.3090...@ime.usp.br



Re: Using a second screen with an iBook G4

2011-04-24 Thread Rogério Brito
Hi, Benjamin.

On 04/24/11 12:26, Benjamin Cama wrote:
 I think this limitation is due to some Xorg configuration parameter. I
 think that with a Screen section with a larger virtual resolution you
 can solve this, as in this excerpt:

Oh, sure. Now that you mention this, it does make sense. I will try hardcoding
the configuration with a custom xorg.conf.

 Section Screen
 Identifier  Default Screen
 […]
 SubSection Display
 Virtual 3360 1050
 EndSubSection
 EndSection
 
 (Here, it's calculated for two 1680x1050 monitors side by side; do the
 math for your 1024x768 + 1920x1080)

Sure, no problems. In the worst case of lack of memory, I think that I can try
to lower the ColorDepth to, say, 16. It's not like I will be able to notice 
anyway.

 BTW, the “Open Firmware” limitation is just a hint for the OS, I think;
 you can get larger resolution in linux without this hack. It's just a
 soft limitation.

Did not know about that. I thought (but have not investigated) that it had some
effect on the device-tree that is exposed under /proc.

Thanks for the comments. I will post back my results.

BTW, just one invitation: what about if we documented some of the
difficulties/solutions in the Debian wiki for PowerPC? That would be a very good
thing with many good side effects, I think:

* Documenting/making a compilation/knowledge base is fun.
* It may help many others and can be used as a reference (and may help even
ourselves when we forget the exact steps that we took a few months ago and need
to repeat some procedure).
* Make it easy to spot points that need to be fixed/automated in a way that the
rest of the distribution works fine with PowerPC out-of-the-box.
* Make it apparent that the PowerPC port is alive and healthy.

The page at http://wiki.debian.org/DebianOnPowerPC is a good starting point.

I have some collected stuff at

https://github.com/rbrito/powerpc-tutorial

which I surely wouldn't mind including in the wiki pages and, the parts that are
suitable, in the Debian installation manual.

Some things that are simple but which need to be written and not just part of
the folklore are, for instance:

* How can I prepare a rescue/live bootable CD for PowerPC? If our solution is
good enough, this can be integrated into live-helper or whatever it is called
nowadays.
* Booting from a Firewire disk is probably well known for Mac users, but the
same is not as well known for a USB stick/drive/whatever, despite this being
simple enough (just a few lines).

If other people would join me in this, I can start working on this, as I want
PowerPC to have a long life (well, at least, as much as I have access to such
hardware, but possibly more).


Regards,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/4db47612.8020...@ime.usp.br



Re: Using a second screen with an iBook G4

2011-04-24 Thread Rogério Brito
Hi, Benjamin.

On 04/24/11 16:12, Rogério Brito wrote:
 On 04/24/11 12:26, Benjamin Cama wrote:
 Section Screen
 Identifier  Default Screen
 […]
 SubSection Display
 Virtual 3360 1050
 EndSubSection
 EndSection
(...)
 Thanks for the comments. I will post back my results.

Just for the record, the solution above works almost perfectly. It even showed
the correct frequencies that the monitor is able to handle (something that
wasn't displayed before). Here is what works:

* only the notebook video enabled.
* both the notebook and the external monitor enabled, with the monitor as the
extension of the internal monitor.
* I could not put the display on the external monitor only. When I turned off
the internal monitor, the external one showed a message that it was not running
at an optimum resolution and, besides that message, was completely black.

Anyway, I am much happier now than earlier.


Thanks,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/4db485f2.6080...@ime.usp.br



Re: Squeeze on Lombard

2011-04-14 Thread Rogério Brito
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA384

Dear Michel,

On 04/14/11 05:55, Michel Dänzer wrote:
 On Mit, 2011-04-13 at 14:17 -0300, Rogério Brito wrote: 
 I have one iBook G4 here that has some packages from experimental, a 2.6.38
 kernel and I am not sure if the problem is with KMS, the R400 gallium 
 drivers,
 endianness issues or all those things together.
 
 What's the problem(s) you're having?

Everything is falling back to software rendering and using the CPU to the 
maximum.

Do you want me to show you the output of glxinfo with debug information? I can
also send various combinations of the kernel that I am booting (radeonfb/radeon,
X from sid/experimental etc).

Just let me know and I will gather the data.


Thanks,

- -- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCQAGBQJNps4mAAoJEAdHvTm8/KqqMFEQAJNqHhZIYa7bFIcp1Rd/6GO/
lMIuID+CjmZ4QWJHtFRnT7tawZusqzMyPtcopZOe4BKv/NiwcL/WhP4YkOefOMi6
2SJH+4ukaAT9ZXhQZwl/kOrINKqcqgnjUy+cC8h9sXowNMrV3hP2FbfRPbAB28dP
OxFAaj67wFC/mFYTkJ9fS+JWdmMLCmXuYMe+oHjADAOfgVzRtJ0WNbEKgM+b0xT1
ZHiyeAignOEIcDYSudmO70VkowVXjsDdSl7rZ6L2JWPHzxLEhc4CHvEadAMDwBfA
8oop/1dECH5aG4t8G1Ggx1B1kHnENadxVUGHXmOR8S4E4SklCBCNJWPmKwCtLrZ+
E7eL+rr4FqafNU8xLkiPTYhMtKQ4CGrYAlXPtzkrbu9q+obLtLPNjCFDnJvZa+i1
tqPsJ3eWJUtovV9Pt2AXfkrByYrPQaysEqBW9ed0zbWGiFKPIp+6eeRaEv2xhnll
5lChkzBkE7PDaUs5rrH4eI+yWIvGzPoTTOlDgp/h9xaPjhz8TwpqEdEh6S79QgZt
+PmBmPd/V6rUq6qD/ysFz3E5quROpZ6EGuGBx2Mq2At4qp+erubiEukcM05J7cp4
qPldJARJWvJT49KsqUMxfQrtINx6YGwhANSwhiUOfwSeV8lnTdHLOvGsn8rIWkvZ
X+qZOfK1IS7uT6/9iykc
=0aI+
-END PGP SIGNATURE-


-- 
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/4da6ce2a.30...@ime.usp.br



Kernel compilation working?

2011-04-14 Thread Rogério Brito
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA384

Dear people,

I used to be able to always compile my own kernels, for various reasons.

While I was trying to see if the radeon KMS changes with drivers from
sid/experimental were working, I noticed that my the 2.6.39-* kernels that I
compiled did not boot correctly: they booted up to a certain point (with visible
messages appearing OK), until they hang at a certain point and apparently,
didn't invoke init (I can get more precise information than this).

OTOH, the same kernel configuration works perfectly with 2.6.38 (well, with the
questions for new devices all set to no, as I don't have them).

So, before I endure a long session of git bisecting, is there anybody here that
already know of some issue that may be known?

Just for the record, I have been trying to get something working since 39-rc1,
and having these problems.


Thanks for any help,

- -- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCQAGBQJNptBsAAoJEAdHvTm8/KqqNJgP/iLOcU4AiLY3TBuKtfCLMlaM
rszsqIES7Cg1agFHSDXp6CHUrujChI+wma4lfHJqbXU2JiiWUtiCiqTE+D7GVeld
HCQP/qdz2cW9Jz5Y2tB3O1q2vLIh3tI5HGbsrAOvkM+JOi9SKRLCqju9oKor2WEw
X8QtkDFjik0fdCC1uiyYGv1JrC/X4sgiFGKa0IAVcWSw6QYyZSlbkPcDIjOavtje
1v3KziqedkP/IUWX9rVSq+ZIG1iKIQaDkF1/eZqzWR9DFCFiFssFBLTfRN+grmG+
wN51eHpYTK8EAwIclN3DL/OYc/uz17LJYwa9woN4sXelKU6OJqCVongFz6JYqY/C
WXQrdA+WXvReOA9jio0SKQCpHQJzg2zsCRiiJsZbc3hf02vUWSl6Trh/cjjB6REM
shLjea4DYDWvL5KjfC7OnpvXlu5qbtu7Hk4IG5eEdUt5/IPl7B7vFt46fULAR4cd
HI3fhtHkm+Bjp7pYULpSzhCQG2XUXeqPfDZ0uz9XSNVf8szeSN9am8Jw+6s90FIZ
OKq7hA5UM0IHmZV05jCPJRSggHSNQmlfWmDcggcNkysoxemkBn9RqVfc3kBcp8NR
okQObkVP4k3unSINY38MdN4umGFjqARfrNlCplPi/wDJlzPzbR7/6kTkYRMlEbba
kMgqq8Ve+UXDmDxV/Mn8
=+xyT
-END PGP SIGNATURE-


-- 
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/4da6d070.1050...@ime.usp.br



Bug#622606: xserver-xorg-video-r128: [regression] [powerpc] X dies with SIGBUS if I tell it UseFBDev false

2011-04-13 Thread Rogério Brito
: ID_INPUT_KEY=1
E: XKBMODEL=pc105
E: XKBLAYOUT=us
E: XKBVARIANT=intl
E: XKBOPTIONS=terminate:ctrl_alt_bksp
E: BACKSPACE=guess


DRM Information from dmesg:
---
[1.062190] aty128fb: Rage128 LF M3 AGP [chip rev 0x0] 8M 128-bit SDR SGRAM 
(1:1)
[1.093545] fb0: ATY Rage128 frame buffer device on Rage128 LF M3 AGP
[1.097827] Linux agpgart interface v0.103
[1.098022] agpgart-uninorth :00:0b.0: Apple UniNorth/Pangea chipset
[1.100969] agpgart-uninorth :00:0b.0: configuring for size idx: 64
[1.101436] agpgart-uninorth :00:0b.0: AGP aperture is 256M @ 0x0
[   30.444739] [drm] Initialized drm 1.1.0 20060810
[   30.551971] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[   30.552002] [drm] No driver support for vblank timestamp query.
[   30.552021] [drm] Initialized r128 2.5.0 20030725 for :00:10.0 on minor 0
[   30.557811] agpgart-uninorth :00:0b.0: putting AGP V2 device into 2x mode
[   30.557844] aty128fb :00:10.0: putting AGP V2 device into 2x mode
[ 4227.678934] agpgart-uninorth :00:0b.0: putting AGP V2 device into 2x mode
[ 4227.678967] aty128fb :00:10.0: putting AGP V2 device into 2x mode


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.38-2-powerpc
Locale: LANG=en_US.utf-8, LC_CTYPE=pt_BR.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xserver-xorg-video-r128 depends on:
ii  libc6 2.11.2-11  Embedded GNU C Library: Shared lib
ii  xserver-xorg-core [xorg-video 2:1.9.5-1  Xorg X server - core server

xserver-xorg-video-r128 recommends no packages.

Versions of packages xserver-xorg-video-r128 suggests:
ii  firmware-linux0.29   Binary firmware for various driver

-- no debconf information

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


Xorg.0.log.old
Description: application/trash


Re: Squeeze on Lombard

2011-04-13 Thread Rogério Brito
Hi, Risto.

On 04/10/2011 12:48 PM, Risto Suominen wrote:
 What is most important when it comes to computers? Stability, I guess.
 The machine practically stops after some minutes. Top shows 99%wa
 (iowait). Bug in ide driver?

Can you provide more information on this? Just for the record, I have revived
*both* my iBook G3 600MHz and my iBook G4 1.33GHz so that I can develop with
Debian here and both of them are working fine (today's sid), without any 
problems.

In fact, since I keep my important files in a git repository and I clone it
whenever I need to use another computer of my own, I can't tell (apart from the
keyboard and the speed) that I am using old laptop, and not ia32 one.

 What is the most important feature in laptops? Standby mode. The
 machine wakes up but the desktop doesn't. Kernel or X issue?

Here the issue may be hairy, because many things may be involved. More details?

 Then there are smaller things. Like Finnish keyboard mapping is not
 working out-of-the-box.

This sucks. But I am sure that you can fiddle (for now) the contents of
/etc/default/keyboard and have them reflected on X.

 Hard to see any progress here. Why is this happening for things that
 have been working in previous version?

I had a long hiatus working on ppc here with Debian (and I am just returning),
but I would say that the lack of people actively developing and testing makes
things worse. Now that the bootloader problem seems to be partly addressed, I
hope that we can have more people testing the daily installation images.

I hope to get more involved with debian-boot/debian-cd when it comes to PowerPC,
but I don't have many resources (I only have those 2 notebooks and one Kurobox).
I know nothing about PREP/CHRP/other beasts.

 And Wheezy... what is it going to bring us? At least it doesn't boot
 at all without video=ofonly on any PowerMac i know.

What kernel are you using? I am not having problems here with any kernel 
2.6.39-rc. Something must have changed with the .39 release cycle, because the
configuration files that I have don't work anymore. But I see that Debian only
has 2.6.38 kernels precompiled...

 Enough complaining. Maybe I just had too high hopes.

Well, perhaps Debian has set some good precedents and you are just used to them.
:-) But the good thing is that we can fix those problems.


Regards,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/4da5d55f.9000...@ime.usp.br



Something that we don't want to happen to PowerPC on Debian

2011-04-13 Thread Rogério Brito
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA384

Dear people,

I know that this is probably not as serious for PowerPC as it was for some other
platforms, but it was, in my opinion, very sad to know that Debian has dropped
support for 2 architectures: alpha and hppa.

For some personal reasons, I felt particularly sad about alpha (I planned to buy
one used machine for my own use), but, now, I sincerely hope that people more
knowledgeable about the architecture reintroduce them as official ports of
Debian again.

As I would really hate to see these things happen to PowerPC, would other people
join me in collecting data for a future requalification of PowerPC as a release
architecture in Debian? Previous qualification/certification data are available 
in:

http://wiki.debian.org/powerpcEtchReleaseRecertification

http://wiki.debian.org/powerpcLennyReleaseRecertification

I know that this may sound a bit premature at this stage, but it is better if
we, as a whole, report the errors as early as possible (and, for those that can,
provide a few patches), so that ppc is as healthy as feasible and not in any
danger of being dropped out.

For those that didn't know about alpha and hppa being dropped from Debian,
please read this:

http://lists.debian.org/debian-devel-announce/2011/04/msg0.html


Regards,

- -- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCQAGBQJNpdj+AAoJEAdHvTm8/Kqq1zEP/39AdTwzmwgzoYy58hov/Jro
WRZfRJdjRfbmNUi173LFisYjYwidzng7uI+H8a57cVER/uFUIkpb8+Ynq+zIi6oK
UV2J95gzJFRmK0weze6fLSAtvjDjP/6XikDora7uT+BGcYoXUkcvzTpjakbJerC4
Jzb8Ki5MhFTxSK/qBwsseGGgsiTHn8SkW3XL+ImrOPPMhoq8pci4jeMFrxK3Q/v/
f0GOMRvrJnjzJj6btucDezzdnunaX/iJUTJSwSSFe7DA+hTNcoliySQTZhgwIQes
XXnKMGxDaneKfQ68lrTZ4RjOAL/G3qfU+LEL6SA91cawBZEZo7FKlDM5btb7vX+f
HVW08Ol1rnTMD134kBz/hgPmsEmOEm3vfIICEExHDIaQSjutHIhOWBV/5x28y92p
nA2HZhvU4KwQb9HuWPMAAOEu69jrfy9Pnaxzw0osC1CqRaCFsk4JDtG+tWWDzUa7
b7imMkyFj0V9uGpVjzYKV9BNneqaN2bYL2NBLJMBqTnr0FupCY1iCYXlRi3oRNvh
YvUY7wiLe6KEmjtepG+7H35RqueM2syWHn9n7OVHObFWbKmyLhKg+WzDmecsnpg6
XokKRT2G4EybG6KW9qBSa5TTigL4EJImn6Nd3DAjOWAVki98IcY55BJXJeMBxMiu
wDC4PurAiZwFIbyuq9H3
=eXfv
-END PGP SIGNATURE-


-- 
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/4da5d904.8000...@ime.usp.br



Re: Squeeze on Lombard

2011-04-13 Thread Rogério Brito
Hi there.

On 04/10/2011 01:25 PM, Mandrantosoa 'Ndrianiaina wrote:
 I'm on testing/sid til now, and I use my laptop as production tool, it's
 quite stable, I've lost video hardware acceleration since 2.6.38 but the
 computer is still usable (I don't really play games)

I also don't play games on my computers (yes, really), but I would like to have
some video hardware acceleration. What were the last versions of the kernel + X
+ libraries that you had the acceleration working?

I have one iBook G4 here that has some packages from experimental, a 2.6.38
kernel and I am not sure if the problem is with KMS, the R400 gallium drivers,
endianness issues or all those things together.

Hints here would be welcome.

Regards,


-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/4da5da8d.5050...@ime.usp.br



Re: A short tutorial on running GRUB2 on a PPC

2011-04-03 Thread Rogério Brito
 is the exact quote:

some partition to hold /boot (I don't have one of these, but let's say that it
is /dev/hda7 for our discussion purposes), usually containing your kernels and
initial ramdisks.

The 7 was to stand out so that people reading it carelessly would have their
attention drawn. Like your attention was brought to this point.

 Acabe de pensar, homem, pensar.

Thanks. I will think twice before even reading your posts. :-)

 You may think I'm being an asshole to you; but, I am only giving you
 realistic arguments.

:-)

Just for the record, don't expect from me any further response without
constructive criticism.


Sincerely yours,

- -- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCQAGBQJNmJZkAAoJEAdHvTm8/KqqdrUQAI2Wq+72BJWL6nID1069JgcG
C8JkcIni5FsUTtznmcTAPSWMrVEdRrYfw93rObeGV252q1LCDW2Y23AfzbxtDMU8
6DqNYIwtO84LaXNp/pIHlltGQp+V+i3ZoYdG2sCEEK8ssVnldOp92XN5RG1Xcd+C
gzuHPfvUdPYXhQvgnHm2lN35rNaDN+ulApvQjKjamYhk4d2hZSpx7UOtBcuPGj2n
+WIAT+RpSkiS5SMOgOKMeFURmQzl16OOzPW7FF3Qzb1hE16f0RCCitJVhhPNx9yZ
y2Cc3d78zWsv/VkuoHTV0W2G6RCK8r988XEkwoyVWXPju5sOx7nnJLQt7s4KfCUb
kMH3cO1i2nv579pnzdetagtlMANZGUgFF7C24AyoSty39afQlH9AY5BNkzTuvjCY
RA1ayXLcM/CY9LidldiuWGP1pN7mnWLv8/k4o2dITHqlbVLeVewJfMmhbzMyDImG
8v+T+mWkbzzu/788mXWu4/PrRFb2ndZu7i8GBGTlpqaAYAfbrz6f8ytmEGKbZ1Ex
eFc8FJLaxNtRVqOKJi0f1dYXv9MrabNNd1ebBJ9ZkQ6SoQvwTz0/cjhUhQsmwTrq
vLYAZ+yGGEWXE4AZgPcekZIBx8WLtoPtKYm2DNpf668Jp7q+HGy9Nuj9M8xvmn8/
KMdQIGag3BaNU10izthx
=YumF
-END PGP SIGNATURE-


-- 
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/4d989669.9070...@ime.usp.br



A short tutorial on running GRUB2 on a PPC

2011-04-02 Thread Rogério Brito
(Please, keep me CC'ed, as I am not currently subscribed to -powerpc)

Hi there.

As some people may not consider yaboot to be a bootloader for the long term
(well, depending on your views, not even for the short term), I took some
time to distill, experiment, pull my hair, become frustrated, and write a
moderately introductory post on getting GRUB 2 on my iBook G4.

The post is here:

http://rb.doesntexist.org/blog/posts/running_grub2_on_powerpc_macs/

Please let me know if you find this useful.

BTW, I am just playing with getting Freevec on my computer (well, it should
be faster, since Altivec is essentially not used in current Linux
distributions) and I will keep those that want posted (if you want) when I
have something to show.

Well, right now, I have a very crufty solution that works for me, but that I
am ashamed to publish and ruin the rest of reputation that I have. :-)

Finally, a stupid question: is there anybody out there that knows if the
current Iceweasel in experimental (4.0) has any kind of JIT for PowerPC? I
mean, like TenFourFox (http://www.floodgap.com/software/tenfourfox/)?

If not, their patches are available
(http://tenfourfox.googlecode.com/files/TenFourFox-changesets-20110323.zip).
And the developer's blog is very instructive (http://tenfourfox.blogspot.com/).

(Yes, I know that I could just ask Mike Hommey, but let's see if anybody
here has already tried this).

Feedback is welcome.


Regards,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20110403014832.ga7...@ime.usp.br



Re: Which module should one use for sound on pmacs? (was: Re: debian-testing-powerpc-xfce+lxde, 7/26/10)

2010-07-29 Thread Rogério Brito
Hi, Johannes.

First of all, thank you very much for your really appreciated message.

On Jul 29 2010, Johannes Berg wrote:
 The old way was to just load snd-powermac on Macs, and then have it do
 nothing.  That's wasteful in a sense, but it doesn't hurt.

OK. Thanks for clarifying.

 There's no auto-loading built into snd-powermac, and the way I see it
 there's no chance there ever will be since nobody even cared years ago
 when I worked on this stuff.

Nice. BTW, would writing an auto-loading part be hard for a kernel-illiterate?

 snd-powermac will not work on machines where snd-aoa works, they're
 mutually exclusive but some older machines need snd-powermac, which,
 unfortunately, cannot load automatically.

Yes, indeed. The iBook that I have here needs it.

 I suppose one way would be to load snd-powermac only when snd-aoa
 didn't auto-load?

Right. The way that things are currently is that snd-aoa is force fed
and causes some machines to not have any kind of sound.

Otavio, who should we talk to to get it working this way for the
upcoming release?


Thanks for your input,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100729182904.ga2...@ime.usp.br



Which module should one use for sound on pmacs? (was: Re: debian-testing-powerpc-xfce+lxde, 7/26/10)

2010-07-28 Thread Rogério Brito
Hi there.

On Jul 28 2010, Elimar Riesebieter wrote:
 * Gombang Nan Cengka [100728 12:03 +0700]:
  2010/7/28 Rogério Brito rbr...@ime.usp.br:
   Perhaps we should kill the snd-* madness in Debian (at least)? Does
   snd-aoa* actually work for a majority of users?
 
 We should distribute what the Linux Kernel provides!

Right. I am CC'ing some people that can potentially have answers to this
question. If you have any comments, it would be nice to get this sorted
out for the distributions. :-)

From a very quick look at the source code of snd-aoa, it seems that the
chips supported are onyx, tas and toonie.

How should the distribution side of this be handled (say, with the
automatic loading of the proper module) with machines that use, say,
tumbler?

   It is my understanding that snd-powermac works for more users (almost
   all?) of stock apple-based powerpcs and Linux.
  
  Last I tried snd-aoa didn't work. (iBook G4 1,2 GHz) I have to use
  snd-powermac to get the sound working. I'm curious as well why it is
  so.
 
 snd-aoa works great here on a PowerBook5,8 ;-)

OK, fine that it works for you. :-) It would be nice if it worked for
many others, though. :-) What about snd-powermac, OTOH?




-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100728190238.ga14...@ime.usp.br



Re: debian-testing-powerpc-xfce+lxde, 7/26/10

2010-07-27 Thread Rogério Brito
Hi, Elimar.

On Jul 27 2010, Elimar Riesebieter wrote:
 To be more clear post the output of:
 
 $ lsmod | grep snd
 $ cat /proc/asound/version
 $ cat /proc/asound/cards
 $ groups

Perhaps we should kill the snd-* madness in Debian (at least)? Does
snd-aoa* actually work for a majority of users?

It is my understanding that snd-powermac works for more users (almost
all?) of stock apple-based powerpcs and Linux.


Regards,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100728032214.gb4...@ime.usp.br



Re: Installing Debian Lenny on MacMini G4

2010-07-27 Thread Rogério Brito
Hi there.

I have not yet delved into this thread (packing things to go to the US),
but I could not resist pointing out one thing:

On Jul 27 2010, Mathieu Malaterre wrote:
 I would be tempted to say my cdrom was burned ok. To get into more
 details see (*).

There's this very cool program called dvdisaster, which, among other
things serves quite well the purpose of verifying if a given CD/DVD has
errors.

In the particular case of CDs, it can also give you a very nice idea of
if the medium is going to die or not, showing you how many C2-errors it
has along all the surface etc: http://dvdisaster.net/en/images/good-cd.png

It is packaged for Debian http://packages.debian.org/sid/dvdisaster and
maintained by yours truly. :-)


Regards,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100728033006.gc4...@ime.usp.br



Re: patches to ybin

2010-07-21 Thread Rogério Brito
Hi there, people.

On Jul 21 2010, Rick Thomas wrote:
 Unfortunately, there are lots of places that still expect absolute
 device names.  Ybin is one of them.
 
 I've got a patch that fixes this (at least it fixes it in my test
 environment -- G4 PowerMac running Debian Squeeze).

That's good. Two questions, though:

1 - have you been able to make a bootable CD or DVD with your patched
yaboot/ybin?
2 - did you have any chance of trying GRUB2?

 the details are in Debian bug report #580455
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580455
 
 Is there some way to get this patch (or something even better)
 accepted?   What can I do to help?

I just started a revamp of the packaging of yaboot at:

http://git.debian.org/?p=users/rbrito-guest/yaboot.git

The best way to get things now would be to push any patches that we may
have upstream (if applicable in general). I have separated the whole,
monolithic patch in the original debian packaging in smaller patches,
but other things may be desired.

As I am without access to a powerpc box right now, I would appreciate it
if anybody could build the package to see how is its status right now.

If you want it, I can include your patch in my tree.

To the debian-boot people: since I have not heard from anybody, I just
decided to take action and change the packaging. I hope that you don't
mind me preparing an non-maintainer-upload.

BTW, I plan on importing the newer upstream versions into the repository
that I listed above.

That's it for the moment.


Regards,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100721221815.ga17...@ime.usp.br



Re: please take a look at Debian Bug#589701: installation-reports: Install yaboot on a hard disk - Failed to install boot loader

2010-07-20 Thread Rogério Brito
Hi there, Rick.

On Jul 20 2010, Rick Thomas wrote:
 At this point, Debian squeeze is un-installable on NewWorld PowerPC
 Macs due to yaboot's failure to adapt to the use of UUID= and LABEL=
 format in /etc/fstab.
 
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589701

This is bad. I will try to see what I can do to test the installation on
a new ppc (the bad thing is that, as I told before, my newworld
ppc---an iBook G3---is moribund).

 I have provided a partial fix in Debian bug#580455 but I have not
 gotten any feedback from the developers.

I look into that with a little more care after I get some sleep. Perhaps
a non-maintainer upload of yaboot is in order.

off-topic
  BTW, I will be in NYC for this year's DebConf (well, assuming that the
  plane doesn't crash/fall/etc :-)) and I hope to work on some of the
  issues that are annoying us. If you can attend, that would be superb
  (and, of course, getting to know more people would be really nice).
/off-topic


Regards,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100720154955.ga9...@ime.usp.br



Are powerpc packages being sent to incoming from buildds at all?

2010-07-17 Thread Rogério Brito
Hi there.

Something that is making me a little worried: are the powerpc packages
getting from the buildds to incoming?

A quick perusal would make me believe that the answer would be no, since
I only saw 3 packages in incoming.d.o and two of them (irssi plugins)
were uploaded by Rhonda (which I believe still uses her trusty
PowerBook, right Rhonda?) and another one was an non maintainer upload
for quick-installer.

Is there any problem that was not communicated?


Regards,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100717081007.ga4...@ime.usp.br



Question about a package in experimental built but not present in the archive

2010-07-15 Thread Rogério Brito
Hi there, people.

Please excuse my lack of knowledge about the buildd network, but I would
like to use a package (forked-daapd) that is only present in the
experimental section of the archive, but not present in binary form.

In particular, I just saw that

  https://buildd.debian.org/build.php?arch=powerpcpkg=forked-daapd

was attempted and concluded nicely, but that the package has not been
integrated in the archive for the past 7 days

  http://qa.debian.org/madison.php?package=forked-daapd

Is there any package of this available? I would like to run forked-daapd
in a system that is way too slow to cope with all the build
infrastructure (which includes a java VM).


Thanks in advance for any help,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100715061813.ga30...@ime.usp.br



Re: installing on PPC Mac Mini without any OS installed

2010-07-15 Thread Rogério Brito
Hi, Rick and others.

On 07/16/2010 12:19 AM, Rick Thomas wrote:
 One thing I did *not* do was tell it use the whole disk and partition
 it automatically -- I'd have to replace the hda disk with a spare to
 try that and I don't have time for such experiments just now.  If
 anybody else has a chance, and time to try it, I'd love to hear your
 experience.

Did you happen to try playing with GRUB2 here?

BTW, I think that you (and other people) may be interested in consolidating some
of the collective knowledge here:

   * http://github.com/rbrito/powerpc-tutorial

I should reserve some extra time for that, but I think that some of the
information there may, perhaps, be helpful for others playing with ppc.


Regards,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/4c3fd6ca.2060...@ime.usp.br



Re: ISO For Recent Debian Squeeze

2010-07-14 Thread Rogério Brito
Hi there.

On Jul 14 2010, Eraina and Richard jenkins wrote:
 At the moment, I am running Ubuntu 10.04 ... which is nice (aside from
 the absence of windfarm which is easily remedied) ... but I still
 prefer Debian.

That is great. One question, though, if you have the opportunity to
reinstall stuff: do you need a working system for production right now
or can you spare some time to help with potential issues?

In the first case, the way to go would be to just install the current
stable installation and update to a newer version with the packages that
you want.

In the second case (which would have bigger, better long term effects,
even for you, if you happen to need to reinstall in the future), it
would be nice if you could test the newest install CD that you can find,
take notes of the errors that you see and report them to the
debian-{boot,installer,powerpc} mailing lists.

 Any ideas??


Hope that helps,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100714213951.ga4...@ime.usp.br



Re: ISO For Recent Debian Squeeze

2010-07-14 Thread Rogério Brito
Hi there.

On Jul 14 2010, Gary wrote:
 Although the discussion is hopefully helpful, I'm not sure anyone's
 actually answered Richard's original question re where to find squeeze
 installer ISOs... http://cdimage.debian.org/cdimage/weekly-builds

Oh, Gosh. You are right.

Finding the I want to be a guinea pig images is, sometimes, a not-so
obvious thing, if one goes to the expected place (cdimage.d.o). Some
links, in no particular order:

* http://d-i.alioth.debian.org/
* http://cdimage.debian.org/cdimage/daily-builds/
* http://cdimage.debian.org/cdimage/squeeze_live_alpha1/

BTW, just a naïve question for those at debian-cd: is there any
(intended :-)) reason why the daily-builds for a given arch (say,
powerpc) also lists some other arches as subdirectories? Say:

* http://cdimage.debian.org/cdimage/weekly-builds/powerpc/
* http://cdimage.debian.org/cdimage/weekly-builds/powerpc/alpha/
* http://cdimage.debian.org/cdimage/weekly-builds/powerpc/arm/

... and so on?


Regards,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100714225652.gb9...@ime.usp.br



Re: Debian PowerPc installer initramfs-tools generates malformed yaboot.conf created when alternate partitions use UUID= in fstab

2010-07-14 Thread Rogério Brito
Hi there, Rick.

(I am including the pkg-grub-devel list here, as it may be interesting
to them).

On Jul 14 2010, Rick Thomas wrote:
 I'm willing to give it a try on some of my test machines.
 
 How do I go about installing/testing Grub2 ?

I wrote a summary of what I did some time ago:

  http://lists.debian.org/debian-powerpc/2010/06/msg00028.html

One particular point that may not be that obvious is that your current
HFS partition may not be big enough to hold an initial grub2 image with
all the modules (those found in /usr/lib/grub/powerpc-ieee1275/).

Some of the modules may not be necessary, if you are only using
something like ext{2,3,4} on your system: them, XFS, JFS, and Co. can be
avoided to be included in that binary.

Another thing that is worth noting is that the command to create that
initial image seems to have been changed, and it should be grub-mkimage
with a parameter --format=powerpc-ieee1275, instead of grub-mkelfimage.

(Fear not: the comments above may not make sense if you have not yet
tried to play with grub2, but they will after you read my e-mail listed
above).

Another slight problem that may make the automatic installation not so
obvious is that the grub.cfg file will probably list the partition that
you will be booting from as (hd0,foo), where it currently needs to be
(hd,foo), without the zero after hd.

I don't know if the hd0 string that the grub configuration puts in the
grub.cfg is used with/taken from OpenFirmware (in case it would be the
hd alias that OpenFirmware uses for the disk), but flexibilizing this
for systems that may have more than one HD would be desireable (i.e.,
stay with the numbering with the HDs).

But that doesn't prevent one from using grub2 right now.


Hope that this helps,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100714233006.ga11...@ime.usp.br



Linux on PowerPC article on LWN

2010-07-14 Thread Rogério Brito
Hi there.

I don't know if there is anybody out there that likes to read LWN
(lwn.net), but they have an article about Linux on PowerPC and the fate
of this architecture on this week's edition.

http://lwn.net/Articles/395459/

The content is probably for subscribers only (but will be free'ed the
next week).

It does mention the situation of the various distributions and the
(lack of) support of the platform.


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100715020103.ga17...@ime.usp.br



Re: booting gparted live cd

2010-07-13 Thread Rogério Brito
Hi, Giuseppe.

On 07/13/2010 06:30 PM, Giuseppe Valente wrote:
 ../boot:
 boot.cat  gparted  gparted.igz  grub  help.msg  memtest86 
 System.map-gparted

Apparently, the CD that you have is for a x86 architecture. If that is indeed
the case, then it won't boot from a powerpc.

Depending on how much RAM you have, you might like to use a live CD (like
Ubuntu's) and run gparted from there (without mounting any partition from your
hard drive, of course).

Failing that, is there anything like the Firewire/target mode for powermacs? In
that case, you might want to use that as a way to resize your root partition. Or
you could temporarily move the HD to another machine that can run gparted for 
you.


Regards,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/4c3d08d5.7010...@ime.usp.br



Re: Debian PowerPc installer initramfs-tools generates malformed yaboot.conf created when alternate partitions use UUID= in fstab

2010-07-13 Thread Rogério Brito
Hi.

Just a quick status update on this (I'm catching up on e-mail).

On 06/28/2010 02:42 PM, Rogério Brito wrote:
 We could, perhaps, offer two boot loaders for NewWorld ppc machines in Debian
 and phase out yaboot once we know that GRUB2 works fine. (That still leaves
 those users of miboot and quik without good alternatives).

My primary powerpc machine (an iBook G3) is halting in some ways that I have not
yet figured out, which I suppose are related to heat.

That being said, I would like to go on and take some care of powerpc (as I have
some embedded machines that use it). In particular, I would like to upload a new
version of yaboot, to be a little more in sync with upstream.

Two questions, therefore:

1 - is there any problem with that?
2 - would there be anybody to sponsor a possible upload to unstable?

I am including people from debian-boot and the person that is currently listed
as the maintainer of yaboot as carbon copies.

Also, it would be very nice if we had reports from people that tried to use
GRUB2 on powerpc.


Thanks, Rogério Brito.

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/4c3d0ae1.5090...@ime.usp.br



Re: Debian PowerPc installer initramfs-tools generates malformed yaboot.conf created when alternate partitions use UUID= in fstab

2010-06-28 Thread Rogério Brito
Hi, there.

Just a quick status update. I am including debian-boot here. If any mailing list
should be dropped, just say so.

On 06/27/2010 10:01 PM, Rogério Brito wrote:
 On Jun 28 2010, Benjamin Cama wrote:
 - maintenance of yaboot has always been flacky in the sense that
 maintainers seem to get hopeless on the lack of interest/motivation
 from powerpc devs/users
 
 That's one of the problems of using a less popular platform. :-(

I was just writing a small summary of what worked for me with GRUB2 on Debian
and I found out that our yaboot in Debian could be more up to date.

According to the Package Tracking System, the latest upload to the archives was
made in 2006 [1] and the yaboot people has progressed a little bit with the
sources available in a git repository. [2]

[1] http://packages.qa.debian.org/y/yaboot.html
[2] http://git.ozlabs.org/?p=yaboot.git

We could, perhaps, offer two boot loaders for NewWorld ppc machines in Debian
and phase out yaboot once we know that GRUB2 works fine. (That still leaves
those users of miboot and quik without good alternatives).

 - there are currently no DD that care about powerpc problems (or we
 could rather say that no people who care about PPC are DDs)
 
 We don't exactly need to have DD's to take care of the PPC problems.
 While that would make things easier, it is not a strict requirement, as
 long as one has a powerpc machine.

As Michel has told us, we don't strictly need DD's. I also would think that he
would not be completely opposed to sponsor uploads to some of the PPC-related
packages.

That being said, is there anybody in debian-boot that could say any word on the
status of the ppc bootloaders?

 My iBook G3 is currently having some weird issues (shutting itself down
 or freezing hard), and I suspect that it is due to heat.  I intend to
 get grub2 to work, once I get it to boot, though.

Just as the quick reminder, I was partially succesful with this and having a
familiar, flexible GRUB environment booting out of this machine was very nice.

The basic guidelines that I followed were those of Jörg Sommer [3], with a few
modifications:

1 - you have to use grub-mkimage instead of grub-mkelfimage;
2 - you have to pass the kind of image that you want grub-mkimage to generate
with the -O switch;
3 - you still have to strip the 0 from (hd0) in the device map file that grub
creates, so that it can generate correct grub.cfg files for the boot time.

[3] http://lists.debian.org/debian-powerpc/2009/06/msg00064.html

So far, I am booting with grub2 by hand from Open Firmware, but that's just
because I didn't want to save the things to the nvram yet.

 Does yaboot FTBFS, apart from a powerpc 64 issue? That patch could be
 integrated, though, but I don't have any ppc64 machine to see if it
 makes sense.

Just for the record, upstream's yaboot already has this issue fixed [4].

[4] http://git.ozlabs.org/?p=yaboot.git;a=commitdiff;h=131e44


Regards,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/4c28df12.8080...@ime.usp.br



Re: Debian PowerPc installer initramfs-tools generates malformed yaboot.conf created when alternate partitions use UUID= in fstab

2010-06-27 Thread Rogério Brito
Keeping the CC'ies, to not leave anybody out of the discussion.

On Jun 28 2010, Benjamin Cama wrote:
 - maintenance of yaboot has always been flacky in the sense that
 maintainers seem to get hopeless on the lack of interest/motivation
 from powerpc devs/users

That's one of the problems of using a less popular platform. :-(

 - there are currently no DD that care about powerpc problems (or we
 could rather say that no people who care about PPC are DDs)

We don't exactly need to have DD's to take care of the PPC problems.
While that would make things easier, it is not a strict requirement, as
long as one has a powerpc machine.

That being said, I don't know if it would be worth investing some time
more in the migration from yaboot to grub2, since the latter is supposed
to have many features that the former doesn't.

My iBook G3 is currently having some weird issues (shutting itself down
or freezing hard), and I suspect that it is due to heat.  I intend to
get grub2 to work, once I get it to boot, though.

The short story is to make sure that:

* the initial grub binary is in the initial HFS filesystem;
* open firmware looks for that binary;
* the grub binary loads the kernel

The longer story:

* http://grub.enbug.org/TestingOnPowerPC
* http://oskuro.net/blog/freesoftware/time-for-grub2-2008-02-09-17-53
* http://lists.debian.org/debian-powerpc/2009/06/msg00064.html

 I wanted to help for a problem with the buildd but Frans Pop told us
 that it needed a DD to be solved, and I also have a patch for
 util-linux specific to PPC that is waiting for monthes. But there are
 only users and simple developers left on the debian-powerpc ML, so
 we're a bit alone and hopeless ...

Which patch do you have? Did you push it to the maintainers of the
util-linux package? Or to upstream? Just curious.

Does yaboot FTBFS, apart from a powerpc 64 issue? That patch could be
integrated, though, but I don't have any ppc64 machine to see if it
makes sense.

A build spin of yaboot would be nice, regardless, even if it is just to
make some janitorial changes to the debian packaging. I can prepare some
of those, if Aurélien doesn't mind.


Regards,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100628010128.ga2...@ime.usp.br



Re: ibm java

2010-05-27 Thread Rogério Brito
Hi, Gaudenz.

On May 26 2010, Gaudenz Steinlin wrote:
 On Wed, May 26, 2010 at 01:08:07PM -0300, Rogério Brito wrote:
  I tried to use alien to convert it a debian package (sure,
  non-compliant and all that stuff) so that a start of a debian
  packaging could be made (yes, I am lazy and I don't know enough
  about java to care about properly maintaining it).
 
 Try make-jpkg from java-package instead:

Well, I thought about it first, but the following messages weren't very
animating:

http://packages.qa.debian.org/j/java-package/news/20100412T110936Z.html
http://packages.qa.debian.org/j/java-package/news/20100413T163928Z.html

I will grab the version of stable while it lasts, though. :-)


Regards,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100527092225.ge1...@ime.usp.br



Re: ibm java

2010-05-26 Thread Rogério Brito
On May 26 2010, David Medina wrote:
 what is the link to download that?. Seriosly, i didn't find.

That's always a pain, isn't it? I keep forgetting it and navigating on
IBM's site is a nightmare.

Anyway, it is here:

http://www.ibm.com/developerworks/java/jdk/linux/download.html

I tried to use alien to convert it a debian package (sure, non-compliant
and all that stuff) so that a start of a debian packaging could be made
(yes, I am lazy and I don't know enough about java to care about
properly maintaining it).

OTOH, some programs unfortunately (still) don't work under openjdk,
which is a pity (mostly non Free software that I am required to use by
government).

I tried converting the package from IBM with alien on an amd64, but it
bombs and I have not yet dealt with the shared libs step of it, which,
if I recall it, is the part that presented problems.


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100526160807.gc3...@ime.usp.br



Re: Making module for WLAN stick on iBook

2010-04-21 Thread Rogério Brito
On Apr 21 2010, Sakari Aaltonen wrote:
 Quoting Rogério Brito
 Let's see if we can pinpoint where the
 problem lies.  But, before that, did you try any newer kernel?
 
 As I said, the older WLAN stick works well with the iBook, and I
 really have no experience of playing with kernels on a Debian system.

I think that I could help a little bit. If you have access to a faster
system, I can also provide you with a simple script (just 5 or 6 real
lines worth of work) to cross-compile kernels to generate a deb package
for your powerpc.

You can get a lot of details regarding kernels in Debian here:

http://kernel-handbook.alioth.debian.org/

It contains instructions regarding the initramfs etc. If you want
something more recent than that 2.6.26 kernel, then you could try the
kernel in squeeze:

http://packages.debian.org/squeeze/linux-image-2.6.32-3-powerpc

If you need something newer (but still much more conservative than
something taken from Linus Torvalds's tree), you could try:

http://packages.debian.org/experimental/linux-image-2.6.33-2-powerpc

 I got started on the RTL8192U because I thought the driver sources for
 Linux that came with A-Link's stick would be enough.  That turned out
 not to be the case.

I would be interested in at least having an idea if the driver works for
ppc with a newer kernel.

 I think I got the older stick 3-4 years ago. I'm sure it was the
 manufacturer, A-Link, that supplied the firmware. I don't remember
 which distribution I was using at the time - Slackware? Certainly not
 Debian.

Well, nice. It would be worthwhile to see if the appropriate firmware is
already in one of the packages in Debian.  The purpose here would be to
get the distribution as future-proof as possible for the 


Hope you find the reference interesting,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100421185454.gb2...@ime.usp.br



Re: Making module for WLAN stick on iBook

2010-04-20 Thread Rogério Brito
Hi, Sakari.

On Apr 20 2010, Sakari Aaltonen wrote:
 I think I'll have to give up on making the r8192s_usb module myself;
 it seems to require too much effort.

Hummm, don't give up just yet. Let's see if we can pinpoint where the
problem lies.  But, before that, did you try any newer kernel?

I am willing to compile you a newer kernel so that we can debug this
and, if that is the case, report anything to the subsystem/module
developers---then, we will have a proper, working kernel that we can
count on.

 On a brighter note - I remembered an older WLAN stick I had lying
 around. Getting that to work was comparatively - well, ridiculously
 - easy. Apparently, the zd1211rw stuff needed was included in the
 2.6.26-2-powerpc kernel. I just put the firmware in /lib, and that
 was it.

Well, that's nice that you now have some working wlan. BTW, how/where
did you get the firmware from?

I don't know how much familiar with the concept of a distribution like
Debian, but we usually advise people to prefer to things that are
already packaged. Is that the case of your firmware?


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100420094803.ga6...@ime.usp.br



Re: debian binaries on e500 cores....

2010-04-20 Thread Rogério Brito
Hi there.

On Apr 19 2010, JR Rivers wrote:
 I'm using debian on an embedded powerpc system… from all of my
 reading, it seems that the pre-compiled binaries are built for e300
 (603 equivalent cpus) and will not work on the e500 (embedded powerpc
 variations with the SPE FPU).  Is that a correct view of the world?

I think that this is the case, if nothing has changed.

I seem to recall the there were some problems with aptitude (or was that
apt-get?) with e500 in the past, but I don't know the status now, as I
am not familiar with that flavor.


Regards,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100420100051.gb6...@ime.usp.br



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

2010-04-15 Thread Rogério Brito
On Apr 15 2010, Gary wrote:
 Does Sun have a PPC JVM/JDK available? I had no idea such a beast
 exists...

I don't know about Sun, but IBM has one. I don't know about the plugin
side of things, but for java applications, it works.

BTW, just for the sake of getting this in the mirrors and for references
(as I *always* have to dig IBMs site, which is not that easy to
navigate), here is the URL:

http://www.ibm.com/developerworks/java/jdk/linux/download.html

(look for 32 bit POWER packages there)


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100416004520.gc5...@ime.usp.br



Re: Making module for WLAN stick on iBook

2010-04-14 Thread Rogério Brito
Hi, Sakari.

2010/4/14 Sakari Aaltonen sakari.aalto...@tkk.fi:
 Lainaus Rogério Brito rbr...@ime.usp.br:
 The compilation script/makefile that came with your module is looking
 for the kernel headers where /lib/modules/version/build is telling.

 OK; persistent googling led me to
  http://blog.calmblue.net/?p=105

 Clearly, what was missing was this:
  apt-get install linux-headers-2.6.26-2-powerpc

I thought that you had this one already.

 Once this was done, the correct version of the kernel headers appeared in
 /usr/src, as did the crucial link in /lib/modules/version:

Right.

 So, 'make'ing the module for the WLAN stick starts up. However, it soon
 stops:

OK.

(...)
 /home/sakari/rtl8192su_linux_2.6.0003.0810.2009/HAL/rtl8192u/r8192U_core.c:11754:
 error: implicit declaration of function ‘vfree’
(...)

Let us see. If the suffix 0810.2009 means the date on which this
module was made available, then we have a serious problem, as kernel
2.6.26 was released in July of 2008 [1].

[1] http://kernelnewbies.org/Linux_2_6_26

Since the kernel is now in the staging subtree of the kernel, it means
that this kernel module has been receiving heavy rewrites for quite
some time and function calls, number of parameters are not guaranteed
to be stable.

 I wish this was easier.

Perhaps you should try a newer kernel, see things working and then try
to understand what happens with your system?

This is more likely to succeed than if you try first to understand the
infra-structure of the kernel (as you would need to understand a
little bit of the kernel development and the peculiarities of this
module and of the wifi subsystem) and then compile a new kernel.


Regards,

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


--
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/n2m6540c931004140608qcdd1c6fk118c68564581c...@mail.gmail.com



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

2010-04-14 Thread Rogério Brito
Hi there, Wolfgang.

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 (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.


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100414172821.gb9...@ime.usp.br



Re: Making module for WLAN stick on iBook

2010-04-14 Thread Rogério Brito
Hi, Sakari.

On Apr 14 2010, Sakari Aaltonen wrote:
 It *was* pretty easy. What was obviously missing was prototypes for
 vmalloc() and vfree(). So, I added one line to r8192U_core.c:
 .
 #include linux/usb.h
 #include linux/vmalloc.h /* include for Debian 5.0.4 iBook 2010-04-14 */
 .
 
 With this change, 'make' succeeded.

Great. That's the easy part (getting it to compile).

 'make install' didn't, but all that seemed to be needed was making
 directories /etc/acpi and /etc/acpi/events, which didn't exist
 previously.

Have you tried installing pbbuttonsd and gtkpowerprefs? Alternatively,
pommed may be of use here.

But this ACPI stuff is, probably, just a peripheral matter.

 Everything looked OK, so I rebooted and mounted the WLAN stick.
 Unfortunately, nothing seems to be happening with it. 'lsmod' shows
 that module r8192s_usb has, in fact, been loaded (automatically),
 and 'dmesg' reports
 .
 Linux kernel driver for RTL8192 based WLAN cards
 .

Great.

 However, when I say 'ifconfig wlan0 up', the answer is

 wlan0: ERROR while getting interface flags: No such device

That's not so great. Did you use iwconfig before ifconfig, though?
Depending on how your wireless network is set up, you may want to
install wpasupplicant etc.

 Also, the two-computer (Network Manager?) icon at the top of the
 screen that would normally drop down a setup dialog for a wireless
 network stays inactive.
 
 However, this is getting close, isn't it?

Yes, it is, but debugging this will get quite harder now. I still would
suggest you to pursue the road:

,
| git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
| cd linux-2.6
| cp /boot/any-config-that-you-want .config
| make oldconfig
| make deb-pkg
`

And install the deb package that is generated. (You may, perhaps, have
to install fakeroot for the make deb-pkg step, but that's just a minor
package).

And, if you don't delete this tree, you can periodically grab only the
small changes that go into Linus's tree and keep following it, seeing
the everything works as intended and having direct contact with the
developers.


Regards,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100414174852.ga10...@ime.usp.br



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

2010-04-14 Thread Rogério Brito
On Apr 14 2010, Gary wrote:
 I have to ask the obvious here; why are you using a development
 branch of _any_ OS in a production environment?

I am not sure if the question was directed to me, but part of the answer
on my use of the development branch of the OS is to develop some of the
packages that you will use in your production environment. :-)


Regards,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100414183553.ga9...@ime.usp.br



Re: Making module for WLAN stick on iBook

2010-04-13 Thread Rogério Brito
Hi there.

On Apr 12 2010, Sakari wrote:
 I installed 5.0.4 on an oldish iBook and was pleasantly surprised by how easy
 it was. Then I got greedy and wanted to run a WLAN stick.

That's great. I have two iBooks here (one G3 and one G4) both running
Linux smoothly and it is a very nice thing to have them useful, with a
newer operating system.

 Can anyone comment on what is needed to build a module? I think kernel
 sources are needed (at least),

Yes.

 but I cannot find a package for 2.6.26-2-powerpc, which seems to be
 the version here. My very first attempt failed because the original
 5.0.4 installation did not even include the 'make' program.

Would you be opposed to the idea of using a newer kernel? This driver is
already part of the stock (read: Linus Torvalds's) tree, in the staging
area (that is, drivers that are not yet of high quality, but which are
getting improvements).

Perhaps the newer precompiled kernels of Debian's testing or unstable
already have this module neatly maintained so that you can simply
install them an happily use your wlan stick.

 (I have not used Debian before, so I may be ignoring something completely
 obvious.)

If you want to compile your own kernels, having only build-essential is
enough (it will pull in various other packages needed for compilation of
kernels).

If you want to fine tune your kernel with specific options, you can also
install libncurses-dev and run a more comfortable make menuconfig,
select the features etc.

And, to generate a proper deb package from upstream's sources, just use
something (on the root of the kernel sources):

make deb-pkg


Regards from a member try to catch up with the debian-powerpc list,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100413063337.gc11...@ime.usp.br



Re: Making module for WLAN stick on iBook

2010-04-13 Thread Rogério Brito
Hi, Sakari.

On Apr 13 2010, Sakari Aaltonen wrote:
 Quoting Rogério Brito rbr...@ime.usp.br:
 If you want to compile your own kernels, having only build-essential is
 enough (it will pull in various other packages needed for compilation of
 kernels).
 
 But... When I say 'apt-get install build-essential', the answer is
 that 'build-essential' is already installed and the latest version.
 However, here are the contents of /usr/src/linux:

OK. That's an important step.

 **
 ibook:/usr/src# ls -al
 total 47528
 drwxrwsr-x  2 root src  4096 2010-04-12 20:05 .
 drwxr-xr-x 12 root root 4096 2010-04-02 19:54 ..
 -rw-r--r--  1 root root 48606909 2010-03-09 23:10 linux-source-2.6.26.tar.bz2
 ibook:/usr/src#
 **
 
 So, there is only the .bz2 package. That is not enough, is it?

Quite probably. Just unpack the .tar.bz2 package somewhere else and you
will have the tree that was used to compile your kernel.

Actually, a hint here: it is *not* necessary to compile your kernel as
root.  In fact, it is a good idea to use the root account as little as
possible. The compilation of a kernel (or of a module) is not one that
would require being the root user.

 Also, the directory that the earlier 'make' complained about,
 /lib/modules/2.6.26-2-powerpc/build, is still missing.

Usually, /lib/modules/version/build is just a link to any place where
the kernel is put. You can see where it is pointing to (or if it is not
present at all) with something like:

ls -l /lib/modules/2.6.26-2-powerpc/build

When you unpack the kernel sources (and you can put it anywhere you
like), just make sure the link cited above points to where you unpacked
your kernel.

 I suspect there is some very basic capability that I lack to build
 modules. I mean, it's not just the A-Link WLAN module that cannot be
 built - I don't think I can build *any* module with the current
 setup.

The compilation script/makefile that came with your module is looking
for the kernel headers where /lib/modules/version/build is telling.

Anyway, are you really sure that you wouldn't like to use a newer
kernel?  The 2.6.26.x kernels are way, way too old.


Hope this helps,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


-- 
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/20100413103113.ga18...@ime.usp.br



Re: Problems with Debian PowerPC

2009-12-16 Thread Rogério Brito
Hi there (reading from -powerpc).

On Dec 16 2009, Rick Thomas wrote:
 Debian on PowerPC seems to be in trouble...

I just purchased me a new (used, in fact) iBook G4 and this is the
first altivec-enabled box that I have. It is also a bit faster than my
other powerpc machines.

(BTW, if you can donate a powerpc machine, I am interested in
that---please, reply privately if you can).

 1) The daily d-i CDImage for PowerPC hasn't been updated since Dec 12th.
   
 http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/powerpc/iso-cd/

I will see with Otávio what can be done from the d-i side of it (I'm not
really up to d-i things, since I've been working with the main
distribution instead of with installers). But I can try to look at it.

 2) Even if it were updated, it still would not be possible to install
 Debian Sid on PowerPC due to the lack of a linux-image package more
 up-to-date than 2.6.30.  This problem has existed for several weeks.

Did not know that, as I am usually running my own kernels. Is there any
breakage in any drivers with a current git tree? I just compiled
yesterday a kernel from Linus' tree for an OldWorld mac and it was
successful (actually, that was a cross-compilation).

 3) When I install a graphical desktop environment with Squeeze
 using the above d-i images, I get a system that is missing almost
 all of gnome due to un-resolvable dependency conflicts.
 
 Can anything be done about to fix this?  What can I (as a user, non-
 developer, but willing tester) do to help?

Well, there is probably things that can be done. The problem would be to
get a more precise diagnostic. And, yes, a tester is always, always
wanted.

For instance, which part of gnome is not installable? Have you tried
seeing the subpackages which gnome uses (if you're going for the
full-blown metapackage---I always stay away from that for philosophical
reasons, as I want a different gnome from what one gets by default).


Regards, Rogério Brito.

P.S.: Otávio, please, get in touch.

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


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



Re: Yaboot does not handle ext4 root partition?

2009-12-08 Thread Rogério Brito
Hi, all.

On Dec 07 2009, Rick Thomas wrote:
 I assume that a separate /boot partition that is formatted ext2
 would allow yaboot to do it's thing with a root partition formatted
 ext4.  Do you know for sure?

This would definitely work. Also, do you need a extremely modular
kernel, as that of a distribution? If not, then it would be a good thing
to compile in ext4 support in the kernel.

Then, you could potentially avoid the extra partition with a trick like
Branden's installation instructions, putting things in the same HFS
partition that yaboot gets installed on.


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


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



Bug#557892: RFH: hfsprogs -- mkfs and fsck for HFS and HFS+ file systems

2009-11-24 Thread Rogério Brito
Package: wnpp
Severity: normal

I would kindly request assistance with maintaining the hfsprogs package,
which is a pair of programs for mkfs and fsck for HFS/HFS+ filesystems.

The package is developed by Apple, but only a small fraction of the
package is actually used. The current packages in Debian use source code
from Apple's MacOS X 10.4 version (codenamed Tiger).

The original patches adapting things to Linux that I got were monolithic
and I cleaned them up, broken them up (for ease of future work) and
were ported forward against some 5 or 6 (I forgot how many) upstream
releases, but still in the 10.4.x branch of their filesystem.

Now, things are getting cleaner and I have started porting the patches
against the first MacOS X 10.5 version, and most of the patches are
already appliable against that version (with the exception of one
patch).

The package has no bugs in its current version, has no lintian
warnings/errors (when using a new lintian version) and is packaged with
format 3.0 (quilt).

In other words, it is in a mostly sane situation, but as is a tautology,
things can be improved.

There are some things to do and I would kindly appreciate some help with
the forward porting the patches.


The package long description:

,
|  The HFS+ file system used by Apple Computer for their Mac OS is
|  supported by the Linux kernel.  Apple provides mkfs and fsck for
|  HFS+ with the Unix core of their operating system, Darwin.
|  .
|  This package is a port of Apple's tools for HFS+ filesystems.
|  .
|  For users, HFS+ seems to be a good compromise to carry files between
|  MacOS X and Linux Machines, as HFS+ doesn't suffer the problems of
|  FAT32 like:
|  .
|   * huge space waste (in slack space as devices grow faster);
|   * ability to create files that are more than 4GB in size (especially
| good for those working with multimedia and that need to carry large
| ISO files);
|   * ability to use case preserving (and even sensitivity!);
|   * ability to use uid's and gid's on the filesystem.
|  .
|  Users in general can enjoy such benefits since it is expected to have
|  more HFS+ filesystems in use, as Apple has announced Macintoshes for
|  ix86-64, besides the filesystem being already supported by PowerPC
|  systems since the beginning.
`


Regards,

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br



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



Re: Bug#557720: FTBFS on powerpc: undefined reference to `.unmask_msi_irq'

2009-11-23 Thread Rogério Brito
Hi, Martin.

On Nov 23 2009, Martin Michlmayr wrote:
 Package: linux-2.6
 Version: 2.6.31-2
 Severity: serious
 
 2.6.31-2 fails to build on powerpc:
(...)

Where can I get the source packages for linux on Debian?

I don't really know the infra-structure, as I always build the kernels
myself with my customized scripts, but as I plan on having things
working for the arch, I would love to see what is happening.


Thanks, Rogério Brito.

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


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



Re: Bug#557720: FTBFS on powerpc: undefined reference to `.unmask_msi_irq'

2009-11-23 Thread Rogério Brito
Hi, Ben.

On Nov 24 2009, Ben Hutchings wrote:
 This particular build failure is understood.

By understood do you mean that there is no real problem?

 Everything you need to know should be at (or linked from)
 http://wiki.debian.org/DebianKernel

Thank you very much for the pointers. Lots of material there. And one
sad thing: there seems to be no one in charge for the PowerPC kernels,
looking at the list of the kernel team members/ports. :-(

Scary. I think that I will try to understand the general infra-structure
and try to lend a hand there (no promises, but I don't want to see
powerpc endangered, as I use it).

The only problem that I see is that I don't have any powerful machine
to use to compile the kernels. :-( My iBook G3 600MHz takes ages to
compile even a very stripped down kernel. :-(

Well, if I could use any of the buildd's (I am a DM and I have agreed
and signed the DMUP), that could be a good thing.


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br


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



The package ships with it

2009-10-10 Thread Rogério Brito
severity 524371 normal
tags moreinfo
thanks


Hi, Vincent.

There must be something wrong somewhere, because the original package
*does* have the file mentioned:

http://packages.debian.org/sid/powerpc/pbbuttonsd/filelist

For this reason, I'm lowering the severity and tagging it moreinfo.
Please, could you give us more details regarding since when you started
seeing this?

Also, did you happen to have any power-related package installed?

Can you reinstall the package? Does this fix the problem? If not, can
you purge pbbuttons and reinstall it? Does this fix the problem? This
would, of course, give some hint that other program may have messed up
with pbbuttonsd's configurations (perhaps even a logging/rotating
system).

I'm CC'ing the -powerpc list so that other people can comment on their
experience here.


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: ITA: pubbuttonsd -- PBButtons daemon to handle special...

2009-10-09 Thread Rogério Brito
Hi, Barry.

On Oct 09 2009, Barry deFreese wrote:
 Is someone actually going to adopt this package?  If not, does at
 least the version on mentors work and I will do a QA upload on this
 package to at least fix the RC bug??

I think that I can adopt the package (and its siblings, powerprefs and
the gtk front-end to pbbuttonsd).

Of course, as I am not a DD (only a DM :-( ), I would need to hunt a
sponsor. :-(


Thanks, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: Booting from USB Drive

2009-10-02 Thread Rogério Brito
Hi, Shawn.

On Oct 02 2009, Shawn H Corey wrote:
 Is there any way to get it to boot from USB drive.

I don't really know, but can you use a firewire device instead? If so,
that would be supported by a good amount of Macs.

 I can set it up but I need the correct initrd.gz to make it work.

Well, you can boot a specific kernel with a specific initrd via yaboot
directly from OF, if you need it.

Branden's instructions to install Debian without (temporary) physical
media uses this method of booting.


Hope this helps, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: 720p video on G4?

2009-09-18 Thread Rogério Brito
Hi there,

Sorry for jumping in late here.

On Sep 14 2009, José JORGE wrote:
 A Monday 14 September 2009 19:00:08, drz escreveu:
  In that package is the Firmware for R3xx ATI cards. Maaaybe this
  will speed things up a little, but I dont think it will be enough
  for 720p.
 
 A simple way to check if the CPU can decode the 720p, even with an
 ideal GPU :

Gee, I wish that I had both a fast GPU  CPU like you guys have (I only
have a G3 and Rage 128 here).

 mplayer -vo null movie720.avi

Indeed. Using

$ mplayer -nosound -vo null -benchmark foo.avi

is also a good idea to see how the machine works (if it is not CPU
bound), especially after doing something like:

$ dd if=foo.avi of=/dev/null

to get the file in the cache. Depending on the format of the video (say,
a H.264 video), it takes quite a good amount of CPU to decode the video.
Converting it to a simpler format (say, MPEG-4 Part 2) might be a good
workaround.

To check the memory bandwidth of your machine, one simple-minded tool
that I used in the past is mbw (try: apt-cache show mbw).

And I can report that I got some low-resolution H.264 videos to be
playable on my 600MHz G3 iBook with mplayer and the options:

-vfm ffmpeg -lavdopts fast

This proved to be useful to play even Steve Job's video from this month.

For a source of some short 720p videos, you can try some available on
youtube or on Apple's quicktime section of the site.


Regards,

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: no sound on powermac3,3 (powerbook g4 550) debian502 gnome

2009-09-13 Thread Rogério Brito

Hi, Everybody.

On Sep 13, 2009, at 01:41, Benjamin Herrenschmidt wrote:


On Sat, 2009-09-12 at 19:33 -0300, Otavio Salvador wrote:

Do you know a way for us to know if aoa or powerpc is the right
choice? Or the oposite, a way to know that aoa is known to be broken
in a set of machine ids or like?

Well, generally speaking, aoa only picks up machines it knows about  
no ?


Actually, no. Since I have been building my own kernels, I have no  
problems with snd-powerpc.


OTOH, many people on -powerpc has sent messages along the lines I  
just installed lenny/etch/squeeze/foo on my {Power,i}{Book,Mac} and I  
can't get any sound, is there anybody here that can help me?.


It seems that on some G5 machines, snd-powerpc could cause some lock  
ups, but the problem was reported ages ago and it seems to have been  
fixed. I'm not sure if Charles Plessy (in CC) still has his dual G5  
and can test it, but I seem to recall that he once had the problem  
and, months latter, tested it again and didn't find any problems with  
snd-powermac.


(Is this correct, Charles? My memory seems to be failing me lately.)

So, for a distribution kernel, I guess that, once nobody complains  
about the problems, we can just standardize on snd-powermac (and have  
people have a working setup) and document the potential (perhaps  
nonexistent?) problem in the release notes for the arch.


I am willing to learn a bit about the kernel, but I don't have  
knowledge about hardware.


Opinons?


Regards, Rogério Brito.

P.S.: Ben, are there low-hanging fruits in the kernel for PowePC on  
Macs?



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



Re: Regarding GRUB 2

2009-09-08 Thread Rogério Brito
Hi, Michel and Jörg.

On Sep 08 2009, Michel Dänzer wrote:
 On Sun, 2009-09-06 at 09:49 +, Jörg Sommer wrote: 
  It's possible, pretty much the same like on yaboot. Or you can use
  os-prober, but I didn't and doesn't know if it works.
 
 IME it detects the Mac OS installation and puts an entry for it in
 grub.cfg, but apparently grub2 can only boot Mac OS on x86 at this
 point. Not a real problem for me as there's always the alt/option key
 boot menu.

I can live with the option key to select OSes.

Well, I can even put MacOS X out of my HD to free space for Debian, now
that it seems that the Linux Kernel supports my hardware completely (the
last remaining piece was wifi---with a very, very long debug session with the
rt2x00 maintainer).

Now, my only fear is that of X slowly discarding support for r128. :-)


Thanks for all your comments, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: PowerPC 8500??

2009-09-08 Thread Rogério Brito
Hi, Frank.

On Sep 08 2009, Frank Rubinsky wrote:
 I have an old PowerPC 8500/132 (actually, I think it was upgraded -
 150 maybe??). I'd like to install Debian on it (my first experience
 with Linux).

Since this will be your first experience with Linux, installing on an
OldWorld PowerPC won't be as easy, but still quite doable and, in fact,
a way to rescue such machines, as Apple doesn't seem to care about
them.

 The HCL at http://kmuto.jp/debian/hcl/Apple doesn't list the 8500 -
 the oldest machines on it seem to be G3s.
 
 So what's the best version of Debian to install?

Others may suggest you to boot into MacOS (the classic version, not
MacOS X), use BootX and then load Linux.

It seems that a version of MacOS 7.x can be downloaded legally somewhere
from Apple's site (please, if you go that route, it would be a good
thing if you posted the link here to the list).

OTOH, I prefer to use something that doesn't require another OS to run
Linux. In that situation, I would use either a boot floppy made with a
tool called miboot or boot using quik (which is, in some ways, similar
to using LILO).

Unfortunately, the OldWorld machines have some problems with their
bios (actually called Open Firmware) and they don't always show you
what is going on if you activate it (pressing the combination Command +
Option + O + F right after the chime when the machine is turned on).

Unfortunately #2, for legal purposes, it is not allowed to distribute
bootable CDs for OldWorld machines (like yours), which is, essentially,
what makes this a patience exercise. If it were not for that, then
installing Linux on your powermac would be as easy as on PCs.

I don't know if modern versions of Debian support installation on your
machine, but you can surely install anything if you get Debian's woody
version of the boot floppies, install a minimal system from there and
just upgrade things to a newer release (having the world of Free
Software at your fingertips).

What I described in the paragraph above is not for the faint of the
heart, but it used to work (I have to get the dust off my PowerMac
9500/180MP which has a G3 upgrade card).

 Any special hints/pointers for a newbie appreciated.

Do yourself a favor and read at least a tiny bit of NetBSDs guide to
Open Firmware and the partitioning guide that Branden Robinson wrote
about installing Debian on his old iBook.

Despite the fact that the iBook has a slightly different procedure to
boot the system, once you are running the system, things are much more
similar.

 Thanks for your help.


Hope this helps, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: no sound on powermac3,3 (powerbook g4 550) debian502 gnome

2009-09-07 Thread Rogério Brito
Just for the record, I'm including here people from debian-boot, so that
this extra piece of information gets somehow included in future versions
of d-i (if it is not incorporated already).

On Sep 07 2009, sergio sevillano wrote:
 Rogério Brito escribió:
 See if it works and reportback. If that doesn't work, then (also as root):
 
 ,
 | echo snd-powermac  /etc/modules
 | shutdown -r now
 `
 
 (This will reboot your notebook)
 
 i did,
 now it works.
 both volume control and play a .wav file with VLC player in Gnome

Nice, great. Really great that it worked. I'm leaving most of our
discussion here for reference of people at other mailing lists.

 $ cat /proc/asound/version
 Advanced Linux Sound Architecture Driver Version 1.0.16.
 $ cat /proc/asound/cards
 0 [Tumbler]: PMac Tumbler - PowerMac Tumbler
  PowerMac Tumbler (Dev 18) Sub-frame 0
 $ lsmod | grep snd
 snd_powermac   47936  1
 snd_aoa_i2sbus 22820  0
 snd_pcm_oss45248  0
 snd_mixer_oss  19328  1 snd_pcm_oss
 snd_pcm79812  3 snd_powermac,snd_aoa_i2sbus,snd_pcm_oss
 snd_timer  25508  1 snd_pcm
 snd_page_alloc 12392  1 snd_pcm
 snd61908  8 
 snd_powermac,snd_aoa_i2sbus,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
 soundcore  10244  1 snd
 snd_aoa_soundbus9060  1 snd_aoa_i2sbus
 $
 
 this last report seems exactly the same as before.

Right, but now the snd-powermac driver is what is being used instead of
the snd-aoa* driver.

Perhaps BenH (one of the principal developers of Linux on PowerPC) could
shed some comments here with the final word so that we can settle this
snd-aoa vs. snd-powermac for the time being.

 If one of the above works, then it will be one point more for the
 installer not to install the snd_aoa* drivers by default.

 thanks.
 i dont know if i will understand if you tell me
 the meaning of the commands we have used...
 or at least the aim of them.

Basically, I just told you to load one driver for the sound card that
was more likely to work with your hardware (which is more or less
similar to mine) than the driver that was being loaded by default.

 ill try to find out on manuals.

To learn a little bit more about what I told you to perform, you can
read the following manuals:

,
| man modprobe
| man rmmod
| man insmod
| man lsmod
| man 5 modules
| man shutdown
`

(You should have the man-db and manpages packages).

 you want any other report?

No, thanks. That's fine for now (unless you have another problem).


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: Fan control ?

2009-09-07 Thread Rogério Brito
Hi.

Not having a TiBook with a fan, I can't really help here.

OTOH, I have a small comment.

On Sep 07 2009, Shawn H Corey wrote:
 Actually, I was asking those questions hoping to narrow down what
 was happening.
 
 To find out which process is using the most CPU time, run `top`.
 (To quit, press 'q'.)  Once you get its process id (pid), run `ps
 -AH` to see if its dependent on anything.

You can find things a little bit more conveniently running a
beautified version of top, which does both things pointed above in a
very user friendly way.

apt-get install htop

You can see threads of processes, set CPU affinity (OK, not that useful
for single processor, single core systems, but quite useful otherwise),
kill processes *way* easier than regular top (without memorizing
pid's),

And the best feature of all: it is *SMALL*. (I hate bloated programs
with a passion).

Also, for the problem at hand, a good thing to do would be to use
powertop. Perhaps some other benchmarking tools would be useful to
isolate the problem.

(I'm not sure if the tibook in question needs the fan thermal monitoring
module for powerbooks).


Regards, Rogério.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: Fan control ?

2009-09-07 Thread Rogério Brito
Hi, Niels.

Please, reply to the list only. I am subscribed.

On Sep 07 2009, Niels S. Eliasen wrote:
 powertop is definitely interesting.

Invoking it as powertop -d gives a summary of things that you may want
to perform.

 Could this be the culprit???
 
 Sep  7 18:34:20 munin NetworkManager: WARN
 request_and_convert_scan_results(): card took too much time
 scanning.  Get a better one.
 
 and that

Just kill network manager (and, potentially, nm-applet, wpa_supplicant
etc), if you don't need your card right now.

 (I'm not sure if the tibook in question needs the fan thermal
 monitoring module for powerbooks).

 tried to install the libsensors4 package ... but that could not
 find any kind of sensors ;-(

I'm not sure if that's the right package. Perhaps sensors and sensorsd
would be a good thing, PROVIDED that any module can access the sensors,
that is.

You might want to look at the therm_adt746x and friends (I think that
this module is only for newer *books).

 Top causes for wakeups:
   37,1% ( 53,6)   interrupt : 1Level VIA-PMU
   23,1% ( 33,4)   interrupt : 1Level eth0
8,0% ( 11,6) Xvnc4 : do_setitimer (it_real_fn)
6,2% (  9,0)   interrupt : 1Level ide1

Do you need vnc right now? If not, kill it. All these things, if not
needed, will not only make your notebook consume less energy, but it
will also make your notebook slightly faster.

Getting even the latest cpu cycle is one of my goals with the lower-end
powerpc.

(Right now, I have some non-mainstream powerpc hardware where I'm
running Linux, some running at 200MHz, others running at 266MHz, but
with CPUs that don't feature extra instructions like Altivec).


Regards, Rogério.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: Fan control ?

2009-09-07 Thread Rogério Brito
Hi, Brad.

On Sep 07 2009, Brad Boyer wrote:
 I was thinking that there was a driver for the fan control on that
 model, although I just looked at the descriptions for the drivers and
 I didn't see one that sounded right.

Exactly what I did: just looked at the few lines of drivers/macintosh/*
and nothing was really useful.

I'm not exactly sure where the documentation could be found (perhaps the
Darwin sources *are* the documentation). :-(

And I have 0 experience with writing drivers. :-/


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: Fwd: Fan control ?

2009-09-07 Thread Rogério Brito
Hi, Niels.

On Sep 07 2009, Niels S. Eliasen wrote:
 and yes! i
 the iSCSI is overkill... but I intend to use it ...  a little
 later 

The best thing is to isolate the unneeded parts all at once and go on
turning them on one by one.

Also, it would be useful if you could drop into single user mode to get
rid of all those Desktop Environment crap.

 appletalk  33012  20

Do you need appletalk?

 lp 13388  0
 parport40176  1 lp

I'm not sure if parport on such a notebook is needed.

 autofs422788  0

Do you need autofs4?

 cpufreq_userspace   6776  0
 cpufreq_stats   7908  0
 cpufreq_ondemand   10624  0
 cpufreq_powersave   5280  0
 cpufreq_conservative10144  0

Unfortunately, the ondemand and conservative drivers most probably won't
work with your computer (it may complain about too high latency to
switch speeds---heck it even does that on my Pentium D 805).

 nfsd  222456  17

Are you serving any nfs clients from this machine?

 nfs   262224  0

Are you using any nfs servers from this machine?

 ext2   73256  1

Which filesystems are you using? Ext2? Ext3? You can drop the unneeded
modules.

 lm759744  0

I'm not really sure about lm75 on an Apple Mac.

 airport 8512  0
 orinoco40692  1 airport
 hermes 10528  2 airport,orinoco

Do you have a standard airport card? (802.11b)

 sbp2   23116  0

Are you using Firewire for the moment?

 dm_mirror  20608  0
(...)
 raid10,raid456,raid1,raid0,multipath,linear

Are you using any kind of redundancy (RAID) on your powerbook?

  50,1% ( 53,9)   interrupt : 1Level VIA-PMU
   7,8% (  8,4)   interrupt : 1Level ide1

You seem to have many access to the disk. Perhaps, you could track down
what is using the disc with:

echo 1  /proc/sys/vm/block_dump

(Warning, this may generate copious amounts of output!)

   1,4% (  1,5)mysqld : schedule_timeout (process_timeout)

Do you need an SQL server on your notebook?

   0,9% (  1,0)   apache2 : schedule_timeout (process_timeout)

A webserver?

   0,9% (  0,9)   dovecot : schedule_timeout (process_timeout)

A mailserver?

   0,5% (  0,5) spamd : schedule_timeout (process_timeout)

A spam classifier?

   0,4% (  0,5)  mt-daapd : do_nanosleep (hrtimer_wakeup)

A DAAP server?

   0,1% (  0,1)   amavisd-new : schedule_timeout (process_timeout)

An anti-virus checker?

  echo 1500  /proc/sys/vm/dirty_writeback_centisecs
  mount -o remount,noatime /
  hal-disable-polling --device /dev/cdrom

Those suggestions from powertop are very good measures to take if you
are chasing something that you don't really understand.

Anyway, I suggest that you think about the points that I listed above
(after all, you know your needs). There's no need to justify your uses.
I'm just bringing them to your attention.

OTOH, seeing if the fan is turned on even when you remove some modules
and in single user mode would help a lot (as root, run: telinit 1).
Running powertop while in single user mode would also help.


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: no sound on powermac3,3 (powerbook g4 550) debian502 gnome

2009-09-06 Thread Rogério Brito
On Sep 07 2009, sergio sevillano wrote:
 $ cat /proc/asound/version
 Advanced Linux Sound Architecture Driver Version 1.0.16.
 $ cat /proc/asound/cards
 --- no soundcards ---
 $ lsmod | grep snd
 snd_pcm_oss45248  0
 snd_mixer_oss  19328  1 snd_pcm_oss
 snd_seq_oss36756  0
 snd_seq_midi   10240  0
 snd_rawmidi26176  1 snd_seq_midi
 snd_seq_midi_event 10528  2 snd_seq_oss,snd_seq_midi
 snd_seq57800  5 snd_seq_oss,snd_seq_midi,snd_seq_midi_event
 snd_seq_device 11020  4 snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
 snd_aoa_i2sbus 22820  0
 snd_pcm79812  2 snd_pcm_oss,snd_aoa_i2sbus
 snd_timer  25508  2 snd_seq,snd_pcm
 snd_page_alloc 12392  1 snd_pcm
 snd61908  9 
 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_rawmidi,snd_seq,snd_seq_device,snd_aoa_i2sbus,snd_pcm,snd_timer
 soundcore  10244  1 snd
 snd_aoa_soundbus9060  1 snd_aoa_i2sbus

You can try (as root):

,
| rmmod snd_aoa_i2sbus
| rmmod snd_aoa_soundbus
| modprobe snd-powermac
`

See if it works and reportback. If that doesn't work, then (also as root):

,
| echo snd-powermac  /etc/modules
| shutdown -r now
`

(This will reboot your notebook)

If one of the above works, then it will be one point more for the
installer not to install the snd_aoa* drivers by default.


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Using flash/video on non-mainstream arches and youtube-dl (was: Re: view flash website)

2009-09-03 Thread Rogério Brito
Hi.

I'm including -mentors on this reply, since some may be interested in
the newer packages that I offer. Please, keep the CC'ies.

On Sep 03 2009, the grv wrote:
 And, for your consideration, every three days i want to visit You
 tube, Vimeo website, myspace, and so on web services that use a
 flash tecnology. Many people use this services, every day.

Are you using Flash for the video player part? If so, then you might
want to check some alternatives.

  (Here begins the part that may be of interest to -mentors)

For instance, youtube-dl (present in the unstable part of our
repository) is a handy tool to download the files and it is frequently
updated.

I have newer version of youtube-dl at http://rb.doesntexist.org/debian/
that may be more interesting for anybody using it (it is signed with my
cryptographic key), and you can get the sources at:

dget http://rb.doesntexist.org/debian/youtube-dl_2009.08.08-1~try01.dsc

I frequently use it with aria2c, so that I can download the videos
faster (and, actually, it is a good thing to follow, say, some courses
from universities).

   (Here ends the part of interest to debian-mentors).

If you just trust me (you shouldn't, since you don't know me), you can
get a ready-made package from:

http://rb.doesntexist.org/debian/youtube-dl_2009.08.08-1~try01_all.deb

After you get the videos, you can play them with vlc, mplayer, xine,
totem, whatever.

The package clive is another alternative to grab videos from all over
the place. You may want to check the mozilla/firefox plugin for mplayer
so that you can play your videos in place.

All this is available for powerpc too (I use it, and I'm interested in
the platform, as I have some very old powerpc boxes that are still going
strong).

If you are not using a flash player for videos, then using swfdec or
gnash may be an alternative (I'm not sure, since I don't use those).

The lack of flash for those alternative views is actually a plus, since
my computer doesn't get slower when I visit one site or another that
happens to have 100 ads all flying in just one page of my browser and
taking over my CPU from me.

I prefer to *not* use the flash plugin, even for platforms where Adobe
offers one (like amd64), as a way to keep my computer free of non-free
software.

 Anyway, you right. I need to shutdown my debian, when i MUST to visit
 flash websites.

I'm not exactly sure what you mean here. Which of the uses above is not
covered by your needs?

If you have anything that is not covered here, then you might want to
talk with the swfdec and with the gnash developers. Free software is
shaped by your views, if you participate.

If you don't, then your problems will probably not be addressed the way
that you prefer and the programs won't work your way.

 Thank you.
 
 GRV

I'm not sure about others, but I prefer not to talk to a person whose
name I can't really see. I have already read all the arguments (a name
is just a label etc), but I like to talk to a human.

This isn't mandatory, but just a way to get more feedback (at least from
my side).


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: installing debian on an: Apple PowerBook G4 550 (Gigabit - Ti)

2009-09-03 Thread Rogério Brito
On Sep 03 2009, sergio sevillano wrote:
 i have xorg installed
 
 apt-get xorg-video-raedon   or
 apt-get xerver-xorg-video-raedon
 gives me a:  cant find package answer

(Check the spelling above. You are typing things incorrectly).

If you have xorg, then you probably already have the necessary drivers.

It would be helpful if you sent the output of /var/log/Xorg.0.log to the
list (perhaps put it at http://paste.debian.net/ and send the resulting
URL here).

Anyway, if you are not experienced with the command line, you may want
to use aptitude instead of apt-get. Just install it (if it is not
already) and type:

aptitude

without any parameters.

 i have /etc/X11/xorg.conf  empty.
 someone said to copy it from
 http://theapt.org/openbsd/xorg.conf
 
 how is this done without typing everything?

cd /etc/X11  wget URL

But I guess that, given your background, you may not be able to fix your
problems if you start with a given configuration.

Just post the details of your machine (hint: use lshw) and post it here
and other people may be able to send you a file that work for them.

Or just Google a little bit. There were (are?) many people running
Debian on TiBooks.

 cp [source] /etc/X11/xorg.conf
 
 what is the source path [source] for a  pendrive?

That depends on what you are using. If you already have some programs
installed, the pendrive may be already mounted.

mount and dmesg are your friends.

Perhaps you should try to see if anybody in debian-user can help you
with non-powerpc specific parts (like, say, invoking apt-get correctly
or seeing how to grab something from the web).


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: Switching from Ubuntu

2009-09-03 Thread Rogério Brito
On Sep 02 2009, Shawn H. Corey wrote:
 The worst problem seems to be that most of the graphics API was
 unloaded from the GPU.

When did this happen? During a stable release? I would think not, but,
then, I wouldn't make any assurances. :-)

I would bet that the opposite would be the current way that things are
going (not that I have powerful hardware---I'm still quite happy with
some 8 or 9 y.o. cards).

Anyway, Ubuntu are probably not changing things that much. The upstream
developers at Xorg probably make some major changes and those changes
are usually carried over to the distributions.

 I think I shall try a more recent version of Ubuntu.  And if that
 fails, perhaps I'll just rewrite the API ;)

Just grab a newer live CD of, say, karmic and see the results.


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: EnterpriseDB on PowerPC ??

2009-09-03 Thread Rogério Brito
On Sep 03 2009, Niels S. Eliasen wrote:
 Anyhow... anyone with experience on running Oracle RDBMS on Debian
 (powerpc) ??

Do they have powerpc binaries? If not, then I would not follow that
road.  Perhaps moving to another platform.

If your company/client bought powerpc-based computers, then I think that
could be used as an argument to ask for powerpc binaries (I don't know
Oracle).

Talking about RDBMSes already in Debian, they should work on powerpc the
same way that they would run on other platforms (ideally).  Actually,
most software *does* happen to run as well on ppc as on, say, amd64.

The exceptions are really the vast minority.


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: installing debian on an: Apple PowerBook G4 550 (Gigabit - Ti)

2009-09-03 Thread Rogério Brito
On Sep 03 2009, sergio sevillano wrote:
 cd /etc/X11  wget http://theapt.org/openbsd/xorg.conf
 did the trick
 im into KDE now

Nice. What were the problems that you were seeing and that it fixed?
Please, provide more information with your e-mails or it will be hard to
help you.

It would be a good thing if you could post your xorg.conf file on the
Debian wiki, so that other people can be referred there (and it is also
a very good source of information in general, BTW).

One of the starting points would be:
http://wiki.debian.org/PowerPC

 does normal apt-get install xerver-xorg-video-raedon

(Gee, pay attention with your spelling)

 modify anything else than xorg.conf ?

Do you really have a radeon card? I'd think that an old TiBook would
have a Rage Mobility M3 card, but there were so many revisions of the
Tibooks that I may be mistaken. Which one do you have?

You can check what is your card by looking at the output of lscpi
(better yet would be to gather information once and for all with lshw
run as root).

Regarding if installing the radeon driver, if you installed it it would
not touch your configuration. Debian systems don't change the
configuration made by the user (or, if they do, they would be
conspicuous about this).


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: installing debian on an: Apple PowerBook G4 550 (Gigabit - Ti)

2009-09-03 Thread Rogério Brito
On Sep 03 2009, Michel Dänzer wrote:
 Only the first generation of TiBooks had a Rage128 based M3 (or was it
 an M4? :). IIRC those only came with 400 or 500 MHz CPU.

Right the first versions.

 550 MHz probably indicates a second generation TiBook with an M6 aka
 Mobility Radeon 7000. A quick web search seems to confirm this.

Oh, now that you mention this I remember the time that it took BenH to
get the specs from ATI during his late 2.4/early 2.6 benh tree.

Well, this would be easier if the OP provided a little bit more of
information. :-)


Thanks for correcting me, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Regarding GRUB 2 (was: Re: Bug#516458: HFS module fails to read some files)

2009-09-03 Thread Rogério Brito
Hi, Michel.

I'm just catching up with some old e-mails, and I found this one.

On Feb 21 2009, Michel Dänzer wrote:
 The HFS filesystem module fails to read some files, in particular files with
 an underscore in the filename. This makes GRUB2 unable to load _linux.mod
 from an HFS filesystem, making it hard for PowerPC Mac users to migrate from
 yaboot to GRUB2.
(...)

What are your experiences with grub-ieee1275?

I tried some months ago to install it and all that I got was some
complaint about not knowing what to do with the graphical framebuffer (I
don't remember the literal message). How does it work for you?

I'm still keeping an installation of MacOS X 10.4 on my iBook G3 and I
would like to keep it.


Thanks, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: installing Lenny on IBM RS/6000

2009-09-03 Thread Rogério Brito
Hi, Christian.

On Mar 16 2009, Christian Garbs wrote:
 Combining the SuSE 7.3 package I received and the instructions on
 http://www.solinno.co.uk/7043-140/walkthrough/edsuse73/ I finally got
 the system up: http://www.cgarbs.de/blog/archives/758-Wooot!.html

Can you summarize you installation process on the Debian wiki so that
other people could find your instructions (actually, it would even be a
good backup of the information for yourself, also).

The wiki is at:

http://wiki.debian.org/PowerPC


Thanks, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: installing debian on an: Apple PowerBook G4 550 (Gigabit - Ti)

2009-09-02 Thread Rogério Brito
Hi, All.

On Sep 02 2009, Gunther Furtado wrote:
 quarta, 02 de setembro de 2009,
 sergio sevillano sergiosevillano.m...@gmail.com escreveu:
 Can i get to the console from yaboot?
 
 After the blank screen you should be able to switch to console with
 Ctrl+Alt+F1.

Yes, this would usually work. I'm too lazy to check the documentation on
how to use magic SysRq on an Apple keyboard, though.

 I am not sure about what is the correct combination of Control Option
 and Apple (command) keys you shoud use when you are using an Apple
 keyboard. You'll have to try...

Perhaps that should be Control + Option + Fn + F1 (with the Fn part
depending on wheter you have selected the function keys to work as
hotkeys or not).


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: Switching from Ubuntu

2009-09-02 Thread Rogério Brito
Hi, Shawn.

On Sep 02 2009, Shawn H. Corey wrote:
 I have a PowerBook G4 and I running Ubuntu 8.04 LTS.  I am not
 completely satisfied with it and I am thinking of converting to
 Debain.

What exactly are the problems with Ubuntu?

(Well, I have my share of problems, but some of them are actually tied
to Linux, not exactly to a given distribution, even though some of them
*are* distribution problems---I'm filing bugs in Ubuntu regarding the
packages that I maintain to get them sync'ed with Debian).

 Just how different is the 'Official CD/DVD images of the stable
 release' http://www.debian.org/CD/http-ftp/#stable from Ubuntu?

Mathematically speaking, they are different. :-) You might want to check
the testing release, perhaps, if you need newer packages. Or, if you
want a middle ground between stable and testing, you may want to check
debian-volatile and debian-backports.

 Does it use GNOME?  How hard is it to set up the internet (if I get
 that going, I can strikebug/strike ask you about anything else)?

What is set up the internet? If you need a simple DHCP client, this is
quite easy and I'd think that the default user installation would give
you something like dhcp 3.

Otherwise, the files that Debian uses are the same that Ubuntu uses:
just look at /etc/network/interfaces, for instance.

Regarding, what desktop environment gets installed, the first CD
determines what gets installed. The default is GNOME, but, of course,
you can change that.

As a side note, to get support about things that are not specifically
PowerPC, you might want to check debian-user, instead of debian-powerpc.
This way, you will get a good amount more of people reading your posts
and answering them.

If, OTOH, you need PowerPC-specific things, this is the right mailing
list to check.

But, do you really need a whole DVD (or CD, for that matter) for the
installation?

If you can have an Internet connection on the powerbook, you might want
to grab the netinstall CD images, instead. That way, you only get what
you need and you help save some of the mirrors' bandwidth.

 I have my /home mounted on a separate partition.  Can I easily
 remount it under Debian?  (I will make backups before I start).

Yes, don't forget to take backups (well, I wish that mondo already
supported powerpc, since that's what I use everyday---but I may be
implementing that in the not-so-distant future; at least for NewWorld
macs).

Regarding your /home filesystem, it should present you no problems
mounting on Debian. I would expect to be zero problems with that.


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: installing debian on an: Apple PowerBook G4 550 (Gigabit - Ti)

2009-09-02 Thread Rogério Brito
On Sep 02 2009, sergio sevillano wrote:
 Rogério Brito escribió:
 Yes, this would usually work. I'm too lazy to check the documentation on
 how to use magic SysRq on an Apple keyboard, though.
 
 http://www.answers.com/topic/ctrl-alt-del

I meant SysRq, not Ctrl+Alt+Del or Ctrl+Alt+Backspace or Ctrl+Alt+Fn.

 i have tried all combinations of keys you guys have told me,
 with ctrl-alt-del seems to change in brightnes a lot.

Did you try to start with just the X server? (See the manpage of X).

Also, the logs of the X server should contain precious information (see
/var/log/Xorg.0.log or files named similarly).

 so my feeling still is that all works fine, but i just can not see it.
 so i would have to type blind all commands to change settings,
 wich looks quite hard to achieve.

Well, blindly typing things is not that hard, if you do it with
attention.  Also, if you have another computer, you could try to log
into it to see if there was a kernel panic or something similar.

 i think i need to restart form the begining, if theres no better idea

A reinstallation from start is usually not necessary.


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


-- 
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 Rogério Brito
On Aug 19 2009, Jason Hsu wrote:
 What are the appropriate partitions for using Debian on a PowerPC?

What powerpc do you have in mind? The partitioning scheme differs
regarding the bootloader that you are using.

If you are using uBoot, then a simple partition scheme like the old PC
scheme works for me. I'm not sure if there is any PowerPC that uses a
partitioning scheme like EFI (or, even, if it would make sense for the
platform).

If you are using a Mac based on PowerPC, you would employ essentially,
the route of creating:

* a first partition that describes the other partions (Apple calls this
  the partition map);

* one (plain) HFS partition where OpenFirmware (the BIOS that Macs
  use) can load things from---this partition is usually very small
  (usually just 800KB of size).

* the other partitions that you would like to have (swap, root, usr, var
  etc). 

On NewWorld PPC machines, the yaboot boot code is installed in the small
HFS partition (which OF is able to read from), when ybin is run.

IIRC, just using the standard fdisk for Macs gives you a way to erase
everything and create the first partition automatically (perhaps the i
option or something similar). The rest are just regular partitions.

I would be interested to know how other people are using GRUB2 with
NewWorld machines, as when I tried to install it, it complained
something about not knowing how to handle the graphical framebuffer and
I went back to the tried and trusted yaboot route.


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: Need to wipe/erase hard drive of iBook G4

2009-08-18 Thread Rogério Brito
On Aug 17 2009, Stefan Monnier wrote:
 You'll be bette off with dd if=/dev/urandom of=/dev/hda, BTW since you
 can then check the progress via kill -USR1,

Well, I really like ddrescue from the gddrescue package for this very
reason. The command to use would be ddrescue /dev/urandom /dev/hda.

No need to mess with sending processes signals, the complexity of
changing terminals etc.

Not only you see the progress, but you can use it as a sort of benchmark
tool to deal with hard-drives.

I do this when, say, I get a new kernel version (together with other
standard versions), especially when I am dealing with platforms/drivers
that are not that mainstream.

BTW, what about using /dev/zero before (or instead) /dev/urandom?

Of course, if the goal is privacy, then a long time will be needed with
many runs of patterns being written to disk (that is, if your disk
doesn't die before finishing the runs). :-)

It seems that dcfldd would be useful here, but I'm not familiar with it
yet.


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: Sound drivers detected on Mac Mini and G5, but not Powermac G4

2009-08-06 Thread Rogério Brito
Hi there.

On Aug 07 2009, Ben Finney wrote:
 AIUI, the ‘snd-powermac’ module is deprecated [0]. I don't know how to
 check what you're asking, but at a guess:

Just for debugging purposes, you can remove the snd-aoa module and
friends and load snd-powermac.

Actually, since I roll my own kernels, I usually don't even bother with
snd-aoa and just go to snd-powermac (on machines that have sound, that
is).


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


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



Re: make-kpkg and uImage/cuImage.*

2009-08-04 Thread Rogério Brito

Hi, Gerhard.

On Aug 4, 2009, at 12:40 PM, Gerhard Pircher wrote:

Rogério Brito wrote:
I was once unfamiliar with these uboot images, but one you get  
familiar

with them, they're just another flavor of kernel images (along with
vmlinux, vmlinuz, *.coff etc).
Yes, there isn't much difference. The only problem I faced were  
initramfs
uImages, which were not recognized by the kernel. initrd uImages  
however

worked fine.


Actually, one has just to be careful to feed the right kind of kernel  
image to the bootloader. Knowing which one is needed is half way to  
the success.


Regarding the initramfs/initrd images, I'm not using them at the  
moment (yes, I do loose the flexibility of, say, mounting the  
filesystems via UUID, which is kind of neat if you are experimenting  
with using an PATA or SATA driver for your drive), but I intend to,  
as soon as I get my own copy of uBoot compiled and a recipe of how to  
create them, with all the steps described (I still intend to write a  
tutorial on that).



Yes, I do. I have now 2 powerpc-based kuroboxes here:

* a Kurobox HD (a simpler one, which is the one that I'm using);
* a Kurobox HG (which has more memory, but I still didn't put it  
to run).


I'm quite excited to have them work out of the box with Debian, with
pure Free Software (and no non-free Software).

Same here. Debian GNU/Linux everywhere (except for the WRT54GL router
with OpenWRT). :-)


I also have another PowerPC box here which is an old iBook G3 (but  
still a NewWorld mac), whose form factor I love and would instantly  
buy a more powerful machine that has all the balance between battery  
autonomy and the ability to play videos (these are, BTW, my most  
demanding applications).


Well, in the mean time, I'm sticking to what I have and I'll wait for  
the industry to catch up with necessities.



I may be getting an arm-based kurobox in the near future (and, of
course, I will be interested in getting better support for it with
Linux).
I thought arm/armel already supports U-boot images. Thus I was a  
little
bit disappointed when I couldn't find any reference for arm + u- 
boot in

the kernel-package sources.


I will, perhaps, get the arm-based kurobox tomorrow and investigate a  
little the kernel-package sources (but not much).


If I can't figure out a solution soon, I will simply try to adapt the  
script that I sent you (perhaps, polishing it a bit, for instance, to  
deal with the reinstallation of a package, to be managed properly by  
the postinst script, a decent preinst/postrm etc).


If you have already made some of these modifications, please let me  
know and I will integrate them.



I had problems with kernel versions 2.6.26 - 2.6.30, because a lot of
things were changed in the PPC MMU and DMA code.


For the embedded platform that the kuroboxes use, I had some problems  
with the MTD devices. I still have to check what their status is and,  
perhaps, send one patch to the lkml (or some call to help :-)).



The ones mentioned here: http://bugs.debian.org/497738

Thanks for the link!


You're welcome.


As far as I understand it kernel-package is designed
around the old Linux ppc architecture, where every subarch (CHRP,  
APUS,

PReP) needed their own kernel image. The powerpc architecture should
allow to run one kernel image on different platforms (given that they
share the same CPU type).


Yes, the change in the kernel from ppc - powerpc brought some  
unification, but I don't know many subarch'es to speak in any  
authoritative way (well, far, far from it---we have some much better  
informed members here in the list that are knowledgeable about  
hardware design/issues).



IMHO kernel-package should define subarchs
like ppc32, ppc64, 40x, 44x, 85xx, 8xx and e200 for the powerpc
architecture (like the Kconfig option for the processor type). Then  
the

BIOS or the bootloader would just select the correct dtb or a specific
cuImage file. Theoretically...


Yes, that would be a good thing in principle, but the fact that we  
have many bootloaders just seem to make things a bit harder. For  
instance, we would have to teach quik, yaboot and grub2 to load  
appropriate kernels for ppc32 (I am not familiar with other  
bootloaders for OldWorld machines, like BootX or miboot etc).


Also, I don't know what is the bootloader that ppc64 uses (if  
somebody could teach me here, I would be grateful, but as I don't  
have any access to this platform at all, it would be for  
documentation purposes).


Regarding the bootloader choosing the correct dtb and kernel image,  
that would be fine, but wasteful for embedded systems. Perhaps  
generating many binary packages for different flavours, like the  
kernel maintainers do would be a good thing.



Nice that the script I provided you is of use for you. Please, if you
happen to make improvements, just send me a patch.
For sure! I'll try to add cuImage support. However my bash shell  
scripting

skills are a little bit rusty

  1   2   3   4   5   6   >