PROBLEM: Highmem + Matrox G400 DRM causes crashes or console freezes

From: Nuitari (nuitari@balthasar.nuitari.net)
Date: Wed Aug 21 2002 - 11:33:29 EST


[1.]
Highmem + Matrox G400 DRM causes crashes or console freezes

[2.]
When I have 1gb of ram installed in my computer, starting any opengl
application will cause anything from a console freeze, an oops or a kernel
panic.

[3.]
Kernel: 2.4.18 to 2.4.20-pre4

[4.]
[root@gandalf /root]# cat /proc/version
Linux version 2.4.20-pre4 (root@gandalf.nuitari.darktech.org) (gcc version
3.1)
#7 Wed Aug 21 04:00:02 EDT 2002

[5.]
Oops information I got:
Unable to handle kernel NULL pointer dereference at virtual address
00000000
 printing eip:
c010c6f4
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c010c6f4>] Not tainted
EFLAGS: 00010246
eax: 00000000 ebx: 00000018 ecx: e5b14000 edx: f7e11f1c
esi: e5b1a004 edi: fffffffb ebp: 00000001 esp: e5b15f90
ds: 0018 es: 0018 ss: 0018
Process strace (pid: 694, stackpage=e5b15000)
Stack: e5b1a000 00000000 e5b65d74 40014023 00000023 e5b65d94 e5b140b8
00000000
       e5b14000 00000000 00000018 bfffe79c c0108eaf 00000018 000002b7
00000001
       00000000 00000018 bfffe79c 0000001a 0000002b 0000002b 0000001a
400d7366
Call Trace: [<c0108eaf>]

Code: 00 00 00 00 00 00 00 00 00 00 00 00 ea b3 42 43 7b 9a 43 43

Unable to handle kernel NULL pointer dereference at virtual address
00000000
c010c6f4
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c010c6f4>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010246
eax: 00000000 ebx: 00000018 ecx: e5b14000 edx: f7e11f1c
esi: e5b1a004 edi: fffffffb ebp: 00000001 esp: e5b15f90
ds: 0018 es: 0018 ss: 0018
Process strace (pid: 694, stackpage=e5b15000)
Stack: e5b1a000 00000000 e5b65d74 40014023 00000023 e5b65d94 e5b140b8
00000000
       e5b14000 00000000 00000018 bfffe79c c0108eaf 00000018 000002b7
00000001
       00000000 00000018 bfffe79c 0000001a 0000002b 0000002b 0000001a
400d7366
Call Trace: [<c0108eaf>]
Code: 00 00 00 00 00 00 00 00 00 00 00 00 ea b3 42 43 7b 9a 43 43

>>EIP; c010c6f4 <sys_ptrace+274/5f0> <=====
Trace; c0108eaf <system_call+2f/34>
Code; c010c6f4 <sys_ptrace+274/5f0> <=====
00000000 <_EIP>: <=====
Code; c010c700 <sys_ptrace+280/5f0>
   c: ea b3 42 43 7b 9a 43 ljmp $0x439a,$0x7b4342b3
Code; c010c707 <sys_ptrace+287/5f0>
  13: 43 inc %ebx

1 warning issued. Results may not be reliable.

Dump of assembler code for function str:
0x80493d0 <str>: xor %dh,(%eax)
0x80493d2 <str+2>: add %al,(%eax)
0x80493d4 <str+4>: add %al,(%eax)
0x80493d6 <str+6>: add %al,(%eax)
0x80493d8 <str+8>: add %al,(%eax)
0x80493da <str+10>: add %al,(%eax)
0x80493dc <str+12>: add %ch,%dl
0x80493de <str+14>: mov $0x42,%bl
0x80493e0 <str+16>: inc %ebx
0x80493e1 <str+17>: jnp 0x804937d
0x80493e3 <str+19>: inc %ebx
0x80493e4 <str+20>: inc %ebx
0x80493e5 <str+21>: add %al,(%eax)
0x80493e7 <str+23>: add %al,(%eax)
End of assembler dump.

