[opensuse-kernel] breakpoint for driver load problem
Hi, I have an intermittent r8169 driver problem, can anyone help me with a breakpoint when the revision number is written as 0xff instead of 0x02. The only difference, when the driver doesn't work is the revision number given in hwinfo --netcard. Regards Dave P -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Wed, Jul 23, 2008 at 09:54:11AM +0200, Dave Plater wrote:
Hi, I have an intermittent r8169 driver problem, can anyone help me with a breakpoint when the revision number is written as 0xff instead of 0x02. The only difference, when the driver doesn't work is the revision number given in hwinfo --netcard.
So reading the pci config registers is different at different times? Perhaps the difference is between warm and cold booting? Running a different OS before warm booting Linux? Linux should not be changing the version number of the pci device here. thanks, greg k-h -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
Greg KH wrote:
On Wed, Jul 23, 2008 at 09:54:11AM +0200, Dave Plater wrote:
Hi, I have an intermittent r8169 driver problem, can anyone help me with a breakpoint when the revision number is written as 0xff instead of 0x02. The only difference, when the driver doesn't work is the revision number given in hwinfo --netcard.
So reading the pci config registers is different at different times?
Perhaps the difference is between warm and cold booting? Running a different OS before warm booting Linux?
Linux should not be changing the version number of the pci device here.
thanks,
greg k-h
With the driver compiled into the kernel, the problem is rare and has only occurred at cold boot. With a new kernel and still loaded as a module it is totally random, sometimes a reboot will load driver properly and sometimes not. Disabling the nic in bios and rebooting, then rebooting with it enabled mostly caused the driver to work but not always. I assume linux reads the version number from the device and sometimes fails and reads garbage. I would like to know if this is a hardware problem or a kernel bug. I have noticed other r8169 problems on the opensuse list and I will try booting with nomsi, as suggested by someone else, next kernel update which would confirm a bug. Regards Dave P -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Thu, Jul 24, 2008 at 08:20:24AM +0200, Dave Plater wrote:
Greg KH wrote:
Hi, I have an intermittent r8169 driver problem, can anyone help me with a breakpoint when the revision number is written as 0xff instead of 0x02. The only difference, when the driver doesn't work is the revision number given in hwinfo --netcard. So reading the pci config registers is different at different times? Perhaps the difference is between warm and cold booting? Running a different OS before warm booting Linux? Linux should not be changing the version number of the pci device here.
On Wed, Jul 23, 2008 at 09:54:11AM +0200, Dave Plater wrote: thanks, greg k-h
With the driver compiled into the kernel, the problem is rare and has only occurred at cold boot. With a new kernel and still loaded as a module it is totally random, sometimes a reboot will load driver properly and sometimes not.
What kernel versions are you talking about here?
Disabling the nic in bios and rebooting, then rebooting with it enabled mostly caused the driver to work but not always. I assume linux reads the version number from the device and sometimes fails and reads garbage. I would like to know if this is a hardware problem or a kernel bug.
It really sounds like a hardware/bios bug. Are there any differences between the boot log messages when there is a problem and when there isn't? That might be a way to track this down. thanks, greg k-h -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
Greg KH wrote:
On Thu, Jul 24, 2008 at 08:20:24AM +0200, Dave Plater wrote:
Greg KH wrote:
On Wed, Jul 23, 2008 at 09:54:11AM +0200, Dave Plater wrote:
Hi, I have an intermittent r8169 driver problem, can anyone help me with a breakpoint when the revision number is written as 0xff instead of 0x02. The only difference, when the driver doesn't work is the revision number given in hwinfo --netcard. So reading the pci config registers is different at different times? Perhaps the difference is between warm and cold booting? Running a different OS before warm booting Linux?
Single boot system. I have noticed that ejecting and loading a dvd during boot brings the problem up with compiled in driver.
Linux should not be changing the version number of the pci device here. thanks, greg k-h With the driver compiled into the kernel, the problem is rare and has only occurred at cold boot. With a new kernel and still loaded as a module it is totally random, sometimes a reboot will load driver properly and sometimes not.
What kernel versions are you talking about here?
I have updated to 2.6.25.11-0.1 kernel and the problem persists and I had to compile the driver in again.I think I had 2.6.24.1-6 when I first got the MB.
Disabling the nic in bios and rebooting, then rebooting with it enabled mostly caused the driver to work but not always. I assume linux reads the version number from the device and sometimes fails and reads garbage. I would like to know if this is a hardware problem or a kernel bug.
It really sounds like a hardware/bios bug. Are there any differences between the boot log messages when there is a problem and when there isn't? That might be a way to track this down.
thanks,
greg k-h
The only difference I have picked up is the revision number. All the vendor numbers etc are correct just the version number and of course no network connection although the system thinks it has a connection. I have opened a bug https://bugzilla.novell.com/show_bug.cgi?id=412823 . Regards Dave P -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (2)
-
Dave Plater
-
Greg KH