Re: [gentoo-user] Kernel panic - not syncing: No working init found.
On Thu, Jun 4, 2020 at 2:24 AM wrote: > When I try to boot I'm getting an error: > > "Kernel panic - not syncing: No working init found. Try passing init= > option to kernel." > > I am running very low on disk space, I think. > I've tried to boot strap the system and remove some files but boot strap > is not working. When I boot from minimal-install gentoo CD I try: > > swapon /dev/sda3 > swapon: /dev/sda3: read swap header failed: Input/output error > > On my boxes with swap files, kernel 5.7.0 barfs; # file /swapfile /swapfile: Linux/i386 swap file (new style), version 1 (4K pages), size 2097151 pages, no label # swapon -a swapon: /swapfile: swapon failed: Invalid argument I havent looked into it yet as they're rarely used at all. What kernel are you using?
Re: [gentoo-user] Screenrecording with audio from firefox
Yes, I realize it might not have been clear, as I got a bit confused by my own thought process as well. I will also answer in pieces related to your questions On Wednesday, June 3, 2020 5:31:43 PM CEST tu...@posteo.de wrote: > Hi Daniel, > > sorry for not understanding the whole setup ... > > Please see my inserted questions below: > > On 06/03 04:44, Daniel Sonck wrote: > > It might be that your Qt5 is perhaps partially updated or out of date > > even, > > but not sure. I do know that it can be a pain to compile due to Qt5 > > changing. If it's too much of a hassle to get it to work, Catia could be > > replaced by QJackCtl, however then you will need to have the tweaks > > Cadence does for you manually applied. Which, according to my system, is: > > > > pcm.!default { > > > > type plug > > slave { pcm "jack" } > > > > } > > > > pcm.jack { > > > > type jack > > playback_ports { > > > > 0 system:playback_1 > > 1 system:playback_2 > > > > } > > capture_ports { > > > > 0 system:capture_1 > > 1 system:capture_2 > > > > } > > > > } > > > > ctl.mixer0 { > > > > type hw > > card 0 > > > > ( In case you want to entirely not bother with pulseaudio ) > > The above setup is for alsa/jack/obs...right. > Since jackd does not start (it crashes) and I am currently not in > the mood to fix an error which helps to fix a problem which should > fix a problem for an application which in first place was there to > help me to fix an issue to record from Firefox...I will try > pulseaudio -- despite the fact, that I really don't like it. The crash might be due to it not getting exclusive access to alsa or the sound card not properly selected. Yes that configuration is for alsa -> jack -> obs/ simplescreenrecorder > > > Or, like me where I have it set to pulseaudio mode which creates: > Ok...the following is for alsa/pulseaudio/obs > > > pcm.!default { > > > > type plug > > slave { pcm "pulse" } > > > > } > > > > pcm.pulse { > > > > type pulse > > > > } > > > > ctl.mixer0 { > > > > type hw > > card 0 > > > > } > > > > This would go into a file .asoundrc in your $HOME and force ALSA native > > programs to actually hook up as Jack clients, > > ...sorry...why jack? Do I need jack for pulseaudio? Here I actually meant "using the first config file will force alsa native programs to connect to jack. Incidentally, the second solution will (usually) also work for alsa as it would do "alsa -> pulseaudio -> jack -> obs/ simplescreenrecorder", which is my default as I'm more accustomed to pulseaudio and jack (some programs like Discord really want pulseaudio) > > > so you can manage your audio. > > Note that you would still need to go into QJackCtls settings to setup the > > correct main audio device > > Pulseaudio->pavucontrolright? this was still related to the first asoundrc file. > > I am..irritated..at least;) > > HLL! :) Well, I will make sure it eventually works one way or another :) as I know how frustrating sound can be sometimes. As I said, I create music, as such I want Jack, but I also want to watch youtube without having to tear down my music setup. And I stream from time to time, so I use Jack/Alsa/Pulseaudio all at the same time and have picked up some things along the way. > > Cheers! > Meino > Regards, Daniel > > On Wednesday, June 3, 2020 4:30:11 PM CEST tu...@posteo.de wrote: > > > ‘QPainterPath ballPath’ has incomplete type and cannot be defined
Re: [gentoo-user] Kernel panic - not syncing: No working init found.
On 3 June 2020 20:38:49 CEST, the...@sys-concept.com wrote: >On 06/03/2020 12:06 PM, J. Roeleveld wrote: >> On 3 June 2020 18:24:47 CEST, the...@sys-concept.com wrote: >>> When I try to boot I'm getting an error: >>> >>> "Kernel panic - not syncing: No working init found. Try passing >init= >>> option to kernel." >>> >>> I am running very low on disk space, I think. >>> I've tried to boot strap the system and remove some files but boot >>> strap >>> is not working. When I boot from minimal-install gentoo CD I try: >>> >>> swapon /dev/sda3 >>> swapon: /dev/sda3: read swap header failed: Input/output error >>> >>> Any solution? >> >> Is this on a new system? Or on an existing system that started >showing this issue after working correctly for a while? >> >> -- >> Joost >> > >The system is old and was working for some time, it has a SSD drive, it >just recently this error showed up. > >-- >Thelma How old are the SSDs? Were they used for swap? How are they connected? The dmesg you sent in the other email makes me think the SSDs are connected to old ATA ports as they mention UDMA instead of Sata speeds. I would definitely suspect: - the drives (incl. SSDs) - other hardware (incl. the disk controller(s)) - memory - PSU As the issue is recent and intermittent, either a recent addition is causing issues, or there is a timing issue occuring during boot. And these can also occur during kernel initialisation. An initramfs with failover to a simple shell could help here as then you can get a dmesg of when the init fails. There is a kernel commandline option that forces the kernel to wait an X amount of time before trying to access the root-partition and starting "init". This is usually needed for USB-boot, but might also be necessary when disks take a bit longer to initialize. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Re: [gentoo-user] Kernel panic - not syncing: No working init found.
On 06/03/2020 12:06 PM, J. Roeleveld wrote: > On 3 June 2020 18:24:47 CEST, the...@sys-concept.com wrote: >> When I try to boot I'm getting an error: >> >> "Kernel panic - not syncing: No working init found. Try passing init= >> option to kernel." >> >> I am running very low on disk space, I think. >> I've tried to boot strap the system and remove some files but boot >> strap >> is not working. When I boot from minimal-install gentoo CD I try: >> >> swapon /dev/sda3 >> swapon: /dev/sda3: read swap header failed: Input/output error >> >> Any solution? > > Is this on a new system? Or on an existing system that started showing this > issue after working correctly for a while? > > -- > Joost > The system is old and was working for some time, it has a SSD drive, it just recently this error showed up. -- Thelma
Re: [gentoo-user] Kernel panic - not syncing: No working init found.
On 06/03/2020 11:28 AM, Dale wrote: > tedheadster wrote: >> Yes, you do need to capture the kernel output. >> >> The usual way is to hook up a serial cable to another computer and >> pipe the output to it. You interrupt the boot (usually by hitting >> or in GRUB), and then edit the kernel command line thus: >> >> console=tty1 console=ttyS0,115200n8 >> >> If you can do that you can give us some debug output. >> >> - Matthew >> >> > > > Could she boot from some other media, mount the partitions to get to > dmesg and get it from that? Or since it may not be mounting any > partitons, would that lead down the wrong path if it is outdated? > > Dale > > :-) :-) When the screen boots I see an output: "Decompressing Linux - Parsing ELF done. Booting the kernel ... next section scrolls very fast. Here is a link to a video (if you can slow it down) https://vimeo.com/user117037821/review/425595417/79e330424c The good news is that I had a luck to boot it; here output of "df -h df -h Filesystem Size Used Avail Use% Mounted on /dev/sda4 458G 372G 63G 86% / tmpfs 396M 1.2M 395M 1% /run dev 10M 0 10M 0% /dev shm 2.0G 4.0K 2.0G 1% /dev/shm cgroup_root 10M 0 10M 0% /sys/fs/cgroup none2.0G 0 2.0G 0% /run/user/1000 and "dmesg" dmesg [0.00] Linux version 4.9.72-gentoo (root@syscon4) (gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3) ) #3 SMP Wed Jun 3 09:12:45 MDT 2020 [0.00] Command line: BOOT_IMAGE=/vmlinuz-4.9.72-gentoo root=/dev/sda4 ro [0.00] x86/fpu: Legacy x87 FPU detected. [0.00] x86/fpu: Using 'eager' FPU context switches. [0.00] e820: BIOS-provided physical RAM map: [0.00] BIOS-e820: [mem 0x-0x0009fbff] usable [0.00] BIOS-e820: [mem 0x0009fc00-0x0009] reserved [0.00] BIOS-e820: [mem 0x000e4000-0x000f] reserved [0.00] BIOS-e820: [mem 0x0010-0xcff7] usable [0.00] BIOS-e820: [mem 0xcff8-0xcff8dfff] ACPI data [0.00] BIOS-e820: [mem 0xcff8e000-0xcffd] ACPI NVS [0.00] BIOS-e820: [mem 0xcffe-0xcfff] reserved [0.00] BIOS-e820: [mem 0xfee0-0xfee00fff] reserved [0.00] BIOS-e820: [mem 0xffe0-0x] reserved [0.00] BIOS-e820: [mem 0x0001-0x00012fff] usable [0.00] NX (Execute Disable) protection: active [0.00] SMBIOS 2.4 present. [0.00] DMI: System manufacturer P5E3 Deluxe/P5E3 Deluxe, BIOS 140107/17/2008 [0.00] e820: update [mem 0x-0x0fff] usable ==> reserved [0.00] e820: remove [mem 0x000a-0x000f] usable [0.00] e820: last_pfn = 0x13 max_arch_pfn = 0x4 [0.00] MTRR default type: uncachable [0.00] MTRR fixed ranges enabled: [0.00] 0-9 write-back [0.00] A-B uncachable [0.00] C-D write-protect [0.00] E-E write-through [0.00] F-F write-protect [0.00] MTRR variable ranges enabled: [0.00] 0 base 0D000 mask FF000 uncachable [0.00] 1 base 0E000 mask FE000 uncachable [0.00] 2 base 0 mask F write-back [0.00] 3 base 1 mask FE000 write-back [0.00] 4 base 12000 mask FF000 write-back [0.00] 5 disabled [0.00] 6 disabled [0.00] 7 disabled [0.00] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WC UC- WT [0.00] e820: update [mem 0xd000-0x] usable ==> reserved [0.00] e820: last_pfn = 0xcff80 max_arch_pfn = 0x4 [0.00] found SMP MP-table at [mem 0x000ff780-0x000ff78f] mapped at [880ff780] [0.00] Scanning 1 areas for low memory corruption [0.00] Base memory trampoline at [88099000] 99000 size 24576 [0.00] BRK [0x0212, 0x02120fff] PGTABLE [0.00] BRK [0x02121000, 0x02121fff] PGTABLE [0.00] BRK [0x02122000, 0x02122fff] PGTABLE [0.00] BRK [0x02123000, 0x02123fff] PGTABLE [0.00] ACPI: Early table checksum verification disabled [0.00] ACPI: RSDP 0x000FBB80 14 (v00 ACPIAM) [0.00] ACPI: RSDT 0xCFF8 3C (v01 A_M_I_ OEMRSDT 07000817 MSFT 0097) [0.00] ACPI: FACP 0xCFF80200 84 (v02 A_M_I_ OEMFACP 07000817 MSFT 0097) [0.00] ACPI: DSDT 0xCFF80440 009CA9 (v01 A0834 A0834088 0088 INTL 20060113) [0.00] ACPI: FACS 0xCFF8E000 40 [0.00] ACPI: APIC 0xCFF80390 6C (v01 A_M_I_ OEMAPIC 07000817 MSFT 0097) [0.00] ACPI: MCFG 0xCFF80400 3C (v01 A_M_I_ OEMMCFG 07000817 MSFT 0097) [0.00] ACPI: OEMB 0xCFF8E040 81
Re: [gentoo-user] Screenrecording with audio from firefox
Hello, On Wed, 03 Jun 2020, David Haller wrote: [..] >1. create a file /etc/portage/env/missing-qpainterpath-flags and insert > this line: > > >CXXFLAGS="${CXXFLAGS} -include QPainterPath" > > >2. add the line > > >=media-sound/cadence-0.9.0-r4 missing-qpainterpath-flags > > >to /etc/portage/package.env (or /e/p/package.env/qpainterpath.env or >some such if you've "directoryfied" your package.env (can you?) ;) [..] *Whoa* I just remembered, that I tested back on 5.14.2[1], but, I just re-emerged qtcore-5.15, qtwidgets-5.15 and qtgui-5.15 (which is all cadence needs) and qtsvg-5.15 (for qt5ct that is called when running stuff) and my hack still worked, i.e. it compiles fine and cadence-xycontroller even runs (which is where that pixmapdial.cpp ends up in) ;) HTH, -dnh [1] there was some major other showstopper for me with 5.15 -- Well, I do {cough} have to admit to having forsaken ed(1) in favour of a certain graphical user interface named after the Roman number after 5. -- Anthony de Boer
Re: [gentoo-user] Kernel panic - not syncing: No working init found.
On 3 June 2020 18:52:59 CEST, the...@sys-concept.com wrote: >On 06/03/2020 10:31 AM, Dale wrote: >> the...@sys-concept.com wrote: >>> When I try to boot I'm getting an error: >>> >>> "Kernel panic - not syncing: No working init found. Try passing >init= >>> option to kernel." >>> >>> I am running very low on disk space, I think. >>> I've tried to boot strap the system and remove some files but boot >strap >>> is not working. When I boot from minimal-install gentoo CD I try: >>> >>> swapon /dev/sda3 >>> swapon: /dev/sda3: read swap header failed: Input/output error >>> >>> Any solution? >>> >> >> >> Are you sure you are pointing to the right partition for /, root? >> That's one common reason for that error. >> >> Dale >> >> :-) :-) > >I'm sure, here is my backup fstab from this system: > >/dev/sda2 /boot ext2noauto,noatime 1 2 >/dev/sda3none swapsw >0 0 >/dev/sda4 / ext4noatime 0 1 >/dev/cdrom /mnt/cdrom autonoauto,user >0 0 > >Sometimes the system boot but most of the time it doesn't. So I was >trying to "bootstrap" it to clean up some files. > >-- >Thelma What exactly do you mean with "bootstrap"? -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Re: [gentoo-user] Kernel panic - not syncing: No working init found.
On 3 June 2020 18:24:47 CEST, the...@sys-concept.com wrote: >When I try to boot I'm getting an error: > >"Kernel panic - not syncing: No working init found. Try passing init= >option to kernel." > >I am running very low on disk space, I think. >I've tried to boot strap the system and remove some files but boot >strap >is not working. When I boot from minimal-install gentoo CD I try: > >swapon /dev/sda3 >swapon: /dev/sda3: read swap header failed: Input/output error > >Any solution? Is this on a new system? Or on an existing system that started showing this issue after working correctly for a while? -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Re: [gentoo-user] Kernel panic - not syncing: No working init found.
On Wednesday, 3 June 2020 18:28:33 BST Dale wrote: > tedheadster wrote: > > Yes, you do need to capture the kernel output. > > > > The usual way is to hook up a serial cable to another computer and > > pipe the output to it. You interrupt the boot (usually by hitting > > or in GRUB), and then edit the kernel command line thus: > > > > console=tty1 console=ttyS0,115200n8 > > > > If you can do that you can give us some debug output. > > > > - Matthew > > Could she boot from some other media, mount the partitions to get to > dmesg and get it from that? Or since it may not be mounting any > partitons, would that lead down the wrong path if it is outdated? > > Dale > > :-) :-) If the /dev/sda3 partition is the correct swap partition as fdisk reports with a LiveCD, the OP can create a new swap on it and see if it can be activated: mkswap -L SWAP /dev/sda3 swapon /dev/sda3 If there are still I/O errors try reseating the SATA cable, there may be corrosion on the contacts. dmesg with the LiveCD will also reveal any other hardware issues. signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] cmake 3.16.5 Segmentation Violation
On Wed, Jun 3, 2020 at 1:43 PM David Haller wrote: > > Hello, > > On Wed, 03 Jun 2020, tedheadster wrote: > >I am getting a segmentation violation when running a recompiled > >'cmake'. I rebuilt with debugging symbols; here are the results: > > > >/var/tmp/portage/dev-util/cmake-3.16.5/image/usr/bin # gdb ./cmake > [..] > >Program received signal SIGSEGV, Segmentation fault. > >0xb7de7296 in uv_loop_close (loop=0x0) at > > >/usr/src/debug/dev-libs/libuv-1.35.0/libuv-1.35.0/src/uv-common.c:757 > ^^ > >757 if (uv__has_active_reqs(loop)) > >(gdb) up > >#1 0x0053fab4 in main (ac=, av=0xb09a60) > >at > > /var/tmp/portage/dev-util/cmake-3.16.5/work/cmake-3.16.5/Source/cmakemain.cxx:706 > >706 uv_loop_close(uv_default_loop()); > >(gdb) up > > Try re-emerging dev-libs/libuv? I already had to re-emerge dev-libs/libuv to build the debug version. No change in behavior. This is from a completely fresh install using the very recent stage3-i686-systemd-20200527T000231Z.tar.xz. - Matthew
Re: [gentoo-user] cmake 3.16.5 Segmentation Violation
Hello, On Wed, 03 Jun 2020, tedheadster wrote: >I am getting a segmentation violation when running a recompiled >'cmake'. I rebuilt with debugging symbols; here are the results: > >/var/tmp/portage/dev-util/cmake-3.16.5/image/usr/bin # gdb ./cmake [..] >Program received signal SIGSEGV, Segmentation fault. >0xb7de7296 in uv_loop_close (loop=0x0) at >/usr/src/debug/dev-libs/libuv-1.35.0/libuv-1.35.0/src/uv-common.c:757 ^^ >757 if (uv__has_active_reqs(loop)) >(gdb) up >#1 0x0053fab4 in main (ac=, av=0xb09a60) >at > /var/tmp/portage/dev-util/cmake-3.16.5/work/cmake-3.16.5/Source/cmakemain.cxx:706 >706 uv_loop_close(uv_default_loop()); >(gdb) up Try re-emerging dev-libs/libuv? HTH, -dnh -- Connection reset by beer
Re: [gentoo-user] Screenrecording with audio from firefox
Hello, On Wed, 03 Jun 2020, tu...@posteo.de wrote: >In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, > from /usr/include/qt5/QtCore/qlist.h:47, > from /usr/include/qt5/QtCore/qstringlist.h:41, > from /usr/include/qt5/QtGui/qcolor.h:46, > from /usr/include/qt5/QtGui/qpixmap.h:45, > from /usr/include/qt5/QtGui/QPixmap:1, > from ../widgets/pixmapdial.hpp:21, > from ../widgets/pixmapdial.cpp:18: >/usr/include/qt5/QtCore/qstring.h:393:14: note: declared here > 393 | QString (const char *format, ...) > Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); > | ^~~ >../widgets/pixmapdial.cpp: In member function 'virtual void >PixmapDial::paintEvent(QPaintEvent*)': >../widgets/pixmapdial.cpp:231:26: error: aggregate 'QPainterPath ballPath' has >incomplete type and cannot be defined > 231 | QPainterPath ballPath; > | ^~~~ I think something similar was on this list a couple of days ago, it's a missing include (that wasn't neccessary before Qt5.15), there's 21 similar bugs filed already c.f.[1]. A quick and easy fix for this problem should be this: 1. create a file /etc/portage/env/missing-qpainterpath-flags and insert this line: CXXFLAGS="${CXXFLAGS} -include QPainterPath" 2. add the line =media-sound/cadence-0.9.0-r4 missing-qpainterpath-flags to /etc/portage/package.env (or /e/p/package.env/qpainterpath.env or some such if you've "directoryfied" your package.env (can you?) ;) [add more lines for specific package versions and revs for the same problem, see [1] for candidates] Yes, that is *quite an ugly hack*, but could be handy while stuff get's patched to work with that specific change of Qt5.15... FWIW: that includes that QPainterPath header in _all_ C++ sources, but what the hey, compilers are so good today, that they throw away anything unused, so it should not matter. It'll slow down the compile a bit... Once e.g. media-sound/cadence is fixed and revbumped/versionbumped, delete that line from package.env. It works here for a quick: # ebuild cadence-0.9.0-r4.ebuid compile [..] c++ -c ../widgets/pixmapdial.cpp -O3 -ffast-math -mtune=generic -msse -mfpmath=sse -Wall -Wextra -DNDEBUG -fPIC -std=c++0x -pipe -O3 -march=native -mtune=native [..] -std=gnu++14 -include QPainterPath -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM -DQT_NO_DEBUG_OUTPUT -I../widgets -I/usr/include/qt5/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtGui -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -DQT_GUI_LIB -DQT_CORE_LIB -o ../widgets/pixmapdial.o c++ -c ../widgets/pixmapkeyboard.cpp [..] [..] >>> Source compiled. HTH, -dnh, tending to be very pragmatic in cases like this ;) [1] https://bugs.gentoo.org/buglist.cgi?bug_status=UNCONFIRMED_status=CONFIRMED_status=IN_PROGRESS_status=RESOLVED_status=VERIFIED=OP=OP=alias=short_desc=CP=CP=OR=substring=substring=bug_id -- "Humans need fantasy .. to *be* human" -- Death (in Hogfather)
Re: [gentoo-user] Kernel panic - not syncing: No working init found.
tedheadster wrote: > Yes, you do need to capture the kernel output. > > The usual way is to hook up a serial cable to another computer and > pipe the output to it. You interrupt the boot (usually by hitting > or in GRUB), and then edit the kernel command line thus: > > console=tty1 console=ttyS0,115200n8 > > If you can do that you can give us some debug output. > > - Matthew > > Could she boot from some other media, mount the partitions to get to dmesg and get it from that? Or since it may not be mounting any partitons, would that lead down the wrong path if it is outdated? Dale :-) :-)
Re: [gentoo-user] Kernel panic - not syncing: No working init found.
Yes, you do need to capture the kernel output. The usual way is to hook up a serial cable to another computer and pipe the output to it. You interrupt the boot (usually by hitting or in GRUB), and then edit the kernel command line thus: console=tty1 console=ttyS0,115200n8 If you can do that you can give us some debug output. - Matthew
Re: [gentoo-user] Kernel panic - not syncing: No working init found.
On 06/03/2020 10:57 AM, tedheadster wrote: > Can you provide the "Command line:" information from when the kernel > first boots? It is around line 5 or so. > > - Matthew To do it I think I need to record the screen as it boots. -- Thelma
Re: [gentoo-user] Kernel panic - not syncing: No working init found.
Can you provide the "Command line:" information from when the kernel first boots? It is around line 5 or so. - Matthew
Re: [gentoo-user] Kernel panic - not syncing: No working init found.
On 06/03/2020 10:31 AM, Dale wrote: > the...@sys-concept.com wrote: >> When I try to boot I'm getting an error: >> >> "Kernel panic - not syncing: No working init found. Try passing init= >> option to kernel." >> >> I am running very low on disk space, I think. >> I've tried to boot strap the system and remove some files but boot strap >> is not working. When I boot from minimal-install gentoo CD I try: >> >> swapon /dev/sda3 >> swapon: /dev/sda3: read swap header failed: Input/output error >> >> Any solution? >> > > > Are you sure you are pointing to the right partition for /, root? > That's one common reason for that error. > > Dale > > :-) :-) I'm sure, here is my backup fstab from this system: /dev/sda2 /boot ext2noauto,noatime 1 2 /dev/sda3none swapsw 0 0 /dev/sda4 / ext4noatime 0 1 /dev/cdrom /mnt/cdrom autonoauto,user 0 0 Sometimes the system boot but most of the time it doesn't. So I was trying to "bootstrap" it to clean up some files. -- Thelma
Re: [gentoo-user] Kernel panic - not syncing: No working init found.
the...@sys-concept.com wrote: > When I try to boot I'm getting an error: > > "Kernel panic - not syncing: No working init found. Try passing init= > option to kernel." > > I am running very low on disk space, I think. > I've tried to boot strap the system and remove some files but boot strap > is not working. When I boot from minimal-install gentoo CD I try: > > swapon /dev/sda3 > swapon: /dev/sda3: read swap header failed: Input/output error > > Any solution? > Are you sure you are pointing to the right partition for /, root? That's one common reason for that error. Dale :-) :-)
[gentoo-user] cmake 3.16.5 Segmentation Violation
I am getting a segmentation violation when running a recompiled 'cmake'. I rebuilt with debugging symbols; here are the results: /var/tmp/portage/dev-util/cmake-3.16.5/image/usr/bin # gdb ./cmake GNU gdb (Gentoo 9.1 vanilla) 9.1 Copyright (C) 2020 Free Software Foundation, Inc. ... Reading symbols from ./cmake... (gdb) run --version Starting program: /var/tmp/portage/dev-util/cmake-3.16.5/image/usr/bin/cmake --version [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". cmake version 3.16.5 CMake suite maintained and supported by Kitware (kitware.com/cmake). Program received signal SIGSEGV, Segmentation fault. 0xb7de7296 in uv_loop_close (loop=0x0) at /usr/src/debug/dev-libs/libuv-1.35.0/libuv-1.35.0/src/uv-common.c:757 757 if (uv__has_active_reqs(loop)) (gdb) up #1 0x0053fab4 in main (ac=, av=0xb09a60) at /var/tmp/portage/dev-util/cmake-3.16.5/work/cmake-3.16.5/Source/cmakemain.cxx:706 706 uv_loop_close(uv_default_loop()); (gdb) up Initial frame selected; you cannot go up. (gdb) Who can I work with to debug this? - Matthew
[gentoo-user] Kernel panic - not syncing: No working init found.
When I try to boot I'm getting an error: "Kernel panic - not syncing: No working init found. Try passing init= option to kernel." I am running very low on disk space, I think. I've tried to boot strap the system and remove some files but boot strap is not working. When I boot from minimal-install gentoo CD I try: swapon /dev/sda3 swapon: /dev/sda3: read swap header failed: Input/output error Any solution? -- Thelma
Re: [gentoo-user] Screenrecording with audio from firefox
Hi Daniel, sorry for not understanding the whole setup ... Please see my inserted questions below: On 06/03 04:44, Daniel Sonck wrote: > It might be that your Qt5 is perhaps partially updated or out of date even, > but not sure. I do know that it can be a pain to compile due to Qt5 changing. > If it's too much of a hassle to get it to work, Catia could be replaced by > QJackCtl, however then you will need to have the tweaks Cadence does for you > manually applied. Which, according to my system, is: > > pcm.!default { > type plug > slave { pcm "jack" } > } > > pcm.jack { > type jack > playback_ports { > 0 system:playback_1 > 1 system:playback_2 > } > capture_ports { > 0 system:capture_1 > 1 system:capture_2 > } > } > > ctl.mixer0 { > type hw > card 0 > > ( In case you want to entirely not bother with pulseaudio ) The above setup is for alsa/jack/obs...right. Since jackd does not start (it crashes) and I am currently not in the mood to fix an error which helps to fix a problem which should fix a problem for an application which in first place was there to help me to fix an issue to record from Firefox...I will try pulseaudio -- despite the fact, that I really don't like it. > Or, like me where I have it set to pulseaudio mode which creates: Ok...the following is for alsa/pulseaudio/obs > pcm.!default { > type plug > slave { pcm "pulse" } > } > > pcm.pulse { > type pulse > } > > ctl.mixer0 { > type hw > card 0 > } > > This would go into a file .asoundrc in your $HOME and force ALSA native > programs to actually hook up as Jack clients, ...sorry...why jack? Do I need jack for pulseaudio? > so you can manage your audio. > Note that you would still need to go into QJackCtls settings to setup the > correct main audio device Pulseaudio->pavucontrolright? I am..irritated..at least;) HLL! :) Cheers! Meino > On Wednesday, June 3, 2020 4:30:11 PM CEST tu...@posteo.de wrote: > > ‘QPainterPath ballPath’ has incomplete type and cannot be defined > > > > >
Re: [gentoo-user] Problem with socks syscall
On Wed, Jun 03, 2020 at 12:47:34PM +0200, tu...@posteo.de wrote: > host:/tmp>sudo torify aria2c --async-dns false http:aria2c http://example.com > 1591180702 WARNING torsocks[20364]: [syscall] Unsupported syscall number 2. > Denying the call (in tsocks_syscall() at syscall.c:604) > 1591180702 WARNING torsocks[20364]: [syscall] Unsupported syscall number 2. > Denying the call (in tsocks_syscall() at syscall.c:604) > Exception caught > Exception: [download_helper.cc:451] errorCode=1 Unrecognized URI or > unsupported protocol: false aria2c is quitting not because of the unsupported syscall warnings, but the fact that the syntax of your command is incorrect; it is interpreting `--async-dns false` not as a key-value pair, but as a U.R.L.\ specification. Hence the `unrecognized URI: false` error. Try fixing the command as such: $ torify aria2c --async-dns=false http://example.com -- Ashley Dixon suugaku.co.uk 2A9A 4117 DA96 D18A 8A7B B0D2 A30E BF25 F290 A8AA signature.asc Description: PGP signature
Re: [gentoo-user] Screenrecording with audio from firefox
It might be that your Qt5 is perhaps partially updated or out of date even, but not sure. I do know that it can be a pain to compile due to Qt5 changing. If it's too much of a hassle to get it to work, Catia could be replaced by QJackCtl, however then you will need to have the tweaks Cadence does for you manually applied. Which, according to my system, is: pcm.!default { type plug slave { pcm "jack" } } pcm.jack { type jack playback_ports { 0 system:playback_1 1 system:playback_2 } capture_ports { 0 system:capture_1 1 system:capture_2 } } ctl.mixer0 { type hw card 0 } ( In case you want to entirely not bother with pulseaudio ) Or, like me where I have it set to pulseaudio mode which creates: pcm.!default { type plug slave { pcm "pulse" } } pcm.pulse { type pulse } ctl.mixer0 { type hw card 0 } This would go into a file .asoundrc in your $HOME and force ALSA native programs to actually hook up as Jack clients, so you can manage your audio. Note that you would still need to go into QJackCtls settings to setup the correct main audio device On Wednesday, June 3, 2020 4:30:11 PM CEST tu...@posteo.de wrote: > ‘QPainterPath ballPath’ has incomplete type and cannot be defined
Re: [gentoo-user] Screenrecording with audio from firefox
Hi Daniel, thanks a lotcadence failed to compile... In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qstringlist.h:41, from /usr/include/qt5/QtGui/qcolor.h:46, from /usr/include/qt5/QtGui/qpixmap.h:45, from /usr/include/qt5/QtGui/QPixmap:1, from ../widgets/pixmapdial.hpp:21, from ../widgets/pixmapdial.cpp:18: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString (const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~ ../widgets/pixmapdial.cpp: In member function ‘virtual void PixmapDial::paintEvent(QPaintEvent*)’: ../widgets/pixmapdial.cpp:231:26: error: aggregate ‘QPainterPath ballPath’ has incomplete type and cannot be defined 231 | QPainterPath ballPath; | ^~~~ ../widgets/pixmapdial.cpp:278:26: error: aggregate ‘QPainterPath ballPath’ has incomplete type and cannot be defined 278 | QPainterPath ballPath; | ^~~~ make[1]: *** [Makefile:63: ../widgets/pixmapdial.o] Error 1 make[1]: *** Waiting for unfinished jobs c++ jackmeter.o qrc_resources-jackmeter.o ../widgets/digitalpeakmeter.o -Wl,-O1 -Wl,--as-needed -lQt5Widgets -lQt5Gui -lQt5Core -ldl -o cadence-jackmeter make[1]: Leaving directory '/var/tmp/portage/media-sound/cadence-0.9.0-r4/work/Cadence-0.9.0/c++/jackmeter' make[1]: Leaving directory '/var/tmp/portage/media-sound/cadence-0.9.0-r4/work/Cadence-0.9.0/c++/xycontroller' make: *** [Makefile:34: xycontroller] Error 2 * ERROR: media-sound/cadence-0.9.0-r4::gentoo failed (compile phase): * emake failed Cheers! Meino On 06/03 04:20, Daniel Sonck wrote: > I'm not entirely sure if it's part of portage yet (long time since I touched > gentoo) but it's a modern jack routing program in similar style to the > cadence > program. If cadence exists, it's likely bundled with catia otherwise it can > be > found in the audio overlay, this issue specifically mentions it: https:// > github.com/gentoo-audio/audio-overlay/issues/47 > > On Wednesday, June 3, 2020 4:17:15 PM CEST tu...@posteo.de wrote: > > Hi Daniel, > > > > short question...what is catia (beside a CAD program by Dassault > > Systems... ;)... > > Can't find that in portage... > > > > Cheers! > > Meino > > > > On 06/03 03:47, Daniel Sonck wrote: > > > I just installed simplescreenrecorder as well. The same pulseaudio method > > > should also work for that by choosing the "Monitor" variants, although I > > > have to add that it would not allow you to capture both a mic and firefox > > > (or other application at the same time) unless you play back your own > > > microphone sound. With OBS you can add an Input and Output source to have > > > both mic and desktop audio. > > > > > > If you want to have more control or are reluctant to use pulseaudio (as > > > some are) then it gets more complicated. With ALSA, I know there are ways > > > to support it by editing the ALSA configuration file but I don't know > > > anything about that (nor do I really like that approach). > > > > > > I would then recommend using JACK instead, and setup ALSA programs to use > > > a > > > wrapper for JACK, this would allow you to route any audio through anything > > > (for which people in Music as I am use Jack) including mixing it together > > > before sending to SimpleScreenRecorder or OBS. The 2 tools I recommend to > > > add would be cadence (for configuring Jack + ALSA) and catia (to setup > > > the proper audio routing) possibly combined with some jack audio mixer to > > > get a "virtual mixing panel". > > > > > > Hope this helps > > > > > > Regards, > > > > > > Daniel > > > > > > On Wednesday, June 3, 2020 3:30:53 PM CEST tu...@posteo.de wrote: > > > > Hi, > > > > > > > > To record my screen with audio I installed > > > > obs and then simplescreenrecoder. > > > > > > > > Recording the video stream more or less works (I cannot record a > > > > firefox-window and need to record the full screen). > > > > > > > > But recording the audio from the source which will be replayed > > > > by firefox only give me a stuttering sinus tone. > > > > > > > > According to different tutorials I watched the recording of > > > > a gameplay works with video/audio which exactly mine setup. > > > > > > > > Interestingly I cannot find the regarding options of both > > > > screen recorders any more (the tutorials refer to older versions > > > > of the recorders). > > > > > > > > How can I record video and audio from the played source nonetheless? > > > > > > > > Cheers! > > > > Meino > > > > >
Re: [gentoo-user] Screenrecording with audio from firefox
I'm not entirely sure if it's part of portage yet (long time since I touched gentoo) but it's a modern jack routing program in similar style to the cadence program. If cadence exists, it's likely bundled with catia otherwise it can be found in the audio overlay, this issue specifically mentions it: https:// github.com/gentoo-audio/audio-overlay/issues/47 On Wednesday, June 3, 2020 4:17:15 PM CEST tu...@posteo.de wrote: > Hi Daniel, > > short question...what is catia (beside a CAD program by Dassault > Systems... ;)... > Can't find that in portage... > > Cheers! > Meino > > On 06/03 03:47, Daniel Sonck wrote: > > I just installed simplescreenrecorder as well. The same pulseaudio method > > should also work for that by choosing the "Monitor" variants, although I > > have to add that it would not allow you to capture both a mic and firefox > > (or other application at the same time) unless you play back your own > > microphone sound. With OBS you can add an Input and Output source to have > > both mic and desktop audio. > > > > If you want to have more control or are reluctant to use pulseaudio (as > > some are) then it gets more complicated. With ALSA, I know there are ways > > to support it by editing the ALSA configuration file but I don't know > > anything about that (nor do I really like that approach). > > > > I would then recommend using JACK instead, and setup ALSA programs to use > > a > > wrapper for JACK, this would allow you to route any audio through anything > > (for which people in Music as I am use Jack) including mixing it together > > before sending to SimpleScreenRecorder or OBS. The 2 tools I recommend to > > add would be cadence (for configuring Jack + ALSA) and catia (to setup > > the proper audio routing) possibly combined with some jack audio mixer to > > get a "virtual mixing panel". > > > > Hope this helps > > > > Regards, > > > > Daniel > > > > On Wednesday, June 3, 2020 3:30:53 PM CEST tu...@posteo.de wrote: > > > Hi, > > > > > > To record my screen with audio I installed > > > obs and then simplescreenrecoder. > > > > > > Recording the video stream more or less works (I cannot record a > > > firefox-window and need to record the full screen). > > > > > > But recording the audio from the source which will be replayed > > > by firefox only give me a stuttering sinus tone. > > > > > > According to different tutorials I watched the recording of > > > a gameplay works with video/audio which exactly mine setup. > > > > > > Interestingly I cannot find the regarding options of both > > > screen recorders any more (the tutorials refer to older versions > > > of the recorders). > > > > > > How can I record video and audio from the played source nonetheless? > > > > > > Cheers! > > > Meino
Re: [gentoo-user] Screenrecording with audio from firefox
Hi Daniel, short question...what is catia (beside a CAD program by Dassault Systems... ;)... Can't find that in portage... Cheers! Meino On 06/03 03:47, Daniel Sonck wrote: > I just installed simplescreenrecorder as well. The same pulseaudio method > should also work for that by choosing the "Monitor" variants, although I have > to add that it would not allow you to capture both a mic and firefox (or > other > application at the same time) unless you play back your own microphone sound. > With OBS you can add an Input and Output source to have both mic and desktop > audio. > > If you want to have more control or are reluctant to use pulseaudio (as some > are) then it gets more complicated. With ALSA, I know there are ways to > support it by editing the ALSA configuration file but I don't know anything > about that (nor do I really like that approach). > > I would then recommend using JACK instead, and setup ALSA programs to use a > wrapper for JACK, this would allow you to route any audio through anything > (for which people in Music as I am use Jack) including mixing it together > before sending to SimpleScreenRecorder or OBS. The 2 tools I recommend to add > would be cadence (for configuring Jack + ALSA) and catia (to setup the proper > audio routing) possibly combined with some jack audio mixer to get a "virtual > mixing panel". > > Hope this helps > > Regards, > > Daniel > > On Wednesday, June 3, 2020 3:30:53 PM CEST tu...@posteo.de wrote: > > Hi, > > > > To record my screen with audio I installed > > obs and then simplescreenrecoder. > > > > Recording the video stream more or less works (I cannot record a > > firefox-window and need to record the full screen). > > > > But recording the audio from the source which will be replayed > > by firefox only give me a stuttering sinus tone. > > > > According to different tutorials I watched the recording of > > a gameplay works with video/audio which exactly mine setup. > > > > Interestingly I cannot find the regarding options of both > > screen recorders any more (the tutorials refer to older versions > > of the recorders). > > > > How can I record video and audio from the played source nonetheless? > > > > Cheers! > > Meino > > > > >
Re: [gentoo-user] Screenrecording with audio from firefox
I just installed simplescreenrecorder as well. The same pulseaudio method should also work for that by choosing the "Monitor" variants, although I have to add that it would not allow you to capture both a mic and firefox (or other application at the same time) unless you play back your own microphone sound. With OBS you can add an Input and Output source to have both mic and desktop audio. If you want to have more control or are reluctant to use pulseaudio (as some are) then it gets more complicated. With ALSA, I know there are ways to support it by editing the ALSA configuration file but I don't know anything about that (nor do I really like that approach). I would then recommend using JACK instead, and setup ALSA programs to use a wrapper for JACK, this would allow you to route any audio through anything (for which people in Music as I am use Jack) including mixing it together before sending to SimpleScreenRecorder or OBS. The 2 tools I recommend to add would be cadence (for configuring Jack + ALSA) and catia (to setup the proper audio routing) possibly combined with some jack audio mixer to get a "virtual mixing panel". Hope this helps Regards, Daniel On Wednesday, June 3, 2020 3:30:53 PM CEST tu...@posteo.de wrote: > Hi, > > To record my screen with audio I installed > obs and then simplescreenrecoder. > > Recording the video stream more or less works (I cannot record a > firefox-window and need to record the full screen). > > But recording the audio from the source which will be replayed > by firefox only give me a stuttering sinus tone. > > According to different tutorials I watched the recording of > a gameplay works with video/audio which exactly mine setup. > > Interestingly I cannot find the regarding options of both > screen recorders any more (the tutorials refer to older versions > of the recorders). > > How can I record video and audio from the played source nonetheless? > > Cheers! > Meino
Re: [gentoo-user] Screenrecording with audio from firefox
Hello, For OBS you can use the Audio Output Capture which requires PulseAudio to be running. It will look for the monitor device of your current soundcard to capture all audio you hear. For simplescreenrecorder, I don't know as I prefer OBS for it's extra compositing features and convenience. Regards, Daniel On Wednesday, June 3, 2020 3:30:53 PM CEST tu...@posteo.de wrote: > Hi, > > To record my screen with audio I installed > obs and then simplescreenrecoder. > > Recording the video stream more or less works (I cannot record a > firefox-window and need to record the full screen). > > But recording the audio from the source which will be replayed > by firefox only give me a stuttering sinus tone. > > According to different tutorials I watched the recording of > a gameplay works with video/audio which exactly mine setup. > > Interestingly I cannot find the regarding options of both > screen recorders any more (the tutorials refer to older versions > of the recorders). > > How can I record video and audio from the played source nonetheless? > > Cheers! > Meino
[gentoo-user] Screenrecording with audio from firefox
Hi, To record my screen with audio I installed obs and then simplescreenrecoder. Recording the video stream more or less works (I cannot record a firefox-window and need to record the full screen). But recording the audio from the source which will be replayed by firefox only give me a stuttering sinus tone. According to different tutorials I watched the recording of a gameplay works with video/audio which exactly mine setup. Interestingly I cannot find the regarding options of both screen recorders any more (the tutorials refer to older versions of the recorders). How can I record video and audio from the played source nonetheless? Cheers! Meino
[gentoo-user] Problem with socks syscall
Hi, I experimented with torify of the TOR project today and failed host:/tmp>sudo torify aria2c --async-dns false http:aria2c http://example.com 1591180702 WARNING torsocks[20364]: [syscall] Unsupported syscall number 2. Denying the call (in tsocks_syscall() at syscall.c:604) 1591180702 WARNING torsocks[20364]: [syscall] Unsupported syscall number 2. Denying the call (in tsocks_syscall() at syscall.c:604) Exception caught Exception: [download_helper.cc:451] errorCode=1 Unrecognized URI or unsupported protocol: false [1]20363 exit 1 sudo torify aria2c --async-dns false http:aria2c http://example.com Aria2, torsocks and torify are freshly compiled/installed: [I] net-misc/aria2 Available versions: 1.34.0-r2^t {adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls scripts sqlite ssh ssl tcmalloc test xmlrpc} Installed versions: 1.34.0-r2^t(12:37:52 PM 06/03/2020)(adns bittorrent gnutls jemalloc libuv libxml2 metalink nettle nls scripts sqlite ssh ssl xmlrpc -tcmalloc -test) Homepage:https://aria2.github.io/ Description: A download utility with segmented downloading with BitTorrent support [I] acct-group/tor Available versions: 0 Installed versions: 0(07:00:43 PM 06/02/2020) Description: group for tor daemon [I] acct-user/tor Available versions: 0 Installed versions: 0(07:00:50 PM 06/02/2020) Description: user for tor daemon [I] net-proxy/torsocks Available versions: 2.2.0 2.3.0 {static-libs} Installed versions: 2.3.0(07:23:00 PM 06/02/2020)(-static-libs) Homepage:https://github.com/dgoulet/torsocks Description: Use most socks-friendly applications with Tor [I] net-vpn/tor Available versions: 0.4.2.7^t (~)0.4.3.5^t {caps doc libressl lzma +man scrypt seccomp selinux +server systemd test tor-hardening zstd} Installed versions: 0.4.3.5^t(07:11:51 PM 06/02/2020)(caps doc lzma man scrypt seccomp server tor-hardening zstd -libressl -selinux -systemd -test) Homepage:http://www.torproject.org/ Description: Anonymizing overlay network for TCP The TOR webbrowser works without any problems. This is my first contact with tor/torsocks/... I briefly checked the kernel for a SOCK-related configuration item and found nothing. On the other hand, if this configuration item is named completly different, then I would be out of business. How can I use torify/torsocks successfully? Cheers! Meino