Re: Sharing the same SPI between two devices.

2023-11-02 Thread Lucas Tanure
On Thu, Nov 2, 2023 at 9:15 AM Patryk wrote: > > Hi, I want to have two devices on the same SPI bus. > > These devices are: > > - SPI nor flash (QSPI compatible) > > - my custom device (SPI compatible). > > For SPI NOR flash I have the driver in the kernel, for my custom device I do > not have

How to support maintainers

2023-09-20 Thread Lucas Tanure
Hi, I have free time and want to support maintainers in their roles. I just saw this: https://www.linuxjournal.com/content/linux-kernel-reduction-longterm-support Is there a page, contact or email list where we can receive tasks that need to be done? Thanks Lucas Tanure

Re: Debugging i2c : i2cdetect cant detect a device on i2c line

2023-09-07 Thread Lucas Tanure
On Thu, 7 Sept 2023, 18:08 Raul Piper, wrote: > On Thu, Sep 7, 2023 at 9:47 PM Lucas Tanure wrote: > > > > > > > > On Thu, 7 Sept 2023, 14:56 Russell King (Oracle), > wrote: > >> > >> On Thu, Sep 07, 2023 at 08:36:32PM +0700, Bagas Sanjaya

Re: Debugging i2c : i2cdetect cant detect a device on i2c line

2023-09-07 Thread Lucas Tanure
On Thu, 7 Sept 2023, 14:56 Russell King (Oracle), wrote: > On Thu, Sep 07, 2023 at 08:36:32PM +0700, Bagas Sanjaya wrote: > > [also Cc: devicetree and ARM folks] > > > > On Thu, Sep 07, 2023 at 08:21:44AM +0530, Raul Piper wrote: > > > Hello , > > > I am trying to detect an i2c device A on i2c1

PCie card information for ACPI and Device Tree systems

2023-06-17 Thread Lucas Tanure
Hi, How can the kernel read hardware information for a PCIe card if ACPI in the BIOS doesn't have it? The DSDT/ACPI information doesn't contain information about an external PCIe inserted in the motherboard, so how can the Kenerl discover its hardware information? If the kernel has the rule of

Better way to upstream a single-board computer?

2023-06-13 Thread Lucas Tanure
question for the community: Is there a better way to port a board to the mainline when you only have an old kernel that boots? Thanks Lucas Tanure ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman

Release of my Kernel Development Tool

2023-05-27 Thread Lucas Tanure
Hi, I have been working with Kernel development and single-board computers for a few years now, and to help me with my development, I created this tool: https://github.com/lucastanure/kernel_dev_tools (GPLv2) It helps me to build and test the kernel in a faster and easy way. But it also helps

Re: Need help determining if the change is warranted.

2023-05-27 Thread Lucas Tanure
On Sat, May 27, 2023 at 1:37 AM Alison Schofield wrote: > > This may be a resend. My first msg may be stuck in moderation, > because I sent w a new email addr. > > On Mon, Mar 27, 2023 at 02:34:33PM +0300, Anton Gusev wrote: > > In the file drivers/leds/flash/leds-lm3601x.c, function

API between modules

2023-05-18 Thread Lucas Tanure
Hi, I have two kernel modules that need to talk over an API, and right now, they are statically linked together, but I am looking for a better way to separate them and share an API between them. A few years ago, I did the HDA component:

Re: Build mainline driver for another Kernel Version

2023-05-17 Thread Lucas Tanure
On Wed, May 17, 2023 at 9:22 AM Greg KH wrote: > > On Wed, May 17, 2023 at 09:16:45AM +0100, Lucas Tanure wrote: > > Hi, > > > > Can I build a driver in the mainline kernel to a previous kernel version? > > Not easily, and you really do not want to do that as the

Build mainline driver for another Kernel Version

2023-05-17 Thread Lucas Tanure
Hi, Can I build a driver in the mainline kernel to a previous kernel version? Like, in the mainline kernel, I have a Z driver, and I want to use that driver for my current stable driver in my embedded system with version kernel 5.15. Is there a procedure to build a kernel driver against other

Re: Kernel Panic - V6.2 - Reseved memory issue

2023-04-03 Thread Lucas Tanure
On Mon, Apr 3, 2023 at 12:29 PM Lucas Tanure wrote: > > On Sun, Apr 2, 2023 at 1:55 PM Bagas Sanjaya wrote: > > > > On Sun, Apr 02, 2023 at 09:10:36AM +0100, Lucas Tanure wrote: > > > Log: > > > > > > [ 9.792966] SError Interrupt on CPU3, code 0x000

Re: Kernel Panic - V6.2 - Reseved memory issue

2023-04-03 Thread Lucas Tanure
On Sun, Apr 2, 2023 at 1:55 PM Bagas Sanjaya wrote: > > On Sun, Apr 02, 2023 at 09:10:36AM +0100, Lucas Tanure wrote: > > Log: > > > > [ 9.792966] SError Interrupt on CPU3, code 0xbf00 -- SError > > [ 9.792980] CPU: 3 PID: 3471 Comm: kded5 Tainte

Kernel Panic - V6.2 - Reseved memory issue

2023-04-02 Thread Lucas Tanure
Why the kernel is failing to reserve this memory? Is this an u-boot issue? I would appreciate any help. The current mainline kernel fails 90% of the time to boot into the Vim3 board. Best Regards Lucas Tanure ___ Kernelnewbies mailing list

Re: USB Question about devices being reconnected to the host

2020-10-15 Thread Lucas Tanure
On 10/15/20 1:30 PM, Greg KH wrote: On Thu, Oct 15, 2020 at 01:17:45PM +0100, Lucas Tanure wrote: Hi, I'm learning about USB drivers and I would like to know about disconnecting and reconnecting usb devices. I can see my probe function being called and also the disconnect function

USB Question about devices being reconnected to the host

2020-10-15 Thread Lucas Tanure
e = usbdev_resume, .reset_resume = usbdev_reset_resume, .pre_reset = usbdev_pre_reset, .post_reset = usbdev_post_reset, }; module_usb_driver(usbdev_driver); MODULE_AUTHOR("Lucas Tanure "); MODULE_DESCRIPTION("Driver for My USB dev

Re: request_firmware in DMA region

2020-03-18 Thread Lucas Tanure
On 2020-03-18 14:46, Greg KH wrote: On Wed, Mar 18, 2020 at 02:29:24PM +, Lucas Tanure wrote: Hi, I'm sending firmware to usb device with this code: But it`s falling because the request firmware call didn't put my firmware in a DMA capable area. That's my guess. So how to request firmware

request_firmware in DMA region

2020-03-18 Thread Lucas Tanure
Hi, I'm sending firmware to usb device with this code: But it`s falling because the request firmware call didn't put my firmware in a DMA capable area. That's my guess. So how to request firmware in DMA capable area? Thanks Lucas [   30.330081] [ cut here ] [  

Re: USB Hid driver Help

2020-02-04 Thread Lucas Tanure
On Tue, Feb 4, 2020 at 1:27 PM Lucas Tanure wrote: > > On Mon, Feb 3, 2020 at 10:00 PM Lucas Tanure wrote: > > > > On Mon, Feb 3, 2020 at 8:11 PM Greg KH wrote: > > > > > > On Mon, Feb 03, 2020 at 04:32:46PM +, Lucas Tanure wrote: > > > > Hi,

Re: USB Hid driver Help

2020-02-04 Thread Lucas Tanure
On Mon, Feb 3, 2020 at 10:00 PM Lucas Tanure wrote: > > On Mon, Feb 3, 2020 at 8:11 PM Greg KH wrote: > > > > On Mon, Feb 03, 2020 at 04:32:46PM +, Lucas Tanure wrote: > > > Hi, > > > > > > I'm trying to write a Hid driver for MCP2210. >

Re: USB Hid driver Help

2020-02-03 Thread Lucas Tanure
On Mon, Feb 3, 2020 at 8:11 PM Greg KH wrote: > > On Mon, Feb 03, 2020 at 04:32:46PM +, Lucas Tanure wrote: > > Hi, > > > > I'm trying to write a Hid driver for MCP2210. > > What type of device is this? It is a USB <-> SPI converter. > > > But t

USB Hid driver Help

2020-02-03 Thread Lucas Tanure
evice_id mcp2210_table[] = { { HID_USB_DEVICE(0x04d8, 0x00de) }, {} }; MODULE_DEVICE_TABLE(hid, mcp2210_table); static struct hid_driver mcp2210_driver = { .name = "MCP2210 USB SPI Driver", .probe = mcp2210_probe, .id_table = mcp2210_table, }; module_hid_driver(mcp2210_driver);

Re: How to printk synchronously

2019-11-26 Thread Lucas Tanure
Hi, What about ftrace ? Documentation/trace/ftrace.txt Thanks Lucas On Tue, Nov 26, 2019 at 8:08 PM aleave wrote: > > Hi everyone, > > I'm modifying kernel code and running into system dead-lock issues. I have > printk statements to try to retrieve info about the freeze after I do a hard >

Questions about mfd_add_devices and platform_data

2019-08-01 Thread Lucas Tanure
Hi, I would like to understand mfd_add_devices call and platform_data section. All the drivers I read the platform_data is static, but mfd_add_devices will call platform_device_add_data which duplicates that memory and frees the first pointer given. But the first pointer is static and kfrees

Re: LKCAMP - Linux Kernel study group - volunteers

2018-03-20 Thread Lucas Tanure
On Sun, Mar 18, 2018 at 11:32 PM, Helen Fornazier wrote: > Hello, > > We are starting a study group in Brazil called LKCAMP at the > University of Campinas (Unicamp) to help students to get started in > kernel development. > > Our guides are strongly based on the

Re: Modify efivars permisson denied

2017-03-07 Thread Lucas Tanure
Worked. I can change the value, but this didn't change how the firmware works. At least for my lenovo 700 17ISK On Mon, Mar 6, 2017 at 9:39 AM, Lucas Tanure <tan...@linux.com> wrote: > Hi, > > I didn't tried this yet. I will try today. > > Thanks! > > On Sun, Mar 5, 20

Re: Modify efivars permisson denied

2017-03-06 Thread Lucas Tanure
Hi, I didn't tried this yet. I will try today. Thanks! On Sun, Mar 5, 2017 at 2:20 PM, Markus Böhme <markus.boe...@mailbox.org> wrote: > On 03/05/2017 10:45 AM, Lucas Tanure wrote: >> Ok, But How is the right way to change this efivars ? >> build a kernel with some d

Re: Modify efivars permisson denied

2017-03-05 Thread Lucas Tanure
Ok, But How is the right way to change this efivars ? build a kernel with some define or config ? Use a specific tool for that ? thanks On Sat, Mar 4, 2017 at 9:31 PM, Markus Böhme <markus.boe...@mailbox.org> wrote: > Hello Lucas! > > On 03/04/2017 09:24 PM, Lucas Tanure wrote:

Modify efivars permisson denied

2017-03-04 Thread Lucas Tanure
,nosuid,nodev,noexec,relatime) Any ideas ? Thanks -- Lucas Tanure ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: IEEE-754 Float to int

2016-11-23 Thread Lucas Tanure
On Tue, Nov 22, 2016 at 4:55 PM, Greg KH <g...@kroah.com> wrote: > On Tue, Nov 22, 2016 at 04:44:43PM +0000, Lucas Tanure wrote: >> >> >> On Tue, Nov 22, 2016 at 4:39 PM, Greg KH <g...@kroah.com> wrote: >> >> On Tue, Nov 22, 2016 at 04:0

Re: IEEE-754 Float to int

2016-11-22 Thread Lucas Tanure
On Tue, Nov 22, 2016 at 4:39 PM, Greg KH <g...@kroah.com> wrote: > On Tue, Nov 22, 2016 at 04:05:18PM +0000, Lucas Tanure wrote: > > Hi, > > > > At some point my hardware gives me a 32bit IEEE-754 float, like this : > > > > > > regmap_read(device-

Re: IEEE-754 Float to int

2016-11-22 Thread Lucas Tanure
No. Is a unsigned int. I'm trying to avoid floats in the kernel. On Tue, Nov 22, 2016 at 4:28 PM, Anupam Kapoor <anupam.kap...@gmail.com> wrote: > > On Tue, Nov 22, 2016 at 9:51 PM, Lucas Tanure <tan...@linux.com> wrote: > >> But this "some-float-value"

IEEE-754 Float to int

2016-11-22 Thread Lucas Tanure
Hi, At some point my hardware gives me a 32bit IEEE-754 float, like this : regmap_read(device->regmap, ADDR0, ); value = temp << 16; regmap_read(device->regmap, ADDR1, ); value |= temp; So, value has a 32bit float now, and I would like to print just the integer part, like : Read 26.92387 -->

Re: Developing environments used for kernel development

2015-12-22 Thread Lucas Tanure
> Em 22/12/2015 19:04, "Lucas Tanure" <tanureli...@gmail.com> escreveu: > >> I use eclipse, but I had to expand my RAM, 24GB added. I tried Kdevelop, >> but doesn't work for big projects. Tried a few LLVM code browsers but none >> was good enough. >> Vim fo

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

2015-11-20 Thread Lucas Tanure
Hi, I'm waiting for task 8 since September 05: " Just to provide some information, you are currently number 9 in line, and the response that is next is from "05 Sep 2015 00:53:31 -0400" so be aware of the potential wait time. " Thanks -- Lucas Tanure +55 (19) 988176559

depmod: ERROR: Found 2 modules in dependency cycles!

2015-11-17 Thread Lucas Tanure
e give a way to fix this ? I already re-cloned the tree, tried different .config files, tried with the stable branch. But nothing works. Thanks -- Lucas Tanure +55 (19) 988176559 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.or

What's the difference between /proc/vmcore and /proc/kcore ?

2015-09-13 Thread Lucas Tanure
Hi, What's the difference between /proc/vmcore and /proc/kcore ? Thanks -- Lucas Tanure ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Help debugging linux-next.

2015-09-13 Thread Lucas Tanure
Hi, I would like some tips about how debug a issue with linux-next. I'm trying to find things to do in kernel, and the first thing is boot the linux-next tree. I'm able to compile the source, but when I boot I got a black screen a few times, or a just a warn in dmesg. I'm trying to understand

Tips for Kernel Module Debugging

2015-09-12 Thread Lucas Tanure
. But this isn't a Oops or Panic, it's just a warning. So the second kernel will not be triggered. Tips ? Thanks -- Lucas Tanure +55 (19) 988176559 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo

Re: Tips for Kernel Module Debugging

2015-09-12 Thread Lucas Tanure
On Sat, Sep 12, 2015 at 4:27 PM, <valdis.kletni...@vt.edu> wrote: > On Sat, 12 Sep 2015 16:04:43 -0300, Lucas Tanure said: > > > I'm testing the linux-next tree and I got this stack: > > > > [2.158054] Call Trace: > > [2.158058] [] du

Obfuscate code GPL 2 - The source uses kernel structs and GPL2 API

2015-07-21 Thread Lucas Tanure
(\x75\x73\x62\x64\x5f\x65\x78\x69\x74 \n);}module_init(IlIIllIIl); module_exit(usbd_exit);MODULE_LICENSE(\x47\x50\x4c); -- Lucas Tanure +55 (19) 988176559 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org

Re: Obfuscate code GPL 2 - The source uses kernel structs and GPL2 API

2015-07-21 Thread Lucas Tanure
!! -- Lucas Tanure +55 (19) 988176559 On Tue, Jul 21, 2015 at 6:51 PM, Clemens Gruber clemens.gru...@pqgruber.com wrote: On Tue, Jul 21, 2015 at 03:49:22PM -0300, Lucas Tanure wrote: Hi, This company released a obfuscated kernel module in GPL 2. http://www.incentivespro.com/downloads.html

Re: Building which kernel?

2015-06-14 Thread Lucas Tanure
/Raspberry_Pi_Kernel_Compilation John ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies Good luck -- Lucas Tanure +55 (19) 988176559

Re: Eudyptula challenge task 6 reply

2015-05-03 Thread Lucas Tanure
list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies Hey guys, Anyone got an update ? I sent the task 08, in 11 January 2015. thanks -- Lucas Tanure +55 (19) 988176559 ___ Kernelnewbies mailing list

Re: The Eudyptula Challenge - Sending task

2015-03-31 Thread Lucas Tanure
? There is no max time to wait. Just wait until you get the answer. Regards, Leonardo Carreras ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies Good Luck! -- Lucas Tanure

Re: Eudyptula challenge task 6 reply

2015-03-15 Thread Lucas Tanure
I'm stuck in 08 : I'm the number 59 in line, and the response that is next is from 09 Jan 2015 10:40:17 -0300 I sent the task 08, in 11 January 2015. -- Lucas Tanure +55 (19) 988176559 On Sun, Mar 15, 2015 at 2:42 PM, Jonathan Jin jjin082...@gmail.com wrote: Vinícius Tinti writes: On Thu

Re: eudyptula response time

2015-02-06 Thread Lucas Tanure
I'm 59 in queue and didn't get the response yet too. -- Lucas Tanure +55 (19) 988176559 On Fri, Feb 6, 2015 at 3:41 AM, Drew Fustini pdp7p...@gmail.com wrote: So relax, go read a good book That reminds me, I've really been enjoying Free Electrons kernel training material in between Tasks

Mount Compressed File like a Folder

2015-01-31 Thread Lucas Tanure
Hi, There is a way to mount a xz or gz file , update it, and umount ? Like, this file will be folder that is compressed and I can mount, update the files, and close ? Thanks -- Lucas Tanure +55 (19) 988176559 ___ Kernelnewbies mailing list

Re: How to submit for eudyptula-challenge

2014-12-18 Thread Lucas Tanure
___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies +1 mutt with gmail -- Lucas Tanure +55 (19) 988176559 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Re: [eudyptula] has anyone received a gift after completing the challenge ?

2014-12-15 Thread Lucas Tanure
I'm waiting for task 03 for 2 moths. I resend it a second time, but no reply yet. -- Lucas Tanure +55 (19) 988176559 On Mon, Dec 15, 2014 at 6:41 PM, Markus Böhme markus.boe...@outlook.com wrote: On 12/01/2014 09:13 PM, Jessica Ross wrote: Off topic, but is the Eudyptula challenge still on? I

Re: List my Staging Drivers

2014-12-10 Thread Lucas Tanure
On Tue, Dec 9, 2014 at 11:50 PM, valdis.kletni...@vt.edu wrote: On Tue, 09 Dec 2014 22:18:48 -0200, Lucas Tanure said: This command: $ lsmod | grep -Eo '^[^ ]+' | sed 1d | xargs modinfo | grep filename Note that only finds stuff that's been built with CONFIG_FOOMOD=m, Modules that were

List my Staging Drivers

2014-12-09 Thread Lucas Tanure
for a driver that my machine uses, I can modify and test. Ideas ? Thanks -- Lucas Tanure +55 (19) 988176559 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: List my Staging Drivers

2014-12-09 Thread Lucas Tanure
On Tue, Dec 9, 2014 at 8:42 PM, Lucas Tanure tan...@linux.com wrote: On Tue, Dec 9, 2014 at 7:19 PM, Saket Sinha saket.sinh...@gmail.com wrote: Hi Lucas, Please find my response inline. Goal: find drivers that I could start improving ( understand, develop, test , submit ) How : If my

Re: eudyptula-challenge.org doesn't response.

2014-09-01 Thread Lucas Tanure
Hi, Just wait my friend. The average response time is 4 weeks. I'm in the same point, just waiting. thanks -- Lucas Tanure +55 (19) 988176559 On Mon, Sep 1, 2014 at 11:50 PM, hdarwin hdarwi...@gmail.com wrote: I think there are some eudyptula-challenge.org challenge player in this mailling

Sparse fixes

2014-08-15 Thread Lucas Tanure
to make sure they are sane Please send patches to Greg Kroah-Hartman g...@kroah.com and Cc: Brian Swetland swetl...@google.com *What are sparse fixes ? * *It's a tool to run in the kernel code ? * Thanks -- Lucas Tanure +55 (19) 988176559

Re: Questions about Kernel Memory that I didn't find answers in Google - Please Help

2014-08-14 Thread Lucas Tanure
http://en.wikipedia.org/wiki/X86_memory_segmentation And a tip from Peter Teoh, Seemed like a treasure of presentation slides here: https://www.google.com.sg/search?q=site%3Awww.eazynotes.com%2F+filetype%3Apdf -- Lucas Tanure +55 (19) 988176559 On Tue, Aug 12, 2014 at 9:32 PM, Lucas Tanure

Re: [PATCH] usb: Fix switch statement in ohci-tmio.c

2014-08-14 Thread Lucas Tanure
Nick, To clean to clean up your online reputation take a long vacation. *Seriously*. Do not send any more e-mail, patch or apologize. You do not need to be a kernel developer right now. You can restart next year. For now, just read, read this list, read other lists. You are trying to rush to

Re: Questions about Kernel Memory that I didn't find answers in Google - Please Help

2014-08-12 Thread Lucas Tanure
-- Lucas Tanure +55 (19) 988176559 On Tue, Aug 5, 2014 at 12:31 AM, Peter Teoh htmldevelo...@gmail.com wrote: And Q2: Just want to comment that the load address has to be fixed initially, because unlike normal ELF, after loading ELF, there is a relocation tasks done by the linker. In vmlinuz we

Re: Build Error in Linux-next, intel ethernet driver

2014-08-05 Thread Lucas Tanure
Lucas Tanure Fix missing include in intel i40e driver. Without this include linux next tree won't compile. Signed-off-by: Lucas Tanure tan...@linux.com --- drivers/net/ethernet/intel/i40e/i40e_fcoe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/intel/i40e/i40e_fcoe.c b

Re: Build Error in Linux-next, intel ethernet driver

2014-08-05 Thread Lucas Tanure
Hi, Thanks for reviewing my patch. My .config was bigger than 40k ( max attachment size for kernelnewbies list). The quick way to share is through dropbox. https://www.dropbox.com/s/kyeecunmebouysk/config.xz Thanks -- Lucas Tanure +55 (19) 988176559 On Tue, Aug 5, 2014 at 6:44 PM, Jeff

Re: Build Error in Linux-next, intel ethernet driver

2014-08-05 Thread Lucas Tanure
]: *** Waiting for unfinished jobs Thanks -- Lucas Tanure +55 (19) 988176559 On Tue, Aug 5, 2014 at 7:54 PM, Jeff Kirsher jeffrey.t.kirs...@intel.com wrote: On Tue, 2014-08-05 at 19:37 -0300, Lucas Tanure wrote: Thanks for reviewing my patch. My .config was bigger than 40k ( max attachment size

Questions about Kernel Memory that I didn't find answers in Google - Please Help

2014-08-03 Thread Lucas Tanure
, right ? Well, this just a start. I really want to understand how kernel is run, loaded etc. Any help is appreciate, answering my questions, links to read, books to read. Actually, I didn't find any book with that kind of information . -- Lucas Tanure +55 (19) 988176559

Makedumpfile from Raw file

2014-07-31 Thread Lucas Tanure
Hi, Can I create a vmcore (elf format) using makedumpfile from a Raw file ? So I can debug using vmlinux and gdb ? thanks -- Lucas Tanure +55 (19) 988176559 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org

Re: Makedumpfile from Raw file

2014-07-31 Thread Lucas Tanure
: gdb vmlinux vmcore But my vmcore it's not in elf format for dumps. Where I can read about kernel addresses ? I would like to understand better the memory of the kernel in running. I know that kernel takes 1gb of ram, but what else ? Thanks -- Lucas Tanure +55 (19) 988176559 On Thu, Jul 31

Re: Work

2014-07-26 Thread Lucas Tanure
anything to kernel main list. Thanks! -- Lucas Tanure +55 (19) 988176559 On Sat, Jul 26, 2014 at 6:13 PM, Yi Li lovelyl...@gmail.com wrote: 于 2014/7/25 0:44, Lucas Tanure 写道: Could start cleaning a driver ? http://kernelnewbies.org/OPWfirstpatch#head-4abafc61af197fb6e3d6cda623b00bdd90a52c26

Re: Work

2014-07-25 Thread Lucas Tanure
Hi, Watch : http://www.youtube.com/watch?v=LLBrBBImJt4 Read : http://kernelnewbies.org/OPWfirstpatch http://kernelnewbies.org/KernelBuild http://lwn.net/Articles/571980/ Goal : Clone, build and run linux-next. After that you can look for how to clean up a staging driver. Thanks -- Lucas

Re: doubt with git and linux-next

2014-07-25 Thread Lucas Tanure
Hi, Could you try: $ git remote update $ git reset --hard origin/master Thanks -- Lucas Tanure +55 (19) 988176559 On Fri, Jul 25, 2014 at 11:06 AM, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: Hi, I am having some doubt regarding git and how to sync my local copy with linux-next. I

Re: doubt with git and linux-next

2014-07-25 Thread Lucas Tanure
I had the same issue. I cloned a new one, and every time that I need to update I do those commands, and now I never got the issue again. -- Lucas Tanure +55 (19) 988176559 On Fri, Jul 25, 2014 at 11:14 AM, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: On Fri, Jul 25, 2014 at 7:40 PM

New Kernel-newbies site

2014-07-25 Thread Lucas Tanure
. And the most relevant questions made here, go to the wiki. Thanks -- Lucas Tanure +55 (19) 988176559 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: New Kernel-newbies site

2014-07-25 Thread Lucas Tanure
Yes, like how submit a patch, clean up drivers, work with linux-next , etc This is a newbie website. -- Lucas Tanure +55 (19) 988176559 On Fri, Jul 25, 2014 at 6:26 PM, Andrey Utkin andrey.krieger.ut...@gmail.com wrote: 2014-07-26 0:19 GMT+03:00 Lucas Tanure tan...@linux.com: Hi, I

[PowerPC] - Define error in arch/arch/powerpc/boot/io.h ??

2014-07-24 Thread Lucas Tanure
Hi, Line 2 of arch/arch/powerpc/boot/io.h : 1 #ifndef _IO_H 2 #define __IO_H 3 4 #include types.h Should be _IO_H, not __IO_H. I'm right ? Thanks -- Lucas Tanure +55 (19) 988176559 ___ Kernelnewbies mailing list Kernelnewbies

[PATCH] powerpc: fix wrong defintion in boot/io.h

2014-07-24 Thread Lucas Tanure
Fix wrong __IO_H definition in boot/io.h Reported-by: Fernando Silveira fsilve...@gmail.com Signed-off-by: Lucas Tanure tan...@linux.com --- arch/powerpc/boot/io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/boot/io.h b/arch/powerpc/boot/io.h index 7c09f48

Re: [PowerPC] - Define error in arch/arch/powerpc/boot/io.h ??

2014-07-24 Thread Lucas Tanure
Ok, I will ask for a embedded powerpc board to test this. Thanks -- Lucas Tanure +55 (19) 988176559 On Thu, Jul 24, 2014 at 12:43 PM, valdis.kletni...@vt.edu wrote: On Thu, 24 Jul 2014 14:19:37 +0200, Kristof Provost said: On 2014-07-24 09:00:22 (-0300), Lucas Tanure tan...@linux.com

Re: Work

2014-07-24 Thread Lucas Tanure
Could start cleaning a driver ? http://kernelnewbies.org/OPWfirstpatch#head-4abafc61af197fb6e3d6cda623b00bdd90a52c26 The job here is about how to send patchs and not doing a awesome code. -- Lucas Tanure +55 (19) 988176559 On Thu, Jul 24, 2014 at 1:38 PM, Nick Krause xerofo...@gmail.com wrote

Re: Task 1 of Eudyptula Challenge

2014-07-24 Thread Lucas Tanure
Nick, There is https://www.kernel.org/doc/Documentation/kbuild/makefiles.txt and https://www.kernel.org/doc/Documentation/kbuild/modules.txt Thanks -- Lucas Tanure +55 (19) 988176559 On Thu, Jul 24, 2014 at 4:55 PM, Nick Krause xerofo...@gmail.com wrote: Hey guys, I am need so I

Where find Linux Kernel Development Jobs

2014-07-18 Thread Lucas Tanure
Hi, What are the best sites, lists, foruns to find Linux Kernel Jobs. No matter the country. Linkedin is still the best place ? Thanks -- Lucas Tanure +55 (19) 988176559 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Problems with Linux next tree

2014-07-15 Thread Lucas Tanure
Hi, My local clone of linux-tree always fails to update. When I run git pull origin master, I got a : Automatic merge failed; fix conflicts and then commit the result. So, How I can keep my local tree updated ? Thanks -- Lucas A. Tanure Alves +55 (19) 988176559

Re: Problems with Linux next tree

2014-07-15 Thread Lucas Tanure
So the best way is from Alexey Tulia. My setup: Clone linux-next tree. Never ever commit something in master branch. Or even modify files. Just keep master branch sync with remote linux-next. $ git remote update $ git reset --hard origin/master Thanks! -- Lucas Tanure +55 (19) 988176559

Re: some project

2014-07-14 Thread Lucas Tanure
. Thanks -- Lucas Tanure +55 (19) 988176559 On Mon, Jul 14, 2014 at 7:38 AM, Oscar Salvador osalvador.vilard...@gmail.com wrote: Hi to everybody! How are you? I'm new here, and I was looking the kernelnewbies website to search some information explaining how a newbie should start in this area

Problems with Linux next tree

2014-07-14 Thread Lucas Tanure
Hi, My local clone of linux-tree always fails to update. When I run git pull origin master, I got a : Automatic merge failed; fix conflicts and then commit the result. So, How I can keep my local tree updated ? No matter what. Thanks -- Lucas Tanure +55 (19) 988176559

Re: Problems with Linux next tree

2014-07-14 Thread Lucas Tanure
Hi, No I didn't. It is a clean linux-next tree. Turns out that if I don't update every day I got this issue. So, no solution yet. Thanks -- Lucas Tanure +55 (19) 988176559 On Mon, Jul 14, 2014 at 5:26 PM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi Lucas, On Mon, Jul 14, 2014 at 9

Re: Problems with Linux next tree

2014-07-14 Thread Lucas Tanure
For now, the easier way is to re-clone the tree. -- Lucas Tanure +55 (19) 988176559 On Mon, Jul 14, 2014 at 5:57 PM, Benedict Börger benedict.boer...@gmail.com wrote: Hi Lucas, On 14.07.2014 22:07, Lucas Tanure wrote: Hi, My local clone of linux-tree always fails to update. When I run

Re: Problems with Linux next tree

2014-07-14 Thread Lucas Tanure
Was easier and faster to re-clone. So I will try your command tomorrow at another place, that internet sucks and I have the same issue. But I tried also git pull --rebase , and worked too. I need to understand git better too. Thanks -- Lucas Tanure +55 (19) 988176559 On Mon, Jul 14, 2014 at 6

Re: memory dump problem

2014-07-10 Thread Lucas Tanure
This tool ? http://linux.die.net/man/8/makedumpfile Thanks -- Lucas Tanure +55 (19) 988176559 On Tue, Jul 8, 2014 at 9:41 PM, shhuiw shh...@163.com wrote: Hi, In kdump mechanism, there is a makedumpfile. You can try if it can work. -- Regards, shhuiw At 2014-07-09 00:41:29, Lucas

memory dump problem

2014-07-08 Thread Lucas Tanure
Hi, I have a linear raw file as a dump of memory ram. There is a way to convert that to elf core dump, so gdb can read ? Thanks -- Lucas Tanure +55 (19) 988176559 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

More than 9 days on task 06 Eudyptula Challenge

2014-06-26 Thread Lucas Tanure
Sorry to bug this again. I'm waiting for task 06 more than 9 days. There are more guys with the same delay time in this task ? Thanks -- Lucas Tanure +55 (19) 988176559 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Simple Misc Driver - Problem with string copy to user

2014-05-27 Thread Lucas Tanure
* offp){ int nbytes; char * string = hello World; nbytes = copy_to_user(buf, string, 12); return nbytes; } -- Lucas Tanure Brazil Makefile Description: Binary data #include linux/module.h #include linux/init.h #include linux/fs.h #include linux/device.h #include linux/miscdevice.h #include

Re: Simple Misc Driver - Problem with string copy to user

2014-05-27 Thread Lucas Tanure
So, My misc_drv_read returns 0, and it's ok. So why the command head didn't get the string ? -- Lucas Tanure +55 (19) 988176559 On Tue, May 27, 2014 at 9:59 AM, Bjørn Mork bj...@mork.no wrote: Lucas Tanure tan...@linux.com writes: What is worg with my read operation? static ssize_t

Re: Simple Misc Driver - Problem with string copy to user

2014-05-27 Thread Lucas Tanure
Wow, many thanks. So the read operation should return the total number of bytes, not a true/false int. I need to read more about this operations. Thanks -- Lucas Tanure +55 (19) 988176559 On Tue, May 27, 2014 at 10:05 AM, Bjørn Mork bj...@mork.no wrote: Lucas Tanure tan...@linux.com writes

Re: Download Linus's latest git tree

2014-05-26 Thread Lucas Tanure
git clone --depth 1 git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git -- Lucas Tanure +55 (19) 988176559 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Config options on kernel .config.

2014-05-19 Thread Lucas Tanure
Hi, How to get the help for a specific kernel compile option. Like, you do a cat .config in your .config file and see: CONFIG_GENERIC_CALIBRATE_DELAY=y How to get the help for this specific option ? Thanks -- Lucas Tanure +55 (19) 988176559

Re: Boot Custom Kernel

2014-05-18 Thread Lucas Tanure
Distro please. -- Lucas Tanure +55 (19) 988176559 On Sun, May 18, 2014 at 10:56 AM, me storage me.storage...@gmail.comwrote: Hai all Can any one please tell me how to boot custom kernel with out making any changes in the grub.That means i don't to use the custom kernel as default one.just

Re: [Eudyptula Challenge] Not receiving tasks.

2014-05-16 Thread Lucas Tanure
There is anyone here at 5 ? -- Lucas Tanure +55 (19) 988176559 On Fri, May 16, 2014 at 10:38 AM, leo kirotawa kirot...@gmail.com wrote: I also had the same issue. Twice sent and no answer till now. On Fri, May 16, 2014 at 10:36 AM, Eduardo Barretto edusbarre...@gmail.com wrote

Re: [Eudyptula Challenge] Not receiving tasks.

2014-05-16 Thread Lucas Tanure
5 it's difficult. I'm at 5 since last week, I need to read a lot, and even reading I don't know where start. =/ -- Lucas Tanure +55 (19) 988176559 On Fri, May 16, 2014 at 10:45 AM, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: On Fri, May 16, 2014 at 7:12 PM, Lucas Tanure tan

Re: [Eudyptula Challenge] Not receiving tasks.

2014-05-16 Thread Lucas Tanure
This never happened here. I got the issue about take too long to get my answer, but no spam. for sure. -- Lucas Tanure +55 (19) 988176559 On Fri, May 16, 2014 at 11:13 AM, Land Ho land.h...@gmail.com wrote: This might be obvious, but I notice you all use gmail, and sometimes my Eudyptula

Re: [Eudyptula Challenge] Not receiving tasks.

2014-05-05 Thread Lucas Tanure
the Challenge. Tanure -- Lucas Tanure +55 (19) 988176559 On Mon, May 5, 2014 at 5:15 AM, Denis Pithon denis.pit...@gmail.com wrote: Did you receive some new tasks ? I wait for some news of little since 1st of may ... It's about task 20 result, so i'm in a hurry :-) On Sat, May 3, 2014 at 12

Re: Linux Device Driver

2014-05-05 Thread Lucas Tanure
http://www.thegeekstuff.com/2013/07/write-linux-kernel-module/ ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Linux Device Driver

2014-05-05 Thread Lucas Tanure
Yeah, but https://lwn.net/Kernel/LDD3/ it's a little bit old. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Eudyptula Challenge] Not receiving tasks.

2014-05-03 Thread Lucas Tanure
. -- Lucas Tanure The Python script tanure@archNote email $ cat sender.py #!/usr/bin/python3 from smtplib import SMTP from itertools import chain from errno import ECONNREFUSED from mimetypes import guess_type from subprocess import Popen, PIPE from email.mime.base import MIMEBase from

Re: [Eudyptula Challenge] Not receiving tasks.

2014-05-03 Thread Lucas Tanure
Hi! Ok, I thought the scripts had run away... But, hey thanks! -- Lucas Tanure +55 (19) 988176559 On Sat, May 3, 2014 at 9:27 AM, Greg Freemyer greg.freem...@gmail.comwrote: Eudyptula apparently has at least one human in the loop. He/she may have taken a couple days off. On May 3, 2014 6

  1   2   >