LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 10-16-2012, 05:50 AM   #1
durgam anil
LQ Newbie
 
Registered: Oct 2012
Location: banglore,india
Distribution: open suse,redhat,ubuntu
Posts: 13
Blog Entries: 1

Rep: Reputation: Disabled
how the pci device drivers works internally


i written device drivers code for to trace the pci device tree but i got the information of the vendor id ,devie id ,subsystem id .i have doubt at how it read the the subsytem vendor id i not understand.please any one help me to detect the sub sytem how it is reading...
 
Old 10-16-2012, 09:29 AM   #2
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,263

Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
You ought to be able to surf through a virtual-directory tree, perhaps /proc, to find the information that you need, without writing a driver just to obtain configuration information about the system. Therefore, perhaps I do not fully understand your question. Can you please briefly describe what existing PCI driver source-code you have already investigated, and what specific piece of logic you need help with?
 
Old 11-02-2012, 01:25 AM   #3
durgam anil
LQ Newbie
 
Registered: Oct 2012
Location: banglore,india
Distribution: open suse,redhat,ubuntu
Posts: 13
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Which is the correct contexts in which callouts run from the following?

What is the operation of following kernel interface? rw_lock_held(lock pointer);

Which of the buffer structure fields specifies the direction of IO transfer, the transfer size and the virtual address of the data in a solaris machine?

Which of the debuggers allow extensive customization and supports user written pluggable debugging modules in their specific debuggers?

What firmware command causes a kernel core file to be dumped to the dump device like external hard disk or disk tape?


Can it be possible to take a core dump of a system which is live?

Which of the following correct method of initializing a mutex on solaris?

Which one of the following register set of a calling function is passed on as input registers to the called function, on a sparc system?


Which of the structures keeps track of the positional offset within the file where the next IO is to be performed in a solaris machine?

In what situations does the solaris kernel handle interrupts?

Which one is true of memory allocated by kmem_alloc from the given below options?

Which is the basic mutex operations supported by the solaris operating system running on a sparc machine?

The OS gives guaranty that a thread which has been blocked on a cv through a cv_wait call does not comes alive wrongly and so does not need to re-check for the reason for blocking. State whether true or false.

Among the filesystems which implement the mmap interface, which is the correct locking hierarchy?

The kmem_alloc is paged and allocated the memory. Validate this statement.


Which one of kadb/adb macros can be used to find out about the stack traces of all the kernel threads?

Which one of the adb/kadb commands can be used to examine the function which caused the panic in the system?

What will occur if a driver running on a sparc processor lined up on a 16 bit boundary efforts to access a 32 bit quantity?

What interface is the same as acquiring a lock ?

any one...........please send answers ........

Last edited by durgam anil; 11-02-2012 at 01:46 AM. Reason: some more matter
 
Old 11-02-2012, 09:04 AM   #4
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,263

Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
Quote:
Originally Posted by durgam anil View Post
any one...........please send answers ........
Hey, pal, back in the day, I did my homework myself! (And graduated with highest honors, so there!)

The entire point of education is that you dig for the answers and that in so doing you not only learn those answers but also learn how to find them. For yourself. If you're not willing to do that, then you're wasting your time and perhaps a considerable amount of money, and no one, anywhere in the world, wants to hire a lazy programmer.

Last edited by sundialsvcs; 11-02-2012 at 09:06 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do socket works internally between sendto()/recvfrom()? pam_need help Linux - Networking 1 02-06-2012 08:43 PM
BIND works internally, refused externally, on VPS name server steve willett Linux - Networking 16 07-06-2011 03:21 AM
new comer to understanding PCI device drivers jamesbon Programming 2 11-20-2010 08:41 PM
Device Drivers: Southbridge on PCI bus. ashlesha Linux - Software 0 09-22-2006 01:22 PM
DNS - Works Internally - Bizarre Externally - Almost 100% fed007 Linux - Networking 9 08-24-2001 04:10 PM


All times are GMT -5. The time now is 05:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration