Re: I am looking for the embedded systems course does any one here offer

2010-09-05 Thread Peter Teoh
think ofso just try to understand the big picture is good enough. So if some one offers for a reasonable price please do drop me a mail I will be interested. -- Everything is okay in the end, if it's not ok, then it's not the end. -- Regards, Peter Teoh -- To unsubscribe from

Re: I am looking for the embedded systems course does any one here offer

2010-09-05 Thread Peter Teoh
relevant questions here. -- -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: resetting USB HC at kernel boot.

2010-09-05 Thread Peter Teoh
Reagrs, Prabhu -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar

Re: spin_lock spin_trylock race

2010-08-27 Thread Peter Teoh
to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ -- Regards, Peter Teoh

Re: spin_lock spin_trylock race

2010-08-27 Thread Peter Teoh
Let me be the first one to comment on myself: On Fri, Aug 27, 2010 at 11:59 AM, Peter Teoh htmldevelo...@gmail.comwrote: On Wed, Aug 25, 2010 at 1:18 PM, Lal learner.ker...@gmail.com wrote: Is below code race free? the answer (I suspect) is - yesboth SMP and UP. Conventional wisedom

Re: CPUID and leaf.

2010-08-27 Thread Peter Teoh
for CPUID or is it something else. I am not able to correctly understand why we use a leaf terminology. This maybe a trivial question but my google searches have done me no good. thanks, Punit. -- Regards, Peter Teoh

Re: source level debugging of DLKM

2010-08-27 Thread Peter Teoh
-- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ -- Regards, Peter Teoh

Re: spin_lock spin_trylock race

2010-08-26 Thread Peter Teoh
always appeared whenever the one running in process context is competing for resources with those in interrupt context - ie, avoid having locks that is cross-used in both context. Sorry if I am wrong, comment welcomed :-). -- Regards, Peter Teoh

Re: Hooking into kernel by overriding internal functions

2010-08-03 Thread Peter Teoh
On Tue, Aug 3, 2010 at 8:29 PM, Kamyar Mohajerani kam...@gmail.com wrote: Hello everyone, This is my first message to the KernelNewbies mailing list, so please correct me if I'm not asking my question the right way. What I actually want to do is to somehow intercept an internal kernel

Re: SCTP Bundling Timeout value in linux

2010-08-02 Thread Peter Teoh
with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: file-f_pos lock?

2010-08-02 Thread Peter Teoh
; retval = file-f_pos = offset; From above we can deduce that m-lock is the field to lock before modifying file-f_pos is possible. -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http

Re: Where is the entry of hypercalls in kvm?

2010-06-30 Thread Peter Teoh
it go? Which code contains the backend driver of virtio. Where is the code in the hypervisor which this kick will go to? Thank you... Thanks, Bala -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read

Re: Where is the entry of hypercalls in kvm?

2010-06-30 Thread Peter Teoh
just to clarify further. On Wed, Jun 30, 2010 at 11:10 PM, Anthony Liguori anth...@codemonkey.ws wrote: On 06/30/2010 03:56 AM, Alexander Graf wrote: On 30.06.2010, at 10:17, Peter Teoh wrote: Your questioned is answered here: http://www.spinics.net/lists/kvm/msg37526.html And check

Re: Where is the entry of hypercalls in kvm?

2010-06-30 Thread Peter Teoh
Thank you Alex for the reply, very glad to know you!!! On Wed, Jun 30, 2010 at 4:56 PM, Alexander Graf ag...@suse.de wrote: On 30.06.2010, at 10:17, Peter Teoh wrote: Your questioned is answered here: http://www.spinics.net/lists/kvm/msg37526.html And check this paper out: http

Some kernel-related talks available here.

2010-06-29 Thread Peter Teoh
https://www.redhat.com/promo/summit/2010/presentations/ -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: function from userspace

2010-06-29 Thread Peter Teoh
-- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: Allocating struct sock from kernel module

