Re: Orinoco Dirver with monitor support

2005-03-09 Thread Paul Mullen
On Wed, Mar 09, 2005 at 08:59:05AM +0100, Paul Puschmann wrote:

  So my request again if anybody got Orinoco standalone monitoring wireless 
  drivers compiled for PPC and Kernel 2.6.8 could you please email them to me?
  
 I used the kernel-patch from www.kismetwireless.net and compiled the
 kernel via make-kpkg. i have to admit that this worked on a x86-system,
 but it should work on a ppc, too.

I had no difficulties applying the Kismet patch to the Debian 2.6.9
kernel sources. The kernel built fine, and monitor mode works.
Scanning does not, work, though, and after running in monitor mode the
Airport modules need to be removed and re-inserted before wireless
will function normally. This is the same problem I've had for at least
a year. The ksoftirqd process eventually spirals out of control,
sending the load level sky-high.


Paul


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



Re: pre-release 2.6.11-0.1 debian/powerpc kernel.

2005-03-09 Thread Djoume SALVETTI
Le mardi 03/08/05 Sven Luther [EMAIL PROTECTED] a écrit :
 I am in the process of uploading a pre-release 2.6.11 debian/powerpc kernel to
 
   http://people.debian.org/~luther/powerpc/2.6.11-0.1 
 
 And altough it is not yet fully ready to be uploaded (mostly because
 kernel-source-2.6.11 needs cleaning up a bit yet), i would encourage you to
 try it out and give me feedback on it.

Hi,

Is it compiled with CONFIG_FB_RIVA=y ? (#297627)

I have try to look at kernel-patch-powerpc-2.6.11_2.6.11-0.1.tar.gz but
it seems to be a copy of the change file.

Regards.
-- 
Djoumé SALVETTI


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



Re: [Netboot] Ethernet Driver on 1.8GHz G5?

2005-03-09 Thread Francois
  I've never compiled a netboot enabled kernel before. Is there an 
  howto available to help me start? (Or should I switch to a simpler
  approach, if there is one?)
 
 No, I don't distribute kernels anymore. The iMac G5 patches haven't been
 merged yet, but I think there are some debian packages available.
 
 Ben.

I haven't found any debian package with a iMac patch but I've found the
following sources:

http://ozlabs.org/ppc64-patches/
http://perso.magic.fr/l_indien/linux-ImacG5/

I'll try to compile a new kernel with these as soon as I get the time to do it.

Thx

Francois

On Wed, 2005-03-09 at 09:57, Benjamin Herrenschmidt wrote:
 On Wed, 2005-03-09 at 09:07 +, Francois wrote:
  On Tue, 2005-03-08 at 22:48, Benjamin Herrenschmidt wrote:
   On Tue, 2005-03-08 at 17:04 +, Francois wrote:
   
thanks for your help. I've tried again and I've explicitly selected
sungen, but with no success. The strange thing is I do see an Ethernet
device in the pci tree (from /proc/pci):
   
   This is one of the newer single-CPU G5s, they have the same chipset as
   the iMac G5, the kernel is missing the proper PCI ID for the ethernet
   (among others).
   
   Try the iMac G5 kernel.
  
  Thanks for the information. Is your page at penguinppc.org the right
  place to get an iMac G5 kernel?
  
  I've never compiled a netboot enabled kernel before. Is there an howto
  available to help me start? (Or should I switch to a simpler approach,
  if there is one?)
 
 No, I don't distribute kernels anymore. The iMac G5 patches haven't been
 merged yet, but I think there are some debian packages available.
 
 Ben.





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



Re: errors when compiling 2.6 kernel source

2005-03-09 Thread Michael Schmitz
  I tried compiling a 2.6 kernel from sources (2.6.11 from kernel.org to
  be exact), and I got the following:
 
  What's causing this ?

 That looks like the swim3 driver. Last I heard, it hadn't been updated
 when some of the other parts of the kernel changed.

Looks like it hasn't been touched in ages, then. BenH should correct me if
I'm way off base, but you basically need to replace, at a minimum:

save_flags(flags)+cli() by  local_irq_save(flags)
restore_flags(flags)by  local_irq_restore(flags)
sti()   by  local_irq_enable()

for uniprocessor use (are there any SMP capable machines with SWIM3??). If
that compiles and runs, you can proceed to using proper spinlock
functions (a spinlock has already been added to the driver but isn't
currently used).

See swim_iop.c and floppy.c for guidance.

Michael


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



Re: Best way to create a swap partition

2005-03-09 Thread Michael Schmitz
 I tried using fdisk. Contrary to fdisk on x86/alpha I could not change

Don't - use mac-fdisk, or parted.

 the partition type of an existing partion. So I deleted an unused one
 and tried to recreate it. But I am never asked for a partition type, I
 always get a Linux native. When I use C instead of c I can set a
 partition type, but there is no help on what I can choose here, fdisk
 simply accepts anything, it appears.

The 'C' sounds like mac-fdisk, but the 'Linux native' isn't the partition
type nor name - you got that from the last column in the partition
listing? That column will always read 'Linux native' for Unix partitions,
(unless their name happens to be 'swap').

The partition type/name thing is confusing, thanks Apple. The logic is as
follows: The partition type describes what the partition is supposed to be
used for - partition map, drivers, HFS or Unix data partitions. For Linux,
we hijacked the A/UX partition type (assuming MacOS knows not to touch
those). The partition type could be anything, perhaps, I've never tried
that (and I've been using mac-fdisk on m68k and ppc since its rewrite from
the MkLinux pdisk tool).

Having fixed the type of a Linux partition (Apple_UNIX_SVR2) we still need
to specify what particular use the partition is meant for. There's two
choices, basically: filesystem, or swap (or LVM, as it later turned out).
Currently, everything except 'swap' is interpreted as filesystem use,
tagged 'Linux native'. You can name the filesystem partitions anything you
like.

Who cares about these distinctions? Honestly, it really doesn't matter
except for the (old) installer. There's nothing wrong with using an
unused partition of type Apple_HFS or Apple_Free for swap. There's more
than one way to do it ...

 So: How do I create a swap partion on ppc?

Using 'c', and 'swap' for the name. Then, mkswap -V1 /dev/whatever.

Michael


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



Re: errors when compiling 2.6 kernel source

2005-03-09 Thread vinai
On Wed, 9 Mar 2005, Michael Schmitz wrote:
I tried compiling a 2.6 kernel from sources (2.6.11 from kernel.org to
be exact), and I got the following:
What's causing this ?
That looks like the swim3 driver. Last I heard, it hadn't been updated
when some of the other parts of the kernel changed.
Looks like it hasn't been touched in ages, then. BenH should correct me
if I'm way off base, but you basically need to replace, at a minimum:
save_flags(flags)+cli() by  local_irq_save(flags)
restore_flags(flags)by  local_irq_restore(flags)
sti()   by  local_irq_enable()
for uniprocessor use (are there any SMP capable machines with SWIM3??).
If that compiles and runs, you can proceed to using proper spinlock
functions (a spinlock has already been added to the driver but isn't
currently used).
See swim_iop.c and floppy.c for guidance.
I will take a look.  And to answer your questions, I believe the SWIM3 
is the driver for the last floppy drive on Power Mac and Power Mac G3
systems, and matching Mac Clones from that period.  The 7300-9600 macs
(and their matching clones) do have 2x CPU cards available for them. I 
actually have a 2x 180 604e card, and there are 2X G4 upgrade systems
as well for these machines.

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


hda: lost interrupt starting with 2.6.8

2005-03-09 Thread Vince Weaver
Hello,
Starting with kernel 2.6.8 my iBook2 hangs during boot. 
2.6.7 runs perfectly.

With the same config I had on 2.6.7 it just hangs at
adb: starting probe task...
But with the default debian kernel config it gets further, 
but during the ide-pmac initialization just generates a 
long stream of

hda: lost interrupt
Doing some searches on-line I've found a handful of people 
with the same type of error.  We've all been waiting at
2.6.7 hoping the problem would fix itself...

I've tried 2.6.8.1, 2.6.9, 2.6.10 and 2.6.11 all
with the same results.
Is there a good way to track down what's causing this
error?
Thanks
Vince
--
/*  Vince Weaver  vince at deater.net  www.deater.net/weave  */
main(){char O,o[66]=|\n\\/_  ,*I=o+7,l[]=B!FhhBHCWE9C?cJFKET$+h'Iq*chT
,i=0,_;while(_=l[i++])for(O=0;O++_5;)*I=*(I++-(_31));*I=0;puts(o+5);}
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Controlling Powerbook fan speed

2005-03-09 Thread Wee-Jin Goh
Hello,

Is there anyway to control the fan speed on my Powerbook? I'd like to
set it so that it comes on sooner rather than later (i.e. turn it on at
a lower temperature)?

Regards,
Wee-Jin



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



Re: pre-release 2.6.11-0.1 debian/powerpc kernel.

2005-03-09 Thread Paul J. Lucas
On Tue, 8 Mar 2005, Sven Luther wrote:
I am in the process of uploading a pre-release 2.6.11 debian/powerpc kernel to
 http://people.debian.org/~luther/powerpc/2.6.11-0.1
And altough it is not yet fully ready to be uploaded (mostly because
kernel-source-2.6.11 needs cleaning up a bit yet), i would encourage you to
try it out and give me feedback on it.
Well, I compiled 2.6.11 from kernel.org and it seems to work
just fine on my Mac Mini.
- Paul
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: errors when compiling 2.6 kernel source

2005-03-09 Thread Eric Gaumer
Michael Schmitz wrote:
I tried compiling a 2.6 kernel from sources (2.6.11 from kernel.org to
be exact), and I got the following:
What's causing this ?
That looks like the swim3 driver. Last I heard, it hadn't been updated
when some of the other parts of the kernel changed.

Looks like it hasn't been touched in ages, then. BenH should correct me if
I'm way off base, but you basically need to replace, at a minimum:
save_flags(flags)+cli() by  local_irq_save(flags)
restore_flags(flags)by  local_irq_restore(flags)
sti()   by  local_irq_enable()
for uniprocessor use (are there any SMP capable machines with SWIM3??). If
that compiles and runs, you can proceed to using proper spinlock
functions (a spinlock has already been added to the driver but isn't
currently used).
This code needs to be SMP safe (see Bug#271517). You'll need proper locking 
primitives
(ie. spin_lock_irqsave(), etc...). The locks will compile away on UP machines.
Keep in mind that this isn't a simple case of search and replace. You should 
understand
what data needs mutual exclusion. The stray sti() looks like a hack. Enabling 
interrupts
with sti() before return is bad practice because your function could be 
returning to a
function that expects interrupts to still be disabled.
-Eric
--
Education is what remains after one has forgotten everything he learned in 
school.
- Albert Einstein


signature.asc
Description: OpenPGP digital signature


Upgrade to Unstable: Problems with USB Wifi Adapter

2005-03-09 Thread Ben Hill
I've just upgraded to sid, but my D-Link DWL-122 USB wifi adapter has
stopped working as it was under sarge.

When I plug the device in, /var/log/messages shows it's loading the
prism2_usb module. I still have alias wlan0 prism2_usb in my modules,
but it's no longer associating with the network automatically. 

If I try ifup wlan0, I get:

Error for wireless request Set ESSID (8B1A) :
SET failed on device wlan0 ; Operation not supported.
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

snip
Listening on LPF/wlan0/00:11:95:88:17:8f
Sending on   LPF/wlan0/00:11:95:88:17:8f
Sending on   Socket/fallback/fallback-net
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
snip
No DHCPOFFERS received.
No working leases in persistent database.

Failed to bring up wlan0.

Any pointers?

Cheers,

Ben

-- 
[EMAIL PROTECTED] - www.seigan.org
PGP Key fingerprint = 4309 1C58 5143 AFAC F69E  11CD 76FD 56D4 1223 E387


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



Re: errors when compiling 2.6 kernel source

2005-03-09 Thread vinai
On Wed, 9 Mar 2005, Michael Schmitz wrote:
Looks like it hasn't been touched in ages, then. BenH should correct me
if I'm way off base, but you basically need to replace, at a minimum:
save_flags(flags)+cli() by  local_irq_save(flags)
restore_flags(flags)by  local_irq_restore(flags)
sti()   by  local_irq_enable()
for uniprocessor use (are there any SMP capable machines with SWIM3??).
if that compiles and runs, you can proceed to using proper spinlock
functions (a spinlock has already been added to the driver but isn't
currently used).
This code needs to be SMP safe (see Bug#271517). You'll need proper
That's why I asked about SMP machines with SWIM3.
locking primitives (ie. spin_lock_irqsave(), etc...). The locks will
compile away on UP machines.
Sure.
Keep in mind that this isn't a simple case of search and replace.
You should understand what data needs mutual exclusion. The stray
sti() looks like a hack.  Enabling interrupts with sti() before
return is bad
The PC floppy driver does things in much the same way, from a quick
glance. Most notably, the spinlock is never used in that driver either.
Same for the swim_iop driver.  I conclude there's not much need for
mutual exclusion here. Yes, I'm aware that the interrupt handling isn't
the same for Intel and PowerPC hardware ...
practice because your function could be returning to a function that
expects interrupts to still be disabled.
The driver should make sure this doesn't happen, naturally. Seems to
have worked at some time in the past.
I'm aware that my suggestions are just a first thing to try. If the
machine freezes, or other bad things happen, look more closely. Don't 
try this on mission critical hardware :-)
Well, this machine finished up its last critical mission (helping me 
through my thesis ;-)  more than a year ago, so it can be beaten up 
to test things like this.  My better half is already smiling at me due
to the number of reboots this machine has suffered through in just the
last few weeks testing kernels and installers :)

I'll take a look at the SWIM3 driver, with all your suggestions in mind,
and I'll post back here with the results, good, bad, or desperate pleas
when I get lost in kernel code :-)
vinai
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: errors when compiling 2.6 kernel source

2005-03-09 Thread Michael Schmitz
  Looks like it hasn't been touched in ages, then. BenH should correct me if
  I'm way off base, but you basically need to replace, at a minimum:
 
  save_flags(flags)+cli() by  local_irq_save(flags)
  restore_flags(flags)by  local_irq_restore(flags)
  sti()   by  local_irq_enable()
 
  for uniprocessor use (are there any SMP capable machines with SWIM3??). If
  that compiles and runs, you can proceed to using proper spinlock
  functions (a spinlock has already been added to the driver but isn't
  currently used).
 

 This code needs to be SMP safe (see Bug#271517). You'll need proper

That's why I asked about SMP machines with SWIM3.

 locking primitives (ie. spin_lock_irqsave(), etc...). The locks will
 compile away on UP machines.

Sure.

 Keep in mind that this isn't a simple case of search and replace. You
 should understand what data needs mutual exclusion. The stray sti()
 looks like a hack. Enabling interrupts with sti() before return is bad

The PC floppy driver does things in much the same way, from a quick
glance. Most notably, the spinlock is never used in that driver either.
Same for the swim_iop driver. I conclude there's not much need for mutual
exclusion here. Yes, I'm aware that the interrupt handling isn't the same
for Intel and PowerPC hardware ...

 practice because your function could be returning to a function that
 expects interrupts to still be disabled.

The driver should make sure this doesn't happen, naturally. Seems to have
worked at some time in the past.

I'm aware that my suggestions are just a first thing to try. If the
machine freezes, or other bad things happen, look more closely. Don't try
this on mission critical hardware :-)

