Re: x-www-browser for ultra5 ultra60

2009-03-16 Thread gavin duley

On 10 Mar 2009, at 22:21, Jurij Smakov wrote:


On Tue, Mar 10, 2009 at 04:58:18AM +, Howard Eisenberger wrote:

Thanks for responding. I just tried Epiphany (the browser, not the
game) briefly and it also crashed on a problem page (ebay.ca), but
I will investigate further.


The crashes like this are usually due to unaligned memory accesses,
which will cause a SEGFAULT/SIGBUS on sparc, but is tolerated on
i386/amd64 platforms. I would not be surprised if that's a
manifestation of the bug reported previously [0,1], which, as far as I
can tell, is still not fixed upstream.

I found that the most useful thing to do is to generate a core file by
starting the program in the shell where the core file size is set to
unlimited using 'ulimit -c unlimited', then trigger the crash. Given
the core file and program executable, gdb should be able to tell where
the crash occurs (even better if you have the binary unstripped or
have the debugging symbols for it - for example, there is an
iceweasel-dbg package in Debian, providing debugging symbols for
iceweasel). It is usually fairly easy to tell from the backtrace why
the unaligned access happened, usually things like raw memory
accesses, for example trying to read a 4-byte word from a location
which is not aligned on a 4-byte boundary. Even if it's hard to tell
immediately what's wrong, at least it will make a useful bug report.


I think the relevant bug(s) for iceweasel have already been reported.  
It might be worthwhile submitting a bug report for epiphany.


I am not a programmer, so won't be able to make much of the core file  
myself, but I'll have a go at doing this whenever I get a chance.


gavin,


[0] http://bugs.debian.org/362170
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=161826


--
The thing about words is that meanings can twist just like a snake,  
and if you want to find snakes look for them behind words that have  
changed their meaning.

-- Terry Pratchett, Lords and Ladies

Gavin Duley
 
WWW: http://gpd.sdf-eu.org/


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



Re: [FIX]: ultra45 boot failing...

2009-03-16 Thread Julien Cristau
On Wed, 2009-02-25 at 13:41 +0100, Julien Cristau wrote:
> On Mon, 2009-02-09 at 12:49 +0100, Julien Cristau wrote:
> > On Mon, 2009-02-09 at 01:21 -0800, David Miller wrote:
> > > No, I would have said that if time is tight at least we can use
> > > "fbdev" as the Xorg driver for PCI devices on sparc until we have a
> > > better fix for Xorg.
> > 
> > We can probably do that for r1.
> 
> OK so here is a tentative patch to fall back to the fbdev driver on
> sparc.  I'd appreciate if people could test it against lenny's
> xorg-server, and/or suggest better ways to do this.

I uploaded this to stable-proposed-updates, sparc binaries should appear
after the next mirror push.  There's still time to tweak things before
the point release, so testing reports from sparc X users to
488...@bugs.debian.org are welcome (whether things work or not).  Make
sure you have xserver-xorg-video-fbdev installed.

Cheers,
Julien


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



Re: UltraSparc IIIi kernel and virtualisation

2009-03-16 Thread Sander Marechal
Josip Rodin wrote:
> Well, vserver isn't really a representative solution for virtualization
> in general, so it's probably a bad sample for any sort of inference :)

True, but not much more is available in sparc64.

-- 
Sander



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



Re: UltraSparc IIIi kernel and virtualisation

2009-03-16 Thread Josip Rodin
On Mon, Mar 16, 2009 at 05:31:42PM +0100, Sander Marechal wrote:
> I find it odd though. Why would you want to run virtual machines on your
> small uniprocessor system but not on your big multi-CPU system?

Well, vserver isn't really a representative solution for virtualization
in general, so it's probably a bad sample for any sort of inference :)

-- 
 2. That which causes joy or happiness.


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



Re: UltraSparc IIIi kernel and virtualisation

2009-03-16 Thread Sander Marechal
Josip Rodin wrote:
> You'd have to check with the debian-kernel mailing list, but odds are that
> simply nobody ever asked? :) Check the BTS too.

I'll join debian-kernel and find out. BTS didn't yield any results.

I find it odd though. Why would you want to run virtual machines on your
small uniprocessor system but not on your big multi-CPU system? I also
find it odd that there are SMP kernels at all now that smp_alternatives
is used.

Anyway, thanks for your suggestions.

-- 
Sander Marechal



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



Re: UltraSparc IIIi kernel and virtualisation

2009-03-16 Thread Martin
On Mon, 2009-03-16 at 16:42 +0100, Josip Rodin wrote:
> On Mon, Mar 16, 2009 at 03:43:41PM +0100, Sander Marechal wrote:
> > Question: If openvz is possible under sparc64, why doesn't Debian
> > support this? It's supported on other archs.
> > 
> > Even odder, why does Debian supply SMP and non-SMP kernels for sparc64
> > but only a non-SMP kernel for sparc64-vserver and no
> > vserver-sparc64-smp? As I understand it now, using the vserver kernel
> > supplied for sparc64 would mean that 3 of my 4 CPUs would do nothing
> > since it's not an SMP kernel.
> 
> You'd have to check with the debian-kernel mailing list, but odds are that
> simply nobody ever asked? :) Check the BTS too.
> 
It used to exist, I used to use it, it used to work - migrated to a new
machine about 2-3 years ago and haven't needed it since.  The vserver
dev teams were very helpful in getting things working and do seem to
care about portability.

Cheers,
 - Martin



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



