Bug#525946: hw-detect: snd-powermac not added to /etc/modules

2011-02-13 Thread Risto Suominen
Ubuntu seems to have solved this with this (reverse) patch to
discover-mac-io.sh:

--- hw-detect_1.84/discover-mac-io.sh   2009-07-23 19:53:43.0 +0300
+++ hw-detect_1.80ubuntu1/discover-mac-io.sh2008-11-22
00:11:55.0 +0200
@@ -53,10 +53,7 @@
if [ -f $child/name ]; then
childname=$(cat $child/name
2/dev/null || true)
if [ $childname = sound ]; then
-   # Loading snd-powermac locks
up G5 systems
-   if  [ $name != i2s-a ]; then
-   register-module snd-powermac
-   fi
+   register-module snd-powermac
fi
fi
done

with the following comment in changelog:

- Reinstate snd-powermac for i2s-a devices since apparently the lock-up
  has been fixed.

Apparently the conclusion is correct: they've had this change in
production since Thu, 27 Nov 2008 17:46:21 +. Over 2 years.

Maybe Debian could follow?

Of course, someone with a G5 should test it.

Risto



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTi=W5SegM_Tmw=jq+uayqpv6lata2ngvbfex5...@mail.gmail.com



Re: Unofficial Squeeze NetInst CDs: call for testers

2010-12-27 Thread Risto Suominen
Hi,

I've tested both on Mac mini (PowerMac10,1) successfully. Installation
went well onto the internal IDE drive.

But installing on a USB drive failed: ofpath doesn't support usb-storage.

On the other hand, I was unable to boot from the USB drive, OF seems
to be unable to read it.

Risto


-- 
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/aanlktiksuofvmoqd0nhd=qhg3byxha=q8yfdt3bfj...@mail.gmail.com



Re: PowerMac G4 (Digital Audio) sound

2010-12-20 Thread Risto Suominen
To conclude, there are two remaining problems with snd-aoa:

(1) At startup, with headphones inserted, they are (visibly) muted.

(2) All sound is always muted.

Risto


-- 
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/aanlktim7tbrfv2k7+ka3mr3umoxxbv3spgqf_hxvq...@mail.gmail.com



Re: PowerMac G4 (Digital Audio) sound

2010-12-19 Thread Risto Suominen
Thank you, Rick,

The 'disagrees about version of symbol...'s are dmesg is probably not
a problem, as long as we don't need the midi stuff. The cause is my
package lacking the midi modules.

2010/12/19, Rick Thomas rbtho...@pobox.com:
 With the blacklist reversed (see below for output of lsmod)

 With the external speakers plugged in, the grateful dead have left the
 theater (no sound).

 Running alsamixer showed:

 Card: SoundByLayout
 Chip: SoundByLayout
 Master: OO 8080
 Headphone: MM
 Headphone D: OO
 Headphone D: OO
 Speakers: MM
 Auto Mute: (not present)
 DRC: (not present)
 DRC Range: 50
 Monitor: 00

Headphone is muted. If you unplug and plug again, is it still only the
Speakers control (and second Headphone D) changing? Can you unmute
Headphone manually (with M)?

I suspect that the first Headphone D corresponds to Auto Mute.

 With the external speakers unplugged, there is still no sound (nothing
 from the internal speaker)

 Alsamixer shows:

 Card: SoundByLayout
 Chip: SoundByLayout
 Master: OO 8080
 Headphone: MM
 Headphone D: OO
 Headphone D: MM
 Speakers: OO
 Auto Mute: (not present)
 DRC: (not present)
 DRC Range: 50
 Monitor: 00

And the PCM control is active (try to increase it)?

Looks like my patch added some functionality, but not enough...

Risto


-- 
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/aanlktinc88ikrmfb7jm2w_c9gfzk6mjtuy2t+j=ug...@mail.gmail.com



Re: PowerMac G4 (Digital Audio) sound

2010-12-17 Thread Risto Suominen
2010/12/17, Rick Thomas rbtho...@pobox.com:

 But I'm having trouble figuring out what headphone detection is and
 what it's supposed to be good for?

The idea is to play the sound through the headphones if they are
plugged-in, otherwise through the speakers. Snd-powermac has a
setting, auto mute, that affects this. It's on by default. I'm not
sure about snd-aoa.

 1) Install a yaboot-fixed Squeeze-powerpc on my PowerMac3,4 machine.
 2) Do the blacklist and /etc/modules changes and reboot.
(test snd-powermac)
 3) download with wget your alsa-modules .deb; then install it with
 dpkg -i deb then reboot again.
 4) locate an mp3 file from somewhere?  (Got a favorite? So far as I can
 tell, there aren't any useful ones included as part of the Debian
 installation.)  Play it (how? -- does alsamixer do that?  I don't see
 any controls for playing a file in the alsamixer screen...  Should I run
 rhythmbox at the same time?)
That's one possibility, if you have installed the graphical
environment. Alsamixer cannot play. I've used mpg123 on command line.
The problem is to find an mp3 file. I've been using this short audio
file (I hope it's not someone's copyright):
http://ristosu.wippiespace.com/pub/tecbeat.au
It can be played with:
cat tecbeat.au  /dev/audio
(it needs OSS, modprobe snd-pcm-oss)
 5) Then what?  Look for something (what?) to change as I plug a pair of
 external speakers in and out the external-headphone jack?
Yes, M (mute) and O (on) in headphone and speaker columns.
 6) Report the results to you and the powerpc mailinglist.
 7) Do you want the same experiment done with the blacklist reversed?
Yes, please. To test snd-aoa. Actually, nothing needs to be
blacklisted or put into /etc/modules, in this case. The alsamixer
screen will be quite different.

Risto

ps. There is a wiki page about snd-powermac:
http://wiki.debian.org/PowerpcSoundcards .


-- 
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/aanlktiktag4hyw6yjuoksrfnu=slhp2a0lsptakkh...@mail.gmail.com



PowerMac G4 (Digital Audio) sound

2010-12-16 Thread Risto Suominen
Hello Tom, Rick, and the others,

I've tried to add headphone detection support to snd-aoa for
PowerMac3,4. The package is available at:

http://ristosu.wippiespace.com/pub/alsa-modules-2.6.32-5-powerpc_1.0.23+dfsg-2+2.6.32-29_powerpc.deb

It can be installed with 'dpkg -i' and gets loaded by reboot. It
contains both snd-aoa and snd-powermac (already somewhat tested). The
latter is loaded when put into /etc/modules, in which case

snd-aoa
snd-aoa-codec-tas
snd-aoa-fabric-layout
snd-aoa-i2sbus
snd-aoa-soundbus

should be blacklisted.

Try it, and tell me how it went.

Risto


-- 
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/aanlktimj-r4y_ogvy+=lfat7riywyd4hh-3icc9t2...@mail.gmail.com



Re: Squeeze

2010-12-13 Thread Risto Suominen
2010/12/9, Jerome Warnier jwarn...@beeznest.net:

 Next question is: how to make it load on boot, and not snd-aoa?

 Can't you just blacklist it?
 In /etc/modprobe.d/, you could add a new file with only one line saying
 this:
 blacklist snd-aoa

 It should work.

To be sure it should contain as well:
blacklist snd-aoa-codec-tas
blacklist snd-aoa-fabric-layout
blacklist snd-aoa-i2sbus
blacklist snd-aoa-soundbus

I've submitted bug #606984 against debian-installer. The idea is to
make this automatic.

Another solution could be to fix snd-aoa. It's probably quite small
changes that are needed.

Tom, are you still willing to test? If someone, or I, wrote those patches.

Risto


-- 
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/aanlktingcrua6rxq+jvf9t2ewc0djjyxrndyivepi...@mail.gmail.com



Bug#606984: PowerMac G4 (Digital Audio) sound

2010-12-13 Thread Risto Suominen
Package: debian-installer

Wrong sound module, snd-aoa, is loaded on PowerMac3,4.

Currently the most usable sound driver for this machine is
snd-powermac. To make it load on boot, the following modules ought to
be blacklisted:

snd-aoa
snd-aoa-codec-tas
snd-aoa-fabric-layout
snd-aoa-i2sbus
snd-aoa-soundbus

and:

snd-powermac

should be added to /etc/modules.

This could be a temporary solution, until snd-aoa will support the machine.



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



Bug#606984: PowerMac G4 (Digital Audio) sound

2010-12-13 Thread Risto Suominen
Package: debian-installer

Wrong sound module, snd-aoa, is loaded on PowerMac3,4.

Currently the most usable sound driver for this machine is
snd-powermac. To make it load on boot, the following modules ought to
be blacklisted:

snd-aoa
snd-aoa-codec-tas
snd-aoa-fabric-layout
snd-aoa-i2sbus
snd-aoa-soundbus

and:

snd-powermac

should be added to /etc/modules.

This could be a temporary solution, until snd-aoa will support the machine.



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=6xwqzdg3ccwcuvalochaxbgx3zxeayw-bp...@mail.gmail.com



Re: PowerMac G4 (Digital Audio)

2010-12-07 Thread Risto Suominen
2010/12/5, Johannes Berg johan...@sipsolutions.net:

 http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.22.1-p15.diff
 http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.22.1-p16.diff

 These patches are odd -- the first one adds something the second
 removes? Am I supposed to look at the combination?

Not really, the second one adds gpio16 but still keeps gpio15.

 But frankly, it's been so long that it's not all making perfect sense to
 me right now. If you send me a tarball of /proc/device-tree/ maybe I can
 take a look -- just looked at my collection and I don't have that one.

 johannes

A device tree dump is located at
http://manulix.wikidot.com/hidden:device-tree-my_G4
The tarball can be wget-ted from
http://manulix.wikidot.com/local--files/hidden:device-tree-my-g4/device-tree.tar.bz2

Risto
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: PowerMac G4 (Digital Audio)

2010-12-07 Thread Risto Suominen
2010/12/7, Johannes Berg johan...@sipsolutions.net:

 Oh, so the change to gpio1 was intended to be some wildcard?

Yes. I know, not very pretty.

 Can you hack the file I previously pointed out and see if that helps?

Well, I could try. Actually, I don't own a machine to test with.

So, as far as I can see, you don't have any special handling for this
machine, or any other either? And you don't look for these gpio15 (hp)
and gpio16 (lo). They are the detect inputs, not mute outputs. So can
they cause such problems that no sound is played? Hmm...

One solution could be to just remove the support from snd-aoa and
continue using snd-powermac. Now it's difficult because of the
auto-loading.

Risto
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: PowerMac G4 (Digital Audio)

2010-12-07 Thread Risto Suominen
2010/12/7, Johannes Berg johan...@sipsolutions.net:

 Right, normally we don't need any special handling since the DT has the
 right names ... this machine just needs an override for the GPIO names
 (gpio15/16 rather than the proper detect names).

And setting the active-state manually to 1.

Risto
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: Squeeze

2010-12-06 Thread Risto Suominen
2010/12/5, Milan Kupcevic mi...@physics.harvard.edu:

 Thank you for feedback. I just added support for your controller to
 ofpath. Please find new yaboot package and new install cd at [1].

 Milan


 [1] http://www.quarkline.net/debian/bug/yaboot/


Thank you, Milan. Very good, indeed. Now the installation finishes
without complaints, and the system boots.

But not perfect. Finding other bootable partitions. It does not find
my macos partition, nor my macosx partition, and names my darwin
partition as macosx partition. The two entries for my Ubuntu partition
receive same label.

I'll attach the relevant parts of installation log. This may be beyond
the scope of this patch, but anyway...

Actually, this finding of other bootable systems is more than I would
have hoped for of Debian. But it's a good feature.

Risto


yaboot.log
Description: Binary data


Re: Squeeze

2010-12-05 Thread Risto Suominen
2010/12/4, Milan Kupcevic mi...@physics.harvard.edu:
 On 12/04/2010 10:09 AM, Risto Suominen wrote:
 I submitted an installation report for PowerMac G3 (BW) (Bug # 605900).

 Risto



 Did you try to install unofficial bug-fix-test cd from [1]? We would
 appreciate feedback before we finally upload the fix. (Do not file
 official installation reports based on this unofficial installer).

 Milan

 [1] http://www.quarkline.net/debian/bug/yaboot/


Ok. This time I unchecked the graphical desktop.

It's better. ROOT=UUID syntax works in yaboot.conf. But still I had to
edit it manually. See the attached log.

Risto


yaboot.log
Description: Binary data


Re: Squeeze

2010-12-04 Thread Risto Suominen
Thanks for testing, Tom.

Now we know that snd-powermac is currently the best choice for a
PowerMac G4 (digital audio).

Next question is: how to make it load on boot, and not snd-aoa?

I installed Squeeze (2010-11-29) on my PowerMac G3 (BW), and the
installer forced loading of snd-powermac by adding it to /etc/modules.
Could the same be done for G4 DA?

Risto


-- 
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/aanlkti=hmhbdp8mck75crxrroepmgjb8xzchdlff1...@mail.gmail.com



Re: Squeeze

2010-12-04 Thread Risto Suominen
I submitted an installation report for PowerMac G3 (BW) (Bug # 605900).

Risto


-- 
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/aanlkti=fd86i6hvuno-_w-qexh5jjyoift1v=2tnf...@mail.gmail.com



Bug#605900: PowerMac G3 (BW)

2010-12-04 Thread Risto Suominen
Package: installation-reports

Boot method: CD
Image version: 
http://cdimage.debian.org/cdimage/weekly-builds/powerpc/iso-cd/debian-testing-powerpc-xfce+lxde-CD-1.iso
29-Nov-2010 11:07  648M
Date: 3-Dec-2010 21:00

Machine: PowerMac G3 (BW)
Processor: PowerPC G3
Memory: 512M
Partitions: /dev/sdc
#type name length   base
  ( size )  system
/dev/sdc1 Apple_partition_map Apple63 @ 1
  ( 31.5k)  Partition map
/dev/sdc2  Apple_Driver43 Macintosh56 @ 64
  ( 28.0k)  Driver 4.3
/dev/sdc3  Apple_Driver43 Macintosh56 @ 120
  ( 28.0k)  Driver 4.3
/dev/sdc4Apple_Driver_ATA Macintosh56 @ 176
  ( 28.0k)  Unknown
/dev/sdc5Apple_Driver_ATA Macintosh56 @ 232
  ( 28.0k)  Unknown
/dev/sdc6  Apple_FWDriver Macintosh   512 @ 288
  (256.0k)  Unknown
/dev/sdc7  Apple_Driver_IOKit Macintosh   512 @ 800
  (256.0k)  Unknown
/dev/sdc8   Apple_Patches Patch Partition 512 @ 1312
  (256.0k)  Unknown
/dev/sdc9 Apple_Bootstrap boot   1600 @ 1824
  (800.0k)  NewWorld bootblock
/dev/sdc10Apple_UNIX_SVR2 root   17519256 @ 263968
  (  8.4G)  Linux native
/dev/sdc11Apple_UNIX_SVR2 swap 260544 @ 3424
  (127.2M)  Linux swap
/dev/sdc12 Apple_Free Extra16 @
17783224 (  8.0k)  Free space

Block size=512, Number of Blocks=17783240
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 23, type=0x1
2: @ 120 for 36, type=0x
3: @ 176 for 21, type=0x701
4: @ 232 for 34, type=0xf8ff

Output of lspci -knn:
00:00.0 Host bridge [0600]: Motorola MPC106 [Grackle] [1057:0002] (rev 40)
00:0d.0 PCI bridge [0604]: Digital Equipment Corporation DECchip 21154
[1011:0026] (rev 02)
00:10.0 VGA compatible controller [0300]: ATI Technologies Inc Rage
128 RE/SG [1002:5245]
Subsystem: Device [b530:0408]
Kernel driver in use: aty128fb
01:00.0 FireWire (IEEE 1394) [0c00]: Texas Instruments
PCILynx/PCILynx2 IEEE 1394 Link Layer Controller [104c:8000] (rev 02)
Subsystem: Apple Computer Inc. Device [106b:001c]
01:01.0 IDE interface [0101]: Silicon Image, Inc. PCI0646 [1095:0646] (rev 07)
Subsystem: Silicon Image, Inc. PCI0646 [1095:0646]
Kernel driver in use: pata_cmd64x
01:03.0 SCSI storage controller [0100]: Adaptec AIC-7850 [9004:5078] (rev 03)
Subsystem: Adaptec AHA-2904/Integrated AIC-7850 [9004:7850]
Kernel driver in use: aic7xxx
01:05.0 Unassigned class [ff00]: Apple Computer Inc. Paddington Mac
I/O [106b:0017]
Kernel driver in use: macio
01:06.0 USB Controller [0c03]: OPTi Inc. 82C861 [1045:c861] (rev 10)
Subsystem: OPTi Inc. 82C861 [1045:c861]
Kernel driver in use: ohci_hcd

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [O]
Detect network card:[O]
Configure network:  [O] (DHCP)
Detect CD:  [O]
Load installer modules: [O]
Detect hard drives: [O]
Partition hard drives:  [O] (manual)
Install base system:[O]
Clock/timezone setup:   [O]
User/password setup:[O]
Install tasks:  [O]
Install boot loader:[E]
Overall install:[E]

Comments/Problems:

boot loader: mkofboot couldn't find /proc/scsi (existing Bug #572869).

After manually editing /etc/yaboot.conf, I was facing another problem
on boot: the disk drives seem to be detected in undefined order, and
this makes it difficult to guess correct /dev/sd letter (and yaboot
doesn't accept LABEL= syntax). I have two IDE disks (pata_cmd64x) and
one SCSI disk (the one used here) (aic7xxx).

Third problem was with X. It was running wild and filling the disk
with its log file. The salvation came with package
firmware-linux-nonfree containing the file r128_cce.bin. Still, I'm
unable to log out and in again, as this makes X hang.



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



Re: Squeeze

2010-12-04 Thread Risto Suominen
Thanks for testing, Tom.

Now we know that snd-powermac is currently the best choice for a
PowerMac G4 (digital audio).

Next question is: how to make it load on boot, and not snd-aoa?

I installed Squeeze (2010-11-29) on my PowerMac G3 (BW), and the
installer forced loading of snd-powermac by adding it to /etc/modules.
Could the same be done for G4 DA?

Risto


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=hmhbdp8mck75crxrroepmgjb8xzchdlff1...@mail.gmail.com



Bug#605900: PowerMac G3 (BW)

2010-12-04 Thread Risto Suominen
Package: installation-reports

Boot method: CD
Image version: 
http://cdimage.debian.org/cdimage/weekly-builds/powerpc/iso-cd/debian-testing-powerpc-xfce+lxde-CD-1.iso
29-Nov-2010 11:07  648M
Date: 3-Dec-2010 21:00

Machine: PowerMac G3 (BW)
Processor: PowerPC G3
Memory: 512M
Partitions: /dev/sdc
#type name length   base
  ( size )  system
/dev/sdc1 Apple_partition_map Apple63 @ 1
  ( 31.5k)  Partition map
/dev/sdc2  Apple_Driver43 Macintosh56 @ 64
  ( 28.0k)  Driver 4.3
/dev/sdc3  Apple_Driver43 Macintosh56 @ 120
  ( 28.0k)  Driver 4.3
/dev/sdc4Apple_Driver_ATA Macintosh56 @ 176
  ( 28.0k)  Unknown
/dev/sdc5Apple_Driver_ATA Macintosh56 @ 232
  ( 28.0k)  Unknown
/dev/sdc6  Apple_FWDriver Macintosh   512 @ 288
  (256.0k)  Unknown
/dev/sdc7  Apple_Driver_IOKit Macintosh   512 @ 800
  (256.0k)  Unknown
/dev/sdc8   Apple_Patches Patch Partition 512 @ 1312
  (256.0k)  Unknown
/dev/sdc9 Apple_Bootstrap boot   1600 @ 1824
  (800.0k)  NewWorld bootblock
/dev/sdc10Apple_UNIX_SVR2 root   17519256 @ 263968
  (  8.4G)  Linux native
/dev/sdc11Apple_UNIX_SVR2 swap 260544 @ 3424
  (127.2M)  Linux swap
/dev/sdc12 Apple_Free Extra16 @
17783224 (  8.0k)  Free space

Block size=512, Number of Blocks=17783240
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 23, type=0x1
2: @ 120 for 36, type=0x
3: @ 176 for 21, type=0x701
4: @ 232 for 34, type=0xf8ff

Output of lspci -knn:
00:00.0 Host bridge [0600]: Motorola MPC106 [Grackle] [1057:0002] (rev 40)
00:0d.0 PCI bridge [0604]: Digital Equipment Corporation DECchip 21154
[1011:0026] (rev 02)
00:10.0 VGA compatible controller [0300]: ATI Technologies Inc Rage
128 RE/SG [1002:5245]
Subsystem: Device [b530:0408]
Kernel driver in use: aty128fb
01:00.0 FireWire (IEEE 1394) [0c00]: Texas Instruments
PCILynx/PCILynx2 IEEE 1394 Link Layer Controller [104c:8000] (rev 02)
Subsystem: Apple Computer Inc. Device [106b:001c]
01:01.0 IDE interface [0101]: Silicon Image, Inc. PCI0646 [1095:0646] (rev 07)
Subsystem: Silicon Image, Inc. PCI0646 [1095:0646]
Kernel driver in use: pata_cmd64x
01:03.0 SCSI storage controller [0100]: Adaptec AIC-7850 [9004:5078] (rev 03)
Subsystem: Adaptec AHA-2904/Integrated AIC-7850 [9004:7850]
Kernel driver in use: aic7xxx
01:05.0 Unassigned class [ff00]: Apple Computer Inc. Paddington Mac
I/O [106b:0017]
Kernel driver in use: macio
01:06.0 USB Controller [0c03]: OPTi Inc. 82C861 [1045:c861] (rev 10)
Subsystem: OPTi Inc. 82C861 [1045:c861]
Kernel driver in use: ohci_hcd

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [O]
Detect network card:[O]
Configure network:  [O] (DHCP)
Detect CD:  [O]
Load installer modules: [O]
Detect hard drives: [O]
Partition hard drives:  [O] (manual)
Install base system:[O]
Clock/timezone setup:   [O]
User/password setup:[O]
Install tasks:  [O]
Install boot loader:[E]
Overall install:[E]

Comments/Problems:

boot loader: mkofboot couldn't find /proc/scsi (existing Bug #572869).

After manually editing /etc/yaboot.conf, I was facing another problem
on boot: the disk drives seem to be detected in undefined order, and
this makes it difficult to guess correct /dev/sd letter (and yaboot
doesn't accept LABEL= syntax). I have two IDE disks (pata_cmd64x) and
one SCSI disk (the one used here) (aic7xxx).

Third problem was with X. It was running wild and filling the disk
with its log file. The salvation came with package
firmware-linux-nonfree containing the file r128_cce.bin. Still, I'm
unable to log out and in again, as this makes X hang.



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikooez5-m4dhv7frpl1qc0r4o5t_g_nxd1rx...@mail.gmail.com



Re: Squeeze

2010-11-28 Thread Risto Suominen
Tom, can you check (dpkg -l | grep linux-image) that your
linux-image-2.6.32-5-powerpc is of version 2.6.32-28 and (uname -a)
that you really are running this version?

2.6.32-27 (squeeze) does not have the ALSA patches.

Risto


-- 
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/aanlktim+m5+kshqx=4k-nwggkh2gjs+edhqvun6dh...@mail.gmail.com



Re: Squeeze

2010-11-27 Thread Risto Suominen
Looks like the ALSA patches have made their way to sid (unstable).
Could someone with a PowerMac G4 Digital Audio test it?

Risto


-- 
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/aanlktikmal6_lyhv-6pjvjep4euohxok8u4o2eanf...@mail.gmail.com



Re: Squeeze

2010-11-27 Thread Risto Suominen
squeeze is testing, it should be either sid or unstable, both
should work.

Risto


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



Re: Squeeze

2010-11-13 Thread Risto Suominen
I have submitted a bug (603419) with my ALSA patches to bugs.debian.org.

Risto


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



Bug#603419: ALSA fix for PowerMac G4 DA

2010-11-13 Thread Risto Suominen
Package: linux-image-2.6.32-5-powerpc
Version: 2.6.32-27
Tags: patch, fixed-upstream

These patches can be applied in this order on sound directory with -p2.

http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.22.1-p15.diff
http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.22.1-p16.diff
http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.22.1-p16d.diff



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




Bug#603419: ALSA fix for PowerMac G4 DA

2010-11-13 Thread Risto Suominen
Package: linux-image-2.6.32-5-powerpc
Version: 2.6.32-27
Tags: patch, fixed-upstream

These patches can be applied in this order on sound directory with -p2.

http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.22.1-p15.diff
http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.22.1-p16.diff
http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.22.1-p16d.diff



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikiydskrf-ihzy4rrsc9cn3on8vta+p1uk9s...@mail.gmail.com



Re: Squeeze

2010-11-11 Thread Risto Suominen
Hi,

My ALSA patches can be applied in the sound directory of the kernel
source tree with -p2.

Or should they be formatted in some specific way for being included in
linux-image package?

Risto Suominen


-- 
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/aanlktimwuhs=zd3goapzqz1mf0ctpzyv8jnn9fnmp...@mail.gmail.com



Re: Squeeze

2010-11-11 Thread Risto Suominen
Actually, I've submitted them to ALSA in april this year, and they
seem to have made their way to at least kernel 2.6.35.8. But not to
the older one used in Squeeze. But it should be simple enough to add
them to the Debian specific patch for linux-image-2.6.xx package.

Risto


-- 
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/aanlktinifyaiceysamz0uo7c0axs6=jepuugkanqg...@mail.gmail.com



[Bug 583269] Re: Wifi connection problem airport

2010-10-23 Thread Risto Suominen
I got this solved by removing (renaming) /lib/firmware/agere_sta_fw.bin
as explained in bug #498336 comment #86. I guess this one could be
marked as a duplicate for that one.

The reason seems to be a new firmware (9.48) that supports WPA but stops
supporting WEP. The original f/w (8.70) supports only WEP. So the
solution is not very useful for a movable machine.

-- 
Wifi connection problem airport
https://bugs.launchpad.net/bugs/583269
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: Sound on PowerMac G4 (digital audio)

2010-08-02 Thread Risto Suominen
2010/7/18, Gary Driggs gdri...@gmail.com:
 Is that the PowerMac3,4?

Yes, it is.

It's been a while since I wrote these patches, and they seem to be
included in kernel 2.6.35. Is there a Debian version using it?

Risto


-- 
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/aanlkti=dgrp2tdtarho_ek-_ziqmo6x3m+m09bpsm...@mail.gmail.com



Re: Auto-booting USB stick in OF

2010-05-01 Thread Risto Suominen
2010/4/28, Gunther Furtado gunfurt...@gmail.com:

 just a wild guess: what would happen if you try to boot form a macos
 classic cd without any HD attached? Would it be possible to hot plug
 the HD if it boots from the cd?

Same as before, nothing more than a chime happens. Anyway, I'm afraid
it's not easy to hot plug the HD, as the keyboard among other things
has to to be removed first.

But thanks for the idea.

Risto


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



Re: Auto-booting USB stick in OF

2010-05-01 Thread Risto Suominen
2010/4/28, Benjamin Cama ben...@free.fr:

 I don't want to deter you from changing the disk and such, by if you
 don't even get to an Open Firmware prompt, you won't be able to boot
 from anything connected to your Mac. The OF is what will bootstrap the
 bootloader stored on some media ; if it doesn't come up, you won't be
 able to boot from anything. Something important must be broken ...

Actually I didn't mean to boot from the hard disk, but just read the
Firmware image file and write it to the OF flash. I assume that the
internal ROM in the PMU chip contains code for this. And that this
code is activated instead of OF when the power button is held.

Risto


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



Re: Auto-booting USB stick in OF

2010-04-28 Thread Risto Suominen
Thanks, but I'm afraid I have tried everything: option+command+o+f,
option+command+p+r, PMU reset with the small left-hand-side button,
and firmware-update-style reset with power button held. I've also had
the battery disconnected overnight.

The only hope I have, is the firmware update, but Apple does not
provide firmware images for this model. So I've planned to take the
hard disk out, copy an image from another similar iBook to the disk,
and put the disk back to the machine. If I only knew, how to name the
image file...

Risto


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



Re: Auto-booting USB stick in OF

2010-04-28 Thread Risto Suominen
2010/4/28, Gunther Furtado gunfurt...@gmail.com:

 have you tried to boot from a MacOS Classic cd holding down C as it
 chimes with(out) an usb stick present?

I'm pretty sure I have. Looks like it hangs before it comes so far, I
cannot even get into Open Firmware.

The reaction, when powering up by holding the power button until a
beep, seems healthy: flashing the led, then after a few seconds a
chime, when no Firmware image is available on the disk. This makes me
think that a reflashing could take place, if a correctly formatted and
named Firmaware image was present on the hard disk.

Risto


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



Auto-booting USB stick in OF

2010-04-27 Thread Risto Suominen
Hi,

Strictly speaking, this is not a Debian issue, not even Linux, but
since I don't know of any Open Firmware list, and it may be just a
matter of time before someone else tries this...

I wrote the following two lines into OF nvramrc parameter with
'nvedit' (Read this to the end before trying yourself!):

devalias usb /p...@f200/u...@19/d...@1
dev /options  usb open-dev dup if close-dev  usb:,\\:tbxi 
boot-device property else drop then

I ran this manually with 'nvrun' and achieved what I wanted: (1) if
there was a USB stick plugged-in on boot, the boot-device shown by
'.properties' was changed to 'usb:,\\:tbxi' (The boot-device shown by
'printenv' does not change.), and saying 'boot' booted Linux from the
stick, (2) if no USB stick was present, the boot-device remained, thus
allowing to boot from hard disk.

Then I made the fatal error, I ran 'nvstore', 'setenv use-nvramrc?
true' and 'shut-down'. Now the machine won't boot anymore. The chime
is there but the display remains black.

The machine in question is an iBook G3 Dual USB 500 MHz.

Risto


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



Testers wanted for snd-powermac (PowerMac G4 Digital audio).

2010-04-05 Thread Risto Suominen
Hi,

I just wrote some small patches for ALSA driver snd-powermac. The
changes were addressed for G4 Digital Audio (PowerMac3,4). Possibly
these changes would be needed for other models, too.

The first one:
http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.22.1-p15.diff
reverses the interpretation of the headphone detection bit, and it has
been tested on one machine.

The second one:
http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.22.1-p16.diff
tries to implement lineout detection. Lineout refers to the small (2.5
mm) Pro Speaker jack. This has not been tested. Is there someone with
access to this combination of hardware? The same Pro Speakers can be
used in all desktop Macs with G4 processor, and were included with
many iMac G4 models.

To test these patches, one opens alsamixer and, plugs in and out
headphone or Pro Speaker, and checks that the mute (MM) controls
follow after. Auto-mute control has to be enabled (OO).

The third one:
http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.22.1-p16d.diff
adds some debug output, and it has to be enabled manually by editing
the source files, see below.

Probably the best way to test these, is to download ALSA driver source archive:
ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.22.1.tar.bz2
and apply the patches on it using -p1 (directly on directory sound in
kernel sources -p2 should work).

The installation procedure is outlined here:
http://ristosu.wippiespace.com/pub/alsa-driver-tumbler-patch.html

To enable the debug output '#undef DEBUG' has to be changed to
'#define DEBUG' in the beginning of alsa-kernel/ppc/tumbler.c and
ppc/tumbler.patch, before saying 'make'.

I'll be pleased to provide more help if needed.

Risto


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



Re: to neomagic users and devels

2010-03-04 Thread Risto Suominen
I've installed Debian Lenny on a Fujitsu B110 mini notebook, probably
quite similar to yours internally, and it is quite slow, indeed.

I also have Neomagic on a Dell Latitude CPi 300 MHz P2 with
VectorLinux 5.0. I don't remember any unusual slowness with that one.
Older X? Just a thought...

Risto
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: How to configure a serial mouse

2010-03-04 Thread Risto Suominen
I'm not sure about this, I have only done this on Debian Lenny, but I
have not heard that xorg.conf had disappeared.

So I think that you can run X -configure (as root) and xorg.conf will
be created. Then you can edit the mouse protocol, as before.

Risto
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: debian on imac G4?

2010-02-19 Thread Risto Suominen
2010/2/18, Bernhard Reiter bernh...@intevation.de:
 b) You can switch to a console and then kill the Xorg process.
  Alt - F1 usually gets you to the first console, Alt -F2 to the second,
 and Alt -F7 usually is the X server output. You might need Shift- Alt-F1 or
 Fn-Shift-Alt-F1 or something like this.

Ctrl-Alt-F1. And then Ctrl-C to kill Xorg server.

Risto


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



[Bug 389322] Re: Yahoo server authentication changed: Pidgin =2.5.6 will not connect to Yahoo! servers.

2010-01-14 Thread Risto Suominen
Looks like this bug is not fixed in 1:2.5.2-0ubuntu1.2~hardy1, so I'm
using 1:2.4.1-1ubuntu2.7, and update-manager keeps pushing the former.

-- 
Yahoo server authentication changed: Pidgin =2.5.6 will not connect to Yahoo! 
servers.
https://bugs.launchpad.net/bugs/389322
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: Is this the appropriate list?

2009-12-17 Thread Risto Suominen
2009/12/17, Gombang Nan Cengka gomb...@gmail.com:
 On Thursday 17 December 2009 22:35:56 Thomas Carlson wrote:
 Is this the appropriate list to ask why Debian Lenny doesn't recognize the
  sound card on my PowerMac G4 (Digital Audio)?  Everything else works
 fine.

Definitely.

 Since Apple stopped supporting OS X Tiger I have been trying out various
  Linux flavors.  Any recommendations?

As the computer is not especially powerful measured with today's
standards, I would recommend Debian with LXDE desktop.

 I don't have PowerMac G4, but I guess the fix will be to load snd_powermac
 kernel module. It works on my iBook G4.
 --
Yes, snd_powermac should work (G4 Silver):
http://wiki.debian.org/PowerpcSoundcards

Risto


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



Re: MACE DMA problem on Powermac 7300

2009-12-07 Thread Risto Suominen
Hi, Ben,

2009/12/7, Benjamin Herrenschmidt b...@kernel.crashing.org:

 Cache coherency bugs in the chipset or HW bugs in DBDMA, we've been
 seeing those on/off on those old apple chipsets...

 Try forcing a 32 bytes alignment ?

You're thinking of placing the DMA descriptors on different cache lines?

That's excactly what I did with de2104x. But it was easier, I think.
The chip handled its own DMA, and by writing a skip value to a
register... I don't know this GC DMA controller well enough and
haven't found the documentation either...

But I tried the de21041 board with unmodified driver on this 7300, and
it works. The problem was on a 5500.

Risto
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


MACE DMA problem on Powermac 7300

2009-12-06 Thread Risto Suominen
Hi, everybody,

I post this in hope that somebody could shed some light on how should
the DMA work in conjunction with the MACE ethernet controller. I find
difficult to understand why it does not work in my case:

What happens? First two bytes of a received frame are not what they
should be in more than 50% of frames. This can be avoided by receiving
the frame on a word boundary, but with the usual skb_reserve(..., 2)
(to make the IP header land on word boundary), it won't work.

So, I can make the driver work by receiving at 0 offset, and then
moving the data 2 bytes up, before handing it over to upper layers.

This used to work with a 2.4.27 kernel, obviously the Grand Central
DBDMA controller can receive on non-word boundaries. Now I have
2.6.15.7.

Any ideas, what could cause this kind of behaviour (and regression)?

Best regards,
Risto Suominen
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: PowerPC 8500??

2009-09-16 Thread Risto Suominen
I'm running Lenny on PowerMacs 8200 (PPC601) and 6400 (PPC603ev).
Kernel 2.6.26, booting with BootX 1.2.2.

I was unable to boot, until I managed to make the initrd.img small
enough, around 4 MB. I think the one on the install CD was small
enough.

Risto


-- 
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 Risto Suominen
Hi Frank,

To begin with, I must say that this is not the easiest way of getting
to know Linux. On the other hand: if you make it, you'll have much
deeper understanding of it than someone who just puts an Ubuntu CD on
a modern PC.

I'd say that Lenny should be your choice. This page gives good
instructions for getting started:

http://knol.google.com/k/stephen-allen/bootx-and-debian-ppc-on-old-world/39pxaft660cvn/6#

And don't hesitate to ask for more help. You'll have to :)

Risto


-- 
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 Risto Suominen
The correct machine ID is probably PowerBook3,3.

Risto


-- 
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 Risto Suominen
The correct machine ID is probably PowerBook3,3.

Risto


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



[Bug 176707] Re: error importing photos with f-spot on ppc: LibGPhoto2.CameraFile.GetDataAndSize () - Number overflow.

2009-09-05 Thread Risto Suominen
I tested Richard's powerpc package on my iMac G4 and Ubuntu 8.04.1 (up-
to-date). It solves the problem! Thank you, Richard! I hope they accept
it as SRU.

-- 
error importing photos with f-spot on ppc: LibGPhoto2.CameraFile.GetDataAndSize 
() - Number overflow.
https://bugs.launchpad.net/bugs/176707
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to f-spot in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 176707] Re: error importing photos with f-spot on ppc: LibGPhoto2.CameraFile.GetDataAndSize () - Number overflow.

2009-09-05 Thread Risto Suominen
I tested Richard's powerpc package on my iMac G4 and Ubuntu 8.04.1 (up-
to-date). It solves the problem! Thank you, Richard! I hope they accept
it as SRU.

-- 
error importing photos with f-spot on ppc: LibGPhoto2.CameraFile.GetDataAndSize 
() - Number overflow.
https://bugs.launchpad.net/bugs/176707
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: Sound drivers detected on Mac Mini and G5, but not Powermac G4

2009-08-07 Thread Risto Suominen
Hi Ben,

2009/8/7, Ben Finney ben+deb...@benfinney.id.au:

 I'm trying to get this working with the default Debian kernel precisely
 so that I don't have to keep rolling kernels for it. So I'm still
 looking for a solution that helps the kernel use (what I assume to be)
 the correct module, ‘snd-aoa’, to drive the sound hardware in this
 Powermac G4.

I'm quite sure that snd-aoa does not support Tumbler or older
hardware, probably never will. Perhaps Tumbler and Snapper could be
supported with small changes in code, older ones probably not.

This page, http://wiki.debian.org/PowerpcSoundcards, describes snd-powermac.

Risto


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



Re: Announcing xorriso-0.4.0

2009-07-22 Thread Risto Suominen
Hi,

I had my first contact with xorriso. My aim was to restore hard links
from ISOs. But no matter how hard I try, I cannot make it work.

I'm running on Debian Lenny, kernel 2.6.26. I compiled the full
package, and of the optional libraries, only zlib was present.

My testing has been restricted to ISO images. I used -add and -map to
copy the files in.

Whether I specify '-hardlinks on' or not, the result is the same:

Ordinary mounting sees the hard links counts, but 'ls -i' shows
different inodes, and thus they cannot be copied out.

'osirrox -lsl' does not even see the counts. -extract and -cpx cannot
copy them out. btw, what is the difference, why two copy commands?

Have I misunderstood something?

Risto


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



Re: Announcing xorriso-0.4.0

2009-07-22 Thread Risto Suominen
2009/7/22, Thomas Schmitt scdbac...@gmx.net:

 If you did not use -harlinks on before
 the restore commands: yes.
 Else: no, you found a bug.

Well - no bug - but usage error: I used the '-hardlinks on' before
-map but after -dev. When I understood to move it before -dev, as
first argument, it worked!

Thank you very much!

Risto


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



Re: Lenny on Apple 9600 - noobie questions

2009-07-14 Thread Risto Suominen
2009/7/11, Jeff Fry jeffh...@gmail.com:

 When searching through the archives for this list, I saw many people
 having problems with the Twin Turbo cards. Hopefully, this has been
 fixed by now.

Not sure it has. But, if necessary, I can send a working xorg.conf. As
I remember it, some color depths result in odd colors.

Risto


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



Bug#452376: xserver-xorg-video-intel: Text missing after suspend to RAM

2009-05-28 Thread Risto Suominen
Package: xserver-xorg-video-intel
Version: 2:2.3.2-2+lenny6
Followup-For: Bug #452376

Also using Dell Latitude C400. Text and icons are invisible after StR.
And small corruption here and there all the time, also before StR.

My temporary (hopefully) solution was to copy over an older version from
Ubuntu 8.04.1, and use Driver i810 instead on intel. The current
version seems to link those two together, but they used to come in
separate packages.

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 25.5. 17:27 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1718516 15.3. 17:30 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation 82830 CGC
[Chipset Graphics Controller] (rev 03)

-- System Information:
Debian Release: 5.0.1
 APT prefers stable
 APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xserver-xorg-video-intel depends on:
ii  libc6  2.7-18GNU C Library: Shared libraries
ii  libdrm22.3.1-2   Userspace interface to kernel DRM
ii  xserver-xorg-core  2:1.4.2-10.lenny1 Xorg X server - core server

xserver-xorg-video-intel recommends no packages.

xserver-xorg-video-intel suggests no packages.

-- no debconf information



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



Bug#452376: xserver-xorg-video-intel: Text missing after suspend to RAM

2009-05-28 Thread Risto Suominen
Package: xserver-xorg-video-intel
Version: 2:2.3.2-2+lenny6
Followup-For: Bug #452376

Also using Dell Latitude C400. Text and icons are invisible after StR.
And small corruption here and there all the time, also before StR.

My temporary (hopefully) solution was to copy over an older version from
Ubuntu 8.04.1, and use Driver i810 instead on intel. The current
version seems to link those two together, but they used to come in
separate packages.

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 25.5. 17:27 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1718516 15.3. 17:30 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation 82830 CGC
[Chipset Graphics Controller] (rev 03)

-- System Information:
Debian Release: 5.0.1
 APT prefers stable
 APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xserver-xorg-video-intel depends on:
ii  libc6  2.7-18GNU C Library: Shared libraries
ii  libdrm22.3.1-2   Userspace interface to kernel DRM
ii  xserver-xorg-core  2:1.4.2-10.lenny1 Xorg X server - core server

xserver-xorg-video-intel recommends no packages.

xserver-xorg-video-intel suggests no packages.

-- no debconf information



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



Re: Sound not working on PowerPC Macs?

2009-05-26 Thread Risto Suominen
2009/5/25, Rick Thomas rbthoma...@pobox.com:

 rbtho...@macswell:~$ lsmod | grep snd
 snd_powermac   47936  2
 snd_aoa_i2sbus 22820  0
 snd_pcm79748  2 snd_powermac,snd_aoa_i2sbus
 snd_page_alloc 12392  1 snd_pcm
 snd_seq57800  0
 snd_timer  25508  2 snd_pcm,snd_seq
 snd_seq_device 11020  1 snd_seq
 snd61876  10
 snd_powermac,snd_aoa_i2sbus,snd_pcm,snd_seq,snd_timer,snd_seq_device
 soundcore  10244  1 snd
 snd_aoa_soundbus9060  1 snd_aoa_i2sbus
 rbtho...@macswell:~$

AFAIK snd-powermac is self-contained, anything starting with snd-aoa
could be blacklisted. Not sure they do any harm, but...

Risto


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



Re: iMac G3 Video Problem

2009-03-18 Thread Risto Suominen
2009/3/18, Patrick Rieger patrick.rie...@gmail.com:

 How do I get into the system to change the file if the screen is not
 working?

The text console might work: ctrl-alt-f1.

Risto


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



Re: iMac G3 Video Problem

2009-03-17 Thread Risto Suominen
The HorizSync frequency should be around 60 kHz, otherwise the monitor
won't sync. I've been using the following in xorg.conf:

HorizSync 59-61
VertRefresh 75-117

and resolution 1024x768.

Risto


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



Re: Re: X Windows Screen Size Issue

2009-02-13 Thread Risto Suominen
Hi Amos,

You should try (in CLI) 'fbset -x' and then put the output into
Section Monitor.

Attached an xorg.conf that's been working on a PowerMac 7500 with 4 MB VRAM.

Risto


xorg.conf-mac7500
Description: Binary data


Re: Fine tuning iMac G3 400 + Rage 128 + 1-button mouse

2009-02-12 Thread Risto Suominen
2009/2/12 urpion urpion urp...@linuxwaves.com:
   Thanks Risto.  I have a very slow loading, but very fuctional gdm and gnome 
 desktop, using the r128 driver with UseFBDev option on. But I can't use the 
 HW accelleration. Hence the slow loading I suppose. Can it be made to work 
 somehow?

Good question. I read r128 man page, and it looks like UseFBDev is
set by default on PowerPC platforms. And NoAccel is off. Which means
that it's working on my iMac. What do you get with:

cat /proc/device-tree/model; echo

PowerMac2,1, I assume. Mine is 2,2, which has a bit different graphics
chip. I doubt the slowness depend of graphics acceleration. How much
main RAM do you have?

Option  SWcursor  on
Option  NoAccel   on

These differ from my settings. And I'm using DefaultDepth 24. Was the
SWcursor needed?

 ... I remember reading somewhere (maybe on this list?)that the ChipID was 
 needed.
 I don't how to find this or MemBas or IOBas. Can this xorg.conf be 
 improved?

Those only affect the auto-probing, which already seems to work, as
the chip is found.

 ... which works, accept I don't seem to have an Fn apple key for the middle 
 click.

You can find appropriate key codes in the console with showkey. I use:

# Emulate the middle mouse button with KP= and the right with KP/.
dev/mac_hid/mouse_button_emulation = 1
dev/mac_hid/mouse_button2_keycode = 117
dev/mac_hid/mouse_button3_keycode = 98

which works on most older keyboards, even those oldest not having function keys.

Risto


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



Re: Wifi on a tray loading iMac, is it possible?

2009-02-12 Thread Risto Suominen
Sure it's possible. USB adapter is probably the only usable solution.
I've been successful with old Macs using Buffalo WLI-U2-KG54L
(0411:00da) and zd1211b, vendor-based community driver, svn version.
http://zd1211.wiki.sourceforge.net/

The speed will be limited to 11 Mbit/s because of the USB 1.1
interface on those iMacs.

Risto


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



Re: Wifi on a tray loading iMac, is it possible?

2009-02-12 Thread Risto Suominen
2009/2/12 Hans Ekbrand h...@sociologi.cjb.net:

 Do you have to manually set the rate, or is the driver smart enough
 to not try rates above 11 Mbit/s?

As I remember it, it seems to happen automatically.

Risto


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



[PATCH 002/002] de2104x: support for systems lacking cache coherence

2009-02-12 Thread Risto Suominen
Here is a patch that helped me to get my de2104x NIC working on my
PowerMac 5500. As an interesting side effect, it also made my mesh
module crash.

Background can be found here: http://www.spinics.net/lists/netdev/msg88488.html

Risto

Allow setting NOT_COHERENT_CACHE explicitly.

Signed-off-by: Risto Suominen risto.suomi...@gmail.com
---
The testing is done on kernel version 2.6.24.

--- a/arch/powerpc/platforms/powermac/Kconfig.org   2008-01-25
00:58:37.0 +0200
+++ b/arch/powerpc/platforms/powermac/Kconfig   2009-02-10
17:44:24.0 +0200
@@ -18,4 +18,10 @@ config PPC_PMAC64
select PPC_970_NAP
default y

-
+config NOT_COHERENT_CACHE
+   bool Incoherent cache
+   default n
+   help
+ Setting this option may be necessary for avoiding cache-related
+ problems with some network cards on some platforms. An example is
+ 2104x and PowerMac 5500.
Allow setting NOT_COHERENT_CACHE explicitly.

Signed-off-by: Risto Suominen risto.suomi...@gmail.com
---
The testing is done on kernel version 2.6.24.

--- a/arch/powerpc/platforms/powermac/Kconfig.org	2008-01-25 00:58:37.0 +0200
+++ b/arch/powerpc/platforms/powermac/Kconfig	2009-02-10 17:44:24.0 +0200
@@ -18,4 +18,10 @@ config PPC_PMAC64
 	select PPC_970_NAP
 	default y
 
-
+config NOT_COHERENT_CACHE
+	bool Incoherent cache
+	default n
+	help
+	  Setting this option may be necessary for avoiding cache-related
+	  problems with some network cards on some platforms. An example is
+	  2104x and PowerMac 5500.
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: (Solved)Re. X doesn't wok in iMac G3 400MHz

2009-02-11 Thread Risto Suominen
You may need to set the UseFBDev option in Section Device for r128
to work. I'm specify Driver ati, but from Xorg.0.log I can see that
it actually uses r128, which is a sub-driver for ati. My iMac may be a
bit newer than yours, but it probably doesn't matter.

Risto


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



Re: Wifi configuration Debian Lenny Ibook G3

2009-02-10 Thread Risto Suominen
Try to run wpa_supplicant in debug mode.

Risto


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



Re: No X on iMac G3 400MHz

2009-02-10 Thread Risto Suominen
You will have to add the following two lines into the Monitor Section:

HorizSync 59-61
VertRefresh 75-117

The internal monitor is very picky about the frequencies.

Risto


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



Re: Re: Re: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(0,0)

2009-02-07 Thread Risto Suominen
Good question, Amos.

You should begin with listing the files:

ls -al /mnt2

What do you get? Usually there are links vmlinux and initrd.img
pointing at vmlinux-2.6.x.x.x and initrd.img-2.6.x.x.x, respectively.
They should come from a package called linux-image-2.6 or something
similar. You can see the exact name with:

dpkg -l | grep linux-image

and then you can list part of its contents with:

dpkg -L linux-image-2.6 | grep /boot (if that was the whole name)

Normally this /dev/sda7 will be mounted below /boot.

Risto


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



Re: Re: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(0,0)

2009-02-05 Thread Risto Suominen
Hmm... looks like /dev/sda does not exist, yet. But somewhere under
the /dev tree there are probably the right entries. Perhaps /dev/scsi
or /dev/bus or /dev/disk something.

You could just try to let the installation process continue a bit
further. When it's about to start the partitioning, the sda devices
should be there. When 'ls /dev/sda' gives something, you've got it.

Risto


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



Re: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(0,0)

2009-02-04 Thread Risto Suominen
Hi Amos,

The one thing you probably forgot, was to copy the vmlinux and
initrd.img images from /boot to Mac OS 'Linux Kernels' folder. Then
you will have to direct BootX to use them, as you did with the images
from the install CD.

Now you must try to re-start the installation and then suspend it
before really doing anything. You should be able to find a command
prompt from the menu, or possibly in another virtual console
(Ctrl-alt-F2), and then issue following commands there:

mkdir /mnt1 /mnt2
mount -t hfsplus /dev/sda5 /mnt1 (if that fails try hfs or/and sda6)
mount -t ext2 /dev/sda7 /mnt2
cp -p /mnt2/vmlinux /mnt1/System\ Folder/Linux\ Kernels
cp -p /mnt2/initrd.img /mnt1/System\ Folder/Linux\ Kernels
umount /mnt1 /mnt2

Note the backslash before any white-space in path names.

Then you can just reboot and select the new files in BootX. No need
for sda7 anymore, but root=/dev/sda8 must be passed. Good luck.

Risto


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



[PATCH] Xfbdev: ensure correct yoffset

2009-01-22 Thread Risto Suominen
If virtual resolution is higher than the screen (as in atyfb), and yoffset
given by the framebuffer driver happens to be non-zero (fbcon changes it on-
the-fly), Xfbdev places its image starting above the displayed part of the
framebuffer. This patch makes sure that the whole picture is visible.

Signed-off-by: Risto Suominen risto.suomi...@gmail.com
---
The testing is done on version 1.1.1 and linux kernel version 2.6.18.

--- a/hw/kdrive/fbdev/fbdev.c.org   2006-07-05 21:31:39.0 +0300
+++ b/hw/kdrive/fbdev/fbdev.c   2009-01-18 15:42:06.0 +0200
@@ -215,6 +215,8 @@ fbdevScreenInitialize (KdScreenInfo *scr

/* Now get the new screeninfo */
ioctl (priv-fd, FBIOGET_VSCREENINFO, priv-var);
+/* We can get anything into yoffset if fbcon is active */
+priv-var.yoffset = 0;
depth = priv-var.bits_per_pixel;
gray = priv-var.grayscale;
If virtual resolution is higher than the screen (as in atyfb), and yoffset
given by the framebuffer driver happens to be non-zero (fbcon changes it on-
the-fly), Xfbdev places its image starting above the displayed part of the
framebuffer. This patch makes sure that the whole picture is visible.

Signed-off-by: Risto Suominen risto.suomi...@gmail.com
---
The testing is done on version 1.1.1 and linux kernel version 2.6.18.

--- a/hw/kdrive/fbdev/fbdev.c.org	2006-07-05 21:31:39.0 +0300
+++ b/hw/kdrive/fbdev/fbdev.c	2009-01-18 15:42:06.0 +0200
@@ -215,6 +215,8 @@ fbdevScreenInitialize (KdScreenInfo *scr
 
 /* Now get the new screeninfo */
 ioctl (priv-fd, FBIOGET_VSCREENINFO, priv-var);
+/* We can get anything into yoffset if fbcon is active */
+priv-var.yoffset = 0;
 depth = priv-var.bits_per_pixel;
 gray = priv-var.grayscale;
 
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Bug#512273: xorg: Macintosh BlueWhite G3 w/ ATI 3D Rage Pro - monitor complains out of range

2009-01-19 Thread Risto Suominen
2009/1/19 Rick Thomas rbthoma...@pobox.com:

 When X starts up the monitor displays a message out of range indicating
 that the
 computer is feeding it stuff it can't handle.  (This message is coming from
 the
 monitor, itself -- not the X software).  The image on the monitor shimmers
 and
 jumps and looks like snow in a high wind.

This sounds worse than my problem, but it may depend on the same
source, i.e. something probably programmed in by Open Firmware into
the chip's registers.

Looking at file atidsp.c, function ATIDSPPreInit, near its beginning,
you can see:

/* Retrieve XCLK settings */
IOValue = ATIMach64GetPLLReg(PLL_XCLK_CNTL);
pATI-XCLKPostDivider = GetBits(IOValue, PLL_XCLK_SRC_SEL);
pATI-XCLKReferenceDivider = 1;

What I did, I changed the line setting pATI-XCLKPostDivider to:

pATI-XCLKPostDivider = 1;

and the problem with my display image disappeared.

Now, I can't say that 1 will be the correct value in your case, or
even promise that it won't make things worse. And I must add that I
made my change in similar code in Linux kernel's
drivers/video/aty/mach64_ct.c on an Oldworld Mac.

The result from this change will be that some values calculated by the
code and later written into the chip's registers become different.

I found some useful tools for peeking and poking the chip, f.ex.
atydump, I will put a copy available here:
http://ristosu.wippiespace.com/pub/atyfb-bin.tgz

Risto



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



Bug#512273: xorg: Macintosh BlueWhite G3 w/ ATI 3D Rage Pro - monitor complains out of range

2009-01-19 Thread Risto Suominen
2009/1/19 Rick Thomas rbthoma...@pobox.com:

 When X starts up the monitor displays a message out of range indicating
 that the
 computer is feeding it stuff it can't handle.  (This message is coming from
 the
 monitor, itself -- not the X software).  The image on the monitor shimmers
 and
 jumps and looks like snow in a high wind.