Michael


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



Re: errors when compiling 2.6 kernel source

2005-03-09 Thread Rogério Brito
On Mar 09 2005, Michael Schmitz wrote:
 are there any SMP capable machines with SWIM3??

Yes, there are. For instance, the ld mac that I have here is a PowerMac
9500/180MP with 2 604e processors.

Quite slow for almost anything to be done, but I hope that I will be able
to upgrade it in the not so distant future (and leave it neatly configured
to my father).

So, yes, there are SMP machines with swim3.


Cheers, Rogério.

-- 
Learn to quote e-mails decently at:
http://pub.tsn.dk/how-to-quote.php
http://learn.to/quote
http://www.xs4all.nl/~sbpoley/toppost.htm


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



Re: pre-release 2.6.11-0.1 debian/powerpc kernel.

2005-03-09 Thread Jochen Voss
Hello Sven,

On Tue, Mar 08, 2005 at 07:49:38PM +0100, Sven Luther wrote:
 I am in the process of uploading a pre-release 2.6.11 debian/powerpc
 kernel to
 
   http://people.debian.org/~luther/powerpc/2.6.11-0.1 
 
 And altough it is not yet fully ready to be uploaded (mostly because
 kernel-source-2.6.11 needs cleaning up a bit yet), i would encourage you to
 try it out and give me feedback on it.

I gave it a try on my very recent Apple powerbook G4.  Information
about my machine, dmesg output etc.  can be found at
http://seehuhn.de/comp/powerbook/2.6.11-0.1/ .  The following things
did not work:

1) the trackpad does not work :-(

  Using the trackpad has no visible effect, no input arrives at
  /dev/input/mice, the X pointer does not move etc.

2) sound does not work

  Everything seems fine at first: alsamixer sees controls labelled
  master, headphon, Mix Boos, PC Speak, Auto Mut, Beep.
  Doing cat something.wav /dev/audio or similar takes the
  appropriate amount of time.  But no sound is actually played :-(

3) the fn key emits no scan code

  I tried showkey -s on the console.  Pressing fn does not result
  in any output.

4) suspend does not work

  I tried the following shell script:
#!/bin/sh
rmmod ohci1394
rmmod eth1394
rmmod ieee1394
rmmod hci_usb
/etc/init.d/hotplug stop
echo disk  /sys/power/state
  When the final line was executed the machine hung.  The cursor on
  the text console was still blinking, but all key presses were
  ignored and I had to do a hard reset.


The dmesg output contains the following lines which look like error
messages:

  - no idea about this:

Can't get bus-range for /[EMAIL PROTECTED]/[EMAIL PROTECTED], assuming 
it starts at 0
PCI: Cannot allocate resource region 0 of device 0001:10:19.0

  - graphics seem to work, so maybe the following is harmless?

radeonfb (:00:10.0): Invalid ROM signature 303 should be0xaa55

  - the following is known, I think:

adt746x: Thermostat bus: 0, address: 0x2e, limit_adjust: 0, fan_speed: 
-1
adt746x: Thermostat failed to read config from bus 0 !

  - no idea about this:

ohci1394: fw-host0: Unexpected PCI resource length of 1000!

  - maybe the following is connected to the trackpad problem

input: USB HID v1.10 Keyboard [Apple Computer Apple Internal 
Keyboard/Trackpad] on usb-0001:10:1a.0-2
HID device not claimed by input or hiddev
usbhid: probe of 1-2:1.1 failed with error -5

As far as I can see, all of these problems also occur for a vanilla
2.6.11 kernel.

I hope this helps,
Jochen
-- 
http://seehuhn.de/


signature.asc
Description: Digital signature


Re: Upgrade to Unstable: Problems with USB Wifi Adapter

2005-03-09 Thread Ben Hill

I'm pretty sure the root of the problem is in;

# ifup wlan0

Error for wireless request Set ESSID (8B1A) :
SET failed on device wlan0 ; Operation not supported.



-- 
[EMAIL PROTECTED] - www.seigan.org
PGP Key fingerprint = 4309 1C58 5143 AFAC F69E  11CD 76FD 56D4 1223 E387


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



kernel compiling for power pc

2005-03-09 Thread Rainer Gutkas
After requesting how to get an orinoco driver monitor support I've comiled the 
kernel-source-2.6.8 package with the orinoco patch applied.

result: kernel panick on boot
before there was a thousand times the message:modconf error- couldn't 
open /lib/modules/modules.dep no such file or directory

the funny thing is that it was there but something wen't wrong.

I tried to follow the howto's I found or got mailed

