Re: GRUB question

2013-01-28 Thread horseriver
On Mon, Jan 28, 2013 at 12:05:35PM +0530, Mandeep Sandhu wrote: On Mon, Jan 28, 2013 at 2:07 AM, horseriver horseriv...@gmail.com wrote: hi:) Is /boot/initrd.img a root filesystem? what is the filetype of it? Yes, it's a rootfs with minimal stuff needed for booting a workable system.

Re: SWAP gone when running mainline

2013-01-28 Thread Mulyadi Santosa
On Sun, Jan 27, 2013 at 8:11 PM, Martin Kepplinger mart...@posteo.de wrote: Sorry, that wasn't clear. Nope, I just have one distro: Lubuntu. I installed a rc-mainline-kernel and when I boot into it, there is no swap. On the distro-kernel there of course is. thanks Please don't do top

Re: GRUB question

2013-01-28 Thread Mulyadi Santosa
On Mon, Jan 28, 2013 at 5:10 AM, horseriver horseriv...@gmail.com wrote: Does this /boot/initrd.img file come out when building kernel ? how to build it? you use your distro supplied /sbin/mkinitrd or /sbin/mkinitramfs -- regards, Mulyadi Santosa Freelance Linux trainer and consultant

Re: GRUB question

2013-01-28 Thread horseriver
On Mon, Jan 28, 2013 at 03:07:13PM +0700, Mulyadi Santosa wrote: On Mon, Jan 28, 2013 at 5:10 AM, horseriver horseriv...@gmail.com wrote: Does this /boot/initrd.img file come out when building kernel ? how to build it? you use your distro supplied /sbin/mkinitrd or /sbin/mkinitramfs

Re: SWAP gone when running mainline

2013-01-28 Thread Martin Kepplinger
On 2013-01-28 09:05, Mulyadi Santosa wrote: On Sun, Jan 27, 2013 at 8:11 PM, Martin Kepplinger mart...@posteo.de wrote: Sorry, that wasn't clear. Nope, I just have one distro: Lubuntu. I installed a rc-mainline-kernel and when I boot into it, there is no swap. On the distro-kernel there of

Re: GRUB question

2013-01-28 Thread Anuz Pratap Singh Tomar
On Sun, Jan 27, 2013 at 10:50 PM, horseriver horseriv...@gmail.com wrote: On Mon, Jan 28, 2013 at 03:07:13PM +0700, Mulyadi Santosa wrote: On Mon, Jan 28, 2013 at 5:10 AM, horseriver horseriv...@gmail.com wrote: Does this /boot/initrd.img file come out when building kernel ? how to

method to get backtrace of kernel function?

2013-01-28 Thread horseriver
hi: Is there method for getting bt of a kernel functions? thanks! ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

TCP checksum not transmited to the wire!

2013-01-28 Thread Khaled Dassouki
Hello, I am trying to use netfilter to program my own firewall. To make a forwarding test to the local machine, I made a test program that change a certain destination IP address in the PRE ROUTING HOOK to my local machine, I changed back the source IP address in the POST ROUTING hook to the old

Re: SWAP gone when running mainline

2013-01-28 Thread Mulyadi Santosa
Hi Martin... On Mon, Jan 28, 2013 at 5:21 PM, Martin Kepplinger mart...@posteo.de wrote: it was rc4, now it's 3.8.0-rc5. My fstab: # file system mount point type options dump pass proc/proc procnodev,noexec,nosuid 0 0 # / was on /dev/sda1 during

Re: method to get backtrace of kernel function?

2013-01-28 Thread Mulyadi Santosa
On Mon, Jan 28, 2013 at 12:17 PM, horseriver horseriv...@gmail.com wrote: hi: Is there method for getting bt of a kernel functions? IIRC, you can use dump_stack() function. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training:

RE: TCP checksum not transmited to the wire!

2013-01-28 Thread Craig Jackson
Many server-grade systems these days have TCP checksum offloads. Could this be what you're seeing? Craig Jackson ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

RE: TCP checksum not transmited to the wire!