2010-06-29 Thread Peter Teoh
read the FAQ at http://kernelnewbies.org/FAQ -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: function from userspace

2010-06-29 Thread Peter Teoh
, st_rdev=makedev(136, 5), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7894000 write(1, You Entered: 1\n..., 16 You Entered: 1 )    = 16 exit_group(16)                          = ? On Tue, Jun 29, 2010 at 11:04 AM, Peter Teoh htmldevelo...@gmail.com

Re: Unable to change IRQ affinity

2010-04-26 Thread Peter Teoh
On Mon, Apr 26, 2010 at 11:13 PM, Abraham Arce abraham.arce.mor...@gmail.com wrote: Peter, On Mon, Apr 12, 2010 at 10:34 AM, Peter Teoh htmldevelo...@gmail.com wrote: I've been working with 2 drivers, an i2c based touchcreen and a spi based ethernet. My problem comes when I try to change

Re: Read block level storage via kernel modules

2010-04-25 Thread Peter Teoh
an enhanced nbd internals) Soas u can seelots of resources from different placesno central resources...learn googling. But concurrent with that read a book in depth on Linux kernel internal will be useful. -- Regards, Peter Teoh -- To unsubscribe from this list: send an email

Re: Read block level storage via kernel modules

2010-04-25 Thread Peter Teoh
Two more articles: http://w3.linux-magazine.com/issue/70/Network_Block_Devices.pdf http://www.linux-mag.com/id/7118 On Mon, Apr 26, 2010 at 10:12 AM, Peter Teoh htmldevelo...@gmail.com wrote: Perhaps some URL for the really really newbie: On Mon, Apr 26, 2010 at 12:21 AM, Greg KH g

Re: __read_mostly

2010-04-12 Thread Peter Teoh
) /* End of data section */ _edata = .; } :data which defined how vmlinux is created. but ultimately it is a special keyword recognized by GCC. (http://www.jauu.net/data/pdf/effective-c-with-gcc.pdf) -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe

Re: kernel hash function algorithm

2010-04-11 Thread Peter Teoh
) {     unsigned long tmp;     tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) /             L1_CACHE_BYTES;     tmp = tmp ^ ((tmp ^ GOLDEN_RATIO_PRIME) I_HASHBITS);     return tmp I_HASHMASK; } Regards, Onkar -- Regards, Peter Teoh -- To unsubscribe from

Re: how to develop against linux-next

2010-04-11 Thread Peter Teoh
am not sure it's still up to date with the latest changes. Thank you! -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: data sheet for SATA drive

2010-04-08 Thread Peter Teoh
: __generic_unplug_device+0x35/0x39 [kernel] which is output by: probe kernel.function(*...@drivers/ata/libata*.c) { printf(%s\n, probefunc()); print_backtrace(); printf(\n); } -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies

Re: data sheet for SATA drive

2010-04-08 Thread Peter Teoh
kernel.function(*...@drivers/ata/libata*.c) {        printf(%s\n, probefunc());        print_backtrace();        printf(\n); } -- Regards, Peter Teoh -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read

Re: test

2010-03-29 Thread Peter Teoh
Please read the FAQ at http://kernelnewbies.org/FAQ -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ -- Regards, Peter Teoh -- To unsubscribe from this list: send an email

Re: why use spin_lock_{irq, irqsave}()

2010-03-29 Thread Peter Teoh
-get install hakuna-matata `. `'`   `- -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: gdb doesn't load line number information from object (kgdb target)

2010-01-26 Thread Peter Teoh
and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ -- Regards, Peter Teoh -- To unsubscribe from this list

Re: Blacklisting in-kernel drivers

2010-01-26 Thread Peter Teoh
loaded from the initrd. Thanks for the tip. I didn't know rdblacklist exists.. -- Pasi On Mon, Jan 25, 2010 at 7:14 PM, luca ellero lro...@gmail.com wrote: Peter Teoh wrote: similar from previous links posted, a lot of solutions are distro-specific, and varies from version to version

Re: Blacklisting in-kernel drivers

2010-01-23 Thread Peter Teoh
it means that all mice of that kind will never work (with usbhid) in the future. Is this right? regards Luca -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ -- Regards, Peter Teoh

Re: automatic driver loading functionality in Linux

2010-01-23 Thread Peter Teoh
(and which is what we were trying to load in the first place)? Thanks, -Joel -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ -- Regards, Peter Teoh -- To unsubscribe from

Re: Blacklisting in-kernel drivers

2010-01-20 Thread Peter Teoh
/FAQ -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: preemption disable in spin_lock

2010-01-17 Thread Peter Teoh
in the meanwhile? Thanks, -Joel -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies

Re: Linux assembly query

2009-11-14 Thread Peter Teoh
://kernelnewbies.org/FAQ -- Regards, Peter Teoh

Re: Difference between major page fault and minor page fault

2009-11-11 Thread Peter Teoh
that I can't keep up! :) -- Regards, Peter Teoh

Re: AT91SAM9260 async UART

2009-11-11 Thread Peter Teoh
Please read the FAQ at http://kernelnewbies.org/FAQ -- Regards, Peter Teoh

Re: AT91SAM9260 async UART

2009-11-11 Thread Peter Teoh
A possible reason: http://cboard.cprogramming.com/c-programming/98649-serial-port-read-blocking.html from the last part of the webpage: Ah ha! Indeed! - I think I have found the problem, it seems that the Kernel is using the serial port to print error messages to (for some reason) – I have

Re: pdflush deprecated by per-bdi writeout

2009-10-18 Thread Peter Teoh
On 10/18/09, Rik van Riel r...@nl.linux.org wrote: Peter Teoh wrote: now the pdflush is deprecated by per-bdi writeout. Can I know conceptually, in a few sentences, what are the key features that enable per-bdi writeout to be faster than pdflush? Yes. LWN has a great article

Re: sse2 in kernel code

2009-10-15 Thread Peter Teoh
hm.thank you for the sharingi learn something..though don't quite understand why at the moment . On Thu, Oct 15, 2009 at 3:57 AM, Jason Nymble jason.nym...@gmail.com wrote: On 14 Oct 2009, at 6:28 PM, Peter Teoh wrote: On Wed, Oct 14, 2009 at 6:49 AM, Jason Nymble jason.nym

Re: sse2 in kernel code

2009-10-14 Thread Peter Teoh
On Wed, Oct 14, 2009 at 6:49 AM, Jason Nymble jason.nym...@gmail.com wrote: On 14 Oct 2009, at 5:26 AM, Peter Teoh wrote: On Thu, Oct 8, 2009 at 5:10 PM, Jason Nymble jason.nym...@gmail.com wrote: Can one safely use SSE2 instructions in kernel module code? Or are those 128bit registers

Re: Mobile OS

2009-10-13 Thread Peter Teoh
at www.openmoko.org .        -Michi -- programing a layer 3+4 network protocol for mesh networks see http://michaelblizek.twilightparadox.com -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http

Re: Hardware question

2009-10-13 Thread Peter Teoh
, andi -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org

Re: sse2 in kernel code

2009-10-13 Thread Peter Teoh
clear_fpu_state(tsk); 163 task_thread_info(tsk)-status = ~TS_USEDFPU; 164 } 165 -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: Mobile OS

2009-10-13 Thread Peter Teoh
/Articles/354308/ http://www.cyanogenmod.com/ On Wed, Oct 14, 2009 at 2:09 AM, Michael Blizek mic...@michaelblizek.twilightparadox.com wrote: Hi! On 10:06 Tue 13 Oct     , Peter Teoh wrote: yes, i am confused too.look at this: http://source.android.com/posts/opensource which clearly says

Re: how do tasklets queue?

2009-10-12 Thread Peter Teoh
? I know that work queues are there for that, but how do device drivers that use tasklets cope with the above? Thanks, -Joel -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http

Re: max throughput achievable with outb()

2009-09-30 Thread Peter Teoh
On Wed, Sep 30, 2009 at 3:18 AM, Thomas Petazzoni thomas.petazz...@free-electrons.com wrote: Le Wed, 30 Sep 2009 13:50:22 +0800, Peter Teoh htmldevelo...@gmail.com a écrit : generally, port i/o programming is always slower than mmio, why don't u consider that option? Well, it's rarely

Threaded Network Device Interrupts

2009-09-30 Thread Peter Teoh
from softirqs. -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: ext3 data=journal?

2009-09-29 Thread Peter Teoh
in the function, sync_inode() will be called to write the inode to its data block as well. so data is duplicated both in journal + data block. make sense? -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ

Re: ext3 data=journal?

2009-09-29 Thread Peter Teoh
On Tue, Sep 29, 2009 at 6:17 AM, Peter Teoh htmldevelo...@gmail.com wrote: On Tue, Sep 29, 2009 at 2:51 AM, Venkatesh Srinivas m...@acm.jhu.edu wrote: Hi, Thanks for the reply! I was looking for more information on data=journal, not data=ordered or data=writeback; I didn't see comments

Re: interrupt/tasklet issue in custom driver on recent kernels

2009-09-28 Thread Peter Teoh
.    Signed-off-by: Ingo Molnar mi...@elte.hu    Signed-off-by: Thomas Gleixner t...@linutronix.de Could somebody shed a light on what more robust against MTRR mixups here means? -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar

Re: driver model confusion

2009-09-28 Thread Peter Teoh
and calls my _probe(). Michal -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: ext3 data=journal?

2009-09-28 Thread Peter Teoh
...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: interrupt/tasklet issue in custom driver on recent kernels

2009-09-27 Thread Peter Teoh
On Sun, Sep 27, 2009 at 1:48 AM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: Hi On 9/26/09, Peter Teoh htmldevelo...@gmail.com wrote: sorry for being a busy body:-)but hope i can contribute my 2cts... On Fri, Sep 25, 2009 at 12:54 PM, Mulyadi Santosa mulyadi.sant

Re: driver model confusion

2009-09-27 Thread Peter Teoh
, is there anything indicating existing kernel already is able to detect the hardware? So my question is how to register/init the module and make it available to the SPI subsystem? I somehow can't figure it out :-( Thanks for any hints! Michal -- Regards, Peter Teoh -- To unsubscribe from

Re: interrupt/tasklet issue in custom driver on recent kernels

2009-09-27 Thread Peter Teoh
-pong effect): http://morecores.cn/publication/pdf/Computing%20PI%20to%20Understand%20Key%20Issues%20in%20Multi.pdf Have fun!! On Sun, Sep 27, 2009 at 2:05 PM, Peter Teoh htmldevelo...@gmail.com wrote: On Sun, Sep 27, 2009 at 1:48 AM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: Hi On 9

Re: core dump

2009-09-26 Thread Peter Teoh
-zero (dumping file-back pages really is not-necessary, as the content is easily extracted from the ELF file). anyway, if there is anything u want to modify to be generated when coredump occurred u can do it here -- Regards, Peter Teoh -- To unsubscribe from this list: send an email

Re: Readahead - is 128KB the limit ?

2009-09-26 Thread Peter Teoh
and to be noted from the discussion is the loss of unused data, for 1024K it is as high as 49%. readahead readahead size miss 128K 38% 512K 45% 1024K 49% On Sat, Sep 26, 2009 at 12:48 AM, Peter Teoh htmldevelo...@gmail.com wrote: On Fri, Sep 25, 2009 at 11:29 PM, shailesh jain coolworldofsh

Re: Kernel Cache Hit accouting

2009-09-26 Thread Peter Teoh
. -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: interrupt/tasklet issue in custom driver on recent kernels

2009-09-25 Thread Peter Teoh
it is the answer as it was proven by your experiments... -- regards, Mulyadi Santosa Freelance Linux trainer blog: the-hydra.blogspot.com -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ

Re: Readahead - is 128KB the limit ?

2009-09-25 Thread Peter Teoh
. -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: Readahead - is 128KB the limit ?

2009-09-25 Thread Peter Teoh
and setting max_readahead according to that. Restricting to arbitrary limits -- for instance think 512MB system vs 4GB system - is not sane IMO. interestingcan u share the link so perhaps i can learn something? thanks pal!!! Shailesh Jain On Fri, Sep 25, 2009 at 6:00 PM, Peter Teoh htmldevelo

Re: implementing mmap

2009-09-23 Thread Peter Teoh
lunedi'dell'arrampicatore: www.lunedi.org - -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies

Re: implementing mmap

2009-09-23 Thread Peter Teoh
On Thu, Sep 24, 2009 at 8:30 AM, Peter Teoh htmldevelo...@gmail.com wrote: On Mon, Sep 21, 2009 at 10:15 PM, Andrea Gasparini ga...@yattaweb.it wrote: Hi, I'm just writing some code that wants to implement a stupid mmap on a device. What  I did is the following: 1 - allocating a buffer

Re: implementing mmap

2009-09-23 Thread Peter Teoh
, 2009 at 8:30 AM, Peter Teoh htmldevelo...@gmail.com wrote: On Mon, Sep 21, 2009 at 10:15 PM, Andrea Gasparini ga...@yattaweb.it wrote: Hi, I'm just writing some code that wants to implement a stupid mmap on a device. What  I did is the following: 1 - allocating a buffer with kmalloc

Re: implementing mmap

2009-09-23 Thread Peter Teoh
-transfer is running). same logic as yours here.so u have to unmap the pages before freeing the pages. -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: Ioctls for data transfer

2009-09-20 Thread Peter Teoh
On Fri, Sep 18, 2009 at 9:07 PM, Leonidas . leonidas...@gmail.com wrote: On Fri, Sep 18, 2009 at 5:36 AM, Peter Teoh htmldevelo...@gmail.com wrote: I think you are talking about ioctl on a single minor number device, my concern is more about choice here. Meaning whether using ioctls

Re: Ioctls for data transfer

2009-09-20 Thread Peter Teoh
(or side-channel), so in this case u need another minor device for ioctl purpose, to signal the buffer type to be used for the first minor device. ie, read() for first minor device, and ioctl() for 2nd minor device? does it make any sense? -- Regards, Peter Teoh -- To unsubscribe from

Re: Ioctls for data transfer

2009-09-17 Thread Peter Teoh
usb_get_string usb_get_string_simple usb_init usb_interrupt_read usb_interrupt_write usb_open usb_release_interface usb_reset usb_resetep usb_set_altinterface usb_set_configuration usb_set_debug usb_strerror On Fri, Sep 18, 2009 at 7:56 AM, Peter Teoh htmldevelo...@gmail.com wrote: what kind of device

Re: spinlocks and copy_to_user()

2009-09-14 Thread Peter Teoh
On Mon, Sep 14, 2009 at 11:11 PM, Peter Teoh htmldevelo...@gmail.com wrote: sounds like u need TWO variables.   reason goes like this: sorryI also forgotten to mention that since there are two variable now...the interrupt sensitive one should be using spinlock and the one that need

Re: ext4 extents: How to determine if an extent points to a hole.

2009-09-14 Thread Peter Teoh
just to share what i have read, based on lwn.net surfing: From the article that started it all: http://lwn.net/Articles/260795/ From the specs, if u used ioctl() with FIEMAP_EXTENT_HOLE it will keep returning u the next hole. http://lwn.net/Articles/297696/ http://lwn.net/Articles/260803/

Re: spinlocks and copy_to_user()

2009-09-14 Thread Peter Teoh
On Mon, Sep 14, 2009 at 11:43 PM, Daniel Baluta daniel.bal...@gmail.com wrote: On Mon, Sep 14, 2009 at 6:32 PM, Peter Teoh htmldevelo...@gmail.com wrote: On Mon, Sep 14, 2009 at 11:11 PM, Peter Teoh htmldevelo...@gmail.com wrote: sounds like u need TWO variables.   reason goes like this: Huh

Re: Stripped v Debug

2009-09-12 Thread Peter Teoh
...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: module init code placement offset ? - Was : Re: Changing path in kernel object Debug of Kernel module with gdb

2009-09-12 Thread Peter Teoh
://kernelnewbies.org/FAQ -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: kernel boot delay

2009-09-11 Thread Peter Teoh
. Code: (commit 1, 2, 3, 4, 5, 6) I would like to ask you for advice as to what may be the reason for such behavior? Latter on I can attach kernel boot log and config. -- Regards, Denis -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe

Linux Podcast: http://www.linuxreality.com/archives.php

2009-09-11 Thread Peter Teoh
://linuxlink.timesys.com/3/podcast (interface is better than the above link, but content wise not sure if there is any overlapping) -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http

Re: kernel boot delay

2009-09-11 Thread Peter Teoh
Download On Fri, Sep 11, 2009 at 12:29 PM, Denis Kirjanov kirja...@gmail.com wrote: Interesting resource. Thanks for sharing) On Fri, Sep 11, 2009 at 8:16 PM, Peter Teoh htmldevelo...@gmail.com wrote: On Fri, Sep 11, 2009 at 11:59 PM, Denis Kirjanov kirja...@gmail.com wrote: Did not know

Re: interrupt/tasklet issue in custom driver on recent kernels

2009-09-10 Thread Peter Teoh
...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: [OOT] Link to my Linux.com Uncover the meaning of top's statistics

2009-09-10 Thread Peter Teoh
-- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: new kernel newbie column is up

2009-09-10 Thread Peter Teoh
and Annoying Kernel Pedantry. Web page:                                          http://crashcourse.ca Twitter:                                       http://twitter.com/rpjday -- Regards, Peter Teoh -- To unsubscribe

Re: new kernel newbie column is up

2009-09-10 Thread Peter Teoh
sorry for the noise..just to share this..i think i can answer my own question: klogd is not a kernel thread, but a userspace daemon. in FC10, it does not exists anymore: http://forums.fedoraforum.org/showthread.php?t=206690 thanks. On Thu, Sep 10, 2009 at 3:32 PM, Peter Teoh htmldevelo

Re: FS block size and Architecture Dependency

2009-09-08 Thread Peter Teoh
in this ? -- Regards, Rishi B. Agrawal http://www.linkedin.com/in/rishibagrawal http://code.google.com/p/fscops/ -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: Signal problem

2009-09-04 Thread Peter Teoh
not tally with the signal state last updatedit can be deduced that SIGKILL OR SIGSTOP is received. -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: OLS 2009: request for comments

2009-08-31 Thread Peter Teoh
this :) ) Programmatic Kernel Dump Analysis On Linux Porting to Linux the Right Way Measuring Function Duration with Ftrace Thanks Naresh On Sat, Aug 29, 2009 at 12:10 PM, Peter Teoh htmldevelo...@gmail.com wrote: The papers are located here: http://www.linuxsymposium.org/2009/ls-2009

Re: OLS 2009 highlights

2009-08-30 Thread Peter Teoh
Thank you Shailesh for the comments, On Sun, Aug 30, 2009 at 4:10 AM, shailesh jaincoolworldofsh...@gmail.com wrote: On Sun, Aug 30, 2009 at 3:43 AM, Peter Teoh htmldevelo...@gmail.com wrote: Thank you Minchan.   You made me curious now...:-). On Sat, Aug 29, 2009 at 9:37 PM, Minchan

Re: OLS 2009 highlights

2009-08-30 Thread Peter Teoh
Thank you Izik for the sharing. On Mon, Aug 31, 2009 at 12:55 AM, Izik Eidusiei...@redhat.com wrote: Peter Teoh wrote: Thank you Shailesh for the comments, On Sun, Aug 30, 2009 at 4:10 AM, shailesh jaincoolworldofsh...@gmail.com wrote: On Sun, Aug 30, 2009 at 3:43 AM, Peter Teoh

OLS 2009 highlights

2009-08-29 Thread Peter Teoh
The papers are located here: http://www.linuxsymposium.org/2009/ls-2009-proceedings.pdf I have not read any papers yet. But given limited amount of time - which papers do u think are the interesting one to read? And perhaps one-liners comment on why? -- Regards, Peter Teoh

Re: howto sendpages over network

2009-08-27 Thread Peter Teoh
at 2:13 PM, krushnaal paikrisonea...@gmail.com wrote: by converting the char *buffer  into pages i want to send pages over the network thru socket. how to? -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read

Re: 32-bit kernel

2009-08-15 Thread Peter Teoh
. On Sat, Aug 15, 2009 at 1:37 AM, manishrangankarman...@gmail.com wrote: Hi All, I have basic query!! I can have 32 and 64 bit filesystem on 64-bit kernel.  Is it possible to have 64-bit filesystem on 32 bit kernel? Does linux support it? -Manish R -- Regards, Peter Teoh -- To unsubscribe

Re: how to export function from fs/dropcache.c

2009-07-20 Thread Peter Teoh
.” Thanks and Best Regards, Krishna Kumar -- Regards, Peter Teoh -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: how to flush cache ??

2009-07-19 Thread Peter Teoh
/linux+v2.6.30/Documentation/memory-barriers.txt thanks BRs. Lin 2009/7/19 Peter Teoh htmldevelo...@gmail.com: thank you for the referenceand sharing... On Sun, Jul 19, 2009 at 9:52 PM, Pei Lintelent...@gmail.com wrote: on X86 architecture u can refer to Intel® 64 and IA-32

Re: how to flush cache ??

2009-07-18 Thread Peter Teoh
. but generally the truth is this: the higher level the kernel API (assuming they are organized hierarchically)the easier the API to useand more stable your kernel module is. good luck!!! Thanks Best Regards, Krishna On Sat, Jul 18, 2009 at 11:12 AM, Peter Teoh htmldevelo

Re: how to flush cache ??

2009-07-18 Thread Peter Teoh
module. as for all the input parameters, just ignore it. -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: ksocket problem

2009-07-17 Thread Peter Teoh
also using wht cmd can i load the test-module(sample/tcp/srv) with a port number parameter, -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: how to flush cache ??

2009-07-17 Thread Peter Teoh
urgent at my end. Thanks Best Regards, Krishna -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: how to flush cache ??

2009-07-17 Thread Peter Teoh
sorrymy previous was accidentally sent out halfway...specifically detailing on the implementation of drop_caches_sysctl_handler(): and reading into the implementation, it just wipe away all the dirty buffer cache (as the name implies).   Not really the type of flushing I originally meant

Re: how to flush cache ??

2009-07-17 Thread Peter Teoh
, Jul 17, 2009 at 8:11 PM, Peter Teoh htmldevelo...@gmail.com wrote: sorrymy previous was accidentally sent out halfway...specifically detailing on the implementation of  drop_caches_sysctl_handler(): and reading into the implementation, it just wipe away all the dirty buffer cache

Embedded-System-Design-on-a-Shoestring

2009-07-04 Thread Peter Teoh
Just to share with everyone what I have found: http://www.scribd.com/doc/4324677/Embedded-System-Design-on-a-Shoestring Have not read yet.. -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ

Re: alsa module snd-hda-codec-realtek not loading

2009-07-04 Thread Peter Teoh
, Peter Teoh

Re: Linux ksoftirq

2009-06-25 Thread Peter Teoh
into two pieces for rx and tx. have you guys -rt patch ? -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

  1   2   3   4   5   6   >