mike ledoux wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, Dec 05, 2001 at 11:19:42AM -0500, Mark Polhamus wrote:
>
>>Can anyone tell me what the following text means and whether it might apply
>>to my Redhat 7.0 system? (I certainly get quite a few hangs running VMware,
>>although I am otherwise happy with the product.) Kernel is binary RPM from
>>Redhat, 2.2.17-14.
>>
> [...]
>
>>I installed fbset fbset-2.1-6.i386.rpm and:
>>
>>[root@granite rpms 52]# fbset --verbose
>>Linux Frame Buffer Device Configuration Version 2.1 (23/06/1999)
>>(C) Copyright 1995-1999 by Geert Uytterhoeven
>>
>>Opening frame buffer device `/dev/fb0'
>>open /dev/fb0: No such device
>>[root@granite rpms 53]# ls -l /dev/fb*
>>lrwxrwxrwx 1 root root 3 Jan 17 2001 /dev/fb -> fb0
>>crw------- 1 mark root 29, 0 Aug 24 2000 /dev/fb0
>>
> [...]
>
>>Any ideas?
>>
>
> It looks like you don't have framebuffer support compiled into your
> kernel. You can verify this by checking /proc/devices, but not being
> able to open char-major 29 as root is a pretty good indication. Since it
> looks like that text about VMware only applies to people using framebuffer
> console support, I'd guess it doesn't apply to you.
>
> - --
> [EMAIL PROTECTED] OpenPGP KeyID 0x57C3430B
> Holder of Past Knowledge CS, O-
> Put your wasted CPU cycles to use: http://www.distributed.net/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE8Dlc85rgdHFfDQwsRAoZpAKCawsapV+sD5vWBPFLYaGHjdqIi2wCeLXkA
> W6S0Sh0Ht4oMvvSBdk/v9k8=
> =ENVe
> -----END PGP SIGNATURE-----
>
> *****************************************************************
> To unsubscribe from this list, send mail to [EMAIL PROTECTED]
> with the text 'unsubscribe gnhlug' in the message body.
> *****************************************************************
>
>
Looks like /proc/devices thinks it's there:
[root@granite ~ 4]# cat /proc/devices
Character devices:
1 mem
2 pty
3 ttyp
4 ttyS
5 cua
7 vcs
10 misc
14 sound
29 fb
36 netlink
62 ttyLT
99 ppuser
119 vmnet
128 ptm
136 pts
162 raw
180 usb
254 pcmcia
Block devices:
1 ramdisk
2 fd
3 ide0
9 md
22 ide1
[root@granite ~ 5]#
[root@granite ~ 8]# strace fbset
execve("/usr/sbin/fbset", ["fbset"], [/* 30 vars */]) = 0
uname({sys="Linux", node="granite.polhamus.lan", ...}) = 0
brk(0) = 0x804f6b0
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, 0xbfffec0c) = -1 ENOSYS (Function not implemented)
fstat(3, {st_mode=S_IFREG|0644, st_size=37342, ...}) = 0
old_mmap(NULL, 37342, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\274\1"..., 1024) = 1024
fstat(3, {st_mode=S_IFREG|0755, st_size=5072386, ...}) = 0
old_mmap(NULL, 1182920, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40021000
mprotect(0x40139000, 36040, PROT_NONE) = 0
old_mmap(0x40139000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x117000) = 0x40139000
old_mmap(0x4013e000, 15560, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4013e000
close(3) = 0
munmap(0x40017000, 37342) = 0
getpid() = 6922
open("/dev/fb0", O_RDONLY) = -1 ENOSYS (Function not implemented)
open("/dev/fb0", O_RDONLY) = -1 ENOSYS (Function not implemented)
open("/dev/fb0", O_RDONLY) = -1 ENODEV (No such device)
write(2, "open /dev/fb0: No such device\n", 30open /dev/fb0: No such device
) = 30
_exit(1) = ?
[root@granite ~ 9]#
I'm not sure why strace shows three open() calls, the source shows only one.
So I'm still not sure.
What exactly is a frame-buffer console? Does it have anything to do with my
video driver? Is there a boot option I can use to get the same effect as the
fbset invocation?
[root@granite redhat 31]# X -showconfig
XFree86 Version 3.3.6 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: January 8 1999
If the server is older than 6-12 months, or if your card is newer
than the above date, look for a newer version before reporting
problems. (see http://www.XFree86.Org/FAQ)
Operating System: Linux 2.2.12-20smp i686 [ELF]
Configured drivers:
Mach64: accelerated server for ATI Mach64 graphics adaptors (Patchlevel 0)
[root@granite redhat 32]#
(I'm running an old XFree86 for VMware compatibility)
-- Mark Polhamus
-- [EMAIL PROTECTED]
*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************