Re: ALSA kernel projects - for academic purposes

2021-09-29 Thread Ruben Safir
Bingo Correct Answer On Wed, Sep 29, 2021 at 10:11:33PM -0400, Aruna Hewapathirane wrote: > On Fri, Sep 24, 2021 at 10:05 AM Muni Sekhar > wrote: > > > Hi all, > > > > > > What small projects would you suggest to a novice with the ALSA > > kernel. The aim is to develop a familiarity with

Re: ALSA kernel projects - for academic purposes

2021-09-29 Thread Ruben Safir
> I don't see your point here. I know that. So read what I wrote again and think about the original poster sitting in a CLASSROOM and working on a thesis due in 2 months Just try to place yourslef in another persons shoes for 15 minutes. This guy gets assigned this task and is trying to

Re: ALSA kernel projects - for academic purposes

2021-09-29 Thread Ruben Safir
On Fri, Sep 24, 2021 at 07:26:08PM -0300, Geraldo Nascimento wrote: > On Fri, Sep 24, 2021 at 10:28:01PM +0530, Muni Sekhar wrote: > > On Fri, Sep 24, 2021 at 10:02 PM Valdis Klētnieks > > wrote: > > > > > > On Fri, 24 Sep 2021 19:34:59 +0530, Muni Sekhar said: > > > > What small projects would

Re: ALSA kernel projects - for academic purposes

2021-09-29 Thread Ruben Safir
> > also, theres now pipewire, which is new, and all the buzz. > its apparently the future of linux audio > BTW - we hear the BS every month, and yet, ALSA is still here and the backbone of Linux sound... -- So many immigrant groups have swept through our town that Brooklyn, like

Re: ALSA kernel projects - for academic purposes

2021-09-29 Thread Ruben Safir
On Fri, Sep 24, 2021 at 11:15:35AM -0600, jim.cro...@gmail.com wrote: > On Fri, Sep 24, 2021 at 10:58 AM Muni Sekhar wrote: > > > > On Fri, Sep 24, 2021 at 10:02 PM Valdis Klētnieks > > wrote: > > > > > > On Fri, 24 Sep 2021 19:34:59 +0530, Muni Sekhar said: > > > > What small projects would you

Re: efivars

2021-09-23 Thread Ruben Safir
FWIW ttps://uefi.org/sites/default/files/resources/UEFI_Spec_2_9_2021_03_18.pdf On 9/23/21 6:28 AM, FMDF wrote: > On Thu, 23 Sep 2021, 11:57 Ruben Safir, <mailto:ru...@mrbrklyn.com>> wrote: > > > Why does it need the bootloader to do any of that.  > > >

Re: efivars

2021-09-23 Thread Ruben Safir
On 9/23/21 6:28 AM, FMDF wrote: > ut that it still needs the UEFI runtime services. My webserver runs without efi - for example. sudo ls -al /sys/firmware/efi/efivars ls: cannot access /sys/firmware/efi/efivars: No such file or directory -- So many immigrant groups have swept through our town

Re: efivars

2021-09-23 Thread Ruben Safir
On 9/23/21 6:28 AM, FMDF wrote: > but that it still needs the UEFI runtime services. I No, it doesn't. It can run a BIOS system or on hardware that has no UEFI at all. How do you think it has worked for the last 25 years. -- So many immigrant groups have swept through our town that

Re: efivars

2021-09-23 Thread Ruben Safir
On 9/23/21 3:27 AM, FMDF wrote: > but it still needs to use UEFI at runtime. no if it is on a bios system -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM

Re: efivars

2021-09-23 Thread Ruben Safir
On Wed, Sep 22, 2021 at 06:07:49PM +0200, Greg KH wrote: > On Wed, Sep 22, 2021 at 11:47:42AM -0400, Ruben Safir wrote: > > On Wed, Sep 22, 2021 at 08:35:15AM +0200, Greg KH wrote: > > > On Wed, Sep 22, 2021 at 02:22:22AM -0400, Ruben Safir w

Re: efivars

2021-09-23 Thread Ruben Safir
On Thu, Sep 23, 2021 at 09:11:32AM +0200, FMDF wrote: > On Wed, 22 Sep 2021, 08:22 Ruben Safir, wrote: > > > What is this for? > > > > efivarfs on /sys/firmware/efi/efivars type efivarfs > > > > why would the OS need to know anything about the UEFI >

Re: efivars

