Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X won't start - [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 771

PostPosted: Fri May 25, 2012 6:28 pm    Post subject: X won't start - [SOLVED] Reply with quote

Hi!

After a fresh install on an older Mac-mini, everything works except starting X.

I can log on to the physical terminal and type startx but what happens is the screen clears to black and the (unblinking) text-mode cursor moves to the top-left of the screen.

I must ssh log-in from another machine to restart the computer. The computer is NOT locked up, only the physical terminal is locked-up.

Having NO xorg.conf or an xorg.conf that is known to work makes no difference.

Ideas, anyone?

Thanks!

Code:
emerge --info
Quote:
Portage 2.1.10.49 (default/linux/powerpc/ppc32/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r3, 3.2.1-gentoo-r2 ppc)
=================================================================
System uname: Linux-3.2.1-gentoo-r2-ppc-7447A,_altivec_supported-with-gentoo-2.0.3
Timestamp of tree: Tue, 22 May 2012 21:00:01 +0000
app-shells/bash: 4.2_p20
dev-lang/python: 2.7.3-r1, 3.2.3
dev-util/cmake: 2.8.6-r4
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.5-r2
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-Os -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gnome gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppc ppds pppd qt3support qt4 readline sdl session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Code:
cat /var/log/Xorg.0.log
Quote:
[ 87.946]
X.Org X Server 1.12.1
Release Date: 2012-04-13
[ 87.946] X Protocol Version 11, Revision 0
[ 87.946] Build Operating System: Linux 3.2.1-gentoo-r2 ppc Gentoo
[ 87.947] Current Operating System: Linux tiny 3.2.1-gentoo-r2 #1 Sat May 19 21:24:56
[ 87.947] Kernel command line: root=/dev/hda3 ro
[ 87.947] Build Date: 20 May 2012 11:13:01AM
[ 87.947]
[ 87.947] Current version of pixman: 0.24.0
[ 87.948] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 87.948] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 87.949] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May 25 15:21:47 2012
[ 88.033] (==) Using config file: "/etc/X11/xorg.conf"
[ 88.033] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 88.048] (==) No Layout section. Using the first Screen section.
[ 88.049] (**) |-->Screen "Default Screen" (0)
[ 88.049] (**) | |-->Monitor "Configured Monitor"
[ 88.049] (**) | |-->Device "Configured Video Device"
[ 88.049] (==) Automatically adding devices
[ 88.049] (==) Automatically enabling devices
[ 88.049] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[ 88.049] Entry deleted from font path.
[ 88.049] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 88.049] Entry deleted from font path.
[ 88.049] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 88.049] Entry deleted from font path.
[ 88.049] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 88.050] Entry deleted from font path.
[ 88.050] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[ 88.050] Entry deleted from font path.
[ 88.050] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[ 88.050] Entry deleted from font path.
[ 88.050] (==) FontPath set to:

[ 88.050] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 88.050] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 88.050] (II) Loader magic: 0x1017e568
[ 88.050] (II) Module ABI versions:
[ 88.050] X.Org ANSI C Emulation: 0.4
[ 88.050] X.Org Video Driver: 12.0
[ 88.050] X.Org XInput driver : 16.0
[ 88.050] X.Org Server Extension : 6.0
[ 88.051] (--) PCI:*(0:0:16:0) 1002:5962:1002:5962 rev 1, Mem @ 0x98000000/134217728, 0x90000000/65536, I/O @ 0x00000400/256, BIOS @ 0x????????/131072
[ 88.051] (II) Open APM successful
[ 88.051] (II) LoadModule: "extmod"
[ 88.181] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 88.206] (II) Module extmod: vendor="X.Org Foundation"
[ 88.206] compiled for 1.12.1, module version = 1.0.0
[ 88.206] Module class: X.Org Server Extension
[ 88.206] ABI class: X.Org Server Extension, version 6.0
[ 88.206] (II) Loading extension MIT-SCREEN-SAVER
[ 88.206] (II) Loading extension XFree86-VidModeExtension
[ 88.206] (II) Loading extension XFree86-DGA
[ 88.206] (II) Loading extension DPMS
[ 88.206] (II) Loading extension XVideo
[ 88.206] (II) Loading extension XVideo-MotionCompensation
[ 88.206] (II) Loading extension X-Resource
[ 88.206] (II) LoadModule: "dbe"
[ 88.207] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 88.220] (II) Module dbe: vendor="X.Org Foundation"
[ 88.220] compiled for 1.12.1, module version = 1.0.0
[ 88.220] Module class: X.Org Server Extension
[ 88.220] ABI class: X.Org Server Extension, version 6.0
[ 88.220] (II) Loading extension DOUBLE-BUFFER
[ 88.220] (II) LoadModule: "glx"
[ 88.221] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 88.249] (II) Module glx: vendor="X.Org Foundation"
[ 88.249] compiled for 1.12.1, module version = 1.0.0
[ 88.249] ABI class: X.Org Server Extension, version 6.0
[ 88.249] (==) AIGLX enabled
[ 88.249] (II) Loading extension GLX
[ 88.249] (II) LoadModule: "record"
[ 88.249] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 88.259] (II) Module record: vendor="X.Org Foundation"
[ 88.259] compiled for 1.12.1, module version = 1.13.0
[ 88.259] Module class: X.Org Server Extension
[ 88.259] ABI class: X.Org Server Extension, version 6.0
[ 88.259] (II) Loading extension RECORD
[ 88.259] (II) LoadModule: "dri"
[ 88.275] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 88.372] (II) Module dri: vendor="X.Org Foundation"
[ 88.372] compiled for 1.12.1, module version = 1.0.0
[ 88.372] ABI class: X.Org Server Extension, version 6.0
[ 88.372] (II) Loading extension XFree86-DRI
[ 88.373] (II) LoadModule: "dri2"
[ 88.373] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 88.373] (II) Module dri2: vendor="X.Org Foundation"
[ 88.373] compiled for 1.12.1, module version = 1.2.0
[ 88.373] ABI class: X.Org Server Extension, version 6.0
[ 88.373] (II) Loading extension DRI2
[ 88.373] (==) Matched ati as autoconfigured driver 0
[ 88.374] (==) Matched fbdev as autoconfigured driver 1
[ 88.374] (==) Assigned the driver to the xf86ConfigLayout
[ 88.374] (II) LoadModule: "ati"
[ 88.436] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[ 88.444] (II) Module ati: vendor="X.Org Foundation"
[ 88.444] compiled for 1.12.1, module version = 6.14.3
[ 88.444] Module class: X.Org Video Driver
[ 88.444] ABI class: X.Org Video Driver, version 12.0
[ 88.444] (II) LoadModule: "radeon"
[ 88.444] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[ 88.559] (II) Module radeon: vendor="X.Org Foundation"
[ 88.559] compiled for 1.12.1, module version = 6.14.3
[ 88.559] Module class: X.Org Video Driver
[ 88.559] ABI class: X.Org Video Driver, version 12.0
[ 88.564] (II) LoadModule: "fbdev"
[ 88.589] (WW) Warning, couldn't open module fbdev
[ 88.589] (II) UnloadModule: "fbdev"
[ 88.589] (II) Unloading fbdev
[ 88.589] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 88.589] (II) RADEON: Driver for ATI Radeon chipsets:

[...] lines deleted for brevity

[ 88.596] (--) using VT number 7

[ 88.639] (II) [KMS] drm report modesetting isn't supported.


Code:
lspci -v
Quote:
0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 AGP
Flags: bus master, 66MHz, medium devsel, latency 16
Capabilities: [80] AGP version 1.0
Kernel driver in use: agpgart-uninorth
Kernel modules: uninorth-agp

0000:00:10.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV280 [Radeon 9200] (rev 01) (prog-if 00 [VGA controller])
Subsystem: Advanced Micro Devices [AMD] nee ATI RV280 [Radeon 9200]
Flags: bus master, 66MHz, medium devsel, latency 255, IRQ 48
Memory at 98000000 (32-bit, prefetchable) [size=128M]
I/O ports at 0400 [size=256]
Memory at 90000000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at 90020000 [size=128K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2
Kernel driver in use: radeonfb


0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 PCI
Flags: bus master, 66MHz, medium devsel, latency 16
Kernel modules: uninorth-agp

0001:10:12.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
Subsystem: Apple Computer Inc. AirPort Extreme
Flags: bus master, fast devsel, latency 16, IRQ 52
Memory at 80084000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb

0001:10:17.0 Unassigned class [ff00]: Apple Computer Inc. KeyLargo/Intrepid Mac I/O
Flags: bus master, medium devsel, latency 16
Memory at 80000000 (32-bit, non-prefetchable) [size=512K]
Kernel driver in use: macio

0001:10:18.0 USB controller: Apple Computer Inc. KeyLargo/Intrepid USB (prog-if 10 [OHCI])
Flags: medium devsel, IRQ 27

0001:10:19.0 USB controller: Apple Computer Inc. KeyLargo/Intrepid USB (prog-if 10 [OHCI])
Flags: medium devsel, IRQ 28

0001:10:1a.0 USB controller: Apple Computer Inc. KeyLargo/Intrepid USB (prog-if 10 [OHCI])
Flags: bus master, medium devsel, latency 16, IRQ 29
Memory at 80083000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd

0001:10:1b.0 USB controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
Subsystem: NEC Corporation Hama USB 2.0 CardBus
Flags: bus master, medium devsel, latency 16, IRQ 63
Memory at 80082000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
Kernel driver in use: ohci_hcd

0001:10:1b.1 USB controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
Subsystem: NEC Corporation Hama USB 2.0 CardBus
Flags: bus master, medium devsel, latency 16, IRQ 63
Memory at 80081000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
Kernel driver in use: ohci_hcd

0001:10:1b.2 USB controller: NEC Corporation USB 2.0 (rev 04) (prog-if 20 [EHCI])
Subsystem: NEC Corporation USB 2.0
Flags: bus master, medium devsel, latency 16, IRQ 63
Memory at 80080000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd

0002:20:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 Internal PCI
Flags: bus master, 66MHz, medium devsel, latency 16
Kernel modules: uninorth-agp

0002:20:0d.0 Unassigned class [ff00]: Apple Computer Inc. UniNorth/Intrepid ATA/100
Flags: bus master, medium devsel, latency 32, IRQ 39
Memory at f5004000 (32-bit, non-prefetchable) [size=16K]
Kernel driver in use: ide-pmac

0002:20:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth 2 FireWire (rev 81) (prog-if 10 [OHCI])
Subsystem: Apple Computer Inc. iBook G4 2004
Flags: medium devsel, IRQ 40
Memory at f5000000 (32-bit, non-prefetchable) [disabled] [size=4K]
Capabilities: [44] Power Management version 2

0002:20:0f.0 Ethernet controller: Apple Computer Inc. UniNorth 2 GMAC (Sun GEM) (rev 80)
Flags: bus master, 66MHz, slow devsel, latency 16, IRQ 41
Memory at f5200000 (32-bit, non-prefetchable) [size=2M]
Expansion ROM at f5100000 [disabled] [size=1M]
Kernel driver in use: gem


Code:
relevant x11 modules
Quote:
x11-base/xorg-drivers-1.12
x11-base/xorg-server-1.12.1
x11-drivers/xf86-input-evdev-2.6.0
x11-drivers/xf86-video-ati-6.14.3


Last edited by Progman3K on Wed Jun 06, 2012 3:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Fri May 25, 2012 7:19 pm    Post subject: Reply with quote

First of all, your kernel is more than recent enough, so stop using radeonfb.
But other than that, it seem everything is working correctly, startx doesn't do anything noteworthy on its own, you need some clients (a window manager at very least).
If the mouse cursor doesn't move, then you failed to post a large enough portion of the xorg log - pastebin a complete one.
It might be a matter of udev not marking the input devices correctly - check the nodes with 'udevadm info'.

On a not quite related note: 'root=/dev/hda3' says you're at least one migration short.
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 771

PostPosted: Fri May 25, 2012 8:04 pm    Post subject: Reply with quote

Hi VoidMage! Thanks for taking the time to respond!

OK, I performed a make pmac32_defconfig to configure the kernel initially, so I believe that is what selected radeonfb, since Ì don't remember specifically selecting it.
What other option do I have? What should I be using? I tried fbdev too, same result, but that might be because of a kernel module conflict with radeonfb... Not sure, so feel free to tell me which options I should set/clear..

As an aside, I tried unselecting things I knew for sure were not needed, but that ends up making the machine boot without a working network card for some reason...

Gnome and GDM are installed, and letting GDM start up by itself results in the same black screen.

About the cursor: There is no mouse cursor, it is a black text-mode screen, with a text-mode cursor, the one just before switching into graphics mode.

That IS the complete xorg log I posted. I did edit out the canned supported graphic card models listing because I thought it wasn't relevant. If it appears incomplete, it is because X is locking up as it generates the log and the last line posted is the last line X emitted.

I also tried X -configure but I read that that is no longer supported? Here is its output, in case I am wrong about that:
Quote:
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/tiny:0
XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X.Org X Server 1.12.1
Release Date: 2012-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.1-gentoo-r2 ppc Gentoo
Current Operating System: Linux tiny 3.2.1-gentoo-r2 #1 Sat May 19 21:24:56 Local time
Kernel command line: root=/dev/hda3 ro
Build Date 20 May 2012 11:13:01AM

Current version of pixman: 0.24.0
List of video drivers:
radeon
ati
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] No DRICreatePCIBusID symbol, no kernel modesetting.
X: symbol lookup error: /usr/lib/modules/drivers/radeon_drv.so: undefined symbol: pciTag


About hda vs sda: I know what you mean but as I mentioned, it is the initial kernel config that makes it that way because no sdx devices exist once the kernel has booted. If you have a tip on how to fix that one or a link to info on how to resolve that, please post it.

udevadm info --export-db
http://pastebin.com/qCihVgnG
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Fri May 25, 2012 8:32 pm    Post subject: Reply with quote

Progman3K wrote:
I performed a make pmac32_defconfig

OK, so you've got a broken kernel...well, actually a not fully functional one, but same difference.

Pastebin your kernel config - perhaps somebody will find time to point out most of the things, that are wrong with it.
For the moment, according to the udevadm output (not quite the one I asked for, but good enough), you don't have a mouse.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri May 25, 2012 8:47 pm    Post subject: Re: X won't start Reply with quote

Progman3K wrote:
Hi!
I must ssh log-in from another machine to restart the computer. The computer is NOT locked up, only the physical terminal is locked-up.
Ideas, anyone?


Yep, one: ease your testings with
Code:
startx & sleep 30 && kill `pidof X`
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 771

PostPosted: Fri May 25, 2012 8:58 pm    Post subject: mac-mini kernel config Reply with quote

Code:
zcat /proc/config.gz

http://pastebin.com/tt7CvNAG

OK Thanks, VoidMage, I'll also keep reading, this mac-mini worked well running Gentoo for a long time, no reason it shouldn't now
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 771

PostPosted: Fri May 25, 2012 9:13 pm    Post subject: Re: X won't start Reply with quote

krinn wrote:
Code:
startx & sleep 30 && kill `pidof X`

I think I understand what you're going for but it doesn't appear to work...
I tried the command at the physical console, as you wrote it...

If I log in as root through ssh and type pidof X while terminal 1 is apparently locked-up running X, it returns nothing. I take it that means X is not running?

