Summary: | fbresolution in /sbin/splash doesn't work with Kernel 2.6. and udev with /dev tarball saving disabled (no /dev/fb0) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas Trawöger <andreas.trawoeger> |
Component: | [OLD] Core system | Assignee: | Michal Januszewski (RETIRED) <spock> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andreas Trawöger
2004-03-17 02:16:59 UTC
Unfortunately, this isn't that easy. Not everyone uses 1024x768, there are people with 800x600, 1280x1024 and other res's out there. We can't hard-code a resolution into /sbin/splash. fbset and fbresolution can be used with 2.6 kernels. fbresolution works OK, fbset just acts a little differently than on 2.4 kernels. I think I'll switch to udev later today (well, it has to be done sooner or later after all ;)) and see what I can do about this. Hardcoding res is only a temporary solution I used to get rid of the error messages. Another one was suggested in the forum: echo "mknod -m 660 /dev/fb0 c 29 0" > /etc/conf.d/local.start I think there are two possibilities to fix that problem: 1. change baselayout to automaticly create /dev/fb0 if udev is used 2. replacing fbresolution in /sbin/splah with something that doesn't need /dev/fb0 At the moment /dev/fb0 is only needed for determining the screensize their isn't used for anything else. Ok, I've just switched to udev and I had no problems with Bootsplash. The way I see it, the device tarball should be enabled: (excerpt from /etc/conf.d/rc): # Set to "yes" if you want to save /dev to a tarball on shutdown # and restore it on startup. This is useful if you have a lot of # custom device nodes that udev do not handle/know about. # (ONLY used by UDEV enabled systems!) RC_DEVICE_TARBALL="yes" Since apparently /dev/fbx is not supported by the pure udev yet (I'm sure it will be at some point in the future), using the Gentoo devices tarball is the solution here. The Gentoo udev-guide states: "Warning: Do not complain if something goes wrong. You're going to remove the hard work of many Gentoo developers that hacked our init scripts to get udev playing nicely with Gentoo!" In other words - if you disable the devs tarball, you're using something that I believe could be called an unsupported configuration :) Since there's no replacement for fbresolution and changing the baselayout is unnecessary, I'm marking this bug as INVALID. My recommendation is to set RC_DEVICE_TARBALL to "yes". |