2021-09-23 Thread Ruben Safir
On Thu, Sep 23, 2021 at 09:13:02AM +0200, Bjørn Mork wrote: > Ruben Safir writes: > > > OS's shouldn't need anything from a boot loader. > > Why do you need a bootloader then? To boot and that is it. It is a hardware specific ibinary boot chain that finds the kernal on the h

Re: efivars

2021-09-23 Thread Ruben Safir
On Thu, Sep 23, 2021 at 09:32:00AM +0200, Bjørn Mork wrote: > Ruben Safir writes: > > > I really just want to know what efi varriables exist and why we have a > > sys file for them > > The "why" question is answered here: > https://www.kernel.org/doc/D

Re: efivars

2021-09-23 Thread Ruben Safir
On Thu, Sep 23, 2021 at 04:12:51AM -0400, Valdis Klētnieks wrote: > On Wed, 22 Sep 2021 22:07:28 -0400, Ruben Safir said: > > Aside from that, I really just want to know what efi varriables exist > > On Thu, 23 Sep 2021 00:01:20 -0400, Ruben Safir said: > > Wha

Re: efivars

2021-09-22 Thread Ruben Safir
On Wed, Sep 22, 2021 at 06:07:49PM +0200, Greg KH wrote: > On Wed, Sep 22, 2021 at 11:47:42AM -0400, Ruben Safir wrote: > > On Wed, Sep 22, 2021 at 08:35:15AM +0200, Greg KH wrote: > > > On Wed, Sep 22, 2021 at 02:22:22AM -0400, Ruben Safir w

Re: efivars

2021-09-22 Thread Ruben Safir
On 9/22/21 1:04 PM, Valdis Klētnieks wrote: > You might want to read Documentation/x86/boot.rst and think about what the OS > is expecting to get passed from the boot loader, Aside from that, I really just want to know what efi varriables exist and why we have a sys file for them, not a

Re: efivars

2021-09-22 Thread Ruben Safir
On 9/22/21 1:04 PM, Valdis Klētnieks wrote: > You might want to read Documentation/x86/boot.rst and think about what the OS > is expecting to get passed from the boot loader, and then think about how you > would deal with the situation if that information wasn't passed along. Link? FWIW, it

Re: efivars

2021-09-22 Thread Ruben Safir
On 9/22/21 1:04 PM, Valdis Klētnieks wrote: > And that's just the *documented* ones. So, as you were saying? Why does it depend on variables from EFI? -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world

Re: efivars

2021-09-22 Thread Ruben Safir
On 9/22/21 2:35 AM, Greg KH wrote: > Because there are lots of needed system information that the OS, and > userspace, needs to get from UEFI after the system has booted. OS's shouldn't need anything from a boot loader. That ties the OS to the bootloader completely without need. -- So many

Re: efivars

2021-09-22 Thread Ruben Safir
On 9/22/21 4:41 AM, FMDF wrote: > What is this for? > > efivarfs on /sys/firmware/efi/efivars type efivarfs > > why would the OS need to know anything about the UEFI > boot loader once it is up and running? > > > Not from the boot loader, but the OS needs system information

Re: efivars

2021-09-22 Thread Ruben Safir
On Wed, Sep 22, 2021 at 08:35:15AM +0200, Greg KH wrote: > On Wed, Sep 22, 2021 at 02:22:22AM -0400, Ruben Safir wrote: > > What is this for? > > > > efivarfs on /sys/firmware/efi/efivars type efivarfs > > > > why would the OS need to know anything about the UE

efivars

2021-09-22 Thread Ruben Safir
What is this for? efivarfs on /sys/firmware/efi/efivars type efivarfs why would the OS need to know anything about the UEFI boot loader once it is up and running? -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the

Re: Is there documentation for what each script in linux/scripts does?

2021-04-20 Thread Ruben Safir
what is a goodie? On Tue, Apr 20, 2021 at 07:56:23PM +, Esme Xuan Lim wrote: > Hey there, > > I was wondering since there’s loads of useful stuff in there it seems, but > there’s little documented on what goodies there are or what they do > > Thanks > Esme >

Re: New text

2020-02-20 Thread Ruben Safir
On 2/20/20 3:12 PM, Valdis Klētnieks wrote: > That was addressing the specific case of "I need to update an out of tree > driver to a recent kernel". I hear ya, babe, but I didn't ask that :) -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches

Re: New text

2020-02-19 Thread Ruben Safir
there are diagrams for the linux memory management and paging systems? On Wed, Feb 19, 2020 at 06:43:05PM -0500, Robert P. J. Day wrote: > On Wed, 19 Feb 2020, Ruben Safir wrote: > > > is there currently a rfecommended text to learn kernel development > > from? > >

Re: New text

2020-02-19 Thread Ruben Safir
On 2/19/20 4:36 PM, Valdis Klētnieks wrote: > The first thing to remember is that the kernel has no obligation to be easy > for > new programmers. it is not that hard. It can be understood, and kernel writers aren't generally starting out by pouring over the code base to learn how it works.

New text

2020-02-19 Thread Ruben Safir
is there currently a rfecommended text to learn kernel development from? -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the

Re: Try/catch for modules?

2019-10-18 Thread Ruben Safir
On 10/18/19 5:24 PM, Rik van Riel wrote: > Every time you test whether the PID is the PID of the > currently running process, it will be true. Think of > the kernel as a privileged shared library, not as a > program that userspace happens to communicate with.

Re: Try/catch for modules?

2019-10-18 Thread Ruben Safir
On 10/18/19 5:24 PM, Rik van Riel wrote: > Every time you test whether the PID is the PID of the > currently running process, it will be true. Think of > the kernel as a privileged shared library, not as a > program that userspace happens to communicate with. this last sentence can not be true.

Re: Try/catch for modules?

2019-10-18 Thread Ruben Safir
On 10/18/19 2:53 PM, Ruben Safir wrote: > On 10/18/19 1:05 PM, Martin Galvan wrote: >> Windows does >> with its __try/__except machinery which uses stack unwinding >> information. > > Nothing would suprise we with MS. > > Interesting. Show me a code examp

Re: Try/catch for modules?

2019-10-18 Thread Ruben Safir
On 10/18/19 1:05 PM, Martin Galvan wrote: > Windows does > with its __try/__except machinery which uses stack unwinding > information. Nothing would suprise we with MS. Interesting. Show me a code example for this within the MS WIndows kernel -- So many immigrant groups have swept through

Re: Try/catch for modules?

2019-10-18 Thread Ruben Safir
On 10/18/19 1:05 PM, Martin Galvan wrote: > El vie., 18 oct. 2019 a las 14:02, Ruben Safir () > escribió: >> I don't think you really understand what is going on here. On the >> kernel level you would never wrap up a process in another process in >> order to catch a mi

Re: Try/catch for modules?

2019-10-18 Thread Ruben Safir
On 10/18/19 11:43 AM, Martin Galvan wrote: > goto statements are harmful not in the kernel. -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We

Re: Try/catch for modules?

2019-10-18 Thread Ruben Safir
On Fri, Oct 18, 2019 at 01:11:54PM -0300, Martin Galvan wrote: > El vie., 18 oct. 2019 a las 13:05, Bernd Petrovitsch > () escribió: > > You actually want speed in the kernel and not necessarily extra effort > > for "try" and "catch" which is - sooner or later - never really used. > > And the

Re: Try/catch for modules?

2019-10-17 Thread Ruben Safir
you are going to use a try and catch in the kernel? On 10/17/19 9:42 AM, Maria Neptune wrote: > On Thu, Oct 17, 2019, 09:42 Maria Neptune wrote: > >> I hate to say it but honestly in a kernel module, your solution is not to >> do null dereferences. It's hard but you gotta. >> Otherwise I've

Re: Predicting Process crash / Memory utlization using machine learning

2019-10-10 Thread Ruben Safir
On 10/9/19 4:23 AM, prathamesh naik wrote: > Hi all, > I want to work on project which can predict kernel process > crash or even user space process crash (or memory usage spikes) using > machine learning algorithms. Can someone point me what all data can be > useful for tuning my

Re: Software Prefetching using Machine learning

2019-10-09 Thread Ruben Safir
On 10/9/19 3:08 PM, Valdis Klētnieks wrote: > Ah, academia - where novelty of an idea is sufficient to get published, and > considerations > of whether it's a *useful* idea are totally disregarded. or better, it will be built into systemd! -- So many immigrant groups have swept through our

Re: Software Prefetching using Machine learning

2019-10-09 Thread Ruben Safir
On 10/9/19 3:08 PM, Valdis Klētnieks wrote: > Ah, academia - where novelty of an idea is sufficient to get published, and > considerations > of whether it's a *useful* idea are totally disregarded. like thermal dynamics, relativity, quantum mechanics, paleontology, biological computational

Re: Do I need strong mathematical bases to work in the memory subsystem?

2019-10-03 Thread Ruben Safir
On 10/3/19 3:00 AM, Greg KH wrote: > USB4 > spec, and the patches posted to start adding support for that to the > kernel. No "math" in there at all other than very simple stuff. > > And no one can say that USB for is not "serious", so I agree with > Vladis, a deep mathmatical background is not

Re: Do I need strong mathematical bases to work in the memory subsystem?

2019-10-02 Thread Ruben Safir
On 10/2/19 11:35 PM, Valdis Klētnieks wrote: > On Wed, 02 Oct 2019 21:47:42 -0400, Ruben Safir said: > >> I've heard this for years and when I went back for my PhD and Masters >> degree in comp sci, I found out, low and behold, this is just not true. > > The question

Re: Do I need strong mathematical bases to work in the memory subsystem?

2019-10-02 Thread Ruben Safir
On 9/30/19 1:06 AM, Valdis Klētnieks wrote: > On Sun, 29 Sep 2019 17:48:43 -0500, CRISTIAN ANDRES VARGAS GONZALEZ said: > >> Hello good morning, to be developed from the kernel do I need to have good >> math bases? I want to help in the ram memory subsystem and I have that >> doubt thank you. >

Re: Generating Log of Guest Physical Addresses from a Kernel Function and Perform Analysis at Runtime

2019-09-25 Thread Ruben Safir
On Wed, Sep 25, 2019 at 07:08:14PM +0200, Greg KH wrote: > On Wed, Sep 25, 2019 at 10:21:18AM -0400, Ruben Safir wrote: > > On 9/25/19 5:38 AM, Greg KH wrote: > > > On Wed, Sep 25, 2019 at 04:00:08PM +0900, Sahibzada Irfanullah wrote: > > >> I am sorry if I am bot

Re: Generating Log of Guest Physical Addresses from a Kernel Function and Perform Analysis at Runtime

2019-09-25 Thread Ruben Safir
On 9/25/19 5:38 AM, Greg KH wrote: > On Wed, Sep 25, 2019 at 04:00:08PM +0900, Sahibzada Irfanullah wrote: >> I am sorry if I am bothering you. >> I have read this article >> , >> I have to ask that will

Re: Unexpected scheduling with mutexes

2019-03-30 Thread Ruben Safir
On 3/29/19 4:01 PM, Greg KH wrote: > As an example of this, serial ports are not "exclusively owned", right? they are not? What handles the interupt? -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world

Re: Why eeprom driver is read-only ?

2018-11-19 Thread Ruben Safir
On 11/19/18 7:08 AM, Ranran wrote: > Hello, > > What is the reason that kernel driver of eeprom is configured only as > read-only ? > > Is it because the BIOS is stored there ? > > Is there a way to make it writable ? > > Thank you, > Ran > > ___ >

Re: Diploma project with the Linux kernel

2018-10-04 Thread Ruben Safir
On 10/4/18 2:44 PM, Boian Karatotev wrote: > Hello, > > I am a Computer Science student and for my last year I need to make and > present a 'diploma project' at the end of June. So far I want to make a > kernel module, whose description is in the following paragraph. I feel > comfortable with C

Re: Proxy filesystems

2018-08-11 Thread Ruben Safir
On 08/11/2018 03:11 PM, Richard Weinberger wrote: > Using FUSE this is easy. FUSE is not part of the kernel and it is a PIA FWIW. It goes crazy all the time. -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of

Re: Need Suggestions

2018-08-01 Thread Ruben Safir
> > And the K book on C does successive trimming of an strcpy(), > and finishes with > > void strcpy(char *a, *b) { while (*a++ = *b++); } > > The thing that's actually used a lot in the Linux kernel that gives > a lot of C newcomers heartburn is the widespread use of > structures of function

Re: virtual address space allocation

2018-07-31 Thread Ruben Safir
On 07/31/2018 09:41 AM, Babis Chalios wrote: > I am working on the runtime system of a distributed memory programming > language. For some reason we need to > create a big hole on the address space of the application. We are trying > to do so by using an mmap during the > initialization of the

Re: Question about watchdog

2018-07-09 Thread Ruben Safir
On 07/09/2018 12:17 PM, valdis.kletni...@vt.edu wrote: > Linux doesn't have a "filesystem bus". of course not. i mispoke -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998

Re: Question about watchdog

2018-07-09 Thread Ruben Safir
On 07/08/2018 04:44 PM, valdis.kletni...@vt.edu wrote: > Error while parsing statement., What is a "filesystem bus" and when does it > issue a HW interrupt? You have a hard drive on the system bus and it sends interupts... Not to mention other devices like network cards, GPUs, Firewire, express

Re: Question about watchdog

2018-07-08 Thread Ruben Safir
On Mon, Jul 02, 2018 at 10:29:30AM +0200, Greg KH wrote: > On Mon, Jul 02, 2018 at 08:58:16AM +0100, Justin Skists wrote: > > > > > On 01 July 2018 at 13:44 bing zhu wrote: > > > > > > > > > Dear Sir/Ma'am > > > Thank you for your time ,i'm a student new to linux kernel.at present ,i'd > > >

Re: Question about watchdog

2018-07-01 Thread Ruben Safir
On 07/01/2018 08:44 AM, bing zhu wrote: > my question is :how can i make this thread to > run on a cpu and never get switched or scheduled , it is a preemptive multitasking kernel -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological

Re: Report on Linux kernel version 4.16

2018-05-27 Thread Ruben Safir
On 05/23/2018 06:31 AM, Cornelius Vanderbilt wrote: > hen linux kernel version 4.16 was released you were supposed to publish a > detailed report about all the changes it had and post it here - > www.https://kernelnewbies.org/LinuxVersions - like the way you have done for > all the other

Re: LKCAMP - Linux Kernel Study Group - English subtitles

2018-04-02 Thread Ruben Safir
On 04/03/2018 12:33 AM, Helen Fornazier wrote: > Hi kernelnewbies community, > > First I would like to say thanks for your support helping answering > questions from the LKCAMP group. > > We are recording the talks from our group, and I would like to inform > that for those who don't speak

Re: Year 2038 time set problem

2018-03-05 Thread Ruben Safir
BTW - the problem with rebooting is not kernel problem. Its thinks like my workstation having 40 documents open on it, going back over year I hate to kill my desktop...among other things On Mon, Mar 05, 2018 at 07:26:23AM +0100, Greg KH wrote: > On Mon, Mar 05, 2018 at 01:15:03AM -0500, Ru

Re: Year 2038 time set problem

2018-03-05 Thread Ruben Safir
On Mon, Mar 05, 2018 at 07:26:23AM +0100, Greg KH wrote: > On Mon, Mar 05, 2018 at 01:15:03AM -0500, Ruben Safir wrote: > > On 03/05/2018 01:00 AM, Greg KH wrote: > > > "How many security issues were those systems > > > vulnerable to over that period of time? Al

Re: Year 2038 time set problem

2018-03-05 Thread Ruben Safir
On 03/05/2018 03:50 AM, valdis.kletni...@vt.edu wrote: > If it's the > former, then you have to learn that reboots are like changing the oil > in your car yeah, BTW, my car doesn't need its oil changed any longer. It hasn't needed to be done before 100,000 miles since the mid-1980s. I only

Re: Year 2038 time set problem

2018-03-05 Thread Ruben Safir
On 03/05/2018 03:50 AM, valdis.kletni...@vt.edu wrote: > Give an example of a system - *ANY* system - where you *can't* afford > the time down for a reboot, but the downtime for a hardware failure *is* > acceptable. this is a black hole of a conversation. I see no benefit to it at this point.

Re: Year 2038 time set problem

2018-03-05 Thread Ruben Safir
On 03/05/2018 06:29 AM, Bernd Petrovitsch wrote: > And why should "we" (whoever that is) fix the problems of others? > > The upstream can't do anything directly if the downstream simply > refuses to update (if there are fixes to real threats) and/or reboot > (if it's the kernel). So any system

Re: Year 2038 time set problem

2018-03-05 Thread Ruben Safir
On 03/05/2018 03:50 AM, valdis.kletni...@vt.edu wrote: > Give an example of a system - *ANY* system - where you *can't* afford > the time down for a reboot, but the downtime for a hardware failure *is* > acceptable. You are right. No you move on to another target.. where you can show you are

Re: Year 2038 time set problem

2018-03-04 Thread Ruben Safir
On 03/05/2018 12:53 AM, Greg KH wrote: >> no, it won't work. It requires supervision > Then you are doing it wrong :) That goes without saying. I'm always doing things wrong :) I'm very creative at doing things wrong. -- So many immigrant groups have swept through our town that Brooklyn,

Re: Year 2038 time set problem

2018-03-04 Thread Ruben Safir
On 03/04/2018 11:15 PM, valdis.kletni...@vt.edu wrote: > The big problem *there* isn't that a reboot is often required. Yes, it is a problem. If you have 25 thousand signal switches that depend on, and build a wifi network for signally and telemetry, you aren't going to be able to put all those

Re: Year 2038 time set problem

2018-03-04 Thread Ruben Safir
On 03/04/2018 11:15 PM, valdis.kletni...@vt.edu wrote: >> I only had a system fry once >> while it was up an running since the late 1990's until today, and in >> that case it was wild power surge and the hardware was up and running in >> 20 minutes with a swap out of the hard drive. > The fact

Re: Year 2038 time set problem

2018-03-04 Thread Ruben Safir
On 03/04/2018 11:15 PM, valdis.kletni...@vt.edu wrote: > I repeat what I said - if you can't afford a reboot because it's mission > critical, > you can't afford to *not* be doing HA or load balancing or something. I know, that is the thing about talking to guys like you. It is a personality

Re: Year 2038 time set problem

2018-03-04 Thread Ruben Safir
On 03/04/2018 11:07 PM, Alex Arvelaez wrote: > easy: set up a cronjob to do it for you. no, it won't work. It requires supervision -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998

Re: Year 2038 time set problem

2018-03-04 Thread Ruben Safir
On 03/04/2018 09:35 PM, Alex Arvelaez wrote: > If you don't need high availability, what's the problem with the occasional > reboot? I have a life, and its a chore to reboot the 3 boxes after every upgrade. It runs my phones, my TV, my house security, and my mail and webserver and booting them

Re: Year 2038 time set problem

2018-03-04 Thread Ruben Safir
On 03/04/2018 05:24 PM, valdis.kletni...@vt.edu wrote: > If you can't afford the disruption of service a reboot causes, you *really* > need to be deploying HA or load-balancer solutions. > > Because if you can't afford a reboot's worth of 15-20 minutes of downtime, you > *really* can't afford the

Re: Year 2038 time set problem

2018-03-04 Thread Ruben Safir
On 03/04/2018 01:31 PM, valdis.kletni...@vt.edu wrote: > Note that saying "The CPU isn't vulnerable to Meltdown/Spectre, therefor > the 4.1 kernel is OK" is *incredibly* wrong. > > For the record, since 4.1 came out, there's been at *least* a dozen security > issues in the Linux kernel that have

Re: newbie

2018-02-12 Thread Ruben Safir
use mutt On Fri, Feb 09, 2018 at 11:01:52PM +0530, yash omer wrote: > Hello, > Please guide me how to follow with mailing list > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org >

Re: clang warning: implicit conversion in intel_ddi.c:1481

2018-02-05 Thread Ruben Safir
> > We are interested who is we? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Linux Kernel contains only C code?

2018-01-26 Thread Ruben Safir
On 01/26/2018 02:20 AM, Larry Chen wrote: > I have never seen c++, perl or python code in kernel source tree. > Imagine that, if kernel relies on perl, python or other 3rd-party code, > will it cause nested or mutual dependency issues? 3rd-party code bugs > may also cause problems that make the

Re: Regarding Linux kernel vs Android

2018-01-16 Thread Ruben Safir
I doesn't matter that much when you can't root the devices... On Tue, Jan 16, 2018 at 05:52:38PM +0100, Greg KH wrote: > On Tue, Jan 16, 2018 at 10:15:39PM +0530, inventsekar wrote: > > Hi... > > > > I tried searching but no luck. > > Can you please suggest how Linux kernel was modified and

Re: Why replacing running executable file is forbidden, but overwriting of memory mapped shared object is allowed ?

2017-11-10 Thread Ruben Safir
On 11/10/2017 12:49 PM, Jeffrey Walton wrote: > Microsoft technology That is an oxymoron -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We

Re: Swap causing huge latency on disk IO operations

2017-09-10 Thread Ruben Safir
On 09/10/2017 01:56 AM, Sudharsan Vijayaraghavan wrote: > > My general question is that has the community seen "swap latency issues > with disk IO" in general. Further can we assume that later kernels (like > 4.4) does not exhibit such a behavior. the problems with swap is not limited to any

Re: Swap causing huge latency on disk IO operations

2017-09-10 Thread Ruben Safir
On 09/10/2017 01:02 AM, Greg KH wrote: > That's your problem, 2.6.32 is _very_ old and obsolete. No one in the > community can help you out with that release anymore, sorry. that is true, but swapping at times is still a huge problem. I tend to just turn it off. -- So many immigrant groups

Re: Numa node 0 is missing from /sys/devices/system/node , only Numa node 1 is shown

2017-09-07 Thread Ruben Safir
On 09/07/2017 03:32 PM, Kevin Wilson wrote: > Hi, > > I have Ubuntu 14.04.5 LTS on x86_64 machine. I am using the > kernel as shipped with the distro, no modification whatsoever. > After fresh reboot I do see Numa node 1 but there is no Numa node 0 under: > > /sys/devices/system/node >

Re: Don't know where to start linux kernel programming

2017-08-23 Thread Ruben Safir
On 08/23/2017 08:46 PM, Greg KH wrote: > On Wed, Aug 23, 2017 at 08:03:43PM -0400, Ruben Safir wrote: >>> They can just add him or her to the TO: line and going forward they >>> should be kept in the loop for that thread. >> >> Your not adding another list, you

Re: Don't know where to start linux kernel programming

2017-08-23 Thread Ruben Safir
On 08/23/2017 07:46 PM, Greg Freemyer wrote: > Rubin, did you add the ?? > yes, somewhere it got reformated. > If so, that's how it works. The linux-kernel mailing lists are not > closed. Anyone can post an email to the list address, if it passes > the spam filter it will get forwarded to

Re: Don't know where to start linux kernel programming

2017-08-23 Thread Ruben Safir
On 08/22/2017 07:26 PM, Greg Freemyer wrote: > just send an email to the right address and all the > participants in the thread will do a reply-all so you can see the > responses without subscribing.?? -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches

Re: OOM killer hung the whole system

2017-07-30 Thread Ruben Safir
On 07/30/2017 03:51 PM, Mulyadi Santosa wrote: > ust malloc() without free(). and that surprises you? -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is

Re: Eudyptula Challenge scripts not responding?

2017-07-08 Thread Ruben Safir
On 07/06/2017 09:30 AM, Alexander Kapshuk wrote: > The response times vary between hearing from them the same day to up > to a few weeks. > > They will get back to you eventually. not always ;) Sometimes it takes a nudge -- So many immigrant groups have swept through our town that Brooklyn,

Re: [0] vs array

2017-03-30 Thread Ruben Safir
On 03/29/2017 08:30 PM, Tobin C. Harding wrote: > Does the kernel community have a preference when using the address of > the first element of an an array? > > 1. addr = [0] > 2. addr = array; > > $ grep '\&.*\[0\]' | wc -l > 10077 > > style (1) is clearly used, I was not able to grep for

Re: patch against linux-next

2016-11-21 Thread Ruben Safir
On 11/21/2016 11:28 PM, Amit Kumar wrote: > On Tue, Nov 22, 2016, 8:41 AM Ruben Safir <ru...@mrbrklyn.com> wrote: > >> On 11/21/2016 08:48 PM, Amit Kumar wrote: >>> Hi, >>> >>> As far as I know that linux-next tree is a preview of patches which will

Re: patch against linux-next

2016-11-21 Thread Ruben Safir
On 11/21/2016 08:48 PM, Amit Kumar wrote: > Hi, > > As far as I know that linux-next tree is a preview of patches which will be > merged in the mainline kernel. I've noticed that recently linux-next is > updated with a gap. Can a patch be created against linux-next tree? > > > > A kernel

Re: Request Chinese mail list and FrontPage

2016-09-06 Thread Ruben Safir
On 09/06/2016 12:47 AM, Hao Lee wrote: > On Tue, Sep 6, 2016 at 10:54 AM, Adam Lee wrote: >> >> Actually we have one: ker...@vger.linux-kernel.cn, but it has extremely >> low activity. >> Isn't it easier for the Chinese to learn English. The source is in romantic chars. >>

Re: Q: dma requires copying into dma buffer - so what's the benefit ?

2016-09-06 Thread Ruben Safir
On 09/06/2016 12:24 PM, Ran Shalit wrote: > Hello, > > There is something I don't understand about dma, > when doing memory to memory dma, it requires to cllocate dma buffer > (for example with dma_alloc_coherent), > than for each transfer we need to copy the buffer to the allocated > memory and

Re: Please, add me to EditorsGroup

2016-08-16 Thread Ruben Safir
do they know you that you want editing privledges? On Tue, Aug 16, 2016 at 01:11:59PM +0300, Aleksander Alekseev wrote: > Hello. > > I would like to contribute to kernelnewbies.org. In particular today I > discovered that link to oftc.net on IRC page is broken and I would like > to fix this. >

Re: Linux Kernel Group Scheduling Feature of CFS

2016-03-21 Thread Ruben Safir
On 03/21/2016 12:42 PM, SUNITA wrote: > Hello, > I want to test the properties of CFS scheduler on a beaglebone. > This is extremely documented and a subject of nearly every graduate school and undergrad OS class and thesis. I don't think your understanding how it works and I suggest you

Re: How to rewrite sbull_request in ldd3 for current kernel?

2016-03-20 Thread Ruben Safir
On Sun, Mar 20, 2016 at 01:58:47PM +0800, 张云 wrote: > Thanks! > I have another question if it is possible to rewrite the data transfer > function avoiding the bio complexity? what is the bio complexity that you are refering to? > > Yun Zhang(张云) > > > On Mar 20, 2016, at 8:13 AM, Dongli

Re: Project Idea..

2016-03-01 Thread Ruben Safir
On 03/01/2016 10:07 AM, SUNITA wrote: > I located the following implementations on lwn.net for finding the > energy consumption pattern > > http://lwn.net/Articles/603504/ > http://lwn.net/Articles/597279/ > http://lwn.net/Articles/558234/ > http://lwn.net/Articles/557822/ > > Are there any

Re: Distributed Process Scheduling Algorithm

2016-02-19 Thread Ruben Safir
On Thu, Feb 18, 2016 at 09:06:05PM -0800, Greg KH wrote: > On Thu, Feb 18, 2016 at 10:05:40AM +0530, Nitin Varyani wrote: > > @ Greg: Since I am very new to the field, with the huge task in hand > > and a short time span of 3 months given for this project, > Are you formally trained froma

Re: mkinitcpio

2016-02-08 Thread Ruben Safir
On 02/09/2016 01:07 AM, m...@tobin.cc wrote: > > I'm sorry if I have offended you, I don't believe that my question or > explanation had anything to do with the challenge. Excepting that the > work eudyptula was in the email > > ___ > Kernelnewbies

Re: mkinitcpio

2016-02-08 Thread Ruben Safir
On 02/09/2016 12:16 AM, m...@tobin.cc wrote: > I am glad this is the newbies list ;) > > The initial problem was > > # mkinitcpio -g initramfs-custom.img -k 4.5.0-eudyptula+ > ==> Starting build: 4.5.0-eudyptula+ > -> Running build hook: [base] > -> Running build hook: [udev] > -> Running

Re: eudyptula challenge, stuck at task 06 - no reply for four weeks

2015-12-31 Thread Ruben Safir
On 12/31/2015 01:04 PM, Geyslan G. Bem wrote: > I was booted too. And I didn't accept that judgement indeed. The rules > in the site are: really, that is a rough like you have. -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological

Re: Developing environments used for kernel development

2015-12-24 Thread Ruben Safir
On 12/24/2015 01:43 PM, valdis.kletni...@vt.edu wrote: > The only *real* fix is to go to a non-querty keyboard. No, retraining and reprogramming the user is not a solution. -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions

Re: Developing environments used for kernel development

2015-12-24 Thread Ruben Safir
On 12/24/2015 07:52 PM, valdis.kletni...@vt.edu wrote: > On Thu, 24 Dec 2015 19:29:11 -0500, Ruben Safir said: >> On 12/24/2015 01:43 PM, valdis.kletni...@vt.edu wrote: >>> The only *real* fix is to go to a non-querty keyboard. >> >> No, retraining and reprogramm

Re: Developing environments used for kernel development

2015-12-24 Thread Ruben Safir
EMACs might work better if they took LISP out of it and adopted it for a QWERTY keyboard Not that we should have an VI EMAC war. Ruben On Thu, Dec 24, 2015 at 02:59:13PM +0300, Andrey Skvortsov wrote: > On 22 Dec, Daniel. wrote: > > I was thinking about back to vim, it starts so fast and

Re: Does the Community use Coverity ?

2015-12-20 Thread Ruben Safir
In 2006, the Coverity Scan service was initiated with the U.S. Department of Homeland Security leaves a warm and fuzzy feeling On Tue, Dec 15, 2015 at 07:02:42PM +, Jeff Haran wrote: > >-Original Message- > >From: kernelnewbies-bounces+jharan=bytemobile@kernelnewbies.org >

Re: Translating physical/linear address to virtual address

2015-10-02 Thread Ruben Safir
On 10/03/2015 12:04 AM, Martin Ichilevici de Oliveira wrote: > My goal is to use this data to make informed decisions on pages > distribution in NUMA machines (with libnuma). The problem is that, as > far as I understood, physical and linear addresses won't necessarily be > the same between runs

  1   2   >