9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Strange VGA thing
@ 2014-08-01 23:48 kokamoto
  2014-08-02  0:00 ` Nick Owens
  2014-08-02  0:01 ` sl
  0 siblings, 2 replies; 9+ messages in thread
From: kokamoto @ 2014-08-01 23:48 UTC (permalink / raw)
  To: 9fans

A68N-5000 motherboard which I'm using it for vesa mode of1400x1050x16 size.
However, there is /dev/realmodemem, but no /dev/realmode.

My plan9.ini file has monitor=vesa line.
Strange!
Why I can have working screen with 1400x1050x16?

aux/vga -i says:

term% aux/vga -i
mkvbe: '/dev/realmode' file does not exist
aux/vga: controller not in /lib/vgadb, not vesa
0xC0000 55 AA 75 E9 0D 02 00 00 00 00 00 00 00 00 00 00  U.u.............
0xC0010 00 00 00 00 00 00 00 00 C0 01 00 00 00 00 49 42  ..............IB
0xC0020 4D 6E 00 00 00 00 00 00 00 00 00 00 00 00 00 04  Mn..............
0xC0030 20 37 36 31 32 39 35 35 32 30 00 00 00 00 00 00   761295520......
0xC0040 05 02 00 00 00 00 00 00 9C 01 00 00 00 00 00 00  ................
0xC0050 30 37 2F 31 37 2F 31 33 2C 31 37 3A 35 32 3A 30  07/17/13,17:52:0
0xC0060 35 00 00 00 E9 02 03 00 E9 11 03 00 00 00 80 00  5...............
0xC0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0xC0080 31 31 33 2D 43 35 33 35 30 30 2D 31 30 35 00 4B  113-C53500-105.K
0xC0090 41 4C 49 4E 44 49 00 50 43 49 5F 45 58 50 52 45  ALINDI.PCI_EXPRE
0xC00A0 53 53 00 44 44 52 33 00 0D 0A 41 4D 44 20 46 75  SS.DDR3...AMD Fu
0xC00B0 73 69 6F 6E 20 4B 61 6C 69 6E 64 69 20 47 65 6E  sion Kalindi Gen
0xC00C0 65 72 69 63 20 56 42 49 4F 53 20 20 20 20 20 20  eric VBIOS
0xC00D0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0xC00E0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0xC00F0 20 20 20 20 20 20 0D 0A 00 0D 0A 20 0D 0A 00 28        ..... ...(
dbdumpmode
type=vga, size=640x480x1
frequency=25175000
x=640 (0x280), y=480 (0x1E0), z=1 (0x1)
ht=800 (0x320), shb=664 (0x298), ehb=760 (0x2F8)
shs=664 (0x298), ehs=760 (0x2F8)
vt=525 (0x20D), vrs=491 (0x1EB), vre=493 (0x1ED)
hsync=0, vsync=0, interlace=0
vga flag             Finit|Fsnarf
vga misc             E3
vga feature          00
vga sequencer        03 01 0F 00 06
vga crt              5F 4F 52 9F 53 1F20B 3E - 00 40 00 00 00 00 00 00
                    1EB 2D1DF 28 001EB1EC C3 -7FF
vga graphics         00 00 00 00 00 00 05 0F - FF
vga attribute        00 01 02 03 04 05 06 07 - 08 09 0A 0B 0C 0D 0E 0F
                     01 FF 0F 00 00
vga virtual         640 480
vga panning         off
vga apz                     0
vga linear                  0

Kenji

PS.
9front-owner@ttr.inri.net is working?




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

* Re: [9fans] Strange VGA thing
  2014-08-01 23:48 [9fans] Strange VGA thing kokamoto
@ 2014-08-02  0:00 ` Nick Owens
  2014-08-02  3:02   ` kokamoto
  2014-08-02  0:01 ` sl
  1 sibling, 1 reply; 9+ messages in thread
From: Nick Owens @ 2014-08-02  0:00 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

On Sat, Aug 02, 2014 at 08:48:34AM +0900, kokamoto@hera.eonet.ne.jp wrote:
> A68N-5000 motherboard which I'm using it for vesa mode of1400x1050x16 size.
> However, there is /dev/realmodemem, but no /dev/realmode.

realmodemem file is provided by the '#P' kernel device.
realmode file is provided by aux/realemu.

in /rc/bin/termrc, aux/realemu is run if $monitor is vesa. strange that
it does not.

maybe realemu had an error. you can try to run it by hand on the
console. there are debugging options you can provide to it.

> PS. 
> 9front-owner@ttr.inri.net is working?

http://9front.org/lists.html


[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [9fans] Strange VGA thing
  2014-08-01 23:48 [9fans] Strange VGA thing kokamoto
  2014-08-02  0:00 ` Nick Owens
@ 2014-08-02  0:01 ` sl
  2014-08-02  1:15   ` erik quanstrom
  1 sibling, 1 reply; 9+ messages in thread
From: sl @ 2014-08-02  0:01 UTC (permalink / raw)
  To: 9fans

> A68N-5000 motherboard which I'm using it for vesa mode of1400x1050x16 size.
> However, there is /dev/realmodemem, but no /dev/realmode.
>
> My plan9.ini file has monitor=vesa line.
> Strange!
> Why I can have working screen with 1400x1050x16?

The /rc/bin/termrc script does this:

		@{
			rfork n
			if(~ $monitor vesa)
				aux/realemu
			aux/vga -l $vgasize
		}

so realemu is most likely not running in your namespace.


> 9front-owner@ttr.inri.net is working?

The correct way to subscribe to the 9front mailing list is to
send a message with a body that just says "subscribe" (no quotes)
to 9front-owner@9front.org. After subscribing, list messages are
sent to and received from 9front@9front.org.

sl



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

* Re: [9fans] Strange VGA thing
  2014-08-02  0:01 ` sl
@ 2014-08-02  1:15   ` erik quanstrom
  0 siblings, 0 replies; 9+ messages in thread
From: erik quanstrom @ 2014-08-02  1:15 UTC (permalink / raw)
  To: 9fans

> The /rc/bin/termrc script does this:
>
> 		@{
> 			rfork n
> 			if(~ $monitor vesa)
> 				aux/realemu
> 			aux/vga -l $vgasize
> 		}
>
> so realemu is most likely not running in your namespace.

9atom does similar.  this has caused a few questions, so i feel
that it's really not worth the trouble to save a mb or two.  gotchas
are expensive.  i'll probablly change this when i get a chance.

- erik



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

* Re: [9fans] Strange VGA thing
  2014-08-02  0:00 ` Nick Owens
@ 2014-08-02  3:02   ` kokamoto
  2014-08-02  3:10     ` sl
  2014-08-03 23:48     ` kokamoto
  0 siblings, 2 replies; 9+ messages in thread
From: kokamoto @ 2014-08-02  3:02 UTC (permalink / raw)
  To: 9fans

> On Sat, Aug 02, 2014 at 08:48:34AM +0900, kokamoto@hera.eonet.ne.jp wrote:
> realmodemem file is provided by the '#P' kernel device.
> realmode file is provided by aux/realemu.

9/pc/devvesa.c has both of them.

My interesting poit is why I have 1400x1050x16 display
which should be vesa mide.

Kenji




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

* Re: [9fans] Strange VGA thing
  2014-08-02  3:02   ` kokamoto
@ 2014-08-02  3:10     ` sl
  2014-08-03 23:48     ` kokamoto
  1 sibling, 0 replies; 9+ messages in thread
From: sl @ 2014-08-02  3:10 UTC (permalink / raw)
  To: 9fans

> > realmodemem file is provided by the '#P' kernel device.
> > realmode file is provided by aux/realemu.
>
> 9/pc/devvesa.c has both of them.
>
> My interesting poit is why I have 1400x1050x16 display
> which should be vesa mide.

The workings of realemu are explained in the realemu(8) man page. Basically,
the realemu program provides the /dev/realmode synthetic file.

sl



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

* Re: [9fans] Strange VGA thing
  2014-08-02  3:02   ` kokamoto
  2014-08-02  3:10     ` sl
@ 2014-08-03 23:48     ` kokamoto
  2014-08-04  2:31       ` kokamoto
  1 sibling, 1 reply; 9+ messages in thread
From: kokamoto @ 2014-08-03 23:48 UTC (permalink / raw)
  To: 9fans

>> On Sat, Aug 02, 2014 at 08:48:34AM +0900, kokamoto@hera.eonet.ne.jp wrote:
>> realmodemem file is provided by the '#P' kernel device.
>> realmode file is provided by aux/realemu.
>
> 9/pc/devvesa.c has both of them.
Sorry, it was 9/pc/vgavesa.c.

Anyway, now I have file/auth/cpu server on this A68N-5000 machine
with 1680x1050x32 resolution.   During this process, the problem
disappeared.   Now I have /dev/realmode.   I don't know why.

Now I'm writing this main using a pxe booted terminal with the above
server.

Kenji




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

* Re: [9fans] Strange VGA thing
  2014-08-03 23:48     ` kokamoto
@ 2014-08-04  2:31       ` kokamoto
  2014-08-06  4:29         ` kokamoto
  0 siblings, 1 reply; 9+ messages in thread
From: kokamoto @ 2014-08-04  2:31 UTC (permalink / raw)
  To: 9fans

>>> On Sat, Aug 02, 2014 at 08:48:34AM +0900, kokamoto@hera.eonet.ne.jp wrote:

> Now I'm writing this main using a pxe booted terminal with the above
> server.
 Maybe it is not true.  I'm checking this now.

By the way, this mail is written from a win7 machine drawtermed to
the A68N-5000 9front file/auth/cpu server!

Kenji




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

* Re: [9fans] Strange VGA thing
  2014-08-04  2:31       ` kokamoto
@ 2014-08-06  4:29         ` kokamoto
  0 siblings, 0 replies; 9+ messages in thread
From: kokamoto @ 2014-08-06  4:29 UTC (permalink / raw)
  To: 9fans

>>>> On Sat, Aug 02, 2014 at 08:48:34AM +0900, kokamoto@hera.eonet.ne.jp wrote:
>
>> Now I'm writing this main using a pxe booted terminal with the above
>> server.
>  Maybe it is not true.  I'm checking this now.

No, it was not true.
As I have lab's Plan9 distro. on this machine, I was
confused it.

Now, I changed the /lib/ndb/local of the 9front's server machine's
that terminal item,
from
bootf=/386/9pcf
to
bootf=/386/9bootpxe,
and it solved the problem.
Now I can pxe boot the machine on 9front's environment.

Kenji




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

end of thread, other threads:[~2014-08-06  4:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-01 23:48 [9fans] Strange VGA thing kokamoto
2014-08-02  0:00 ` Nick Owens
2014-08-02  3:02   ` kokamoto
2014-08-02  3:10     ` sl
2014-08-03 23:48     ` kokamoto
2014-08-04  2:31       ` kokamoto
2014-08-06  4:29         ` kokamoto
2014-08-02  0:01 ` sl
2014-08-02  1:15   ` erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).