Re: Debian Sparc installer with raid 1 support

2004-05-18 Thread James Whatever
I have been using some of the latest installers and notice that there 
is now an option within the partitioning menu to create software raid, 
when I select this option I am told that the kernel does not support 
it.


I'm using Linux software raid1 on a SparcStation 20 with 2 4.5GB SCA 
disks.  It seems to run fine, except that the machine has to resync the 
root raid with every single boot, and also that SILO bails when booting 
from the scsi disks.


My SILO config is as follows:

partition=1
root=/dev/md0
timeout=100

image=1/vmlinuz
label=linux
read-only

image=1/vmlinuz.old
label=linux.old
read-only

image=1/vmlinuz.rescue
label=rescue
read-only

When I boot it gets as far as SI and then says Program Terminated.  
I'm able to boot the machine by using SILO from the debian CD in a 
somewhat ingenious workaround:


boot cdrom /iommu/sbus/[EMAIL PROTECTED],40/[EMAIL PROTECTED],80/[EMAIL PROTECTED],0;1/vmlinuz 
root=/dev/md0 ro


I'm also having big problems with kernels that can be booted, I tried 
using the debs from http://osinvestor.com/sparc/ but they wont boot at 
all.


Thanks in advance.

---
James Whatever
My niece called me Uncle Robot on the weekend!
Giant Robot Ltd, http://www.giantrobot.co.nz/



Linux 2.6 on HyperSparc

2004-05-13 Thread James Whatever

Hi there.

A few months ago I posted on this list about getting Linux 2.6 to run 
on a Dual HyperSparc SS20.  At that time it was non-functional.  Does 
anyone know of any sites I can look at for more information?


---
James Whatever
My niece called me Uncle Robot on the weekend!
Giant Robot Ltd, http://www.giantrobot.co.nz/



Re: Losing my mind, RAID1 on Sparc completely broken?

2004-03-08 Thread James Whatever

The problem comes in when I make both disks a member of the same array.
(in this case, hda2 and hdc2 are members of md1).  As soon as I sync 
the
array, I write to it, and it pretty much instantly corrupts.  
Unmounting

md1 and running a fsck on it shows a large number of illegal blocks.
md5sums of various binaries on the system are wrong, apt and dpkg's
status files get so horribly corrupted that they segfault or refuse to
run.  All within minutes of even seconds of writing to md device.


This is opposite to the problem I have:

I have an SS20 with dual hypersparc 125MHz CPU's and dual 4.1GB SCA 
drives on an espfast controller inside the machine.


After getting to a point where I am happy with the Debian installation 
on a single disk I copied the partition data across to the second disk 
and started using the failed-disk method to copy data onto the raid.  I 
found that when copying quite a lot of data the kernel will oops, and I 
had to restart the process several times.  I did eventually find I was 
able to copy the ~1.5GB of install across without oopsing if I added 
the -u argument to cp (checks if the source file is newer than the 
target file) - it seems to me that the kernel was oopsing when writing 
constantly to the raid array, but was okay as long as it was read from 
quite a lot.


Anyway, I have succeeded in getting it all up and running with both 
disks in the array and using auto-detect to create the raidset at boot 
time and mounting it as root.  It seems to be working okay now, and I 
haven't noticed any data corruption on my ext3 partition.


I am using a home built Linux 2.4.25 kernel.

One thing is that SILO now only gets as far as S and then I get 
Program terminated - I'm not sure what's causing this, but now I have 
to do boot cdrom /iommu/.;1/vmlinuz root=/dev/md0 ro to start my 
machine.  Anyone have any ideas about what's up with SILO?


I have the latest SILO from sarge installed.

Cheers.

---
James Whatever
My niece called me Uncle Robot on the weekend!
Giant Robot Ltd, http://www.giantrobot.co.nz/



Re: Newbie Sparcstation 20 question

2004-03-07 Thread James Whatever

try appending video=sbus or video=promcon

On 07 Mar 2004, at 20:58, James Nelson wrote:


Hartwig Atrops wrote:


Hi.

On Friday 05 March 2004 21:36, James Nelson wrote:


I have a sparcstation 20 I am trying to install 3.0 stable onto, and
have a question.  The system boots fine from the CD's, but it hangs 
with

a no console found - try passing an init= option error.  I have a
GX-series SBus video card, and the only thing I could find after 
quite a
bit of Googling around is to use a serial terminal for installation. 
 Is
there any way to pass options to the install kernel via SILO so that 
I
can use the Sun keyboard  graphics adapter for the system console, 
or

should I go buy a Sun null modem cable?



I installed Woody (= 3.0 stable) on some SS20 with SBUS and with 
onboard graphics,  never had to use a serial console ?!?


I suggest to check your openboot environment.

I don't have access to my SS20's until monday, if you still need 
help, feel free to contact me.


Regards,

  Hartwig


I checked OpenBoot, and even tried the 'reset-defaults' command (after 
munging the config pretty well) to no avail.  I'm baffled - I can't 
seem to figure out what I'm overlooking...  but it's got to be 
something simple...



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





---
James Whatever
My niece called me Uncle Robot on the weekend!
Giant Robot Ltd, http://www.giantrobot.co.nz/



Re: auto poweroff - keyboard dependency?

2004-03-07 Thread James Whatever

But be warned that if you tell an E150 to power-off you will have great
weeping and wailing and gnashing of teeth getting it to restart.
Rather drop to OBP and pull the power.


Seems to make much more sense to let it drop to the OBP and then type 
power-off if that's really what's needed.


---
James Whatever
My niece called me Uncle Robot on the weekend!
Giant Robot Ltd, http://www.giantrobot.co.nz/



Re: 2.6.2 on SS20

2004-03-06 Thread James Whatever

I'm just about to compile up 2.6 for the first time on my SS20, which
has a dual 125MHz ross hypersparc card in it.  I've done heaps of 2.6
upgrades on x86 and powerpc, but I thought I had better check for
gotyas that other people might have run into - like the fact that
CONFIG_PREEMPT=y makes a powerpc machine randomly segfault processes 
:)


2.6.x SMP won't yet run on sparc32. Keith Wesolowski is working on it
(as time permits), so wait, do tests or just try to help woing work.
Please also join the sparclinux@vger.kernel.org mailing list.


Hi folks.

WRT Linux 2.6.x on SS20-MP, I get compile errors when attempting to 
build an SMP HyperSPARC kernel, just FYI.  It just won't work(tm) at 
this stage.


I'm going to try and delve into the code, but I don't like my changes 
at this stage.


Other things that I have come across:

kernel-image-2.4.24-sparc32-smp package cannot be used because SILO 
complains that the uncompressed image is too large (Bug #234404).


sarge libc6 upgrade doesn't depend on 2.4 kernel, but requires it, 
leaving libc6* unconfigured until one is installed. (can't find a bug 
for this, but looks like the libc6 maintainers have more than enough to 
do without me hassling them)


I keep getting Cannot file /etc/silo.conf (Unknown ext2 error) when 
booting.  It seems odd because it can read 1/vmlinuz without any 
problems.


Also, I got loads of kernel oopses on 2.4.25 when appending 
video=sbus:font=SUN12x22 on the kernel command line.


Cheers all.

---
James Whatever
My niece called me Uncle Robot on the weekend!
Giant Robot Ltd, http://www.giantrobot.co.nz/



Re: 2.6.2 on SS20

2004-03-06 Thread James Whatever

One more thing...
I'm using an Integrix S20V frame buffer on this machine, and it seems 
to be detected as a cgthree, when I am sure I have read that it's a 
cgsix compatible card anyone have any information?


---
James Whatever
My niece called me Uncle Robot on the weekend!
Giant Robot Ltd, http://www.giantrobot.co.nz/