Re: Query about PCI base address registers

2013-12-17 Thread Srinivas Ganji
Hi Ulka,

Generally, the PCI configuration details are supplied by the PCI Card
manufactures where they can explain all those details which you asked. So,
try to get the PCI User Manual for the PCI card that you are working. In
that user manual, you find all the information.

Regarding the DMA, we need to start by setting one of the bits in DMA
registers. This also explained in the PCI user manual.

Do you still need any other information please let me know as I worked on
couple of projects which are based on PCI cards.

Regards,
Srinivas.



On Thu, Dec 12, 2013 at 5:53 PM, Ulka Vaze  wrote:

> Hi,
>
>In PCI configuration space there are 6 registers BAR0-5 which can
> hold the ioaddress or memory address used by card.
> However my question is - how will we know which BAR register contain
> ioaddress  and which contain memory ? and How many of them contain the
> addresses. I mean shall we start reading from bar0 to 5 all to find it
> ?
> If card  has 3 ports and one memory region  will it be in bar0 or bar1 or
> bar2 ?
>
> Second is on PCI card we set it as bus master for DMA  in probe
> function and also allocates buffer. So when is DMA  actually initiated
> by it ?
>
> Please can anybody clarify.
>
> Thanks,
> -Ulka
>
>
>
>
> --
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Need help in configuring kernel

2013-12-17 Thread m silverstri
Hi,

I am trying to build kernel with v4l2 features enable.
I added these in my defconfig file (and necessary dependancy , and compile,

CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_V4L2=y

I see those are included in the generated .config file, which is what I
expected:
#
# Multimedia core support
#
CONFIG_MEDIA_CAMERA_SUPPORT=y
# CONFIG_MEDIA_ANALOG_TV_SUPPORT is not set
# CONFIG_MEDIA_DIGITAL_TV_SUPPORT is not set
# CONFIG_MEDIA_RADIO_SUPPORT is not set
# CONFIG_MEDIA_RC_SUPPORT is not set
# CONFIG_MEDIA_CONTROLLER is not set
CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_V4L2=y
...

My problem is when I add CONFIG_VIDEOBUF2_CORE to my defconf, I don't that
include in the generated .config file (the one that I mentioned above).
CONFIG_VIDEOBUF2_CORE=y

I have checked that CONFIG_VIDEOBUF2_CORE has no dependency.
http://cateee.net/lkddb/web-lkddb/VIDEOBUF2_CORE.html

Hence , the causes my compilation fails.

Any one has any idea how to fix my problem?

Thank you.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: kernel customisation issue

2013-12-17 Thread Lidza Louina
Hi,

Why do you want to disable module support? You can load and unload
modules at runtime if needed.

http://www.techrepublic.com/article/loading-and-unloading-modules-in-linux/

Lidza

On Tue, Dec 17, 2013 at 5:27 AM, Laxmi Meena  wrote:
> how to compile kernel without module support?
> When I try disabling the "Enable Loadable module support" option and rebuild
> the kernel.
> I get following error
> "Enable kernel module support and then compile the kernel"
>
> Thanks in advance.
> -Laxmi
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: postgresql/libpq-fe.h

2013-12-17 Thread Lidza Louina
This problem doesn't have anything to do with the linux kernel. This is a
problem you should first try googling about, then talk to the postgres
developers about if that doesn't help.
On Dec 16, 2013 8:54 AM, "Robert Clove"  wrote:

> Hi all,
>
> I am getting this error
> error: postgresql/libpq-fe.h: No such file or directory
>
> i have done  yum install postgresql-devel
>
> then also i am getting this error please guide.
>
>
> thanks
>
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: postgresql/libpq-fe.h

2013-12-17 Thread Mulyadi Santosa
On Mon, Dec 16, 2013 at 8:41 PM, Robert Clove  wrote:
> Hi all,
>
> I am getting this error
> error: postgresql/libpq-fe.h: No such file or directory
>
> i have done  yum install postgresql-devel
>
> then also i am getting this error please guide.

what did you do so you got this error? Sounds like it is outside of
kernel development scope

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


kernel customisation issue

2013-12-17 Thread Laxmi Meena
how to compile kernel without module support?
When I try disabling the "Enable Loadable module support" option and
rebuild the kernel.
I get following error
"Enable kernel module support and then compile the kernel"

Thanks in advance.
-Laxmi
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies