PROBLEM: matroxfb broken with G450 in 2.4.21 (and 2.4.21-rc3)

From: Herbert Schmid (sairia@h2hobel.phl.univie.ac.at)
Date: Tue Jun 17 2003 - 08:45:49 EST


Hi Alan,

[1.] Matroxfb doesn't init a Matrox G450 DH correctly.

[2.] The console stays in VGA-Mode. If the VGA-console is not compiled
in, the screen is not updated after the "Ok, booting the kernel."
message. You won't see neither the kernel bootstraping nor any console
login, but working blind is possible. X11 works fine.

This is introduced with linux-2.4.21-rc3 and still in the final
linux-2.4.21. (I've tested 2.4.21-rc2 witch works.) So it may be a result
of

Summary of changes from v2.4.21-pre2 to v2.4.21-pre3
Alan Cox <alan@lxorguk.ukuu.org.uk>:
o matroxfb updates
o matroxfb update header

[3.] Keywords: matroxfb Matrox G450 console fb framebuffer

[4.] $ cat /proc/version
Linux version 2.4.21 (root@1st-debian) (gcc version 2.95.4 20011002
(Debian prerelease)) #2 Tue Jun 17 13:46:33 CEST 2003

[5.] No Oops.. message.

[6.] Relevant part of lilo configuration:
prompt
lba32
boot=/dev/hda
image=/usr/src/linux-2.4.21/arch/i386/boot/bzImage
   append = "hdb=ide-scsi hdd=ide-scsi
video=matrox:vesa:0x1b8,fh:100,fv:85,nop an"
   label = lx2421
   optional
   root = /dev/hda3
   read-only
   initrd = /initrd.img

(The line break in append is due to pine.)

[7.] Environment
[7.1] $ sh scripts/ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux 1st-debian 2.4.21 #2 Tue Jun 17 13:46:33 CEST 2003 i686 unknown

Gnu C 2.95.4
Gnu make 3.79.1
util-linux 2.11z
mount 2.11z
modutils 2.4.21
e2fsprogs 1.32
Linux C Library 2.3.1
Dynamic linker (ldd) 2.3.1
Procps 2.0.7
Net-tools 1.60
Console-tools 0.2.3
Sh-utils 2.0.11
Modules Loaded a100u2w ntfs nls_iso8859-2 nls_cp852 dummy mga_vid
via82cxxx_audio uart401 ac97_codec sound soundcore

$ /sbin/lilo -V -v
LILO version 22.2, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2001 John Coffman
Released 05-Feb-2002 and compiled at 20:57:26 on Apr 13 2002.
MAX_IMAGES = 27

[7.2] $ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(tm) XP 1800+
stepping : 1
cpu MHz : 1529.038
cache size : 256 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 apic sep mtrr pge mca
cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 3047.42

[7.3] $ cat /proc/modules
a100u2w 10848 1
ntfs 48864 2
nls_iso8859-2 3356 0 (unused)
nls_cp852 3580 0 (unused)
dummy 1020 0 (unused)
mga_vid 8856 0 (unused)
via82cxxx_audio 19224 2
uart401 6020 0 [via82cxxx_audio]
ac97_codec 10696 0 [via82cxxx_audio]
sound 53068 0 [via82cxxx_audio uart401]
soundcore 3428 4 [via82cxxx_audio sound]

[7.4] $ cat /proc/ioports
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(set)
0376-0376 : ide1
0378-037a : parport0
03f6-03f6 : ide0
03f8-03ff : serial(set)
0cf8-0cff : PCI conf1
9000-90ff : Initio Corporation INI-A100U2W
  9000-90ff : inia100
9400-947f : VIA Technologies, Inc. IEEE 1394 Host Controller
9800-98ff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
  9800-98ff : 8139too
b000-b01f : VIA Technologies, Inc. USB
  b000-b01f : usb-uhci
b400-b41f : VIA Technologies, Inc. USB (#2)
  b400-b41f : usb-uhci
b800-b81f : VIA Technologies, Inc. USB (#3)
  b800-b81f : usb-uhci
bc00-bc0f : VIA Technologies, Inc. VT82C586B PIPC Bus Master IDE
  bc00-bc07 : ide0
  bc08-bc0f : ide1
c000-c0ff : VIA Technologies, Inc. VT8233 AC97 Audio Controller
  c000-c0ff : via82cxxx_audio

$ cat /proc/iomem
00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-1ffeffff : System RAM
  00100000-002b4d13 : Kernel code
  002b4d14-0036bf27 : Kernel data
1fff0000-1fff2fff : ACPI Non-volatile Storage
1fff3000-1fffffff : ACPI Tables
c0000000-cfffffff : VIA Technologies, Inc. VT8367 [KT266]
d0000000-d1ffffff : PCI Bus #01
  d0000000-d1ffffff : Matrox Graphics, Inc. MGA G400 AGP
d2000000-d4ffffff : PCI Bus #01
  d2000000-d2003fff : Matrox Graphics, Inc. MGA G400 AGP
  d3000000-d37fffff : Matrox Graphics, Inc. MGA G400 AGP
d5040000-d50407ff : VIA Technologies, Inc. IEEE 1394 Host Controller
d5041000-d50410ff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
  d5041000-d50410ff : 8139too
d5042000-d5042fff : Initio Corporation INI-A100U2W
d5043000-d50430ff : VIA Technologies, Inc. USB 2.0
  d5043000-d50430ff : ehci-hcd
fec00000-fec00fff : reserved
fee00000-fee00fff : reserved
ffff0000-ffffffff : reserved

[7.5] (detailed info see attachment lspci.txt)
lspci -s 01:00.0 -vvv
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev
82) (prog-if 00 [VGA])
        Subsystem: Matrox Graphics, Inc. Millennium G450 Dual Head LE
        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: 64 (4000ns min, 8000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at d0000000 (32-bit, prefetchable) [size=32M]
        Region 1: Memory at d2000000 (32-bit, non-prefetchable) [size=16K]
        Region 2: Memory at d3000000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: <available only to root>

[7.6] $ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ASUS Model: DVD-ROM E616 Rev: 2.0
  Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: LITE-ON Model: LTR-0841 Rev: MS8E
  Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: SEAGATE Model: ST318436LW Rev: 0004
  Type: Direct-Access ANSI SCSI revision: 03

[7.7] I've attached my kernel config.

Thanks for your work.

Yours,
Herbert

---
EMail: Herbert.Schmid@gmx.net



- 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 : Mon Jun 23 2003 - 22:00:20 EST