Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-20 Thread Matthew Wilcox
On Tue, Dec 20, 2005 at 08:49:40AM +0100, Fabio Bizzi wrote:
 Thank you, but I'm a bit cunfused, what is the kernel image that best 
 suit my C200? (I've understand that 64Bit kernel is only useful if I 
 have more than 3GB of RAM, so 32Bit kernel with working front-led is 
 wonderfull for me! :) )

you want the '32' config.


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-19 Thread Helge Deller
Hi all,

On Thursday 08 December 2005 18:39, Stuart Brady wrote:
 On Thu, Dec 08, 2005 at 11:56:32AM +0100, Andy Walker wrote:
  Note that the A4071B/HCRX24 gets detected just fine. Its set in PDC as
  the console path, and also via the sti=8/8 parameter.
  
  Nothing crashes, but the console is unusable. Most of the output is
  black on black, though I get bits of text in magenta, yellow and green
  depending on the intended colour. Tux has a bright green background and
  is otherwise pretty psychedelic. Back to Vis-EG for the time being.
 
 Have you tried running X, and then switching back to the console?  That
 at least gets it working for me...  I wonder which devices are affected
 by this?  What about the A4071A?

Hi all,

I just committed a patch to stifb in kernel 2.6.15-rc6-pa1.
Could you please try this one? It works for me... :-)

Stuart's hint with starting X and then switching back again pointed to a bug in 
the palette handling of stifb, which I hopefully fixed now.

X11 still only shows me 3/4 of the screen, but this seems to be another 
problem

Regards,
Helge


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-19 Thread Fabio Bizzi

Helge Deller wrote:

I just committed a patch to stifb in kernel 2.6.15-rc6-pa1.
Could you please try this one? It works for me... :-)


I'm sorry, but I didn't undestrand if you have fixed my problem with 
HCRX-24? :)


If yes the kernel with your patch is aivailable on cvs.parisc-linux.org 
or I've to patch the source and compile it?


Thank you.

Ciao.

Fabio.


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-19 Thread Helge Deller
Hello Fabio,

On Monday 19 December 2005 19:08, Fabio Bizzi wrote:
 Helge Deller wrote:
  I just committed a patch to stifb in kernel 2.6.15-rc6-pa1.
  Could you please try this one? It works for me... :-)
 
 I'm sorry, but I didn't undestrand if you have fixed my problem with 
 HCRX-24? :)

Probably not.
Your main problem is that you see this message:

STI GSC/PCI core graphics driver Version 0.9a
 id 2bcb015a-9a02587, conforms to spec rev. 8.04
STI init_graph failed (ret -1, errno 258)
sti: probe of 10:8 failed with error 1

init_graph is a graphic card firmware function, which seems to not work on 
your system.
Some HP firmwares have support to patch the graphic card firmware before 
executing init_graph.
This is probably not the case for your c200.

So, please check if your machine runs the latest HP-C200 firmware.
For this please read the PARISC-Linux FAQ at 
http://www.parisc-linux.org/faq/index.html#PDCupdate (How can I check if the 
PDC (firmware) revision is the latest?).

Additionally I will try write some patch-code during the next weeks, which 
might get your card working even on the C200 and other machines. Stay tuned.
 
 If yes the kernel with your patch is aivailable on cvs.parisc-linux.org 
 or I've to patch the source and compile it?

2.6.15-rc6-pa1 is currently beeing built.
During the next hour I assume it should be finished and you may download it 
from here: http://cvs.parisc-linux.org/download/linux-2.6/
(I assume a B180 might be close to your c200 ?).

Helge


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-19 Thread Stuart Brady
On Mon, Dec 19, 2005 at 05:07:17PM +, Stuart Brady wrote:
 On Mon, Dec 19, 2005 at 04:39:43PM +0100, Helge Deller wrote:
  Hi all,
  
  I just committed a patch to stifb in kernel 2.6.15-rc6-pa1.
  Could you please try this one? It works for me... :-)
  
  Stuart's hint with starting X and then switching back again pointed to
  a bug in the palette handling of stifb, which I hopefully fixed now.
 
 Ooh!  I'll test this...  Unfortunately, I'm compiling on a 715/100 so
 bear with me for a moment. :)

Seems to work fine... except for a few black patches on Tux's feet.

I've tested using:

for n in 0 1; do
for m in 0 4 1 5 2 6 3 7; do
echo -e \033[${n};3${m}mTesting\033[m
done
done

Works as expected.
-- 
Stuart Brady


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-19 Thread Andy Walker

Helge Deller wrote:

Hello Fabio,

On Monday 19 December 2005 19:08, Fabio Bizzi wrote:

Helge Deller wrote:

I just committed a patch to stifb in kernel 2.6.15-rc6-pa1.
Could you please try this one? It works for me... :-)
I'm sorry, but I didn't undestrand if you have fixed my problem with 
HCRX-24? :)


Probably not.
Your main problem is that you see this message:

STI GSC/PCI core graphics driver Version 0.9a
 id 2bcb015a-9a02587, conforms to spec rev. 8.04
STI init_graph failed (ret -1, errno 258)
sti: probe of 10:8 failed with error 1

init_graph is a graphic card firmware function, which seems to not work on 
your system.
Some HP firmwares have support to patch the graphic card firmware before executing 
init_graph.
This is probably not the case for your c200.

So, please check if your machine runs the latest HP-C200 firmware.
For this please read the PARISC-Linux FAQ at 
http://www.parisc-linux.org/faq/index.html#PDCupdate (How can I check if the PDC 
(firmware) revision is the latest?).

Additionally I will try write some patch-code during the next weeks, which 
might get your card working even on the C200 and other machines. Stay tuned.
 
If yes the kernel with your patch is aivailable on cvs.parisc-linux.org 
or I've to patch the source and compile it?


2.6.15-rc6-pa1 is currently beeing built.
During the next hour I assume it should be finished and you may download it 
from here: http://cvs.parisc-linux.org/download/linux-2.6/
(I assume a B180 might be close to your c200 ?).

Helge


I'll give it a spin on the B132. The C180 is in storage right now,
though with the cold weather we're having I could justify running
it purely as a heater ;-) That thing really generates some heat
when its chock of 64MB SIMMs.

-Andy


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-19 Thread Matthew Wilcox
On Mon, Dec 19, 2005 at 09:04:48PM +0100, Helge Deller wrote:
 2.6.15-rc6-pa1 is currently beeing built.
 During the next hour I assume it should be finished and you may download it 
 from here: http://cvs.parisc-linux.org/download/linux-2.6/
 (I assume a B180 might be close to your c200 ?).

Unfortunately not.  The B180 build has CCIO disabled, so it's much less
useful than it might otherwise be.  I keep threatening to rename the
b180_defconfig to c110_defconfig and enable CCIO, HPPB, ZALON, LASI_82596,
HIL, MUX and HARMONY.

Then I think I should just delete it and people with Raven-class
machines should just use the 32 build and be happy about it.

So in the meantime we keep building a not-very-useful config.


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-19 Thread Helge Deller
On Monday 19 December 2005 21:30, Stuart Brady wrote:
  Ooh!  I'll test this...  Unfortunately, I'm compiling on a 715/100 so
  bear with me for a moment. :)

BTW, I'm doing all PA-Linux development on my Athlon desktop and cross-compile 
the parisc-linux kernel (e.g. with 
ftp://ftp.parisc-linux.org/x86-xcompilers/xc-20040917-hppa32.tgz).
Then the Athlon PC runs a tftp-server and services the built kernel to the 
parisc servers. The kernel boots, but then has it's root directory on the local 
hard disk.
It's way faster than native compilation, and as benefit I can boot all my 
parisc machines with this one single kernel (build once, boot everywhere ;-)).

Helge


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-19 Thread Fabio Bizzi

Helge Deller wrote:
I'm sorry, but I didn't undestrand if you have fixed my problem with 
HCRX-24? :)


Probably not.


Next Time! :)


So, please check if your machine runs the latest HP-C200 firmware.


Done, I've updated PDC Firmware to the latest release when I bought the 
C200, actually It runs 6.3



Additionally I will try write some patch-code during the next weeks, which 
might get your card working even on the C200 and other machines. Stay tuned.


You have all my thanks! :)

Thank You!

Ciao.

Fabio.


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-19 Thread Fabio Bizzi

Matthew Wilcox wrote:

(I assume a B180 might be close to your c200 ?).


Unfortunately not.  The B180 build has CCIO disabled, so it's much less
useful than it might otherwise be.  I keep threatening to rename the
b180_defconfig to c110_defconfig and enable CCIO, HPPB, ZALON, LASI_82596,
HIL, MUX and HARMONY.


Thank you, but I'm a bit cunfused, what is the kernel image that best 
suit my C200? (I've understand that 64Bit kernel is only useful if I 
have more than 3GB of RAM, so 32Bit kernel with working front-led is 
wonderfull for me! :) )


Thank You again.

Ciao.

Fabio.


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-11 Thread Fabio Bizzi

Andy Walker wrote:
[...]

Fabio: have you got the latest firmware on that C200? (apologies if you've
already mentioned that before.)


Yes, actually the firmware installed is the latest aivailable for the C200.

Thank you.

Ciao.
Fabio.


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-08 Thread Stuart Brady
On Thu, Dec 08, 2005 at 11:56:32AM +0100, Andy Walker wrote:
 Note that the A4071B/HCRX24 gets detected just fine. Its set in PDC as
 the console path, and also via the sti=8/8 parameter.
 
 Nothing crashes, but the console is unusable. Most of the output is
 black on black, though I get bits of text in magenta, yellow and green
 depending on the intended colour. Tux has a bright green background and
 is otherwise pretty psychedelic. Back to Vis-EG for the time being.

Have you tried running X, and then switching back to the console?  That
at least gets it working for me...  I wonder which devices are affected
by this?  What about the A4071A?

I've tried reading the stifb source but I'm quite baffled by it. :-(
-- 
Stuart Brady


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-07 Thread Fabio Bizzi

Grant Grundler wrote:

This has never worked and I don't know why.
See:
http://lists.debian.org/debian-hppa/2003/10/msg00073.html
http://lists.debian.org/debian-hppa/2005/02/msg00120.html


Thank You Grant, helpfully as usual. :)
Please, can you suggest to me any video card that is working on a C200 
with linux (24 bpp)?



STI firmware is failing to initialize itself, not the kernel
initializing the card.


I'm bit confused about it, what do you mean with the firmware is 
failing to initialize itself?


P.S. I've experienced some mail server problems, i'm sorry for eventual 
duouble posts!



Double would have been nice. ;)
Next time, check the mailing list archives to determine if a particular
email reached the list(s).



I'm really sorry for this annoyng issue, next time I'll do as you suggested.

I've asked some help to the list owner.

Thank you again!

Ciao.

Fabio.


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-07 Thread Grant Grundler
On Wed, Dec 07, 2005 at 07:03:52PM +0100, Fabio Bizzi wrote:
 STI firmware is failing to initialize itself, not the kernel
 initializing the card.
 
 I'm bit confused about it, what do you mean with the firmware is 
 failing to initialize itself?

STI is a seperate firmware from PDC and IODC. We have to invoke
the initializaton functions from the OS to get it started.
I'm not STI expert though. And we do have public documentation
for STI that you are encouraged to read :^)

http://ftp.parisc-linux.org/docs/arch/sti.pdf

And sorry, I don't know offhand if any 24bpp graphics cards will work.
Perhaps some are listed in the parisc graphics FAQ or
http://wiki.parisc-linux.org/.

 I'm really sorry for this annoyng issue, next time I'll do as you suggested.

It's not that bad...don't lose any sleep over it.

 Thank you again!

welcome.

ciao!
grant


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-07 Thread Grant Grundler
On Wed, Dec 07, 2005 at 01:29:13PM -0500, Kyle McMartin wrote:
 Or the STI rom is completely broken on this card and HP-UX uses software
 instead of the firmware routines.

HPUX *never* supported this card on C-class boxes.
See page 157 (pdf page #) of C200 owners manual:
NOTICE: The A4077A Color Graphics Card, A4078A Dual Color Graphics Card,
A4079B HCRX-8Z graphics adapter, and the A4071B HCRX-24 graphics
adapter with the A4072A Z Accelerator attached are not supported
in the Model C160/C180.

getting it working might be quite challenging. :)

grant


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-07 Thread Kyle McMartin
On Wed, Dec 07, 2005 at 11:01:30AM -0700, Grant Grundler wrote:
  STI GSC/PCI core graphics driver Version 0.9a
  id 2bcb015a-9a02587, conforms to spec rev. 8.04
  STI init_graph failed (ret -1, errno 258)
  sti: probe of 10:8 failed with error 1


Someone should probably turn on debugging. Edit
drivers/video/sticore.h and change the initial #if 0 to #if 1 and
rebuild and boot.

As far as I know, this is failing the initial call to STI init_graph,
I suspect either it doesn't like the default init values, or something
is not quite right when setting up the glob_cfg. As I understand it,
we set up the glob_cfg structures with nothing but the region pointers,
and then call init_graph to set up the rest of the context which is passed
between every further called STI function.

Or the STI rom is completely broken on this card and HP-UX uses software
instead of the firmware routines.

I think I have a HCRX here (A4070 with A4072), I can try and fix this
but not until at least January.

Cheers,
Kyle


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-07 Thread Kyle McMartin
On Wed, Dec 07, 2005 at 11:54:38AM -0700, Grant Grundler wrote:
 HPUX *never* supported this card on C-class boxes.
 See page 157 (pdf page #) of C200 owners manual:
 NOTICE: The A4077A Color Graphics Card, A4078A Dual Color Graphics Card,
 A4079B HCRX-8Z graphics adapter, and the A4071B HCRX-24 graphics
 adapter with the A4072A Z Accelerator attached are not supported
 in the Model C160/C180.
 
 getting it working might be quite challenging. :)

I think I've already taken the torch on enough challenging HP graphics
problems... mumble. I'll pass on this one.

:)


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



Re: [parisc-linux] HCRX-24 and missing consoles on my C200

2005-12-07 Thread Stuart Brady
On Wed, Dec 07, 2005 at 01:29:13PM -0500, Kyle McMartin wrote:
 I think I have a HCRX here (A4070 with A4072), I can try and fix this
 but not until at least January.

This looks like the same card that I have:

1. Coral SGC Graphics at 0xf400 [0] { 10, 0x0, 0x004, 0x00077 }
...
STI GSC/PCI core graphics driver Version 0.9a
id 2bcb015a-9a02587, conforms to spec rev. 8.04
graphics card name: HPA4071B_LZ

I tested this recently on my 715/100:

http://lists.parisc-linux.org/pipermail/parisc-linux/2005-November/027654.html

(Worked fine, except for a few small glitches.)
-- 
Stuart Brady


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