Re: Practical character driver

2011-02-27 Thread Peter Teoh
mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Contents of CR3 register when a kernel thread is executed

2011-04-19 Thread Peter Teoh
@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Contents of CR3 register when a kernel thread is executed

2011-04-20 Thread Peter Teoh
). Looking into vmalloc.c for non-linear memory allocation. Sorry for the many questions, any help will be greatly appreciated guys. P.S. Please correct me if I interpreted something wrong. Regards, John K. -- Regards, Peter Teoh ___ Kernelnewbies

Re: Sleep and Wake up

2011-05-09 Thread Peter Teoh
data transfer is achieved in infiniband-based Mellanox card (in some China supercomputer), and this involved the use of GPU technology etc https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/2009-May/039639.html -- Regards, Peter Teoh

Re: How vmlinux is recognized?

2011-05-15 Thread Peter Teoh
(probably depends on the architecture) to a different spot in memory, and then runs. The kernel is now running. -- Dave Hylands Shuswap, BC, Canada http://www.davehylands.com ___ K -- Regards, Peter Teoh

Re: Self modifying code in ARM 11 architectures

2011-05-25 Thread Peter Teoh
On Thu, May 26, 2011 at 12:28 AM, Peter Teoh htmldevelo...@gmail.com wrote: On Tue, May 24, 2011 at 6:15 PM, Ashok Babu asho...@gmail.com wrote: Hi All, I am no success in booting up the ARM1176 processor with the linux-2.6.32 kernel. While googling about the ARM Harvard architecture, I

Re: CPU instruction to calculate tcp checksum and udp integrity?

2011-05-25 Thread Peter Teoh
@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: How to use the cryptographic API (e.g. md5 checksum)?

2011-05-27 Thread Peter Teoh
On Sat, May 28, 2011 at 6:03 AM, Arvid Brodin arvid.bro...@enea.com wrote: Peter Teoh wrote: On Tue, May 24, 2011 at 6:43 AM, Arvid Brodin arvid.bro...@enea.com wrote: Hi, I want to perform an md5 checksum on a process' text segment (I create a file /proc/pid/text_checksum that, when read

Re: How to use the cryptographic API (e.g. md5 checksum)?

2011-05-27 Thread Peter Teoh
this opensource application (in windows) does meet your requirements: http://www.codeproject.com/KB/cpp/VerifyIntegrity.aspx On Sat, May 28, 2011 at 10:22 AM, Peter Teoh htmldevelo...@gmail.com wrote: On Sat, May 28, 2011 at 6:03 AM, Arvid Brodin arvid.bro...@enea.com wrote: Peter Teoh wrote

Re: Can we map a device address to two different memory locations?

2011-05-28 Thread Peter Teoh
times? Please give reply.. -- With regards, Sandeep Kumar Anantapalli, ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh

Re: Disabling nagle algorithm

2011-05-30 Thread Peter Teoh
,/* Use linear timeouts for thin streams */ thin_dupack : 1,/* Fast retransmit on first dupack */ unused : 2; snip Kashyap -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies

Re: Disabling nagle algorithm

2011-05-30 Thread Peter Teoh
is not at the network card side, but more likely in the network gateway, or router side - so u are definitely not going to see improvement in spite of all the troubles. -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Re: Can i allocate 4GB virtual addresses (more than a certain limit) using vmalloc?

2011-05-31 Thread Peter Teoh
://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Problems with hypercalls

2011-06-08 Thread Peter Teoh
interrupt. -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Problems with hypercalls

2011-06-09 Thread Peter Teoh
scheduling). The function set_current_state() literally just set the variable value only, it does not disable interrupt. -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman

Re: Calling function from address

2011-06-11 Thread Peter Teoh
-- Regards, Peter Teoh -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: problem with queue numbers between bridge, bonding and lo devices

2011-07-18 Thread Peter Teoh
___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Re: Re: problem with queue numbers between bridge, bonding and lo devices

2011-07-20 Thread Peter Teoh
these info is really helpful for me i'll trying to learn more about networking 2011-07-19 jiangtao.jit 发件人: Peter Teoh 发送时间: 2011-07-19 07:37:18 收件人: jiangtao.jit 抄送: kernelnewbies 主题: Re: problem with queue numbers between bridge, bonding and lo devices On Sat, Jul 16, 2011 at 9

Re: Regarding threaded irq and normal irq

2011-09-05 Thread Peter Teoh
://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Regarding threaded irq and normal irq

2011-09-06 Thread Peter Teoh
/ perhaps error arising from violation of these implementation? Being threaded means that the IRQ handler is executing at the thread context, or process context. Thank you, Sandeep On Tue, Sep 6, 2011 at 1:22 AM, Peter Teoh htmldevelo...@gmail.com wrote: On Thu, Sep 1, 2011 at 5:48 PM, sandeep

Re: CPU pinning

2011-09-26 Thread Peter Teoh
core. i suspect some error in the interpreting the number of cores here, as there is only two core. (/proc/cpuinfo). good reading on these internals: http://lwn.net/Articles/308117/ http://www.wil.cx/matthew/lca2003/paper.pdf -- Regards, Peter Teoh

Re: Getting dirtied pages info

2011-10-02 Thread Peter Teoh
/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Getting dirtied pages info

2011-10-03 Thread Peter Teoh
pte; } pte_t; On Mon, Oct 3, 2011 at 12:05 PM, Peter Teoh htmldevelo...@gmail.com wrote: Basically the concept of 'dirty' is because the memory is file-backed, ie, everytime you changed the memory, it has to be flushed to the file.   In Xen the dirty bit is also used to signify the page being

Re: Current and correct CPU clock and asm(cpuid)

2011-10-03 Thread Peter Teoh
___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies

Re: interpret the result of perf stat

2011-10-04 Thread Peter Teoh
@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: interpret the result of perf stat

2011-10-04 Thread Peter Teoh
On Tue, Oct 4, 2011 at 9:53 AM, Peter Teoh htmldevelo...@gmail.com wrote: On Sun, Oct 2, 2011 at 5:07 AM, Zheng Da zhengda1...@gmail.com wrote: Hello, I start to use perf to profile my program, but I'm not quite sure if I understand some events. Firstly perf is using hardware to read

Re: Current and correct CPU clock and asm(cpuid)

2011-10-04 Thread Peter Teoh
the division by CPU_THOUSAND_HZ I have the number of clock cycles that were spent between the calls to getticks()(including some for getticks() itself)? Please see below. Thank you! Peter On Mon, Oct 3, 2011 at 1:17 PM, Peter Teoh htmldevelo...@gmail.com wrote: why not u put a sleep(1

Re: schedule history between 2 interrupts

2011-10-04 Thread Peter Teoh
___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Re: interpret the result of perf stat

2011-10-08 Thread Peter Teoh
On Thu, Oct 6, 2011 at 10:39 PM, Zheng Da zhengda1...@gmail.com wrote: Thank you, Peter. I didn't realize Intel has explained all performance counters in its manual, and I was desperately looking for more detailed explanation on the Internet. On Mon, Oct 3, 2011 at 11:19 PM, Peter Teoh

Re: Enabling USB OTG

2011-10-09 Thread Peter Teoh
as OTG port. Thanks, Madavan ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies

Re: userspace address to bus address

2011-10-09 Thread Peter Teoh
@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: userspace address to bus address

2011-10-10 Thread Peter Teoh
comments about consistent memory from here: http://kerneltrap.org/node/7194 might be useful for you too. On Mon, Oct 10, 2011 at 1:13 PM, Peter Teoh htmldevelo...@gmail.com wrote: while reading this: http://linux.die.net/man/2/mlock notice that u have to allocate + write to the memory

Re: What is the significance of __releases __acquires in rpm_callback() of power/runtime.c ?

2011-10-10 Thread Peter Teoh
) { int retval; …. return retval; } ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh

Re: seagate drive and i/o errors

2011-11-03 Thread Peter Teoh
. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Re: Queries about Net-Filter Hooks !!!

2011-12-10 Thread Peter Teoh
-- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: cuboot/cuImage? treeboot/treeImage?

2011-12-10 Thread Peter Teoh
these images are used? Thanks, Fredrick ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies

Re: Query about Enhanced Out-Of-Memory handling

2011-12-10 Thread Peter Teoh
___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Re: s3c24xx_console_init in s3c2440.c

2012-01-21 Thread Peter Teoh
. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Re: How to shutdown console redirection

2012-01-24 Thread Peter Teoh
mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo

Re: How to shutdown console redirection

2012-01-24 Thread Peter Teoh
check out slide 5 here: http://www.slideshare.net/anil_pugalia/embedded-device-busdrivers On Wed, Jan 25, 2012 at 9:36 AM, Peter Teoh htmldevelo...@gmail.com wrote: read this: http://elinux.org/Disable_Console and this: http://elinux.org/Kernel_Debugging_Tips#Controlling_console_output

Re: serial: 8250: RX hang issue

2012-01-24 Thread Peter Teoh
it is, it could be that the round robbin clearing of buffer is not working. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh

Re: What is a console? and Why it is always associated with UART?

2012-01-24 Thread Peter Teoh
. -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: linux hrtimer affinity

2012-02-19 Thread Peter Teoh
___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies

Re: linux hrtimer affinity

2012-02-19 Thread Peter Teoh
Read this: http://lwn.net/Articles/296578/ Take note there are several apis available: schedule_hrtimeout, schedule_hrtimeout_range, schedule_timeout, schedule_timeout_range, schedule_timeout_uninterruptible etc. On Mon, Feb 20, 2012 at 7:50 AM, Peter Teoh htmldevelo...@gmail.com wrote

Re: some questions about container_of and user_struct

2012-02-19 Thread Peter Teoh
it? Thanks for your help, ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing

Re: TinyLinux project status

2012-04-10 Thread Peter Teoh
MB SRAM board (no DRAM) ? (I am thinking at a ARM7 LPC2294 header board). Thanks a lot, Ezequiel. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter

Re: TinyLinux project status

2012-04-10 Thread Peter Teoh
http://www.chibios.org/dokuwiki/doku.php?id=chibios:documents:requirements This is 2KiB RAM for recommended configuration. It is not Linux, but is based on RTOS. 2012/4/11 Peter Teoh htmldevelo...@gmail.com minimum specs is available within the page: http://en.wikipedia.org/wiki

Re: Linux shutdown/reboot process

2012-05-14 Thread Peter Teoh
@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Linux shutdown/reboot process

2012-05-14 Thread Peter Teoh
(kernel_power_off); since it is exported, the symbol can be called from many different places in the kernel, and thus many different ways of shutting down or hibernation are possible. On Tue, May 15, 2012 at 1:09 PM, Peter Teoh htmldevelo...@gmail.com wrote: i think your question is distro-specific

Re: how to study process schedule

2012-05-26 Thread Peter Teoh
-- ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list

Re: kgdb over ethernet support for 3.x kernel

2012-07-03 Thread Peter Teoh
is the specific board name? b. does it come with BSP (from the manufacturer/designer)? Thanks, Sannu Yes JTAG supoort is also not available in hardware . Regards Amit Nagal -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies

Re: Regarding usage of perf tools

2012-07-08 Thread Peter Teoh
-- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Regarding usage of perf tools

2012-07-08 Thread Peter Teoh
in this version though. On Sun, Jul 8, 2012 at 2:18 PM, Peter Teoh htmldevelo...@gmail.com wrote: I think it is not so simple. For example, for my Sony Ericsson, and from here: http://developer.sonymobile.com/wp/2011/05/06/how-to-build-a-linux-kernel/ I downloaded the kernel 4 On Sat, Jul 7

Re: Regarding usage of perf tools

2012-07-08 Thread Peter Teoh
(this is not the latest kernel though, lazy to update), perf event is completely absent in the arch/arm/kernel directory. On Sun, Jul 8, 2012 at 2:23 PM, Peter Teoh htmldevelo...@gmail.com wrote: Sorry about the mistake. Resending the answer again: I think it is not so simple. For example, for my

Re: [RFC]confusion about syscall

2012-07-14 Thread Peter Teoh
will be help! thanks in advance! wanny ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies

Re: [RFC]confusion about syscall

2012-07-15 Thread Peter Teoh
://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: [RFC]confusion about syscall

2012-07-15 Thread Peter Teoh
just sharing my analysis, correct me if wrong: On Sun, Jul 15, 2012 at 8:36 PM, 王哲 wangzhe5...@gmail.com wrote: 2012/7/15 Peter Teoh htmldevelo...@gmail.com Hi Mulyadi and WangZhe, Nice to write to you again:-). On Sun, Jul 15, 2012 at 1:49 PM, Mulyadi Santosa mulyadi.sant

Re: [RFC]confusion about syscall

2012-07-15 Thread Peter Teoh
I think this is useful: http://stackoverflow.com/questions/9355097/looking-for-system-calls-implementation-on-linux-kernel On Sun, Jul 15, 2012 at 11:24 PM, Peter Teoh htmldevelo...@gmail.comwrote: just sharing my analysis, correct me if wrong: On Sun, Jul 15, 2012 at 8:36 PM, 王哲 wangzhe5

Re: What is PageSlab?

2012-07-16 Thread Peter Teoh
mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo

Re: UDP packets are getting dropped because of invalied checksum though checksum offload is enabled in kernel-2.6.32

2012-07-19 Thread Peter Teoh
@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: How can I change cr0 register in redhat system

2012-07-23 Thread Peter Teoh
Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: How to understand lowmem_reserve in a zone?

2012-08-23 Thread Peter Teoh
. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Re: Why a locked page must be copied in COW?

2012-09-26 Thread Peter Teoh
consideration? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list

Re: getxattr field not initialized when trying to execute /init during boot

2012-09-26 Thread Peter Teoh
. + * + * and for security modules: http://lwn.net/Articles/28223/ Thanks in advance! ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh

Why lsusb return nothing?

2012-09-28 Thread Peter Teoh
) and strace gives result: open(/dev/bus/usb/001/002, O_RDWR)= 3 ioctl(3, USBDEVFS_IOCTL, 0xbff6f75c)= -1 ENOTTY (Inappropriate ioctl for device) close(3)= 0 open(/dev/bus/usb/001/001, O_RDWR)= 3 Why the difference? -- Regards, Peter Teoh

Re: Why lsusb return nothing?

2012-09-28 Thread Peter Teoh
. On Sat, Sep 29, 2012 at 10:21 AM, Mark Bishop m...@bish.net wrote: You don't have the USB module loaded or it isn't compiled into your kernel. Peter Teoh htmldevelo...@gmail.com wrote: I entered lsusb at the command line (as root) and nothing is return, not even any error message. Doing

Re: Why lsusb return nothing?

2012-09-28 Thread Peter Teoh
On Sat, Sep 29, 2012 at 1:12 PM, Mark Bishop m...@bish.net wrote: What does 'find /dev/ | grep dev' show http://pastebin.com/tuh7fv3v any idea? Peter Teoh htmldevelo...@gmail.com wrote: what are the implication (or symptoms) of that statement? how do i know that? ps -ef |grep usb

Re: Why lsusb return nothing?

2012-09-29 Thread Peter Teoh
hardware - before the /dev/bus/usb non-availability happened, and this same system is still working fine. So I am quite sure it is a udev thing, just trying my luck if anyone know the answer? On Sat, Sep 29, 2012 at 9:42 AM, Peter Teoh htmldevelo...@gmail.com wrote: I entered lsusb at the command line

Re: Facing trouble in creating a packet in kernel space

2012-10-02 Thread Peter Teoh
/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Why lsusb return nothing?

2012-10-03 Thread Peter Teoh
should show all USB BUS devies. Thanks Ashish Bunkar -Original Message- From: kernelnewbies-boun...@kernelnewbies.org [mailto: kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Peter Teoh Sent: Saturday, September 29, 2012 7:12 AM To: kernelnewbies@kernelnewbies.org Subject: Why

Re: trace MKFS

2013-01-04 Thread Peter Teoh
/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: keyboard driver question

2013-01-05 Thread Peter Teoh
.? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org

Re: calling system call in arm from user space

2013-01-08 Thread Peter Teoh
@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: /usr/ld Not enough room for program headers

2013-01-08 Thread Peter Teoh
wrongly (eg, .text), and nothing to do with SIZEOF_HEADER. but where this error come from ? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh

Re: why are scheduling domains used in multiprocessor systems

2013-01-09 Thread Peter Teoh
algorithm. http://www.intel.com/technology/itj/2007/v11i4/9-process/6-linux-scheduler.htm http://www.cs.stonybrook.edu/~porter/courses/cse506/f12/slides/scheduling.pdf http://www.cs.stonybrook.edu/~porter/courses/cse506/f12/slides/scheduling2.pdf -- Regards, Peter Teoh

Re: what is the difference between poll and epoll ?

2013-01-10 Thread Peter Teoh
! ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org

Re: What is asmlinkage ?

2013-01-10 Thread Peter Teoh
Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: What is asmlinkage ?

2013-01-10 Thread Peter Teoh
have found. it is defined even in much earlier release: http://lxr.free-electrons.com/ident?v=2.6.32;i=asmlinkage for example, and every arch possible has a use of it. -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies

Re: why are scheduling domains used in multiprocessor systems

2013-01-10 Thread Peter Teoh
into sched_fair.c), and cpu inside cpuset can be offline/online, or made allow/disallowed to be used. I know not the difference between cpusets and sched_domain - conceptually. Any guidance? -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies

Re: What is asmlinkage ?

2013-01-11 Thread Peter Teoh
asmlinkage' not the usage of it. For arm it is none so default defined in include/linux/linkage.h is used which is nothing special and just extern 'C' declaration to avoid garbled naming of C++ linkage, thats it. -Rajat On Fri, Jan 11, 2013 at 12:00 PM, Peter Teoh htmldevelo...@gmail.comwrote

Re: to implement cntl+c from shell script on minicom

2013-01-12 Thread Peter Teoh
___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Re: what is the difference between poll and epoll ?

2013-01-14 Thread Peter Teoh
/ and this comes with explanation + example: http://www.linux-mag.com/id/357/ On Mon, Jan 14, 2013 at 4:20 AM, horseriver horseriv...@gmail.com wrote: hi: what is the function of a file's poll function ? thanks! -- Regards, Peter Teoh

Re: what is the function of tcp_prequeue ?

2013-01-17 Thread Peter Teoh
/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: working of fork and exec

2013-01-17 Thread Peter Teoh
://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: How to wake_up the wait_queue of a socket?

2013-01-17 Thread Peter Teoh
? This is my mean ! Thanks ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing

Re: no error thrown with exit(0) in the child process of vfork()

2013-01-18 Thread Peter Teoh
other techniques are required instead to do cross-CPU synchronization. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh

Re: no error thrown with exit(0) in the child process of vfork()

2013-01-18 Thread Peter Teoh
On Sat, Jan 19, 2013 at 10:43 AM, Peter Teoh htmldevelo...@gmail.comwrote: On Sat, Jan 19, 2013 at 5:49 AM, valdis.kletni...@vt.edu wrote: On Fri, 18 Jan 2013 19:59:38 +0530, Niroj Pokhrel said: I have been trying to create a process using vfork(). And both of the child and the parent

Re: How to wake_up the wait_queue of a socket?

2013-01-18 Thread Peter Teoh
On Sat, Jan 19, 2013 at 1:36 AM, horseriver horseriv...@gmail.com wrote: On Fri, Jan 18, 2013 at 10:18:19AM +0800, Peter Teoh wrote: essentially, when the packet arrive, it will be assigned to the correct process based on IP address + port matching, and then the corresponding process's

Re: Linux Kernel Networking document (free, 178 pages doc)

2013-02-03 Thread Peter Teoh
, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Linux Kernel Networking document (free, 178 pages doc)

2013-02-03 Thread Peter Teoh
@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh

Re: Linux Kernel Networking document (free, 178 pages doc)

2013-02-03 Thread Peter Teoh
http://www.haifux.org/lectures.html This link has even more lectures. On Mon, Feb 4, 2013 at 11:55 AM, Peter Teoh htmldevelo...@gmail.com wrote: Good sharing and info. I thought it is also useful to share your lectures materials at: http://www.haifux.org/rami_rosen.html which I must

Re: How the follow Starts in Android-Kernel

2013-02-05 Thread Peter Teoh
the *probe* of every modules will be called. Thanks And Regards Ranganath ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh

Re: How the follow Starts in Android-Kernel

2013-02-05 Thread Peter Teoh
http://duartes.org/gustavo/blog/post/how-computers-boot-up this is for x86, not for ARM though. On Wed, Feb 6, 2013 at 10:30 AM, Peter Teoh htmldevelo...@gmail.com wrote: normally in embedded uboot is the bootloader. and to trace this is simple: a. understand how uboot works

Re: How to analyze kernel Oops dump

2013-02-05 Thread Peter Teoh
3.4.0, or 3.4.6 - to be specific: http://lwn.net/Articles/507526/ -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: When does the /dev/sda1 node comes into being ?

2013-02-05 Thread Peter Teoh
procedure? thanks! ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list

Re: hard disk dirver

2013-02-06 Thread Peter Teoh
! -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: thread concurrent file operation

2013-02-06 Thread Peter Teoh
://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Creating scheduler

2013-02-06 Thread Peter Teoh
. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Re: thread concurrent file operation

2013-02-07 Thread Peter Teoh
/kernelnewbies -- Regards, Peter Teoh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: thread concurrent file operation

2013-02-07 Thread Peter Teoh
pointer position. so at the userspace level, different read/write combination will affect the file pointer value - which explained also why userspace locking (for logical reasons) are needed. On Thu, Feb 7, 2013 at 6:23 PM, Peter Teoh htmldevelo...@gmail.com wrote: Multiple concurrent write

  1   2   >