Re: Meltdown/spectre patches.

2018-02-01 Thread Luis de Bethencourt
On 01/08/2018 07:26 AM, Greg KH wrote:
> On Fri, Jan 05, 2018 at 07:12:04PM +, Nick Warne wrote:
>> Hi all,
>>
>> Rather than bother the main kernel list with what is going on, does anybody 
>> know if the latest source code on kernel.org contains the patches, or do I 
>> need to apply externally?
> 
> http://kroah.com/log/blog/2018/01/06/meltdown-status/ should answer this
> for you.
> 
> sorry,
> 
> greg k-h
>

Sorry? That's a great write up!

Thanks Greg,
Luis

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Importance of kobject

2017-05-17 Thread Luis de Bethencourt
On Wed, May 17, 2017, at 04:50 AM, Greg KH wrote:
> On Wed, May 17, 2017 at 12:34:28PM +0100, Okash Khawaja wrote:
> > Hi,
> > 
> > On Wed, May 17, 2017 at 8:08 AM, Madhu K  wrote:
> > > Hi All,
> > >
> > > I am kernel newbie, I want to know the importance of kobject, can anybody
> > > explain the importance of kobject with an example.
> > 
> > To state a not-so-popular analogy, kobjects can also be viewed as root
> > object in object oriented programming. So a bit like java.lang.Object.
> > Of course it is not a root object and indeed C is not OO, but this
> > view helps in thinking about it.
> 
> Well, it _is_ a "root object", and you can write OO code in C, which is
> what we did for kobjects (and struct device, and struct class, and kref,
> and other things like that.)
> 
> So it is a "popular" analogy, as this is exactly what the authors of the
> code were intending for people to see.
> 
> thanks,
> 
> greg k-h
> 

Hi,

You also have GObject proving that you can do OOP in C.
Use kobject like you would a base class.

Luis

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: SSL certificate with Wrong Hostname

2017-05-17 Thread Luis de Bethencourt
Hi Narasimha,

We are going to need more context to be able to help you.

Where are you getting this error message?

Also, it looks like it probably a userspace server problem. Which would
be out of the scope of this mailing list.

Luis

On Tue, May 16, 2017, at 09:29 PM, Narasimha M wrote:
> Hi All,
> 
> I am new to check the vulnerabilities.  Could some one please tell me
> about this vulnerability and how to check whether that vulnerability
> exists. Thanks in advance.
> 
> -- 
> Narasimha
> 
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Mapping of Filename to allocated blocks

2016-04-28 Thread Luis de Bethencourt
On 28/04/16 04:32, arshad hussain wrote:
> On Thu, Apr 28, 2016 at 7:28 AM, Manoj Rao  wrote:
>> Hi All,
>>
>> I'm looking for a way to get a filename associated with a given physical
>> block (ideally what I'd like is a mapping of filename <=> all the allocated
>> blocks for this file).
> 
> If you have not done already, this could be a good starting point.
> Look at FIBMAP IOCTL.
> 
> Here is one usage of FIEMAP, demonstrated via hdparam.
> # hdparm --fibmap 
> 
>>
>> Is there a recommended way to do this already in kernel? if not, then where
>> should I start looking to add changes?
> 
> Not sure about what would be the Recommended method. But this could be done
> in user-space vs doing it in kernel space. For example, consider cases like
> single file restore - there will be a requirement to figure out the
> logical - physical block allocation for a file which could be achieved
> through...
> Read superblock
> Read dentry - Home into the required inode (file)
> Read inode - to figure out the location of block.
> 
> Note: This is not generic - and would require changes as layout is different
> for filesystems.
> 
> Thanks
> Arshad
> 

If you are going to create anything based on VFS (Virtual File Switch), I
recommend reading this article from LWN.

https://lwn.net/Articles/57369/

Even create a small memory-bound file system to get comfortable with the API.

If you want a version that works with current mainline, check out:
https://github.com/luisbg/toy_kernel_modules/blob/master/toyfs/toyfs.c

Sorry it doesn't have comments yet, I will be adding those very soon.

Happy hacking,
Luis 


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Work with correct branch for kernel changes

