#StackBounty: #linux #linux-kernel #journald #scheduler #watchdog rcu_sched self-detected stall on CPU + watchdog: BUG: soft lockup – C…

Bounty: 50

Being unable to ssh into a machine I connected it to a monitor and found the following:

enter image description here

The machine is running Ubuntu Server 18.04 LTS and is a first generation 8 core Ryzen 1700. I’ve restarted the machine since and it works fine but am not sure what caused this in the first place and want to avoid it happening again.

enter image description here

enter image description here


Get this bounty!!!

#StackBounty: #linux #permissions #cgroups Granting cpusets permissions to non-root user

Bounty: 100

By default, only root can create CPU sets (and manipulate tasks in existing ones):

$ cset shield -c0
cset: **> [Errno 13] Permission denied: '/cpusets//user'
cset: insufficient permissions, you probably need to be root

If I granted user trusted the right to run sudo cset, the commands he/she will run, e.g.

sudo cset shield -e command

would be owned by root, unless we do

sudo cset shield -e sudo -- -u trusted command

which is quite complex, especially regarding what environment is inherited by command through these layers…

Is there a way to grant trusted rights to manipulate CPU sets without changing identity?


Get this bounty!!!

#StackBounty: #linux #cifs Error Mounting CIFS share on CentOS7.6 kernel 4.20, mount error(22): Invalid argument

Bounty: 100

I am trying to mount CIFS share from NetApp (Release 8.2.4P6 7-Mode) on CentOS7. I tried sec=ntlm which suppose to work but it says an invalid argument and if I change it to vers=1.0 which I think server throwing permission deny error because it required authentication.

It (vers=2.0 -o sec=ntlm) works on RHEL 6.9 kernal 2.6 OS

[root@Myhost ~]# mount -v -t cifs -o vers=2.0 -o sec=ntlm -o credentials=/etc/samba/credentials.conf //cifsshare.mydomain.com/Test/V23/Marketing /mnt/test
mount.cifs kernel mount options: ip=10.1.5.21,unc=\cifsshare.mydomain.comTest,vers=2.0,sec=ntlm,user=mydomainusername,prefixpath=V23/Marketing,pass=********
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

[root@Myhost ~]# mount -v -t cifs -o vers=1.0 -o sec=ntlm -o credentials=/etc/samba/credentials.conf //cifsshare.mydomain.com/Test/V23/Marketing /mnt/test
mount.cifs kernel mount options: ip=10.1.5.21,unc=\cifsshare.mydomain.comTest,vers=1.0,sec=ntlm,user=mydomainusername,prefixpath=V23/Marketing,pass=********
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


Get this bounty!!!

#StackBounty: #linux #xorg #keyboard #mouse #xmodmap How to map mouse keys as keyboard keys without losing'numeric keypad' for …

Bounty: 50

I know how to map mouse click for F1, F2 and F3 (respectively left click, middle click, right click):

xkbset m   # required, but disable keypad
xmodmap -e "keycode 67 = Pointer_Button1 Pointer_Button1"
xmodmap -e "keycode 68 = Pointer_Button2"
xmodmap -e "keycode 69 = Pointer_Button3"

But this requires me to use xkbset m that use the slow keys mode :

If I press 4 from the keypad, it moves the cursor to the left. I don’t need this feature, just the mapping above.

I tried to figure it out with xdotool, but I don’t know how to handle key pressed/key released (for drag & drop) with

xdotool mousedown 1
xdotool mouseup 1

How can I not use this mode or how can I remap all keypad keys ?

What about the numeric and arithmetic signs from keypad please ?

Is there another solution ?

For information, needed for Debian (cinnamon) and Archlinux (xfce), and if possible, I would like a solution not based on the window manager.

EDIT:

Tried this solution but I can’t drag and drop with F1.

In ~/.xbindkeysrc :

"xdotool mousedown 1"
    F1
"xdotool mouseup 1"
    F1 + Release

Or :

"xdotool mousedown 1"
    m:0x10 + c:67
"xdotool mouseup 1"
    m:0x10 + c:67 + Release

Then :

xset -r 67

EDIT2

Tried with actkbd

# actkbd configuration file
<keycode ("67")> :key : :xdotool mousedown 1
<keycode ("67")> :rel : :xdotool mouseup 1

No cigar :/

Adapted from here


Get this bounty!!!

#StackBounty: #linux #xorg #keyboard #mouse #xmodmap How to map mouse keys as keyboard keys without losing'numeric keypad' for …

Bounty: 50

I know how to map mouse click for F1, F2 and F3 (respectively left click, middle click, right click):

xkbset m   # required, but disable keypad
xmodmap -e "keycode 67 = Pointer_Button1 Pointer_Button1"
xmodmap -e "keycode 68 = Pointer_Button2"
xmodmap -e "keycode 69 = Pointer_Button3"

But this requires me to use xkbset m that use the slow keys mode :

If I press 4 from the keypad, it moves the cursor to the left. I don’t need this feature, just the mapping above.

I tried to figure it out with xdotool, but I don’t know how to handle key pressed/key released (for drag & drop) with

xdotool mousedown 1
xdotool mouseup 1

How can I not use this mode or how can I remap all keypad keys ?

What about the numeric and arithmetic signs from keypad please ?

Is there another solution ?

For information, needed for Debian (cinnamon) and Archlinux (xfce), and if possible, I would like a solution not based on the window manager.

EDIT:

Tried this solution but I can’t drag and drop with F1.

In ~/.xbindkeys :

"xdotool mousedown 1"
    F1
"xdotool mouseup 1"
    F1 + Release

Or :

"xdotool mousedown 1"
    m:0x10 + c:67
"xdotool mouseup 1"
    m:0x10 + c:67 + Release

Then :

xset -r 67

EDIT2

Tried with actkbd

# actkbd configuration file
<keycode ("67")> :key : :xdotool mousedown 1
<keycode ("67")> :rel : :xdotool mouseup 1

No cigar :/

Adapted from here


Get this bounty!!!

#StackBounty: #linux #xorg #keyboard #mouse #xmodmap How to map mouse keys as keyboard keys without losing'numeric keypad' for …

Bounty: 50

I know how to map mouse click for F1, F2 and F3 (respectively left click, middle click, right click):

xkbset m   # required, but disable keypad
xmodmap -e "keycode 67 = Pointer_Button1 Pointer_Button1"
xmodmap -e "keycode 68 = Pointer_Button2"
xmodmap -e "keycode 69 = Pointer_Button3"

But this requires me to use xkbset m that use the slow keys mode :

If I press 4 from the keypad, it moves the cursor to the left. I don’t need this feature, just the mapping above.

I tried to figure it out with xdotool, but I don’t know how to handle key pressed/key released (for drag & drop) with

xdotool mousedown 1
xdotool mouseup 1

How can I not use this mode or how can I remap all keypad keys ?

What about the numeric and arithmetic signs from keypad please ?

Is there another solution ?

For information, needed for Debian (cinnamon) and Archlinux (xfce), and if possible, I would like a solution not based on the window manager.

EDIT:

Tried this solution but I can’t drag and drop with F1.

In ~/.xbindkeys :

"xdotool mousedown 1"
    F1
"xdotool mouseup 1"
    F1 + Release

Or :

"xdotool mousedown 1"
    m:0x10 + c:67
"xdotool mouseup 1"
    m:0x10 + c:67 + Release

Then :

xset -r 67

EDIT2

Tried with actkbd

# actkbd configuration file
<keycode ("67")> :key : :xdotool mousedown 1
<keycode ("67")> :rel : :xdotool mouseup 1

No cigar :/

Adapted from here


Get this bounty!!!

#StackBounty: #linux #xorg #keyboard #mouse #xmodmap How to map mouse keys as keyboard keys without losing'numeric keypad' for …

Bounty: 50

I know how to map mouse click for F1, F2 and F3 (respectively left click, middle click, right click):

xkbset m   # required, but disable keypad
xmodmap -e "keycode 67 = Pointer_Button1 Pointer_Button1"
xmodmap -e "keycode 68 = Pointer_Button2"
xmodmap -e "keycode 69 = Pointer_Button3"

But this requires me to use xkbset m that use the slow keys mode :

If I press 4 from the keypad, it moves the cursor to the left. I don’t need this feature, just the mapping above.

I tried to figure it out with xdotool, but I don’t know how to handle key pressed/key released (for drag & drop) with

xdotool mousedown 1
xdotool mouseup 1

How can I not use this mode or how can I remap all keypad keys ?

What about the numeric and arithmetic signs from keypad please ?

Is there another solution ?

For information, needed for Debian (cinnamon) and Archlinux (xfce), and if possible, I would like a solution not based on the window manager.

EDIT:

Tried this solution but I can’t drag and drop with F1.

In ~/.xbindkeys :

"xdotool mousedown 1"
    F1
"xdotool mouseup 1"
    F1 + Release

Or :

"xdotool mousedown 1"
    m:0x10 + c:67
"xdotool mouseup 1"
    m:0x10 + c:67 + Release

Then :

xset -r 67

EDIT2

Tried with actkbd

# actkbd configuration file
<keycode ("67")> :key : :xdotool mousedown 1
<keycode ("67")> :rel : :xdotool mouseup 1

No cigar :/

Adapted from here


Get this bounty!!!

#StackBounty: #linux #xorg #keyboard #mouse #xmodmap How to map mouse keys as keyboard keys without losing'numeric keypad' for …

Bounty: 50

I know how to map mouse click for F1, F2 and F3 (respectively left click, middle click, right click):

