Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

hick518

Members
  • Posts

    76
  • Joined

  • Last visited

  • Days Won

    4

hick518 last won the day on May 4 2016

hick518 had the most liked content!

Recent Profile Visitors

1,636 profile views
  1. Looking for some help diagnosing this problem. I open Strawberry from the CLI: $ strawberry 08:51:48.883 WARN OSD:118 Error connecting to notifications service. I double-click my Android phone, which is set with "USB file transfer turned on", and it finds zero songs even though there are many. ãDevice 0 (VID=22b8 and PID=2e82) is a Motorola Moto G (ID2). Android device detected, assigning default bug flags I right-click my phone in the Strawberry interface and select "Device Properties": __logging_message__08:55:20.651 WARN unknown libpng warning: iCCP: known incorrect sRGB profile __logging_message__08:55:20.651 WARN unknown libpng warning: iCCP: known incorrect sRGB profile Device 0 (VID=22b8 and PID=2e82) is a Motorola Moto G (ID2). error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device 08:55:20.654 WARN MtpDevice:246 Error connecting to MTP device, couldn't get list of supported filetypes On the "File formats" tab, I set it to convert all music to Ogg Opus, but I've also tried with the "Do not convert any music" option. I right-click on a song in my collection and choose "Copy to device", then select my Android phone as the Destination, and hit OK. Strawberry crashes and produces these messages on the CLI: 09:01:50.454 ERROR MtpDevice:281 Unknown MTP file format Folder 09:01:50.454 ERROR MtpDevice:281 Unknown MTP file format Text file 09:01:50.454 ERROR MtpDevice:281 Unknown MTP file format HTML file 09:01:50.454 ERROR MtpDevice:281 Unknown MTP file format MPEG video stream 09:01:50.454 ERROR MtpDevice:281 Unknown MTP file format JPEG file 09:01:50.454 ERROR MtpDevice:281 Unknown MTP file format BMP bitmap file 09:01:50.454 ERROR MtpDevice:281 Unknown MTP file format GIF bitmap file 09:01:50.454 ERROR MtpDevice:281 Unknown MTP file format JFIF file 09:01:50.454 ERROR MtpDevice:281 Unknown MTP file format Portable Network Graphics 09:01:50.454 ERROR MtpDevice:281 Unknown MTP file format TIFF bitmap file 09:01:50.454 ERROR MtpDevice:281 Unknown MTP file format Abstract Playlist file 09:01:50.454 ERROR MtpDevice:281 Unknown MTP file format XML file strawberry: symbol lookup error: strawberry: undefined symbol: _ZN6google8protobuf8internal16InternalMetadataD1Ev Any thoughts on how to troubleshoot this? Using pcmanfm I am able to connect to the phone via MTP and browse all the music files.
  2. hick518

    HP M29w help

    I rebuilt using libusb0 but I'm still having the same problem. Do I need any of the foomatic ebuilds in order for this to work? Printer-wise, I know I've got the following installed: hplip, cups, cups-filters Do I need hplip-plugin? Edit: I installed hplip-plugin and nothing seems to have changed with regards to my printing problems.
  3. hick518

    HP M29w help

    I've got a new HP LaserJet Pro MFP M29w that I can't get to print. net-print/hplip-3.20.11::desktop-kit was built with the following: USE="X hpcups hpijs libnotify qt5 scanner snmp -doc -fax -kde -libressl -libusb0 -minimal -parport -policykit -static-ppds" PYTHON_SINGLE_TARGET="python3_7 -python2_7 -python3_8 -python3_9" PYTHON_TARGETS="python3_7 -python2_7 -python3_8 -python3_9" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" I've tried 'hp-testpage' as a regular user and as root, and the cups access_log says: localhost - - [01/Jan/2021:21:01:06 -0500] "POST /printers/HP_M29w HTTP/1.1" 200 329 Create-Job successful-ok localhost - - [01/Jan/2021:21:01:06 -0500] "POST /printers/HP_M29w HTTP/1.1" 200 423142 Send-Document successful-ok but nothing has actually printed. The printer is connected via USB. lsusb: Bus 003 Device 002: ID 03f0:bf2a HP, Inc HP LaserJet MFP M28-M31 ls -l /dev/bus/usb/003/ crw-rw-r-- 1 root usb 189, 256 Jan 1 20:57 001 crw-rw-r--+ 1 root lp 189, 257 Jan 1 21:05 002 My regular user is a member of both the 'usb' and 'lp' groups, and I've rebooted the machine since adding him to those groups. Any ideas what could be wrong? The printer works fine in Windows, so it's not a hardware issue. When I send a print job, the power light blinks green for a few minutes, then goes back to solid green.
  4. On one of my systems, any attempt to emerge a package hangs when it gets to "checking ## files for package collisions". There is no output to help me figure out where the problem lies. Can anybody suggest where I should start looking? What utility is used for this "checking..." operation?
  5. In my case I was getting "filter failed" in error.log, so your case seems to be a little different than mine. Anyway, I never solved my issue and instead installed a 32-bit Devuan virtual machine, running on my Funtoo host, and made that my print server. The Brother drivers worked fine there. Here are some of my notes from setting up the VM: https://forums.funtoo.org/topic/4469-starting-a-qemu-virtual-machine-at-boot/
  6. You can get more logging out of cups by making this change to cupsd.conf: replace LogLevel warn with LogLevel debug There's also a debug2, which is probably overkill.
  7. I'm still interested to know if there's a way to do it with just qemu, but here's how to do it using libvirt: 1) Install and run libvirt emerge -a libvirt virt-manager rc-update add libvirtd default /etc/init.d/libvirtd start 2) Import the qemu disk into libvirt. virt-install --name vmname --memory 1024 --disk /path/to/disk.qcow2 --import After the import, the vm will be powered on. Note that this can also be done in the gui, virt-manager. 3) Tell libvirt to automatically start the vm. virsh autostart vmname This creates a symbolic link in /etc/libvirt/qemu/autostart 4) You can test by shutting down the vm, stopping the libvirtd daemon, then starting the libvirtd daemon. Verify the status of the vm: virsh list --all This can also be verified in the virt-manager gui. 5) Make sure libvirtd is set to start on boot. rc-status | grep libvirtd rc-update add libvirtd default 6) On shutdown of the host, make sure the guests don't just get virtually powered off. rc-update add libvirt-guests default /etc/init.d/libvirt-guests start By default the guests will have their state saved, and any guest that is saved / shut down by the libvirt-guests service will be automatically started on the next boot (even if it was not set to autostart in step 3).
  8. I created a virtual machine using qemu. What's the proper way to automatically start it at boot time, and stop it at shutdown? Do I need to use libvirt for this? If so, how do I make libvirt aware of my existing qemu image?
  9. For a while now I haven't been able to print to my Brother DCP-7065dn printer. It used to work. I've got net-print/brother-dcp-7065dn-drivers installed. I've also tried re-installing it. One thing I notice is that all binaries in /usr/local/Brother/Printer/DCP7065DN are 32-bit. Should these work on my Funtoo 1.4 system? I've set cups logging to "debug", but haven't gotten anything useful out of the logs.
  10. Thanks bcowan, I had already tried that and the situation didn't improve. As it turns out, as long as I used '--backtrack=30' for every emerge operation, it worked ok. On one of my previous upgrades, that didn't help so on this one I didn't try it right away. But I will from now on!
  11. Adding '--backtrack=30' fixed this. emerge --backtrack=30 --jobs=3 -u =dev-lang/python-3.7* But now I'm getting similar conflicts when running the next step, ' emerge -auDN --backtrack=30 @world --jobs=3 --exclude dev-lang/perl'. Any suggestions on how to handle these types of conflicts in general would be appreciated.
  12. # eselect python list Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback)
  13. I've upgraded 3 systems from 1.3 to 1.4, and each one has caused me major headaches. I'm on my fourth one now, and figured it's time to ask for help. I'm following the instructions here, and I'm up to the point of upgrading python: https://www.funtoo.org/Upgrade_Instructions/1.4-release # emerge -u =dev-lang/python-3.7* Connected to xxxxxxxxx Fetching /packages/Packages to /tmp/tmprupi7h74 /packages/Packages 100% 1839KB 226.0KB/s 00:08 Calculating dependencies... done! [binary U ] app-arch/bzip2-1.0.8 [1.0.6-r9] USE="-abi_riscv_lp64% -abi_risc v_lp64d% -split-usr%" [binary U ] sys-libs/readline-8.0 [7.0_p5] USE="-abi_riscv_lp64% -abi_riscv _lp64d%" [binary NS ] dev-lang/python-3.7.3 [2.7.15, 3.6.8] !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: sys-libs/readline:0 (sys-libs/readline-8.0:0/8::core-kit, binary scheduled for merge) pulled in by >=sys-libs/readline-4.1:0/8= required by (dev-lang/python-3.7.3:3.7/3.7m::py thon-kit, binary scheduled for merge) ^^^^^ (sys-libs/readline-7.0_p5:0/7::core-kit, installed) pulled in by sys-libs/readline:0/7= required by (net-dns/bind-tools-9.12.2_p2-r1:0/0::cor e-kit, installed) ^^^^^ sys-libs/readline:0/7= required by (app-crypt/gnupg-2.2.11:0/0::core-kit, in stalled) ^^^^^ sys-libs/readline:0/7= required by (net-wireless/bluez-5.50-r1:0/3::core-kit , installed) ^^^^^ >=sys-libs/readline-4.1:0/7= required by (dev-lang/python-3.6.8:3.6/3.6m::py thon-kit, installed) ^^^^^ >=sys-libs/readline-4.1:0/7= required by (net-misc/ntp-4.2.8_p12:0/0::core-k it, installed) ^^^^^ sys-libs/readline:0/7= required by (sys-apps/util-linux-2.33:0/0::core-kit, installed) ^^^^^ sys-libs/readline:0/7= required by (net-fs/samba-4.9.2-r1:0/0::core-server-k it, installed) ^^^^^ ^^^^^ sys-libs/readline:0/7= required by (net-wireless/bluez-5.50-r1:0/3::core-kit, installed) ^^^^^ >=sys-libs/readline-4.1:0/7= required by (dev-lang/python-3.6.8:3.6/3.6m::python-kit, installed) ^^^^^ >=sys-libs/readline-4.1:0/7= required by (net-misc/ntp-4.2.8_p12:0/0::core-kit, installed) ^^^^^ sys-libs/readline:0/7= required by (sys-apps/util-linux-2.33:0/0::core-kit, installed) ^^^^^ sys-libs/readline:0/7= required by (net-fs/samba-4.9.2-r1:0/0::core-server-kit, installed) ^^^^^ (and 14 more with the same problems) app-arch/bzip2:0 (app-arch/bzip2-1.0.8:0/1::core-kit, binary scheduled for merge) pulled in by app-arch/bzip2:0/1= required by (dev-lang/python-3.7.3:3.7/3.7m::python-kit, binary scheduled for merge) ^^^^^ (app-arch/bzip2-1.0.6-r9:0/0::core-kit, installed) pulled in by app-arch/bzip2:0/0= required by (dev-lang/python-2.7.15:2.7/2.7::python-kit, installed) ^^^^^ (and 1 more with the same problem) NOTE: Use the '--verbose-conflicts' option to display parents omitted above !!! The slot conflict(s) shown above involve package(s) which may need to !!! be rebuilt in order to solve the conflict(s). However, the following !!! package(s) cannot be rebuilt for the reason(s) shown: (net-wireless/bluez-5.50-r1:0/3::core-kit, installed): ebuild is masked or unavailable (net-fs/samba-4.9.2-r1:0/0::core-server-kit, installed): ebuild is masked or unavailable (sys-apps/util-linux-2.33:0/0::core-kit, installed): ebuild is masked or unavailable (net-dns/bind-tools-9.12.2_p2-r1:0/0::core-kit, installed): ebuild is masked or unavailable (net-misc/ntp-4.2.8_p12:0/0::core-kit, installed): ebuild is masked or unavailable (app-crypt/gnupg-2.2.11:0/0::core-kit, installed): ebuild is masked or unavailable It may be possible to solve this problem by using package.mask to prevent one of those packages from being selected. However, it is also possible that conflicting dependencies exist such that they are impossible to satisfy simultaneously. If such a conflict exists in the dependencies of two different packages, then those packages can not be installed simultaneously. You may want to try a larger value of the --backtrack option, such as --backtrack=30, in order to see if that will solve this conflict automatically. For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. I've tried manually upgrading readline and bzip2, but that just results in more conflicts. Any idea what my best path forward is? Each of the last three upgrades took me several days to work out, and I'm hoping the next two won't have to be as bad.
  14. Thanks Cardinal. The Follow button is white until you are actually following. I still think it's a good idea to give some other type of notification of upgrades, although it is a little less critical for me now that I'm following News and Announcements per your suggestion. For instance, Ubuntu utilizes motd to let you know when you log in at the CLI that a release upgrade is available. Following News and Announcements isn't exactly going to fill my inbox, but it does contain a wide variety of news. For instance, "Funtoo 1.4 is released" and "Funtoo is now on Discord" have significantly different levels of importance to me, especially since "Funtoo 1.4 is released" means that my 1.3 system will stop receiving updates at some point in time. Anyway, just food for thought for the powers that be. Thanks again, Cardinal.
×
×
  • Create New...