NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-hppa/52162 (712/60 hangs during sti(4) probe)



On 22/03/2021 18:30, Izumi Tsutsui wrote:
The following reply was made to PR port-hppa/52162; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: nick.hudson%gmx.co.uk@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: port-hppa/52162 (712/60 hangs during sti(4) probe)
Date: Tue, 23 Mar 2021 03:27:42 +0900

  > > Can you instrument the rom part
  > >
  > > https://nxr.netbsd.org/xref/src/sys/arch/hppa/dev/sti_sgc.c#112
  >
  > DPRINTF said
  > > sti_sgc_probe: hpa=f8000000, rom=f8000000
  > so sti_sgc_getrom() returned "rom = ca->ca_hpa".

  Finally I've found there is a dumb problem, i.e. the rom address
  taken from PAGE0->pd_resv2[1] (0xf0080000) just works:

  ---

Glad you found it.


  - OpenBSD/hppa doesn't check sti_sgc_opt[] values against
    ca->ca_type.iodc_revision for on-board (primary) sti(4)
  - sti_sgc_opt[] is different from OpenBSD (not sure why)
  - no info where STI_GOPT[1234567]_REV macros came from

https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/hppa/dev/sti_sgc.c.diff?r1=1.32&r2=1.33

?

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/hp700/dev/Attic/sti_sgc.c.diff?r1=1.8&r2=1.9&only_with_tag=MAIN

would suggest chuq / jkunz had a machine that matched 0x00

Add your rev?

Thanks,
Nick


Home | Main Index | Thread Index | Old Index