[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-eepro100
Subject: [eepro100] Re: Kernel panic with RedHat 2.2.16-3 and eepro100 v1.13
From: Emil Sit <sit () cisco ! com>
Date: 2001-06-14 11:14:37
[Download RAW message or body]
> This looks to be the printk at line 1031, but I can't see why any of
Oops, I misread the objdump or something. The attached patch seems
to fix the problem. Thanks to Jonathan Lemon.
--- eepro100.c.old Wed Jun 13 14:10:40 2001
+++ eepro100.c Wed Jun 13 14:12:27 2001
@@ -1040,8 +1040,9 @@
dev->name, sp->cur_rx);
for (i = 0; i < RX_RING_SIZE; i++)
- printk(KERN_DEBUG " Rx ring entry %d %8.8x.\n",
- i, (int)sp->rx_ringp[i]->status);
+ if (sp->rx_ringp[i] != NULL)
+ printk(KERN_DEBUG " Rx ring entry %d %8.8x.\n",
+ i, (int)sp->rx_ringp[i]->status);
for (i = 0; i < 16; i++) {
if (i == 6) i = 21;
--
Emil Sit
_______________________________________________
eepro100 mailing list
eepro100@scyld.com
http://www.scyld.com/mailman/listinfo/eepro100
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic