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

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

Post by Axel.Belin » Sat, 19 Mar 2005 10:49:55


'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 f
 
 
 

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

Post by Axel.Belin » Sat, 19 Mar 2005 19:02:48

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.

 
 
 

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

Post by Axel.Belin » Sat, 19 Mar 2005 19:13:35

sorry. mixed two config keywords. it should be:

*maxmem=number


Axel.