Re: [gentoo-user] cross-compiling environment for Rapberry

2024-05-01 Thread Alexandru N. Barloiu

On 4/30/2024 12:26 AM, ralfconn wrote:
The crossdev environment on the desktop knows nothing about the packages 
installed on the Pi, so I copied /var/db/pkg from Pi to 
/usr/aarch64-unknown-linux-gnu/var/db/pkg on the desktop. I ran emerge 
--sync on the Pi and on the desktop approximatively at the same time.



this is wrong. so ima gonna assume we talking about crossdev. and 
cross-emerge. which should be the go to tool for this.


but here is the problem. you cant just "mimic" fake packages. which is 
wht you did is.


3 different systems. host system, prolly x86/64. then virtual system. 
then the actual pi. do not confuse them.


profiles are less important. dependencies are important however.

lets say you do USE="xz" ROOT="/someplace" SYSROOT=$ROOT ARCH=$whatever 
cross-emerge gcc. you would need headers and libs not just in the target 
system, but in the building systems as well. not just in the main 
building system, the host system, but based on how and what you are 
doing, you might need to build, dependencies, including in that 
intermediary /usr/$arch.






Re: [gentoo-user] Re: [gentoo-dev] Current unavoidable use of xz utils in Gentoo

2024-03-31 Thread Alexandru N. Barloiu
No argument from me. That JiaTan dude had other projects forked he was 
looking at. And none of them are good news. zstd. lz4. libarchive. 
squashfs-tools. But still, I think its good news if people already 
figured how to turn it off in a few days.




On 4/1/2024 1:36 AM, Michael Orlitzky wrote:

On Mon, 2024-04-01 at 01:32 +0300, Alexandru N. Barloiu wrote:

https://piaille.fr/@zeno/112185928685603910

There's an ENV var you can set that is a kill switch for the whole thing :)


For the part that we found :)

The author of the backdoor had commit access to the upstream repository
for a long time:

   https://git.tukaani.org/?p=xz.git;a=search;s=Jia+Tan;st=author

Personally I would be skeptical of running any version of any package
that he has touched.






Re: [gentoo-user] Re: [gentoo-dev] Current unavoidable use of xz utils in Gentoo

2024-03-31 Thread Alexandru N. Barloiu

https://piaille.fr/@zeno/112185928685603910

There's an ENV var you can set that is a kill switch for the whole thing :)


On 4/1/2024 1:29 AM, Michael Orlitzky wrote:

On Sun, 2024-03-31 at 18:19 -0400, Michael Orlitzky wrote:

The old version will show up as liblzma.so.5.6.1. Restart anything that
uses it.

Or liblzma.so.5.6.0






Re: [gentoo-user] Re: silencing distcc with systemd

2024-03-31 Thread Alexandru N. Barloiu
I think in the past, the service file had a -v. Somewhere near the 
present, they reverted to a non -v service file. So if you keep 
upgrading distcc, prolly the service file still has a -v from past 
installations. If you uninstall it, and install it again, then prolly 
you got the new service file which is without -v. That prolly explains 
why some machines still have it, and some don't.


On 4/1/2024 12:03 AM, Daniel Frey wrote:

On 3/31/24 13:59, Alexandru N. Barloiu wrote:
think the distcc.service file has an extra -v (--verbose). if you 
remove that, it will behave as expected.




I checked all the units on one of the machines still showing the 
problem and an extra '-v' is not present in any of the files.


That's a good thought though. I wouldn't have even thought about that 
when I was looking at the unit files initially.


Dan





Re: [gentoo-user] Re: silencing distcc with systemd

2024-03-31 Thread Alexandru N. Barloiu
/etc/systemd/system/distccd.service.d/00gentoo.conf or the service file. 
has to be. there cant be anything else. that's how distcc behaves when 
started with -v. do a ps axw. figure out where the -v is coming from. 
maybe a systemctl daemon-reload && systemctl restart distccd. cant be 
anything else but a -v



On 4/1/2024 12:03 AM, Daniel Frey wrote:

On 3/31/24 13:59, Alexandru N. Barloiu wrote:
think the distcc.service file has an extra -v (--verbose). if you 
remove that, it will behave as expected.




I checked all the units on one of the machines still showing the 
problem and an extra '-v' is not present in any of the files.


That's a good thought though. I wouldn't have even thought about that 
when I was looking at the unit files initially.


Dan





Re: [gentoo-user] Re: silencing distcc with systemd

2024-03-31 Thread Alexandru N. Barloiu
think the distcc.service file has an extra -v (--verbose). if you remove 
that, it will behave as expected.


On 3/31/2024 11:57 PM, Daniel Frey wrote:

On 3/29/24 22:38, Daniel Frey wrote:

Hi all,

I've moved a couple of machines from openrc to systemd.

I have discovered this odd problem. On openrc, distcc was quiet 
during building packages. It would obey environment variable set in 
/etc/env.d:


DISTCC_DIR=/var/distcc
DISTCC_ENABLE_DISCREPANCY_EMAIL=
DISTCC_FALLBACK=1
DISTCC_SAVE_TEMPS=0
DISTCC_SSH=
DISTCC_TCP_CORK=
DISTCC_VERBOSE=0

This currently shows up in the enviroment (checked with `set`.)

* snipped the rest *


Just an update. I have figured out it isn't systemd causing this issue.

I did upgrade several machines.

1. Upgraded the system profile.
2. Converted from split-usr to merged-usr.
3. Converted to systemd.

It turns out step 2 caused the problem. I don't know why, but it does 
- I tested this by converting an openrc machine that I hadn't upgraded 
yet from split-usr to merged-usr and the problem presented itself (no 
system on that machine yet.)


I did notice the machine I completely reinstalled from scratch (using 
systemd from the start) did not show signs of this issue.


I reinstalled the other distcc host using systemd from the start, 
installed and configured distcc and it all works as expected.


Now to reinstall the slower Celeron devices... come to think of it, I 
initially installed them in 2011. They haven't ever been reinstalled. 
Just repurposed.


Dan






Re: [gentoo-user] Musl custom initramfs kernel panic

2024-03-09 Thread Alexandru N. Barloiu
can also chroot into the environment where you prepared the initramfs 
image to test stuff, which will save you rebooting time.


On 3/9/2024 4:03 PM, efeizbudak wrote:

Hi all,

After updating my musl, my custom initramfs had stopped working. Can 
anyone give me a hand with this? I recompiled util-linux and updated 
the related files in my initramfs and also tried building it with 
static-libs but neither of these helped. On the other hand, the 
initramfs I built using genkernel works just fine.


The init error:

Error relocating /bin/mount: mnt_context_enable_noautofs: symbol not 
found
Error relocating /bin/mount: mnt_context_enable_onlyonce: symbol not 
found
Error relocating /bin/mount: mnt_context_enable_noautofs: symbol not 
found
Error relocating /bin/mount: mnt_context_enable_onlyonce: symbol not 
found
Error relocating /bin/mount: mnt_context_enable_noautofs: symbol not 
found
Error relocating /bin/mount: mnt_context_enable_onlyonce: symbol not 
found

/init: 6: cannot create /proc/sys/kernel/printk: Directory nonexistent
Fatal error during RNG initialisation
Cannot initialize crypto RNG backend.
Device /dev/sda3 is not a valid LUKS device.
/init: 8: cannot create /proc/sys/kernel/printk: Directory nonexistent
Error relocating /bin/mount: mnt_context_enable_noautofs: symbol not 
found
Error relocating /bin/mount: mnt_context_enable_onlyonce: symbol not 
found

umount: /dev: not mounted.
umount: /proc: not mounted.
umount: /sys: not mounted.
switch_root: failed to mount moving /mnt/root to /: Invalid argument
switch_root: failed. Sorry.
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0100
Kernel Offset: 0x900 from 0x8100 (relocation range: 
0x8000-0xbfff)
---[ end Kernel panic - not syncing: Attempted to kill init! 
exitcode+0x0100 ]---


