Jump to content
funtoo forums

stamasd

Members
  • Content Count

    29
  • Joined

  • Last visited

  • Days Won

    1

stamasd last won the day on December 21 2015

stamasd had the most liked content!

About stamasd

  • Rank
    Member

Personal

  • Location
    US East coast

Recent Profile Visitors

291 profile views
  1. Thanks for the explanation. That worked.
  2. Thanks for your answer. I'm not familiar with using custom patches with portage. Which part of the message you linked to is the actual patch? I see the output of 2 diff commands, neither of which is an actual patch. I don't know what format portage expects the patch to be in.
  3. I need to install the allegro library to work with an older piece of code. However allegro fails to emerge. I'm attaching the output of "emerge media-libs/allegro" as allegro.log, the output of "emerge --info '=media-libs/allegro-5.2.4.0::media-kit'" as info.log and the output of "emerge -pqv '=media-libs/allegro-5.2.4.0::media-kit'" as pqv.log allegro.log info.log pqv.log
  4. Thank you, that worked. Steam started after reboot, updating now. (edit) Yes it works fine.
  5. Current up-to-date installation of Funtoo (1.3), trying to have Steam installed via flatpak. The installation of flatpak was successful, then I added the Steam flatpak repo. Now trying to run Steam with flatpak. As regular user, the output of "flatpak run com.valvesoftware.Steam" is bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces. On e.g. debian this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1'. error: ldconfig failed, exit status 256 I looked around and the only mention of a similar problem was The solution there was to run as root. However trying to run the above as root fails because Steam cannot run as root. All help appreciated.
  6. Yeah I figured that I would have to manually edit grub.cfg. For some reason adding an entry to boot.conf didn't work. But I copied the entry for win7 from the grub.cfg that would boot Windows only, and added it to the one that would boot Funtoo only. Now I have dual boot working. Thank you all for your help.
  7. Background info: new install of Win7 and Funtoo on a laptop (HP Elitebook 8470p, core i7-3720, 16GB RAM, 500GB SSD). Partitioned as follows. The partition scheme is classic BIOS/MBR, not UEFI. /dev/sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT /dev/sda2 206848 747522047 747315200 356.4G 7 HPFS/NTFS/exFAT /dev/sda3 747522048 957237247 209715200 100G 83 Linux /dev/sda4 957237248 1000215215 42977968 20.5G 82 Linux swap / Solaris Win7 installed first, Funtoo second in the unpartitioned space that was divided into sda3 and sda4. No separate boot and home partitions. Used sysrescd 4.9.0 for the install. No problems until setting grub for dual boot. I do have os-prober installed. The same issue occurs with both grub-legacy and grub2. Installed grub on /dev/sda. I want to dual boot Funtoo and Win7 with Funtoo being the default, and a timeout of 10s. 1. Using either 'ego boot update' or just boot-update, a /boot/grub/grub.cfg is installed that allows me to boot Funtoo only, no entry for Windows. os-prober when run separately does find the Windows installation but apparently that doesn't get funneled into boot-update. Adding an entry for Windows in /etc/grub.d/40_custom with chainloading also gets ignored. With that I can boot Funtoo, but not WIndows 2. Using grub or grub2's 'grub-mkconfig -o /boot/grub/grub.cfg' results in a config that has entries for Funtoo and Win7 but only Windows can be booted from it. Attempting to boot Funtoo results in a kernel panic because sda3 cannot be mounted as root partition. I'm pasting below the two grub.cfg files; notice that the root partitions are defined differently in the files. I don't want to edit grub.cfg manually if I can help it. Any ideas appreciated. 1. grub.cfg generated by boot-update (boots Funtoo correctly but no entry for Windows) set timeout=10 if [ -s $prefix/grubenv ]; then load_env fi function savedefault { if [ -z "{boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } insmod part_msdos insmod ext2 set root=(hostdisk//dev/sda,msdos3) search --no-floppy --fs-uuid --set 38c0a8f9-0e12-462c-92f6-650e5748eba3 if loadfont /boot/grub/fonts/unicode.pf2; then set gfxmode=text insmod all_video terminal_output gfxterm fi set menu_color_normal=cyan/blue set menu_color_highlight=blue/cyan menuentry "Funtoo Linux genkernel - kernel-debian-sources-lts-x86_64-4.9.161_p1" { insmod part_msdos insmod ext2 set root=(hostdisk//dev/sda,msdos3) search --no-floppy --fs-uuid --set 38c0a8f9-0e12-462c-92f6-650e5748eba3 linux /boot/kernel-debian-sources-lts-x86_64-4.9.161_p1 real_root=/dev/sda3 rootfstype=ext4 rand_id=L0AGZ8KL initrd /boot/early_ucode.cpio /boot/initramfs-debian-sources-lts-x86_64-4.9.161_p1 set gfxpayload=keep } menuentry "Funtoo Linux genkernel - kernel-debian-sources-lts-x86_64-4.9.130-2" { insmod part_msdos insmod ext2 set root=(hostdisk//dev/sda,msdos3) search --no-floppy --fs-uuid --set 38c0a8f9-0e12-462c-92f6-650e5748eba3 linux /boot/kernel-debian-sources-lts-x86_64-4.9.130-2 real_root=/dev/sda3 rootfstype=ext4 rand_id=AFRCNQ3V initrd /boot/early_ucode.cpio /boot/initramfs-debian-sources-lts-x86_64-4.9.130-2 set gfxpayload=keep } if [ ! "${next_entry}" = "" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true elif [ ! "${saved_entry}" = "" ]; then set default="${saved_entry}" else set default=0 fi 2. grub.cfg generated by grub-mkconfig (boots windows but kernel panic on booting Funtoo because it can't mount /dev/sda3) # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="0" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } if [ x$feature_default_font_path = xy ] ; then font=unicode else insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 38c0a8f9-0e12-462c-92f6-650e5748eba3 else search --no-floppy --fs-uuid --set=root 38c0a8f9-0e12-462c-92f6-650e5748eba3 fi font="/usr/share/grub/unicode.pf2" fi if loadfont $font ; then set gfxmode=auto load_video insmod gfxterm set locale_dir=$prefix/locale set lang=en_US insmod gettext fi terminal_output gfxterm if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=5 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=5 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-38c0a8f9-0e12-462c-92f6-650e5748eba3' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 38c0a8f9-0e12-462c-92f6-650e5748eba3 else search --no-floppy --fs-uuid --set=root 38c0a8f9-0e12-462c-92f6-650e5748eba3 fi echo 'Loading Linux x86_64-4.9.161_p1 ...' linux /boot/kernel-debian-sources-lts-x86_64-4.9.161_p1 root=/dev/sda3 ro echo 'Loading initial ramdisk ...' initrd /boot/early_ucode.cpio } submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-38c0a8f9-0e12-462c-92f6-650e5748eba3' { menuentry 'Gentoo GNU/Linux, with Linux x86_64-4.9.161_p1' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.9.161_p1-advanced-38c0a8f9-0e12-462c-92f6-650e5748eba3' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 38c0a8f9-0e12-462c-92f6-650e5748eba3 else search --no-floppy --fs-uuid --set=root 38c0a8f9-0e12-462c-92f6-650e5748eba3 fi echo 'Loading Linux x86_64-4.9.161_p1 ...' linux /boot/kernel-debian-sources-lts-x86_64-4.9.161_p1 root=/dev/sda3 ro echo 'Loading initial ramdisk ...' initrd /boot/early_ucode.cpio } menuentry 'Gentoo GNU/Linux, with Linux x86_64-4.9.161_p1 (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.9.161_p1-recovery-38c0a8f9-0e12-462c-92f6-650e5748eba3' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 38c0a8f9-0e12-462c-92f6-650e5748eba3 else search --no-floppy --fs-uuid --set=root 38c0a8f9-0e12-462c-92f6-650e5748eba3 fi echo 'Loading Linux x86_64-4.9.161_p1 ...' linux /boot/kernel-debian-sources-lts-x86_64-4.9.161_p1 root=/dev/sda3 ro single echo 'Loading initial ramdisk ...' initrd /boot/early_ucode.cpio } menuentry 'Gentoo GNU/Linux, with Linux x86_64-4.9.130-2' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.9.130-2-advanced-38c0a8f9-0e12-462c-92f6-650e5748eba3' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 38c0a8f9-0e12-462c-92f6-650e5748eba3 else search --no-floppy --fs-uuid --set=root 38c0a8f9-0e12-462c-92f6-650e5748eba3 fi echo 'Loading Linux x86_64-4.9.130-2 ...' linux /boot/kernel-debian-sources-lts-x86_64-4.9.130-2 root=/dev/sda3 ro echo 'Loading initial ramdisk ...' initrd /boot/early_ucode.cpio } menuentry 'Gentoo GNU/Linux, with Linux x86_64-4.9.130-2 (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.9.130-2-recovery-38c0a8f9-0e12-462c-92f6-650e5748eba3' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 38c0a8f9-0e12-462c-92f6-650e5748eba3 else search --no-floppy --fs-uuid --set=root 38c0a8f9-0e12-462c-92f6-650e5748eba3 fi echo 'Loading Linux x86_64-4.9.130-2 ...' linux /boot/kernel-debian-sources-lts-x86_64-4.9.130-2 root=/dev/sda3 ro single echo 'Loading initial ramdisk ...' initrd /boot/early_ucode.cpio } } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/30_os-prober ### menuentry 'Windows 7 (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-704278994278662E' { insmod part_msdos insmod ntfs set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 704278994278662E else search --no-floppy --fs-uuid --set=root 704278994278662E fi parttool ${root} hidden- chainloader +1 } ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. #menuentry "Win7" { # root (hd0,msdos1) # chainloader +1 # boot # } ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ###
  8. Okay, I've hit a bit of a snag. I've last installed a custom kernel when 2.6 was around as a new thing, and there have been many changes in between. I've tried several times, both with the vanilla 4.10.12 as well as with the 4.10.12 from sys-kernel/gentoo-sources using this as a guide: http://www.funtoo.org/Installing_Gentoo_Sources It compiles and installs, but on reboot the kernel can't find the root partition. I have compiled support for ext2 and ext4 into the kernel, made sure the boot.conf has the right parameters (/boot is /dev/sda1 which is ext2, / is /dev/sda3 and it's ext4) but it still doesn't work. The default kernel 4.8.15-1 finds the root with the same parameters without any problem. I think there may be something wrong with the initrd, but it's automatically generated by genkernel so I'm not sure why it doesn't work. FWIW I use MBR.
  9. FWIW 3 months later this problem is not resolved yet. Neither the nvidia nor the nouveau driver allow me to use the mouse in X on this machine. From posts that I've seen on other forums (mostly Ubuntu, but other distros also) the nouveau driver at least is broken in this way in kernels 4.8 and 4.9 - and affecting primarily the mobile versions of GTX1070 and 1080. Supposedly it was fixed in kernel 4.10. But of course, our kernel from debian-sources is 4.8.15-1, so no joy using that. I may end up compiling a custom kernel, since there's no sign of a fix from official sources.
  10. Suspect a video driver problem after seeing people with other distributions (Ubuntu etc) reporting the same issue with the latest nvidia driver on GTX10xx cards (this laptop has a GTX1070 video card). At a test I switched to using the nouveau driver, but the problem persists. I see other people reporting that the only way to get rid of the problem was to switch to the Intel driver and use the built-in Intel GPU. This laptop however does not use the Intel GPU or Optimus/Bumblebee (it's an Eurocom Tornado F5, http://www.eurocom.com/ec/configure(2,384,0)TornadoF5). The only video output is from the GTX1070 card. Looks like until the driver is fixed I'm SOL. :(
  11. I just installed Funtoo on my new laptop. I have installed Funtoo in the past, but never on a laptop with only USB3 ports - and I think this may be related to the problem I'm having. Installing the base system was a breeze, then I installed X. I tested it as per http://www.funtoo.org/X_Window_System; in twm the keyboard was working but the mouse pointer wouldn't move (I use a Logitech M325 mouse with USB dongle). In fact it only *apparently* wouldn't move; the pointer on the screen remained in a fixed position, but by moving the mouse I could in fact shift focus to one or the other of the xterms on the screen (even though the visible pointer wasn't over them). I then installed xfce4, and again the mouse pointer won't move even though I can select things on screen by blindly moving the mouse. The output of 'zcat /proc/config.gz | grep EVDEV' shows: CONFIG_INPUT_EVDEV=m I did emerge xf86-input-evdev, but it didn't change the mouse behavior at all.
  12. Oh my. I am so embarrassed. I have found the error - it was a typo. My clue was what I said above ".xinitrc set to start xfce, but it doesn't seem that it tries to do that for some reason" So, I checked and... there it was. Instead of .xinitrc, I had named the file .xinit (for thr regular user only, root had .xinitrc named properly) I fixed that, and now it works. The radeonsi driver was just a red herring. Sorry for wasting everyone's time, mark this as "solved". :)
  13. Well, it still doesn't work. The line about not finding the radeonsi driver is gone, but X still doesn't start. xauth: file /home/silviu/.serverauth.3699 does not exist X.Org X Server 1.16.4 Release Date: 2014-12-20 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.19.3-1~exp1 x86_64 Gentoo Current Operating System: Linux dfun 3.19.3-1~exp1 #1 SMP Mon Oct 19 12:04:59 2015 x86_64 Kernel command line: BOOT_IMAGE=/kernel-debian-sources-x86_64-3.19.3-1~exp1 rootfstype=auto real_root=/dev/sda6 rootfstype=ext4 Build Date: 19 December 2015 05:09:20PM Current version of pixman: 0.33.4 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec 21 08:18:10 2015 (==) Using config directory: "/etc/X11/xorg.conf.d" (==) Using system config directory "/usr/share/X11/xorg.conf.d" (II) [KMS] Kernel modesetting enabled. /etc/X11/xinit/xinitrc: line 58: twm: command not found /etc/X11/xinit/xinitrc: line 59: xclock: command not found /etc/X11/xinit/xinitrc: line 60: xterm: command not found /etc/X11/xinit/xinitrc: line 62: exec: xterm: not found /etc/X11/xinit/xinitrc: line 61: xterm: command not found xinit: connection to X server lost waiting for X server to shut down (EE) Server terminated successfully (0). Closing log file. Again, I have .xinitrc set to start xfce, but it doesn't seem that it tries to do that for some reason. I'm out of ideas, and appeal to the collective knowledge of this forum.
  14. So I'm still testing. I have added "radeonsi" to make.conf VIDEO_CARDS, and tried a emerge; it now wants some USE changes as such: The following USE changes are necessary to proceed: (see "package.use" in the portage(5) man page for more details) # required by media-libs/mesa-11.0.7::gentoo[video_cards_radeonsi] # required by x11-base/xorg-server-1.16.4-r5::gentoo[glamor] # required by @selected # required by @world (argument) >=x11-libs/libdrm-2.4.65 video_cards_amdgpu # required by net-misc/modemmanager-1.4.8::gentoo[policykit] # required by net-misc/networkmanager-1.0.8::gentoo[modemmanager] # required by @selected # required by @world (argument) >=sys-auth/polkit-0.113 introspection # required by media-libs/mesa-11.0.7::gentoo[llvm,-opencl,-video_cards_r600,video_cards_radeon,video_cards_radeonsi] # required by x11-base/xorg-server-1.16.4-r5::gentoo[glamor] # required by @selected # required by @world (argument) >=dev-libs/elfutils-0.164 abi_x86_32 I'm adding those and retry, maybe that will do it. Now waiting to emerge 42 packages. (I found some post on a Gentoo forum about cards >radeon HD7900 wanting the "radeonsi" driver in addition to "radeon") I still don't get it why X+xfce works as root though.
  15. dfun ~ # groups root bin daemon sys adm disk wheel floppy tape video dfun ~ # groupmems -lg video root dfun ~ # groupmems -g video -a silviu dfun ~ # groupmems -lg video root silviu Let me test and see if that helped. (edit) no, it still gives me the same error. IIRC the "video" group is for encoding and capturing video, not for X. FWIW here's my list of profiles: dfun ~ # epro === Enabled Profiles: === arch: x86-64bit build: current subarch: generic_64 flavor: desktop mix-ins: X mix-ins: xfce mix-ins: no-systemd mix-ins: print mix-ins: audio mix-ins: dvd mix-ins: media === All inherited flavors from desktop flavor: === workstation (from desktop flavor) core (from workstation flavor) minimal (from core flavor) === All inherited mix-ins from desktop flavor: === X (from workstation flavor) audio (from workstation flavor) dvd (from workstation flavor) media (from workstation flavor) mediadevice-audio-consumer (from media mix-in) mediadevice-base (from mediadevice-audio-consumer mix-in) mediadevice-video-consumer (from media mix-in) mediadevice-base (from mediadevice-video-consumer mix-in) mediaformat-audio-common (from media mix-in) mediaformat-gfx-common (from media mix-in) mediaformat-video-common (from media mix-in) console-extras (from workstation flavor) print (from desktop flavor) === All inherited mix-ins from media mix-in: === mediadevice-audio-consumer (from media mix-in) mediadevice-base (from mediadevice-audio-consumer mix-in) mediadevice-video-consumer (from media mix-in) mediadevice-base (from mediadevice-video-consumer mix-in) mediaformat-audio-common (from media mix-in) mediaformat-gfx-common (from media mix-in) mediaformat-video-common (from media mix-in)
×
×
  • Create New...