Re: XEN...if ever?

2006-04-11 Thread Aaron Kerr




Heya,

There are vague references to power port of Xen in various online media.

One of the comments to this LJ article claims to from someone at IBM
working on a PowerPC port:
http://www.linuxjournal.com/article/8540

This IBM presentaion states the current Xen port target is the "Power
970 with hypervisor support":
http://www.xensource.com/files/xs0106_xen_on_powerpc.pdf

This XenSource press release says the PowerPC port of Xen is close to
completion:
http://www.xensource.com/news/pr120505b.html

I really some of this porting effort produces something that is G4
friendly.

Aaron

Rich Johnson wrote On 12/04/06 03:05 AM,:
Folks,
  
  
Anyone know when we'll see xen (http://packages.debian.org/unstable/
misc/xen) or equivalent on the powerpc architecture?
  
  
Or if there's an OS X solution that'll host a Debian virtual machine.
  
  
I'm getting tired of dual-booting (it kills processes). I'd much
prefer context switching between OSX and Debian.
  
  
Thx,
  
--rich
  
  
  


-- 

Aaron Kerr
-
Engagement Architect
Sun Microsystems






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



Weak audio on late-2005 iBook G4

2006-01-30 Thread Aaron Kerr
Hello,

On my new iBook I get only very low volume audio out. Using multiple
players to test I can barely hear anything when volume in player is set
to maximum. pbbuttonsd errors on startup with No such device:
/dev/mixer (not a good sign).

I have a custom built 2.6.15.1 kernel. Is there a gotcha I have missed?
Should the sound work on this model?

Thanks
-- 

Aaron Kerr


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



Re: bcm43xx finally working, with encryption too!!!

2006-01-22 Thread Aaron Kerr

I have found that scanning before dhcp is vital to having a working
bcm43xx interface. When I try to bring up my bcm43xx interface without
scanning (until I see a network) dhclient fails to get an IP address. If
I scan until I see my network dhclient works every time (well almost
every time). Like a lot of my pre-up script I do not know why it is
needed but it seems to make it work (see: modprobe -r, ifconfigs and scans).

Aaron


Johannes Berg wrote:
 On Fri, 2006-01-20 at 08:01 -0500, Shreyas Ananthan wrote:
 
 
I tried this approach, it seems, at least from the behavior in my
ibook, that the commands with post-up run after the dhcp command. So
it still doesn't do the iwlist scanning before dhcp command.
 
 
 I don't really understand why you all want to scan before doing stuff.
 It isn't necessary. softmac scans automatically before associating.
 
 johannes




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



Re: bcm43xx finally working, with encryption too!!!

2006-01-19 Thread Aaron Kerr

I have bcm43xx semi-reliably working on my iBook G4 12.

I am using 2.6.15.1 kernel, bcm43xx and softmac snapshots (from 15 Jan
06), some dodgy scripts and IEEE80211 compiled in the kernel as a module.

DODGY SCRIPTS - To get the wireless to reliably associate to an AP (with
or without WEP) I have a pre-up script that does the following:
1. unload and reload the bcm43xx module
2. ifconfig down and up the interface (it seems to help?!?)
3. Scan until we see the wireless network (this can take several tries)
4. Set the rate to 11M and the ESSID to the local network ESSID.

While my script is some overly complicated perl that tries to find one
of my preferred networks here is what it would look like as simple
bourne shell script (last two lines optional depending on network and
use as pre-up script or standalone script):

START SCRIPT
#!/bin/sh

modprobe -r bcm43xx
modprobe bcm43xx
ifrename   # Needed because I rename the interface to bcm0
INTERFACE=`iwconfig 21 | fgrep broadcom 4318 | cut -f1 -d `
ifconfig $INTERFACE down
ifconfig $INTERFACE up
ESSID=
while [ -z $ESSID ]
do
   ESSID=`iwlist $INTERFACE scan | fgrep ESSID | cut -f2 -d''`
   sleep 1
done
iwconfig $INTERFACE rate 11M
iwconfig $INTERFACE essid $ESSID
#iwconfig $INTERFACE key 0a1b2c3d4e
#dhclient $INTERFACE
END OF SCRIPT



Shreyas Ananthan wrote:
 Bin Zhang [EMAIL PROTECTED] writes:
 
 snip...
 
Try dscape/bcm43xx. It needs only one second to get connected.
http://svn.berlios.de/wsvn/bcm43xx/branches/dscape/driver/HOWTO?op=filerev=1027sc=1