EDIT: X is definitely NOT running, here's the output of ps -A
Quote:
PID TTY TIME CMD
1 ? 00:00:00 init
2 ? 00:00:00 kthreadd
3 ? 00:00:00 ksoftirqd/0
4 ? 00:00:00 kworker/0:0
5 ? 00:00:00 kworker/u:0
6 ? 00:00:00 khelper
7 ? 00:00:00 netns
8 ? 00:00:00 kworker/u:1
145 ? 00:00:00 sync_supers
147 ? 00:00:00 bdi-default
149 ? 00:00:00 kblockd
160 ? 00:00:00 khubd
250 ? 00:00:00 rpciod
252 ? 00:00:00 kworker/0:1
258 ? 00:00:00 khungtaskd
262 ? 00:00:00 kswapd0
331 ? 00:00:00 fsnotify_mark
345 ? 00:00:00 nfsiod
349 ? 00:00:00 crypto
870 ? 00:00:00 kapmd
1053 ? 00:00:00 kjournald
1165 ? 00:00:00 udevd
1335 ? 00:00:00 cfg80211
1933 ? 00:00:00 dbus-daemon
2060 ? 00:00:00 dhcpcd
2114 ? 00:00:00 syslog-ng
2115 ? 00:00:00 syslog-ng
2134 ? 00:00:00 sshd
2165 ? 00:00:00 cron
2178 tty1 00:00:00 login
2179 tty2 00:00:00 agetty
2180 tty3 00:00:00 agetty
2181 tty4 00:00:00 agetty
2182 tty5 00:00:00 agetty
2183 tty6 00:00:00 agetty
2185 ? 00:00:00 console-kit-dae
2252 ? 00:00:00 polkitd
2262 tty1 00:00:00 bash
2317 ? 00:00:00 flush-3:0
2354 ? 00:00:01 sshd
2366 pts/0 00:00:00 bash
2381 ? 00:00:00 sshd
2393 pts/1 00:00:00 bash
2449 ? 00:00:00 udevd
2450 ? 00:00:00 udevd
2481 pts/1 00:00:00 ps

Yet the physical terminal is still displaying a black screen and apparently locked-up...
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri May 25, 2012 9:33 pm    Post subject: Re: X won't start Reply with quote

Progman3K wrote:

If I log in as root through ssh and type pidof X while terminal 1 is apparently locked-up running X, it returns nothing. I take it that means X is not running?


Correct. This then mean your X isn't locked-up, just that your console now is black (and by the error you report i suppose the radeon driver is bitching your card).

I know 0 to radeon, and 0 to mac, so i couldn't help you for that part, but i were you :
NeddySeagoon has shown many many times to (many many) users how to setup a radeon card, dig radeon thread with his name in it, your answer is there i'm 99.9% sure.
I've saw him so many times saying it that i could have learned it, if i didn't learned before to never brought again an ati card :)
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Fri May 25, 2012 9:49 pm    Post subject: Reply with quote

List of some of the needed changes (+ a couple of my prefs):
Code:
CONFIG_KERNEL_XZ=y
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_IDE not set
CONFIG_ATA=y
CONFIG_LEGACY_PTYS not set
CONFIG_HPET=y (if valid for the platform)
CONFIG_DRM_RADEON_KMS=y
CONFIG_FB_RADEON not set
CONFIG_SND_HRTIMER=y
CONFIG_SND_SUPPORT_OLD_API not set
CONFIG_USB_DEVICEFS not set
CONFIG_USB_HIDDEV=y
CONFIG_EXT2_FS not set
CONFIG_EXT3_FS not set
CONFIG_EXT4_USE_FOR_EXT23=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y


This by no means covers all, use menuconfig (and restraint), just be sure to select correct CONFIG_ATA driver for your IDE controler chipset (obviously, you'll need to correct the root= value for grub then).
Also, post 'emerge -1pv mesa libdrm xf86-video-ati'.
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 771

PostPosted: Fri May 25, 2012 10:11 pm    Post subject: Re: X won't start Reply with quote

krinn wrote:
learned before to never brought again an ati card :)

Same here, I avoid ATI products because I've never had anything but trouble with them.

But in the case of the Mac-mini, it is an on-board card, so no choice.

I'll read up on Neddy's threads, thank you!
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 771

PostPosted: Mon May 28, 2012 3:36 pm    Post subject: Reply with quote

VoidMage wrote:
post 'emerge -1pv mesa libdrm xf86-video-ati'.
Quote:
[ebuild R ] x11-libs/libdrm-2.4.27 USE="-libkms -static-libs" VIDEO_CARDS="radeon (-intel) -nouveau (-vmware)" 480 kB
[ebuild R ] media-libs/mesa-7.11.2 USE="classic egl gallium llvm nptl shared-glapi -bindist -debug -gbm -gles -motif -openvg -osmesa -pax_kernel -pic (-selinux) -shared-dricore" VIDEO_CARDS="radeon (-intel) -mach64 -mga -nouveau -r128 -savage (-sis) -tdfx (-via) (-vmware)" 6,115 kB
[ebuild R ] x11-drivers/xf86-video-ati-6.14.3 1,088 kB

