9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] aux/vga: vgactlw: <linear 0x100000 0x0>: not enough free address space
@ 2005-03-18  1:48 Axel Belinfante
  2005-03-18 10:00 ` Axel Belinfante
  0 siblings, 1 reply; 3+ messages in thread
From: Axel Belinfante @ 2005-03-18  1:48 UTC (permalink / raw)
  To: 9fans

I'm trying to upgrade the memory in an (old)
digital hinote ultra 2000 laptop.
as I understand it, it already has 16Mb intern,
and by default one additional 16Mb dimm.
This runs fine.


However, when I replace the 16Mb dimm by a 64Mb one (giving 80Mb total)
or even add a second 64Mb dimm (giving 112Mb seen total, `loosing 32Mb')
aux/vga fails with the following message:

aux/vga: vgactlw: <linear 0x100000 0x0>: not enough free address space


I added some print statements to the vga driver
(/sys/src/9/pc/vgahiqvideo.c), and enabled
MEMDEBUG in /sys/src/9/pc/memory.c - output below.
for completeness I also added output of pci.

Any ideas?
Suggestions welcome.

Axel.

===========================================

With 112Mb seen: (16 + added  64+64)


pcirouting: South bridge 1066, 0002 not found
#Y0: TI PCI-1131 Cardbus Controller, 40000000 intl 9
#Y1: TI PCI-1131 Cardbus Controller, 40001000 intl 10
dev A0 port 1F0 config 045A capabilities 0F00 mwdma 0407 udma 0007

1. sdC0!dos!plan9/9pcdisk
2. sdC0!9fat!9pcdisk
3. fd0!dos!9pcdisk.gz
4. none of the above
bootfile: 3
found 9PCDISK .GZ  attr 0x20 start 0x2 len 799014
.gz....................................................................................................799014 => 836936+977728+108772=1923436
entry: 80100020

Plan 9
maxmem 30000000 D0000000
maxpa = FC00 -> 4000000, maxpa1 = FC00 maxpa2 = 280
physical memory
	00007000 00098C00 0009FC00
	002D7000 06D29000 07000000
	0C000000 00400000 0C400000
	0C800000 00400000 0CC00000
upper memory block
	000D0000 00020000 000F0000
UMB device memory
unallocated unbacked physical memory
	07000000 05000000 0C000000
	0C400000 00400000 0C800000
	0CC00000 F3400000 00000000
cpu0: 267MHz GenuineIntel P5 (cpuid: AX 0x0581 DX 0x8001BF)
#y0: 1 slot Cirrus Logic CL-PD6720: port 0x3E0 irq 9
#y1: 2 slot Intel 82365SL: port 0x3E2 irq 10
apm0: configured cbase 000f0000 off 00000dba
CEM56 in pcmcia slot 0 port 0x2f8 irq 3
wavelanreset, iob 0x180
#l0: wavelan: 10Mbps port 0x180 irq 3: 00022D1B22BC
pcirouting: ignoring south bridge PCI.0.5.0 1066/0002
16858 free pages, 67432K bytes, 273832K swap
no usb daemon
no usbhid
root is from (aan, tcp, il, local)[tcp]:
user[none]: axel
secstore password:
version...time...

init: starting /bin/rc
mouseport is (ps2, ps2intellimouse, 0, 1, 2)[ps2]:
hiqvideolinear sz=1000000 al=0 aper=C000000 oaper=0 oapsz=0 was=0
maxpa = FC00 -> 4000000, maxpa1 = FC00 maxpa2 = 280
physical memory
	00007000 00098C00 0009FC00
	002D7000 06D29000 07000000
	0C000000 00400000 0C400000
	0C800000 00400000 0CC00000
upper memory block
	000D2000 0001E000 000F0000
UMB device memory
unallocated unbacked physical memory
	07000000 05000000 0C000000
	0C400000 00400000 0C800000
	0CC00000 F3400000 00000000
hiqvideolinear upamalloc aper=0 sz=1000000 al=0 failed
hiqvideolinear upamalloc oaper=0 osz=0  al=0 failed
hiqvideolinear sz=1000000 al=0 aper=C000000 oaper=0 oapsz=0 was=0
maxpa = FC00 -> 4000000, maxpa1 = FC00 maxpa2 = 280
physical memory
	00007000 00098C00 0009FC00
	002D7000 06D29000 07000000
	0C000000 00400000 0C400000
	0C800000 00400000 0CC00000
upper memory block
	000D2000 0001E000 000F0000
UMB device memory
unallocated unbacked physical memory
	07000000 05000000 0C000000
	0C400000 00400000 0C800000
	0CC00000 F3400000 00000000
hiqvideolinear upamalloc aper=0 sz=1000000 al=0 failed
hiqvideolinear upamalloc oaper=0 osz=0  al=0 failed
screenaperture scr->dev->linear failed
aux/vga: vgactlw: <linear 0x100000 0x0>: not enough free address space
dossrv: serving #s/dos


===========================================

With 32 Mb seen (16+ added 16?)

pcirouting: South bridge 1066, 0002 not found
#Y0: TI PCI-1131 Cardbus Controller, 40000000 intl 9
#Y1: TI PCI-1131 Cardbus Controller, 40001000 intl 10
dev A0 port 1F0 config 045A capabilities 0F00 mwdma 0407 udma 0007

