Re: Regarding Raid1

2010-12-18 Thread Mulyadi Santosa
data is recovered once default mirror is damaged or how mirror set is created. Hopefully my simple idea would help: AFAIK, RAID is now implemented via device mapper. Precisely, mirror mapping. Thus, I suggest to lurk into device mapper code for further research -- regards, Mulyadi Santosa

Re: PIC IO Memory Access Question

2010-12-18 Thread Mulyadi Santosa
, they react differently on different architecture. Have you ever considered that situation? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with unsubscribe

Re: Regarding Raid1

2010-12-18 Thread Mulyadi Santosa
for 2.6, but it is far less functional than MD. I see...so basically DM isn't meant for RAID...? ie. DM does not support raid 10, 4, 5, or 6.  MDRAID supports all of those including multiple varieties of raid 10. aha but wait, raid 10? or 1+0? -- regards, Mulyadi Santosa Freelance Linux

Re: Regarding Raid1

2010-12-18 Thread Mulyadi Santosa
-- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: strncpy_from_user called from invalid context?

2010-12-18 Thread Mulyadi Santosa
that blocks-- boom? -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: PIC IO Memory Access Question

2010-12-17 Thread Mulyadi Santosa
are available, please? (I am terribly sorry, but you are only one person I know here.) Thank you in advance. As far as I can tell, your mail reach kernelnewbies list as well :) NB: I am available...but not sure if I could help :) -- regards, Mulyadi Santosa Freelance Linux trainer and consultant

Re: PIC IO Memory Access Question

2010-12-17 Thread Mulyadi Santosa
is considered valid or not. -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: issue with Vmalloc

2010-12-16 Thread Mulyadi Santosa
On Fri, Dec 17, 2010 at 11:18, naveen yadav yad.nav...@gmail.com wrote: Nice document, This document have good info . Thanks :) If you have feedback or corrections, please let me know so I could possibly release erratas... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant

Re: What is the practical significance of fork

2010-12-15 Thread Mulyadi Santosa
during fork() -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: EXPORT_SYMBOL

2010-12-14 Thread Mulyadi Santosa
version), use exactly same gcc version. -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: issue with Vmalloc

2010-12-14 Thread Mulyadi Santosa
/meminfo. Hopefully you can find the answer of your questions by yourself... Good luck...and let me know your feedback about that article.. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from

Re: ADMIN: end of nl.linux.org, lists will move

2010-12-14 Thread Mulyadi Santosa
... -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: EXPORT_SYMBOL

2010-12-13 Thread Mulyadi Santosa
Hi Hemanth. On Mon, Dec 13, 2010 at 17:05, Hemanth Kumar hemw...@yahoo.co.in wrote: Hi Mulaydi Robert,                Below is the info that is requested, OK let's see --- On Sun, 12/12/10, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: GCC _  arm-none-linux-gnueabi-gcc

Re: EXPORT_SYMBOL

2010-12-12 Thread Mulyadi Santosa
module (.ko) file? PS: as long as you make sure the kernel config is about the same on those boards, excluding specific arch config, then I think you might also need to hunt something out of kernel space. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com

Re: EXPORT_SYMBOL

2010-12-11 Thread Mulyadi Santosa
doesn't throw it away. Other (untested and unrealiable) idea is to use volatile identifier...AFAIK, that would prevent symbols to be optimized out. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com

Re: EXPORT_SYMBOL