This sounds worse than my problem, but it may depend on the same
source, i.e. something probably programmed in by Open Firmware into
the chip's registers.

Looking at file atidsp.c, function ATIDSPPreInit, near its beginning,
you can see:

/* Retrieve XCLK settings */
IOValue = ATIMach64GetPLLReg(PLL_XCLK_CNTL);
pATI-XCLKPostDivider = GetBits(IOValue, PLL_XCLK_SRC_SEL);
pATI-XCLKReferenceDivider = 1;

What I did, I changed the line setting pATI-XCLKPostDivider to:

pATI-XCLKPostDivider = 1;

and the problem with my display image disappeared.

Now, I can't say that 1 will be the correct value in your case, or
even promise that it won't make things worse. And I must add that I
made my change in similar code in Linux kernel's
drivers/video/aty/mach64_ct.c on an Oldworld Mac.

The result from this change will be that some values calculated by the
code and later written into the chip's registers become different.

I found some useful tools for peeking and poking the chip, f.ex.
atydump, I will put a copy available here:
http://ristosu.wippiespace.com/pub/atyfb-bin.tgz

Risto



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



[Bug 316018] [NEW] Ted cannot open text window

2009-01-11 Thread Risto Suominen
Public bug reported:

Binary package hint: ted

ted 2.17-1

According to Debian sources, this could be fixed by installing
xfonts-*-transcoded packages. These are, however, missing from Dapper.
The fix would be to simply add those packages.

