Re: Kernel panic when using initramfs instead of initrd

2013-05-06 Thread Max Filippov
Hi Ivan, On Sun, May 5, 2013 at 1:44 PM, Ivan Nikolaev void...@gmail.com wrote: ... EVERYTHING WORKS if I enable in the kernel some filesystem (like ext2 or squashfs) and create the initrd image of that type and put inside the contents of the directory. Isolinux then boots the kernel this way:

Re: when to remount sysfs ?

2013-05-06 Thread Karel Zak
On Mon, May 06, 2013 at 12:31:17AM +0800, ishare wrote: Hi: As i know , when kernel is booting , sysfs is mounted at /sys before the real root fs is mounted . Then , after the real root fs is mounted , when does i need to remount sysfs at the new /sys location ? I

Re: read PCI memory and config spyce through /dev/mem

2013-05-06 Thread Valdis . Kletnieks
On Mon, 06 May 2013 14:44:03 -, Warlich, Christof said: $ dd if=/dev/mem bs=1 count=1024 skip=4150263808 dd: reading `/dev/mem': Bad address 0+0 records in 0+0 records out 0 bytes (0 B) copied, 6.6658e-05 s, 0.0 kB/s The kernel config help says that _PCI_ memory access is even

question about vlan driver

2013-05-06 Thread Kevin Wilson
Hello, I have a short question about vlan driver; I see in the vlan driver the following code when creating a new vlan interface: vlan_newlink() { ... if (data[IFLA_VLAN_PROTOCOL]) proto = nla_get_be16(data[IFLA_VLAN_PROTOCOL]); else proto = htons(ETH_P_8021Q); ... } see:

Re: question about vlan driver

2013-05-06 Thread Bjørn Mork
Kevin Wilson wkev...@gmail.com writes: Hello, I have a short question about vlan driver; I see in the vlan driver the following code when creating a new vlan interface: vlan_newlink() { ... if (data[IFLA_VLAN_PROTOCOL]) proto = nla_get_be16(data[IFLA_VLAN_PROTOCOL]); else proto =

Re: question about vlan driver

2013-05-06 Thread Kevin Wilson
Hi, Bjorn Thanks a lot for your quick answer. This explains all ! It seems as though there was only one line from this patch was applied, since in the latest git of iproute I see: in include/linux/if_link.h:IFLA_VLAN_PROTOCOL which was added in this patch you mentioned

Device mapper api v/s block device driver api

2013-05-06 Thread neha naik
Hi, Reading a blog on device mapper api got me confused about when one should use device mapper api and when to use block device driver api. I was under the impression that even for stackable device drivers (say a customized block device driver on top of lvm or such) we need to use the block

Re: Device mapper api v/s block device driver api

2013-05-06 Thread Rami Rosen
Hi Just of pure curiosity, can you please provide a link to the blog you had mentioned? Regards Rami Rosen http://ramirose.wix.com/ramirosen On May 6, 2013 10:46 PM, neha naik nehanai...@gmail.com wrote: Hi, Reading a blog on device mapper api got me confused about when one should use

Re: Device mapper api v/s block device driver api

2013-05-06 Thread neha naik
It's a blog written by someone from the newbie community : http://techgmm.blogspot.in/p/writing-your-own-device-mapper-target.html On Mon, May 6, 2013 at 3:16 PM, Rami Rosen roszenr...@gmail.com wrote: Hi Just of pure curiosity, can you please provide a link to the blog you had mentioned?

Major number for multipath block devices

2013-05-06 Thread Kumar amit mehta
Hi, I've a query regarding the major numbers for block devices that the block layer would provide (upon invocation of register_blkdev() with '0' as the major number) for the multipath devices, i.e. If I have one logical volume(Talking in LVM terms)and have two paths to the same logical volume,

Re: Major number for multipath block devices

2013-05-06 Thread Kumar amit mehta
On Mon, May 06, 2013 at 08:09:03PM -0400, Kumar amit mehta wrote: If I have one logical volume(Talking in LVM terms)and have two paths to the same logical volume, then it seems that the two logical volumes will have the same major number(refer [1]). My apologies for typo mistake above. I