Re: DOS by unprivileged user

2018-04-22 Thread vcaputo
On Sun, Apr 22, 2018 at 12:16:54PM +0200, Pavel Machek wrote: > On Thu 2018-04-19 21:13:35, Ferry Toth wrote: > > It appears any ordinary user can easily create a DOS on linux. > > > > One sure way to reproduce this is to open gitk on the linux kernel repo > > (SIC) on a machine with 8GB RAM 16 G

Re: [REGRESSION] (>= v4.12) IO w/dmcrypt causing audio underruns

2018-01-25 Thread vcaputo
On Fri, Jan 19, 2018 at 11:57:32AM +0100, Enric Balletbo Serra wrote: > Hi Vito, > > 2018-01-17 23:48 GMT+01:00 : > > On Mon, Dec 18, 2017 at 10:25:33AM +0100, Enric Balletbo Serra wrote: > >> Hi Vito, > >> > >> 2017-12-01 22:33 GMT+01:00 : > >> > On Wed, Nov 29, 2017 at 10:39:19AM -0800, vcap..

Re: [REGRESSION] (>= v4.12) IO w/dmcrypt causing audio underruns

2018-01-24 Thread vcaputo
On Fri, Jan 19, 2018 at 11:57:32AM +0100, Enric Balletbo Serra wrote: > Hi Vito, > > 2018-01-17 23:48 GMT+01:00 : > > On Mon, Dec 18, 2017 at 10:25:33AM +0100, Enric Balletbo Serra wrote: > >> Hi Vito, > >> > >> 2017-12-01 22:33 GMT+01:00 : > >> > On Wed, Nov 29, 2017 at 10:39:19AM -0800, vcap..

Re: [REGRESSION] (>= v4.12) IO w/dmcrypt causing audio underruns

2018-01-24 Thread vcaputo
On Fri, Jan 19, 2018 at 11:57:32AM +0100, Enric Balletbo Serra wrote: > Hi Vito, > > 2018-01-17 23:48 GMT+01:00 : > > On Mon, Dec 18, 2017 at 10:25:33AM +0100, Enric Balletbo Serra wrote: > >> Hi Vito, > >> > >> 2017-12-01 22:33 GMT+01:00 : > >> > On Wed, Nov 29, 2017 at 10:39:19AM -0800, vcap..

Re: [REGRESSION] (>= v4.12) IO w/dmcrypt causing audio underruns

2018-01-17 Thread vcaputo
On Mon, Dec 18, 2017 at 10:25:33AM +0100, Enric Balletbo Serra wrote: > Hi Vito, > > 2017-12-01 22:33 GMT+01:00 : > > On Wed, Nov 29, 2017 at 10:39:19AM -0800, vcap...@pengaru.com wrote: > >> Hello, > >> > >> Recently I noticed substantial audio dropouts when listening to MP3s in > >> `cmus` whil

Re: Commit fc72ae40e303 broke x86-64 build environment.

2018-01-13 Thread vcaputo
On Sat, Jan 13, 2018 at 11:13:13PM -0600, Rob Landley wrote: > You've made the ORC unwinder part of allnoconfig, which means trying to > build "make ARCH=x86_64 allnoconfig" requires installing a new package > (libelf-dev) or else the build breaks. > > What's worse, if I go into menuconfig and swi

Re: Linux 4.15-rc7

2018-01-12 Thread vcaputo
On Fri, Jan 12, 2018 at 11:08:58PM +0100, Arnd Bergmann wrote: > On Fri, Jan 12, 2018 at 11:04 PM, wrote: > > On Fri, Jan 12, 2018 at 09:11:38PM +0100, Arnd Bergmann wrote: > > > >> - I haven't found a definite answer on whether Netburst-based CPUs > >> are affected by meltdown at all. Some peo

Re: Linux 4.15-rc7

2018-01-12 Thread vcaputo
On Fri, Jan 12, 2018 at 09:11:38PM +0100, Arnd Bergmann wrote: > On Fri, Jan 12, 2018 at 6:20 PM, wrote: > > On Fri, Jan 12, 2018 at 02:23:20PM +0100, Arnd Bergmann wrote: > > >> Could you be more specific which 32-bit x86 chips you have that are > >> affected by Meltdown? Do you mean pre-2004 P

