This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
Talk:Uvesafb
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (
~~~~
).
When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}}
so it will show up in the list of open discussions.v86d
This page talks about v86d, which is no longer in the gentoo repository.
rebooting
i highly suspect a reboot and loading of the kernel is required not just linking @ important part of wiki. i have not had this working for a while since before 3.10.x series of kernels.
initramfs & talk issues
the discussion below really belongs @ the talk:dracut wiki. i 666threesixes666 suggest stubbing & correcting the rebooting / kernel reloading... you can not slam through this entire wiki and have it function. i have tested it, and known it to not work that way. no grub legacy, or lilo, or syslinux boot loader information is why i suggest stubbing. [1]
an experiment should be conducted to see if grub2 loading initramfs would be a better solution than making the kernel load it. (ie for vmlinuz-3.4.47)
cp /usr/share/v86d/initramfs /boot/initramfs-3.4.47.img
&& then grub mkconfig & grub install cmds
with expected output
Found linux image: /boot/vmlinuz-3.4.47 Found initrd image: /boot/initramfs-3.4.47.img
uvesafb dracut module
An updated version is available at 40uvesafb.
/usr/lib64/dracut/modules.d/40uvesafb/module-setup.sh
#!/bin/bash check() { [ -x /sbin/v86d -a -f "$srcmods/kernel/drivers/video/uvesafb.ko" ] } depends() { return 0 } installkernel() { hostonly='' instmods uvesafb } install() { dracut_install /sbin/v86d inst_hook pre-trigger 9 "$moddir"/uvesafb-pretrigger.sh }
/usr/lib64/dracut/modules.d/40uvesafb/uvesafb-pretrigger.sh
#!/bin/bash if getargbool 1 rd.uvesafb -n rd_NO_UVESAFB; then [ ! -c /dev/fb0 -a -e /sbin/v86d ] && modprobe uvesafb fi
/etc/modprobe.d/uvesafb.conf
module optionsoptions uvesafb mode_option=1680x1050-32 mtrr=3 scroll=redraw
I use uvesafb with this custom dracut module. It's a "it works for me" hack, therefore I am not sure if it's appropriate for the wiki. --Poncho 10:14, 6 July 2012 (UTC)
- it still uses the kernel module and the v86d image, so you could put it after the blabla compile kernel part or implement something like option 1: build v86d into the kernel, option 2: use this script to build it into initramfs. I don't even use uvesafb myself, someone with real life experience is very welcome :) Disi 11:08, 6 July 2012 (UTC)
- added to 40uvesafb on the dracut page. --Poncho 09:57, 11 July 2012 (UTC)
- if you're using bash for this anyway, it would be better to use the more robust [[ ]] tests. — yngwin (wiki admin) 16:50, 11 July 2012 (UTC)
- Only the module-setup script should use bash, the pretrigger script should use bin/sh. It's fixed on the dracut page. Thanks for your feedback. I would propose to move further discussion about this module to Talk:Dracut.--Poncho 23:08, 11 July 2012 (UTC)
- if you're using bash for this anyway, it would be better to use the more robust [[ ]] tests. — yngwin (wiki admin) 16:50, 11 July 2012 (UTC)
- added to 40uvesafb on the dracut page. --Poncho 09:57, 11 July 2012 (UTC)
Troubleshooting
Note : configuring Dracut to skip drm may help in some cases - in addition to 40uvesafb module here, to achieve a nice boot screen when uvesafb is the only option left)
/etc/dracut.conf
omit_dracutmodules+="drm" add_dracutmodules+="plymouth"
Anyway thanks for this helpful module ! -- gbras 15:08, 13 Jan 2014 (UTC)