Skip to contentSkip to conversation

partial success with matroxfb

parisc-linux Petr Vandrovec 2 participants 2 messages Sep 20, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines · Andreas Seltenreich
Quoted 1 line · Petr Vandrovec

boot with 'video=matrox:novga'. It looks like that Matrox responded

No success with novga or no_pci_retry either. It results in the same crash.

Can you verify (with lspci -xxx) that PCI dword register 0x40 in matroxfb configuration space has not set bit 8 (it is lowest bit in register 0x41). 0=>disable legacy VGA, 1=>enable legacy VGA. Old Millennium I always responded to framebuffer accesses, and it was fixed in Millennium II. I thought that it was fixed in Mystique too. You can fix it with setpci, if matroxfb gets it wrong.

Quoted 10 lines
Quoted 3 lines

Can you print DAC registers 0x4C,0x4D,0x4E,0x4F after this message? 0x4C..0x4E should contain 8,7E,3, and 0x4F should contain 0 when PLL is not locked, and 0x40 if PLL is locked.

Ok, the code around the message now looks like this:

DAC register 4c=8
DAC register 4d=7e
DAC register 4e=1f
DAC register 4f=0

Strange. Stalls it for 5 seconds here, or goes it through immediately?

Quoted 4 lines

DAC register 4c=8
DAC register 4d=7e
DAC register 4e=1f
DAC register 4f=40

Petr

#1 lore raw
Quoted 8 lines · Petr Vandrovec

Can you verify (with lspci -xxx) that PCI dword register 0x40 in matroxfb
configuration space has not set bit 8 (it is lowest bit in register 0x41). 0=>disable legacy VGA, 1=>enable legacy VGA. Old Millennium I always responded to framebuffer accesses, and it was fixed in Millennium II.
I thought that it was fixed in Mystique too. You can fix it with setpci, if matroxfb gets it wrong.

apparently it is set:
40: 00 01 00 5f 00 00 00 00 ff ff ff ff 00 00 00 00

If I modporbe it without setting it, the bit keeps set:
40: 21 4f 09 df 00 3c 00 00 06 ff ff 06 00 00 00 00

after manually setting it to 0 and modprobing matroxfb it kept the zero:
40: 21 4e 09 df 00 3c 00 00 10 ff ff 10 00 00 00 00

but the crash still occured.

Quoted 1 line

Strange. Stalls it for 5 seconds here, or goes it through immediately?

I can't notice any delay when it passes the second time.

regards
andreas