2010-12-10 Thread Mulyadi Santosa
EXPORT_SYMBOL_GPL()? And what I am afraid is that all those symbol are wiped out due to optimization.    static int __init hi(void)  {      printk(KERN_INFO module m2 being loaded.\n); So if my above suspicion is right, how about doing printk(KERN_INFO %d\ rday_3++) just to cheat...? -- regards, Mulyadi

Re: EXPORT_SYMBOL

2010-12-10 Thread Mulyadi Santosa
Hi Rob On Sat, Dec 11, 2010 at 00:23, Robert P. J. Day rpj...@crashcourse.ca wrote: On Fri, 10 Dec 2010, Mulyadi Santosa wrote:   then i did cat /proc/kallsyms | grep rday_3    i can see the rday_3 in that file,But still I am unable to insmod the m3.ko The address you gaveif I

Re: some questions about times

2010-12-09 Thread Mulyadi Santosa
. -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: mutex unlock order

2010-12-09 Thread Mulyadi Santosa
, why? and also, is it possible to use more fine grained lock...which is specific to both task, thus decreasing lock grab interval? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from

Re: mutex unlock order

2010-12-09 Thread Mulyadi Santosa
is a list? Then, how about making a circular list? And insertion/deletion is done via RCU? Regarding the counter, I think we can create a counter specific lock... CMIIW -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training

Re: QEMU Uncompressing Linux.... stalls

2010-12-09 Thread Mulyadi Santosa
are enabled? CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y In short, it's a way to make old userspace tools understand the new way of Linux kernel represents device structuresKindly try it and tell us if it does fix the problem.. -- regards, Mulyadi Santosa Freelance Linux trainer

Re: Video driver error(?)

2010-12-09 Thread Mulyadi Santosa
experience to me as well. lesson learned: lack of free space could introduce hell lot of problem we could't even imagine could exist :D -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from

Re: {Linux Kernel + Ramfs}ISOImage on VirtualBox Howto?

2010-12-08 Thread Mulyadi Santosa
it even faster in some cases. The same trick should also apply on qemu-kvm as well AFAIK. Your call :) -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email

Re: scheduler_tick() confusing comment: called from fork code

2010-12-08 Thread Mulyadi Santosa
/linux+v2.6.12/kernel/sched.c#L1178 says so OK, Lalit, it's your chance to submit a patch to LKML to fix this issue :) What do you think? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe

Re: Layer-7 software balance in kernel

2010-12-08 Thread Mulyadi Santosa
/wiki/Load_balancing#Layer-7_Load_Balancing would fit your bill :) Have a look :) -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies

Re: VFS layer filesytem tracking

2010-12-08 Thread Mulyadi Santosa
On Wed, Dec 8, 2010 at 23:00, sanoj k.u.sa...@gmail.com wrote: Hello all, I want to track the read/write operations for a particular inode at the vfs layer. Try inotify -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training

Re: scheduler_tick() confusing comment: called from fork code

2010-12-07 Thread Mulyadi Santosa
interrupt is reenabled...thus indirectly trigerring scheduler_tick. While scheduler_tick itself is called in every timer tick. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list

Re: Invoking e100_open from userspace

2010-12-03 Thread Mulyadi Santosa
of network interface some of them are rtl8130 and e1000. The complete supported model could be seen by using this command: $ qemu-system-x86_64 -net nic,model=? qemu: Supported NIC models: ne2k_pci,i82551,i82557b,i82559er,rtl8139,e1000,pcnet,virtio -- regards, Mulyadi Santosa Freelance Linux trainer

Re: Debugging kernel modules

2010-12-03 Thread Mulyadi Santosa
a must nowadays I guess...you already prepare somekind of High Availability setup between those servers. And then? Same like you debug your casual user space programs. So I ask you back, how do you usually do that such job? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant

Re: double kfree

2010-12-01 Thread Mulyadi Santosa
#L519 then I assume it simply detects that it is already freed and returns immediately. b) Can kernel detect double kfree() ? not sure, but I saw a call to kmemleak facility close to the line I mentioned above...likely it could detect double [k]free() -- regards, Mulyadi Santosa Freelance

Re: Change of Default kernel page size i.e 4KB

2010-12-01 Thread Mulyadi Santosa
to take . I think you should read hugepage-mmap.c, hugepage-shm.c,map_hugetlb.c and hugetlbpage.txt in http://lxr.linux.no/linux+v2.6.36/Documentation/vm/ -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com

Re: kernel build on ubuntu 10.04 fails, buffer overflow detected

2010-11-30 Thread Mulyadi Santosa
with FORTIFY checking. Try to disable it first...I guess it must be -D_FORTIFY_SOURCE=0. NB: something is overflowing -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email

Re: FW: problem setting up affinity mask for irq intrupt

2010-11-30 Thread Mulyadi Santosa
? -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: FW: problem setting up affinity mask for irq intrupt

2010-11-30 Thread Mulyadi Santosa
always running, L1/L2/L3 cache is effectively utilizedeverybody happy :D -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies

Re: FW: problem setting up affinity mask for irq intrupt

2010-11-30 Thread Mulyadi Santosa
, Mulyadi Santosa Freelance Linux trainer 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

Re: FW: problem setting up affinity mask for irq intrupt

2010-11-30 Thread Mulyadi Santosa
in the systems with CONFIG_HOTPLUG_CPU enabled! And this: http://www.alexonlinux.com/why-interrupt-affinity-with-multiple-cores-is-not-such-a-good-thing could answer some of your headache regarding the problem :) -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog

Re: How to find a father for orphans?

2010-11-28 Thread Mulyadi Santosa
. -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: How the real-time priority take effect?

2010-11-23 Thread Mulyadi Santosa
according to current system load isn't a concern for a real time process. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar

Re: how does macro to get base address register in configuration space works

2010-11-22 Thread Mulyadi Santosa
)].start) AFAIK, for example dev is foo, bar is bar, then pci_resource_start(foo,bar) becomes: foo-resource[bar].start Seems like calling a function of field, which in turns is coming from a pointer, no? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog

Re: how is a device detected

2010-11-22 Thread Mulyadi Santosa
there (from device driver), then it is captured and registered in a subsystem...that is kobject..I think..which is related to sysfs. Greg KH and others might know better -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training

Re: guidelines, faqs and dos and don'ts document

2010-11-22 Thread Mulyadi Santosa
On Mon, Nov 22, 2010 at 17:42, Anuz Pratap Singh Tomar chambilketha...@gmail.com wrote: So I guess document is ready to be used/uploaded to kerrnelnewbie site if there are no more points/suggestions or criticism. You have my support... the document looks good! -- regards, Mulyadi Santosa

Re: Why the kernel is located in user space?

2010-11-22 Thread Mulyadi Santosa
there... Yes, of course, but it just meant it can, not it must be. This is strictly design decision IMO -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email

Re: [OOT] Core Duo: closer as Pentium M or Pentium 4 architecture

2010-11-20 Thread Mulyadi Santosa
architecture, thus close as Pentium M? -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: guidelines, faqs and dos and don'ts document

2010-11-20 Thread Mulyadi Santosa
, Mulyadi Santosa Freelance Linux trainer 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

[OOT - Might be offensive] Re: Re: guidelines, faqs and dos and don'ts document

2010-11-20 Thread Mulyadi Santosa
I against people who wanna ask when he/she meets trouble? No. But if he/she asked like he/she wanna be treated like somekind of messenger of God, please help yourself. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training

Re: [OOT] Core Duo: closer as Pentium M or Pentium 4 architecture

2010-11-20 Thread Mulyadi Santosa
no real benchmark) -- regards, Mulyadi Santosa Freelance Linux trainer 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

[OOT] Core Duo: closer as Pentium M or Pentium 4 architecture

2010-11-18 Thread Mulyadi Santosa
of Pentium 4. So, which one is right? I asked this because I wanna optimize my kernel optimization with the hope of reducing power consumption as much as possible in kernel space (besides the no_hz and ticks frequency etc of course). Thanks in advance.. -- regards, Mulyadi Santosa Freelance Linux

Re: mouse commands

2010-11-18 Thread Mulyadi Santosa
On Thu, Nov 18, 2010 at 16:13, Bond jamesbond.2...@gmail.com wrote: Hi,as mentioned on this link It's unreadable, at least in my side. I think the best way here is to just paste the code here or somewhere like pastebin.com -- regards, Mulyadi Santosa Freelance Linux trainer and consultant

Re: mouse commands

