Reputation
2,041
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
5 13
Newest
 Excavator
Impact
~56k people reached

Jul
1
comment Why to choose (sd-pam) as a process name?
Maybe I read the comment by @kos sub-consciously, but I was just about to say it's probably to avoid people looking in vain for a binary called sd-pam. After reading that ps already uses the exact same syntax, that may well be deliberate. Certainly there would be other process listing tools that don't add the brackets. (systemd-cgls?)
Jun
29
comment Is it possible to tell what source loaded a Linux kernel module?
I don't particularly understand why the nomatch platform option is there btw. Might be some policy from the udev developers, telling kernel devs they were doing something the wrong way (by breaking the pattern they used).
Jun
29
comment Is it possible to tell what source loaded a Linux kernel module?
I apologize for my vagueness. It could be the of: alias. OpenFirmware, right? udev finds something exposed by the firmware, somewhere under sysfs, with a matching modalias file. It effectively runs modprobe with the contents of that modalias file. (In new versions of udev, it uses libkmod). This is the same process e.g. how usb-storage is loaded when you plug in a USB stick. The udev initscript scans all devices in sys at boot, which is called "coldplug" because it's not quite "hotplug".
Jun
28
comment Is it possible to tell what source loaded a Linux kernel module?
I think c_can_platform is loaded first - going by "used by" in lsmod output. So that's what you want to check for aliases rather than c_can.
Jun
28
comment Is it possible to tell what source loaded a Linux kernel module?
ok rtnl-link-can won't be in /sys/devices, it's not the normal udev coldplug. that modalias must be to do with netlink sockets... basically if you ran some program that tries to configure a CAN bus in a certain way it would load that module.
Jun
28
comment Is it possible to tell what source loaded a Linux kernel module?
check dmesg. If there's an init-thingy it should say like [ 0.404592] Unpacking initramfs... [ 1.021297] Freeing initrd memory: 18764K (ffff880035b4a000 - ffff880036d9d000)
Jun
27
comment Is it possible to tell what source loaded a Linux kernel module?
could be by udev? can't quite think of a good test. Maybe modinfo shows a modalias that matches one of the modalias files you can find in /sys/devices. if no modalias shown then probably not.
Jun
6
awarded  Excavator
Jun
6
comment Run 2 instances of xinit with output to separate video out
Ah, I guess it's not really possible :(. unix.stackexchange.com/questions/138290/… / help.ubuntu.com/community/MultiseatOneCard
Jun
6
comment GRUB-EFI installation fails while installing Kali Linux in external hard disk
Done. Not sure how this invalidates my point about unsupported system configurations from random websites having caveats you're not aware of :). Shame not to have the simple version for chain-loading grub as well though, it makes Linux look unnecessarily awkward. That is, I assume refind will present a Windows option here without needing to reconfigure Windows.
Jun
6
revised GRUB-EFI installation fails while installing Kali Linux in external hard disk
comment omitted mkdir of /esp
Jun
6
revised GRUB-EFI installation fails while installing Kali Linux in external hard disk
fstab as per comment
Jun
6
comment Run 2 instances of xinit with output to separate video out
That matches my expectations so far :). I think you're saying you want to configure multi-seat as per my link above. I think the assumption will be you have separate input devices as well, i.e. there won't be a built-in way to switch the input from one device (keyboard) between the 2 different "seats".
Jun
6
comment GRUB-EFI installation fails while installing Kali Linux in external hard disk
Also remember to recopy the kernel on every kernel update, or your security-focused OS will be running 'vulnerable' code in ring 0 without you realizing. Alternatively, you could try to work out what your OS is designed to support, which will be GRUB.
Jun
6
comment Run 2 instances of xinit with output to separate video out
startx says it's a frontend to xinit, so if startx is doing exactly what you want, trace how it invokes xinit/X/window managers/whatever. strace -e trace=process and look for exec, possibly adding -s 99 or so if the strings you need get abbreviated. startx does claim to be more friendly, but I can't see what it would do differently here (or at all, to be honest).
Jun
6
comment Run 2 instances of xinit with output to separate video out
Um. You shouldn't be able to run two xinit commands without setting up multiseat. Which would be unusual, so you should outline your xorg.conf for us? Most people run a single seat using a desktop (GNOME etc) that configures multi-head through xrandr. Nice thing about using xrandr is it can work without having to code up any xorg.conf.
Jun
5
comment Using DNSMasq for Local Hostname Resolution
Hmm after fixing the primary dns you will need to re-dhcp windows (resetting the adaptor should do it), then check ipconfig /all is showing the correct dns server being used, if that's right you might then need to flushdns. But I can't think of anything else, it should work.
Jun
5
answered Are iptables global or user ip specific?
May
30
comment Understand logging in Linux
nit: rsyslog is more popular now (default for Fedora, Debian), and it doesn't use a separate klogd. Looks like syslog-ng doesn't (by preference) either.
May
27
comment Triggering hardware interrupts by connecting parallel port pins 9 and 10 does not work
Let us continue this discussion in chat.