Messages in this thread | | | Date | Thu, 3 Apr 2008 11:23:36 +0300 | From | Ville Syrjälä <> | Subject | Re: atyfb rmmod & vram crash, 2.6.24, 2.6.25-rc8 |
| |
On Wed, Apr 02, 2008 at 03:54:12PM +0300, Denys Fedoryshchenko wrote: > VGA card i dont know how much RAM there actually, but lspci here shows looks > like 16MB: > > 03:09.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro 215GP (rev > 5c) (prog-if 00 [VGA controller]) > Subsystem: ATI Technologies Inc Rage Pro Turbo > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping+ SERR- FastB2B- DisINTx- > Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 66 (2000ns min), Cache Line Size: 32 bytes > Interrupt: pin A routed to IRQ 21 > Region 0: Memory at f0000000 (32-bit, prefetchable) [size=16M]
This region is always 16MB regardless of how much actual RAM is on the card.
> Loading without parameters > > atyfb: using auxiliary register aperture > atyfb: 3D RAGE PRO (Mach64 GP, PQFP, PCI) [0x4750 rev 0x7c] > atyfb: Mach64 BIOS is located at c0000, mapped at c00c0000. > atyfb: BIOS frequency table: > atyfb: PCLK_min_freq 984, PCLK_max_freq 23600, ref_freq 2950, ref_divider 64 > atyfb: MCLK_pwd 4200, MCLK_max_freq 7500, XCLK_max_freq 10000, SCLK_freq 5000 > atyfb: 8M SGRAM (1:1), 29.498928 MHz XTAL, 236 MHz PLL, 75 Mhz MCLK, 100 MHz XCLK > atyfb: fb0: ATY Mach64 frame buffer device on PCI > > It detects 8M. > If i put parameter vram=8
The vram paramter takes KB not MB.
Why do you want to override it anyway? It seems to detect the amount of RAM just fine.
> And most interesting when i do rmmod > tv1 ~ # rmmod atyfb > Segmentation fault
Does this only happen after the failure caused by the bad vram parameter?
-- Ville Syrjälä syrjala@sci.fi http://www.sci.fi/~syrjala/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |