[Openchrome-users] Sylvania (VX700) - black screen at 'modprobe viafb', problem resuming

Tzafrir Cohen tzafrir
Sun Nov 20 14:16:01 PST 2011


Hi,

I'm not really sure if this is the right place, as I suspect my issues
are on the kernel-level, but I figure this would be a good start.

I'm playing with a Sylvania netbook based on VIA C7-M CPU with a
VX700-based display adapter (see lspci and such below). It originally
had a system called gOS which I didn't really like. I installed Debian
Testing on it. It is currently running an up-to-date system with the
latest kernel from Debian Unstable. Though I also had similar issues
with various other Debian kernels (2.6.32-5-686 from Stable, 2.6.32,
3.0) and with self-compiled 3.0.8 and 3.2.0-rc2.

When viafb is loaded the screen blacks-out immediately. If I disable
loading it, I manage to get a display working. OpenChrome seems to be
used in X. Not good enough for Gnome3, but it works.

However if I try to suspend and resume, the system resumes OK, but the
display is messed up. pm-suspend --quirk-s3-bios seems to work around
it.

Occasionally the system just hangs completely. I have no idea what makes
it hang. I ran it with memtest86+ for a number of days and no problem
was found. I see no aparant error message on the console. I tried
running a network console a few times and got no useful output. 
I'm really at loss on how to debug/fix this. 


$ uname -a
Linux vanmojo 3.1.0-1-686-pae #1 SMP Mon Nov 14 08:24:20 UTC 2011 i686 GNU/Linux

$ lspci -nn
00:00.0 Host bridge [0600]: VIA Technologies, Inc. CX700/VX700 Host Bridge [1106:0324] (rev 10)
00:00.1 Host bridge [0600]: VIA Technologies, Inc. CX700/VX700 Host Bridge [1106:1324]
00:00.2 Host bridge [0600]: VIA Technologies, Inc. CX700/VX700 Host Bridge [1106:2324]
00:00.3 Host bridge [0600]: VIA Technologies, Inc. CX700/VX700 Host Bridge [1106:3324]
00:00.4 Host bridge [0600]: VIA Technologies, Inc. CX700/VX700 Host Bridge [1106:4324]
00:00.7 Host bridge [0600]: VIA Technologies, Inc. CX700/VX700 Host Bridge [1106:7324]
00:01.0 PCI bridge [0604]: VIA Technologies, Inc. VT8237/VX700 PCI Bridge [1106:b198]
00:0f.0 IDE interface [0101]: VIA Technologies, Inc. CX700/VX700 RAID Controller [1106:0581]
00:10.0 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev 90)
00:10.1 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev 90)
00:10.2 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev 90)
00:10.4 USB Controller [0c03]: VIA Technologies, Inc. USB 2.0 [1106:3104] (rev 90)
00:11.0 ISA bridge [0601]: VIA Technologies, Inc. CX700/VX700 PCI to ISA Bridge [1106:8324]
00:11.7 Host bridge [0600]: VIA Technologies, Inc. CX700/VX700 Internal Module Bus [1106:324e]
00:13.0 PCI bridge [0604]: VIA Technologies, Inc. CX700/VX700 Host Bridge [1106:324b]
00:13.1 PCI bridge [0604]: VIA Technologies, Inc. CX700/VX700 PCI to PCI Bridge [1106:324a]
01:00.0 VGA compatible controller [0300]: VIA Technologies, Inc.  CX700/VX700 [S3 UniChrome Pro] [1106:3157] (rev 03)
02:01.0 Audio device [0403]: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) [1106:3288] (rev 10)
03:09.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.  RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)

$ cat /proc/cpuinfo
processor       : 0
vendor_id       : CentaurHauls
cpu family      : 6
model           : 13
model name      : VIA C7-M Processor 1200MHz
stepping        : 0
cpu MHz         : 400.000
cache size      : 128 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
cmov pat clflush acpi mmx fxsr sse sse2 tm nx up pni est tm2 xtpr rng
rng_en ace ace_en ace2 ace2_en phe phe_en pmm pmm_en
bogomips        : 799.93
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 32 bits virtual
power management:

$ lsmod
Module                  Size  Used by
acpi_cpufreq           12807  1
mperf                  12421  1 acpi_cpufreq
cpufreq_powersave      12422  0
cpufreq_stats          12762  0
cpufreq_userspace      12520  0
cpufreq_conservative    12987  0
bnep                   17288  2
rfcomm                 28564  0
bluetooth             103666  10 bnep,rfcomm
crc16                  12327  1 bluetooth
via                    34703  2
drm                   129839  3 via
fuse                   52153  1
loop                   17804  0
i2c_algo_bit           12713  0
snd_hda_codec_via      32166  1
snd_hda_intel          21725  2
snd_hda_codec          58429  2 snd_hda_codec_via,snd_hda_intel
snd_hwdep              12943  1 snd_hda_codec
arc4                   12418  2
joydev                 17010  0
snd_pcm                53258  2 snd_hda_intel,snd_hda_codec
snd_timer              22356  1 snd_pcm
snd                    38551  10 snd_hda_codec_via,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore              12921  1 snd
i2c_viapro             12451  0
rtl8187                30849  0
evdev                  17225  12
snd_page_alloc         12867  2 snd_hda_intel,snd_pcm
psmouse                46143  0
shpchp                 26717  0
uvcvideo               56932  0
mac80211              166120  1 rtl8187
videodev               61627  1 uvcvideo
cfg80211              113073  2 rtl8187,mac80211
pci_hotplug            26600  1 shpchp
media                  13692  2 uvcvideo,videodev
rfkill                 18516  3 bluetooth,cfg80211
eeprom_93cx6           12423  1 rtl8187
pcspkr                 12515  0
serio_raw              12738  0
i2c_core               19116  4 drm,i2c_algo_bit,i2c_viapro,videodev
video                  17412  0
battery                12957  0
processor              27389  2 acpi_cpufreq
ac                     12552  0
button                 12817  0
power_supply           13283  2 battery,ac
ext3                  138178  1
jbd                    47307  1 ext3
mbcache                12897  1 ext3
ums_realtek            12961  0
usb_storage            35183  1 ums_realtek
uas                    13096  0
sg                     21476  0
sd_mod                 35425  3
crc_t10dif             12332  1 sd_mod
ata_generic            12439  0
pata_via               12733  2
libata                124945  2 ata_generic,pata_via
8139too                22028  0
8139cp                 22212  0
mii                    12595  2 8139too,8139cp
uhci_hcd               22337  0
ehci_hcd               35509  0
usbcore               100005  8 rtl8187,uvcvideo,ums_realtek,usb_storage,uas,uhci_hcd,ehci_hcd
scsi_mod              135128  5 usb_storage,uas,sg,sd_mod,libata
fan                    12594  0
thermal                13103  0
thermal_sys            17752  4 video,processor,fan,thermal

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
Bus 001 Device 003: ID 5986:0101 Acer, Inc USB2.0 Camera
Bus 001 Device 004: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader


-- 
Tzafrir Cohen         | tzafrir at jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir at cohens.org.il |                    |  best
tzafrir at debian.org    |                    | friend




More information about the Openchrome-users mailing list