Documentation on device-mapper and friends

2013-04-28 Thread Kumar Amit Mehta
I'm looking for information on device-mapper, the kernel space utility for Logical Volume Management (LVM2). It seems that the relevant code resides under drivers/md and a lot of other information is under Documentation/device-mapper/ That's fine, but is there any other document that gives more fi

Re: Documentation on device-mapper and friends

2013-04-28 Thread Greg Freemyer
Kumar Amit Mehta wrote: >I'm looking for information on device-mapper, the kernel space utility >for >Logical Volume Management (LVM2). It seems that the relevant code >resides under >drivers/md and a lot of other information is under >Documentation/device-mapper/ >That's fine, but is there an

Re: oops in a kernel module

2013-04-28 Thread Valdis . Kletnieks
On Sat, 27 Apr 2013 19:34:00 +0300, Kevin Wilson said: > Hello, > static int __init init_zeromib(void) This is your init routine... > { > int ret = 0; > printk("in %s\n",__func__); Missing KERN_DEBUG or similar here. This can cause it to fail to appear in dmesg output, causing much confusion.

Re: oops in a kernel module

2013-04-28 Thread Kevin Wilson
Valdis, Thanks a lot for you answer. this_cpu_sub() in fact is defined thus: # define this_cpu_sub(pcp, val) this_cpu_add((pcp), -(val)) so it does not matter so much. I did not know this_cpu_write() and it does work. Is __this_cpu_write() an atomic operation ? rgs Kevin On Sun, Apr 2

still confused by kernel compile msg, "sizeof(struct x86cpu_device_id)=12 ..."

2013-04-28 Thread Robert P. J. Day
i'm just getting back to trying to figure out what's happening with a simple kernel configure and build on my 64-bit ubuntu system, and can't believe no one else is running into this issue. with the current "git pull" of linus' tree, and a really boring configuration, the build eventually fai