Re: Linux 4.15-rc7

2018-01-12 Thread vcaputo
On Fri, Jan 12, 2018 at 02:23:20PM +0100, Arnd Bergmann wrote: > On Fri, Jan 12, 2018 at 12:06 PM, Pavel Machek wrote: > > Hi! > > > >> Wasn't/Isn't the 4G/4G memory layout for 32 bits essentially KPTI? > > > > Good point. Is that still supported? Was it ever? > > > > Umm. I seem to recall that 4

Re: [BUG] 4.15-rc4 'do_IRQ: 0.33 No irq handler for vector'

2017-12-31 Thread vcaputo
On Sat, Dec 30, 2017 at 08:47:23PM +, Alan Cox wrote: > On Mon, 18 Dec 2017 20:39:17 -0800 > vcap...@pengaru.com wrote: > > > Hello everyone, > > > > While investigating `journalctl -k` for anything associated with broken > > audio, this was found: > > > > Dec 18 16:09:28 iridesce kernel:

Re: [Regression 4.15] Can't kill CONFIG_UNWINDER_ORC with fire or plague.

2017-12-29 Thread vcaputo
On Fri, Dec 29, 2017 at 01:18:30PM -0500, Paul Gortmaker wrote: > [Re: [Regression 4.15] Can't kill CONFIG_UNWINDER_ORC with fire or plague.] > On 29/12/2017 (Fri 10:47) Josh Poimboeuf wrote: > > > This seems to be related to a kconfig quirk where only silentoldconfig > > updates the include/conf

Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114

2017-12-28 Thread vcaputo
On Thu, Dec 28, 2017 at 11:41:45AM +0100, Thomas Gleixner wrote: > On Sun, 24 Dec 2017, vcap...@pengaru.com wrote: > > On Sat, Dec 23, 2017 at 09:33:37PM +0100, Thomas Gleixner wrote: > > > > It seems like the affinity changes are assuming a strict adherence to > > > > the CPU mask when the underly

Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114

2017-12-24 Thread vcaputo
On Sat, Dec 23, 2017 at 09:33:37PM +0100, Thomas Gleixner wrote: > On Sat, 23 Dec 2017, vcap...@pengaru.com wrote: > > On Fri, Dec 22, 2017 at 09:37:01PM -0800, vcap...@pengaru.com wrote: > > Added the following instrumentation: > > > > diff --git a/arch/x86/kernel/apic/vector.c b/arch/x86/kernel/

Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114

2017-12-23 Thread vcaputo
On Fri, Dec 22, 2017 at 09:37:01PM -0800, vcap...@pengaru.com wrote: > On Wed, Dec 20, 2017 at 01:33:45AM +0100, Thomas Gleixner wrote: > > On Tue, 19 Dec 2017, vcap...@pengaru.com wrote: > > > On Wed, Dec 20, 2017 at 12:22:12AM +0100, Pavel Machek wrote: > > > > You forgot to mention commit id :-)

Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114

2017-12-22 Thread vcaputo
On Wed, Dec 20, 2017 at 01:33:45AM +0100, Thomas Gleixner wrote: > On Tue, 19 Dec 2017, vcap...@pengaru.com wrote: > > On Wed, Dec 20, 2017 at 12:22:12AM +0100, Pavel Machek wrote: > > > You forgot to mention commit id :-). > > > > > > > That is very strange, anyhow: > > > > commit fdba46ffb4c2

Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114

2017-12-19 Thread vcaputo
On Wed, Dec 20, 2017 at 01:33:45AM +0100, Thomas Gleixner wrote: > On Tue, 19 Dec 2017, vcap...@pengaru.com wrote: > > On Wed, Dec 20, 2017 at 12:22:12AM +0100, Pavel Machek wrote: > > > You forgot to mention commit id :-). > > > > > > > That is very strange, anyhow: > > > > commit fdba46ffb4c2

Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114