** Affects: ted (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Ted cannot open text window
https://bugs.launchpad.net/bugs/316018
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs


[Bug 316018] [NEW] Ted cannot open text window

2009-01-11 Thread Risto Suominen
Public bug reported:

Binary package hint: ted

ted 2.17-1

According to Debian sources, this could be fixed by installing
xfonts-*-transcoded packages. These are, however, missing from Dapper.
The fix would be to simply add those packages.

** Affects: ted (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Ted cannot open text window
https://bugs.launchpad.net/bugs/316018
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: MTA?

2008-10-14 Thread Risto Suominen
2008/10/14, Mike Hore [EMAIL PROTECTED]:

  The only odd thing I've noticed with Lenny is that on bootup, the message
 Starting MTA appears, then nothing happens for about a minute.  Does
 anybody know what's going on?  MTA may mean mail transfer agent but I'm
 not sure.  I do know it's where Charlie got lost in the Kingston Trio's song
 many years ago...  certainly the boot process seems to get lost.

  This may be a Lenny thing rather than PPC, but I'll try here first anyhow.

I'm guessing that it is the mail transfer agent and that the delay has
something to do with network access. I've seen this often on systems
that aren't connected.

Risto


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



Re: regression on imac G3: problems with sound

2008-10-03 Thread risto . suominen
2008/10/1, Mariusz Kozlowski [EMAIL PROTECTED]:
 Hello,

   I found that on my old iMac G3 aumix behaves weird on newer (up to
 2.6.27-rc8) kernels. The sound is only present _when_ muted and is quiet
 I'd say 10% of 'normal' max level. If you turn the volume up - the box is
 silent.
 If you unmute - the box is silent. 100% reproducible.

 Bisection result is a bit surprising as it seems it was introduced some time
 ago,
 in 2.6.25 ~ 2.6.26-rc1 window:

 commit a8c2a6bf464d983c642c8b8b001a57aabbf76673
 Author: Risto Suominen [EMAIL PROTECTED]
 Date:   Thu Apr 17 17:55:30 2008 +0200

 [ALSA] snd-powermac: AWACS and Screamer mixers for PM7500, Beige, and
 iMac SL

 Add mixer controls and correct headphone detection bits for PowerMacs
 7300/7500 (AWACS) and G3 Beige (Screamer), and iMac G3 Slot-loading
 (Screamer).


   Mariusz



 processor   : 0
 cpu : 740/750
 temperature : 52 C (uncalibrated)
 clock   : 400.00MHz
 revision: 2.2 (pvr 0008 0202)
 bogomips: 49.79
 timebase: 24967326
 platform: PowerMac
 model   : PowerMac2,1
 machine : PowerMac2,1
 motherboard : PowerMac2,1 MacRISC2 MacRISC Power Macintosh
 detected as : 66 (iMac FireWire)
 pmac flags  : 0014
 L2 cache: 512K unified
 pmac-generation : NewWorld

 :00:0b.0 Host bridge: Apple Computer Inc. UniNorth AGP
 :00:10.0 Display controller: ATI Technologies Inc Rage 128 RL/VR AGP
 0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth PCI
 0001:10:12.0 FireWire (IEEE 1394): Texas Instruments TSB12LV23 IEEE-1394
 Controller
 0001:10:13.0 Ethernet controller: Digital Equipment Corporation DECchip
 21142/43 (rev 41)
 0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo Mac I/O (rev 02)
 0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo USB
 0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo USB
 0002:20:0b.0 Host bridge: Apple Computer Inc. UniNorth Internal PCI


Mariusz, thank you for the report. This is my fault. Sorry.

PowerMac2,1 seems to have the mute bit reversed compared to later
models, PowerMac2,2 and PowerMac4,1, which I was using for testing my
changes.

This has been fixed in a later patch that should be included in kernel
2.6.27, I believe.

Takashi, when was this (or will be) included? I sent two patches on 2008-08-25.

Risto
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: regression on imac G3: problems with sound

2008-10-01 Thread risto . suominen
2008/10/1, Mariusz Kozlowski [EMAIL PROTECTED]:
 Hello,

   I found that on my old iMac G3 aumix behaves weird on newer (up to
 2.6.27-rc8) kernels. The sound is only present _when_ muted and is quiet
 I'd say 10% of 'normal' max level. If you turn the volume up - the box is
 silent.
 If you unmute - the box is silent. 100% reproducible.

 Bisection result is a bit surprising as it seems it was introduced some time
 ago,
 in 2.6.25 ~ 2.6.26-rc1 window:

 commit a8c2a6bf464d983c642c8b8b001a57aabbf76673
 Author: Risto Suominen [EMAIL PROTECTED]
 Date:   Thu Apr 17 17:55:30 2008 +0200

 [ALSA] snd-powermac: AWACS and Screamer mixers for PM7500, Beige, and
 iMac SL

 Add mixer controls and correct headphone detection bits for PowerMacs
 7300/7500 (AWACS) and G3 Beige (Screamer), and iMac G3 Slot-loading
 (Screamer).


   Mariusz



 processor   : 0
 cpu : 740/750
 temperature : 52 C (uncalibrated)
 clock   : 400.00MHz
 revision: 2.2 (pvr 0008 0202)
 bogomips: 49.79
 timebase: 24967326
 platform: PowerMac
 model   : PowerMac2,1
 machine : PowerMac2,1
 motherboard : PowerMac2,1 MacRISC2 MacRISC Power Macintosh
 detected as : 66 (iMac FireWire)
 pmac flags  : 0014
 L2 cache: 512K unified
 pmac-generation : NewWorld

 :00:0b.0 Host bridge: Apple Computer Inc. UniNorth AGP
 :00:10.0 Display controller: ATI Technologies Inc Rage 128 RL/VR AGP
 0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth PCI
 0001:10:12.0 FireWire (IEEE 1394): Texas Instruments TSB12LV23 IEEE-1394
 Controller
 0001:10:13.0 Ethernet controller: Digital Equipment Corporation DECchip
 21142/43 (rev 41)
 0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo Mac I/O (rev 02)
 0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo USB
 0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo USB
 0002:20:0b.0 Host bridge: Apple Computer Inc. UniNorth Internal PCI


Mariusz, thank you for the report. This is my fault. Sorry.

PowerMac2,1 seems to have the mute bit reversed compared to later
models, PowerMac2,2 and PowerMac4,1, which I was using for testing my
changes.

This has been fixed in a later patch that should be included in kernel
2.6.27, I believe.

Takashi, when was this (or will be) included? I sent two patches on 2008-08-25.

Risto
--
To unsubscribe from this list: send the line unsubscribe kernel-testers in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: G3 Beige Tower install help

2008-09-10 Thread risto . suominen
2008/9/10, Stephen Allen [EMAIL PROTECTED]:
 On Tue, Sep 09, 2008 at 05:16:35PM -0400, Rick Thomas wrote:

 That's good news.  I have tried to get xorg and gnome running on my test
 machine, but it seems that the video chip it has isn't very well
 supported.  I need to open a bug report on the subject.

 I have 2 video cards in it. Back in the day when it was a workstation with
 dual heads. I left the stock
 video card in, (RageII 3d) with a whopping 8 mb/ram. It's this card that the
 Lenny installer picked up, not
 the dual head card. But that's OK.

 Is your card different from stock ?


This is of interest for me, too... it reminds me...

My G3 is a desktop model (233 MHz, rev B) with integrated video: Rage
II something, with 6 MB of RAM. Do the towers really have a separate
PCI card?

I installed Ubuntu 6.06.1, obviously in 2006, and it worked fine...
until I put in a PCI card (USB 2.0). That caused xorg to fail. It
complained about INVALID I/O ALLOCATION, but I'm not sure whether it
is relevant to the problem. It seemed to try to allocate memory
already used by the USB PCI card. I wonder if that bug has been
fixed...

Another problem with this machine model is the text frame buffer mode
not being usable because of vertical lines where the text 'lives'.

Stephen, what version of xorg are you using? Do you have other PCI
cards installed than the video cards?

Actually all this is a bit aside from the original subject, maybe
worth a thread of its own though...

Risto


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



[Bug 153599] Re: blank screen from Xserver - eMac G4 1.25GHz ppc

2008-09-09 Thread Risto Suominen
Still present on eMac 1.25. Tested with 8.04.1 desktop CD.

-- 
blank screen from Xserver - eMac G4 1.25GHz ppc 
https://bugs.launchpad.net/bugs/153599
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: G3 Beige Tower install help

2008-09-08 Thread risto . suominen
2008/9/7, Stephen Allen [EMAIL PROTECTED]:

 OK kept the MacOS partition(s). There are 7 of em put there by the MacOS 9
 disk utility (6 small ones).

In Apple's partitioning, the 1st partition contains the partition map,
then there are typically 5 driver partitions used by Mac OS, and then
the actual Mac OS partition. You said in the beginning that you
created the Linux partitions as well with Apple's Disk Utility? Did
you change that part during Debian installation process? Or was it
usable for Debian as such?

 I have one disk and it was labeled hdb when partioning. So that would be
 'mount -t hfs (It's hfs)/dev/hdb7 (MacOS was installed on the 7th
 partition).

I'm surprised that it is not hda. Perhaps it is jumpered as slave? It
would more natural to jumper it as master. I remember that some older
G3s had problems with slave drives, at least together with a master.

 There are a bunch of small Apple/MacOS partitions before this. But I assume
 since you mentioned system folder that it's has to go on the larger MacOS
 partition where the Mac system folder is; correct ?

That's right.

 There didn't appear to be an 'initrd.gz' but there was an 'initrd'. Same
 thing right ? On /mnt I didn't have a directory 'System Folder', however
 mount didn't through any complaints when mounting hdb7, so I assume that
 was OK.

 Unfortunately it didn't boot. I'm getting close though. Any ideas ?

There may be an empty directory called initrd on the root level of
target. The initrd.gz (and vmlinux) should be in boot subdirectory.
You did go through installing the kernel package? This may be a
separate step in the installer.

If you didn't see the 'System Folder' then the mounting was not OK.
The explanation can be that Mac OS has put an HFS wrapper around the
HFS+ file system. So try with 'mount -t hfsplus ...' instead.

Risto


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



Re: G3 Beige Tower install help

2008-09-08 Thread risto . suominen
2008/9/8, Stephen Allen [EMAIL PROTECTED]:

 It's been a long time since I ever used this in production. I recall that
 there had been a scsi hard drive
 in this box, and I had removed the stock IDE hard drive shortly after
 purchasing. When I pulled this out
 of storage in my basement several weeks ago, there wasn't any hard drive in
 it, so I put in a spare 13GB
 IDE drive I had. I guess I plugged it in the wrong socket on the
 motherboard; there are 2 IDE data
 sockets on the motherboard. Make sense ? The other probably is the hda data
 socket. I don't think the
 jumpers were changed.

The other IDE socket has probably the CD drive (hdc)? Maybe the spare
drive has been as a slave in its earlier life? In Linux, hda/b are
master/slave on primary ide bus, and hdc/d on secondary.

Risto


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



Re: G3 Beige Tower install help

2008-09-07 Thread risto . suominen
2008/9/7, Stephen Allen [EMAIL PROTECTED]:

 The install is where I had the issue(s), of going through the steps and
 hanging when it came to installing
 the quik bootloader. I don't understand why it's install quick as I thought
 that BootX would be used.

You should try to skip the quik installation. The advantage of using
BootX is that if you use quik and it fails to boot you have no backup,
with BootX you can always get into OS 9. You don't need - and cannot
have - both: the OldWorld ROM always selects the first bootable
partition. Or - in theory - you could have quik in first partition and
OS 9 in second and use quik to boot OS 9, but I don't see any point in
it.

 I went through several iterations of disk partioning schemes without any
 successful install. One message I
 got several times was that Quik has to be on the first partition. The MacOS
 has a small partition at the
 first that doesn't delete for me, so I'm kind of stuck there.

You should keep the Mac OS partition. Get into another virtual
terminal (Ctrl-Alt-F2), mount the Mac OS partition (the path is either
/dev/hda... or /dev/bus/ide/disk.../part..., or similar):

mount -t hfs /dev/... /mnt

(or hfsplus), and copy the new initrd into it:

cp -p /target/boot/initrd.gz '/mnt/System Folder'

 At this point you should have the kernel package installed on target partition.

 In terms of the disk partioning. Is the MacOS partition supposed to be
 overwritten and that's why the
 installer wants to install Quik ? I can't seem to find an option to toggle
 Quik off.

Probably the installer wants to install quik because it is the only
OldWorld capable boot loader it knows about. That's why you have to
manually copy the initrd for BootX, as described above. And when
booting the installed system with BootX, you have to select the new
initrd and press 'Save prefs' to make it permanent.

Risto


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



Re: G3 Beige Tower install help

2008-09-06 Thread risto . suominen
2008/9/4, Stephen Allen [EMAIL PROTECTED]:

 (4) Run BootX application (alternatively install BootX extension, and
 reboot).

 OK I did this, got a shell and then a kernel panic, and a reboot message for
 3 minutes.
 Probably because of the kernel being in the wrong place eh ?

I don't think so. BootX found the kernel, but maybe not the initrd.
Did it complain about not finding the root partition?

 (5) When Bootx asks you to choose your OS, before doing so, press on
 Options, and select the initrd (Use specified RAM disk) (with BootX
 extension variant, you have to be careful to stop the clock from
 counting down, this can be done by writing a space into More kernel
 arguments field).

 You mean the ram disk is automatically set as default ? By space in the
 kernel arguments field, you mean to
 hit the space bar ? Excuse me if I'm being a little thick, it's the end of a
 long day.

It is not used by BootX as default. When you have selected a RAM disk,
the root partition field changes to adjust the maximum size of the RAM
disk. Yes, I meant the space bar.

Risto


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



Re: G3 Beige Tower install help

2008-09-06 Thread risto . suominen
2008/9/6, James Kozak [EMAIL PROTECTED]:
 hi
 reading this email again makes me wonder if this step has been omitted:

 Insert the  PPC install disk and navigate to the /install/powerpc folder.
 Copy vmlinux (the linux kernel) to System Folder/Linux Kernels. Copy
 initrd.gz (the init ramdisk image) to System Folder and rename it to
 ramdisk.image.gz
 ?

 James


I don't think that the name, or even the location, of the initrd would
matter, as long as BootX is told where it is. As a general rule: the
shorter the name, the better. I have always been using initrd.gz as it
is.

Risto


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



Re: G3 Beige Tower install help

2008-09-03 Thread risto . suominen
Hi Stephen,

In your place, I would take the following route:

In OS 9:

(1) download BootX from
http://penguinppc.org/historical/benh/BootX_1.2.2.sit, and install it,

(2) download Debian kernel and initrd from
http://ftp.nl.debian.org/debian/dists/etch/main/installer-powerpc/current/images/powerpc/netboot/vmlinux
and 
http://ftp.nl.debian.org/debian/dists/etch/main/installer-powerpc/current/images/powerpc/netboot/initrd.gz,
and place them into :System Folder:Linux Kernels,

(3) place the Debian netinst CD into a CD drive,

(4) Run BootX application (alternatively install BootX extension, and reboot).

(5) When Bootx asks you to choose your OS, before doing so, press on
Options, and select the initrd (Use specified RAM disk) (with BootX
extension variant, you have to be careful to stop the clock from
counting down, this can be done by writing a space into More kernel
arguments field).

(6) Press on Save to prefs, in case you don't succeed on first try,
and need to try again with a different command line, or the CD in
another drive.

(7) Press on Linux, and hope the best.

Good luck,
Risto


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



Re: snd-aos not working on a PowerBook6,2 (PowerBook G4 12)

2008-08-22 Thread Risto Suominen
2008/8/21, Charles Plessy [EMAIL PROTECTED]:

  If there a chance that snd-powermac does not crash iMacs G5 anymore, I
  volunteer to make tests. Does anybody know if the code of snd-powermac
  evolved since 2006?


Yes, I've have made some fixes for older Macs, but they probably don't
mean anything for iMac G5.

Risto Suominen


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



Re: Reference to Apple_bootstrap partition (was: Installation Open-firmware error)

2008-05-16 Thread risto . suominen
2008/5/14, Bryan Pierce [EMAIL PROTECTED]:

*   Partition the drive with 2 partitions
 (1) a HFS+ partation - as a placeholde which is deleted
 to make space for the Linux partitions
 (2) an HFS+ partition - which then has OS 9 installed

In Apple partitioning, part. 1 is the partition table, part. 2 would
be the first user partition, or, if OS 9 drivers are installed, some
later partition.

*   Using pdisk (a.k.a. mac-fdisk) to delete the first partition and
 install an Apple_bootstrap partition

I managed to boot from a USB stick with only Apple_HFS partition.
Yaboot gives a warning, suggesting Apple_Bootstrap, but it seems to be
no strict requirement. (mac-fdisk usually [command c] creates an 800k
Apple_Bootstrap partition, which is too small for the kernel.) So if
you keep the Apple_HFS, you should be able to reach the partition from
within OS X.

 And so the first half of of this line works fine. I actually don't
 understand the /dev//|sda2|/ half of the line...and I'm
  thinking that if I could get someone to explain that, my problems would
 be almost solved.

My guess is that the pipes are only to distinguish the part that may
need editing, depending on the partition number used. The double slash
has no meaning at all. Probably a typo.

*   At any rate, the problem is figuring out how to move the files to
 this Apple_bootstrap partition, when it doesn't show up in the finder,
 and I can't seem to get a reference to it from the Unix Terminal

If the boot.img contains the file system (I think it does), you don't
need to access the partition at file level. But your partition should
be of correct size. Then you can just point to the partition with
something like /dev/disk1s2. You should be able to recognize the right
partition with mac-fdisk (pdisk).

Risto


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



Re: a couple of small sound issues with mac mini

2008-04-30 Thread Risto Suominen
2008/4/30, [EMAIL PROTECTED] [EMAIL PROTECTED]:
  Btw pcspkr is the designation in the kernel for the pc speaker; it is
  loaded according to my lsmod so I'm assuming until I find out otherwise
  that it just isn't working currently on the mini.


You are saying that pcspkr is responsible for (a) the beep generated
when you press backspace in the terminal's first column and (b) sound
generated when gdm loads. Is it just a short beep or some kind of
music? I mean, in the latter case it is probably a wav file played by
gdm.

You couldn't find (in dmesg) any sign of pcspkr attaching to the input
system? This would probably be the mechanism that makes it possible to
generate sound when keys are pressed.

Risto


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



Re: Installation Open-firmware error Rev B iMac

2008-04-30 Thread Risto Suominen
2008/4/30, Bryan Pierce [EMAIL PROTECTED]:

  There seem to be several copies of installation instructions for PPC and
 they seem quite a bit different.

There are several different PPC computers.

  My original attempt was partitioning my hard-drive, thinking that I could
 use one partition for the boot.img files (shying away from the idea of
 booting off a flash drive)

Are you running an OS from CD? Mac OS 9? Or is it installed on HD?

  After my post I found somewhere that
  boot hd:,\\yaboot  ...would force the computer to search the partitions
 (and I also realized that hd:9 was the correct partition)

That \\ means system folder (blessed), using only one \ would mean
root folder, which should work in your case.

Can you see your files with 'dir hd:,\'?

  After an unsuccessful install, I switched to a same model Rev D. iMac and
 got some weird things happening with OF - so I pieced together the drive
 from one iMac and the motherboard from the other - still not able to get the
 installer to boot using the above command - so I'm thinking - OK - figure
 out the paths to the USB flash drive and try it that way...

I'm planning to try the USB booting in near future.


  NOW - I'm finding  different instructions that say...
  quote:
   There is an all-in-one file |hd-media/boot.img.gz| which contains all
 the installer
files (including the kernel) as well as *yaboot* and its
 configuration file. Create a partition
of type Apple_Bootstrap on your USB stick using *mac-fdisk*'s *|C|*
 command and extract
   the image directly to that:

 # zcat boot.img.gz  /dev//|sda2|/


   NOTE - the same instructions 2 paragraphs later explain that you have
 to  have a machine already running Linux to accomplish this :P 

That's the problem. I don't really understand the difference between
an Apple_HFS and an Apple_Bootstrap partition. Both are HFS. Probably
the latter is a requirement for OF booting. This may depend on OF
version, too.


  So I'm thinking that I need to back up and find out which of 3 possible
 approaches to invest the next 2 weeks of my life trying to figure out.
  1) try partitioning the hard-drive and loading the boot.image files -  and
 hope I canget the installer running and am able to repartition the free
 space on the hard drive
 via the installer

This should be possible. The only question really is whether you need
to make the partition Apple_Bootstrap or not. Normally partitions
created in OS 9 are Apple_HFS.

  2) invest a few days into trying to figure out fdisk and hope I can get the
 flash drivemethod to work

Same as above. Probably harder.

  3) throw a second drive in my G4 hoping that I can get the installer to
 boot off my main drive

Same as above.


  I'm all open to suggestions at this point - Either method I choose seems
 like I'm going to need to invest quite a few hours - And at this point I'm a
 bit afraid of what I'm going to run into.
  I mean, I'm already seeing stuff like...
 (?)  installing modprobe on the flash drive(?)  using hattrib to
 bless the yaboot file(I believe both of these are Linux
 commands)

Yes, they are. One problem with usb drives is that it can take some
time before the appear to the kernel. Blessing should not be
necessary, if you explicitly name the file on the boot command line.

 (?)  using ybin... (but I'm assuming this is after the install)

Me too. For booting the installed system, you would need a small
(800k) partition of type Apple_Bootstrap and this is where ybin
installs yaboot. This should be taken care of during the installation.


  I mean, I'm feeling torn...I've spent 4 days trying to do this, and I don't
 want to give up.
  I'm not afraid of trying to learn...it's why I want to install Linux, but
 I'm not even trusting
  my own judgment at this point. The instructions made it seem like methods
 (1) and (2) were
  entirely possible. Method (3) seems like it should work even if the others
 don't.

Don't give up. You are probably not far from success.

Risto


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



Re: Installation Open-firmware error Rev B iMac

2008-04-29 Thread Risto Suominen
2008/4/28, Bryan Pierce [EMAIL PROTECTED]:
  I am trying to install Debian on a 333Mhz iMac for the first time.

Actually this speed would imply Rev. D.


  And copied the contents of the boot.image.gz to the rood level of my
 hard-drive (single partition)

What is the partition type (file system)? OF cannot handle any type.
The image contains its own file system (HFS?), and the idea is to raw
copy it over an unused partition of correct size.

  I copied (only) the contents of the boot.img to the root level of my drive
 (since the files seemed to be duplicates)
 The directory lists ...
  boot.img.gz
  boot.msg
  initrd.gz
  vmlinux
  yaboot.conf
 Unzipped contents of boot.img.gz  ...
  boot.msg
  initrd.gz
  vmlinux
  yaboot.conf
  yaboot

Yes, those 5 are enough. It should work, if OF understands the partition type.

  O  boot hd:0,yaboot  { seems to be the correct drive partition }

How do you know? Usually partition 0 contains the partition map and it
is followed by several Apple driver etc. partitions. If you don't
specify any partition, i.e. boot hd:,yaboot, OF should find the first
bootable partition.

  I left the initrd.gz file unzipped (the config file refers to initrd.gz)

Yes, that's correct.

  Should I try powerpc64 intaller? (only I only see cdrom/ and netboot/ on
 the ftp)
  ((I tried but got the same error))

No hope, iMac uses powerpc32.

  Should I try an older version of Debian?

Not yet. The failure seems to indicate that yaboot is not even found by OF.

Risto


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



Re: a couple of small sound issues with mac mini

2008-04-29 Thread Risto Suominen
2008/4/28, [EMAIL PROTECTED] [EMAIL PROTECTED]:

  For the most part, sound on my mac mini in debian unstable works well; i
  can even get sound out of the built-in speaker and plugged-in speakers at
  the same time (plugged into the headphone jack) which I couldn't do in
  Macosx. However, I have a couple of issues.

Do you have Automute enabled (unmuted)? If yes, then it looks like it
is not working. If no, then it works all right.

In earlier alsa releases, Mac Mini was using the same snd-powermac
driver as did all older PowerMacs. But I assume that Debian Unstable
has the support only in snd-aoa (AppleOnboardAudio). You can check
which you use with:

lsmod | grep ^snd

  1. Pcspkr doesn't work. Is there any way to get this or is there just no
  speaker equivalent to the internal speaker on a pc? I wouldn't mind so
  much except that I'm blind and (1) it helps when backspacing to hear the
  beep when the whole line is erased, and (20 there's a sound one can hear
  through the speaker when gdm loads that I can't hear.

What do you mean with pcspkr? Isn't it the same as built-in speaker
and internal speaker. You mean the beep? That's how it was called in
snd-powermac driver of which I have experience (not on Mac Mini,
though). There is probably no separate speaker for beep. The
implementation in snd-powermac generates PCM sound and plays it out
through the normal channels. I was able to see that in dmesg output
there was a line saying something like: PowerMac Beep attached to
.../input...

Do you have a control named Beep?

It can also depend on the terminal emulator and its settings. All
terminals probably won't produce the beep sounds.

  2. I can't seem to control my volume except by the pcm control; there
  seems to be no separate volume control. I can open
  alsamixer and arrow on the speakers but nothing happens; same on
  headphones. . I can mute and unmute fine but can only control volume
  with the one pcm control. this isn't a big problem, but i just want to
  make sure my setup is correct and that this is how it is supposed to
  work. The soundcard shown when I open alsamixer is SoundByLayout.

I assume that you get what the driver gives you. It looks like the
implementation could be better. But don't take my word for this.

Risto


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



Re: Boot Floppies PPC Old World Mac

2008-04-25 Thread Risto Suominen
2008/4/17, Hans Ekbrand [EMAIL PROTECTED]:

 Sarge had 2.6.8 (and some 2.4 which I don't remeber), the kernel
  versions you mention implies that you installed woody.


You are probably right. I wish I could remember how I did it. At least
now I have kernels 2.2.20-pmac and 2.4.27 (self-compiled i believe).
And /etc/debian_version says 3.1, which means Sarge. I've probably
done a dist-upgrade to Sarge.

Risto


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



Re: How to build ps3-utils from source

2008-04-24 Thread Risto Suominen
2008/4/24, Norberto Feliberty [EMAIL PROTECTED]:

  Hi how can I verify if I have properly build and installed ps3-utils? I 
 tried ps3videomode to switch my screen resolution but it says command not 
 found. the build output did not show any errors when running ./configure, 
 make, and make install.  I also did the same for the ps3-utils/lib directory 
 and no errors there eitehr. Thanks for the help all.


Perhaps you don't have the command on the path. The output from 'make
install' should give you a hint about where the commands were
installed. Or './configure --help' should show the defaults which you
apparently didn't change. Look for PREFIX and EPREFIX. I have no
experience on this exact package, but mostly they follow these rules.

Once you have located the command directory, you can add it to your
execution path by editing the file .profile or .bash_profile in your
home directory. If you find the commands in, say, /usr/local/bin, you
would append the line:

PATH=$PATH:/usr/local/bin

Afterwards you must logout an login to make it work.

Risto


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



Re: How to build ps3-utils from source

2008-04-23 Thread Risto Suominen
2008/4/23, Norberto Feliberty [EMAIL PROTECTED]:

  Hi running./bootstrap gives the following output. From the output, it looks 
 like I am missing some dependencies?


You are building from a tar.gz archive? If this is the case, you don't
need to run bootstrap at all, as it's been told earlier in this
thread. You can just start with configure.

Risto


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




Re: Help needed in fixing some post installation issues

2008-04-21 Thread Risto Suominen
2008/4/20, Norberto Feliberty [EMAIL PROTECTED]:

  Hi, I have just installed Debain on my playstation 3 using a Debain 
 multi-arch DVD built on April 16th. The installation went well with some 
 errors/warnings related to the kernel but I have hopefully installed a kernel 
 correctly. How can I verify that I have installed the kernel correctly and 
 make sure that it is working correctly? Now for some issues taht I am having 
 with debain on my playstation 3. First, I currently have no sound. When I 
 click on the volume icon, I get the following message.


Check that you have the alsa modules loaded:

(in a terminal) lsmod | grep snd

Probably snd-powermac should be among them. If not, you could try to
load it manually:

sudo /sbin/modprobe snd-powermac

or as root:

/sbin/modprobe snd-powermac

Then try:

alsamixer

To exit from alsamixer, use Esc.

Risto


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



Re: [Alsa-user] Alsa on a Mac Mini?

2008-04-18 Thread Risto Suominen
2008/4/18, Mark Knecht [EMAIL PROTECTED]:
I tried looking in through an ssh tunnel, removing the modules and
  watching the list of modules still loaded. The first list is before I
  start the rmmod and the second is during while the terminal is hung at
  'Unloading Alsa modules'. No difference that I can see to apparently
  whatever is causing the problem stops anything from happening.


Well, it might not be an ALSA (driver) problem, after all. Apparently
'Killing processes using ALSA' is not doing what it says. The topmost
sound driver module, snd-aoa-codec-toonie, is used by 2 (processes).
And kernel module unloader probably hangs.

Risto

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Alsa on a Mac Mini?

2008-04-18 Thread Risto Suominen
2008/4/19, Mark Knecht [EMAIL PROTECTED]:

  myth14 ~ # lsmod
  Module  Size  Used by
  ...
  snd_atiixp 14604  0
  snd_ac97_codec 89120  1 snd_atiixp
  snd_ac97_bus2048  1 snd_ac97_codec

Interesting that in this case no one has opened snd_atiixp. I think
you should try to find the process that holds snd-aoa-codec-toonie
reserved.

Risto

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: Strange kernel message.

2008-04-16 Thread Risto Suominen
Probably a bug, somewhere. I had similar messages when I tested a
driver (snd-powermac) that didn't release the IRQs it had used. Which
version of kernel are you using?

Risto


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



Re: Boot Floppies PPC Old World Mac

2008-04-16 Thread Risto Suominen
2008/4/16, Hans Ekbrand [EMAIL PROTECTED]:

  But, as I said in the beginning, my knowledge may well be outdated.
  Perhaps others on this list have more recent experiences of installing
  (and running) oldworld macs.


Probably not. My experiences are very similar to yours. I'm writing
this on an oldworld g3 with Ubuntu 4.10 Warty with 2.6.8.1 kernel.
Anything newer would mean some kind of trouble.

There is the other bootloader, BootX, that needs a small partition
with OS 9. I've managed to boot some newer initrds with it than with
quik, but not the newest ones. This applies to Ubuntu.

I'm interested in hearing how it goes.

Risto


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



Re: Boot Floppies PPC Old World Mac

2008-04-16 Thread Risto Suominen
I once installed Debian Sarge (a bit newer than Woody) on a similar
machine, 6400/180, and was quite happy with it. It had an IMS TT
graphics card and a USB2 card, and those worked too. The IMS card
needed some special depth settings for colors to work in X. The kernel
was probably v. 2.4.18. The other alternative, a 2.2 kernel, wouldn't
allow USB to work.

I guess I had to use the boot-floppy-hfs image from Woody to start the
installation.

Risto


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



Re: [Alsa-user] Distributing alsa-settings

2008-04-16 Thread Risto Suominen
Alsactl utility is used to save and restore the settings. See 'man
alsactl' for details. The settings file is mentioned. It is
/var/lib/alsa/asound.state on my system. Probably some system init
script in /etc/init.d should use alsactl, perhaps /etc/init.d/alsa.

Risto

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


<    1   2   3   4   >