Initramfs error during boot

2012-02-26 Thread Sertaç Olgunsoylu
Hi all, I built stable tree and latest(linus' tree) with default configuration and then installed them on my laptop. However, when I try to boot my system with kernels that I built, it cannot boot. It freezes just after selection made on GRUB and nothing is printed on the display. I managed to get

Re: About interrupt handler

2012-02-26 Thread Kosta Zertsekel
On Fri, Feb 24, 2012 at 11:18 PM, Dave Hylands dhyla...@gmail.com wrote: HI Kosta, On Fri, Feb 24, 2012 at 1:08 PM, Dave Hylands dhyla...@gmail.com wrote: Hi Kosta, On Fri, Feb 24, 2012 at 1:19 AM, Kosta Zertsekel zertse...@gmail.com wrote: I'm begin to learn the Kernel and i'm reading

Re: Check if specific functionally is built into the kernel

2012-02-26 Thread Daniel Baluta
On Sun, Feb 26, 2012 at 7:08 PM, Arokux B. aro...@gmail.com wrote: Dear all, I have the following problem. Some functionality can be either built into the kernel or it can be build as a module. In the latter case the application should load the module. Is there a general approach to test if

problem regarding ether_type

2012-02-26 Thread Syed Muhammad Mohsin Kazmi
Hi, I am trying to write down the very basic version of TRILL in linux. TRILL is a protocol which encapsulates the entire packet including ethernet header to forward it to end nodes without the danger of temporary loops. Then it is decapsulated at the bridge having the end host for which the

Re: About interrupt handler

2012-02-26 Thread Dave Hylands
Hi Kosta, On Sun, Feb 26, 2012 at 4:11 AM, Kosta Zertsekel zertse...@gmail.com wrote: On Fri, Feb 24, 2012 at 11:18 PM, Dave Hylands dhyla...@gmail.com wrote: HI Kosta, On Fri, Feb 24, 2012 at 1:08 PM, Dave Hylands dhyla...@gmail.com wrote: Hi Kosta, On Fri, Feb 24, 2012 at 1:19 AM, Kosta

Re: How to know number of user threads from /proc

2012-02-26 Thread Pravin Shedage
Hi, You will get Number of Threads info your process is created is in /proc/pid/status root@kernel:/proc# ls /proc/1951/task/ 1951 1957 2162 root@kernel:/proc# root@kernel:/proc# cat /proc/1951/status | grep -i Threads: Threads:3 root@kernel:/proc# root@kernel:/proc# cat

mask out an irq line

2012-02-26 Thread cheneydeng
hi all, I know that when an interrupt handler is excuting, the irq line which generated the signal will be masked out,however,if the line is shared by many device.Will all be masked out or just the one which is handling now be masked out ?Doed it tell the difference by the forth argument of

task_struct's real_parent vs parent members

2012-02-26 Thread Vimal
Hi, I am looking through kernel 3.2's task_struct, which has two pointers for parents: real_parent and parent (http://lxr.free-electrons.com/source/include/linux/sched.h#L1313) I would like to know why there are two pointers, and how these two differ. init_task's parent and real_parent are

Re: Check if specific functionally is built into the kernel

2012-02-26 Thread Vlad Dogaru
On Sun, Feb 26, 2012 at 7:26 PM, Daniel Baluta daniel.bal...@gmail.com wrote: On Sun, Feb 26, 2012 at 7:08 PM, Arokux B. aro...@gmail.com wrote: Dear all, I have the following problem. Some functionality can be either built into the kernel or it can be build as a module. In the latter case

Problem regarding TRILL encapsulated frames

2012-02-26 Thread Syed Muhammad Mohsin Kazmi
hi all, I have written a code which encapsulates the bridge forwarding traffic with TRILL header for OTHERHOST and OUTGOING and send it by calling a function (forward). On the other side, these packets are received by (br_handle_frames), where i call a function (decapsulate_trill_header)

Re: How to debug system freeze?

2012-02-26 Thread Łukasz Sowa
Thanks Mulyadi, Hi Lukasz :) On Sat, Feb 25, 2012 at 07:17, Łukasz Sowa luk...@gmail.com wrote: It's not that easy. The problem occurs only when I'm going to suspend with closing laptop's lid and it does not happen every time (but mostly yes). I'll try to enable CONFIG_DETECT_SOFTLOCKUP

Re: pagetables used in interrupt context

2012-02-26 Thread 弋天 卜
Hi: I think it is for safe,people can open interrupt inside their own interrupt handler, so kernel must disable it before touch kernel data that must be protected. 在 2012-2-25,1:39,subin gangadharan subingangadha...@gmail.com 写道: Hi 卜弋天, 2.6.35, i checked the function

Re: How to debug system freeze?

2012-02-26 Thread Mulyadi Santosa
Hi Lukasz :) On Mon, Feb 27, 2012 at 08:31, Łukasz Sowa luk...@gmail.com wrote: I'll try to dump memory using FireWire because that's only useful port I have in my laptop. Is that ok? I can't tell for sure, but that sounds feasible. Good luck -- regards, Mulyadi Santosa Freelance Linux

USB CDC ethernet interface from Ubuntu on VirtualBox to Windows 7

2012-02-26 Thread Manavendra Nath Manav
Hi All, I am having a USB CDC ethernet device whose driver exists only for Linux. However, my end application needs to run on Windows. So, I have set up Ubuntu 11.10 on Virtual Box running on Windows-7. Ubuntu is able to register the device but not able to open an interface for it, say eth1, etc.

Re: task_struct's real_parent vs parent members

2012-02-26 Thread Mulyadi Santosa
Hi Vimal... On Mon, Feb 27, 2012 at 03:40, Vimal j.vi...@gmail.com wrote: The documentation in sched.h:1313 says that parent refers to the parent task that would receive SIGCHLD (i.e., the one that issues wait4()).  I followed the wait4() syscall to do_wait(), I still am not able to find

Re: Initramfs error during boot

2012-02-26 Thread Mulyadi Santosa
Hi On Sun, Feb 26, 2012 at 18:13, Sertaç Olgunsoylu sertacolgunso...@gmail.com wrote: Starting up ... mount: mounting /dev/disk/by-uuid/48bfb57f-4750-4537-b563-7094743c161e on /root failed: Invalid argument mount: mounting /dev on /root/dev failed: No such file or directory mount: