Recover access to Windows Shares on home network
by Robert McBroom
lots of the time I want to pull data from shared files on windows
computers.???? The shares used to show up under network in any number of
file programs, caja, konqueror, etc.?? What protocol has replaced that
access?
Robert
8 months
librepo: corrupted double-linked list
by Sam Varshavchik
Something in the latest bunch of updates is triggering an rpm bug, or
rather, a librepo bug.
I ran a dnf upgrade on a bunch of machines. The first one segfaulted in the
cleanup phase. While I was pondering what to do about it, maybe a cosmic ray
hit an unfortunate capacitor in one of the RAM sticks perhaps, another one
splurted this out:
Transaction Summary
================================================================================
Install 5 Packages
Upgrade 159 Packages
Remove 4 Packages
Total download size: 514 M
Is this ok [y/N]: y
Downloading Packages:
corrupted double-linked list
Aborted (core dumped)
A core dump showed this:
Stack trace of thread 71232:
#0 0x00007f401e6bf9e5 raise (libc.so.6 + 0x3c9e5)
#1 0x00007f401e6a8895 abort (libc.so.6 + 0x25895)
#2 0x00007f401e703857 __libc_message (libc.so.6 + 0x80857)
#3 0x00007f401e70ad7c malloc_printerr (libc.so.6 + 0x87d7c)
#4 0x00007f401e70babc unlink_chunk.constprop.0 (libc.so.6 +
0x88abc)
#5 0x00007f401e70e3aa _int_malloc (libc.so.6 + 0x8b3aa)
#6 0x00007f401e710235 __libc_calloc (libc.so.6 + 0x8d235)
#7 0x00007f4016b45f85 lr_malloc0 (librepo.so.0 + 0x1ef85)
#8 0x00007f4016b37e55 lr_downloadtarget_new (librepo.so.0 +
0x10e55)
#9 0x00007f4016b40842 lr_download_packages (librepo.so.0 +
0x19842)
#10 0x00007f4016ca32ea
_ZN6libdnf13PackageTarget16downloadPackagesERSt6vectorIPS0_SaIS2_EEb
(libdnf.so.2 + 0x14a2ea)
#11 0x00007f40151ed986 _wrap_PackageTarget_downloadPackages
(_repo.so + 0x1e986)
This strongly suggests a bone-fide bug. A rerun of 'dnf upgrade' succeeded
without any fanfare.
I'm fully updated out, but perhaps someone who has a bunch of updates to
install could run dnf upgrade under valgrind, and see what shakes out.
8 months
Missing a CPU after the 5.7 kernels??
by Michael D. Setzer II
Have a old quad core system that I've had since Fedora 10 I believe.
Recently, upgraded to Fedora 31, and it was still seeing all 4 cores.
Run BOINC, and recently notice that it was only showing 3 cpus
running? Machine is one of the 5 computers I have at house, but is
headless and access remotely via VNC. Other systems all show the right
number of cpus after updates, so not sure what might cause the issue.
The results of lshw-gui shows the 4 cores, but the dmesg shows only
CPU 0 - 2. Didn't notice this until the 5.7 kernel change, but not sure
exactly which update caused the change.
Any ideals what could fix this, or how to get specific reasons it might
have happened. Other machines are newer, some dual and one other
quad core. So, just this one??
Info from lshw-gui and dmesg
product: AMD Phenom(tm) II X4 955 Processor
vendor: Advanced Micro Devices [AMD]
bus info: cpu@0
version: AMD Phenom(tm) II X4 955 Processor
serial: To Be Filled By O.E.M.
slot: AM2
size: 3200MHz
capacity: 3200MHz
width: 64 bits
clock: 200MHz
capabilities:
64bits extensions (x86-64),
mathematical co-processor,
FPU exceptions reporting,
wp,
virtual mode extensions,
debugging extensions,
page size extensions,
time stamp counter,
model-specific registers,
4GB+ memory addressing (Physical Address Extension),
machine check exceptions,
compare and exchange 8-byte,
on-chip advanced programmable interrupt controller (APIC),
fast system calls,
memory type range registers,
page global enable,
machine check architecture,
conditional move instruction,
page attribute table,
36-bit page size extensions,
clflush,
multimedia extensions (MMX),
fast floating point save/restore,
streaming SIMD extensions (SSE),
streaming SIMD extensions (SSE2),
HyperThreading,
fast system calls,
no-execute bit (NX),
multimedia extensions (MMXExt),
fxsr_opt,
pdpe1gb,
rdtscp,
64bits extensions (x86-64),
multimedia extensions (3DNow!Ext),
multimedia extensions (3DNow!),
constant_tsc,
rep_good,
nopl,
nonstop_tsc,
cpuid,
extd_apicid,
pni,
monitor,
cx16,
popcnt,
lahf_lm,
cmp_legacy,
svm,
extapic,
cr8_legacy,
abm,
sse4a,
misalignsse,
3dnowprefetch,
osvw,
ibs,
skinit,
wdt,
hw_pstate,
vmmcall,
npt,
lbrv,
svm_lock,
nrip_save,
CPU Frequency scaling
configuration:
cores: 4
enabledcores: 4
dmesg | grep -i CPU
[ 0.092368] smpboot: Allowing 6 CPUs, 3 hotplug CPUs
[ 0.097494] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:6
nr_cpu_ids:6 nr_node_ids:1
[ 0.098234] percpu: Embedded 55 pages/cpu s188416 r8192 d28672
u262144
[ 0.098239] pcpu-alloc: s188416 r8192 d28672 u262144
alloc=1*2097152
[ 0.098240] pcpu-alloc: [0] 0 1 2 3 4 5 - -
[ 0.155390] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6,
Nodes=1
[ 0.166771] rcu: RCU restricting CPUs from NR_CPUS=8192 to
nr_cpu_ids=6.
[ 0.166773] rcu: Adjusting geometry for rcu_fanout_leaf=16,
nr_cpu_ids=6
[ 0.281801] smpboot: CPU0: AMD Phenom(tm) II X4 955 Processor
(family: 0x10, model: 0x4, stepping: 0x2)
[ 0.282522] smp: Bringing up secondary CPUs ...
[ 0.282522] .... node #0, CPUs: #1 #2
[ 0.285583] smp: Brought up 1 node, 3 CPUs
[ 0.288816] cpuidle: using governor menu
[ 0.289646] mtrr: your CPUs had inconsistent fixed MTRR settings
[ 0.289646] mtrr: probably your BIOS does not setup all CPUs.
[ 0.487753] cryptd: max_cpu_qlen set to 1000
[ 1.487099] microcode: CPU0: patch_level=0x010000db
[ 1.487103] microcode: CPU1: patch_level=0x010000db
[ 1.487108] microcode: CPU2: patch_level=0x010000db
[ 2.775723] [drm] GART: num cpu pages 131072, num gpu pages
131072
[ 2.792713] radeon 0000:01:05.0: fence driver on ring 0 use gpu addr
0x00000000a0000c00 and cpu addr 0x(____ptrval____)
[ 2.794881] radeon 0000:01:05.0: fence driver on ring 5 use gpu addr
0x00000000c0056038 and cpu addr 0x(____ptrval____)
[ 9.987542] acpi_cpufreq: overriding BIOS provided _PSD data
[ 10.196935] k10temp 0000:00:18.3: unreliable CPU thermal sensor;
monitoring disabled
Thanks.
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mikes@guam.net
mailto:msetzerii@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+
8 months
SDK for wpf and winforms with dotnet
by Cătălin George Feștilă
Hi,
Can I use these features WinForms and WPF on Fedora dotnet?
My project creates this ...
[mythcat@desk WinGUI]$ cat WinGUI.csproj
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
</Project>
[mythcat@desk WinGUI]$ dotnet --list-sdks
3.1.106 [/usr/lib64/dotnet/sdk]
[mythcat@desk WinGUI]$ dotnet --list-runtimes
Microsoft.AspNetCore.App 3.1.6
[/usr/lib64/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.6 [/usr/lib64/dotnet/shared/Microsoft.NETCore.App]
I install these packages:
[mythcat@desk ~]$ sudo dnf install mono-complete
[mythcat@desk WinGUI]$ sudo dnf install dotnet-sdk-3.1
Last metadata expiration check: 0:11:37 ago on Sat 08 Aug 2020 07:40:41 PM
EEST.
Package dotnet-sdk-3.1-3.1.106-1.fc32.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[mythcat@desk WinGUI]$ sudo dnf install aspnetcore-runtime-3.1
Last metadata expiration check: 0:12:00 ago on Sat 08 Aug 2020 07:40:41 PM
EEST.
Package aspnetcore-runtime-3.1-3.1.6-1.fc32.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[mythcat@desk WinGUI]$ sudo dnf install dotnet-runtime-3.1
Last metadata expiration check: 0:12:20 ago on Sat 08 Aug 2020 07:40:41 PM
EEST.
Package dotnet-runtime-3.1-3.1.6-1.fc32.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
8 months, 1 week
Dnf update duplcates some repo checks
by Patrick O'Callaghan
This is an annoyance rather than a problem, but it's been happening for
over a year and I finally decided to ask about it. This is a snippet
from my usual daily 'dnf update' run (with whitespace reduced for
legibility):
...
Fedora Modular 32 - x86_64 52 kB/s | 22 kB 00:00
Fedora Modular 32 - x86_64 - Updates 51 kB/s | 22 kB 00:00
Fedora Modular 32 - x86_64 - Updates 279 kB/s | 272 kB 00:00 <-- duplicate
Fedora 32 - x86_64 - Updates 38 kB/s | 16 kB 00:00
Fedora 32 - x86_64 - Updates 2.8 MB/s | 5.6 MB 00:01 <-- duplicate
Fedora 32 - x86_64 53 kB/s | 23 kB 00:00
google-chrome 16 kB/s | 1.3 kB 00:00
google-chrome 32 kB/s | 3.6 kB 00:00 <-- duplicate
...
None of those repos are duplicated in /etc/yum.repos.d, nor is there
anything wrong with the repo files themselves, e.g.:
$ cat /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl.google.com/linux/linux_signing_key.pub
So what's going on? Is this happening to everyone or is it just me?
poc
8 months, 1 week
udev change?
by Tom Horsley
I've got udev scripts that were working until I installed an update
today. Way down at the end of a chain of scripts udev starts, it sets
DISPLAY and runs a program (RepetierHost) when I plug in my
3d printer USB cable.
Did something change in udev to make it impossible to start
X11 programs now? It does run the script which invokes mono
to execute the .exe file, and that script produces zero
errors, I just don't have the program pop up on my screen
any longer.
If I run the RepetierHost script from an xterm, it works fine and the
program starts up no problem.
This web page describes the scripts in detail:
https://tomhorsley.com/hardware/solidoodle/solidoodle-udev.html
8 months, 1 week
Now listed the 4 cores.
by Michael D. Setzer II
[ 0.091889] smpboot: Allowing 6 CPUs, 2 hotplug CPUs
[ 0.097017] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:6
nr_cpu_ids:6 nr_node_ids:1
[ 0.097749] percpu: Embedded 55 pages/cpu s188416 r8192 d28672
u262144
[ 0.097754] pcpu-alloc: s188416 r8192 d28672 u262144
alloc=1*2097152
[ 0.097755] pcpu-alloc: [0] 0 1 2 3 4 5 - -
[ 0.155120] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6,
Nodes=1
[ 0.166501] rcu: RCU restricting CPUs from NR_CPUS=8192 to
nr_cpu_ids=6.
[ 0.166504] rcu: Adjusting geometry for rcu_fanout_leaf=16,
nr_cpu_ids=6
[ 0.281494] smpboot: CPU0: AMD Phenom(tm) II X4 955 Processor
(family: 0x10, model: 0x4, stepping: 0x2)
[ 0.282248] smp: Bringing up secondary CPUs ...
[ 0.282248] .... node #0, CPUs: #1 #2 #3
[ 0.287308] smp: Brought up 1 node, 4 CPUs
[ 0.290681] cpuidle: using governor menu
[ 0.291338] mtrr: your CPUs had inconsistent fixed MTRR settings
[ 0.291338] mtrr: probably your BIOS does not setup all CPUs.
[ 0.489473] cryptd: max_cpu_qlen set to 1000
[ 1.435779] microcode: CPU0: patch_level=0x010000db
[ 1.435786] microcode: CPU1: patch_level=0x010000db
[ 1.435792] microcode: CPU2: patch_level=0x010000db
[ 1.435796] microcode: CPU3: patch_level=0x010000db
[ 2.628458] [drm] GART: num cpu pages 131072, num gpu pages
131072
[ 2.647452] radeon 0000:01:05.0: fence driver on ring 0 use gpu addr
0x00000000a0000c00 and cpu addr 0x(____ptrval____)
[ 2.649621] radeon 0000:01:05.0: fence driver on ring 5 use gpu addr
0x00000000c0056038 and cpu addr 0x(____ptrval____)
[ 11.930307] acpi_cpufreq: overriding BIOS provided _PSD data
[ 12.056143] k10temp 0000:00:18.3: unreliable CPU thermal sensor;
monitoring disabled
Have always seen the cpu thermal sensor message.
Machine has an external water cooling system atk0110-0 sensor only
shows 1 cpu temp at 135F with BOINC running on all 4 cpus.
Will have to watch to see if it goes out again??
Thanks.
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mikes@guam.net
mailto:msetzerii@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+
8 months, 1 week
port based routing
by Jeffrey Ross
(System Fedora 31)
I'm looking to make routing decisions based upon either the source or
destination TCP port and interface/destination IP, in the Cisco world
I'd do this via policy based routing.
I found an example using iptables
https://www.sparksupport.com/blog/2010/10/02/application-based-routing-in...
however this system is running firewalld and I haven't found an example
(yet) using firewalld.
Very specifically if I receive traffic on TCP port 1234 I do not want to
use my system defined default gateway, rather I want to use an alternate
gateway which will be via an OpenVPN tunnel. I would really like to go
one step further an if it was received on port 1234 AND interface X then
use gateway 1, if it was port 1234 and interface Y use gateway 2, not
sure how far down the rabbit hole I can go. What I am trying to avoid
is have an asymmetric routing condition when I have a firewall fronting
the different interfaces.
Thanks, Jeff
8 months, 1 week
Re: [fedora-arm] Re: Error: failed to find VPN plugin for ovpn.
by Sam Varshavchik
Peter Robinson writes:
> > > After successfully testing an OpenVPN link on a x86_64, I get the
> following
> > > error on aarch64, as root:
> > >
> > > # nmcli connection import type ovpn file <file>.ovpn
> > > Error: failed to find VPN plugin for ovpn.
> >
> > So having tried that same command with a openvpn profile I use daily I
> > had a look at the manual [1] to check to see if I could list plugins.
> > It mentioned "type values are the same as for vpn-type option in nmcli
> > connection add" so checking that out I got a lst of the following
> > types "vpn-type
> > vpnc|openvpn|pptp|openconnect|openswan|libreswan|ssh|l2tp|iodine|..."
> >
> > That gave me a slightly different error related to my actual config,
> > but to start it seems you need to substitute ovpn for openvpn in you
> > command line.
>
> Once I exported it from the other machine properly a "nmcli connection
> import type openvpn file test.ovpn" worked as expected on an aarch64
> machine.
Yup. Rookie error. I got mixed up between the .ovpn extension, and the
"openvpn" plugin name.
8 months, 1 week