upgraded to 16.04
now kernel is (standard 16.04) 4.4.0-130-generic(i686)

seems that kernel detected 
[    0.195806] pci 0000:03:09.0: [10de:0221] type 00 class 0x030000
[    0.195830] pci 0000:03:09.0: reg 0x10: [mem 0x94000000-0x94ffffff]
[    0.195840] pci 0000:03:09.0: reg 0x14: [mem 0xc0000000-0xdfffffff pref]
[    0.195850] pci 0000:03:09.0: reg 0x18: [mem 0x92000000-0x92ffffff]
[    0.195876] pci 0000:03:09.0: reg 0x30: [mem 0x00000000-0x0001ffff pref]

then vga
[    0.209868] vgaarb: setting as boot device: PCI:0000:00:02.0
[    0.209868] vgaarb: device added: 
PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[    0.209868] vgaarb: device added: 
PCI:0000:03:09.0,decodes=io+mem,owns=none,locks=none
[    0.209868] vgaarb: loaded
[    0.209868] vgaarb: bridge control possible 0000:03:09.0
[    0.209868] vgaarb: no bridge control possible 0000:00:02.0

then nouveau
[    2.503759] nouveau 0000:03:09.0: enabling device (0104 -> 0106)
[    2.504397] nouveau 0000:03:09.0: NVIDIA NV44A (04a100a1)

[    2.684040] nouveau 0000:03:09.0: bios: version 05.44.a2.10.01

[    2.702984] nouveau 0000:03:09.0: fb: 256 MiB DDR2
[    2.783562] [TTM] Zone  kernel: Available graphics memory: 439234 kiB
[    2.783569] [TTM] Zone highmem: Available graphics memory: 1022630 kiB
[    2.783572] [TTM] Initializing pool allocator
[    2.783585] [TTM] Initializing DMA pool allocator
[    2.783612] nouveau 0000:03:09.0: DRM: VRAM: 252 MiB
[    2.783617] nouveau 0000:03:09.0: DRM: GART: 128 MiB
[    2.783624] nouveau 0000:03:09.0: DRM: TMDS table version 1.1
[    2.783628] nouveau 0000:03:09.0: DRM: DCB version 3.0
[    2.783633] nouveau 0000:03:09.0: DRM: DCB outp 00: 02001310 00000028
[    2.783640] nouveau 0000:03:09.0: DRM: DCB outp 01: 01001312 00000020
[    2.783645] nouveau 0000:03:09.0: DRM: DCB outp 02: 01010300 00000028
[    2.783649] nouveau 0000:03:09.0: DRM: DCB outp 03: 020223f1 00c0c030
[    2.783653] nouveau 0000:03:09.0: DRM: DCB conn 00: 0000
[    2.783657] nouveau 0000:03:09.0: DRM: DCB conn 01: 2230
[    2.783661] nouveau 0000:03:09.0: DRM: DCB conn 02: 0110
[    2.783665] nouveau 0000:03:09.0: DRM: DCB conn 03: 0111
[    2.783668] nouveau 0000:03:09.0: DRM: DCB conn 04: 0113
[    2.783682] nouveau 0000:03:09.0: DRM: Adaptor not initialised, running 
VBIOS init tables.
[    2.783968] nouveau 0000:03:09.0: DRM: Saving VGA fonts
[    2.874057] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.874063] [drm] Driver supports precise vblank timestamp query.
[    2.874073] nouveau 0000:03:09.0: DRM: 0xD2AC: Parsing digital output script 
table
[    2.930799] nouveau 0000:03:09.0: DRM: MM: using M2MF for buffer copies
[    2.930820] nouveau 0000:03:09.0: DRM: Setting dpms mode 3 on TV encoder 
(output 3)
[    2.980033] usb 1-5: new high-speed USB device number 4 using ehci-pci
[    3.016034] nouveau 0000:03:09.0: No connectors reported connected with modes
[    3.016097] [drm] Cannot find any crtc or sizes - going 1024x768
[    3.016472] nouveau 0000:03:09.0: DRM: allocated 1024x768 fb: 0x9000, bo 
f6357400
[    3.016665] nouveau 0000:03:09.0: fb1: nouveaufb frame buffer device
[    3.016683] [drm] Initialized nouveau 1.3.1 20120801 for 0000:03:09.0 on 
minor 1


but lspci still give the wron value 512M
03:09.0 VGA compatible controller: NVIDIA Corporation NV44A [GeForce 6200] (rev 
a1) (prog-if 00 [VGA controller])
        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: 40 (1250ns min, 250ns max)
        Interrupt: pin A routed to IRQ 21
        Region 0: Memory at 94000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at c0000000 (32-bit, prefetchable) [size=512M]
        Region 2: Memory at 92000000 (32-bit, non-prefetchable) [size=16M]
        [virtual] Expansion ROM at e0000000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: nouveau
        Kernel modules: nvidiafb, nouveau


Not able to understand how nouveau, kernel, xorg and lspci are communicating, 
but looks like correct detection by nouveau and wrong detection by kernel, then 
... 

and, seem strange one line with correct size, and the next one with a "curious" 
value
[    2.702984] nouveau 0000:03:09.0: fb: 256 MiB DDR2
[    2.783562] [TTM] Zone  kernel: Available graphics memory: 439234 kiB

Regards

Jean COLIN

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1737423

Title:
  With a (cheap) video card in PCI Geforce 6200 (NV44A) with 256Mb video
  memory misdetected as 512 Mb : result was kernel panic in worst case
  and memory crash in best case

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Under XP
  card detected as
  PCI\VEN_10DE&DEV_0221&SUBSYS_00000000&REV_A1\4&3A321F38&0&48F0

  PCI\VEN_10DE&DEV_0221&SUBSYS_00000000&REV_A1\4&3A321F38&0&48F0

  PCI\VEN_10DE&DEV_0221&SUBSYS_00000000&REV_A1
  PCI\VEN_10DE&DEV_0221&CC_030000

  memory range 94000000 94FFFFFF
  memory range C0000000 DFFFFFFF
  memory range 92000000 92FFFFFF
  IRQ 09
  IO range 03B0 03BB
  IO range 03C0 03DF
  memory range 000A0000 000BFFFF

  Processeur graphique :                GeForce 6200
  Version du pilote :   307.83
  Prise en charge DirectX :     9.0c
  Horloge principale :  300 MHz 
  Débit de données mémoire :    1064 MHz
  Interface de mémoire :        64 bits 
  Mémoire :             256 Mo
  Type de mémoire :     DDR2
  Version BIOS vidéo :  5.44.A2.10.26
  IRQ :                 9
  Bus :                 PCI

  correctly detected as 256Mb and working

  
  Under linux
  file /var/log/Xorg.0.log
  contains 18.759] (--) PCI: (0:3:9:0) 10de:0221:0000:0000 rev 161, Mem @ 
0x94000000/16777216, 0xc0000000/536870912, 0x92000000/16777216, BIOS @ 
0x????????/131072
  card bad detection ... 0xc0000000/536870912 correct adress, wrong size 
536870912 soit 512Mo

  output of:

  sudo lshw -C display; lsb_release -a; uname -a

  is

  jean@jean-Soisy:~$ sudo lshw -C display; lsb_release -a; uname -a
  [sudo] password for jean:
    *-display
         description: Display controller
         produit: 82865G Integrated Graphics Controller
         fabriquant: Intel Corporation
         identifiant matériel: 2
         information bus: pci@0000:00:02.0
         version: 02
         bits: 32 bits
         horloge: 33MHz
         fonctionnalités: pm bus_master cap_list rom
         configuration: driver=i915 latency=0
         ressources: irq:16 mémoire:a0000000-a7ffffff mémoire:90000000-9007ffff 
portE/S:1800(taille=8)
    *-display
         description: VGA compatible controller
         produit: NV44A [GeForce 6200]
         fabriquant: NVIDIA Corporation
         identifiant matériel: 9
         information bus: pci@0000:03:09.0
         version: a1
         bits: 32 bits
         horloge: 66MHz
         fonctionnalités: pm vga_controller bus_master cap_list rom
         configuration: driver=nouveau latency=40 maxlatency=1 mingnt=5
         ressources: irq:21 mémoire:94000000-94ffffff mémoire:c0000000-dfffffff 
mémoire:92000000-92ffffff mémoire:e0000000-e001ffff
  No LSB modules are available.
  Distributor ID:    Ubuntu
  Description:    Ubuntu 14.04.5 LTS
  Release:    14.04
  Codename:    trusty
  Linux jean-Soisy 3.13.0-135-generic #184-Ubuntu SMP Wed Oct 18 11:56:31 UTC 
2017 i686 i686 i686 GNU/Linux

  Attempted to find  where the memory size detection lies in the code,
  but was too far in the labyrinth for me.

  Regards

  Jean COLIN
  --- 
  ApportVersion: 2.14.1-0ubuntu3.27
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  jean       2206 F.... pulseaudio
   /dev/snd/controlC0:  jean       2206 F.... pulseaudio
  CurrentDesktop: XFCE
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=2ae1454f-4490-4a9a-aea5-55daa49c243c
  InstallationDate: Installed on 2015-08-08 (985 days ago)
  InstallationMedia: Xubuntu 12.04.3 LTS "Precise Pangolin" - Release i386 
(20130820)
  MachineType: IBM 8429RG7
  Package: linux (not installed)
  ProcFB:
   0 inteldrmfb
   1 nouveaufb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-144-generic 
root=UUID=0f7280ad-8482-48be-9433-13ca09f7304a ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.13.0-144.193-generic 3.13.11-ckt39
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-144-generic N/A
   linux-backports-modules-3.13.0-144-generic  N/A
   linux-firmware                              1.127.24
  RfKill:
   0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
  Tags:  trusty
  Uname: Linux 3.13.0-144-generic i686
  UpgradeStatus: Upgraded to trusty on 2015-08-08 (985 days ago)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 07/06/2005
  dmi.bios.vendor: IBM
  dmi.bios.version: 2AKT51AUS
  dmi.board.name: IBM
  dmi.board.vendor: IBM
  dmi.chassis.asset.tag: ������������������������
  dmi.chassis.type: 4
  dmi.chassis.vendor: IBM
  dmi.modalias: 
dmi:bvnIBM:bvr2AKT51AUS:bd07/06/2005:svnIBM:pn8429RG7:pvr:rvnIBM:rnIBM:rvr:cvnIBM:ct4:cvr:
  dmi.product.name: 8429RG7
  dmi.sys.vendor: IBM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737423/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to