2010-11-18 Thread Mulyadi Santosa
poll() underneath.. 4. If there's indeed input (in buffer) read it...I think it just read 1 byte. If there no input, break the loop altogether. 5. Back to (1). -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com

Re: Why time() and gettimeofday() can return different values

2010-11-18 Thread Mulyadi Santosa
multiple times. AFAIK seq lock is unblocking lock, thus to avoid contention over several reader that might need time read too. Hopefully I am offering logical explanation...all above are purely my interpretation based directly from code reading. -- regards, Mulyadi Santosa Freelance Linux trainer

Re: hi

2010-11-18 Thread Mulyadi Santosa
the old days e.g : RTFM, STFW. Or more economically, like Manish has said take a deep breath Mulyadithen press Delete. PS: Now I know why Delete button, at least in my HP laptop, is positioned in upper rightmost :) -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog

Re: Why time() and gettimeofday() can return different values

2010-11-18 Thread Mulyadi Santosa
, hopefully to optimize the function -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: hi

2010-11-18 Thread Mulyadi Santosa
competition but also high laziness among students. They go to CS but they don't really want to study CS. So, how would that be? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send

Re: hi

2010-11-17 Thread Mulyadi Santosa
first? -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: mirroring /dev somewhere else

2010-11-15 Thread Mulyadi Santosa
:) well, nice...but uhm, pardon me, cp? Are you sure? cp is copying content, you know...while mount --bind it's like doing symbolic link..and IMHO bind mount should be the choice. But maybe I missed something... All in all, congrats ! :) -- regards, Mulyadi Santosa Freelance Linux trainer

Re: Pointers for porting a network driver

2010-11-14 Thread Mulyadi Santosa
changes ,data structure changes ,and other stuffs which I need to take care while porting. Not so up to update, but hopefully still somewhat useful: http://lwn.net/Articles/2.6-kernel-api/ -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training

Re: how does ifconfig communicates with network device driver strace output given

2010-11-12 Thread Mulyadi Santosa
=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0 It's ioctl.. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar

Re: mirroring /dev somewhere else

2010-11-12 Thread Mulyadi Santosa
-- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: Exact leak location in KMemleak Output

2010-11-10 Thread Mulyadi Santosa
-leaks-in-kernel.html Personally, I really appreciate your effort. I know it takes time and energy, but you do help others who might have quite the same problem in the future. Great job! -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training

Re: about kmalloc and kmem_cache_alloc

2010-11-05 Thread Mulyadi Santosa
above suspicions... -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: Making /proc/kallsyms readable only by root

2010-11-05 Thread Mulyadi Santosa
/11/4/94 Oh wait, maybe this patch mean, by restricting it to be readable only by root, we reduce attack vector, right? Thus, one can't easily predicts address symbols, right? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training

Re: Making /proc/kallsyms readable only by root

2010-11-05 Thread Mulyadi Santosa
/2010/11/4/94 Well well, I just know that we can overwrite some entries in kallsyms. Am I correct? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email

Re: is this link valid

2010-11-02 Thread Mulyadi Santosa
and then somebody here could give more precise suggestion? -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: how does kernel detects presence of a particular device

2010-11-02 Thread Mulyadi Santosa
...or chipset) that send somekind of signal (of announcement). Driver picks it up since the probe function had been registered before in that bus line (or irq line). Since then, driver takes over whenever there are data sent or received... -- regards, Mulyadi Santosa Freelance Linux trainer

Re: how to efficient use linux caches

2010-11-01 Thread Mulyadi Santosa
on cgroups...who knows it is doable via cgroups. but regarding the size of memory allocated for a program or programs launched by a user, you can check ulimit and/or cgroups. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Mulyadi Santosa
it into LKD3, simply being too new. Not sure if it's a feature or not, but I saw in 2.6.36, anticipatory I/O scheduler is no longer exist. Is that true? And what could be the reason? Also, I saw XIP in ext2 filesystem. Quite neat..but again, why? -- regards, Mulyadi Santosa Freelance Linux trainer

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Mulyadi Santosa
works etc NB: Does LKD3 mention about Kernel Same page Merge (KSM)? No need to be deep, but I think it's interesting to mention it since it will reduce memory consumption done by virtual machine/hypervisor (KVM, for example). -- regards, Mulyadi Santosa Freelance Linux trainer

Re: swap storms on low memory i386, tasks blocked on i386 and amd64 for kernel 2.6.36-git6

2010-10-31 Thread Mulyadi Santosa
) to reduce latency during high I/O... but I can't recall which patch that is. Try to google... NB: ftrace might help here please kindly read the ftrace tutorial posted in lwn.net in few latest editions... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Mulyadi Santosa
or email me, whatever you prefer. I think I'll keep posting in this kernelnewbies' thread for now..if everybody with this of course -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Mulyadi Santosa
in ext2 filesystem. Quite neat..but again, why?  hmmm ... not sure, i'll look into that. I just speculate it is due to fact that ext2 is used in embedded stuffs..thus execute in place reduce page cache usage..especially for one time running application. -- regards, Mulyadi Santosa Freelance Linux

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Mulyadi Santosa
limited amount of ram and your code running in rom or flash. Make senses to me...thanks for the explanation greg. Anyway, why ext3 doesn't have similar feature? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com

Re: does get_user_byte and put_user_byte exist

2010-10-31 Thread Mulyadi Santosa
2.0.x or at least the beginning of 2.2.x era. LXR confirms no such functions exist. I think it's now called copy_from_user() and copy_to_user() -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com

Re: Exact leak location in KMemleak Output

2010-10-27 Thread Mulyadi Santosa
: unreferenced object 0xf8211000 (size 512):  comm insmod, pid 9602, jiffies 3666022 (age 1553.469s) That's because the code path that causes the leak is running on behalf of insmod process -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training

Re: Exact leak location in KMemleak Output

2010-10-27 Thread Mulyadi Santosa
it out. Thanks for sharing your result too... :) -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: Compiling a file without O2 in linux kernel

2010-10-26 Thread Mulyadi Santosa
On Tue, Oct 26, 2010 at 12:09, Ram Sharma ram99.sha...@gmail.com wrote: How can I edit net/core/Makefile to compile tmp.c without O2? AFAIK, check the Makefile in the top directory of the kernel source, then manually delete -O2 in CFLAGS regards, Mulyadi Santosa Freelance Linux trainer

Re: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'

2010-10-26 Thread Mulyadi Santosa
? -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: /dev/mem

2010-10-26 Thread Mulyadi Santosa
that used it once... - X server/ X org...once use it too... -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: Learning Memory management and process management.

2010-10-25 Thread Mulyadi Santosa
word like please? Or is it common in your family to command somebody like your slave? Anyway, try Linux Device Driver 3rd edition. Yes it's old...but it's amazing. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training

Re: Re: Disable L1/L2/L3 cache and MTRR

2010-10-21 Thread Mulyadi Santosa
be that the whole code is already in the same cache line thus subsequent call doesn't fetch anything from RAM. This is assuming everything is (almost) perfectly cache aligned. BTW, are all the codes executed? or are we hitting 10/90 percent scenario here? -- regards, Mulyadi Santosa Freelance Linux trainer

Re: Re: Disable L1/L2/L3 cache and MTRR

2010-10-21 Thread Mulyadi Santosa
Hi.. On Fri, Oct 22, 2010 at 09:11, Andev debian...@gmail.com wrote: Even after re-enabling MTRR range, the slowdown persists.(check my other mail for details). OK then, I think I second that. Quite obvious..at least from your provided evidence -- regards, Mulyadi Santosa Freelance

Re: cond_resched

2010-10-20 Thread Mulyadi Santosa
.  Isn't there something already capable of doing that? Try oprofile or ltt-ng...you won't be disappointed :) -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email

Re: cond_resched

2010-10-19 Thread Mulyadi Santosa
section is a big no no c. in this code path, are we likely to see another process coming to be runnable? probably more..the idea is, whenever you see a chance to improve throughput while reducing latency at the same time, re scheduling is worth to call IMHO -- regards, Mulyadi Santosa Freelance Linux