2017-12-19 Thread vcaputo
On Wed, Dec 20, 2017 at 12:22:12AM +0100, Pavel Machek wrote: > Hi! > > > > > > > > > > > > Reappeared, 4.15-rc1. > > > > > > > > > > > > > > > > > > > > > > [ 40.473822] PM: suspend exit > > > > > > > > > > > [ 40.526027] sdhci-pci :15:00.2: Will use DMA mode > > > > > > > > > > > even

Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114

2017-12-19 Thread vcaputo
On Mon, Dec 18, 2017 at 08:54:15PM -0800, vcap...@pengaru.com wrote: > On Mon, Dec 18, 2017 at 06:06:58PM -0800, vcap...@pengaru.com wrote: > > On Thu, Dec 14, 2017 at 10:57:30AM +0100, Pavel Machek wrote: > > > On Tue 2017-11-28 08:00:20, Takashi Iwai wrote: > > > > On Mon, 27 Nov 2017 19:44:12 +0

Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114

2017-12-18 Thread vcaputo
On Mon, Dec 18, 2017 at 06:06:58PM -0800, vcap...@pengaru.com wrote: > On Thu, Dec 14, 2017 at 10:57:30AM +0100, Pavel Machek wrote: > > On Tue 2017-11-28 08:00:20, Takashi Iwai wrote: > > > On Mon, 27 Nov 2017 19:44:12 +0100, > > > Pavel Machek wrote: > > > > > > > > On Mon 2017-11-27 19:35:32, T

[BUG] 4.15-rc4 'do_IRQ: 0.33 No irq handler for vector'

2017-12-18 Thread vcaputo
Hello everyone, While investigating `journalctl -k` for anything associated with broken audio, this was found: Dec 18 16:09:28 iridesce kernel: do_IRQ: 0.33 No irq handler for vector Dec 18 16:10:21 iridesce kernel: ata1.00: exception Emask 0x0 SAct 0xfe0 SErr 0x0 action 0x6 frozen Dec 18

Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114

2017-12-18 Thread vcaputo
On Thu, Dec 14, 2017 at 10:57:30AM +0100, Pavel Machek wrote: > On Tue 2017-11-28 08:00:20, Takashi Iwai wrote: > > On Mon, 27 Nov 2017 19:44:12 +0100, > > Pavel Machek wrote: > > > > > > On Mon 2017-11-27 19:35:32, Takashi Iwai wrote: > > > > On Mon, 27 Nov 2017 19:31:51 +0100, > > > > Pavel Mach

Re: PROBLEM: NULL pointer dereference in kernel 4.14.6

2017-12-17 Thread vcaputo
On Sun, Dec 17, 2017 at 05:49:44PM +, Bronek Kozicki wrote: > I just upgraded to 4.14.7 and tried to reproduce this error, this time under > strace. As you can see this happens when systemctl tries to read a specific > entry under /sys/fs . In case this matters, the entry is for a small virtu

Re: Detecting RWF_NOWAIT support

2017-12-16 Thread vcaputo
On Sat, Dec 16, 2017 at 10:03:38AM -0800, vcap...@pengaru.com wrote: > On Sat, Dec 16, 2017 at 04:49:08PM +0200, Avi Kivity wrote: > > > > > > On 12/14/2017 09:15 PM, Goldwyn Rodrigues wrote: > > > > > > On 12/14/2017 11:38 AM, Avi Kivity wrote: > > > > I'm looking to add support for RWF_NOWAIT

Re: Detecting RWF_NOWAIT support

2017-12-16 Thread vcaputo
On Sat, Dec 16, 2017 at 04:49:08PM +0200, Avi Kivity wrote: > > > On 12/14/2017 09:15 PM, Goldwyn Rodrigues wrote: > > > > On 12/14/2017 11:38 AM, Avi Kivity wrote: > > > I'm looking to add support for RWF_NOWAIT within a linux-aio iocb. > > > Naturally, I need to detect at runtime whether the k

Re: [REGRESSION] (>= v4.12) IO w/dmcrypt causing audio underruns

2017-12-01 Thread vcaputo
On Wed, Nov 29, 2017 at 10:39:19AM -0800, vcap...@pengaru.com wrote: > Hello, > > Recently I noticed substantial audio dropouts when listening to MP3s in > `cmus` while doing big and churny `git checkout` commands in my linux git > tree. > > It's not something I've done much of over the last coup

[REGRESSION] (>= v4.12) IO w/dmcrypt causing audio underruns

2017-11-29 Thread vcaputo
Hello, Recently I noticed substantial audio dropouts when listening to MP3s in `cmus` while doing big and churny `git checkout` commands in my linux git tree. It's not something I've done much of over the last couple months so I hadn't noticed until yesterday, but didn't remember this being a pro

Re: [PATCH] net: ethernet: aquantia: default to no in config

2017-09-19 Thread vcaputo
On Tue, Sep 19, 2017 at 03:52:31PM -0700, David Miller wrote: > From: Vito Caputo > Date: Tue, 19 Sep 2017 15:43:15 -0700 > > > NET_VENDOR_AQUANTIA was "default y" for some reason, which seems > > obviously inappropriate. > > It is appropriate. > > We make all vendor guards default to yes. Tha

Re: Detecting page cache trashing state

2017-09-15 Thread vcaputo
On Fri, Sep 15, 2017 at 04:36:19PM +0200, Michal Hocko wrote: > On Thu 14-09-17 17:16:27, Taras Kondratiuk wrote: > > Hi > > > > In our devices under low memory conditions we often get into a trashing > > state when system spends most of the time re-reading pages of .text > > sections from a file

Seemingly random performance degradation in 4.13

2017-09-12 Thread vcaputo
Hello, I've been working on some graphics hacks which has me paying close attention to frame rates. Something I've noticed recently in the 4.13 cycle is a seemingly random loss of ~40% frame rate. These are purely software-rendered hacks, and I haven't spent much time trying to figure out what i

[QUESTION] v4.12-rc5 BFQ enabled but unavailable?

2017-06-12 Thread vcaputo
Hello LKML, Attempted to play with BFQ but after building with CONFIG_IOSCHED_BFQ=y I'm still not seeing it: # cat /sys/devices/pci:00/:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/scheduler noop deadline [cfq] # Even though: # dmesg | grep sched [0.514536] io schedu

[REGRESSION] 4.11.0-rc8 ext4 mount randomly returning EBUSY during boot w/systemd?

2017-05-04 Thread vcaputo
I'm not sure about this one, but never experienced it prior to 4.11.0-rc8. During boot sometimes the home.mount unit fails and `systemctl status home.mount` reports that the mount failed due to it already being busy. I'm able to fix it by simply issuing `systemctl restart home.mount` from the mai

Re: [PATCH] shmem: fix __shmem_file_setup error path leaks

2017-03-27 Thread vcaputo
On Mon, Mar 27, 2017 at 10:21:27PM +0100, Al Viro wrote: > On Mon, Mar 27, 2017 at 10:05:34AM -0700, Vito Caputo wrote: > > The existing path and memory cleanups appear to be in reverse order, and > > there's no iput() potentially leaking the inode in the last two error gotos. > > > > Also make pu

PROBLEM: Namespaced PID 1 ignoring SIG_DFL signals

2015-02-20 Thread vcaputo
Hello lkml, According to the comment: > * Note that if global/container-init sees a sig_kernel_only() > * signal here, the signal must have been generated internally > * or must have come from an ancestor namespace. In either > * case, the signal cannot be dropped. [https://git.kernel.org/cgit/l

Re: adopt(pid_t pid) syscall proposal [patch included]

2013-06-11 Thread vcaputo
On Tue, Jun 11, 2013 at 09:48:22AM -0700, Andy Lutomirski wrote: > On 06/10/2013 06:23 PM, vcap...@gnugeneration.com wrote: > >+if (!uid_eq(cred->euid, tcred->suid) && > >+!uid_eq(cred->euid, tcred->uid) && > >+!uid_eq(cred->uid,

adopt(pid_t pid) syscall proposal [patch included]

2013-06-10 Thread vcaputo
Hello all, I'd like to propose a new system call, I know I'll probably be flamed, but here goes. Today there is no way to get a process which has been orphaned, and thus become a child of init, back as a child of another process. This is annoying me, please allow me to explain why. The CONFIG_C