Operating System - HP-UX
1827293 Members
2817 Online
109717 Solutions
New Discussion

Xserver does not start, C8000, 11.i

 
SOLVED
Go to solution
Ralf Seefeldt
Valued Contributor

Xserver does not start, C8000, 11.i

Hello,

I have a problem with a C8000, that has been created from a backuptape of another C8000. The original C8000 does not show the problem as far as I know.
I have rebuild /stand/ioconfig and /etc/ioconfig on the duplicated system. There are no errormessages in /etc/rc.log, not even for starting dhe CDE.

When the Xserver shall be startet at boottime I get a message that it can not be startet on display a33:0...

/var/dt/Xerrors contains the following messages:
/usr/lib/dld.sl: Unresolved symbol: xf86LogFileWasOpened (data) from /usr/bin/X11/X

Tue Sep 12 10:19:34 2006
error (pid 3285): Server unexpectedly died

Tue Sep 12 10:19:39 2006
error (pid 3285): Server for display a33:0 can't be started.


lsof -p lists only files, that are identical on the copied server.
Some problems with /dev/crt hat allways been around, which required recreation of /dev/crt sometimes. At present, there are no problems with /dev/crt

For /dev/crt /dev/beep and /dev/hid/kbd_000 /dev/hid/mouse_000 and /dev/hid/hid.ctl I get no outpot from nm on the copyserver. all the files are present. (I don't know, whether this is relevant)
/var/spool/socket/X11/0 (which is a socket) is not availabel on the copied server, which I guess is OK when CDE does not run.

I hope, s.o. can give me the crucial hint.

Regards
Ralf
15 REPLIES 15
Mel Burslan
Honored Contributor

Re: Xserver does not start, C8000, 11.i

This may not be the solution but I have seen some X-display issues being related to name resolution problems. My suggestion is to check your hosts, resolv.conf and nsswitch.conf files against any inconsistencies.

Again, this may not be your issue but it does not hurt to spend a quick minute and check.

Cheers.
________________________________
UNIX because I majored in cryptology...
V. Nyga
Honored Contributor

Re: Xserver does not start, C8000, 11.i

Hi,

when it's from a backup tape - has the new ws the same name as the 'original' ws?
Have you changed the name of the ws?
Maybe a 'set_parms' will work /sbin/set_parms)?

Anything in /var/dt/Xerrors or
/var/X11/Xserver/logs/Xf86.0.log?

Do these 2 ws have the same graphics card?

Volkmar
*** Say 'Thanks' with Kudos ***
Andrew Rutter
Honored Contributor

Re: Xserver does not start, C8000, 11.i

Ralf,

on top of what volkmar has said is the graphics card not only the same but also in the slot?

if its in a different pci slot then the xserver wont start.

Andy
Steven E. Protter
Exalted Contributor

Re: Xserver does not start, C8000, 11.i

Shalom,

Two things a standard 11i v1 installation should do but does not.

1) choose a nsswitch.conf file
2) Start the font server.

/sbin/init.d/xfs start
vi /etc/rc.config.d/xfs
# set first var to 1 and save, this makes it auotstart next boot.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ralf Seefeldt
Valued Contributor

Re: Xserver does not start, C8000, 11.i

Hello,

thank you for your help.
MEL: hosts and nsswitch.conf are OK, resolv.conf is not existing
Volkmar: Ihe IP-Names are identical, The IP-Number has been changed in hosts and netconf
& Xerrors is cited in my question
Andrew The graphicscards are original: VISUALIZE fxe Ref B Professional 2D iwith 24 MB RAM (PCI)
HW-PATH 0/2/2/0 , driver graph3
copy: ATI Fire GL X1 (AGP)
HW-PATH 0/4/0/0, driver gvid_core (AGP Display)
HW-PATH 0/4/0/1, driver gvid_core (PCI Display)
please see the attatched "graphinfo" outputs
SEP: xfs is running, nsswitch.conf is OK

I got the tip,that te message "usr/lib/dld.sl: Unresolved symbol: xf86LogFileWasOpened (data) from /usr/bin/X11/X"
referes to an Variable xf86LogFileWasOpened, which should be set by some shared lib and used by some other.
Using lsof, nm, tusc, truss and strings I did not find any hint to the solution nor any appearence of "xf86LogFile*" in any file below /usr/lib and /opt/graphics.
V. Nyga
Honored Contributor
Solution

Re: Xserver does not start, C8000, 11.i

Hi gain,

I think your original ws has not the needed graphics driver.
There's no driver available for your fire gl.
From visualize to fire gl the Xserver changed.
Maybe it works if you put all hardware enable patches to the original ws, but I doubt.
The fire gl works with a different Xserver.

I've to check my c8000 ...

Volkmar
*** Say 'Thanks' with Kudos ***
Robert-Jan Goossens_1
Honored Contributor

Re: Xserver does not start, C8000, 11.i

Hi Ralf,

What is the state of the installed software?

# swlist -a state -l fileset | egrep -v "configured|^#|^$"

Could you check if below patches are installed?

s700_800 11.11 X/Motif DevKit Periodic Patch PHSS_31001
s700_800 11.X OpenGL Run (PA2.0 only) PHSS_30866
s700_800 11.X OpenGL Dev (PA2.0 only) PHSS_31287
s700_800 11.11 Xserver cumulative patch PHSS_31293
s700_800 11.11 X/Motif Runtime Periodic Patch PHSS_33130
s700_800 11.11 CDE Applications Patch PHSS_33326

I would recreate all Xserver device files, check this doc for the correct steps.

Title: Recreating Xserver device files
Document ID: XMKKBAN00000235

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062686750

Regards,
Robert-Jan
Ralf Seefeldt
Valued Contributor

Re: Xserver does not start, C8000, 11.i

Hello Robert-Jan,

all SW is configured
non of the listed patches is installed (systemstatus is arount year 2003/2004 without any later patches)
Editing /etc/X11/X0screens from /dev/crt to /dev/gvid0 seemed necessary but did not help.

Regards
Ralf
V. Nyga
Honored Contributor

Re: Xserver does not start, C8000, 11.i

Hi again,

if your patch set is from year 2003/2004 then you need the latest patch bundles:
http://www5.itrc.hp.com/service/patch/releasePage.do?BC=main|releaseIndexPage|&releaseId=5013-6792
especially the HWE (Hardware Enablement Patches).

Have you changed IP-Number with set_parms?
It's the best because sometimes you miss one file where you have to change the value.

V.
P.S.
Ich bin in Muenchen, wo sitzt Du?
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: Xserver does not start, C8000, 11.i

Hi again,

can you check the logs in /var/X11/Xserver/logs

If I compare a C3600 with visualize and a C8000 with fire gl, I see different logs:
C3600:
X0.log
Xf86.0.log
Xstartup.0.log

C8000:
Xf86.0.log
Xf86.0.log.tmp
Xstartup.0.log

Xstartup.0.log contents for the C3600:
/usr/bin/X11/X: attempting to determine which X server to start

/usr/bin/X11/X: Execing /usr/bin/X11/Xhp :0 -auth /var/dt/cadfeAAAa01810

for the C8000:
/usr/bin/X11/X: attempting to determine which X server to start

/usr/bin/X11/X: Execing /usr/bin/X11/Xf86 :0

So the C8000 with fire gl uses a different Xserver.

Sorry, that I can't say to you at the moment, where this has to be changed, I'll continue searching.

Volkmar
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: Xserver does not start, C8000, 11.i

Hi again,

can you check:
'swlist -l product|grep AGP'.

You should have at least a (older) patch of:
PHKL_29651 1.0 HW enablement: AGP graphics card support
PHKL_31227 1.0 PCI patch,boot-time HPMC,PCI-X,OLA/R,AGP
PHKL_31241 1.0 AGP, cumulative graphics, multicard

And what does 'ioscan -fnC graphics' says?

Is your graphics card 'claimed'?

For you interest: 'xf86LogFile*' is also not at my systems, so there's no file with this name.

For your fire gl x1 you need libraries with 'ati', for ex.:
/usr/lib/X11/Xserver/modules/xf86/drivers/libati.1

V.
P.S.
Your "graphinfo" outputs are ok - looks like mine.
*** Say 'Thanks' with Kudos ***
Andrew Rutter
Honored Contributor

Re: Xserver does not start, C8000, 11.i

Ralf,

Im sure its probably just down to the graphics hardware been different.

if the card has the driver present and is seen ok in ioscan, then login as root and run sam. go into xserver configuration part and highlight the graphics card and add this to the xserver. you will be prompted to save the changes as you come out and a backup file will be created.

reboot the workstation and it should come up ok.

Andy
Ralf Seefeldt
Valued Contributor

Re: Xserver does not start, C8000, 11.i

Hello V.Nyga,

all 3 patches are available. Nothing more with AGP.

ioscan -fnC graphics
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
graphics 0 0/4/0/0 gvid_core CLAIMED INTERFACE AGP Display (10024e47)
graphics 1 0/4/0/1 gvid_core CLAIMED INTERFACE PCI Display (10024e67)

'xf86LogFile*' is not the name of a file but the name of a variable, which seems to be called by some executable and thus should be defined in ani library. But I did not find it with nm
Greetings from Dornach / Riem

Hello Andrew:

SAM | Display | X Server Configuration: The '/usr/sbin/ioscan -funC graphics' command reports *NO* graphics device for your system. SAM is unable to configure the X Server for this system.

Ralf
Ralf Seefeldt
Valued Contributor

Re: Xserver does not start, C8000, 11.i

Hello,

the problem is solved now. I installed the two Patches PHSS_32890 and PHSS_31293, which solved the problem.
It turned out, that X was able to start over eXceed even bevort those patches where installed.
The problem was, that our customer, who owns the original server, did not want to pay installing al the patches to the server, so
I had to reduce the patching to a minimum on this testserver.

Thanks to everybody for the help.

Volkmar,

I don't like tools like set_parms very much. I prefere to know what exactly has to be done.
Melde Dich doch mal bei Mir, wenn Du Lust hast bei vorname.nachname at assyst-intl.com

Bye
Ralf
Ralf Seefeldt
Valued Contributor

Re: Xserver does not start, C8000, 11.i

problem solved