Re: /proc/meminfo - Diagram

2010-10-18 Thread Mulyadi Santosa
description that I have written: http://dl.fullcirclemagazine.org/issue39_en.pdf (page 14-20) Happy reading... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email

Re: How to do DIRECT IO on kernel buffer

2010-10-18 Thread Mulyadi Santosa
of direct I/O Warning: this is a thought from non filesystem guy :D -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar

Re: How to do DIRECT IO on kernel buffer

2010-10-18 Thread Mulyadi Santosa
On Mon, Oct 18, 2010 at 00:22, Rajat Sharma fs.ra...@gmail.com wrote: My guess is get_user_pages called to pin pages in memory is not happy with kernel pages and it is returning -EFAULT. I second that if not, the function name wouldn't be labeled user... -- regards, Mulyadi Santosa

Re: Listing hardware devices, chipset info in the PC

2010-10-17 Thread Mulyadi Santosa
? If yes, can you please help with proper link or is there any means to get    hardware information through software. You mean this? $ cat /sys/devices/system/clocksource/clocksource0/available_clocksource hpet acpi_pm -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog

Re: Qemu PowerPC System emulation - Any experiences?

2010-10-17 Thread Mulyadi Santosa
think qemu-devel list is more appropriate place to discuss it -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar

Re: Reading performance counter within kernel

2010-10-17 Thread Mulyadi Santosa
? Surely there must be reusable APIs there or netlink or something... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar

Re: where does the stack of a process start

2010-10-17 Thread Mulyadi Santosa
, canary or something like that... -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: Learning harware ...

2010-10-16 Thread Mulyadi Santosa
On Sat, Oct 16, 2010 at 23:01, Abu Rasheda rcpilot2...@gmail.com wrote: Trying once more. It did not show up in my mail box. Any suggestions ? I am not the guy in this field, but have you considered doing FPGA hacking? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog

Re: Tools Device Drivers

2010-10-16 Thread Mulyadi Santosa
with kernel janitorial.. -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: Setting a timer for less than 1 ms

2010-10-15 Thread Mulyadi Santosa
On Fri, Oct 15, 2010 at 16:56, Jason Nymble jason.nym...@gmail.com wrote: Look at hrtimer API. Just make sure you have HPET too: $ cat /sys/devices/system/clocksource/clocksource0/available_clocksource -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog

Re: Trouble making module

2010-10-13 Thread Mulyadi Santosa
for sharing... :) This kind of simple typo should be documented somewhere perhaps you could kindly write it down in kernelnewbies wiki in FAQ section? or troubleshooting or anything alike? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training

Re: Linux free memory

2010-10-11 Thread Mulyadi Santosa
to zero but again...it's just my raw analysis. Feel free to accept it or not... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with unsubscribe

Re: Trouble making module

2010-10-11 Thread Mulyadi Santosa
On Mon, Oct 11, 2010 at 22:20, shivanth m p fordearli...@gmail.com wrote: Here's my makefile  obj-m +=mydiver.o ^^ sure that's not a typo? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training

Re: access_ok

2010-10-10 Thread Mulyadi Santosa
the source address is within the ok-ed range..that is..the user space range. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar

Re: Laptop extras for unsupported laptop brand

2010-10-10 Thread Mulyadi Santosa
it with people like Greg Kroah Hartman. Fortunately, he's in kernelnewbies too :) -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar

Re: Reading TLB Entries

2010-10-10 Thread Mulyadi Santosa
me with your humble but slick analysis! I back you up! :) NB: if the above Rik's statement confuse you, let us know so we could elaborate it... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com

Re: Working with Ubuntu Linux

2010-10-10 Thread Mulyadi Santosa
lines of the boot message before it got hung. -- regards, Mulyadi Santosa Freelance Linux trainer 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

Re: Reading TLB Entries

2010-10-10 Thread Mulyadi Santosa
, Mulyadi Santosa Freelance Linux trainer 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

  1   2   3   4   5   6   7   8   9   >