[6.]
Shell script:
Simply any program with opengl (ut, glxgears, mplayer -vo gl)

[7.]
Environment:
BASH=/bin/bash
BASH_VERSINFO=([0]="2" [1]="04" [2]="3" [3]="1" [4]="release"
[5]="i586-mandrake-linux-gnu")
BASH_VERSION='2.04.3(1)-release'
CHROMIUM_DATA=/usr/share/games/chromium/data
CLASSPATH=/usr/java/lib
COLUMNS=80
DIRSTACK=()
ENV=/root/.bashrc
EUID=0
GROUPS=()
HISTFILE=/root/.bash_history
HISTFILESIZE=1000
HISTSIZE=1000
HOME=/root
HOSTNAME=gandalf.nuitari.darktech.org
HOSTTYPE=i586
I18N_CFG_FILE=/etc/sysconfig/i18n
IFS='
'
INPUTRC=/etc/inputrc
LANG=en
LANGUAGE=en_US:en
LC_COLLATE=en
LC_CTYPE=en
LC_MESSAGES=en
LC_MONETARY=en
LC_NUMERIC=en
LC_TIME=en
LESS=-MM
LESSKEY=/etc/.less
LESSOPEN='|/usr/bin/lesspipe.sh %s'
LINES=25
LOGNAME=root
LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.tar=01;31:*.tgz=01;31:*.tbz2=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lha=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:*.tiff=01;35:'
MACHTYPE=i586-mandrake-linux-gnu
MAIL=/var/spool/mail/root
MAILCHECK=60
MOZILLA_HOME=/usr/netscape
OLDPWD=/root
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
PIPESTATUS=([0]="0")
PPID=588
PS1='[\u@\h \W]\$ '
PS2='> '
PS4='+ '
PWD=/tmp
QTDIR=/usr/qt3
RPM_INSTALL_LANG=en_US:en
SECURE_LEVEL=4
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:interactive-comments:emacs
SHLVL=1
TERM=linux
UID=0
USER=root
USERNAME=root
_=set
mc=()
{
    mkdir -p ~/.mc/tmp 2>/dev/null;
    chmod 700 ~/.mc/tmp;
    MC=~/.mc/tmp/mc-$$;
    /usr/bin/mc -P "$@" >"$MC";
    cd "`cat $MC`";
    rm -f "$MC";
    unset MC
}
screen=()
{
    if [ -z "$SCREENDIR" ]; then
        export SCREENDIR=$HOME/tmp;
    fi;
    /usr/bin/screen $@
}

[7.1.]
VerLinux output:

Linux gandalf.nuitari.darktech.org 2.4.20-pre4 #7 Wed Aug 21 04:00:02 EDT
2002 i686 unknown

Gnu C gcc (GCC) 3.1 Copyright (C) 2002 Free Software
Foundation, Inc. This is free software; see the source for copying
conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.
Gnu make 3.79
binutils 2.9.5.0.31
util-linux 2.11c
mount 2.11c
modutils 2.4.16
e2fsprogs 1.18
PPP 2.4.1
Linux C Library 2.1.3
Dynamic linker (ldd) 2.1.3
Linux C++ Library 4.0.0
Procps 2.0.6
Net-tools 1.55
Console-tools 0.2.3
Sh-utils 2.0
Modules Loaded sr_mod aic7xxx mga_vid st sg ov511_decomp ov511
usb-uhci

[7.2.]
[root@gandalf linux]# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 3
model name : AMD Duron(tm) processor
stepping : 1
cpu MHz : 700.043
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips : 1395.91

[7.3.]
[root@gandalf linux]# cat /proc/modules
sr_mod 15608 0 (unused)
aic7xxx 124372 0 (unused)
mga_vid 8632 0 (unused)
st 28592 0 (unused)
sg 27788 0 (unused)
ov511_decomp 10884 0
ov511 75484 1 [ov511_decomp]
usb-uhci 23084 0 (unused)

[7.4.]
[root@gandalf linux]# cat /proc/ioports |less
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0376-0376 : ide1
0378-037a : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0778-077a : parport0
0cf8-0cff : PCI conf1
5000-500f : VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
6000-607f : VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
9000-900f : VIA Technologies, Inc. VT82C586B PIPC Bus Master IDE
  9000-9007 : ide0
  9008-900f : ide1
9400-941f : VIA Technologies, Inc. USB
  9400-941f : usb-uhci
9800-981f : VIA Technologies, Inc. USB (#2)
  9800-981f : usb-uhci
9c00-9cff : Adaptec AHA-2930CU
a000-a01f : Creative Labs SB Live! EMU10k1
  a000-a01f : EMU10K1
a400-a407 : Creative Labs SB Live! MIDI/Game Port
  a400-a407 : emu10k1-gp
a800-a8ff : IBM 16/4 Token ring UTP/STP controller
  a800-a8ff : olympic
ac00-ac07 : Lava Computer mfg Inc Lava Parallel
  ac00-ac02 : parport1
  ac03-ac07 : parport1
b000-b007 : Triones Technologies, Inc. HPT366/368/370/370A/372
  b000-b007 : ide2
b400-b403 : Triones Technologies, Inc. HPT366/368/370/370A/372
  b402-b402 : ide2
b800-b807 : Triones Technologies, Inc. HPT366/368/370/370A/372
bc00-bc03 : Triones Technologies, Inc. HPT366/368/370/370A/372
c000-c0ff : Triones Technologies, Inc. HPT366/368/370/370A/372
  c000-c007 : ide2
  c008-c00f : ide3
  c010-c0ff : HPT370

[root@gandalf linux]# cat /proc/iomem
00000000-0009efff : System RAM
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000c8000-000c87ff : Extension ROM
000c9000-000ccdff : Extension ROM
000cd000-000cd7ff : Extension ROM
000f0000-000fffff : System ROM
00100000-2ffeffff : System RAM
  00100000-00306551 : Kernel code
  00306552-0038b8e7 : Kernel data
e0000000-e3ffffff : VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
e4000000-e5ffffff : PCI Bus #01
  e4000000-e5ffffff : Matrox Graphics, Inc. MGA G400 AGP
e6000000-e8ffffff : PCI Bus #01
  e6000000-e6003fff : Matrox Graphics, Inc. MGA G400 AGP
  e7000000-e77fffff : Matrox Graphics, Inc. MGA G400 AGP
ea000000-ea003fff : Matrox Graphics, Inc. MGA 2064W [Millennium]
eb000000-eb7fffff : Matrox Graphics, Inc. MGA 2064W [Millennium]
ec000000-ec0007ff : IBM 16/4 Token ring UTP/STP controller
  ec000000-ec0007ff : olympic
ec001000-ec001fff : Adaptec AHA-2930CU
  ec001000-ec001fff : aic7xxx
ec002000-ec0020ff : IBM 16/4 Token ring UTP/STP controller
  ec002000-ec0020ff : olympic

[root@gandalf linux]# cat /proc/interrupts
           CPU0
  0: 256230 XT-PIC timer
  1: 14602 XT-PIC keyboard
  2: 0 XT-PIC cascade
  4: 274 XT-PIC serial
  5: 12330 XT-PIC olympic
  7: 127 XT-PIC parport0
  8: 1 XT-PIC rtc
 10: 234 XT-PIC ide2
 11: 1138 XT-PIC EMU10K1, usb-uhci, usb-uhci, aic7xxx
 12: 34770 XT-PIC PS/2 Mouse
 14: 5328 XT-PIC ide0
 15: 971 XT-PIC ide1
NMI: 0
ERR: 0

[7.5.]

[root@gandalf linux]# lspci -vvv|less
00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 0305 (rev 03)
        Subsystem: ABIT Computer Corp.: Unknown device a401
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR+
        Latency: 8 set
        Region 0: Memory at e0000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [a0] AGP version 2.0
                Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
                Command: RQ=0 SBA+ AGP+ 64bit- FW- Rate=<none>
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- AuxPwr- DSI- D1- D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:01.0 PCI bridge: VIA Technologies, Inc.: Unknown device 8305 (prog-if
00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
        Latency: 0 set
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: e6000000-e8ffffff
        Prefetchable memory behind bridge: e4000000-e5ffffff
        BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- AuxPwr- DSI- D1+ D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super] (rev
40)
        Subsystem: ABIT Computer Corp.: Unknown device 0000
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 set
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- AuxPwr- DSI- D1- D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev
06) (prog-if 8a [Master SecP PriP])
        Subsystem: VIA Technologies, Inc.: Unknown device 0571
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 set
        Region 4: I/O ports at 9000 [size=16]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- AuxPwr- DSI- D1- D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.2 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 16)
(prog-if 00 [UHCI])
        Subsystem: Unknown device 0925:1234
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 set, cache line size 08
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at 9400 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- AuxPwr- DSI- D1- D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.3 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 16)
(prog-if 00 [UHCI])
        Subsystem: Unknown device 0925:1234
       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 set, cache line size 08
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at 9800 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- AuxPwr- DSI- D1- D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev
40)
        Subsystem: VIA Technologies, Inc.: Unknown device 3057
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin ? routed to IRQ 11
        Capabilities: [68] Power Management version 2
                Flags: PMEClk- AuxPwr- DSI- D1- D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:08.0 SCSI storage controller: Adaptec AHA-2930CU (rev 03)
        Subsystem: Adaptec: Unknown device 3869
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 4 min, 4 max, 32 set, cache line size 08
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at 9c00 [disabled] [size=256]
        Region 1: Memory at ec001000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- AuxPwr- DSI+ D1- D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10000 (rev
07)
        Subsystem: Creative Labs CT4832 SBLive! Value
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 2 min, 20 max, 32 set
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at a000 [size=32]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- AuxPwr- DSI- D1+ D2+ PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0b.1 Input device controller: Creative Labs SB Live! (rev 07)
        Subsystem: Creative Labs Gameport Joystick
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 set
        Region 0: I/O ports at a400 [size=8]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- AuxPwr- DSI- D1+ D2+ PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0d.0 Token ring network controller: IBM 16/4 Token ring UTP/STP
controller (rev 05)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 6 min, 120 max, 32 set, cache line size 08
        Interrupt: pin A routed to IRQ 5
        Region 0: I/O ports at a800 [size=256]
        Region 1: Memory at ec002000 (32-bit, non-prefetchable) [size=256]
        Region 2: Memory at ec000000 (32-bit, non-prefetchable) [size=2K]
        Expansion ROM at <unassigned> [disabled] [size=16K]

00:0f.0 Parallel controller: Lava Computer mfg Inc Lava Parallel (prog-if
01 [BiDir])
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort-
<TAbort-
<MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 5
        Region 0: I/O ports at ac00 [size=8]

00:11.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2064W
[Millennium]
(rev 01) (prog-if 00 [VGA])
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 9
        Region 0: Memory at ea000000 (32-bit, non-prefetchable) [disabled]
[size=16K]
        Region 1: Memory at eb000000 (32-bit, prefetchable) [disabled]
[size=8M] Expansion ROM at <unassigned> [disabled] [size=64K]
00:13.0 Unknown mass storage controller: Triones Technologies, Inc. HPT366
(rev
03)
        Subsystem: Triones Technologies, Inc.: Unknown device 0001
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 8 min, 8 max, 120 set
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at b000 [size=8]
        Region 1: I/O ports at b400 [size=4]
        Region 2: I/O ports at b800 [size=8]
        Region 3: I/O ports at bc00 [size=4]
        Region 4: I/O ports at c000 [size=256]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- AuxPwr- DSI+ D1- D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev
04) (prog-if 00 [VGA])
        Subsystem: Matrox Graphics, Inc.: Unknown device 0378
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- AuxPwr- DSI+ D1- D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev
04) (prog-if 00 [VGA])
        Subsystem: Matrox Graphics, Inc.: Unknown device 0378
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 16 min, 32 max, 64 set, cache line size 08
        Interrupt: pin A routed to IRQ 9
        Region 0: Memory at e4000000 (32-bit, prefetchable) [size=32M]
        Region 1: Memory at e6000000 (32-bit, non-prefetchable) [size=16K]
        Region 2: Memory at e7000000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- AuxPwr- DSI+ D1- D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [f0] AGP version 2.0
                Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
                Command: RQ=31 SBA+ AGP+ 64bit- FW- Rate=<none>

[7.6.]
[root@gandalf linux]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: IOMEGA Model: ZIPCD1024INT-A Rev: 2,0
  Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 01 Lun: 00
  Vendor: PIONEER Model: CD-ROM DRM-1804X Rev: 0101
  Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 01 Lun: 01
  Vendor: PIONEER Model: CHANGR DRM-1804X Rev: 0101
  Type: Medium Changer ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 05 Lun: 00
  Vendor: PLEXTOR Model: CD-ROM DM-XX28 Rev: 3.08
  Type: CD-ROM ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: USB Model: CD-R/RW 4X4X6 Rev: A.EZ
  Type: CD-ROM ANSI SCSI revision: 02

[7.7.]
[root@gandalf linux]# cat /proc/bus/usb/devices |less
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 12/900 us ( 1%), #Int= 1, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=9800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=1189 ProdID=6000 Rev= a.03
S: Product=USB Optical Storage Device
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=02 Prot=00 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 2 Ivl=1ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=9400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=05a9 ProdID=a511 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
I: If#= 0 Alt= 1 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
I: If#= 0 Alt= 2 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 129 Ivl=1ms
I: If#= 0 Alt= 3 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 257 Ivl=1ms
I: If#= 0 Alt= 4 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 385 Ivl=1ms
I: If#= 0 Alt= 5 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 513 Ivl=1ms
I: If#= 0 Alt= 6 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 769 Ivl=1ms
I: If#= 0 Alt= 7 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 961 Ivl=1ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=1.5 MxCh= 0
E: Ad=81(I) Atr=01(Isoc) MxPS= 961 Ivl=1ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=1.5 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c00e Rev=11.00
S: Manufacturer=Logitech
S: Product=USB-PS/2 Optical Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms

[X.]
A workaround is just to run with 768Mb of RAM or just removing HIGHMEM
support from the kernel.

Tomorrow I will test with another linux distribution to check if the
problem is reproduced on it.

I tried with the minimalist system possible (only the G400, 1gb ram, root
hard disk) and the problem still reproduced itself quite easyly.

Most of the tests were with glxgears.

Attached is an abridged log of the serial console. It's over many tests
and is slightly edited.

When I tried with strace, the results differed (one of them being an oops
in strace, another an oops in dnetc that I didn't manage to capture).
However I do recall it being with a similar stack page that the strace one

Process strace (pid: 694, stackpage=e5b15000)

According to iomem, that page is supposed to be used by the Matrox G400,
and could be the possible cause of the lockups.

Some times everything would stop and the Caps Lock / Scroll Lock lights
would blink (kernel panic, I presume).

I am also mailing it to the usb-devel list as on one occasion I had these
messages while Xwindows started.

usb-uhci.c: Host controller halted, trying to restart.

I didn't manage to reproduce it.

I had problems since kernel 2.4.18 (when I got more then 1gb of ram).
Both the latest DRI drivers on numerous days and the official Matrox ones
have the problem.

Sleep is starting to have effects on me. Please feel free to email me with
any questions or any test that you'd like me to try.

Nuitari



-
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/



This archive was generated by hypermail 2b29 : Fri Aug 23 2002 - 22:00:22 EST