Re: System hang caused by pci_read_config_dword()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I diagnosed the reason behind the system hang. Actually the members of
device structure were getting corrupted.
The code works fine in linux 2.2 but I am surprised why the memory gets
corrupted in linux 2.4.18.

Regards,
Anj

----- Original Message -----
From: "David Bryson" <david@futuretel.com>
To: "Anjaneyulu" <anjaneyulu@mistralsoftware.com>
Cc: <kernelnewbies@nl.linux.org>
Sent: Thursday, December 19, 2002 11:24 PM
Subject: Re: System hang caused by pci_read_config_dword()


> make sure your not trying to read the value into an unallocated
> pointer.  I boneheadedly did this and was banging my head for 20 minutes
> over it.
> Dave
>
> On Mon, 2002-12-16 at 22:03, Anjaneyulu wrote:
> > Hi,
> > I would like to know the reason for system hang when I access a
configuration register of a PCI Device using pci_read_config_dword().
> > I am working on Linux 2.4.18.
> >
> >
> > Thanks in advance.
> >
> > Regards,
> > Anj
> >
> >
>
>


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux