Re: About Webcam module

2009-09-11 Thread Jean-Francois Moine
On Fri, 11 Sep 2009 17:37:19 +0530 Niamathullah sharief wrote: [snip] > shar...@sharief-desktop:~$ modinfo -d gspca_zc3xx > > > GSPCA ZC03xx/VC3xx USB Camera Driver > > > shar...@sharief-desktop:~$ modinfo -d gspca_main > > > GSPCA USB Camera Driver > > > shar...@sharief-desktop:~$ modinf

Re: Linux Podcast: http://www.linuxreality.com/archives.php

2009-09-11 Thread Mulyadi Santosa
On Fri, Sep 11, 2009 at 11:18 PM, Peter Teoh wrote: > Just sharing some podcasting: > > > http://www.linuxreality.com/archives.php > > this is new to me.. > > but others which u may already know: > > http://podcasts.jonmasters.org/kernel/kernel.xml   (this is heavily > downloaded and very popu

Re: Why there is no realloc in kernel?

2009-09-11 Thread vinit dhatrak
On Sat, Sep 12, 2009 at 4:43 AM, Greg KH wrote: > On Sat, Sep 12, 2009 at 04:24:25AM +0530, vinit dhatrak wrote: >> Hi Greg, >> >> Can you point us to it in lxr or something? > > Look for krealloc(). > Cool, thanks. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies"

Question on initramfs

2009-09-11 Thread Bizhan Gholikhamseh (bgholikh)
Hi All, I am using Linux kernel 2.6.23. The kernel command line is: console=ttyS0,115200 root=/dev/nfs nfsroot=172.20.69.140:/home/fsroot,nolock rw ip=dhcp mem=exactmap memmap=6...@0 memmap=2...@1m So when kernel boots it mounts the root file system over the network. I then configured and compil

Re: Why there is no realloc in kernel?

2009-09-11 Thread Greg KH
On Sat, Sep 12, 2009 at 04:24:25AM +0530, vinit dhatrak wrote: > Hi Greg, > > Can you point us to it in lxr or something? Look for krealloc(). -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/

Re: Why there is no realloc in kernel?

2009-09-11 Thread vinit dhatrak
Hi Greg, Can you point us to it in lxr or something? -Vinit On Fri, Sep 11, 2009 at 9:55 PM, Greg KH wrote: > On Wed, Sep 09, 2009 at 05:13:56PM +0530, Leonidas . wrote: >> Why there is no realloc in kernel? > > I see it there, don't you? > >> Any specific reason? > > Nope, because it is there

RE: Stripped v Debug

2009-09-11 Thread Adrian Cornish
> From: Jim Cromie [mailto:jim.cro...@gmail.com] > I dont think theres "smarts" in there, so much as the kernel > just doing what the ELF contents tell it. > heres some sections from my local perl binary, > which I built with -DDEBUGGING > While not actually knowing, Id expect the usual dynamic lin

RE: Stripped v Debug

2009-09-11 Thread Adrian Cornish
-Original Message- From: Mulyadi Santosa [mailto:mulyadi.sant...@gmail.com] > Try to check fs/binfmt_elf.c, especially the load_elf_binary() function. > Also, remember that file blocks are read on-demand, that means if they > are not needed, then it won't be loaded to RAM. So, even if yo

Re: kernel boot delay

2009-09-11 Thread Denis Kirjanov
Back to my problem. I am not very clear what is still reason for the delay. Here is the part of the boot log: [5.576643] initcall scsi_complete_async_scans+0x0/0x150 returned 0 after 1 usecs [5.582773] calling memmap_init+0x0/0xaa @ 1 [5.588856] initcall memmap_init+0x0/0xaa returned 0

Re: Stripped v Debug

2009-09-11 Thread Jim Cromie
On Fri, Sep 11, 2009 at 7:39 AM, Adrian Cornish wrote: > Hi All, > > Please excuse me if this is incorrect list. > > How/where should I look in kernel source to see how Linux loads binaries > and whether debug symbols are using physical RAM if they are included in > executable. > > Or is kernel s

Re: kernel boot delay

2009-09-11 Thread Peter Teoh
oh...just found it: https://linuxlink.timesys.com/3/podcast Episode 40: Overview of 2.6.28 Linux Kernel and Talk About the Newly Introduced Boot Tracer February 13, 2009 (23MB) MP3 Download (https://linuxlink.timesys.com/files/podcasts/mp3/Episode_040_LinuxLink_Radio.mp3) OGG Vorbis Down

Re: Why there is no realloc in kernel?

2009-09-11 Thread Greg KH
On Wed, Sep 09, 2009 at 05:13:56PM +0530, Leonidas . wrote: > Why there is no realloc in kernel? I see it there, don't you? > Any specific reason? Nope, because it is there... thanks, greg k-h -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux

Linux Podcast: http://www.linuxreality.com/archives.php

2009-09-11 Thread Peter Teoh
Just sharing some podcasting: http://www.linuxreality.com/archives.php this is new to me.. but others which u may already know: http://podcasts.jonmasters.org/kernel/kernel.xml (this is heavily downloaded and very popular). http://www.thelinuxlink.net/ Timesys Podcast: https://linuxli

Re: Stripped v Debug

2009-09-11 Thread Mulyadi Santosa
Hi Adrian... On Fri, Sep 11, 2009 at 8:39 PM, Adrian Cornish wrote: > Hi All, > > Please excuse me if this is incorrect list. > > How/where should I look in kernel source to see how Linux loads binaries > and whether debug symbols are using physical RAM if they are included in > executable. > > O

Re: kernel boot delay

2009-09-11 Thread Denis Kirjanov
Did not know about this feature :/ But thx!, I'll try it On Fri, Sep 11, 2009 at 7:30 PM, Peter Teoh wrote: > On Fri, Sep 11, 2009 at 2:25 PM, Denis Kirjanov > wrote: > > Hi dear list. > > I encountered the following problem: from time to time I see a delay when > > booting the kernel (~30s).

Re: kernel boot delay

2009-09-11 Thread Peter Teoh
On Fri, Sep 11, 2009 at 2:25 PM, Denis Kirjanov wrote: > Hi dear list. > I encountered the following problem: from time to time I see a delay when > booting the kernel (~30s). It doesn't happen regularly. exactly this line "from time to time...i see a delay"is what CONFIG_BOOT_TRACER is tryin

Re: QUERY...!!

2009-09-11 Thread Anuz Pratap Singh Tomar
dude, there is an entire chapter on K*things* in last portion of book(chapter 14), please look at that. -A On Fri, Sep 11, 2009 at 8:04 PM, Harinderjit Singh Sandhu < harinderji...@gmail.com> wrote: > > > i am new to driver programming. i have been following greg kh's book on > device drivers. >

QUERY...!!

2009-09-11 Thread Harinderjit Singh Sandhu
i am new to driver programming. i have been following greg kh's book on device drivers. but when i consulted the linux documentation ,i got confused as i came across the structures such as kobject,kset,device,driver,bus. and also there is no reference of structures like file. are the driver models

Re: kernel boot delay

2009-09-11 Thread microbit
Hi, On Fri, 11 Sep 2009 10:25:55 +0400, Denis Kirjanov wrote: > Hi dear list. > I encountered the following problem: from time to time I see a delay when > booting the kernel (~30s). It doesn't happen regularly. > I would like to ask you for advice as to what may be the reason for such > behavior

Re: [NEWBIE]

2009-09-11 Thread Ed Cashin
On Thu Sep 10 00:48:33 EDT 2009, erkris...@gmail.com wrote: > ED, > > Can you just tell how to use this script for searching efficiently. I tried > like : > > > script.sh task_struct. > > Anything more if you want to add in this. That's it, but the script runs "find .", etc., meaning that it

Stripped v Debug

2009-09-11 Thread Adrian Cornish
Hi All, Please excuse me if this is incorrect list. How/where should I look in kernel source to see how Linux loads binaries and whether debug symbols are using physical RAM if they are included in executable. Or is kernel smart enough to skip all debug symbols and only load needed Text page

Re: block size confusion -- in writing a basic simplest file system