2015-12-12 Thread Luis de Bethencourt
On 12/12/15 20:43, Shirish Gajera wrote:
> Hi,
> 
> I am new to linux kernel and trying to understand  the process of
> different git branch to work.
> 
> So, if I am not wrong then there are different branch like stable, next,
> staging etc. Previously I work with staging branch so if I am making
> any changes for drivers/staging I have to work with staging branch like
> follow.
> git clone 
> git checkout -t -b staging-testing origin/staging-testing
> git chekcout -b MY_LOCAL_BRANCH
> not do work and subimt
> 
> So, how it work for other source structure, like now I want to make some
> for y2038 -> drivers/scsi which branch should I set up and work with,
> next/stable/or is there any specific y2038 branch.
> 
> Any wiki link or documentation that explain this full process which
> branch to work with when making changes to specific directory will be
> useful.
> 
> Thanks,
> Shirish
> 

Hi Shirish,

linux-next [0] is good to follow, and useful if you are touching cross-system
code. If you want to be safe, since not all subsystems are merged into
linux-next and some have multiple branches for next version fixes, new
features, etc, check the MAINTAINERS file [1]. There you will see information
you need.

For example for ACPI (drivers/acpi) it is
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

I hope that clarifies your question.
Luis



[0] git clone 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
[1] 
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/MAINTAINERS



___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Wireless Driver issue (Atheros AR9485)

2015-09-18 Thread Luis de Bethencourt
On Thu, Sep 17, 2015 at 08:54:28AM -0400, David Scaperoth wrote:
> I'm attempting to run pm-suspend on my laptop (by shutting my lid and on
> command line), and its putting my AR9485 wifi card into a funk (i.e. wlan0
> interface seen through ifconfig never returns upon resume).
> 
> I know theres a lot to this (power management - pm-utils and kernel,
> wireless drivers, general linux drivers, and possibly other things), just
> need a little direction on which rabbit hole to start down...haha.
> 
> Ive looked through the ath9k and wireless list archives and had no luck
> finding the same issue.  I have tried different solutions (mostly related
> to pm-utils) from ubuntu's forums too.
> 
> an example of where it failed /var/log/pm-powersave.log
> 
>Running hook /usr/lib/pm-utils/power.d/wireless true:
> Turning powersave for wlan0 on...Error for wireless request "Set Power
> Management" (8B2C) :
> SET failed on device wlan0 ; Operation not supported.
> Failed.
> /usr/lib/pm-utils/power.d/wireless true: success.
> 
> 
> AND...according to
> https://wireless.wiki.kernel.org/en/users/documentation/dynamic-power-save
> I tried:
> iw dev wlan0 set power_save on
> command failed: Operation not supported (-95)
> 
> This is my first post to this list, so I'm not sure what information would
> be useful to help find a solution (or workaround).  Here goes nothing
> (perhaps I should attach text files next time for large diagnostic
> information?):
> 
> I built an upstream kernel against gregkh staging tree with a Ubuntu distro
> just to see if this would fix my issue and it did not.  Either way, here is
> some information:
> 
> >> uname -a
> Linux xxx 4.2.0+ #1 SMP Sun Sep 6 05:53:34 EDT 2015 x86_64 x86_64 x86_64
> GNU/Linux
> 
> >> lsb_release -a
> No LSB modules are available.
> Distributor ID:Ubuntu
> Description:Ubuntu 14.04.3 LTS
> Release:14.04
> Codename:trusty
> 
> cat /proc/version
> Linux version 4.2.0+ (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) ) #1
> SMP Sun Sep 6 05:53:34 EDT 2015
> 
> >>lspci -vvnn
> 
> 01:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network
> Adapter [168c:0032] (rev 01)
> Subsystem: Hewlett-Packard Company AR9485/HB125 802.11bgn 1??1 Wi-Fi
> Adapter [103c:1838]
> 
> 
> I could provide more information from lspci and lshw but I'm not sure what
> would help (if at all).  The strangest thing about the whole matter is that
> if I reboot, the card comes back online just fine.
> 
> Thanks again for any help you can provide!
> 
> David

Hi David,

I recommend you start with the support community of your distribution, which
in your case is Ubuntu.

https://help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide
That has a trouble shooting guide and a link to where to ask if the problem
persists.

Distribution communities are great to solve issues like this. The Kernel
Newbies mailing list focuses in people new to Linux Kernel development.

Hopefully your wifi works well soon :)
Luis

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: how to build Documentation/DocBook/

2015-07-17 Thread Luis de Bethencourt
On 17 July 2015 at 13:40, Ahmed Soliman ahmedsoliman0x...@gmail.com wrote:

 I have fresh kernel downloaded by git and I want to know how to build
 Documentation/DocBook/ as pdf I have tried
 make pdfdocs output
 but I got those warnings
 Warning(.//include/linux/init.h): no structured comments found
 Warning(.//kernel/sys.c): no structured comments found
 Warning(.//drivers/dma-buf/seqno-fence.c): no structured comments found
 Warning(.//drivers/dma-buf/reservation.c): no structured comments found
 Warning(.//include/linux/reservation.h): no structured comments found
 Warning(.//include/linux/hsi/hsi.h:150): Excess
 struct/union/enum/typedef member 'e_handler' description in
 'hsi_client'
 Warning(.//include/linux/hsi/hsi.h:150): Excess
 struct/union/enum/typedef member 'pclaimed' description in
 'hsi_client'
 Warning(.//include/linux/hsi/hsi.h:150): Excess
 struct/union/enum/typedef member 'nb' description in 'hsi_client'
 make[1]: *** [Documentation/DocBook/kernel-hacking.pdf] Error 9
 make: *** [pdfdocs] Error 2

 and the file output look like this


Which Kernel version are you using? It looks like your error has been fixed
by:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9e39dc1e563e8d390bae42ee80e1e665c18b7de2

Unfortunately. make pdfdocs fails when building DocBook/scsi.pdf in the
latest stable release (4.1.2)

Luis
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: dev_* mesage

2015-07-17 Thread Luis de Bethencourt
On 17 July 2015 at 16:06, roni ronit.li...@gmail.com wrote:

 What is the difference between dev_* (like dev_err) and pr_* (like
 pr_err)?
 In which situations we use them?


dev_*() is prefered when you have a struct device object.

Luis
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: goto???

2015-07-17 Thread Luis de Bethencourt
On 17 July 2015 at 11:00, Bernd Petrovitsch be...@petrovitsch.priv.at
wrote:

 Hi!

 On Fre, 2015-07-17 at 15:55 +0800, Navy wrote:
 [...]
  Goto is recommend in linux kernel programming, but it is despised in
  many other situation. There are four rationable for using goto in

 goto is (usually totally) forbidden for beginners/inexperienced
 programmers because some of us are old enough to have started
 programming with Basic on the C64 (no functions there - just goto and
 gosub) and know what may happen in the long run if you write more than
 a hello-world.c ...
 My usual answer to when may or should I use 'goto' is: You will know
 when it's time - before that, simply don't use it.

   Documentation/CodingStyle. Do you have some viewpoints about why
  goto or why not goto? I'm glad to get your point.

 It mainly depends *how* you use it - see the patterns in the kernel for
 not so bad ones;-)
 And - as others wrote - rewrite the code without 'goto' and look into it
 after 3 months and decide which version is more readable/understandable.

 BTW that holds for all programming style advices (starting from when
 should i factor out a function over how large should a function should
 be and too few or too many comments to ...).
 It is like everywhere else: If the guideline is trivial to check, it is
 probably silly anyways.

 The big goal in (99,9% of) software development is: You want source code
 to be as easy to read and understand as possible - and nothing else!

 Coding style guidelines are just that: guidelines in that direction but
 never necessary nor sufficient to guarantee that (so the occasional
 violation for good reason - which one writes into a comment;-) - is not
 evil).

 Bernd


This is an interesting article about the history of goto being considered
harmful; and how Dijkstra’s paper about it was misunderstood.

http://videlalvaro.github.io/2015/02/programming-myths.html

Luis
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Message not appearing in mesg

2015-07-07 Thread Luis de Bethencourt
On 7 July 2015 at 16:11, Sébastien Hinderer sebastien.hinde...@ens-lyon.org
 wrote:

 Hi Luis,

 Many thanks for your prompt and helpfulresponse!

  Do you have the relevant DEBUG macros activated in your kernel's
  configuration?

 Perhaps not...

  https://www.kernel.org/doc/local/pr_debug.txt

 Read this, thanks. But that has nothing to do with KConfigmacros, has
 it?

  http://elinux.org/Debugging_by_printing
 
  If not, activate them. Or if in a pinch, switch to using pr_alert() for
  development.

 What surprises me is that I made sue the message appears inthe .ko file
 and it was there,whereas it seems pr_debug discards its argument at
 compile time. Or is it at execution time?

 Thanks!

 Sébastien


Compile time. pr_debug() is meant only for development and discarded for
production builds.

pr_debug(), which is ordinarily an empty macro that discards its arguments
at compile time.
To enable debugging output, build the appropriate file with -DDEBUG by
adding

CFLAGS_[filename].o := -DDEBUG

That is the key part there. But it is good to also check the options you
have in:
make menuconfig- Kernel Hacking

Enjoy,
Luis
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: [PATCH 0/4] staging: wilc1000: cover letter

2015-07-07 Thread Luis de Bethencourt
On Mon, Jul 06, 2015 at 07:22:09PM -0700, Greg Kroah-Hartman wrote:
 On Fri, Jun 26, 2015 at 04:43:44PM +0200, Luis de Bethencourt wrote:
  Patches to be applied on top of
  https://patchwork.kernel.org/patch/6655831/
 
 I don't use patchwork, and when on an airplane with no internet access
 (like right now), a url provides no context at all.  Always use email
 subject lines or something that I can actually reference properly while
 offline...
 
 thanks,
 
 greg k-h

OK. Sorry. Didn't knew this but noted for the future.

Thanks for the reviews and merges!
Luis

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Message not appearing in mesg

2015-07-07 Thread Luis de Bethencourt
On 7 July 2015 at 15:53, Sébastien Hinderer sebastien.hinde...@ens-lyon.org
 wrote:

 Dear all,

 I have a module that uses pr_debug at init.
 Although the module is successfully loaded, the message appears
 neither in dmesg, nor at the console. I tried toprint a 8 to
 /proc/sys/kernel/printk but that does not change anything.

 Any hint would be warmly appreciated.

 Thanks!

 Sébastien


Do you have the relevant DEBUG macros activated in your kernel's
configuration?
https://www.kernel.org/doc/local/pr_debug.txt
http://elinux.org/Debugging_by_printing

If not, activate them. Or if in a pinch, switch to using pr_alert() for
development.

Luis
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: HELP All USEFULL LINK

2015-07-02 Thread Luis de Bethencourt
On 2 July 2015 at 17:44, Gnoleba GNOGBO gnognol...@gmail.com wrote:

 Hi All !

 Please help me.
 Can you give me the all usefull link to understand how the kernel works.
 I am 62. I would like to be evangilist of linux in Africa.
 I have no money to buy books or courses.

 Thanks for your help.
 GNOGBO


Hi Gnogbo,

http://kernelnewbies.org/Documents
is full of good resources

https://lwn.net/Kernel/LDD3/
Most recommended Linux Kernel book and it is free to download.

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation
The Kernel is very well documented.
I recommend starting here:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/development-process

http://eudyptula-challenge.org/
Eudyptula challenge is great to learn by doing. Join it :)

http://free-electrons.com/training/kernel/
Same with this training.

I'm sure people here will have more resources to recommend.

That said, the Linux Kernel is huge. Currently at over 15 million lines of
code. If you tell us which specific areas are of your interest, we can give
you more pinpointed recommendations.

Enjoy! It is a long path of learning but a fun and gratifying one.
Luis
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: HELP All USEFULL LINK

2015-07-02 Thread Luis de Bethencourt
On 2 July 2015 at 21:05, Greg Freemyer greg.freem...@gmail.com wrote:

 On Thu, Jul 2, 2015 at 3:36 PM, Gnoleba GNOGBO gnognol...@gmail.com
 wrote:
  Ok !
  I don't know what the othet GUY think about your proposition.
  At this moment I'll do so.
  About the 5 create site web it is easy. Here we have not enough
 competence
  to write some web applications which can run on the smartphone or tablets
  Thanks
  Gnogbo

 If your fundamental goal relates to Androids and userspace
 applications you can skip the task of learning to program inside the
 linux kernel.


I agree with this. If you want to write user applications, learning the
internals of the Linux Kernel is too much. Just learn system calls and user
space libraries (glib, for example).



 There are various free applications that provide command line access
 and also that compile programs for the Android.  Both C and Java
 compilers are readily available for free.

 Do you have a c and/or java programming background?

 A year or 2 of c experience specifically is really an important
 precursor to learning to program the Linux kernel.  The linux kernel
 is a very advanced use of c programming, so you need to be skilled
 with c before you start trying to work seriously inside the linux
 kernel.

 Java is enough to write apps for Android devices, but you need c
 skills to work in the kernel.

 Greg

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: HELP All USEFULL LINK

2015-07-02 Thread Luis de Bethencourt
On 2 July 2015 at 22:18, Gnoleba GNOGBO gnognol...@gmail.com wrote:

 Luis.

 Can you give somes docs link for the order :
 2, 3, 1, 4 and 5 please

 Thanks
 Gnogbo


I recommend you ask in the specific places of each domain. This mailing
list is about Linux Kernel internals development. We are not experts of
everything.

2:
http://www.tldp.org/
https://wiki.archlinux.org/
https://help.ubuntu.com/community/CommunityHelpWiki
Most distributions have good documentation about how to install,
administrate, and do interesting things with it.

3:
Depends on the libraries you want to use:
https://developer.gnome.org/glib/2.44/
http://www.gnu.org/software/bash/manual/bashref.html
http://man7.org/tlpi/

1:
Already mentioned

The above is already a substantial amount of learning time. Once you learnt
this you will have a clearer idea of what you want with 4 and 5, and how to
get the resources for that.

You can't lay down all the resources you will need for the next few years
right now. Consider how quickly things evolve in web development.
Take it one step at a time and be ready to adapt.

Enjoy,
Luis


  Le 2 juil. 2015 19:36, Gnoleba GNOGBO gnognol...@gmail.com a écrit :

 Ok !
 I don't know what the othet GUY think about your proposition.
 At this moment I'll do so.
 About the 5 create site web it is easy. Here we have not enough
 competence to write some web applications which can run on the smartphone
 or tablets
 Thanks
 Gnogbo
 Le 2 juil. 2015 19:10, Luis de Bethencourt l...@debethencourt.com a
 écrit :

 On 2 July 2015 at 19:22, Gnoleba GNOGBO gnognol...@gmail.com wrote:

 Wonderfull Luis !
 Nice and quick answer.
 Thanks !

 1) My first learn is to understand the structure of linux as os.
 2) Admin  all linux from console
 3) programming under linux with the c or java language
 4) networking in hetegerous environment
 5 ) creat the web site.

 This is my learning program, of course you can propose me the best way
 in function of your experience.

 Best regards
 Gnogbo

 I would rearrange the order of things. Learning to use, administrate and
 program in Linux machines first would make things a lot clearer when
 learning the internals.

 I would recommend you do: 2, 3, 1, 4 and 5.

 About 5; create which website? Not clear on what you mean.

 Thanks,
 Luis



 Le 2 juil. 2015 17:52, Luis de Bethencourt l...@debethencourt.com
 a écrit :

 On 2 July 2015 at 17:44, Gnoleba GNOGBO gnognol...@gmail.com wrote:

 Hi All !

 Please help me.
 Can you give me the all usefull link to understand how the kernel
 works.
 I am 62. I would like to be evangilist of linux in Africa.
 I have no money to buy books or courses.

 Thanks for your help.
 GNOGBO


 Hi Gnogbo,

 http://kernelnewbies.org/Documents
 is full of good resources

 https://lwn.net/Kernel/LDD3/
 Most recommended Linux Kernel book and it is free to download.


 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation
 The Kernel is very well documented.
 I recommend starting here:

 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/development-process

 http://eudyptula-challenge.org/
 Eudyptula challenge is great to learn by doing. Join it :)

 http://free-electrons.com/training/kernel/
 Same with this training.

 I'm sure people here will have more resources to recommend.

 That said, the Linux Kernel is huge. Currently at over 15 million
 lines of code. If you tell us which specific areas are of your interest, 
 we
 can give you more pinpointed recommendations.

 Enjoy! It is a long path of learning but a fun and gratifying one.
 Luis




___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: How to handle float-point operations

2015-07-01 Thread Luis de Bethencourt
On Wed, Jul 01, 2015 at 01:58:30PM +0530, priyaranjan wrote:
 Hi Arun,
 
 
 On Thu, Jun 25, 2015 at 2:33 PM, Arun KS getaru...@gmail.com wrote:
 Hello Mudongliang,
 
 
  On Tue, Jun 23, 2015 at 9:01 AM, 慕冬亮 mudonglianga...@gmail.com wrote:
  
   I know there are rarely float-point operations! What's the exception?
   In the linux kernel, how does it handle the float-point operations in
  the userland?
 
  Most of the userspace programs do not use FP instructions. So by
  default floating point engine is turned off during a context switch.
  When a process executes floating point instruction, an undefined
  exception is generated. Exception handler enables the floating point
  engine and jump back to the same instruction which caused the
  exception so that it will get re executed with FP engine on.
 
  Is this somehow related to the platform in which linux runs? If the FP
  operations are valid, then will that still generate the exception or it
  does a context switch, turns on FP engine and re-executed?
 

Hi Priyaranjan,

Your email got mangled. Please don't send HTML attachments in your emails to
the Linux Kernel mailing lists.

Try again to reply to Arun.

Thanks,
Luis

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Divide Error: 0000 [#1] SMP

2015-07-01 Thread Luis de Bethencourt
On 1 July 2015 at 11:59, Sudip Mukherjee sudipm.mukher...@gmail.com wrote:

  I don't understand. What is the context of this?
 Hi Luis,
 Please see the mail sent by Sioban on June 14th and you will
 understand the context . :)

 regards
 sudip


I searched to see if it was in relation to some previous conversation.
Google failed me and I didn't found it.

Thanks for the context Sudip :)
and congrats Sioban, happy to hear your issue is fixed.

Luis
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Divide Error: 0000 [#1] SMP

2015-07-01 Thread Luis de Bethencourt
On 1 July 2015 at 09:36, Sioban sio...@sioban.net wrote:

 Hi,

 After 14 days with a 4.0 kernel I didn't get any divide by zero errors.
 It looks good.

 Thank all for the help !


Hello Sioban,

I don't understand. What is the context of this?

Thanks,
Luis
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[PATCH 0/4] staging: wilc1000: cover letter

2015-06-26 Thread Luis de Bethencourt
Patches to be applied on top of
https://patchwork.kernel.org/patch/6655831/

Thanks!
Luis

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Poking eudyptula for status updates

2015-06-25 Thread Luis de Bethencourt
Hello all,

I've been waiting for a week now since I submitted task 5 to Eudyptula.
I understand reviewing submissions takes time, specially the tasks that are
reviewed manually and there is a queue. Plus, it helps make the challege
replicate the experience of contributing to an open project. Waiting is fine.

What I am wondering is if my task fell through the cracks. Not sure if there is
a method to poke eudyptula for a status update. To confirm the submissions is
in the queue.

Is there an equivalent of politely asking a project maintainer about review
when a decent amount of time has passed since submission?
I know that if you resubmit you get pushed to the tail of the queue.

Sorry if this has been asked or explained before, I have searched and couldn't
find anything about the matter. Sorry for yet another Eudyptula related email
in the list.

Thanks,
Luis

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Poking eudyptula for status updates

2015-06-25 Thread Luis de Bethencourt
On Thu, Jun 25, 2015 at 06:30:23PM +0300, Mike Krinkin wrote:
 On Thu, Jun 25, 2015 at 05:02:53PM +0200, Luis de Bethencourt wrote:
  Hello all,
  
  I've been waiting for a week now since I submitted task 5 to Eudyptula.
  I understand reviewing submissions takes time, specially the tasks that are
  reviewed manually and there is a queue. Plus, it helps make the challege
  replicate the experience of contributing to an open project. Waiting is 
  fine.
  
  What I am wondering is if my task fell through the cracks. Not sure if 
  there is
  a method to poke eudyptula for a status update. To confirm the submissions 
  is
  in the queue.
 
 Did you receive respond when submitted task? If so then it's ok, actually one 
 week isn't so much.
 

I got confirmation. It should be in the queue.

I saw some tasks were lost on June 15th due to some distribution mishap and
wondering if it happened again.

  
  Is there an equivalent of politely asking a project maintainer about review
  when a decent amount of time has passed since submission?
  I know that if you resubmit you get pushed to the tail of the queue.
  
  Sorry if this has been asked or explained before, I have searched and 
  couldn't
  find anything about the matter. Sorry for yet another Eudyptula related 
  email
  in the list.
 
 Just send a mail to little, there is no other way to communicate with him, as 
 far as I know.
 

I wasn't sure if this was allowed or not. Just to be clear, a mail responding
to the task submission/confirmatin or a new one?

Thanks for the suggestion.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Transfer Buffer in URB

2015-06-25 Thread Luis de Bethencourt
On Thu, Jun 25 2015 at 10:43:32AM -0400, Greg KH wrote:
 On Thu, Jun 25, 2015 at 06:16:28PM +0530, roni wrote:
 What is the transfer buffer in URB?
 
 What is the job of transfer buffer?

 The in-kernel documentation should answer these questions, which is why
 we wrote it :)

Just in case and for future people finding these through search engines:

Documentation/usb/URB.txt
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/usb/URB.txt

Luis

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies