Re: X won't play

2008-07-17 Thread Roland Smith
On Thu, Jul 17, 2008 at 08:50:53AM -0700, Rem P Roberti wrote:
 I'm kind of new to this, so would appreciate a hand.  I just got through
 configuring a custom kernel.  Both makebuild and installbuild take place
 with no problems and the kernel boots just like it's supposed to.  But
 when I try to bring up X I get this error message:
 
 _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
 _XSERVTransOpen: transport open failed for inet6/remdog.net:0
 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

These three lines only indaicate that you don't have IPv6 networking,
but is not a problem.

 _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
 _XSERVTransMakeAllCOTSServerListeners: server already running

Maybe you forgot something netowrking related. Please show a diff(1) of
you kernel configurations, see below.

 Fatal server error:
 Cannot establish any listening sockets - Make sure an X server isn't
 already running
 
 I rebooted with the old kernel and everything is back to normal.
 Obviously I removed something from the kernel configuration file that I
 shouldn't have.  Can someone give me a heads up on just what that might
 be?

Please post the output of 'diff -u oldconfig newconfig', where oldconfig
and newconfig are replaced by the paths of the old and new kernel
configuration files.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpHkvspU5XRS.pgp
Description: PGP signature


Re: X won't play

2008-07-17 Thread Rem P Roberti
  I'm kind of new to this, so would appreciate a hand.  I just got through
  configuring a custom kernel.  Both makebuild and installbuild take place
  with no problems and the kernel boots just like it's supposed to.  But
  when I try to bring up X I get this error message:
  
  _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
  _XSERVTransMakeAllCOTSServerListeners: server already running
 
 Maybe you forgot something netowrking related. Please show a diff(1) of
 you kernel configurations, see below.
 
  Fatal server error:
  Cannot establish any listening sockets - Make sure an X server isn't
  already running
  
  I rebooted with the old kernel and everything is back to normal.
  Obviously I removed something from the kernel configuration file that I
  shouldn't have.  Can someone give me a heads up on just what that might
  be?
 
 Please post the output of 'diff -u oldconfig newconfig', where oldconfig
 and newconfig are replaced by the paths of the old and new kernel
 configuration files.
 

As requested:

--- /usr/src/sys/i386/conf/REMKERNEL2008-07-17 00:08:57.0
-0700
+++ /usr/src/sys/i386/conf/GENERIC  2008-02-05 19:24:28.0
-0800
@@ -18,8 +18,10 @@
 #
 # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.2.2.1 2008/02/06
 # 03:24:28 scottl Exp $

+cpuI486_CPU
+cpuI586_CPU
 cpuI686_CPU
-ident  REMKERNEL
+ident  GENERIC

 # To statically compile in device wiring instead of /boot/device.hints
 #hints GENERIC.hints # Default places to look for
devices.
@@ -29,27 +31,28 @@
 optionsSCHED_4BSD  # 4BSD scheduler
 optionsPREEMPTION  # Enable kernel thread
preemption
 optionsINET# InterNETworking
-#options   SCTP# Stream Control Transmission
Protocol
+optionsINET6   # IPv6 communications protocols
+optionsSCTP# Stream Control Transmission
Protocol
 optionsFFS # Berkeley Fast Filesystem
 optionsSOFTUPDATES # Enable FFS soft updates
support
 optionsUFS_ACL # Support for access control
lists
 optionsUFS_DIRHASH # Improve performance on big
directories
 optionsUFS_GJOURNAL# Enable gjournal-based UFS
journaling
-#options   MD_ROOT # MD is a potential root device
-#options   NFSCLIENT   # Network Filesystem Client
-#options   NFSSERVER   # Network Filesystem Server
-#options   NFS_ROOT# NFS usable as /, requires
NFSCLIENT
+optionsMD_ROOT # MD is a potential root device
+optionsNFSCLIENT   # Network Filesystem Client
+optionsNFSSERVER   # Network Filesystem Server
+optionsNFS_ROOT# NFS usable as /, requires
NFSCLIENT
 optionsMSDOSFS # MSDOS Filesystem
 optionsCD9660  # ISO 9660 Filesystem
-#options   PROCFS  # Process filesystem (requires
PSEUDOFS)
-#options   PSEUDOFS# Pseudo-filesystem framework
+optionsPROCFS  # Process filesystem (requires
PSEUDOFS)
+optionsPSEUDOFS# Pseudo-filesystem framework
 optionsGEOM_PART_GPT   # GUID Partition Tables.
 optionsGEOM_LABEL  # Provides labelization
 optionsCOMPAT_43TTY# BSD 4.3 TTY compat [KEEP
THIS!]
 optionsCOMPAT_FREEBSD4 # Compatible with FreeBSD4
 optionsCOMPAT_FREEBSD5 # Compatible with FreeBSD5
 optionsCOMPAT_FREEBSD6 # Compatible with FreeBSD6
-#options   SCSI_DELAY=5000 # Delay (in ms) before probing
SCSI
+optionsSCSI_DELAY=5000 # Delay (in ms) before probing
SCSI
 optionsKTRACE  # ktrace(1) support
 optionsSYSVSHM # SYSV-style shared memory
 optionsSYSVMSG # SYSV-style message queues
@@ -61,92 +64,92 @@
 optionsAUDIT   # Security event auditing

 # To make an SMP kernel, the next two lines are needed
-#options   SMP # Symmetric MultiProcessor
Kernel
-#deviceapic# I/O APIC
+optionsSMP # Symmetric MultiProcessor
Kernel
+device apic# I/O APIC

 # CPU frequency control
-#devicecpufreq
+device cpufreq

 # Bus support.
-#deviceeisa
+device eisa
 device pci

 # Floppy drives
-#devicefdc
+device fdc

 # ATA and ATAPI devices
 device ata
 device atadisk # ATA disk drives
-#deviceataraid # ATA RAID drives
+device ataraid # ATA RAID drives
 device  

Re: X won't play

2008-07-17 Thread Rem P Roberti
On 2008.07.17 19:28:49 +, Roland Smith wrote:
 On Thu, Jul 17, 2008 at 09:46:09AM -0700, Rem P Roberti wrote:
I'm kind of new to this, so would appreciate a hand.  I just got through
configuring a custom kernel.  Both makebuild and installbuild take place
with no problems and the kernel boots just like it's supposed to.  But
when I try to bring up X I get this error message:

_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
   
   Maybe you forgot something netowrking related. Please show a diff(1) of
   you kernel configurations, see below.
   
Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't
already running

I rebooted with the old kernel and everything is back to normal.
Obviously I removed something from the kernel configuration file that I
shouldn't have.  Can someone give me a heads up on just what that might
be?
   
   Please post the output of 'diff -u oldconfig newconfig', where oldconfig
   and newconfig are replaced by the paths of the old and new kernel
   configuration files.
   
 
 Hmm. Nothing suspicious as far as I can see.
 
 Since it says server already running in the original error message, was
 there perhaps a stray hidden lockfile or socket in /tmp/?
 
I cleaned up the /tmp directory, but the new kernel still refuses to
allow X to boot.  In my original post I failed to include this part of
the error message, which comes at the end:

XIO:  fatal IO error 54 (Connection reset by peer) on X server :0.0
  after 0 requests (0 known processed) with 0 events remaining.

As I said earlier, when I unload the new kernel and boot the old one I
have no problem bringing up X.

Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X won't play

2008-07-17 Thread Roland Smith
On Thu, Jul 17, 2008 at 09:46:09AM -0700, Rem P Roberti wrote:
   I'm kind of new to this, so would appreciate a hand.  I just got through
   configuring a custom kernel.  Both makebuild and installbuild take place
   with no problems and the kernel boots just like it's supposed to.  But
   when I try to bring up X I get this error message:
   
   _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
   _XSERVTransMakeAllCOTSServerListeners: server already running
  
  Maybe you forgot something netowrking related. Please show a diff(1) of
  you kernel configurations, see below.
  
   Fatal server error:
   Cannot establish any listening sockets - Make sure an X server isn't
   already running
   
   I rebooted with the old kernel and everything is back to normal.
   Obviously I removed something from the kernel configuration file that I
   shouldn't have.  Can someone give me a heads up on just what that might
   be?
  
  Please post the output of 'diff -u oldconfig newconfig', where oldconfig
  and newconfig are replaced by the paths of the old and new kernel
  configuration files.
  
 
 As requested:
 
 --- /usr/src/sys/i386/conf/REMKERNEL2008-07-17 00:08:57.0
 -0700
 +++ /usr/src/sys/i386/conf/GENERIC  2008-02-05 19:24:28.0
 -0800

Hmm. Nothing suspicious as far as I can see.

Since it says server already running in the original error message, was
there perhaps a stray hidden lockfile or socket in /tmp/?

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpiVMkSZTQnp.pgp
Description: PGP signature


Re: X won't play

2008-07-17 Thread Rem P Roberti
Problem solved.  Somehow I didn't just comment out, I actually deleted
this line:

options INET6   # IPv6 communications protocols

Weird.  Anyway, I reinserted the line, and now everything works fine.

Rem

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X won't play

2008-07-17 Thread Roland Smith
On Thu, Jul 17, 2008 at 11:47:38AM -0700, Rem P Roberti wrote:
 Problem solved.  Somehow I didn't just comment out, I actually deleted
 this line:
 
 options INET6   # IPv6 communications protocols
 
 Weird.  Anyway, I reinserted the line, and now everything works fine.

I saw that, but I've got a custom kernel without INET6, and X is running
fine here. I get the same first three lines of the error message in my
Xorg.0.log file

My X server is compiled without hal support. Maybe that makes
the difference.

You could try starting X with 'startx -- -nolisten tcp' on a kernel
without IPv6.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpXbCNcT08PQ.pgp
Description: PGP signature


Re: X won't play

2008-07-17 Thread Warren Block

On Thu, 17 Jul 2008, Roland Smith wrote:


On Thu, Jul 17, 2008 at 11:47:38AM -0700, Rem P Roberti wrote:

Problem solved.  Somehow I didn't just comment out, I actually deleted
this line:

options INET6   # IPv6 communications protocols

Weird.  Anyway, I reinserted the line, and now everything works fine.


I saw that, but I've got a custom kernel without INET6, and X is running
fine here. I get the same first three lines of the error message in my
Xorg.0.log file

My X server is compiled without hal support. Maybe that makes
the difference.


X with HAL on a kernel without INET6 works here.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]