Re: UltraSparc IIIi kernel and virtualisation

2009-03-16 Thread Josip Rodin
On Mon, Mar 16, 2009 at 03:43:41PM +0100, Sander Marechal wrote:
> Question: If openvz is possible under sparc64, why doesn't Debian
> support this? It's supported on other archs.
> 
> Even odder, why does Debian supply SMP and non-SMP kernels for sparc64
> but only a non-SMP kernel for sparc64-vserver and no
> vserver-sparc64-smp? As I understand it now, using the vserver kernel
> supplied for sparc64 would mean that 3 of my 4 CPUs would do nothing
> since it's not an SMP kernel.

You'd have to check with the debian-kernel mailing list, but odds are that
simply nobody ever asked? :) Check the BTS too.

-- 
 2. That which causes joy or happiness.


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



Re: UltraSparc IIIi kernel and virtualisation

2009-03-16 Thread Sander Marechal
Josip Rodin wrote:
> Well, that cpuinfo up there lists four processors 1.6GHz each (convert
> the clock tick number from hexadecimal :) so you want SMP, and you actually
> already have it in that kernel, otherwise it wouldn't have printed the
> above information.

Thanks. I am indeed using the sparc64-smp kernel at the moment.

> As for virtualization, you could probably use OpenVZ, though I haven't
> personally tried it on sparc, googling says people have used it.

Thanks. I have been able to find some Etch kernels compiled with openvz
and smp support. No idea if those will work under Lenny though.

Question: If openvz is possible under sparc64, why doesn't Debian
support this? It's supported on other archs.

Even odder, why does Debian supply SMP and non-SMP kernels for sparc64
but only a non-SMP kernel for sparc64-vserver and no
vserver-sparc64-smp? As I understand it now, using the vserver kernel
supplied for sparc64 would mean that 3 of my 4 CPUs would do nothing
since it's not an SMP kernel.

-- 
Sander Marechal


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



Re: UltraSparc IIIi kernel and virtualisation

2009-03-16 Thread Josip Rodin
On Mon, Mar 16, 2009 at 12:14:05PM +0100, Sander Marechal wrote:
> Sun has donated a server to my FOSS project (www.officeshots.org). It
> has an UltraSparc IIIi processor and 8 GB of RAM. Below is the output of
> /proc/cpuinfo:
> 
> cpu   : TI UltraSparc IIIi (Jalapeno)
> fpu   : UltraSparc IIIi integrated FPU
> prom  : OBP 4.22.19 2006/09/06 23:41
> type  : sun4u
> ncpus probed  : 4
> ncpus active  : 4
> D$ parity tl1 : 0
> I$ parity tl1 : 0
> Cpu0ClkTck: 5ee3fe00
> Cpu1ClkTck: 5ee3fe00
> Cpu2ClkTck: 5ee3fe00
> Cpu3ClkTck: 5ee3fe00
> MMU Type  : Cheetah+
> State:
> CPU0: online
> CPU1: online
> CPU2: online
> CPU3: online
> 
> I have two questions about how to best use this machine. First off, do I
> need an SMP kernel for this machine? cpuinfo only lists a single
> processor, but it does mention "CPU0-3 online". Wikipedia says that this
> processor is single-threaded.

Well, that cpuinfo up there lists four processors 1.6GHz each (convert
the clock tick number from hexadecimal :) so you want SMP, and you actually
already have it in that kernel, otherwise it wouldn't have printed the
above information.

As for virtualization, you could probably use OpenVZ, though I haven't
personally tried it on sparc, googling says people have used it.

-- 
 2. That which causes joy or happiness.


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



UltraSparc IIIi kernel and virtualisation

2009-03-16 Thread Sander Marechal
Hi all,

Sun has donated a server to my FOSS project (www.officeshots.org). It
has an UltraSparc IIIi processor and 8 GB of RAM. Below is the output of
/proc/cpuinfo:

cpu : TI UltraSparc IIIi (Jalapeno)
fpu : UltraSparc IIIi integrated FPU
prom: OBP 4.22.19 2006/09/06 23:41
type: sun4u
ncpus probed: 4
ncpus active: 4
D$ parity tl1   : 0
I$ parity tl1   : 0
Cpu0ClkTck  : 5ee3fe00
Cpu1ClkTck  : 5ee3fe00
Cpu2ClkTck  : 5ee3fe00
Cpu3ClkTck  : 5ee3fe00
MMU Type: Cheetah+
State:
CPU0:   online
CPU1:   online
CPU2:   online
CPU3:   online

I have two questions about how to best use this machine. First off, do I
need an SMP kernel for this machine? cpuinfo only lists a single
processor, but it does mention "CPU0-3 online". Wikipedia says that this
processor is single-threaded.

My second question is what technology I can best use to run virtual
machines on this server. Many options are not available (like Xen or
VirtualBox) because they are for x86 only. Others like QEMU and
Linux-vserver are available but I don't know how well they would
perform. I've heared that QEMU is quite slow unless you use the KQEMU
kernel module and it looks like that's not available in sparc64.

The second question is also related to the first. At the moment this
machine runs Debian Lenny sparc64-smp. Aptitude has both SMP and non-SMP
kernels available but all the vserver enabled kernels are non-SMP.
Aptitude show sparc64, sparc64-smp and sparc64-vserver kernels but no
sparc64-smp-vserver kernel.

Any advice is greatly appreciated.

-- 
Sander Marechal
Lone Wolves Foundation
http://www.jejik.com


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