public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Reporting problem requiring rebaseall to solve it.
@ 2010-07-09 19:16 Daniel Povey
  2010-07-09 21:27 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Povey @ 2010-07-09 19:16 UTC (permalink / raw)
  To: cygwin

Reporting problem and solution, but I would appreciate if cygwin
experts could comment on the underlying reasons why this kind of thing
happens and why rebaseall is needed.

I have done a pretty clean install of the latest Cygwin and want to
report a problem (and solution) so people will be able to fix it
themselves.  I am installing on a domain-joined Win7 machine.  My
installation process is to run setup.exe, only choose wget as an extra
package, and then use the apt-cyg script to install extra packages, as
in:
cp apt-cyg /bin
apt-cyg install `cat packages`
where "packages" is a list of the packages I had from a previous install.
When I try to start X, it fails and I get the following errors in
/var/log/XWin.0.log (see bottom of email).l

I was able to fix this problem by doing "rebaseall" [i.e.: close all
cygwin processes, go to "cmd", cd to c:\cygwin\bin,
and type "ash rebaseall".   This gives the following errors which I am
ignoring for the time being:

C:\cygwin\bin>ash rebaseall
/usr/lib/engines/lib4758cca.so: skipped because not writable
/usr/lib/engines/libaep.so: skipped because not writable
/usr/lib/engines/libatalla.so: skipped because not writable
/usr/lib/engines/libcswift.so: skipped because not writable
/usr/lib/engines/libgmp.so: skipped because not writable
/usr/lib/engines/libchil.so: skipped because not writable
/usr/lib/engines/libnuron.so: skipped because not writable
/usr/lib/engines/libsureware.so: skipped because not writable
/usr/lib/engines/libubsec.so: skipped because not writable
/usr/lib/engines/libcapi.so: skipped because not writable

The errors in XWin.0.log are below, for search purposes.

C:\cygwin\bin>startx
'startx' is not recognized as an internal or external command,
operable program or batch file.

C:\cygwin\bin>
C:\cygwin\bin>pwd
/usr/bin

C:\cygwin\bin>cat XWin.exe^A^K


bash-3.2$ cat XWin.0.log
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.8.0.0 (10800000)
Build Date: 2010-04-02

Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:

/usr/bin/X :0 -auth /home/dpovey/.serverauth.3796

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - primary monitor w 1440 h 900
winInitializeDefaultScreens - native DPI x 96 y 96
winInitializeDefaultScreens - Returning
[ 53897.534] winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
[ 53897.549] (II) xorg.conf is not supported
[ 53897.549] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html
for more information
[ 53897.549] LoadPreferences: /home/dpovey/.XWinrc not found
[ 53897.549] LoadPreferences: Loading /etc/X11/system.XWinrc
[ 53897.549] LoadPreferences: Done parsing the configuration file...
[ 53897.549] winGetDisplay: DISPLAY=:0.0
[ 53897.549] winDetectSupportedEngines - Windows NT/2000/XP
[ 53897.581] winDetectSupportedEngines - DirectDraw installed
[ 53897.581] winDetectSupportedEngines - DirectDraw4 installed
[ 53897.581] winDetectSupportedEngines - Returning, supported engines 00000007
[ 53897.596] winSetEngine - Using Shadow DirectDraw NonLocking
[ 53897.596] winAdjustVideoModeShadowDDNL - Using Windows display
depth of 32 bits per pixel
[ 53897.705] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[ 53897.705] Screen 0 added at virtual desktop coordinate (0,0).
[ 53897.705] MIT-SHM extension disabled due to lack of kernel support
[ 53897.737] XFree86-Bigfont extension local-client optimization
disabled due to lack of shared memory support in the kernel
[ 53897.768] (II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
[ 53897.768] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 53897.783] [dix] Could not init font path element
/usr/share/fonts/TTF/, removing from list!
[ 53897.783] [dix] Could not init font path element
/usr/share/fonts/OTF/, removing from list!
[ 53897.783] [dix] Could not init font path element
/usr/share/fonts/Type1/, removing from list!
[ 53897.924] (EE) XKB: Could not invoke xkbcomp
[ 53897.924] (EE) XKB: Couldn't compile keymap
[ 53897.924] XKB: Failed to compile keymap
[ 53897.924] Keyboard initialization failed. This could be a missing
or incorrect setup of xkeyboard-config.
[ 53897.924]
Fatal server error:
[ 53897.924] Failed to activate core devices.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Reporting problem requiring rebaseall to solve it.
  2010-07-09 19:16 Reporting problem requiring rebaseall to solve it Daniel Povey
@ 2010-07-09 21:27 ` Larry Hall (Cygwin)
  0 siblings, 0 replies; 2+ messages in thread
From: Larry Hall (Cygwin) @ 2010-07-09 21:27 UTC (permalink / raw)
  To: cygwin

On 7/9/2010 2:57 PM, Daniel Povey wrote:
> Reporting problem and solution, but I would appreciate if cygwin
> experts could comment on the underlying reasons why this kind of thing
> happens and why rebaseall is needed.
>
> I have done a pretty clean install of the latest Cygwin and want to
> report a problem (and solution) so people will be able to fix it
> themselves.  I am installing on a domain-joined Win7 machine.  My
> installation process is to run setup.exe, only choose wget as an extra
> package, and then use the apt-cyg script to install extra packages, as
> in:
> cp apt-cyg /bin
> apt-cyg install `cat packages`
> where "packages" is a list of the packages I had from a previous install.
> When I try to start X, it fails and I get the following errors in
> /var/log/XWin.0.log (see bottom of email).l

FWIW, you don't need to use apt-cyg to automate an install of a certain
set of packages.  Using the '-P' parameter of 'setup.exe' to list out the
packages you want to install will work.

If you're looking for a basic overview of why rebasing is necessary in
some cases, you should read /usr/share/doc/Cygwin/rebase*.README.  This
summarizes things quite well.  If you're looking for more details, the
email archives (cygwin-apps) has allot of discussion about it in the
history.  It's a ways back though. ;-)

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-09 19:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-09 19:16 Reporting problem requiring rebaseall to solve it Daniel Povey
2010-07-09 21:27 ` Larry Hall (Cygwin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).