On Mon, May 5, 2014 at 5:58 PM, Mandeep Sandhu
wrote:
> +1 to this question.
>
> I too started off early, but now I'm busy with my current work and
> paused on the assignments.
>
> -mandeep
>
> On Mon, May 5, 2014 at 5:25 PM, Narendra Joshi wrote:
>> Will the Eudyptula Challenge be always around?
Hi,
When system is going for shutdown, shutdown handler of each device
driver is called. Does kernel in this sequence calls remove handler ?
I believe that remove is not called if driver is built-in. Is my
understanding correct ?
Thanks,
Rahul
___
Ker
On Thu, Feb 20, 2014 at 9:06 PM, wrote:
> On Thu, 20 Feb 2014 20:36:44 +0530, Rahul Bedarkar said:
>
>> "Often the open(2) call has unwanted side effects, that can be avoided
>>under Linux by giving it the O_NONBLOCK flag."
>>
>> I have seen op
Hi,
In ioctl man page, mentioned that
"Often the open(2) call has unwanted side effects, that can be avoided
under Linux by giving it the O_NONBLOCK flag."
I have seen open man page but can't find what are side effects of open.
Does anybody know what are side effects of open in general ?
try removing __devinit and __devexit from probe and remove. This is not
needed as it is module.
On Tue, Jul 30, 2013 at 4:36 PM, Vignesh Radhakrishnan <
vignesh1...@gmail.com> wrote:
> Hi,
>
> I am facing the following error when i am building the kernel.
>
>
> ERROR: modpost: Found 2 section mi
Hi,
I am trying to write small program to get CPU usage for a particular
process. My logic is to read user, nice, system, idle values from
/proc/stat. Then read user and system time from /proc//stat. Then wait
for some time and again read same values. After that I am doing following
calculations
C
Hi,
Can you suggest book on Linux kernel and device drivers which covers kernel
version 3.0 on words?
Thanks,
Rahul B.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi,
When I remove pen-drive, I am seeing following logs
[ 132.968942] Disconnect Detected Interrupt++ (Host) a_host
[ 133.196692] hub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
[ 133.207595] usb 1-1: USB disconnect, device number 2
[ 164.420649] sd 0:0:0:0: Device offlined - not
n 8, 2013 at 11:08 AM, Rahul Bedarkar wrote:
> >
> > Ok. in init/main.c we call do_basic_setup(). Where do_initcalls call
> each of init functions from __early_initcall_end to __initcall_end. But I
> don't know from where these values gets initialized.
>
> If you lo
Ok. in init/main.c we call do_basic_setup(). Where do_initcalls call each
of init functions from __early_initcall_end to __initcall_end. But I don't
know from where these values gets initialized.
On Tue, Jan 8, 2013 at 2:10 PM, Rahul Bedarkar wrote:
> I have gone through LDD3 page 31
Hi,
When I attach pen-drive, I am seeing following logs. And when I
remove pen-drive, file system does not unmount for 10-15 secs.
[ 35.183406] usb 1-1: new full-speed USB device number 2 using dwc_otg
[ 35.440812] usb 1-1: not running at top speed; connect to a high speed
hub
[ 35.456740]
?
Thanks,
Rahul
On Fri, Jan 4, 2013 at 6:52 PM, Tobias Boege wrote:
> On Fri, 04 Jan 2013, Rahul Bedarkar wrote:
> > Hi,
> >
> > This may be stupid question.
> >
> > When we compile external module and insert it, it's init function is
> called
> &
Hi,
This may be stupid question.
When we compile external module and insert it, it's init function is called
and when we remove it, it's exit function gets called.
What happens in case of built-in modules? When it's init and exit is
called? May be take example of one of auxdriver.
Thanks,
Rahu
Thanks. So with asmlinkage we request compiler to put args on stack. What
is advantage of this to start_kernel or in general to other functions ?
Regards,
Rahul
On Thu, Jan 3, 2013 at 9:34 PM, Mulyadi Santosa
wrote:
> On Thu, Jan 3, 2013 at 7:40 PM, Rahul Bedarkar wrote:
> > Hi,
>
Hi,
When driver provides sys fs interface for user space programs, how we
specify name of file to be created ?
Thanks,
Rahul B.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi,
When ioctl() is called from user space, how device driver related to it
comes into picture ? What is flow from user space to kernel space ?
Thanks,
Rahul Bedarkar
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http
Hi,
I am using udevadm info to get information about connected block devices.
I have attached usb device and disabled auto mounting of it. I can see
kernel logs that device is added and node is created.
But when I use udevadm info --export-db, I can't see device info of
/dev/sdb1
If I use udeva
or absolute rotation happened, if these were
clockwise or counter clockwise, etc. And in case of touchscreen driver,
touch events ?
Thanks,
Rahul Bedarkar
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org
Can you write command here, how you have applied patches ?
Packages (.deb, .rpm and others) meant to build and installed automatically.
You can build and install it by following command
$sudo rpm -i
On Fri, Sep 28, 2012 at 11:51 AM, K Arun Kumar wrote:
> I have a rpm for a module which I ext
Thanks Michi and Peter !
On Fri, Sep 28, 2012 at 10:53 AM,
wrote:
> Hi!
>
> On 17:19 Wed 26 Sep , Rahul Bedarkar wrote:
>> Hi,
>>
>> I have to capture kernel udev events through libudev. One of API
>> provides asynchronous events by reading on file descripto
Hi,
I have to capture kernel udev events through libudev. One of API
provides asynchronous events by reading on file descriptor. I found
that there two ways to do that.
1) select call
2) epoll
I also found that epoll is smarter and meant to replace old select call.
What are your thoughts on the
>
> 2012/8/30 stl
>>
>> Thanks Rahul for your very quick answer.
>> Glad to hear this.
>> So, when does the message "VFS: Mounted root" appear?
>> Maybe when using init ramdisk (initrd) support?
I don't know but if it fails to mount root file system or
yes root file system is mounted correctly. It is just it didn't find init.
On Thu, Aug 30, 2012 at 8:10 PM, stl wrote:
> Hello all,
> if I try to boot Linux 2.6.37 by supplying a configuration file to the
> kernel to create initramfs_data.cpio,
> (without any compression), is it normal that the k
You haven't build your root file system. I believe we give path to
root file system in CONFIG_INITRAMFS_SOURCE.
There are different ways to build root file system, like buildroot.
http://buildroot.uclibc.org/
-Rahul B.
On Thu, Aug 16, 2012 at 3:01 PM, stl wrote:
> Thanks for your answer.
>
> Ok,
It seems that modules related to ext4 are not loaded.
BTW what are these logs ?
On Tue, Aug 14, 2012 at 4:23 PM, sandeep kumar
wrote:
> Hi all,
> We are facing one issue,
>
> 3>EXT4-fs (mmcblk0p12): VFS: Can't find ext4 filesystem
> [5.943134] EXT4-fs (mmcblk0p12): VFS: Can't find ext4 files
On Tue, Aug 14, 2012 at 3:45 PM, stl wrote:
> I have dug a little more, and if I well understand, the
> initramfs_data.cpio.gz should be
> expanded from __initramfs_start (defined in vmlinux.lds.S)
>
> But when and how is it done?
> And by who?
> Architecture specific code? bootloader, or setup_ar
On Thu, Aug 9, 2012 at 4:12 PM, Vivek Panwar wrote:
> Hi,
>
> I am making a set up for kernel debugging at remote location with the help
> of ethernet, but as i heard that we dont have ethernet support in kernel 3.x
> series , Is it true?
I can not believe ethernet support is not in 3.x series!
T
Sorry!
and what is meant by
exec 0/dev/console
On Thu, Aug 2, 2012 at 12:04 PM, Rahul Bedarkar wrote:
> Thanks Richard !
>
> And what is
> exec 0 exec 1>/dev/console
>
> On Thu, Aug 2, 2012 at 5:24 AM, richard -rw- weinberger
> wrote:
>> On Wed, Aug 1, 2012 at
Thanks Richard !
And what is
exec 0/dev/console
On Thu, Aug 2, 2012 at 5:24 AM, richard -rw- weinberger
wrote:
> On Wed, Aug 1, 2012 at 4:03 PM, Rahul Bedarkar wrote:
>> Hi,
>>
>> I just saw contents of /init on my system.
>>
>> #!/bin/sh
>> # devtmpfs
Hi,
I just saw contents of /init on my system.
#!/bin/sh
# devtmpfs does not get automounted for initramfs
/bin/mount -t devtmpfs devtmpfs /dev
exec 0/dev/console
exec 2>/dev/console
exec /sbin/init $*
Can someone explain what is meant for ?
Regards,
Rahul B.
__
, Jul 30, 2012 at 11:44 PM, Mulyadi Santosa
wrote:
> Hi...
>
> On Mon, Jul 30, 2012 at 9:27 PM, Rahul Bedarkar wrote:
>> Hi,
>>
>> I have disabled CONFIG_DEVTMPFS in kernel config and system stucks in
>> run_init_process call which is called after freeing initmem.
Hi,
I have disabled CONFIG_DEVTMPFS in kernel config and system stucks in
run_init_process call which is called after freeing initmem. Any idea
why this is happening. If devtmpfs is enabled, it runs normally. I am
using 3.3.2 kernel.
Thanks,
Rahul B.
32 matches
Mail list logo