The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Delimiters missing Indalecio Shell Programming and Scripting 2 02-23-2007 12:28 AM
Missing functions HELP! sha1024 High Level Programming 1 02-05-2007 11:06 AM
missing CDE frankkahle SUN Solaris 5 05-25-2006 02:35 PM
what am I missing? Zelp Shell Programming and Scripting 4 06-13-2005 02:32 PM
/tmp is missing ???? BAM UNIX for Dummies Questions & Answers 1 11-05-2002 10:50 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-11-2002
Registered User
 

Join Date: Jan 2002
Posts: 4
/dev/fb* missing

I am trying to run openwin on Solaris 5.8, but get an error:


/dev/fb: No such file or directory
Graphics Adapter device /dev/fb is of unknown type

Fatal server error:
InitOutput: Error loading module for /dev/fb

giving up.
/usr/openwin/bin/xinit: Connection refused (errno 146): unable to connect to X
server
/usr/openwin/bin/xinit: No such process (errno 3): Server error.

I also can not do xhost + and have set the display variable...

There is no device in /dev called fb, and I want to know how you create this?
Forum Sponsor
  #2 (permalink)  
Old 02-11-2002
redhead's Avatar
Registered User
 

Join Date: Feb 2002
Location: Denmark
Posts: 47
Re: /dev/fb* missing

Quote:
Originally posted by heinb
I am trying to run openwin on Solaris 5.8, but get an error:
/dev/fb: No such file or directory

There is no device in /dev called fb, and I want to know how you create this?
This is what the /dev/fb* devices are on my system:
Quote:
redhead@rimfaxe{51} ~> uname -a
SunOS rimfaxe 5.8 Generic_108528-05 sun4u sparc SUNW,Ultra-250
redhead@rimfaxe{52} ~> ll /dev/fb*
lrwxrwxrwx 1 root 9 Aug 30 17:34 /dev/fb0 -> fbs/gfxp0

/dev/fbs:
total 1
lrwxrwxrwx 1 root 42 Aug 30 17:34 gfxp0 -> ../../devices/pci@1f,4000/TSI,gfxp@4:gfxp0
redhead@rimfaxe{53} ~> ll /devices/pci@1f,4000/TSI,gfxp@4:gfxp0
crw------- 1 root 68, 0 Aug 30 17:34 /devices/pci@1f,4000/TSI,gfxp@4:gfxp0
This means, the actual /dev/fb0 is only a link to /dev/fbs/gfxp0, which also is a link to /devices/pci@1f,400/TSI,gfxp@4:gfxp0
The device is a charactor device, which you would make with the mknod(1M) command. And from my output, you can see, the device has a major of 68 and a minor of 0, so if you were to create this specific device the command would be:
mknod /devices/pci@1f,4000/TSI,gfxp@4:gfxp0 c 68 0
  #3 (permalink)  
Old 02-11-2002
Registered User
 

Join Date: Jan 2002
Posts: 4
Thanks for the suggestion. I think something is seriously wron on this system...

root@finoradev # mknod /devices/pci@1f,4000/TSI,gfxp@4:gfxp0 c 68 0
mknod: No such file or directory

There are also no /dev/gfx* devices in that dir? It looks like a complete setup for the graphics devices needs to be done.
  #4 (permalink)  
Old 02-11-2002
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,355
It's rather dangerous to just use the mknod command directly like that.

There is a devlinks utility that will recreate the symbolic links in the /dev directory. There is also a drvconfig utility that can create the stuff in the /devices utility.

Sun has a notion of a "reconfiguation" reboot and I think that this is the safest approach for a start. You just "touch /reconfigure" and then you reboot. The start-up scripts notice the file /reconfigure and run stuff like drvconfig and devlinks automatically.
  #5 (permalink)  
Old 02-11-2002
thehoghunter
Guest
 

Posts: n/a
This looks like another post from you. I replied to it concerning if this is a new installation. There is documented for Solaris 7 and below getting this error if you built the system without the proper OEM support.

if the client was installed from an OS Service that did
not include OEM support, the system may not have the proper packages
to run OpenWindows or CDE. The symptom of this problem is an error message similar the following, when attempting to start a windowing system:

/dev/fb: No such file or directory
Graphics Adapter device /dev/fb is of unknown type

The fix is to reload the OS with the proper OEM support -

In order to avoid the above stated problems, the following
recommendations for client configuration must be applied:

1. The easiest solution is to remove the OS Service. Then readd the
OS Service selecting the "Entire Distribution + OEM" as the
cluster type. The Entire Distribution + OEM cluster
will install all the required packages. This is more convenient
than adding individual packages especially if more clients are
going to be added at a later date.
  #6 (permalink)  
Old 02-12-2002
Registered User
 

Join Date: Jan 2002
Posts: 4
Thank you very much for the help! I will give it a go.
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:19 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0