Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error starting X after the emerge --usepkg kde step
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
whitetornado
n00b
n00b


Joined: 29 Jan 2004
Posts: 10
Location: Montreal

PostPosted: Wed Feb 04, 2004 5:11 pm    Post subject: Error starting X after the emerge --usepkg kde step Reply with quote

Hi,

I am at the end of the install, I have done from stage one on up. I have my basics hardware running, my system boots fine, I did the kde install using the emerge --usepkg kde command which took all night to run (is that normal??) and this am when I did a reboot and it came back to the prompt screen and I am getting this error when I try to use startx command:

---------------------------

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.21-gss i686 [ELF]
Build Date: 30 January 2004
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Feb 4 06:38:43 2004
(EE) Unable to locate/open config file
(EE) Error from xf86HandleConfigFile()

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.

------------------------------------


Also., if this can be of help, here is my dmesg output:

02: 00000000
....... : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 001 01 0 0 0 1 1 B1
15 001 01 1 1 0 0 0 1 1 C1
16 001 01 1 1 0 0 0 1 1 B9
17 001 01 1 1 0 0 0 1 1 A9
IRQ to pin mappings:
IRQ0 -> 0:2
.....
IRQ23 -> 0:23
.................................... done.
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
allocated 32 pages and 32 bhs reserved for the highmem bounces
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
NTFS driver 2.1.4b [Flags: R/W].
vesafb: framebuffer at 0xc0000000, mapped to 0xf8819000, size 1875k
vesafb: mode is 800x600x16, linelength=1600, pages=135
vesafb: protected mode interface info at c000:5739
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 100x37
fb0: VESA VGA frame buffer device
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Redundant entry in serial pci_table. Please send the output of
lspci -vv, this message (12b9,1008,12b9,00aa)
and the manufacturer and name of serial board or modem board
to serial-pci-info@lists.sourceforge.net.
ttyS04 at port 0x9800 (irq = 16) is a 16550A
Real Time Clock Driver v1.10e
Non-volatile memory driver v1.2
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: IDE controller at PCI slot 00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
AMD_IDE: Bios didn't set cable bits corectly. Enabling workaround.
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AMD_IDE: nVidia Corporation nForce2 IDE (rev a2) UDMA100 controller on pci00:09.0
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hda: WDC WD400JB-00ENA0, ATA DISK drive
blk: queue c0190ee0, I/O limit 4095Mb (mask 0xffffffff)
hdc: PIONEER DVD-ROM DVD-115, ATAPI CD/DVD-ROM drive
hdd: LITE-ON LTR-52327S, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: 78165360 sectors (40020 MB) w/8192KiB Cache, CHS=4865/255/63, UDMA(100)
hdc: attached ide-cdrom driver.
hdc: ATAPI DVD-ROM drive, 512kB Cache
Uniform CD-ROM driver Revision: 3.12
hdd: attached ide-cdrom driver.
hdd: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3
ide: late registration of driver.
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
libata version 0.74 loaded.
ohci1394: $Rev: 1010 $ Ben Collins <bcollins@debian.org>
ohci1394_0: Unexpected PCI resource length of 1000!
ohci1394_0: Remapped memory spaces reg 0xf89f1000
ohci1394_0: Soft reset finished
ohci1394_0: Iso contexts reg: 000000a8 implemented: 000000ff
ohci1394_0: 8 iso receive contexts available
ohci1394_0: Iso contexts reg: 00000098 implemented: 000000ff
ohci1394_0: 8 iso transmit contexts available
ohci1394_0: GUID: 00308d01:20d2d4ad
ohci1394_0: Receive DMA ctx=0 initialized
ohci1394_0: Receive DMA ctx=0 initialized
ohci1394_0: Transmit DMA ctx=0 initialized
ohci1394_0: Transmit DMA ctx=1 initialized
ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[18] MMIO=[d8001000-d80017ff] Max Packet=[2048]
ohci1394_0: request csr_rom address: c1e5a000
ohci1394_0: IntEvent: 00030010
ohci1394_0: irq_handler: Bus reset requested
ohci1394_0: Cancel request received
ohci1394_0: Got RQPkt interrupt status=0x00008409
ohci1394_0: SelfID interrupt received (phyid 0, root)
ohci1394_0: SelfID packet 0x807f8956 received
ieee1394: Including SelfID 0x56897f80
ohci1394_0: SelfID for this node is 0x807f8956
ohci1394_0: SelfID complete
ohci1394_0: PhyReqFilter=ffffffffffffffff
ieee1394: selfid_complete called with successful SelfID stage ... irm_id: 0xFFC0 node_id: 0xFFC0
ieee1394: NodeMgr: Processing host reset for knodemgrd_0
ohci1394_0: Single packet rcv'd
ohci1394_0: Got phy packet ctx=0 ... discarded
raw1394: /dev/raw1394 device initialized
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 2427.600 MB/sec
32regs : 1696.000 MB/sec
pIII_sse : 4928.000 MB/sec
pII_mmx : 4206.000 MB/sec
p5_mmx : 5394.400 MB/sec
raid5: using function: pIII_sse (4928.000 MB/sec)
md: multipath personality registered as nr 7
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.5+(22/07/2002)
device-mapper: 4.0.1-ioctl (2003-07-12) initialised: dm@uk.sistina.com
Initializing Cryptographic API
IEEE 802.2 LLC for Linux 2.1 (c) 1996 Tim Alpaerts
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
systrace: systrace initialized
reiserfs: found format "3.6" with standard journal
ieee1394: Initiating ConfigROM request for node 0-00:1023
......
ieee1394: NodeMgr: raw=0xe000a002 irmc=1 cmc=1 isc=1 bmc=0 pmc=0 cyc_clk_acc=0 max_rec=2048 gen=0 lspd=2
ieee1394: send packet local: ffc02d40 ffc0ffff f0000400
....
ieee1394: send packet 100: ffff0100 ffc0ffff f0000234 1f0000c0
ohci1394_0: Inserting packet for node 0-63:1023, tlabel=0, tcode=0x0, speed=0
ohci1394_0: Starting transmit DMA ctx=0
ohci1394_0: IntEvent: 00000001
ohci1394_0: Got reqTxComplete interrupt status=0x00008011
ohci1394_0: Packet sent to node 63 tcode=0x0 tLabel=0x00 ack=0x11 spd=0 data=0x1F0000C0 ctx=0
reiserfs: checking transaction log (device ide0(3,3)) ...
for (ide0(3,3))
ide0(3,3):Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 176k freed
Adding Swap: 1767140k swap-space (priority -1)
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
tulip0: EEPROM default media type Autosense.
tulip0: Index #0 - Media MII (#11) described by a 21140 MII PHY (1) block.
tulip0: MII transceiver #1 config 3000 status 7829 advertising 01e1.
divert: allocating divert_blk for eth0
eth0: Digital DS21140 Tulip rev 34 at 0xf8b89000, 00:C0:F0:32:32:C9, IRQ 16.
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec 2902/04/10/15/20C/30C SCSI adapter>
aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs

blk: queue c1eeaa74, I/O limit 4095Mb (mask 0xffffffff)
eth0: Setting full-duplex based on MII#1 link partner capability of 45e1.
eth0: no IPv6 routers present
(scsi1:A:3): 10.000MB/s transfers (10.000MHz, offset 15)
Vendor: SEAGATE Model: ST39103LW Rev: 0002
Type: Direct-Access ANSI SCSI revision: 02
blk: queue c1eeac74, I/O limit 4095Mb (mask 0xffffffff)
Vendor: IOMEGA Model: ZIP 100 Rev: D.13
Type: Direct-Access ANSI SCSI revision: 02
blk: queue c29f2cb4, I/O limit 4095Mb (mask 0xffffffff)
scsi1:A:3:0: Tagged Queuing enabled. Depth 32
Attached scsi disk sda at scsi1, channel 0, id 3, lun 0
Attached scsi removable disk sdb at scsi1, channel 0, id 5, lun 0
SCSI device sda: 17783240 512-byte hdwr sectors (9105 MB)
/dev/scsi/host1/bus0/target3/lun0: p1
sdb: Unit Not Ready, sense:
Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: mounting fs with errors, running e2fsck is recommended
EXT3 FS 2.4-0.9.19+htree+orlov, 19 August 2002 on sd(8,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Back to top
View user's profile Send private message
michaelb
l33t
l33t


Joined: 06 Jun 2002
Posts: 686
Location: Ann Arbor, MI

PostPosted: Wed Feb 04, 2004 5:25 pm    Post subject: Reply with quote

It looks like you haven't configured X yet.

Code:
# /usr/X11R6/bin/xf86config


Answer all the questions, and try again.
_________________
Behold, The power of SEARCH!
Back to top
View user's profile Send private message
whitetornado
n00b
n00b


Joined: 29 Jan 2004
Posts: 10
Location: Montreal

PostPosted: Thu Feb 05, 2004 2:13 am    Post subject: Reply with quote

Hi michealb,

Yep, that was the problem. After some trial and errors I got X going and KDE. One problem, when X started, all I had was TWM, I managed to figure how to start KDE from there. I want to get X starting KDE by default. On my Fedora disk I was able to use a feature called desktop switching. I could not see that as part of the available features...

cheers!!
Back to top
View user's profile Send private message
deepthought
Guru
Guru


Joined: 04 Apr 2003
Posts: 321
Location: icbm://5131''N:0710''E

PostPosted: Thu Feb 05, 2004 1:13 pm    Post subject: Reply with quote

Have a look at the bottom of /etc/rc.conf; it will answer your question.

Regards,
Alexander
_________________
Out of loyalty to its disregarded comrades, this message feels free to ignore the reader.
Registered Linux User #317705
Back to top
View user's profile Send private message
whitetornado
n00b
n00b


Joined: 29 Jan 2004
Posts: 10
Location: Montreal

PostPosted: Thu Feb 05, 2004 4:48 pm    Post subject: Reply with quote

Hi Alexander,

Great and tks a lot for your prompt help! I am at work now - will check that tonight. I have been seraching for a good way to get myself genned in on Linux installation and I must say that with Gentoo I have learn more about the basics than any other system, really worth all the time !

cheers!

marcel
Back to top
View user's profile Send private message
whitetornado
n00b
n00b


Joined: 29 Jan 2004
Posts: 10
Location: Montreal

PostPosted: Fri Feb 06, 2004 1:45 am    Post subject: Reply with quote

Ok - I saw at the bottom of that file that I had Xsession="gnome" and for the Displaymanager I had xterm.

I wrote startkde, thinking that was the command, but that did not work, gave me an error at that point.

I attempted to change the values, I must have screwed something up as the system hangs up right after I try to log in, be it root or user. I'll see if I manage to log in again and revert the changes or not. I know I made a few mistakes when I first started the compiling of the kernel, I will likely re-install it. Now, I did the install from stage one, am I better off to re-start from the beginning or just after the stage 2?

cheers!
Back to top
View user's profile Send private message
kamome
n00b
n00b


Joined: 08 Jan 2004
Posts: 12

PostPosted: Fri Feb 06, 2004 2:51 am    Post subject: Reply with quote

Do you log in via xdm (kdm) or at the console? The XSESSION in /etc/rc.conf might only be for xdm - not sure though. But one thing that deffinately should work (once you are able to log in at the console again) is having "exec startkde" in your $HOME/.xinitrc and then start X with "startx".
In /etc/rc.conf it should be 'XSESSION="kde-3.x.x"' - I think... but doesnt work for me :( So startx for me, too.
When trying with kdm I can choose kde-3.1.5 (as I have specified in kcontrol>system administration>login manager>sessions) but when I login only an xterm appears!? startx is working fine. Any ideas anyone?

cu
kamome
Back to top
View user's profile Send private message
deepthought
Guru
Guru


Joined: 04 Apr 2003
Posts: 321
Location: icbm://5131''N:0710''E

PostPosted: Fri Feb 06, 2004 12:26 pm    Post subject: Reply with quote

Please note that "reinstall" is not the thing you want to do. This is not Windows. BTW, did you read the (really good) documentation for the XSESSION variable -- which is exactly above the variable you saw? I don't think that there is any unclear part in this...

Anyway (AFTER READING THE EXPLANATION AGAIN), edit the two lines in /etc/rc.conf as follows:
Code:

# What display manager do you use ?  [ xdm | gdm | kdm | elogin | entrance ]
DISPLAYMANAGER="kdm"
 
# XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit.  The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the
# value that XSESSION is set to.  The support scripts is smart enouth to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enligtenment" can also work.  This is basically used
# as a way for the system admin to configure a default system wide WM,
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
#
# NOTE:  1) this behaviour is overridden when a ~/.xinitrc exists, and startx
#           is called.
#        2) even if a ~/.xsession exist, if XSESSION can be resolved, it will
#           be executed rather than ~/.xsession, else KDM breaks ...
#
# Defaults depending on what you install currently include:
#
# Gnome - will start gnome-session
# kde-<version> - will start startkde (ex: kde-3.0.2)
# Xsession - will start a terminal and a few other nice apps
 
XSESSION="kde-3.1.5"


And please (with sugar on top) don't be too lazy to read the docs. Most contributors on the forums (especially those who know the good answers) tend to not liking people who are wasting their precious time by asking questions which have been answered gazillions of times or (even worse) are perfectly documented and explained somewhere.

Regards,
Alexander
_________________
Out of loyalty to its disregarded comrades, this message feels free to ignore the reader.
Registered Linux User #317705
Back to top
View user's profile Send private message
kamome
n00b
n00b


Joined: 08 Jan 2004
Posts: 12

PostPosted: Fri Feb 06, 2004 1:01 pm    Post subject: Reply with quote

@deepthought

As you seem to be one who "knows the good answers" - could you explain the behaviour of my system?
I do have those two lines in /etc/rc.conf just the way you specified them, I do have /etc/X11/Session/kde-3.1.5 which reads
Code:
#!/bin/sh
/usr/kde/3.1/bin/startkde

and, of course, the startkde does exist in that directory, the directory is in my $PATH - as I wrote above: I can start kde perfectly with "startx". I even tried with moved ~/.xinitrc - didnt help (hadnt expected it to). Kdm starts up just fine - I choose "kde-3.1.5" and then I get plain X with a term... I dont get it. If you see anything I missed, please let me know.

TIA
kamome
Back to top
View user's profile Send private message
whitetornado
n00b
n00b


Joined: 29 Jan 2004
Posts: 10
Location: Montreal

PostPosted: Fri Feb 06, 2004 5:15 pm    Post subject: Reply with quote

Hi deepthought,

ok thanks - my file read differently, it had:

on the line: DISPLAYMANAGER="xdm"

then

Xsession="gnome"

I had changed it for
DISPLAYMANAGER="kdm"

I made a syntax error on the other line ...

I hear perfectly on not being lazy - I understand every bit of what you wrote - you should know I have printed off nearly the whole manual of Gentoo - I am sleeping 4 hours a night studying and working dilligently at learning the basics of Linux - this is why I choose to install Gentoo from scratch (only problem is I can't stop, through my girl sometimes succeeds at pulling me off my computer...:-) Sure not want to waist such important help time.

cheers!
Back to top
View user's profile Send private message
deepthought
Guru
Guru


Joined: 04 Apr 2003
Posts: 321
Location: icbm://5131''N:0710''E

PostPosted: Fri Feb 06, 2004 6:45 pm    Post subject: Reply with quote

No problem. Alas, it would be more efficient (and tolerable for your girl) if you sleep a little bit more and take a few breaks... :wink:

Regards,
Alexander
_________________
Out of loyalty to its disregarded comrades, this message feels free to ignore the reader.
Registered Linux User #317705
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Feb 06, 2004 9:44 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
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