1. sdC0!dos!plan9/9pcdisk
2. sdC0!9fat!9pcdisk
3. fd0!dos!9pcdisk.gz
4. none of the above
bootfile: 3
found 9PCDISK .GZ  attr 0x20 start 0x2 len 799014
.gz....................................................................................................799014 => 836936+977728+108772=1923436
entry: 80100020

Plan 9
maxmem 30000000 D0000000
maxpa = 7C00 -> 2000000, maxpa1 = 7C00 maxpa2 = 280
physical memory
	00007000 00098C00 0009FC00
	002D7000 01D29000 02000000
upper memory block
	000D0000 00020000 000F0000
UMB device memory
unallocated unbacked physical memory
	02000000 FE000000 00000000
cpu0: 267MHz GenuineIntel P5 (cpuid: AX 0x0581 DX 0x8001BF)
#y0: 1 slot Cirrus Logic CL-PD6720: port 0x3E0 irq 9
#y1: 2 slot Intel 82365SL: port 0x3E2 irq 10
apm0: configured cbase 000f0000 off 00000dba
CEM56 in pcmcia slot 0 port 0x2f8 irq 3
wavelanreset, iob 0x180
#l0: wavelan: 10Mbps port 0x180 irq 3: 00022D1B22BC
pcirouting: ignoring south bridge PCI.0.5.0 1066/0002
4570 free pages, 18280K bytes, 96680K swap
no usb daemon
no usbhid
root is from (aan, tcp, il, local)[tcp]:
user[none]: axel
secstore password:
version...time...

init: starting /bin/rc
mouseport is (ps2, ps2intellimouse, 0, 1, 2)[ps2]:
hiqvideolinear sz=1000000 al=0 aper=C000000 oaper=0 oapsz=0 was=0
hiqvideolinear sz=1000000 al=0 aper=C000000 oaper=C000000 oapsz=1000000 was=1
dossrv: serving #s/dos

init: starting /bin/rc
term%

===========================================

term% pci
0.0.0:	06.00.00 1066/0001   0
0.5.0:	06.80.00 1066/0002   0
0.6.0:	03.00.00 102c/00e4   0 0:0c000000 16777216          <--- this is vga card
0.7.0:	06.07.00 104c/ac15   9
0.7.1:	06.07.00 104c/ac15  10
0.8.0:	01.01.8e 1095/0643  14 0:000001f1 65040 1:000003f5 64528 2:00000001 16 3:00000001 16 4:0000fe01 16
term%

===========================================


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

* Re: [9fans] aux/vga: vgactlw: <linear 0x100000 0x0>: not enough free address space
  2005-03-18  1:48 [9fans] aux/vga: vgactlw: <linear 0x100000 0x0>: not enough free address space Axel Belinfante
@ 2005-03-18 10:00 ` Axel Belinfante
  2005-03-18 10:12   ` Axel Belinfante
  0 siblings, 1 reply; 3+ messages in thread
From: Axel Belinfante @ 2005-03-18 10:00 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

for the archives:

likely the added memory caused the memory sizing
to find the vga memory as real memory.

I solved this by adding a line to plan9.ini
	*maxpercent=hex-number
where hex-number is the amount of physical memory.
(see the discusion of *maxpercent in plan9.ini(8) )

Axel.


I wrote:
> I'm trying to upgrade the memory in an (old) laptop.
> with the original memory config it runs fine.
>
> However, replacing the original 16Mb sodimm by a 64Mb one,
> or eve adding second 64Mb sodimm
> causes aux/vga to fail with the following message:
>
> aux/vga: vgactlw: <linear 0x100000 0x0>: not enough free address space
>


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

* Re: [9fans] aux/vga: vgactlw: <linear 0x100000 0x0>: not enough free address space
  2005-03-18 10:00 ` Axel Belinfante
@ 2005-03-18 10:12   ` Axel Belinfante
  0 siblings, 0 replies; 3+ messages in thread
From: Axel Belinfante @ 2005-03-18 10:12 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

sorry. mixed two config keywords. it should be:

	*maxmem=number


Axel.

> for the archives:
>
> likely the added memory caused the memory sizing
> to find the vga memory as real memory.
>
> I solved this by adding a line to plan9.ini
> 	*maxpercent=hex-number
> where hex-number is the amount of physical memory.
> (see the discusion of *maxpercent in plan9.ini(8) )
>
> Axel.
>
>
> I wrote:
> > I'm trying to upgrade the memory in an (old) laptop.
> > with the original memory config it runs fine.
> >
> > However, replacing the original 16Mb sodimm by a 64Mb one,
> > or eve adding second 64Mb sodimm
> > causes aux/vga to fail with the following message:
> >
> > aux/vga: vgactlw: <linear 0x100000 0x0>: not enough free address space
> >


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

end of thread, other threads:[~2005-03-18 10:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-18  1:48 [9fans] aux/vga: vgactlw: <linear 0x100000 0x0>: not enough free address space Axel Belinfante
2005-03-18 10:00 ` Axel Belinfante
2005-03-18 10:12   ` Axel Belinfante

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).