Bin
 
 
 snip..
 
 Hi,
 
 I tried to make dscape+bcm43xx work and haven't succeeded. This is
 with 2.6.15 kernel with the unofficial patch applied. The sta_up.sh
 script causes the kernel to crash and I have to reboot. I traced the
 kernel panic to the following command in sta_up.sh
 
 ifconfig wlan0.11 up 
 
 and the xmon exception information at this point shows the following
 message...
 
 vector: 300 at pc=f26b33b8: ieee80211_master_start_xmit+0x6c/0x4bc
 [80211], lr=f2b3378: ieee80211_master_xmit+0x2c/0x4bc [80211]
 msr=9032, sp = ef4b3a00 [ef4b3950]
 dar = 8, dsisr = 4000
 current = ef58e770, pid = 3151, comm = bash
 
 I am not sure what this means or what other information (from xmon
 dump) that I need to post for someone to be able to help me. 
 
 
 I tried posting to the bcm43xx-dev mailing list, but since I am not
 subscribed to the list the message is waiting for moderator approval
 for over three days now. I had also posted about this in debian-ppc
 mailing list a few days ago and there were no responses, so I gave up
 on the dscape+bcm43xx route and went with softmac+bcm43xx. 
 
 I will give the dscape+bcm43xx route a try again if someone can help
 me with this. Any help will be appreciated. 
 
 Shreyas. 
 
 


-- 

Aaron Kerr
-
Engagement Architect
Sun Microsystems


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



OT: Open Firmware oem-logo

2006-01-11 Thread Aaron Kerr
Slightly off topic, but

Has anyone tried added a personalised logo to the Open Firmware by
setting oem-logo? On other (OpenBoot) platforms this is a good way to
label the HW as owned by a particular person because oem-logo is not
cleared by a set-defaults.

I have tried and failed. Perhaps oem-logo is not fully supported by the
ibook?

Aaron


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



Re: Trouble getting bcm43xx driver to work

2006-01-10 Thread Aaron Kerr

Thanks. I will try waiting a few minutes after setting up the connection.

Your delays when running route or netstat could be a DNS lookup failure.
Try netstat -rn which will not try to translate IP addresses to names.


Ruben wrote:
 At Tue, 10 Jan 2006 21:51:36 +1100, Aaron wrote:
 
Still no joy. With the last two days snapshots I get a new error using 
iwconfig:
[EMAIL PROTECTED]:~$ iwconfig
lono wireless extensions.

eth3  IEEE 802.11b/g  ESSID:EucalyptusMarginata  Nickname:Broadcom 
4318
iwconfig: symbol lookup error: iwconfig: undefined symbol: iw_sawap_ntop
[EMAIL PROTECTED]:~$ 
 
 
 I tested both the devicescape branch and the softmac branch, both with
 WEP, two days ago. I didn't get any errors like this though.
 
 
[...]
# Check routing for local wireless network traffic is there
[EMAIL PROTECTED]:~# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt Iface
192.168.73.0*   255.255.255.0   U 0 0  0 eth3
 
 
 I did not get dhcp to work either.  I could see on my AP that it
 receives the dhcp request and it seems to hand out an IP address for
 60 seconds. I assume it then waits for a confirmation from my iBook
 before handing out a 'real' lease. But it doesn't seem to get that
 confirmation.
 
 I do get it working with a fixed IP address, like what you tried.  I
 did add the default route to the gateway, though.  And more
 importantly, I always have to wait some time before it works.  Right
 after configuring the interface and adding the route, all connections
 will fail. But after trying new connections for 2-3 minutes (trying to
 load some websites and pinging), it suddenly works.  From then on the
 connection works just fine.  I also noticed that right after adding
 the default route, the command route will print out the route for
 local connections and then pause a while before printing out the
 default route.  I have no idea why this is or what I can do about it,
 but at least I have a wireless connection now.
 
 
# I think it may be time to but a USB wireless device until bcm43xx
# is easier!
 
 
 There's definitely still some hassle with the bcm43xx driver... but
 for me it's good enough for now.
 
 Ruben
 
 Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
 
 


-- 

Aaron Kerr
-
Engagement Architect
Sun Microsystems


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



Re: Trouble getting bcm43xx driver to work

2006-01-08 Thread Aaron Kerr

I have been trying to compile more recent snapshots with a fresh 2.6.15
kernel. I have been side-tracked by a driver compile problem around an
declared value:
ERR
include/linux/skbuff.h:1209: error: ‘KM_SKB_DATA_SOFTIRQ’ undeclared
(first use in this function)
/ERR
KM_SKB_DATA_SOFTIRQ is in a linux header for powerpc but not ppc.

After adding a sprinkling of arch=powerpc (to my kernel builds) this
error has gone away although I am not sure exactly how I fixed it (too
many changes and not testing often enough).

I have successfully compiled the 20060107 snapshots of ieeesoftmac and
bcm43xx and will test after work tonight (about 6 hours from now) as I
do not have an open wireless network at my place of work.

Michael Tautschnig wrote:
No such logs on the AP. It just shows me attached dhcp clients and websites 
accessed. My iBook is not listed as an attached DHCP client.

 
 
 What about the current source revisions/snapshots? Do they work any better?
 Could you please post your current dmesg and the exact steps you performed
 (ifconfig, iwconfig ...)
 
 Thanks,
 Michael