So I guess somebody here knows what I gotta do to get that thing right...

THX,

Rainer
-- 

Rainer Gutkas Bakk. Techn.
Kleiststraße  36
A - 3100 St. Pölten
email: [EMAIL PROTECTED]
tel  : +43-(0)699 - 13268369



Re: Upgrade to Unstable: Problems with USB Wifi Adapter

2005-03-09 Thread Moritz Armingeon
Hi Ben

On 20:05 Wed 09 Mar , Ben Hill wrote:
 
 I'm pretty sure the root of the problem is in;
 
 # ifup wlan0
 
 Error for wireless request Set ESSID (8B1A) :
 SET failed on device wlan0 ; Operation not supported.

I'm tweaking my DWL122 with wlanng-ctl. What happens if you do:

$ wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable

and then

$ wlanctl-ng wlan0 lnxreq_autojoin ssid={YOURID} authtype=opensystem

and then try running the dhclient?

Moritz


pgpz5lhIW2JHS.pgp
Description: PGP signature


Re: kernel compiling for power pc

2005-03-09 Thread Ben Hill
On Wed, 2005-03-09 at 21:14 +0100, Rainer Gutkas wrote:
 After requesting how to get an orinoco driver monitor support I've comiled 
 the 
 kernel-source-2.6.8 package with the orinoco patch applied.

How did you compile the kernel?

-- 
[EMAIL PROTECTED] - www.seigan.org
PGP Key fingerprint = 4309 1C58 5143 AFAC F69E  11CD 76FD 56D4 1223 E387


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



Re: Upgrade to Unstable: Problems with USB Wifi Adapter

2005-03-09 Thread Ben Hill
On Wed, 2005-03-09 at 20:25 +, Ben Hill wrote:
  I'm tweaking my DWL122 with wlanng-ctl. What happens if you do:
  
  $ wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
 
 I get:
 
 wlanctl-ng: No such device

Sorry, correction, I get:

message=lnxreq_ifstate
  ifstate=enable
  resultcode=implementation_failure


-- 
[EMAIL PROTECTED] - www.seigan.org
PGP Key fingerprint = 4309 1C58 5143 AFAC F69E  11CD 76FD 56D4 1223 E387


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



Acard 6260M support?

2005-03-09 Thread Nathan Raymond
Hi,
Does the Debian 3.0r4 installer kernel support the Acard 6260M ATA/66 
controller?  It's supported by OS 9, OS X, and even by NetBSD, as 
documented here:

http://www.netbsd.org/Ports/macppc/faq.html#peripherals
Acard ATP-850/860 controllers (such as Sonnet Tempo ATA/66 and Acard 
AEC-6210/6260) (pciide)

However the Debian installer just doesn't see any hard drives attached to 
the card (this is in a PowerMac 8600).  Do I need to have a custom kernel 
built to actually see the card during the install, or does Linux for 
PowerPC just not support it?

Thanks for any help,
Nate
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Upgrade to Unstable: Problems with USB Wifi Adapter

2005-03-09 Thread Moritz Armingeon
On 20:28 Wed 09 Mar , Ben Hill wrote:
 Sorry, correction, I get:
 
 message=lnxreq_ifstate
   ifstate=enable
   resultcode=implementation_failure
Sorry, then I don't know any further :-( In my case, it looks that way:

kernel:
usb 2-1: new full speed USB device using ohci_hcd and address 4
prism2usb_init: prism2_usb.o: 0.2.1-pre25 Loaded
prism2usb_init: dev_info is: prism2_usb
usbcore: registered new driver prism2_usb
Writing 4096 bytes to ram @0x7e2ffe
Writing 4096 bytes to ram @0x7e3ffe
Writing 4096 bytes to ram @0x7e4ffe
Writing 4096 bytes to ram @0x7e5ffe
[...]
Writing 3288 bytes to ram @0x7fe000
ident: nic h/w: id=0x8026 1.0.0
ident: pri f/w: id=0x15 1.1.3
ident: sta f/w: id=0x1f 1.8.3
MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4
STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/15
PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Prism2 card SN: 
linkstatus=CONNECTED

wlanctl:
message=lnxreq_ifstate
  ifstate=enable
resultcode=success

But I doubt that this stuff helps... anyway, good luck, Moritz

PS: Are you using the source from the debian repository? That didn't work for
me, it was somehow patched. I needed the official one.


pgpdRCSjNBcfL.pgp
Description: PGP signature


Re: will linus work on ppc dev now?

2005-03-09 Thread Dean Hamstead
benh still gets my vote as favourite ppc developer
hmm i think im getting a complex here
Dean
david wrote:
According to
http://www.zdnet.com.au/news/0,39023165,39183867,00.htm
The ppc community looks like it has added some development muscle to its 
linux component..


--
WWW: http://dean.bong.com.au  LAN: http://www.bong.com.au
EMAIL: [EMAIL PROTECTED]   or   [EMAIL PROTECTED]
ICQ: 16867613
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: will linus work on ppc dev now?

2005-03-09 Thread Michel Dänzer
On Thu, 2005-03-10 at 08:01 +1100, david wrote:
 According to
 http://www.zdnet.com.au/news/0,39023165,39183867,00.htm
 
 The ppc community looks like it has added some development muscle to its 
 linux component..

This is ooold news... I think Linus has been using the G5 as his main
machine for about a year or so. I don't know about the impact of that
for ppc64, but I think it's been about zero for ppc32 so far.


-- 
Earthling Michel Dnzer  | Debian (powerpc), X and DRI developer
Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer



Re: Upgrade to Unstable: Problems with USB Wifi Adapter

2005-03-09 Thread Moritz Armingeon
On 21:18 Wed 09 Mar , Ben Hill wrote:
 On Wed, 2005-03-09 at 21:59 +0100, Moritz Armingeon wrote:
  Sorry, then I don't know any further :-( In my case, it looks that
  way:
 
 That's what it used to look like to me too! :-(
 
 Are you using sid or sarge?
Sarge. But I had something similiar on sarge, too. That's why I answered.

Maybe send some elctronic post to the linux-wlan-ng list?


pgpV6JgG29L9j.pgp
Description: PGP signature


Re: Upgrade to Unstable: Problems with USB Wifi Adapter

2005-03-09 Thread Ben Hill
On Wed, 2005-03-09 at 22:42 +0100, Moritz Armingeon wrote:
 Sarge. But I had something similiar on sarge, too. That's why I
 answered.

You're using sid do you mean?

-- 
[EMAIL PROTECTED] - www.seigan.org
PGP Key fingerprint = 4309 1C58 5143 AFAC F69E  11CD 76FD 56D4 1223 E387


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



Re: will linus work on ppc dev now?

2005-03-09 Thread Sean Jewett
On Wed, 9 Mar 2005, Michel Dänzer wrote:

 On Thu, 2005-03-10 at 08:01 +1100, david wrote:
  According to
  http://www.zdnet.com.au/news/0,39023165,39183867,00.htm
  
  The ppc community looks like it has added some development muscle to its 
  linux component..
 
 This is ooold news... I think Linus has been using the G5 as his main
 machine for about a year or so. I don't know about the impact of that
 for ppc64, but I think it's been about zero for ppc32 so far.

As I recall (and I think maddog said this in a speech) the only reason why
Linus ported Linux to Alpha versus PPC was the fact that DEC got an Alpha
in his hands before he got the PPC machine.  Weird how things come full 
circle, Linus has a PPC machine and Alpha is just about dead.

Sean...

--
The punk rock will get you if the government don't get you first.
--Old 97's
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
KG4NRC  http://www.rimboy.com  Your source for the crap you know you need.


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



Re: will linus work on ppc dev now?

2005-03-09 Thread Benjamin Herrenschmidt
On Wed, 2005-03-09 at 15:08 -0600, Sean Jewett wrote:
 On Wed, 9 Mar 2005, Michel Dänzer wrote:
 
  On Thu, 2005-03-10 at 08:01 +1100, david wrote:
   According to
   http://www.zdnet.com.au/news/0,39023165,39183867,00.htm
   
   The ppc community looks like it has added some development muscle to its 
   linux component..
  
  This is ooold news... I think Linus has been using the G5 as his main
  machine for about a year or so. I don't know about the impact of that
  for ppc64, but I think it's been about zero for ppc32 so far.
 
 As I recall (and I think maddog said this in a speech) the only reason why
 Linus ported Linux to Alpha versus PPC was the fact that DEC got an Alpha
 in his hands before he got the PPC machine.  Weird how things come full 
 circle, Linus has a PPC machine and Alpha is just about dead.

Linus is mostly using the G5, not really using it for developpement of
ppc/ppc64 specific support, this is still in the hand of the good old
team lead by Paul Mackerras :)

Ben.



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



Re: Re: kernel 2.6.10 + radeon accel + alsa

2005-03-09 Thread AMAND Antonin
Hi,
First, thanks for your answer, but it seems that direct rendering is set 
to No.

I'm afraid i'm lost about what I should do next.
If you have any lead...
thx.
Antonin.

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


Re: pre-release 2.6.11-0.1 debian/powerpc kernel.

2005-03-09 Thread Gabriel Paubert
On Wed, Mar 09, 2005 at 06:18:46PM +, Jochen Voss wrote:
 Hello Sven,
 
 On Tue, Mar 08, 2005 at 07:49:38PM +0100, Sven Luther wrote:
  I am in the process of uploading a pre-release 2.6.11 debian/powerpc
  kernel to
  
http://people.debian.org/~luther/powerpc/2.6.11-0.1 
  
  And altough it is not yet fully ready to be uploaded (mostly because
  kernel-source-2.6.11 needs cleaning up a bit yet), i would encourage you to
  try it out and give me feedback on it.
 
 I gave it a try on my very recent Apple powerbook G4.  Information
 about my machine, dmesg output etc.  can be found at
 http://seehuhn.de/comp/powerbook/2.6.11-0.1/ .  The following things
 did not work:
 
 3) the fn key emits no scan code
 
   I tried showkey -s on the console.  Pressing fn does not result
   in any output.

It has never emitted any scan code on any Mac with an
ADB keyboard. Its state is kept internally. 

What I'd like, but I don't have a new PowerBook, is to 
make fn modify the trackpad behaviour to a scrollwheel.
There is a small MacOS X application that does 
this and it's quite nifty.

Of course, people with a newer PowerBook would not 
care, they just use two fingers...

   - graphics seem to work, so maybe the following is harmless?
 
   radeonfb (:00:10.0): Invalid ROM signature 303 should be0xaa55

Some overeager PC-only hacker that believes that god intended
all processors to be x86-compatible :-(. 0303 is Open Firmware
signature, meaning that the ROM contains FCode AFAIR; 0xaa55 is 
for PC Bioses, implying binary x86 code.

   - no idea about this:
 
   ohci1394: fw-host0: Unexpected PCI resource length of 1000!

No idea either, but I'd bet that it is harmless.

Regards,
Gabriel



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



Re: Re: kernel 2.6.10 + radeon accel + alsa

2005-03-09 Thread Mauro
On Thu, 2005-10-03 at 00:16 +0100, AMAND Antonin wrote:
 Hi,
 
 First, thanks for your answer, but it seems that direct rendering is set 
 to No.
 
 I'm afraid i'm lost about what I should do next.
 
 If you have any lead...
 
 thx.
 
 Antonin.
 
As I beleve I asked before, for what computer model?  What video card is
it?  Can you provide relevant  XF86Config file info?  You might have to
run at 16 rather than 24 default depth (I did).  Experiment.  You're not
trying to get acceleration on a nvidea(sp?) card are you?  Thanks to
their lack of open support, you can't. 



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



Re: will linus work on ppc dev now?

2005-03-09 Thread Benjamin Herrenschmidt

  Linus is mostly using the G5, not really using it for developpement of
  ppc/ppc64 specific support, this is still in the hand of the good old
  team lead by Paul Mackerras :)
 
 i was thinking also that its not the 'port' thats the problem but more 
 the lack of specs to support peripherals. powerpc chips are open spec
 i believe and IBM has an interest in the platform being stable in linux
 but they dont give a rats about airport extreme or DRI etc.
 
 which leads me into thinking that i cant see linus hacking airport
 extreme or doing some big X development.

It has nothing to do with IBM's involvement. In fact, if you look
closely at the DRI lists, you'll see some IBM folks involved ;)

DRI for r300 is beeing worked one based on reverse engineering (paulus
got bzflag working nicely on his G5 the other day) . Airport Extreme is
a different matter, it's more complex and we all have alternate
solutions, so nobody is spending time of that, but you are welcome to do
so :)

Ben.



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



Powerbook5,6 longer list of what does not work...

2005-03-09 Thread Chocron J.
Hi list !

I read the initiated by Antonio-M Corbi Bellot, and I am afraid that the list 
he provided is incomplete. So far, after about 3 weeks of fiddling with the 
various machine's settings, I have kind of acertained that the following 
hardware does not work (even with 2.6.11.2) :
- Soundcard : it is recognized, but I am unable to play any sound,
- Trackpad (we all know that now !!),
- Keyboard (the fn key does not work, it does not modify the keycode of any 
key when held down),
- PCMCIA (I am not sure about that one, but the none of my PCMCIA hardware 
works on the cardbus slot...)

That's about it...


Jonathan


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



Re: Re: kernel 2.6.10 + radeon accel + alsa

2005-03-09 Thread Michel Dänzer
On Thu, 2005-03-10 at 00:16 +0100, AMAND Antonin wrote:
 
 First, thanks for your answer, but it seems that direct rendering is set 
 to No.

The top of the output of something like

LIBGL_DEBUG=verbose glxinfo

should provide more information about the problem.


-- 
Earthling Michel Dnzer  | Debian (powerpc), X and DRI developer
Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer



Re: will linus work on ppc dev now?

2005-03-09 Thread Dean Hamstead
It has nothing to do with IBM's involvement. In fact, if you look
closely at the DRI lists, you'll see some IBM folks involved ;)
im not saying they arent involved. my point was more they ship ppc
based servers - so core stability would be my goal if i was them
not bells and whistles.
DRI for r300 is beeing worked one based on reverse engineering (paulus
got bzflag working nicely on his G5 the other day) . Airport Extreme is
a different matter, it's more complex and we all have alternate
solutions, so nobody is spending time of that, but you are welcome to do
so :)
send me an airport express and then teach me some kernel coding and ill
get to it...
i would prefer someone to just sync some scanning code in for orinoco 
and make something official.

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


2.6.8 kernel compile failing on PowerMac G4/350

2005-03-09 Thread Dan Jonsen

I am running Sarge (official test release 2004-11-18) on a PowerMac G4/350 
(new Jan 2000).  I believe this is the machine with the motherboard from the 
blue  white G3s with a G4 just stuck in there (Yikes motherboard?).  A 
couple days ago, I upgraded the kernel using the 
kernel-image-2.6.8-9-powerpc.deb package from the Debian FTP site.  

I installed the 2.6.8 kernel source deb that came on the Sarge distro CDs.  
When I attempt to compile, the process exits abnormally as follows:

  CC  init/version.o
  LD  init/built-in.o
  LD  .tmp_vmlinux1
sound/built-in.o(.init.text+0xb68): In function `dmasound_awacs_init':
: undefined reference to `pmac_xpram_read'
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/kernel-source-2.6.8'
make: *** [stamp-build] Error 2
g4-debian:/usr/src/kernel-source-2.6.8#

The entire compile sequence (or at least the part that was captured in the 
scrollback buffer for my terminal window) can be viewed at 

http://home.comcast.net/~dejonsen/compile.htm

The .config file for this compile attempt can be viewed at 

http://home.comcast.net/~dejonsen/config.htm

Just for the heck of it, a log file containing all of the boot messages, 
including lots of complaining about the firewire interface (subject of a 
future inquiry) can be viewed at

http://home.comcast.net/~dejonsen/bootlog.htm

Any suggestions on fixing the compile problem would be greatly appreciated.

Dan


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



sound on albook

2005-03-09 Thread Tamas K Papp
I just installed a sarge netinst daily image, it works fine but there
are a few problems:

- sound is not working, there is no /dev/dsp, I am using the standard
2.6.8 kernel from testing, what should I do, recompile the kernel, get
a more recent one, etc?

- how can I have the Command/Apple key behave as Alt instead of the Option key?

Thanks,

Tamas


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



Re: pre-release 2.6.11-0.1 debian/powerpc kernel.

2005-03-09 Thread Colin Leroy
On 10 Mar 2005 at 00h03, Gabriel Paubert wrote:

Hi, 

 What I'd like, but I don't have a new PowerBook, is to 
 make fn modify the trackpad behaviour to a scrollwheel.
 There is a small MacOS X application that does 
 this and it's quite nifty.

Mouseemu lets you do that, but with another key than Fn (for the
previously cited reasons).

-- 
Colin
  http://ayttm.sf.net/ : Chat with your friends
  via msn, aim, yahoo, and more


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



Re: Powerbook5,6 longer list of what does not work...

2005-03-09 Thread Benjamin Herrenschmidt
On Thu, 2005-03-10 at 02:54 +0100, Chocron J. wrote:
 Hi list !
 
 I read the initiated by Antonio-M Corbi Bellot, and I am afraid that the list 
 he provided is incomplete. So far, after about 3 weeks of fiddling with the 
 various machine's settings, I have kind of acertained that the following 
 hardware does not work (even with 2.6.11.2) :

Heh, that's what happens when you buy brand new model :) Hopefully, A
friend of mine here ordered one, so I'll be able to fix most of the
stuff soon.

 - Soundcard : it is recognized, but I am unable to play any sound,

That should be fairly easy to fix hopefully.

 - Trackpad (we all know that now !!),

Yes. I think Vojtech will do a minimum fix soon as soon as he gets
access to the HW (should happen next week I think). Later on, I'll try
to figure out the gesture thing and other fancy stuff, at least once I
have some physical access to my friend's box (read: when Apple
delivers).

 - Keyboard (the fn key does not work, it does not modify the keycode of any 
 key when held down),

Interesting. Probably the new USB keyboard requires software handling of
the Fn key... That would suck tho, unless we hide something in the
driver. 

 - PCMCIA (I am not sure about that one, but the none of my PCMCIA hardware 
 works on the cardbus slot...)

That should be fairly simple to fix as well.

 That's about it...

Does sleep works ? If not, I expect it not to be too difficult to fix
either...

Ben.



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



Re: hda: lost interrupt starting with 2.6.8

2005-03-09 Thread Benjamin Herrenschmidt
On Wed, 2005-03-09 at 10:43 -0500, Vince Weaver wrote:
 Hello,
 
 Starting with kernel 2.6.8 my iBook2 hangs during boot. 
 2.6.7 runs perfectly.
 
 With the same config I had on 2.6.7 it just hangs at
  adb: starting probe task...
 
 But with the default debian kernel config it gets further, 
 but during the ide-pmac initialization just generates a 
 long stream of
 
  hda: lost interrupt
 
 Doing some searches on-line I've found a handful of people 
 with the same type of error.  We've all been waiting at
 2.6.7 hoping the problem would fix itself...
 
 I've tried 2.6.8.1, 2.6.9, 2.6.10 and 2.6.11 all
 with the same results.
 
 Is there a good way to track down what's causing this
 error?

No, and I'm annoyed because I have no idea myself and have no machine
that can reproduce it here. It _looks_ like you are just not getting any
interrupts but I'm not too sure. I would need physical access to one of
these to figure that out properly.

If you happen to spot a user with that problem who lives in or near
Canberra in Australia ...

Did you try removing cpufreq support ?

Ben.



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



About the new powerbook trackpad

2005-03-09 Thread Jack Malmostoso
Hi list,

I was reading about the people having trouble with the new powerbook's
trackpad, and found this software:

www.ragingmenace.com/software/sidetrack

Maybe this could help sorting things out. HTH.

-- 
Best regards, Jack
Linux user #264449
Today powered by MacOSX


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