Hi,
I'm trying to use the PCI Express Hot-Plug Controller driver
(pciehp.ko) with Kernel 2.6 so that I can get hot-plug events whenever
I add a card to my PCI Express slot.
I built the driver as a module, and am trying to load it manually
using modprobe. However, when trying to insert, I'm
Hi,
I do not know which list to put this problem on. And hence ...
I'm using Kernel 2.6.9 and am having a Qlogic QLE2362 FC-HBA in my
system. I selected all the Qlogic SCSI drivers while buiding the
kernel. Now the problem is that every time I reboot, I have to
MANUALLY modprobe the qla2322.ko
On Tue, Jul 12, 2005 at 06:01:22PM +0900, Rajat Jain
wrote:
Hi,
I'm trying to use the PCI Express Hot-Plug Controller driver
(pciehp.ko) with Kernel 2.6 so that I can get hot-plug events
whenever I add a card to my PCI Express slot.
I built the driver as a module, and am trying
A similar problem was noted with RHEL4, it seems the modules.pcimap
and pci.ids file were correct, but the pcitable file contained entries
for all ql[ae]23xx based HBAs to load qla2300.ko.
It's my understanding that this was fixed for RHEL4 U1. Which distro
are you using? If
Hi Rajat, you can learn more about the OSHP method by reading the PCI
express spec. It is used to tell an ACPI bios that the OS will be
handling the hotplug events natively. It may be that your BIOS does
not allow native hotplug for pcie, in which case you need to be using
the acpiphp
On 7/29/05, Rajesh Shah [EMAIL PROTECTED] wrote:
On Thu, Jul 28, 2005 at 07:45:49PM +0900, Rajat Jain wrote:
Okay. I'm sorry but I'm not very clear with this. I'm just putting
down here my understanding. So basically we have two mutually
EXCLUSIVE hotplug drivers I can use for PCI Express
:
$ pcitweak -r 5:9:1 64
0x0101 //original value
$ pcitweak -w 5:9:1 64 0x0202 //new value
$ pcitweak -r 5:9:1 64
0x0101//no change?
TIA,
Rajat Jain
-
To unsubscribe from this list: send the line unsubscribe linux-newbie in
the body of a message
On 8/31/05, chuck gelm [EMAIL PROTECTED] wrote:
Rajat Jain wrote:
Hi List,
I want to change the PCI Configuration space of a particular device in
my system. I am trying to use the pcitweak utility to do so, but am
not suceeding. I would appreciate if some body could provide me any
from kernel?
Even if no body had faced this problem before, I would really
appreciate if any one can provide ANY kind of pointers / information
regarding this (As I am willing to explore and solve this, no matter
what :-))
TIA
Rajat Jain
-
To unsubscribe from this list: send the line unsubscribe
Hello,
Would you be willing to test the mainline kernel (2.6.13) to see if you
have the same problem with the most recent version of the driver? And
attach the logs again please.
Thanks,
Kristen
Thanks, for the inputs. I will test it with 2.6.13 and get back.
Rajat
-
To
Hi,
I have a doubt regarding the following definitions in kernel/resource.c:
struct resource ioport_resource = {
.name = PCI IO,
.start = 0x,
.end= IO_SPACE_LIMIT,
.flags = IORESOURCE_IO,
};
struct resource iomem_resource = {
.name = PCI mem,
Is there any way volunteers like me can help in this exercise?
See the /APIchanges in the Kernel Janitors TODO list
http://kernelnewbies.org/KernelJanitors/Todo
Hi,
This is regarding the link posted above.
1) How do I make sure if some one is NOT working on any of the
mentioned bullet
On 1/23/07, sandeep lahane [EMAIL PROTECTED] wrote:
I dont know much about SMP scheduling but after thinking a while I came up with
following inference, please correct me if I am wrong.
If the ISR and the interrupted process are sharing the stack i.e. of
the ISR doesnt have its own seperate
On 2/6/07, Ankit Jain [EMAIL PROTECTED] wrote:
Hi ppl
Can any body here make this volatile more clear in
terms of C language with some practical example i.e
why we need it? or for what it can be used for ?
Volatile provides a hint to the compiler not to act oversmart by
performing
Hi All,
I just finished porting linux kernel 2.6.15 to a MIPS based board. The
board now boots up beautifully ... and here is the console log:
snip
..
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Hi list,
I just finished porting the kernel to my board and am trying to
cleanup my code. I had started my copying an existing board code and
modifying it to suit my board. Its now working fine, but has numerous
#includes which I do not think I need any more.
Is there a quickway to correctly
On 3/6/07, Linda Walsh [EMAIL PROTECTED] wrote:
Eric Bambach wrote:
On Sunday 04 March 2007 18:02, Linda Walsh wrote:
Is there a way to have my console messages duplicated and saved in a file?
Have you looked into using the serial console and some sort of secondary
server to capture its
Hi,
I am experimenting with initrd and my initrd fails to mount. My
bootloader (U-BOOT) coorectly loads the initrd into RAM as I can see.
I am wondering how does the kernel get to know the address at which
the initrd is loaded by boot loader? How does the boot loader
communicate this to the
On 3/16/07, Rajat Jain [EMAIL PROTECTED] wrote:
Hi,
I am using Linux kernel 2.6.15 on a MIPS embedded box. I am booting up
successfully using an initramfs compressed cpio archieve as my root,
but only after MANUALLY COMMENTING the call to prepare_namespace() in
init/main.c:init().
I referred
Hi,
We often have a case where a driver wants to access its data structure
in process context as well as in interrupt context (in its ISR). In
such scenarios, we generally use spin_lock_irqsave() to grab the lock
as well as disable all the local interrupts. AFAIK, disabling of local
interrupts
Hi Arjan,
We often have a case where a driver wants to access its data structure
in process context as well as in interrupt context (in its ISR). In
such scenarios, we generally use spin_lock_irqsave() to grab the lock
as well as disable all the local interrupts. AFAIK, disabling of
On 3/22/07, Ajay Singh (ajaysi) [EMAIL PROTECTED] wrote:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rajat Jain
Sent: Thursday, March 22, 2007 6:43 AM
To: Arjan van de Ven
Cc: anubhav rakshit; kernel mail; newbie
Subject: Re: Need for a new
The lock contention is between the process or another instance of same
ISR on other processor(say uP1) which are waiting for that same spinlock
to be released. They will have to wait till old ISR instance finishes on
processor (say uP0).
No, by design there cannot be two instances of your ISR
On 3/22/07, Prasad Joshi [EMAIL PROTECTED] wrote:
3/21/07, Vivek [EMAIL PROTECTED] wrote:
Why is kernel restricted to use virtual addresses of only 1 GB? Or
what is the need to split up the virtual address space into user
addresses and kernel addresses?
We can have 4GB for kernel and
I was wondering that while using dynamic device numner allocation, can
we ever have a scenario like following (using alloc_chrdev_region):
1) Char Driver A is hooked on Major num X, minor numbers 0-10
2) Char Driver B is hooked on (same) Major num X, minor numbers 11-20
So the above
Hi List,
Recently I got into the problem that I think relates to the small size
of kernel stack. I had a function of the following form:
void func()
{
...
//Block1
{
struct huge_var x;
}
//Block2
{
struct huge_var y;
We often have a case where a driver wants to access its data structure
in process context as well as in interrupt context (in its ISR). In
such scenarios, we generally use spin_lock_irqsave() to grab the lock
as well as disable all the local interrupts. AFAIK, disabling of local
interrupts
On 4/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi Rajat,
I think spin_lock_irqsave() will fulfill the purpose as otherwise it may be
possible that the when a data structure is accessed in process context by
taking spin_lock and an interrupt comes then the ISR will remain in forever
Hi Qing,
On 4/5/07, qingxiaoming [EMAIL PROTECTED] wrote:
Dear all:
I am reading the function set_shrinker() in mm/vmscan.c of V2.6.12, and I
have a question about the not initialization of list_head,
/*
* Add a shrinker callback to be called from the vm
*/
struct shrinker *set_shrinker(int
Hi,
... the kernel thread is as sensitive as the kernel itself
for the page faults. It _should not_ fault, unless ofcourse if its a
vmalloc'ed area .. and that happens every other kernel path anyway
I have a doubt about the vmalloc'ed memory. Is the vmalloced chunk of
memory allowed to be
Hi,
Does Linux assign the resources to PCI devices? Or is it done by PCI firmware?
If it is done by firmware, I have the following doubt:
By looking at the PCI configuration space, I can only see Base Address
Registers (BARS) for the 6 resources a device can have. How does the
kernel know
On Tue, Apr 24, 2007 at 12:03:32PM +0530, Rajat Jain wrote:
Does Linux assign the resources to PCI devices? Or is it done by PCI
firmware?
Yes.
Erik
Hi Erik,
I'm sorry but I could not understand your Yes very well ... so Which
one of the following assigns the resources to PCI devices
On 4/24/07, Erik Mouw [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, Apr 24, 2007 at 03:20:01PM +0530, Rajat Jain wrote:
On Tue, Apr 24, 2007 at 12:03:32PM +0530, Rajat Jain wrote:
Does Linux assign the resources to PCI devices? Or is it done by PCI
firmware
I know some of them.
[migration/0]
Per CPU threads to migrate processes between processors.
[ksoftirqd/0]
Per CPU threads to execute softirqs tasklets (bottom half
mechanisms), if they are not executed upon return of interrupt.
[migration/1]
[ksoftirqd/1]
[events/0]
[events/1]
Hi,
|
|I would like to load kernel 2.6 on my customised Target board
|having IXP422.
|I have u-boot 1.1.6 bootloader.
|
|For this, I would like to know which kernel version can i
|decide on? How can
|i determine which version of 2.6 to go in for? Also do i need
|any patch?
|which ones ? and
Hi,
Perhaps a little offtopic but no harm in trying ...
Can we always rely on the fact that gcc will pad the following structure?
typedef struct {
int descrp; SYSCALL64_STRUCT_ATTR;
(Automatic padding here?)
long long pos; SYSCALL64_STRUCT_ATTR;
int mode;
Hi list,
Does the preempt_disable() disable preemption on all the processors or just the
current processor?
Thanks,
Rajat
-
To unsubscribe from this list: send the line unsubscribe linux-newbie in
the body of a message to [EMAIL PROTECTED]
More majordomo info at
Hi,
This is a little offtopic but ...
I'm working in an environment where the MMU has yet not been enabled (And hence
on PC relative addressing can be used - no absolute addresses). I'm trying to
build an exhaustive list (in terms of C language source contructs) of what I am
allowed to do
Hi,
I had read that the operating systems that use copy-on-write
mechanism for fork(), it is better if they deliberately allow the
CHILD to run first.
This would be better because in 99% of the cases child will call
exec() and the new address space will be allocated. Instead if the
Hi,
If I remember correctly, there used to be syscall wrappers (_syscall3() etc) in
the kernel that could be used to make system calls without any library support.
I'm not able to locate them for i386. Where are they?
Thanks,
Rajat
-
To unsubscribe from this list: send the line unsubscribe
Hi,
Use syscall(SYSTEM_CALL_NUMBER, arg1, arg2, arg3);
_syscall3() macro are are not supported nowadays.
http://lkml.org/lkml/2007/7/5/314
Who is supposed to provide syscall()?? C library? Where do I find its
definition (not declaration)?
What is an application supposed to do if it
Hi,
This is regarding the following code in kernel/irq/handle.c. Consider the case
of a shared IRQ line, where two handlers are registered such that first handler
does not specify IRQF_DISABLED, but the second one does. But it seems both the
handlers will be called IRQs ENABLED (which is
Hi,
Was wondering if I did not frame my question appropriately? Or it there a
better place to discuss this?
Thanks,
Rajat
This is regarding the following code in kernel/irq/handle.c. Consider
the case of a shared IRQ line, where two handlers are registered such
that first handler does
Original Message
From: Peter Teoh [mailto:[EMAIL PROTECTED]
Sent: Friday, February 08, 2008 8:11 PM
To: Rajat Jain
Cc: [EMAIL PROTECTED]; linux-newbie@vger.kernel.org
Subject: Re: Use of IRQF_DISABLED along with IRQF_SHARED
sorry, i am also quite confused
the caller of your
: Friday, December 17, 2004 7:07 AM
To: Rajat Jain, Noida
Cc: [EMAIL PROTECTED]; Sanjay Kumar, Noida; Deepak Kumar Gupta,
Noida
Subject: Re: zero copy issue while receiving the data (counter part of
sendfil e)
Hi Rajat,
I was using this function some times back... It's been working for me just
fine
Yusupov [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 11:01 PM
To: Rajat Jain, Noida
Cc: linux-newbie@vger.kernel.org; [EMAIL PROTECTED];
linux-kernel@vger.kernel.org; [EMAIL PROTECTED]; Sanjay Kumar,
Noida; Deepak Kumar Gupta, Noida
Subject: RE: zero copy issue while receiving the data
Hi,
I don't think box3 would be able to box1 or box2 currently. This is because
the IP address you've assigned to box3 is not on the same subnet as that of
box1 box2. Box1 and box2 are right now on subnet 192.168.0.0. Where as
box3 is is not subnet 192.168.1.0. To connect PCs on different
on an existing HBA. How do I
do that? Or how can I achieve this functionality?
Any pointers are welcome.
Thanks regards,
Rajat Jain
HCL Technologies,
A-11, Sector 16, Noida-201301.
Ph: +91-120-2510701/702/813 Extn.3019
[EMAIL PROTECTED]
http://www.hcltech.com/
...one of the main
Hi list,
Tracing the kernel 2.6.8 code I found that scsi_mod maintains separate
request queues for each SCSI device. It uses the block layer queuing
facility to do this. What I could not find out was that once a request is
queued into a queue (for a particular device), WHEN and HOW is the
or after a certain unplug timer value.
Hope it helps.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rajat Jain, Noida
Sent: Tuesday, March 22, 2005 8:31 AM
To: linux-scsi@vger.kernel.org; linux-newbie@vger.kernel.org
Cc: Rajat Jain, Noida
Subject: When
50 matches
Mail list logo