All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] B2k and CONFIG_PDC_CONSOLE progress
@ 2004-01-28 18:05 Joel Soete
  2004-01-30 19:55 ` Grant Grundler
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Soete @ 2004-01-28 18:05 UTC (permalink / raw)
  To: parisc-linux

Hi pa,

Well, i made some small progress: i reach to figure out that PAGE0 status
changes between pdc_console_init() and pdc_io_getc():
@@ -1,4 +1,5 @@
- palx2000 kernel: pdc_console_init_force() would set a CL_DUP.
+ palx2000 kernel: mem_kbd != mem_cons.
+ palx2000 kernel: pdc_iodc_getc() would get from a CL_DUP.
  palx2000 kernel: PAGE0->mem_cons address: 100003a0.
  palx2000 kernel: PAGE0->mem_cons size: 48.
  palx2000 kernel: PAGE0->mem_boot address: 100003d0.
@@ -10,9 +11,9 @@
  palx2000 kernel: PAGE0->mem_kbd.dp.flags: 0.
  palx2000 kernel: PAGE0->mem_cons.dp.bc[0]: 255.
  palx2000 kernel: PAGE0->mem_cons.dp.bc[1]: 255.
- palx2000 kernel: PAGE0->mem_cons.dp.bc[2]: 10.
- palx2000 kernel: PAGE0->mem_cons.dp.bc[4]: 14.
- palx2000 kernel: PAGE0->mem_cons.dp.bc[5]: 1.
+ palx2000 kernel: PAGE0->mem_cons.dp.bc[2]: 255.
+ palx2000 kernel: PAGE0->mem_cons.dp.bc[3]: 10.
+ palx2000 kernel: PAGE0->mem_cons.dp.bc[4]: 1.
  palx2000 kernel: PAGE0->mem_boot.dp.bc[0]: 255.
  palx2000 kernel: PAGE0->mem_boot.dp.bc[1]: 255.
  palx2000 kernel: PAGE0->mem_boot.dp.bc[2]: 255.
@@ -21,26 +22,27 @@
  palx2000 kernel: PAGE0->mem_kbd.dp.bc[0]: 255.
  palx2000 kernel: PAGE0->mem_kbd.dp.bc[1]: 255.
  palx2000 kernel: PAGE0->mem_kbd.dp.bc[2]: 255.
- palx2000 kernel: PAGE0->mem_kbd.dp.bc[3]: 255.
- palx2000 kernel: PAGE0->mem_kbd.dp.bc[4]: 255.
- palx2000 kernel: PAGE0->mem_kbd.dp.bc[5]: 255.
- palx2000 kernel: PAGE0->mem_cons.dp.mod: 1.
+ palx2000 kernel: PAGE0->mem_kbd.dp.bc[3]: 10.
+ palx2000 kernel: PAGE0->mem_kbd.dp.bc[5]: 14.
+ palx2000 kernel: PAGE0->mem_cons.dp.mod: 0.
  palx2000 kernel: PAGE0->mem_boot.dp.mod: 0.
- palx2000 kernel: PAGE0->mem_kbd.dp.mod: 255.
- palx2000 kernel: PAGE0->mem_cons.dp.layers[0]: 00000283.
+ palx2000 kernel: PAGE0->mem_kbd.dp.mod: 2.
+ palx2000 kernel: PAGE0->mem_cons.dp.layers[0]: 00000101.
  palx2000 kernel: PAGE0->mem_boot.dp.layers[0]: 00000005.
- palx2000 kernel: PAGE0->mem_cons.hpa: fee003f8.
+ palx2000 kernel: PAGE0->mem_cons.hpa: fb000000.
  palx2000 kernel: PAGE0->mem_boot.hpa: f4002000.
- palx2000 kernel: PAGE0->mem_kbd.hpa: 00000000.
+ palx2000 kernel: PAGE0->mem_kbd.hpa: f4004000.
  palx2000 kernel: PAGE0->mem_cons.spa: 00000000.
  palx2000 kernel: PAGE0->mem_boot.spa: 00000000.
  palx2000 kernel: PAGE0->mem_kbd.spa: 00000000.
  palx2000 kernel: PAGE0->mem_cons.iodc_io: 0000e000.
  palx2000 kernel: PAGE0->mem_boot.iodc_io: 00019000.
- palx2000 kernel: PAGE0->mem_kbd.iodc_io: 00000000.
+ palx2000 kernel: PAGE0->mem_kbd.iodc_io: 00013000.
  palx2000 kernel: PAGE0->mem_cons.pad: 0.
  palx2000 kernel: PAGE0->mem_boot.pad: 0.
  palx2000 kernel: PAGE0->mem_kbd.pad: 0.
- palx2000 kernel: PAGE0->mem_cons.cl_class: 7.
+ palx2000 kernel: PAGE0->mem_cons.cl_class: 9.
  palx2000 kernel: PAGE0->mem_boot.cl_class: 1.

Is somebody have a small idea when this change could occurs?

Thanks,
   Joel

-------------------------------------------------------------------------
Tiscali ADSL: 12 mois à 29,50 €/mois! L'Internet rapide, c'est pour tout
le monde.
http://reg.tiscali.be/default.asp?lg=fr

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

* Re: [parisc-linux] B2k and CONFIG_PDC_CONSOLE progress
  2004-01-28 18:05 [parisc-linux] B2k and CONFIG_PDC_CONSOLE progress Joel Soete
@ 2004-01-30 19:55 ` Grant Grundler
  2004-01-31 11:54   ` Joel Soete
  0 siblings, 1 reply; 3+ messages in thread
From: Grant Grundler @ 2004-01-30 19:55 UTC (permalink / raw)
  To: Joel Soete; +Cc: parisc-linux

On Wed, Jan 28, 2004 at 07:05:14PM +0100, Joel Soete wrote:
> Well, i made some small progress: i reach to figure out that PAGE0 status
> changes between pdc_console_init() and pdc_io_getc():
....
> Is somebody have a small idea when this change could occurs?

PDC messes with page0 as well.
You have the read the PDC ERS for each PDC call to determine
what "side effects" it has. Consider Page Zero "shared mem"
for the guest OS (HPUX or Linux) and PDC.

grant

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

* Re: [parisc-linux] B2k and CONFIG_PDC_CONSOLE progress
  2004-01-30 19:55 ` Grant Grundler
@ 2004-01-31 11:54   ` Joel Soete
  0 siblings, 0 replies; 3+ messages in thread
From: Joel Soete @ 2004-01-31 11:54 UTC (permalink / raw)
  To: Grant Grundler; +Cc: parisc-linux

Hi Grant,

Grant Grundler wrote:
> On Wed, Jan 28, 2004 at 07:05:14PM +0100, Joel Soete wrote:
> 
>>Well, i made some small progress: i reach to figure out that PAGE0 status
>>changes between pdc_console_init() and pdc_io_getc():
> 
> ....
> 
>>Is somebody have a small idea when this change could occurs?
> 
> 
> PDC messes with page0 as well.
> You have the read the PDC ERS for each PDC call to determine
> what "side effects" it has. Consider Page Zero "shared mem"
> for the guest OS (HPUX or Linux) and PDC.
> 
Ha ok, I still have to learn more :)

For the moment I reach to avoid any crash of 2.4 with pdc_console either I boot from graphics(0) or serial_1.
My patch works well (i can read from pdc kdb) for serial_1 but for graphics(0), I get well a login prompt from pdc
but unfortunately I don't yet reach to read from usb kbd.
But does it make sense to have pdc_console when we have an sti console?
(imho it have well sense for a serial and lan console. Please advise.)

Thanks again,
	Joel

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

end of thread, other threads:[~2004-01-31 11:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-28 18:05 [parisc-linux] B2k and CONFIG_PDC_CONSOLE progress Joel Soete
2004-01-30 19:55 ` Grant Grundler
2004-01-31 11:54   ` Joel Soete

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.