Sorry didn't see your message at first!

What VIDEO_CARD (in /etc/make.conf ) should I be using?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Mon May 28, 2012 4:25 pm    Post subject: Reply with quote

It's VIDEO_CARDS and 'radeon' is fine in mesa 7 (mesa 8 is a bit more fine grained, but the value is still valid there). For something as old as 9200, gallium is pointless - it needs to be at least r300.
The missing symbol is (or at least should be) present in extensions/libdri.so (it belongs to xorg-server), add USE=libkms just in case.
Check 'eselect opengl' and 'eselect mesa'.
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 771

PostPosted: Mon May 28, 2012 7:47 pm    Post subject: Success! Reply with quote

VoidMage wrote:
It's VIDEO_CARDS and 'radeon' is fine in mesa 7 (mesa 8 is a bit more fine grained, but the value is still valid there). For something as old as 9200, gallium is pointless - it needs to be at least r300.
The missing symbol is (or at least should be) present in extensions/libdri.so (it belongs to xorg-server), add USE=libkms just in case.
Check 'eselect opengl' and 'eselect mesa'.


OK, following your recommendations, X now starts!

One detail; there is only the x11-xorg implementation of OpenGL listed when I do eselect opengl list.

One thing which is different now is that before, the xorg.conf I used to enable the mac to use a television (with a dvi-to-svideo adapter) as a display doesn't work properly... The resolution is still the proper one for the TV (800x600) but now the refresh rate causes the television to display a garbled, snowy image.

I suspect it is probably the modeline support changing that has done that.

Here's the xorg.conf I used to use to drive the TV:

-----------------------------------------------------
Section "Device"
Identifier "Configured Video Device"
BusID "PCI:0:16:0"
Option "UseFBDev" "true"
Option "IgnoreEDID" "true"
Option "DDCMode" "false"
Option "ForceTVOut" "true"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
DisplaySize 240 135
HorizSync 31.5-37.9
VertRefresh 59.9-60.1
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"
Depth 24
Modes "800x600"
EndSubSection
EndSection
-----------------------------------------------------

Any ideas how I can get that to work again?
Thanks for all your help!


Last edited by Progman3K on Tue May 29, 2012 1:15 am; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue May 29, 2012 1:07 am    Post subject: Reply with quote

Well, as for other opengl implementations, I'm aware of it's ati and nvdia binary blobs.

As for dual display, no clue - just try playing with xrandr first.
Back to top
View user's profile Send private message
miroR
l33t
l33t


Joined: 05 Mar 2008
Posts: 826

PostPosted: Sat Nov 10, 2012 5:33 am    Post subject: Reply with quote

VoidMage wrote:
List of some of the needed changes (+ a couple of my prefs):
Code:
CONFIG_KERNEL_XZ=y
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_IDE not set
CONFIG_ATA=y
CONFIG_LEGACY_PTYS not set
CONFIG_HPET=y (if valid for the platform)
CONFIG_DRM_RADEON_KMS=y
CONFIG_FB_RADEON not set
CONFIG_SND_HRTIMER=y
CONFIG_SND_SUPPORT_OLD_API not set
CONFIG_USB_DEVICEFS not set
CONFIG_USB_HIDDEV=y
CONFIG_EXT2_FS not set
CONFIG_EXT3_FS not set
CONFIG_EXT4_USE_FOR_EXT23=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y


This by no means covers all, use menuconfig (and restraint), just be sure to select correct CONFIG_ATA driver for your IDE controler chipset (obviously, you'll need to correct the root= value for grub then).
Also, post 'emerge -1pv mesa libdrm xf86-video-ati'.

In similar circumstances ( https://forums.gentoo.org/viewtopic-t-940916-start-25-postdays-0-postorder-asc-highlight-.html#7181490 ), the above has just got me back into X.
Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum