Re: HP 9000-382 based instrument panics on cnopen()
Chris Hanson <[email protected]> Mon, 27 Sep 2021 11:23:33 -0700
| Newsgroups | gmane.os.netbsd.ports.hp300 |
|---|---|
| Message-ID | <[email protected]> |
On Sep 27, 2021, at 7:51 AM, Izumi Tsutsui <[email protected]> = wrote: >=20 >> I took a short video of the panic scroll: https://imgur.com/ik8GabY = <https://imgur.com/ik8GabY> >=20 > It might help to post full dmesg (even on video). >=20 > Probably the framebuffer is recognized cnattach (early console = detection) > = https://nxr.netbsd.org/xref/src/sys/arch/hp300/dev/topcat.c?r=3D1.4.64.1#5= 37 > but not during the device autoconfiguration. > = https://nxr.netbsd.org/xref/src/sys/arch/hp300/dev/topcat.c?r=3D1.4.64.1#1= 96 That sounds very plausible. It also sounds like what would cause the = =E2=80=9Ccompressed=E2=80=9D and highlighted text output, since it=E2=80=99= s very similar to what I saw with my 332 where it was assuming the video = was 1024x400 rather than 512x400. I imagine I may need to instrument the = topcat driver to figure out more about this EL display and its = controller. I enabled the code in hp300/stand/common/cons.c that prints the console = select code, and it says it=E2=80=99s using =E2=80=9Cinternal grf=E2=80=9D= which means the console search failed and cons_scode is -1, which I = think causes standalone to use the ROM to put and get characters. >> 1. Is there a kernel boot switch or (build-time config option) that >> I can use to point console to the serial port to see if I can get = further? >=20 > You need HIL keyboard to enable serial, > https://wiki.netbsd.org/ports/hp300faq/#serial400 > or build kernel with "options CONSCODE=3D9" enabled. > = https://nxr.netbsd.org/xref/src/sys/arch/hp300/conf/GENERIC?a=3Dtrue&r=3D1= .203#151 Excellent, thank you! This system has a built-in HIL keyboard and it is = detected so hopefully I can do exactly this and maybe get this system = brought up enough to use for capturing more information. (And backing up = the internal HD...) >> 2. Is there a way to have the hp300 port use the simple text = interface >> that most graphics cards provide for its console, if I can't (or I = don't >> want to) use a "graphical" console? >=20 > AFAIK no hp300 framebuffer has "text" mode such as VGA. >=20 > Trying NetBSD/5.x (i.e. pre-wscons'fied) might help to get explicit = dmesg > with built-in ROM fonts with old ite(4) and grf(4) console. Great suggestion, thanks! If I can=E2=80=99t get serial working, I=E2=80=99= ll try this so I can both get a dmesg and back up the preinstalled = software. -- Chris