All of lore.kernel.org
 help / color / mirror / Atom feed
* HP-UX for C8000
@ 2017-09-30 15:25 Tom Bogendoerfer
  2017-09-30 17:34 ` John David Anglin
  0 siblings, 1 reply; 23+ messages in thread
From: Tom Bogendoerfer @ 2017-09-30 15:25 UTC (permalink / raw)
  To: linux-parisc

Hi,

while makeing progress on getting better graphic support for C8000
machines, I'm at a point I need some help...

Current status:

- PCI Radeon card is passing the DMA tests (using test hack)
- fixed three bugs in parisc-agp.c (wrong byte order for iommu entries,
  missing coherence information in iommu entries and missing fdc for
  ioemmu entries)
- AGP card are still not working, looks like they don't even start a DMA
  transfer at all

I'm stuck at this point as there is no documentation for quicksilver
agp available. The zx1-ioa document only covers mercury agp bridges
(used and working in ZX2000/ZX6000), but quicksilver is different
and I couldn't find the missing bit(s), yet. I now have two ideas
to make progess. I'm going to measure, if a REQ signal is issued on
the AGP bus and also look if the bridge responds with GNT. The second
idea involves HP-UX. I want to look what HP-UX does with quicksilver.

Does anyone have a C8000 with a running HP-UX on it and can help
getting a register dump of quicksilver ? Otherwise what HP-UX should
I try to get for a C8000 ?

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-09-30 15:25 HP-UX for C8000 Tom Bogendoerfer
@ 2017-09-30 17:34 ` John David Anglin
  2017-10-01 11:46   ` Tom Bogendoerfer
  0 siblings, 1 reply; 23+ messages in thread
From: John David Anglin @ 2017-09-30 17:34 UTC (permalink / raw)
  To: Tom Bogendoerfer; +Cc: linux-parisc

Hi Thomas,

On 2017-09-30, at 11:25 AM, Tom Bogendoerfer wrote:

> Does anyone have a C8000 with a running HP-UX on it and can help
> getting a register dump of quicksilver ?

I have a c8000 with hpux although I haven't booted it in some time.  Let me know specifically
what is needed and I'll give it a try.

Dave
--
John David Anglin	dave.anglin@bell.net




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-09-30 17:34 ` John David Anglin
@ 2017-10-01 11:46   ` Tom Bogendoerfer
  2017-10-01 13:20     ` John David Anglin
                       ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Tom Bogendoerfer @ 2017-10-01 11:46 UTC (permalink / raw)
  To: John David Anglin; +Cc: linux-parisc

On Sat, Sep 30, 2017 at 01:34:35PM -0400, John David Anglin wrote:
> Hi Thomas,
> 
> On 2017-09-30, at 11:25 AM, Tom Bogendoerfer wrote:
> 
> > Does anyone have a C8000 with a running HP-UX on it and can help
> > getting a register dump of quicksilver ?
> 
> I have a c8000 with hpux although I haven't booted it in some time.
> Let me know specifically what is needed and I'll give it a try.

does it have a working graphics card ? 

Does anybody know HP-UX ? Could I mmap the register of quicksilver
and dump it from user space ?

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-01 11:46   ` Tom Bogendoerfer
@ 2017-10-01 13:20     ` John David Anglin
  2017-10-01 14:11       ` John David Anglin
  2017-10-01 14:47     ` John David Anglin
  2017-10-01 15:02     ` John David Anglin
  2 siblings, 1 reply; 23+ messages in thread
From: John David Anglin @ 2017-10-01 13:20 UTC (permalink / raw)
  To: Tom Bogendoerfer; +Cc: linux-parisc

On 2017-10-01, at 7:46 AM, Tom Bogendoerfer wrote:

> On Sat, Sep 30, 2017 at 01:34:35PM -0400, John David Anglin wrote:
>> Hi Thomas,
>> 
>> On 2017-09-30, at 11:25 AM, Tom Bogendoerfer wrote:
>> 
>>> Does anyone have a C8000 with a running HP-UX on it and can help
>>> getting a register dump of quicksilver ?
>> 
>> I have a c8000 with hpux although I haven't booted it in some time.
>> Let me know specifically what is needed and I'll give it a try.
> 
> does it have a working graphics card ? 

Yes (card used to work but I haven't used it in some time).

> 
> Does anybody know HP-UX ? Could I mmap the register of quicksilver
> and dump it from user space ?

Manpage for mmap says:

      The mmap() function is supported for regular files.  Support for any
      other type of file is unspecified.

If there is a device, possibly one can use dd.

Dave
--
John David Anglin	dave.anglin@bell.net




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-01 13:20     ` John David Anglin
@ 2017-10-01 14:11       ` John David Anglin
  0 siblings, 0 replies; 23+ messages in thread
From: John David Anglin @ 2017-10-01 14:11 UTC (permalink / raw)
  To: John David Anglin; +Cc: Tom Bogendoerfer, linux-parisc

On 2017-10-01, at 9:20 AM, John David Anglin wrote:

>> 
>> Does anybody know HP-UX ? Could I mmap the register of quicksilver
>> and dump it from user space ?
> 
> Manpage for mmap says:
> 
>      The mmap() function is supported for regular files.  Support for any
>      other type of file is unspecified.
> 
> If there is a device, possibly one can use dd.

There are also /dev/mem and /dev/kmem:

 mem(7)                                                               mem(7)

 NAME
      mem - main memory

 DESCRIPTION
      mem is a special file that is an image of the main memory of the
      computer.  It may be used, for example, to examine and patch the
      system.

      Byte addresses in mem are interpreted as physical memory addresses.
      References to non-existent locations cause errors to be returned.

      File kmem is the same as mem except that kernel virtual memory rather
      than physical memory is accessed.  Please refer to kmem(7) for
      information about ioctl operations that are supported on /dev/kmem.
...

 NAME
      kmem - perform I/O on kernel memory based on symbol name.

Dave
--
John David Anglin	dave.anglin@bell.net




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-01 11:46   ` Tom Bogendoerfer
  2017-10-01 13:20     ` John David Anglin
@ 2017-10-01 14:47     ` John David Anglin
  2017-10-01 15:02     ` John David Anglin
  2 siblings, 0 replies; 23+ messages in thread
From: John David Anglin @ 2017-10-01 14:47 UTC (permalink / raw)
  To: Tom Bogendoerfer; +Cc: linux-parisc

On 2017-10-01, at 7:46 AM, Tom Bogendoerfer wrote:

>> I have a c8000 with hpux although I haven't booted it in some time.
>> Let me know specifically what is needed and I'll give it a try.
> 
> does it have a working graphics card ? 

We have in linux boot:

Quicksilver version TR1.0 (0x10) found at 0xfffffffffed28000                    
LBA: lmmio_space [0xffffffffc0000000-0xffffffffdfffffff] - new                  
LBA 0:4: PCI host bridge to bus 0000:80                                         
pci_bus 0000:80: root bus resource [io  0x30000-0x3ffff] (bus address [0x0000-0)
pci_bus 0000:80: root bus resource [mem 0xffffffffc0000000-0xffffffffdfffffff] )
pci_bus 0000:80: root bus resource [bus 80-87]                                  
powersw: Soft power switch at 0xfffffff0f042e278 enabled.                       
pci 0000:80:00.0: vgaarb: setting as boot VGA device                            
pci 0000:80:00.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=noe
pci 0000:80:00.0: vgaarb: bridge control possible                               
vgaarb: loaded                                                                  

Dave
--
John David Anglin	dave.anglin@bell.net




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-01 11:46   ` Tom Bogendoerfer
  2017-10-01 13:20     ` John David Anglin
  2017-10-01 14:47     ` John David Anglin
@ 2017-10-01 15:02     ` John David Anglin
  2017-10-06 14:39       ` Tom Bogendoerfer
  2 siblings, 1 reply; 23+ messages in thread
From: John David Anglin @ 2017-10-01 15:02 UTC (permalink / raw)
  To: Tom Bogendoerfer; +Cc: linux-parisc

On 2017-10-01, at 7:46 AM, Tom Bogendoerfer wrote:

> does it have a working graphics card ? 

It's a FireGL T2:
80:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV350 GL [FireGL T2] (rev 80)

--
John David Anglin	dave.anglin@bell.net




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-01 15:02     ` John David Anglin
@ 2017-10-06 14:39       ` Tom Bogendoerfer
  2017-10-08 16:22         ` John David Anglin
  0 siblings, 1 reply; 23+ messages in thread
From: Tom Bogendoerfer @ 2017-10-06 14:39 UTC (permalink / raw)
  To: John David Anglin; +Cc: linux-parisc

On Sun, Oct 01, 2017 at 11:02:01AM -0400, John David Anglin wrote:
> On 2017-10-01, at 7:46 AM, Tom Bogendoerfer wrote:
> 
> > does it have a working graphics card ? 
> 
> It's a FireGL T2:
> 80:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV350 GL [FireGL T2] (rev 80)

perfect.

Took me a little bit longer to play with a method to dump quicksilver
register. Since I don't have a working HP-UX 11 box, I looked how
to do it with Linux from userspace.

dd if=/dev/mem doesn't work, because it will only give access to memory.

So I recycled my small dump program, which I only used on Linux/MIPS
so far. The nice thing is, it also works for Linux/PARISC:-)

Now the challenge is to see, if it compiles and works on HP-UX the same
way...

A correct dump should start with

3c10b412 4601b002 10000006 20c00000 0c000040 00000000 00000000 00000000

Thomas.


#include <sys/types.h>
#define __USE_LARGEFILE64
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>

#define QUICKSILVER_ADDR 0xfffffffffed28000

int main(int argc, char **argv)
{
	int fd;
	int i;
	unsigned int *agp;

	fd = open("/dev/mem", O_RDWR|O_SYNC);
	agp = mmap64(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd,
		    QUICKSILVER_ADDR);
	if (agp == (void *)-1) {
		perror ("mmap");
		exit (1);
	}

	for (i = 0; i < 0x800 / 4; i++) {
		printf ("%08x ", agp[i]);
		if ((i & 7) == 7) {
			printf ("\n");
		}
	}
	close (fd);
}



-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-06 14:39       ` Tom Bogendoerfer
@ 2017-10-08 16:22         ` John David Anglin
  2017-10-08 16:41           ` John David Anglin
  0 siblings, 1 reply; 23+ messages in thread
From: John David Anglin @ 2017-10-08 16:22 UTC (permalink / raw)
  To: Tom Bogendoerfer; +Cc: linux-parisc

On 2017-10-06, at 10:39 AM, Tom Bogendoerfer wrote:

> Now the challenge is to see, if it compiles and works on HP-UX the same
> way...

So far, I'm not having much success.  The system isn't setup with any additional tools
and only HP's 32 and 64-bit non-ansi compilers are available.  So, there are issues with
64-bit constants.  Never set up networking as well.

Using 64-bit "cc +DA2.0W", I get:

mmap: Invalid argument

If I change QUICKSILVER_ADDR to 0, I get:

mmap: No such device

So, I think mmap can't map "/dev/mem".

I tried dd with skip but this gives a bad address.  Maybe lseek + read would work in C code to copy page.

Dave
--
John David Anglin	dave.anglin@bell.net




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-08 16:22         ` John David Anglin
@ 2017-10-08 16:41           ` John David Anglin
  2017-10-09 15:34             ` Helge Deller
  0 siblings, 1 reply; 23+ messages in thread
From: John David Anglin @ 2017-10-08 16:41 UTC (permalink / raw)
  To: John David Anglin; +Cc: Tom Bogendoerfer, linux-parisc

On 2017-10-08, at 12:22 PM, John David Anglin wrote:

> mmap: Invalid argument

Same occurs when gcc is used to compile program.

Dave
--
John David Anglin	dave.anglin@bell.net




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-08 16:41           ` John David Anglin
@ 2017-10-09 15:34             ` Helge Deller
  2017-10-09 16:05               ` Tom Bogendoerfer
  2017-10-09 16:30               ` John David Anglin
  0 siblings, 2 replies; 23+ messages in thread
From: Helge Deller @ 2017-10-09 15:34 UTC (permalink / raw)
  To: John David Anglin; +Cc: Tom Bogendoerfer, linux-parisc

On 08.10.2017 18:41, John David Anglin wrote:
> On 2017-10-08, at 12:22 PM, John David Anglin wrote:
>> mmap: Invalid argument
> Same occurs when gcc is used to compile program.

Maybe PDC does not reset (all of?) those registers when it reboots?
If so, maybe it's possible to boot into Linux afterwards and get the registers from there?

Or, even better, add some code to palo and boot into palo to print out
the wanted registers?

Helge

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-09 15:34             ` Helge Deller
@ 2017-10-09 16:05               ` Tom Bogendoerfer
  2017-10-09 17:40                 ` John David Anglin
  2017-10-09 16:30               ` John David Anglin
  1 sibling, 1 reply; 23+ messages in thread
From: Tom Bogendoerfer @ 2017-10-09 16:05 UTC (permalink / raw)
  To: Helge Deller; +Cc: John David Anglin, linux-parisc

On Mon, Oct 09, 2017 at 05:34:41PM +0200, Helge Deller wrote:
> Or, even better, add some code to palo and boot into palo to print out
> the wanted registers?

it might be easier to use adb or kernel debugger. As I don't have
any HP-UX box handy right now, I'm not able to give instructions.

If HP-UX supports load able kernel modules, that would be another
option.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-09 15:34             ` Helge Deller
  2017-10-09 16:05               ` Tom Bogendoerfer
@ 2017-10-09 16:30               ` John David Anglin
  2017-10-09 17:41                 ` Tom Bogendoerfer
  1 sibling, 1 reply; 23+ messages in thread
From: John David Anglin @ 2017-10-09 16:30 UTC (permalink / raw)
  To: Helge Deller; +Cc: Tom Bogendoerfer, linux-parisc

[-- Attachment #1: Type: text/plain, Size: 330 bytes --]

On 2017-10-09, at 11:34 AM, Helge Deller wrote:

> Maybe PDC does not reset (all of?) those registers when it reboots?
> If so, maybe it's possible to boot into Linux afterwards and get the registers from there?

Attached is dump from linux after rebooting from hpux.

Dave
--
John David Anglin	dave.anglin@bell.net



[-- Attachment #2: qs.txt --]
[-- Type: text/plain, Size: 4672 bytes --]

3c10b412 4601b002 10000006 20c00000 0c000040 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 a0000000 00000000 00000000 
54000000 00000000 00000000 00000000 00000000 00000000 80ff0000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
03000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
02003500 fb6f002f 00000000 00000000 00000000 000cff17 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
12000100 00000000 48000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
010000c0 00000000 000000c0 00000000 01000000 400f0000 00000000 c00f0000 
01000080 00000000 00000080 00000000 01000000 000f0000 00000000 800f0000 
00000000 00000000 00000000 00000000 00000080 00000000 00000080 00000000 
00000000 00000000 00000000 00000000 00000000 ff0f0000 862124b8 00000000 
0100e0fe 00000000 0000f0ff ff0f0000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00200000 00000000 
f0e1c10b 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
1c000000 00000000 00000000 00000000 50554555 40000000 00000000 00000000 
00c40000 17000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 6a710000 00000080 38000000 06000000 
01001d07 00000000 40080000 20040000 00000000 00000000 00000000 00000000 
04000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
10000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-09 16:05               ` Tom Bogendoerfer
@ 2017-10-09 17:40                 ` John David Anglin
  0 siblings, 0 replies; 23+ messages in thread
From: John David Anglin @ 2017-10-09 17:40 UTC (permalink / raw)
  To: Tom Bogendoerfer; +Cc: Helge Deller, linux-parisc

On 2017-10-09, at 12:05 PM, Tom Bogendoerfer wrote:

> On Mon, Oct 09, 2017 at 05:34:41PM +0200, Helge Deller wrote:
>> Or, even better, add some code to palo and boot into palo to print out
>> the wanted registers?
> 
> it might be easier to use adb or kernel debugger.

I tried adb but I didn't have any luck.  It's not clear how 64-bit addresses are handled
and I suspect it can't access registers in /dev/mem since it wasn't possible to access
them with pread.

Dave
--
John David Anglin	dave.anglin@bell.net




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-09 16:30               ` John David Anglin
@ 2017-10-09 17:41                 ` Tom Bogendoerfer
  2017-10-09 22:22                   ` John David Anglin
  2017-10-10  0:56                   ` John David Anglin
  0 siblings, 2 replies; 23+ messages in thread
From: Tom Bogendoerfer @ 2017-10-09 17:41 UTC (permalink / raw)
  To: John David Anglin; +Cc: Helge Deller, linux-parisc

On Mon, Oct 09, 2017 at 12:30:36PM -0400, John David Anglin wrote:
> On 2017-10-09, at 11:34 AM, Helge Deller wrote:
> 
> > Maybe PDC does not reset (all of?) those registers when it reboots?
> > If so, maybe it's possible to boot into Linux afterwards and get the registers from there?
> 
> Attached is dump from linux after rebooting from hpux.

thanks, but since firmware will sets all chipset stuff from scratch, there
is no new information in that dump.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-09 17:41                 ` Tom Bogendoerfer
@ 2017-10-09 22:22                   ` John David Anglin
  2017-10-10  0:56                   ` John David Anglin
  1 sibling, 0 replies; 23+ messages in thread
From: John David Anglin @ 2017-10-09 22:22 UTC (permalink / raw)
  To: Tom Bogendoerfer; +Cc: Helge Deller, linux-parisc

On 2017-10-09, at 1:41 PM, Tom Bogendoerfer wrote:

> On Mon, Oct 09, 2017 at 12:30:36PM -0400, John David Anglin wrote:
>> On 2017-10-09, at 11:34 AM, Helge Deller wrote:
>> 
>>> Maybe PDC does not reset (all of?) those registers when it reboots?
>>> If so, maybe it's possible to boot into Linux afterwards and get the registers from there?
>> 
>> Attached is dump from linux after rebooting from hpux.
> 
> thanks, but since firmware will sets all chipset stuff from scratch, there
> is no new information in that dump.

After searching the internet, I don't think there's a way to read these registers from userspace on hpux.
It looks like writing a kernel module is the only way...

Dave
--
John David Anglin	dave.anglin@bell.net




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-09 17:41                 ` Tom Bogendoerfer
  2017-10-09 22:22                   ` John David Anglin
@ 2017-10-10  0:56                   ` John David Anglin
  2017-10-10 18:46                     ` Tom Bogendoerfer
  1 sibling, 1 reply; 23+ messages in thread
From: John David Anglin @ 2017-10-10  0:56 UTC (permalink / raw)
  To: Tom Bogendoerfer; +Cc: Helge Deller, linux-parisc

On 2017-10-09, at 1:41 PM, Tom Bogendoerfer wrote:

> thanks, but since firmware will sets all chipset stuff from scratch, there
> is no new information in that dump.

Does this help:
https://opensource.apple.com/source/X11server/X11server-85.3/Xquartz/xorg-server-1.4.2-apple56/hw/xfree86/os-support/bus/zx1PCI.c.auto.html

Dave
--
John David Anglin	dave.anglin@bell.net




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-10  0:56                   ` John David Anglin
@ 2017-10-10 18:46                     ` Tom Bogendoerfer
  2017-10-10 22:06                       ` John David Anglin
  0 siblings, 1 reply; 23+ messages in thread
From: Tom Bogendoerfer @ 2017-10-10 18:46 UTC (permalink / raw)
  To: John David Anglin; +Cc: Helge Deller, linux-parisc

On Mon, Oct 09, 2017 at 08:56:40PM -0400, John David Anglin wrote:
> On 2017-10-09, at 1:41 PM, Tom Bogendoerfer wrote:
> 
> > thanks, but since firmware will sets all chipset stuff from scratch, there
> > is no new information in that dump.
> 
> Does this help:
> https://opensource.apple.com/source/X11server/X11server-85.3/Xquartz/xorg-server-1.4.2-apple56/hw/xfree86/os-support/bus/zx1PCI.c.auto.html

unfortunatly no. The part about setting up dma mappings and other init
code isn't in there. Nevertheless it's an interesting file, I didn't
know before.

Does anybody have HP-UX ISOs ? I have enough spare disks and C8000 to
run one with HP-UX. The problem is I don't have a mediakit and can't
find one on ebay...

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-10 18:46                     ` Tom Bogendoerfer
@ 2017-10-10 22:06                       ` John David Anglin
  2017-11-02  1:57                         ` Brendan Horan
  0 siblings, 1 reply; 23+ messages in thread
From: John David Anglin @ 2017-10-10 22:06 UTC (permalink / raw)
  To: Tom Bogendoerfer; +Cc: Helge Deller, linux-parisc

On 2017-10-10, at 2:46 PM, Tom Bogendoerfer wrote:

> Does anybody have HP-UX ISOs ? I have enough spare disks and C8000 to
> run one with HP-UX. The problem is I don't have a mediakit and can't
> find one on ebay...

I believe I have ISOs but I'll have to dig.  I'll look next weekend.

Dave
--
John David Anglin	dave.anglin@bell.net




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-10-10 22:06                       ` John David Anglin
@ 2017-11-02  1:57                         ` Brendan Horan
  2017-11-02 14:25                           ` John David Anglin
  0 siblings, 1 reply; 23+ messages in thread
From: Brendan Horan @ 2017-11-02  1:57 UTC (permalink / raw)
  To: John David Anglin; +Cc: Tom Bogendoerfer, Helge Deller, linux-parisc

----- On 11 Oct, 2017, at 6:06 AM, John David Anglin dave.anglin@bell.net wrote:

> 
> I believe I have ISOs but I'll have to dig.  I'll look next weekend.

If you did not manage to find some media, I have the following I can send :
HPUX 11.23 Core FOE. Dec 2005

Let me know :)


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-11-02  1:57                         ` Brendan Horan
@ 2017-11-02 14:25                           ` John David Anglin
  2017-11-02 16:38                             ` Tom Bogendoerfer
  0 siblings, 1 reply; 23+ messages in thread
From: John David Anglin @ 2017-11-02 14:25 UTC (permalink / raw)
  To: Brendan Horan; +Cc: Tom Bogendoerfer, Helge Deller, linux-parisc

On 2017-11-01 9:57 PM, Brendan Horan wrote:
> If you did not manage to find some media, I have the following I can send :
> HPUX 11.23 Core FOE. Dec 2005
I believe Tom has 11.11 installed and is trying to access the 
Quicksilver adapter setup.  Does your
media have kwdb on it?

Dave

-- 
John David Anglin  dave.anglin@bell.net


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-11-02 14:25                           ` John David Anglin
@ 2017-11-02 16:38                             ` Tom Bogendoerfer
  2017-11-02 17:45                               ` John David Anglin
  0 siblings, 1 reply; 23+ messages in thread
From: Tom Bogendoerfer @ 2017-11-02 16:38 UTC (permalink / raw)
  To: John David Anglin; +Cc: Brendan Horan, Helge Deller, linux-parisc

On Thu, Nov 02, 2017 at 10:25:23AM -0400, John David Anglin wrote:
> On 2017-11-01 9:57 PM, Brendan Horan wrote:
> >If you did not manage to find some media, I have the following I can send :
> >HPUX 11.23 Core FOE. Dec 2005
> I believe Tom has 11.11 installed and is trying to access the Quicksilver
> adapter setup.  Does your
> media have kwdb on it?

in fact I've made some progress today. I now have a loadable module,
which dumps whatever I want, when it's loaded. And the first thing
I've detected is that I'm missing a package named Graphics Technical
Computing Environment and that a radeon 7000 card will not use
DMA over AGP (which means I have to install a firegl in my test machine).

I'm using 11.11 since 11.31 doesn't install and rumours are that 11.23
will also not install.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: HP-UX for C8000
  2017-11-02 16:38                             ` Tom Bogendoerfer
@ 2017-11-02 17:45                               ` John David Anglin
  0 siblings, 0 replies; 23+ messages in thread
From: John David Anglin @ 2017-11-02 17:45 UTC (permalink / raw)
  To: Tom Bogendoerfer; +Cc: Brendan Horan, Helge Deller, linux-parisc

On 2017-11-02 12:38 PM, Tom Bogendoerfer wrote:
> in fact I've made some progress today. I now have a loadable module,
> which dumps whatever I want, when it's loaded. And the first thing
> I've detected is that I'm missing a package named Graphics Technical
> Computing Environment and that a radeon 7000 card will not use
> DMA over AGP (which means I have to install a firegl in my test machine).
That's excellent news.  It looks as if one can download it if one 
creates an HPE account:
https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=B6268AA

Dave

-- 
John David Anglin  dave.anglin@bell.net


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2017-11-02 17:45 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-30 15:25 HP-UX for C8000 Tom Bogendoerfer
2017-09-30 17:34 ` John David Anglin
2017-10-01 11:46   ` Tom Bogendoerfer
2017-10-01 13:20     ` John David Anglin
2017-10-01 14:11       ` John David Anglin
2017-10-01 14:47     ` John David Anglin
2017-10-01 15:02     ` John David Anglin
2017-10-06 14:39       ` Tom Bogendoerfer
2017-10-08 16:22         ` John David Anglin
2017-10-08 16:41           ` John David Anglin
2017-10-09 15:34             ` Helge Deller
2017-10-09 16:05               ` Tom Bogendoerfer
2017-10-09 17:40                 ` John David Anglin
2017-10-09 16:30               ` John David Anglin
2017-10-09 17:41                 ` Tom Bogendoerfer
2017-10-09 22:22                   ` John David Anglin
2017-10-10  0:56                   ` John David Anglin
2017-10-10 18:46                     ` Tom Bogendoerfer
2017-10-10 22:06                       ` John David Anglin
2017-11-02  1:57                         ` Brendan Horan
2017-11-02 14:25                           ` John David Anglin
2017-11-02 16:38                             ` Tom Bogendoerfer
2017-11-02 17:45                               ` John David Anglin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.