[RESOLVED] Atom D510 - 6.0 updated to 6.1 - became confused about monitor configuration

Issues related to hardware problems
jimbux
Posts: 36
Joined: 2011/11/28 18:23:13
Contact:

[RESOLVED] Atom D510 - 6.0 updated to 6.1 - became confused about monitor configuration

Post by jimbux » 2011/12/10 23:38:36

I already found a work-around for this issue I'm about to describe, but I don't know what is causing the initial problem. It might be instructive (and helpful for others with similar issues) to bring this to folk's attention.

I just installed CentOS 6.0 on my Atom D510 machine (a desktop machine I built myself), gnome launched fine etc. Immediately did a "yum update" and got all the new 6.1 stuff. When it booted back up to gnome after the updates completed, I couldn't see the panels, nor icons but could see the blue graphic desktop image. I could right click on the desktop and bring up a menu, so I could launch a terminal window. It struck me that the desktop image seemed slightly zoomed in so it clued me into that perhaps the screen resolution was off?

I launched "gnome-display-properties" and sure enough, the system was thinking that I have two monitors (which I do not). It correctly identified my 'NEC Corp 22"' display, but also thinks there's a "Laptop" screen attached. I turned off the laptop screen, so that ONLY the NEC monitor is active, and all is well again. That is, the desktop looks correct, I can see the panels and icons etc.

FYI, in case it's relevant. The monitor is hooked up to the Atom D510 Machine via a 4-way KVM switch, FWIW.

Anyway, everything is working fine, but curious why perhaps the system thinks I have a laptop monitor attached? Note that it was working correctly under 6.0. I have other machines (however this is the only Atom machine) that I'm also updating, and they seem fine after the update to 6.1.

I almost want to post "SOLVED" in the title, but since I don't know what caused the intial problem, I figured we'd leave it open. At least this has a work-around if anyone else trips over this issue.

Here are my machine specs (with some networking data snipped out). Sorry if it's TMI...

[code]
== BEGIN uname -rmi ==
2.6.32-131.21.1.el6.x86_64 x86_64 x86_64
== END uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
centos-release-6-1.el6.centos.6.x86_64
== END rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS release 6.1 (Final)
== END cat /etc/redhat-release ==

== BEGIN getenforce ==
Enforcing
== END getenforce ==

== BEGIN free -m ==
total used free shared buffers cached
Mem: 1990 1078 911 0 34 629
-/+ buffers/cache: 414 1575
Swap: 3999 0 3999
== END free -m ==

== BEGIN rpm -qa yum\* rpm-\* python | sort ==
python-2.6.6-20.el6.x86_64
rpm-build-4.8.0-16.el6_1.1.x86_64
rpm-libs-4.8.0-16.el6_1.1.x86_64
rpm-python-4.8.0-16.el6_1.1.x86_64
yum-3.2.29-17.el6.centos.1.noarch
yum-metadata-parser-1.1.2-16.el6.x86_64
yum-plugin-fastestmirror-1.1.30-6.el6.noarch
yum-utils-1.1.30-6.el6.noarch
== END rpm -qa yum\* rpm-\* python | sort ==

== BEGIN ls /etc/yum.repos.d ==
CentOS-Base.repo
CentOS-Debuginfo.repo
CentOS-Media.repo
google-chrome.repo
== END ls /etc/yum.repos.d ==

== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
== END cat /etc/yum.conf ==

== BEGIN yum repolist all ==
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: linux.mirrors.es.net
* extras: centos.mirrors.hoobly.com
* updates: mirrors.versaweb.com
repo id repo name status
base CentOS-6 - Base enabled: 6,188
c6-media CentOS-6 - Media disabled
centosplus CentOS-6 - Plus disabled
contrib CentOS-6 - Contrib disabled
debug CentOS-6 - Debuginfo disabled
extras CentOS-6 - Extras enabled: 3
google-chrome google-chrome enabled: 3
updates CentOS-6 - Updates enabled: 1,253
repolist: 7,447
== END yum repolist all ==

== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== END egrep 'include|exclude' /etc/yum.repos.d/*.repo ==

== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
== END sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==

== BEGIN cat /etc/fstab ==
# /etc/fstab
# Created by anaconda on Fri Dec 9 22:45:47 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_warmjets-lv_root / ext3 defaults,noatime,nodiratime 1 1
UUID=afa6f8e5-477a-43a7-8e18-e7f6726514c9 /boot ext3 defaults 1 2
/dev/mapper/vg_warmjets-lv_home /home ext3 defaults 1 2
/dev/mapper/vg_warmjets-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
== END cat /etc/fstab ==

== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_warmjets-lv_root
50G 4.8G 42G 11% /
tmpfs 996M 564K 995M 1% /dev/shm
/dev/sda1 485M 51M 409M 11% /boot
/dev/mapper/vg_warmjets-lv_home
94G 238M 89G 1% /home
== END df -h ==

== BEGIN fdisk -l ==
Disk /dev/mapper/vg_warmjets-lv_root doesn't contain a valid partition table
Disk /dev/mapper/vg_warmjets-lv_swap doesn't contain a valid partition table
Disk /dev/mapper/vg_warmjets-lv_home doesn't contain a valid partition table

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00055ae7

Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 19458 155777024 8e Linux LVM

Disk /dev/mapper/vg_warmjets-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_warmjets-lv_swap: 4194 MB, 4194304000 bytes
255 heads, 63 sectors/track, 509 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_warmjets-lv_home: 101.6 GB, 101632180224 bytes
255 heads, 63 sectors/track, 12356 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

== END fdisk -l ==

== BEGIN blkid ==
/dev/sda1: UUID="afa6f8e5-477a-43a7-8e18-e7f6726514c9" TYPE="ext3"
/dev/sda2: UUID="3z3Cw8-5YMB-HX7p-r8MB-kMJH-Y2NU-CZV39P" TYPE="LVM2_member"
/dev/mapper/vg_warmjets-lv_root: UUID="9e2eea00-a047-468d-a154-8da891a87936" TYPE="ext3"
/dev/mapper/vg_warmjets-lv_swap: UUID="66b90eac-007e-451e-aacf-b51ec6770755" TYPE="swap"
/dev/mapper/vg_warmjets-lv_home: UUID="dd48b1d2-b70b-4d66-991f-73691d7c3bd3" TYPE="ext3"
== END blkid ==

== BEGIN cat /proc/mdstat ==
Personalities :
unused devices: <none>
== END cat /proc/mdstat ==

== BEGIN pvs ==
PV VG Fmt Attr PSize PFree
/dev/sda2 vg_warmjets lvm2 a- 148.56g 0
== END pvs ==

== BEGIN vgs ==
VG #PV #LV #SN Attr VSize VFree
vg_warmjets 1 3 0 wz--n- 148.56g 0
== END vgs ==

== BEGIN lvs ==
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
lv_home vg_warmjets -wi-ao 94.65g
lv_root vg_warmjets -wi-ao 50.00g
lv_swap vg_warmjets -wi-ao 3.91g
== END lvs ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-2.6.32-131.21.1.el6.x86_64
kernel-2.6.32-71.el6.x86_64
kernel-devel-2.6.32-131.21.1.el6.x86_64
kernel-devel-2.6.32-71.el6.x86_64
kernel-firmware-2.6.32-131.21.1.el6.noarch
kernel-headers-2.6.32-131.21.1.el6.x86_64
== END rpm -qa kernel\* | sort ==

== BEGIN lspci -nn ==
00:00.0 Host bridge [0600]: Intel Corporation N10 Family DMI Bridge [8086:a000] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation N10 Family Integrated Graphics Controller [8086:a001] (rev 02)
00:1b.0 Audio device [0403]: Intel Corporation N10/ICH 7 Family High Definition Audio Controller [8086:27d8] (rev 01)
00:1c.0 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 1 [8086:27d0] (rev 01)
00:1c.1 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 2 [8086:27d2] (rev 01)
00:1c.2 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 3 [8086:27d4] (rev 01)
00:1c.3 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 4 [8086:27d6] (rev 01)
00:1d.0 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 [8086:27c8] (rev 01)
00:1d.1 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 [8086:27c9] (rev 01)
00:1d.2 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 [8086:27ca] (rev 01)
00:1d.3 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 [8086:27cb] (rev 01)
00:1d.7 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller [8086:27cc] (rev 01)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e1)
00:1f.0 ISA bridge [0601]: Intel Corporation NM10 Family LPC Controller [8086:27bc] (rev 01)
00:1f.2 IDE interface [0101]: Intel Corporation N10/ICH7 Family SATA IDE Controller [8086:27c0] (rev 01)
00:1f.3 SMBus [0c05]: Intel Corporation N10/ICH 7 Family SMBus Controller [8086:27da] (rev 01)
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
== END lspci -nn ==

== BEGIN lsusb ==
Bus 005 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 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0764:0005 Cyber Power System, Inc. Cyber Power UPS
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 0557:2213 ATEN International Co., Ltd CS682 2-Port USB 2.0 DVI KVM Switch
Bus 001 Device 004: ID 0557:8021 ATEN International Co., Ltd
Bus 001 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
== END lsusb ==

== BEGIN grep net /etc/nsswitch.conf ==
#networks: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
netmasks: files
networks: files
netgroup: nisplus
== END grep net /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
wpa_supplicant 0:off 1:off 2:off 3:off 4:off 5:off 6:off
== END chkconfig --list | grep -Ei 'network|wpa' ==

[/code]

nosebreaker
Posts: 72
Joined: 2010/08/09 16:10:26

Re: Atom D510 - 6.0 updated to 6.1 - became confused about monitor configuration

Post by nosebreaker » 2011/12/28 22:02:51

I've seen KVM's do wonky things to VGA, I'm not an electrical engineer but I think it had something to do with the impedance on the line. Someone with more knowledge of how the desktop detects displays would have to comment further.

jimbux
Posts: 36
Joined: 2011/11/28 18:23:13
Contact:

Re: Atom D510 - 6.0 updated to 6.1 - became confused about monitor configuration

Post by jimbux » 2011/12/29 04:39:03

Hi Folks - my work around (above) no longer works properly, so my trouble is no longer just a curiosity, I need to figure out a real fix.

I just upgraded this same Atom D510mo machine to 6.2 (from 6.1) but now the login screen doesn't appear anymore when I boot up (I only see an empty blue splash screen). Actually, I believe the login screen *IS* showing up - but I'll bet dollars to donuts that it's on the non-existent (supposedly attached) "Laptop" display (as I describe above). I say this because I can swing the mouse off to the far left (so the cursor goes off screen to the left) and I can type in my password and hit return a bunch of times (blindly) and at some point I get lucky hitting the right sequence at which point I'm logged in correctly (i.e.; the screen looks correct, for example the menus appear, it's the right size, and when I bring up "Display Preferences" it shows the inactive "Laptop" display that I turned off before.)

Anyway, I think I need access to something like the /etc/X11/xorg.conf file, but there isn't one on my system. I DO NOT have an nvidia card on this machine - the graphics card is the built in "Intel Corporation N10 Family Integrated Graphics Controller" on the board. I feel like if I could just get in and modify the configuration file (if there is one) that is thinking that there's an attached laptop display, and blow it away, that things might work. Or, on the other hand, if I can explicitly make an xorg.conf file, and exclude all but the one display, I bet I can get this to work. Or maybe there's kernel arguments I can use? I'm getting out of my depth now.

Anyway, I'm having a tough time figuring out how to make such a config file, or where it might be, or even if it is the /etc/X11/xorg.conf file that I'm wanting.

Any help trying to solve this is greatly appreciated. There's tons of stuff written about getting nvidia cards working, but very little on just using and configuring vanilla nouveau.

Eagerly awaiting your helpful hints.

Regards,
James.

User avatar
TrevorH
Forum Moderator
Posts: 26940
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Atom D510 - 6.0 updated to 6.1 - became confused about monitor configuration

Post by TrevorH » 2011/12/29 12:23:02

I found on two systems that I had graphics problems after the 6.2 update. One was using the nVidia driver and the other was an Intel based system. For the nVidia system I found that it had been using /etc/X11/XF86Config for its config file and I had to copy that to /etc/X11/xorg.conf to get it recognised with the new code. On the Intel system I had to boot in runlevel 3 (interrupt the boot at the grub splash screen, edit the kernel command line and append " 3" to the end of it and boot in command line only mode). On there I found that it had mysteriously erased the package xorg-x11-drv-intel and was attempting to use the vesa driver instead. I had to

[code]
yum install xorg-x11-drv-intel
X -configure
mv /root/xorg.conf.new /etc/X11/xorg.conf
[/code]

Not sure if any of this will be applicable to you but it might give you something to investigate.

jimbux
Posts: 36
Joined: 2011/11/28 18:23:13
Contact:

Re: Atom D510 - 6.0 updated to 6.1 - became confused about monitor configuration

Post by jimbux » 2011/12/30 05:43:20

Thanks for the suggestions Trevor,

Unfortunately the suggestions don't seem to help. At least I have an xorg.conf file now, but not sure if it's doing me any good. "X -configure" spewed out a bunch of error messages, some of which it said I could ignore, but it still created an xorg.conf.new file. I trimmed some stuff out of the xorg.conf.new file, and stuck it in /etc/X11/xorg.conf and rebooted, but the problem persists.

Also, that xorg-x11-drv-intel package was already properly installed (I "reinstalled" just to be safe) - but again, no help.

Anyone else have any thoughts of other things to try?

I guess perhaps I could submit a bug report?

Thanks again folks,
J.

User avatar
TrevorH
Forum Moderator
Posts: 26940
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Atom D510 - 6.0 updated to 6.1 - became confused about monitor configuration

Post by TrevorH » 2011/12/30 12:46:42

Can you post the /var/log/Xorg.0.log file to pastebin and provide a link here.

jimbux
Posts: 36
Joined: 2011/11/28 18:23:13
Contact:

Re: Atom D510 - 6.0 updated to 6.1 - became confused about monitor configuration

Post by jimbux » 2011/12/30 15:59:58

Sure thing, here it is:

[url=http://codeupload.com/4868]/var/log/Xorg.0.log[/url]

Thanks again for the effort, J.

User avatar
TrevorH
Forum Moderator
Posts: 26940
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Atom D510 - 6.0 updated to 6.1 - became confused about monitor configuration

Post by TrevorH » 2011/12/30 16:29:26

You're right, it seems to be trying to use two screens, one called LVDS1 at 1280x800 and the other on VGA1 at 1680x1050. The LVDS1 screen is the primary and the real monitor (presumably attached to the old style VGA port) is the secondary.

Can you post your newly created /etc/X11/xorg.conf to pastebin as well please? I think that we might be able to tell it to ignore LVDS1 and if we can't do that then we should be able to tell it to use VGA1 as the primary at least.

Ok, there's a bug report for Fedora 15 [url=https://bugzilla.redhat.com/show_bug.cgi?id=735536]here[/url] that says

[quote]
Workaround is to boot with 'video=LVDS-1:d' on the kernel command line to
disable the phantom LVDS output.
[/quote]

Edit #2: if that doesn't help then you might want to try it with LVDS1 instead of LVDS-1 in the override string.

jimbux
Posts: 36
Joined: 2011/11/28 18:23:13
Contact:

Re: Atom D510 - 6.0 updated to 6.1 - became confused about monitor configuration

Post by jimbux » 2011/12/30 17:00:38

Awesome, I'm going to try those kernel tweaks in a minute, but in the meantime, here's full disclosure on the xorg.conf files.

First, here's the output (error messages etc.) from running "X -configure":

[url=http://codeupload.com/4870]X -configure (messages)[/url]

Second, here's what it created in xorg.conf.new:

[url=http://codeupload.com/4871]xorg.conf.new[/url]

...and finally, here's my "shot in the dark" at trimming stuff out of xorg.conf.new, and sticking it in...

[url=http://codeupload.com/4872]/etc/X11/xorg.conf[/url]

...which I'm sure will have some embarrassingly dumb edits. :-)

J.

jimbux
Posts: 36
Joined: 2011/11/28 18:23:13
Contact:

Re: Atom D510 - 6.0 updated to 6.1 - became confused about monitor configuration

Post by jimbux » 2011/12/30 17:08:13

[quote]
TrevorH wrote:
[quote]
Workaround is to boot with 'video=LVDS-1:d' on the kernel command line to
disable the phantom LVDS output.
[/quote]
[/quote]

BING BING BING! We have a winner!

Trevor, you da man! Thanks, worked like a charm. All traces of phantom monitor gone. Doesn't show up in gnome-display-properties either.

Sweet - I hope this thread helps folks with similar problems in the future.

I owe you a beer Trevor. :-)

Post Reply

Return to “CentOS 6 - Hardware Support”