Bug 180023 - x11/xorg: xorg (WITH_NEW_XORG) on 10-CURRENT i386 crashes or hard lock kernel
Summary: x11/xorg: xorg (WITH_NEW_XORG) on 10-CURRENT i386 crashes or hard lock kernel
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-27 09:50 UTC by Matthias Apitz
Modified: 2016-01-16 19:39 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Apitz 2013-06-27 09:50:00 UTC
I've done on an empty VM i386 with 10-CURRENT r250588 and ports r319094
the following xorg compilation:

    /etc/make.conf:

    WITH_NEW_XORG=yes
    WITHOUT_HAL=yes
    WITHOUT_PKGNG=yes

    # rm -rf /usr/local/* /var/db/pkg/* /compat/linux/*
    # cd /usr/ports/x11/xorg 
    # make install clean BATCH=yes WITH_DEBUG=yes

Then I've created packages from the installed ports (based on the names
in /var/db/pkg) and moved them to my laptop with:

    # cd /var/db/pkg
    # pkg_delete -f xorg*
    # pkg_delete -f xf86-*
    # cd PKGDIR-r250588-ports.r319094-auroraVM
    # pkg_add xorg-7.7.tgz

The Xorg comes up fine but crashes and shows the following symptoms (I run
the 'startx' from a SSH session):

1. an intent to switch to another console with CTRL-ALT-F1 hard locks
the system;
2. after reboot and next 'startx', an attempt to start a 'xterm' crashes
the system to auto reboot;
3. after next reboot, 'startx' crashes the system without X coming up

I'm attaching a Xorg.log.0
Comment 1 Matthias Apitz 2013-06-27 13:13:52 UTC
I have compiled x11/xorg with USE_GCC=any and installed it on my laptop;
the crash on Ctrl-Alt-F1 is the same with GCC as compiler; 

both Xorg.log.0 files are here:

http://www.unixarea.de/Xorg.0.log-WITH_NEW_XORG-GCC
http://www.unixarea.de/Xorg.0.log-WITH_NEW_XORG-clang
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2013-06-27 18:59:58 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-x11

Over to maintainer(s).
Comment 3 Niclas Zeising freebsd_committer freebsd_triage 2013-06-27 19:11:53 UTC
State Changed
From-To: open->suspended

VT switching is broken with the intel KMS driver.  This is currently being 
worked on, but will take time.  Suspend this in the meantime.
Comment 4 Matthias Apitz 2013-06-27 20:38:58 UTC
Please note, that VT switch is only one part of the raised problems. The
Xorg server crashes (reboots) the kernel itself on startup ('startx') or
when it comes up fully it crashes the system on a start of an
application ('xterm'). Thanks
Comment 5 Niclas Zeising freebsd_committer freebsd_triage 2013-06-27 22:29:24 UTC
State Changed
From-To: suspended->open

reopen this, the issue is with more than just VT switching.
Comment 6 Carlo Strub freebsd_committer freebsd_triage 2014-09-14 10:34:04 UTC
Is this PR still relevant?
Comment 7 Martin Wilke freebsd_committer freebsd_triage 2016-01-16 19:39:55 UTC
Close after almost 2 years feedback timeout, also WITH_NEW_XORG is no longer existing.

Thanks for your report.