my init file in my initramfs:

#!/bin/dash

mount -t devtmpfs none /dev
mount -t proc none /proc
mount -t sysfs none /sys
echo 0 > /proc/sys/kernel/printk
cryptsetup luksOpen --allow-discards /dev/sda3 root
echo 1 > /proc/sys/kernel/printk
mount -o ro /dev/mapper/root /mnt/root
umount /dev /proc /sys
exec switch_root /mnt/root /sbin/init

my initramfs files:

.
├── bin
│   ├── dash
│   ├── mount
│   └── umount
├── dev
│   ├── console
│   ├── null
│   ├── sda3
│   └── tty
├── etc
├── init
├── lib
│   ├── ld-musl-x86_64.so.1
│   ├── libblkid.so.1
│   ├── libcap.so.2
│   ├── libdevmapper.so.1.02
│   ├── libmount.so.1
│   ├── libudev.so.1
│   └── libuuid.so.1
├── lib64
├── mnt
│   └── root
├── proc
├── root
├── run
├── sbin
│   ├── cryptsetup
│   └── switch_root
├── sys
├── trq.map
├── usr
│   ├── bin
│   └── lib
│   ├── libblkid.so.1
│   ├── libc.so
│   ├── libcap.so.2
│   ├── libcryptsetup.so.12
│   ├── libgcrypt.so.20
│   ├── libgpg-error.so.0
│   ├── libjson-c.so.5
│   ├── libmount.so.1
│   ├── libpopt.so.0
│   └── libuuid.so.1
└── var
    ├── log
    └── run

how I update my initramfs:

lddtree.py --copy-to-tree /usr/src/initramfs /bin/mount 
/sbin/cryptsetup /bin/dash /sbin/switch_root /bin/umount

cd /usr/src/initramfs
find . -print0 | cpio --null --create --verbose --format=newc > 
/boot/custom-initramfs.img







Re: [gentoo-user] Musl custom initramfs kernel panic

2024-03-09 Thread Alexandru N. Barloiu
clearly mount is using a symbol not provided by one of those shared 
libraries, but no clue which it is. However you dont need dash and mount 
and umount. Reason its working for genkernel is because its using 
busybox instead of normal system mount/umount/dash. Might want to try 
that. Smaller too.


On 3/9/2024 4:03 PM, efeizbudak wrote:

Hi all,

After updating my musl, my custom initramfs had stopped working. Can 
anyone give me a hand with this? I recompiled util-linux and updated 
the related files in my initramfs and also tried building it with 
static-libs but neither of these helped. On the other hand, the 
initramfs I built using genkernel works just fine.


The init error:

Error relocating /bin/mount: mnt_context_enable_noautofs: symbol not 
found
Error relocating /bin/mount: mnt_context_enable_onlyonce: symbol not 
found
Error relocating /bin/mount: mnt_context_enable_noautofs: symbol not 
found
Error relocating /bin/mount: mnt_context_enable_onlyonce: symbol not 
found
Error relocating /bin/mount: mnt_context_enable_noautofs: symbol not 
found
Error relocating /bin/mount: mnt_context_enable_onlyonce: symbol not 
found

/init: 6: cannot create /proc/sys/kernel/printk: Directory nonexistent
Fatal error during RNG initialisation
Cannot initialize crypto RNG backend.
Device /dev/sda3 is not a valid LUKS device.
/init: 8: cannot create /proc/sys/kernel/printk: Directory nonexistent
Error relocating /bin/mount: mnt_context_enable_noautofs: symbol not 
found
Error relocating /bin/mount: mnt_context_enable_onlyonce: symbol not 
found

umount: /dev: not mounted.
umount: /proc: not mounted.
umount: /sys: not mounted.
switch_root: failed to mount moving /mnt/root to /: Invalid argument
switch_root: failed. Sorry.
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0100
Kernel Offset: 0x900 from 0x8100 (relocation range: 
0x8000-0xbfff)
---[ end Kernel panic - not syncing: Attempted to kill init! 
exitcode+0x0100 ]---


my init file in my initramfs:

#!/bin/dash

mount -t devtmpfs none /dev
mount -t proc none /proc
mount -t sysfs none /sys
echo 0 > /proc/sys/kernel/printk
cryptsetup luksOpen --allow-discards /dev/sda3 root
echo 1 > /proc/sys/kernel/printk
mount -o ro /dev/mapper/root /mnt/root
umount /dev /proc /sys
exec switch_root /mnt/root /sbin/init

my initramfs files:

.
├── bin
│   ├── dash
│   ├── mount
│   └── umount
├── dev
│   ├── console
│   ├── null
│   ├── sda3
│   └── tty
├── etc
├── init
├── lib
│   ├── ld-musl-x86_64.so.1
│   ├── libblkid.so.1
│   ├── libcap.so.2
│   ├── libdevmapper.so.1.02
│   ├── libmount.so.1
│   ├── libudev.so.1
│   └── libuuid.so.1
├── lib64
├── mnt
│   └── root
├── proc
├── root
├── run
├── sbin
│   ├── cryptsetup
│   └── switch_root
├── sys
├── trq.map
├── usr
│   ├── bin
│   └── lib
│   ├── libblkid.so.1
│   ├── libc.so
│   ├── libcap.so.2
│   ├── libcryptsetup.so.12
│   ├── libgcrypt.so.20
│   ├── libgpg-error.so.0
│   ├── libjson-c.so.5
│   ├── libmount.so.1
│   ├── libpopt.so.0
│   └── libuuid.so.1
└── var
    ├── log
    └── run

how I update my initramfs:

lddtree.py --copy-to-tree /usr/src/initramfs /bin/mount 
/sbin/cryptsetup /bin/dash /sbin/switch_root /bin/umount

cd /usr/src/initramfs
find . -print0 | cpio --null --create --verbose --format=newc > 
/boot/custom-initramfs.img







Re: [gentoo-user] problems with today's update and python 3.12

2023-06-04 Thread Alexandru N. Barloiu



On 6/4/2023 5:28 PM, John Covici wrote:

   (dev-lang/python-exec-2.4.10-2:2/2::gentoo, installed)
   USE="(native-symlinks) userland_GNU -test" ABI_X86="(64)"
   PYTHON_TARGETS="(pypy3) (python3_10) (python3_11) python3_9" pulled
   in by
   >=dev-lang/python-exec-2:2/2=[python_targets_python3_9(-)]
   required by (dev-python/slackclient-2.5.0-1:0/0::gentoo, installed)
   USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_9
   -python3_8"

Thanks in advance for any suggestions.

tThanks, hat was brilliant  out of curiosity, how did you figure it out
since slack was not mentioned in the output?



It is. Look at the last line. Python-exec wants to pull python-3.9 
because dev-python/slackclient (already installed) asks for it.





Re: [gentoo-user] Apache and systemd problem

2023-05-12 Thread Alexandru N. Barloiu

How can you not miss it when it's specified in the ebuild?

[root@ruja:~]# grep service 
/usr/portage/www-servers/apache/apache-2.4.55-r1.ebuild

    # Then apache2.4.service can be used and systemd support controlled
    systemd_newunit "${FILESDIR}/apache2.4-hardened.service" 
"apache2.service"


On 5/12/2023 11:29 AM, Jacques Montier wrote:

/
/


Le ven. 12 mai 2023 à 02:54, Alexandru N. Barloiu  a écrit :

first of all, gentoo does install with a service file:

[root@noela:~]# equery f apache | grep systemd | grep service
/lib/systemd/system/apache2.service

Hi Alexandru,

Gentoo did not install any apache2.service.
I had to manually edit one and those found on the net don't work.
Have you got one i could use ?

thanks in advance.

Jacques



Re: [gentoo-user] Apache and systemd problem

2023-05-11 Thread Alexandru N. Barloiu

first of all, gentoo does install with a service file:

[root@noela:~]# equery f apache | grep systemd | grep service
/lib/systemd/system/apache2.service

also, I feel the way apache works is indifferent to distro or os. i 
mean, it makes very little difference as far as apache goes if you have 
openrc or systemd. in the end its just a shell script to apachectl 
start|stop|restart||configtest. Get a grip on logging. On how the system 
logs, and how apache logs. check /etc/conf.d/apache2 which establishes 
the parameters with which apache starts.



|

On 5/10/2023 9:58 PM, Jacques Montier wrote:

Hello all,

To learn a little bit about systemd, I recently installed a gentoo 
with systemd profile.

After some fights, the OS is working, but it was a real mess !!!
Now I am struggling for launching apache2 daemon.
When apache is compiled and installed, no apache2.service appears !
It was the same problem with the mysql database...
I copied the apache2.service from Linux Mint (attached file).
systemctl enable apache2.service works but failed when starting... 
(journalctl attached)


Have you any solution to resolve that issue ?

Thanks in advance.


--
Jacques

Re: [gentoo-user] Switching from eudev to udev, disaster.

2021-11-28 Thread Alexandru N. Barloiu
On Sun, 2021-11-28 at 10:35 -0600, Dale wrote:



Boot with udev and do either ifconfig -a or ip addr show and look for
them. If they are not there, just load the modules e1000e or the other
one r8whatever it was. Should autoload, but who knows why they are not.
Use dmesg. Not that hard to debug. 



Re: [gentoo-user] Raspberry Pi with 8GB

2020-06-08 Thread Alexandru N. Barloiu
On Mon, 2020-06-08 at 20:16 -0400, james wrote:
> Any pointers to codes that create a cluster and run on 64Bit arm low 
> power boards is welcome to post to this thread, or drop me a private
> note.

There is no such thing as cluster for arm. It's just daemons. You equip
each pi with the things it's going to need. You treat them as normal
computers.

If you don't know how to start... 
https://gentoo.osuosl.org/experimental/arm64/

there are actually some modern stage3 images. I suggest you google how
to emulate arm64 using qemu-static. google crossdev as well. There are
wonderful resources on the forums, some of which I participated in. 

Goo
d luck and happy hacking. 




Re: [gentoo-user] 32GB RAM and Swap

2020-05-01 Thread Alexandru N. Barloiu
> Could I turn my Linux swap off.
> I have 32 GB of RAM memory, I suppose my system don’t need swap,
> because I’vea lot of RAM, is this true?


yes.




Re: [gentoo-user] Is Gentoo dead?

2020-04-22 Thread Alexandru N. Barloiu
On Tue, 2020-04-21 at 19:58 +0300, Consus wrote:
> Hi,
> 
> In all honesty, is Gentoo dead? Gentoo-Dev is filled with passive
> aggression (though being developers-only mailing list), Github bot
> warns
> you that contributing new packages to the main repo is low priority
> and
> probably no one will help you, and even distribution kernel is not an
> official thing, but a desperate attempt of someone to fix things.


gentoo is held on together by passion. well, not all of gentoo. MY
gentoo.

it was never going to be a mainstream distro. might have been a fad for
a while, for some people able to follow guides. but people who use this
distro... do not need guides. 

it is what is. a collection of hacks for hackers. gentoo doesn't and
shouldn't compete in a popularity contest. but on the other hand, I
don't plan to stop using it even if the devs magically dissapear over
night. I'll go back to lfs before I'd go back to any binary distro. and
I'm pretty sure i'm not the only one.

people who actually choose gentoo for what it is, do not need their
hand held. do not whine. and certainly don't care about "the number of
this" or the "number of that" or "how great that would be". you don't
like it? it's prolly not for you. 


axl




Re: [gentoo-user] OSS4

2020-04-13 Thread Alexandru N. Barloiu
On Mon, 2020-04-13 at 16:13 +0100, Jorge Almeida wrote:
> 
> I mean I can't record sound (or I can't play it). Probably because I
> don't know what I'm doing (see above, Documentation). I have a micro
> which connects to an interface via  a XLR cable (it works; I can hear
> sound through headphones connected with the direct monitor output in
> the interface); the interface gets power from the computer via USB
> (works); the RCA output of the interface connects to the LineIn entry
> in the card. Trying to record with arecord produces a file that
> yields
> noise or silence with aplay. I tried changing stuff in alsamixer...
> 
> https://www.amazon.de/-/en/dp/B01C05AL4C/ref=sr_1_5dchild=1=mikrofon%2Bxlr=1585927073=8-5=1
> 
> https://www.amazon.de/-/en/gp/product/B00EK1OTZC/ref=ask_ql_qh_dp_hza?th=1
> 
> The reasons I asked about OSS4 and not the details about my problem
> are: (i) I like to understand what I'm doing (big picture & details)
> and (ii) I don't want to be a support vampire
> 
> But maybe OSS4 would be no solution at all. However, it seems that
> even trying is not an option...
> 


I am not familiar with those products. Sorry. All I can say about it is
that there are 2 types of volumes. The ones for playback, and the ones
for capture. (see F4 in alsa mixer). Also see F6 to select the right
sound card if you have more than one. If you have more than one input
(on that card), make sure you select the right one, You can toggle
"capture" with space. Untoggle all of them, and leave on just the one
you use for recording. Set the volume and try again. I hope it works.
If not, maybe people on the forums could be of more help than I was. 


axl




Re: [gentoo-user] OSS4

2020-04-13 Thread Alexandru N. Barloiu
On Mon, 2020-04-13 at 15:18 +0100, Jorge Almeida wrote:
> On Mon, Apr 13, 2020 at 3:07 PM Alexandru N. Barloiu 
> wrote:
> > OSS4 is a set of proprietary patches. You would need support in
> > kernel,
> 
> That's the problem...
> 
> > and support at an application level to use it. Not sure if USE=oss
> > will
> > work with OSS4, but one thing I know for sure is that you would
> > need to
> > get the patches from 4front technologies. And given that they keep
> > moving the license...
> I was under the impression that it is open source (contrary to
> version
> 3)? Wrong?

It was gpl. Then they moved it to proprietary. Then they become
insignificant and changed it back. For me, that's sign enough that I
don't want anything to do with it.


> > why would you?
> 
> desperation?  ALSA is 22 years old, and they couldn't find the time
> to
> write documentation. It will not happen. When it works, it works. It
> works for me re hearing sound, but no joy with my recently bought
> micro. Maybe it's something as trivial as a faulty cable, but the
> current plague doesn't make it easier to get a replacement to try...
> 
> Jorge


It might have been invented 22 years ago, but that doesn't mean that it
didn't change/improve over that time. 


What do you mean "no joy with micro"? Maybe it could be easier to fix
this than use OSS.







Re: [gentoo-user] OSS4

2020-04-13 Thread Alexandru N. Barloiu
OSS4 is a set of proprietary patches. You would need support in kernel,
and support at an application level to use it. Not sure if USE=oss will
work with OSS4, but one thing I know for sure is that you would need to
get the patches from 4front technologies. And given that they keep
moving the license... why would you?


On Sun, 2020-04-12 at 21:46 +0100, Jorge Almeida wrote:
> Is it possible to install it?
> Every random page I could find that was gentoo+oss4 related seemed
> old. I know the kernel does not support oss4 at all, any more than
> portage does, but I don't know whether that means it is impossible to
> install.
> Anyone using it?
> 
> Thanks
> 
> Jorge Almeida
> 




Re: [gentoo-user] Re: SDD, what features to look for and what to avoid.

2020-04-04 Thread Alexandru N. Barloiu
On Sat, 2020-04-04 at 10:51 +0100, Peter Humphrey wrote:
> On Friday, 3 April 2020 16:14:33 BST Frank Steinmetzger wrote:
> 
> > Well, raw throughput is great ’n all, but in real-life you won’t
> > notice much
> > difference between a SATA and an NVME drive.
> 
> Not so. The difference is dramatic.
> 
> > The bottleneck quickly becomes
> > the CPU again during boot or loading more complex applications
> > (browser,
> > office). The biggest improvement in those situation comes from the
> > fast
> > “seeking” and reading of many small files. HDDs are at a big
> > disatvantage
> > here due to their moving head and mechanical seeking.
> > 
> > In fact I doubt you have many use cases for reading many gigabytes
> > at a time
> > over and over again every day without much CPU overhead, like video
> > editing
> > (loading previews in 4K or 8K), copying, archiving, checksumming
> > and so on.
> > 
> > Due to their immense speed, those NVMEs also tend to heat up quite
> > a bit
> > under load, eventually leading to throttling. So from a practical
> > POV, and
> > since you’re on a budget, I suggest cutting cost by staying with
> > SATA.
> 
> I can't say anything about temperature, because gkrellm can't see a
> sensor of 
> it, but I certainly wouldn't go back to plain old SSDs.
> 


sata was a major bottleneck. in most motherboards it was embeded in the
southbridge WITH lan, sound, usb. When you saturate the sata
controller, all others stop working, or lag terribly. That's why swap
on sata systems only exacerbates the problem. 

nvme drives have been moved up in northbridge with cpu, memory and gpu.

The bandwidth is superhuge now. Not only you get amazing speeds with
one thread, but regardless of how much disk io you are doing, the
computer is not lagging anymore. 

problem with heating is the way it is mounted. M2 drives sit too close
to the motherboard, pciexpress drives are usually mounted on the bottom
half of the case because of the way pciexpress ports are layed out.
port one for gpu. last port from bottom, nvme. you could just put a fan
on it. 

Also, you don't need a fancy gui for nvme temperature. nvme smart-log
/dev/nvme0 will tell you the temperature from console. 



axl




Re: [gentoo-user] Creative Sound Blaster Z 5.1 (CA0132)

2020-03-30 Thread Alexandru N. Barloiu
On Sun, 2020-03-29 at 20:09 +0200, tu...@posteo.de wrote:
> On 03/29 08:41, Alexandru N. Barloiu wrote:
> > On Sun, 2020-03-29 at 17:36 +0200, tu...@posteo.de wrote:
> > > hi,
> > > 
> > > The onboard sound chip of my new motherboard is ..
> > > 
> > > I am looking for a soundcard. I came accross the
> > > 
> > > Creative Sound Blaster Z 5.1
> > > 
> > > the problem with the soundcard is: I can find a
> > > CONFIG_SND_HDA_CODEC_CA0132
> > > setting in the kernel configuration file (not set yet of course)
> > > and
> > > on the other hand I can find a lot of people complaining about
> > > not
> > > getting this beast to work under Linux. The CA0132 is the sound
> > > chip
> > > of that card.
> > > And I dont know how well the support is, if it will work at all.
> > > 
> > > If someone on this list ownes this card I would be very happy for
> > > a short info about whether it works und Linux, whether there are
> > > any restrictions and how well the support is.
> > > 
> > > Thanks a lot in advance for any helpful advice!
> > > :)
> > > 
> > > Cheers!
> > > Meino
> > > 
> > 
> > Hello,
> > 
> > First of all, I have a slightly different board, called ZxR. My
> > experience is that it used to not work with linux at all. For the
> > longest time. And then, simply over night, it started working. And
> > working ok, by my standards. 
> > 
> > https://www.phoronix.com/scan.php?page=news_item=Sound-Blaster-ZxR-Linux
> > 
> > Here's an article about it. Anyway, as a ZxR owner, I didn't find
> > anything to complain about. It's what I came to expect from
> > creative
> > products. Like the live and audigy boards. Don't work, for the
> > longest
> > time, and boom, a day comes and they start working. 
> > 
> > A bit awkward at first, to adjust to the new controls. It happened
> > with
> > Live! and audigy too. Treble and bass. Now it's a x-bass control
> > thing.
> > 5 things with sliders to control, an equalizer control thing.
> > It  gives
> > you a little more control. It's like, I never used to run alsa-
> > mixer.
> > Now I kinda have to because the sound ain't right. But it's not my
> > sound board. With ac97 you never notice stuff like this, and even
> > if
> > you do, you can't change anything about. this movie is too bass-ey. 
> > or
> > too treble-ey. Now you constantly start alsa-mixer to adjust the
> > controls to sound just right. and you can. 
> > 
> > So overall I can confirm at least 2 theories. 1, it didn't work for
> > the
> > longest time (I seem to recall to buy it in 2016 and it was not new
> > then). And it started working at the end of 2018. And it's working
> > just
> > fine now. Not one problem. Other than the OCD controls. always
> > fiddling
> > with them.
> > 
> > 
> > 
> 
> Hi Alexandru,
> 
> Thanks a lot for the info.
> One question: Do you update your system -- the kernel especially --
> on a regular basis?
> I want to sort out, whether the card "suddenly" work due to lucky
> circumstances (which I am not able to reconstruct possibly) or
> due to a better support by the kernel and its drivers.
> I think the latter is more likely...
> 
> Cheers!
> Meino
> 


It's already merged upstream. The driver is now part of the normal
kernel. I have no clue why it took so long, or who contributed the
patches.





Re: [gentoo-user] Creative Sound Blaster Z 5.1 (CA0132)

2020-03-29 Thread Alexandru N. Barloiu
On Sun, 2020-03-29 at 17:36 +0200, tu...@posteo.de wrote:
> hi,
> 
> The onboard sound chip of my new motherboard is ..
> 
> I am looking for a soundcard. I came accross the
> 
> Creative Sound Blaster Z 5.1
> 
> the problem with the soundcard is: I can find a
> CONFIG_SND_HDA_CODEC_CA0132
> setting in the kernel configuration file (not set yet of course) and
> on the other hand I can find a lot of people complaining about not
> getting this beast to work under Linux. The CA0132 is the sound chip
> of that card.
> And I dont know how well the support is, if it will work at all.
> 
> If someone on this list ownes this card I would be very happy for
> a short info about whether it works und Linux, whether there are
> any restrictions and how well the support is.
> 
> Thanks a lot in advance for any helpful advice!
> :)
> 
> Cheers!
> Meino
> 

Hello,

First of all, I have a slightly different board, called ZxR. My
experience is that it used to not work with linux at all. For the
longest time. And then, simply over night, it started working. And
working ok, by my standards. 

https://www.phoronix.com/scan.php?page=news_item=Sound-Blaster-ZxR-Linux

Here's an article about it. Anyway, as a ZxR owner, I didn't find
anything to complain about. It's what I came to expect from creative
products. Like the live and audigy boards. Don't work, for the longest
time, and boom, a day comes and they start working. 

A bit awkward at first, to adjust to the new controls. It happened with
Live! and audigy too. Treble and bass. Now it's a x-bass control thing.
5 things with sliders to control, an equalizer control thing. It  gives
you a little more control. It's like, I never used to run alsa-mixer.
Now I kinda have to because the sound ain't right. But it's not my
sound board. With ac97 you never notice stuff like this, and even if
you do, you can't change anything about. this movie is too bass-ey. or
too treble-ey. Now you constantly start alsa-mixer to adjust the
controls to sound just right. and you can. 

So overall I can confirm at least 2 theories. 1, it didn't work for the
longest time (I seem to recall to buy it in 2016 and it was not new
then). And it started working at the end of 2018. And it's working just
fine now. Not one problem. Other than the OCD controls. always fiddling
with them.