Re: HELP 2.4 booting on a serial console (resend)

2001-11-28 Thread Ben Collins
On Tue, Nov 27, 2001 at 08:22:27PM +0100, Guillaume L?croart wrote:
 OK,
 
 let's say I go for patching a good ol' stock 2.2.20 to get raid support
 onit. But I'm little confused where to find the right patch. Are there any
 for 2.2.20?

Just cross check arch/sparc64/kernel/ioctl32.c in both 2.4.x and 2.2.20.
Copy the compatibility functions needed for the raid ioctl's.


Ben

-- 
 .--===-=-==-=---==-=-.
/   Ben Collins--Debian GNU/Linux  \
`  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
 `---=--===-=-=-=-===-==---=--=---'



Re: HELP 2.4 booting on a serial console (resend)

2001-11-27 Thread Guillaume Lécroart
OK,

let's say I go for patching a good ol' stock 2.2.20 to get raid support
onit. But I'm little confused where to find the right patch. Are there any
for 2.2.20?

If so, where to find them?

Thx

G

Jonathan Amery [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 In article [EMAIL PROTECTED] you write:
 Jonathan Amery wrote:
   Right - I've just been talking to the linux-raid people about raid on
  sparc (if you search for my name on their archive then it'll come up),
  the conclusion being that:
 
   a) raid in the stock 2.2.X kernels won't work on sparc
   b) there are patches to make it (probably) work, but they haven't
  been heavily tested.
   c) patched 2.2.X raid systems won't be forwards compatible with 2.4.X
   d) 2.4.X raid stuff should work.
 
 That's of no or little use if you're on a sparc32 system.
 
  Well, yes :(.

  (I also have a sparc32 system).

  If you really need 2.2 with raid on sparc then the patches are available.

  Jonathan.


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





Re: HELP 2.4 booting on a serial console (resend)

2001-11-25 Thread Jonathan Amery
In article [EMAIL PROTECTED] you write:
Jonathan Amery wrote:
  Right - I've just been talking to the linux-raid people about raid on
 sparc (if you search for my name on their archive then it'll come up),
 the conclusion being that:
 
  a) raid in the stock 2.2.X kernels won't work on sparc
  b) there are patches to make it (probably) work, but they haven't
 been heavily tested.
  c) patched 2.2.X raid systems won't be forwards compatible with 2.4.X
  d) 2.4.X raid stuff should work.

That's of no or little use if you're on a sparc32 system.

 Well, yes :(.

 (I also have a sparc32 system).

 If you really need 2.2 with raid on sparc then the patches are available.

 Jonathan.



Re: HELP 2.4 booting on a serial console (resend)

2001-11-24 Thread Andrew Sharp
Jonathan Amery wrote:
 
 In article [EMAIL PROTECTED] you write:
 Ok,
 
 I go for 2.2.20, but still can't
 
 2) - get raid stuff work, at least with 2.2.20 kernel shipped with potato
 Debian distrib (when I'll come to have stock 2.2.20 run , I may try :)
 
  Right - I've just been talking to the linux-raid people about raid on
 sparc (if you search for my name on their archive then it'll come up),
 the conclusion being that:
 
  a) raid in the stock 2.2.X kernels won't work on sparc
  b) there are patches to make it (probably) work, but they haven't
 been heavily tested.
  c) patched 2.2.X raid systems won't be forwards compatible with 2.4.X
  d) 2.4.X raid stuff should work.

That's of no or little use if you're on a sparc32 system.

a




Re: HELP 2.4 booting on a serial console (resend)

2001-11-21 Thread Guillaume Lécroart
Ok,

I go for 2.2.20, but still can't

1) - compile the stock one ($CFLAGS set to -medlow when using
sparc64-linux-gcc : should be -mcmodel medlow, had to patch
arch/sparc64/(kernel/|)Makefile, and then plenty of erros like this : extra
tokens at end of #endif directive)

2) - get raid stuff work, at least with 2.2.20 kernel shipped with potato
Debian distrib (when I'll come to have stock 2.2.20 run , I may try :)

Any hint?

Thanks anyway

G.

- Original Message -

 Please try 2.2 kernels. (2.2.20)
 As far as i know, Enterprise 2 is a 32-bit machine (correct me if i am
wrong).
 And as 32-bit S/linux is highly unstable, one should avoid it.
 Many, many people are waiting for the 2.4.x kernels (ip-tables...) for
sun-32

 Kind regards, Hans




Re: HELP 2.4 booting on a serial console (resend)

2001-11-21 Thread Jonathan Amery
In article [EMAIL PROTECTED] you write:
Ok,

I go for 2.2.20, but still can't

2) - get raid stuff work, at least with 2.2.20 kernel shipped with potato
Debian distrib (when I'll come to have stock 2.2.20 run , I may try :)

 Right - I've just been talking to the linux-raid people about raid on
sparc (if you search for my name on their archive then it'll come up), 
the conclusion being that:

 a) raid in the stock 2.2.X kernels won't work on sparc
 b) there are patches to make it (probably) work, but they haven't
been heavily tested.
 c) patched 2.2.X raid systems won't be forwards compatible with 2.4.X
 d) 2.4.X raid stuff should work.

 Jonathan.



Re: HELP 2.4 booting on a serial console (resend)

2001-11-20 Thread Fabbione

Guillaume Lécroart wrote:


Hi,

I'm trying to get a 2.4 kernel booting on an Enterprise 2 with 2 CPUs.
The trick is that I'm using a serial console, and have no graphical card
inside the box.

When booting (either 2.4.10-smp from unstable Debian or 2.4.14 compiled on
the box itself after d/l from ftp.kernel.org), boot process starts ok :

Remapping the kernel... done.
Booting Linux...
Starting CPU 1... OK

Then stops with no output and sending break doesn't fall back to the {0} ok
 prompt. Appending something like serial or console=/dev/ttyS0 doesn't
help.

Any idea anyone?


I can suggest you something.. try booting a non-smp kernel and if 
possible a 2.2 series. I noticed some problem using the console port
to monitor the boot process on 2.4 also on i386 machine. I din't 
investigate the problem to much since it was more for fun.


Fabbione

--
Debian GNU/Linux Unstable Kernel 2.4.9
fabbione on irc.atdot.it #coredump #kchat | [EMAIL PROTECTED]



Re: HELP 2.4 booting on a serial console (resend)

2001-11-20 Thread Fabbione

Guillaume Lécroart wrote:


That's what I'm doing right now, but I would need specific features from 2.4
(802.1q vlans, softRaid...), and I can't figure out how to have them work
with the debian 2.2.20 krnl.

Thanks for the advice and the notice for ix86 anyway.

Any hint for troubleshooting ??

G



I think you should try to boot with 2.2 to see if it's a problem with the serial

driver in 2.4 (like I experienced). That was the meaning of booting with 
 an old kernel. Software raid is working on 2.2.20.. regarding other 
patches you can always figure out later. Dont you think is more 
important now to make it booting correctly???



Fabbione

--
Debian GNU/Linux Unstable Kernel 2.4.9
fabbione on irc.atdot.it #coredump #kchat | [EMAIL PROTECTED]



Re: HELP 2.4 booting on a serial console (resend)

2001-11-20 Thread Guillaume Lécroart
Let's just make it clearer.

2.2.20-smp works fine on the box (serial boot OK, no unaligned panic
either) , but I still can't do any softRaid Stuff.

Regarding raid, this 2.2.20 comes from stable Deabian release, and using the
raidtools from the SAME debian release won't work. That's why I considered
using 2.4.x., and probably raidtools2.

I also considered 2.4.x because of vlan support, but that's not a big issue.

Now the question :

I can work for myself trying to patch 2.2.20 to get raid stuff work (but I
think It's gonna be hard because it's already partially patched by debian
maintainer)

or

I could work for anybody willing to boot 2.4.10 via a serial console
(Anyhow, I can't beleive that nobody's using 2.4.10 on some Netra boxes. How
come they do not have this problem???), and enjoy helping the community :).
But for this, I'd need some troubleshooting hints. That's what I asked for
in my previous mail...

Thxs  Rgds

G.
- Original Message -
From: Fabbione [EMAIL PROTECTED]
To: Guillaume Lécroart [EMAIL PROTECTED]
Cc: debian-sparc@lists.debian.org; sparclinux@vger.kernel.org
Sent: Tuesday, November 20, 2001 3:00 PM
Subject: Re: HELP 2.4 booting on a serial console (resend)


 Guillaume Lécroart wrote:

  That's what I'm doing right now, but I would need specific features from
2.4
  (802.1q vlans, softRaid...), and I can't figure out how to have them
work
  with the debian 2.2.20 krnl.
 
  Thanks for the advice and the notice for ix86 anyway.
 
  Any hint for troubleshooting ??
 
  G
 

 I think you should try to boot with 2.2 to see if it's a problem with the
serial

 driver in 2.4 (like I experienced). That was the meaning of booting with
   an old kernel. Software raid is working on 2.2.20.. regarding other
 patches you can always figure out later. Dont you think is more
 important now to make it booting correctly???


 Fabbione

 --
 Debian GNU/Linux Unstable Kernel 2.4.9
 fabbione on irc.atdot.it #coredump #kchat | [EMAIL PROTECTED]