xkbset m   # required, but disable keypad
xmodmap -e "keycode 67 = Pointer_Button1 Pointer_Button1"
xmodmap -e "keycode 68 = Pointer_Button2"
xmodmap -e "keycode 69 = Pointer_Button3"

But this requires me to use xkbset m that use the slow keys mode :

If I press 4 from the keypad, it moves the cursor to the left. I don’t need this feature, just the mapping above.

I tried to figure it out with xdotool, but I don’t know how to handle key pressed/key released (for drag & drop) with

xdotool mousedown 1
xdotool mouseup 1

How can I not use this mode or how can I remap all keypad keys ?

What about the numeric and arithmetic signs from keypad please ?

Is there another solution ?

For information, needed for Debian (cinnamon) and Archlinux (xfce), and if possible, I would like a solution not based on the window manager.

EDIT:

Tried this solution but I can’t drag and drop with F1.

In ~/.xbindkeys :

"xdotool mousedown 1"
    F1
"xdotool mouseup 1"
    F1 + Release

Or :

"xdotool mousedown 1"
    m:0x10 + c:67
"xdotool mouseup 1"
    m:0x10 + c:67 + Release

Then :

xset -r 67

EDIT2

Tried with actkbd

# actkbd configuration file
<keycode ("67")> :key : :xdotool mousedown 1
<keycode ("67")> :rel : :xdotool mouseup 1

No cigar :/

Adapted from here


Get this bounty!!!

#StackBounty: #linux #xorg #keyboard #mouse #xmodmap How to map mouse keys as keyboard keys without losing'numeric keypad' for …

Bounty: 50

I know how to map mouse click for F1, F2 and F3 (respectively left click, middle click, right click):

xkbset m   # required, but disable keypad
xmodmap -e "keycode 67 = Pointer_Button1 Pointer_Button1"
xmodmap -e "keycode 68 = Pointer_Button2"
xmodmap -e "keycode 69 = Pointer_Button3"

But this requires me to use xkbset m that use the slow keys mode :

If I press 4 from the keypad, it moves the cursor to the left. I don’t need this feature, just the mapping above.

I tried to figure it out with xdotool, but I don’t know how to handle key pressed/key released (for drag & drop) with

xdotool mousedown 1
xdotool mouseup 1

How can I not use this mode or how can I remap all keypad keys ?

What about the numeric and arithmetic signs from keypad please ?

Is there another solution ?

For information, needed for Debian (cinnamon) and Archlinux (xfce), and if possible, I would like a solution not based on the window manager.

EDIT:

Tried this solution but I can’t drag and drop with F1.

In ~/.xbindkeys :

"xdotool mousedown 1"
    F1
"xdotool mouseup 1"
    F1 + Release

Or :

"xdotool mousedown 1"
    m:0x10 + c:67
"xdotool mouseup 1"
    m:0x10 + c:67 + Release

Then :

xset -r 67

EDIT2

Tried with actkbd

# actkbd configuration file
<keycode ("67")> :key : :xdotool mousedown 1
<keycode ("67")> :rel : :xdotool mouseup 1

No cigar :/

Adapted from here


Get this bounty!!!

#StackBounty: #linux #xorg #keyboard #mouse #xmodmap How to map mouse keys as keyboard keys without losing'numeric keypad' for …

Bounty: 50

I know how to map mouse click for F1, F2 and F3 (respectively left click, middle click, right click):

xkbset m   # required, but disable keypad
xmodmap -e "keycode 67 = Pointer_Button1 Pointer_Button1"
xmodmap -e "keycode 68 = Pointer_Button2"
xmodmap -e "keycode 69 = Pointer_Button3"

But this requires me to use xkbset m that use the slow keys mode :

If I press 4 from the keypad, it moves the cursor to the left. I don’t need this feature, just the mapping above.

I tried to figure it out with xdotool, but I don’t know how to handle key pressed/key released (for drag & drop) with

xdotool mousedown 1
xdotool mouseup 1

How can I not use this mode or how can I remap all keypad keys ?

What about the numeric and arithmetic signs from keypad please ?

Is there another solution ?

For information, needed for Debian (cinnamon) and Archlinux (xfce), and if possible, I would like a solution not based on the window manager.

EDIT:

Tried this solution but I can’t drag and drop with F1.

In ~/.xbindkeys :

"xdotool mousedown 1"
    F1
"xdotool mouseup 1"
    F1 + Release

Or :

"xdotool mousedown 1"
    m:0x10 + c:67
"xdotool mouseup 1"
    m:0x10 + c:67 + Release

Then :

xset -r 67

EDIT2

Tried with actkbd

# actkbd configuration file
<keycode ("67")> :key : :xdotool mousedown 1
<keycode ("67")> :rel : :xdotool mouseup 1

No cigar :/

Adapted from here


Get this bounty!!!