Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21396 - [kernel26] BUG: unable to handle kernel NULL pointer dereference at 00000b54

Attached to Project: Arch Linux
Opened by Radek Nabb (fake) - Thursday, 21 October 2010, 16:04 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 28 November 2010, 13:50 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Arch freezes every time when I run my notebook unplugged. This issue occurs also when I'm using AC adapter, but very rarely. Sometimes system doesn't hang up immediately, it seems to works normally with applications already running, but I cannot perform any memory operations (free or load new programs). System also doesn't shutdown properly.

Additional info:
* Arch is up-to-date (kernel26-2.6.35.7-1), but I think this is an old bug,
* Asus X57V (based on M/B M50VN)
* lspci:
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9650M GT] (rev a1)
03:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
09:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
09:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
09:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
09:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)

* /var/log/everything.log
kernel BUG: unable to handle kernel NULL pointer dereference at 00000b54
kernel: IP: [<f8929eeb>] rtl_tx_performance_tweak+0x1b/0x70 [r8169]
kernel: *pde = 00000000
kernel: Oops: 0000 [#1] PREEMPT SMP

* perhaps this is related to r8169 module?

Steps to reproduce:
Running my computer using battery only.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Sunday, 28 November 2010, 13:50 GMT
Reason for closing:  Fixed
Comment by Leonid Isaev (lisaev) - Friday, 22 October 2010, 22:15 GMT
Radek, your kernel is tainted. Can you reproduce without loading nvidia.ko?
Comment by Florian Pritz (bluewind) - Saturday, 23 October 2010, 13:29 GMT
Looks like a bug in the r8169 ethernet module. I think you should take this upstream (https://bugzilla.kernel.org/)
Comment by Radek Nabb (fake) - Monday, 25 October 2010, 20:54 GMT
Quick test shows that I can't reproduce it using nouveau driver. I think this bug may be related to PowerMizer in nvidia driver. These laptops (GF9650GT) have had problems in the past with this feature. I will test it precisely on Friday and then I will write something more.
Comment by Timothy Redaelli (tredaelli) - Wednesday, 03 November 2010, 15:41 GMT
r8169 driver is semi-broken.
Can you try using r8168 (aur/r8168) realtek driver?

You just need to install that driver using aur and to blacklist the r8169 driver doing:
echo blacklist r8169 > /etc/modprobe.d/r8169_blacklist.conf
Comment by Radek Nabb (fake) - Thursday, 04 November 2010, 16:56 GMT
Thank you Timothy. Several days ago I disabled ethernet card in bios and my laptop was running on battery for two hours without freezing. Today following your suggestion I replaced r8169 module by r8168 from AUR and I didn't notice any freeze for 0,5 hour on battery. It seems that my problem is solved.
But still something is wrong with cards on this chip... My card often has problem with appropriate initiating eth0 interface. I need to wrote small script which checks if eth0 link becomes up and reloads module. I have to use it also with r8168 module. Thanks guys.
Comment by Radek Nabb (fake) - Thursday, 04 November 2010, 21:08 GMT
<sorry>
Comment by Tobias Powalowski (tpowa) - Wednesday, 24 November 2010, 11:09 GMT
Please try with latest kernel from testing.
Comment by Radek Nabb (fake) - Sunday, 28 November 2010, 13:46 GMT
I've updated kernel26 to 2.6.36.1-3 and it looks like that everything works fine with module r8169 :) Thank you, as I mentioned earlier it was and old bug and it occurred since I can remember (at least one year).

Loading...