2013-01-28 Thread Khaled Dassouki
Thanks Graig for your reply. I suspected it. I disabled TCP offload using ethtool but nothing changed. below is the ethtool output: sudo ethtool -k eth0 Offload parameters for eth0: rx-checksumming: off tx-checksumming: off scatter-gather: off tcp-segmentation-offload: off

Linux Kernel Networking document (free, 178 pages doc)

2013-01-28 Thread Rami Rosen
Hi everyone, You can find here an up to date and detailed document in pdf (178 pages) about Linux Kernel Networking; going deep into design and implementation details as well as the theory behind it: http://media.wix.com/ugd//295986_931b8bcf34d93419d46e05b5aa5d0216.pdf I believe that

Re: GRUB question

2013-01-28 Thread Valdis . Kletnieks
On Mon, 28 Jan 2013 06:10:36 +0800, horseriver said: On Mon, Jan 28, 2013 at 12:05:35PM +0530, Mandeep Sandhu wrote: On Mon, Jan 28, 2013 at 2:07 AM, horseriver horseriv...@gmail.com wrote: hi:) Is /boot/initrd.img a root filesystem? what is the filetype of it? Yes, it's a rootfs

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

2013-01-28 Thread Román
El 28/01/13 17:53, Rami Rosen escribió: Hi everyone, You can find here an up to date and detailed document in pdf (178 pages) about Linux Kernel Networking; going deep into design and implementation details as well as the theory behind it:

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

2013-01-28 Thread Thiago Peixoto
Great! Thank you! 2013/1/28 Román ro...@mailoo.org El 28/01/13 17:53, Rami Rosen escribió: Hi everyone, You can find here an up to date and detailed document in pdf (178 pages) about Linux Kernel Networking; going deep into design and implementation details as well as the theory behind

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

2013-01-28 Thread Anuz Pratap Singh Tomar
On Mon, Jan 28, 2013 at 4:53 PM, Rami Rosen roszenr...@gmail.com wrote: Hi everyone, You can find here an up to date and detailed document in pdf (178 pages) about Linux Kernel Networking; going deep into design and implementation details as well as the theory behind it:

Re: guides to board files - device-tree and Android - mainline?

2013-01-28 Thread Paul Wise
On Sat, 2013-01-26 at 16:13 +0100, Matthias Brugger wrote: there are several parts of Android Thanks for the pointers! If you want to add the board itself and it is ARM based, then you have to create a device tree file. I think the older board files are no more accepted in the mainline

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

2013-01-28 Thread Mandeep Sandhu
On Mon, Jan 28, 2013 at 10:23 PM, Rami Rosen roszenr...@gmail.com wrote: Hi everyone, You can find here an up to date and detailed document in pdf (178 pages) about Linux Kernel Networking; going deep into design and implementation details as well as the theory behind it:

Re: GRUB question

2013-01-28 Thread horseriver
Of course, an initrd on floppy is kind of silly, because you still need to find someplace else to fit the actual kernel - which hasn't fit on a floppy for quite some time. Do we must need initrd.img to boot system ? Does this /boot/initrd.img file come out when building kernel

use of EXPORT_SYMBOL()

2013-01-28 Thread horseriver
hi:) In kernel code ,what is the use of EXPORT_SYMBOL()? Does it export a function to user application , so this function can be used in user application ? thanks! ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: method to get backtrace of kernel function?

2013-01-28 Thread Mulyadi Santosa
Hi :) On Tue, Jan 29, 2013 at 3:53 AM, horseriver horseriv...@gmail.com wrote: On Mon, Jan 28, 2013 at 11:09:56PM +0700, Mulyadi Santosa wrote: On Mon, Jan 28, 2013 at 12:17 PM, horseriver horseriv...@gmail.com wrote: hi: Is there method for getting bt of a kernel functions? IIRC,

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

2013-01-28 Thread Mulyadi Santosa
On Mon, Jan 28, 2013 at 11:53 PM, Rami Rosen roszenr...@gmail.com wrote: Hi everyone, You can find here an up to date and detailed document in pdf (178 pages) about Linux Kernel Networking; going deep into design and implementation details as well as the theory behind it: Rami, I really