2009-09-11 Thread Greg Freemyer
On Fri, Sep 11, 2009 at 6:54 AM, nidhi mittal hada wrote: > I was learning writing basic filesystem step by step -- till now what i > wrote just mounts . > Now > can someone help me to clarify the difference between > > 1)blocksize we give when we do 'dd if=/dev/zero of=nnn bs=4096 count=10 > ans:

Re: NEWBIE in kernel

2009-09-11 Thread Niamathullah sharief
the way to start your linux kernel programming is "LINUX DEVICE DRIVERS" by Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman. On Fri, Sep 11, 2009 at 1:52 PM, Gaurav Soni wrote: > Hi Dear All, > > I m new in kernel programming,I have gone through beginning linux > programming by matthe

Re: About Webcam module

2009-09-11 Thread Niamathullah sharief
No i am getting the following error r...@sharief-desktop:/home/sharief# rmmod gspca_zc3xx > ERROR: Module gspca_zc3xx is in use > r...@sharief-desktop:/home/sharief# rmmod gspca_main > ERROR: Module gspca_main is in use by gspca_zc3xx > r...@sharief-desktop:/home/sharief# So i am confused how to

Re: NEWBIE in kernel

2009-09-11 Thread SandeepKsinha
Hi Gaurav, On Fri, Sep 11, 2009 at 5:22 PM, Niamathullah sharief wrote: > the way to start your linux kernel programming is "LINUX DEVICE DRIVERS" by > Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman. > > On Fri, Sep 11, 2009 at 1:52 PM, Gaurav Soni wrote: >> >> Hi Dear All, >> >> I

Re: basic filesystem -- block size confusion

2009-09-11 Thread vinit dhatrak
1) dd program issues number-of-writes="count" of size="bs". So in your case, there will be 10 read sycalls of size 4096 bytes from /dev/zero and 10 write syscalls of size 4096 on "nnn". You can verify this using strace utility. 2) block size given at a time of filesystem creation affects the actua

block size confusion -- in writing a basic simplest file system

2009-09-11 Thread nidhi mittal hada
I was learning writing basic filesystem step by step -- till now what i wrote just mounts . Now can someone help me to clarify the difference between 1)blocksize we give when we do 'dd if=/dev/zero of=nnn bs=4096 count=10 ans: in my view -- just to define size of file 4096 *10 2)block size we giv

Re: About Webcam module

2009-09-11 Thread Loránd Jakab
Hi Niamathullah, On Friday 11 September 2009 09:20:50 Niamathullah sharief wrote: > Hi friends, >I have some doubts in video device driver. I have an Creative > webcam with me. After inserting the webcam i have seen the following > modules installed > > Module Size Used b

Re: basic filesystem -- block size confusion

2009-09-11 Thread Steven Yao
Hi nidhi mittal hada, a) 'dd if=/dev/zero of=nnn bs=4096 count=10' b) 'dd if=/dev/zero of=nnn bs=4096 *10' in a) bs=4096 force ibs=4096 and obs=4096 in b) bs=4096*10 force ibs=4096*10 and obs=4096*10 ibs means read bs bytes at a time obs means write bs bytes at a time that means the two ways rea

Re: About Webcam module

2009-09-11 Thread Steven Yao
Hi Niamathullah sharief, i think you can use rmmod to test which module is exactly for your webcam. Best regards Steven Yao 2009/9/11 Niamathullah sharief > Hi friends, >I have some doubts in video device driver. I have an Creative webcam > with me. After inserting the webcam i have se

NEWBIE in kernel

2009-09-11 Thread Gaurav Soni
Hi Dear All, I m new in kernel programming,I have gone through beginning linux programming by matthew and stones, wrox publicaiton. Any one can please suggest me what will be the best way to start linux kernel programming. With Regards Gaurav Soni -- To unsubscribe from this list: send an email

About Webcam module

2009-09-11 Thread Niamathullah sharief
Hi friends, I have some doubts in video device driver. I have an Creative webcam with me. After inserting the webcam i have seen the following modules installed Module Size Used by > gspca_zc3xx 55936 0 > gspca_main29312 1 gspca_zc3xx > videodev4134