There are three such prom_getintdefault() calls in bigmac_ether_init(), Meelis can you try commenting them out one by one to see which one triggers the crash? Perhaps that bp->qec_sdev or bp->bigmac_sdev pointers are corrupt or point to structures which don't have their prom_node values setup properly. A comparison of the prom_node values with /usr/sbin/prtconf -pv output would determine this.
I commented all of them out and replaced with assingment of default values and printk of the parameters. It still oopses but now in another place (tty_wakeup as all my oopsen).
If I removed only first two occurences, the oops moved to the third one (offset changed).
This is an excerpt from prtconf output for comparision.
Node 0xffd767d0 #channels: 00000001 ranges: 00000000.00000000.00000001.00030000.00004000.00000010.00000000.00000001.00010000.00008000.00000020.00000000.00000001.00018000.00008000 reg: 00000001.00020000.00010000.00000001.00040000.00020000 model: 'SUNW,270-2450' name: 'qec'
Node 0xffd77960 board-version: 00000001 reg: 00000000.00000000.00004000.00000010.00000000.00008000.00000020.00000000.00008000 device_type: 'network' intr: 00000037.00000000 interrupts: 00000004 address-bits: 00000030 max-frame-size: 00004000 channel#: 00000000 name: 'be'
ffd767d0 seems to be a correct prom_node for qec and
ffd77960 seems to be a correct prom_node for be.
ffd5c0e0 is the prom node for 'sbus' (so qec_sdev->bus->prom_node is also OK). So nothing suspicious here?
sunbmac.c:v2.0 24/Nov/03 David S. Miller (davem@redhat.com) qec_sdev->prom_node=ffd767d0 qec_sdev->bus=f085e200 qec_sdev->bus->prom_node=ffd5c0e0 bigmac_sdev = f0a54800 bigmac_sdev->prom_node = ffd77960 Unable to handle kernel NULL pointer dereference tsk->{mm,active_mm}->context = 0000092f tsk->{mm,active_mm}->pgd = fc09b400 \|/ ____ \|/ "@'/ ,. \`@" /_| \__/ |_\ \__U_/ khelper(1395): Oops [#1] PSR: 400010c6 PC: f00df4d0 NPC: f00df4d4 Y: 00000000 Not tainted PC: <tty_wakeup+0x4/0x64> %G: 00000000 f0034afc 00000001 404010e0 f0034aa0 00000000 fac12000 00000001 %O: ffffffff 00000000 00000000 00000000 00000001 fb8d68a0 fac13b00 f00116dc RPC: <__udelay+0x1c/0x24> %L: fbe00f8c fbe00f34 d034fa4d 00000008 fb341006 fbe00f34 fac12000 f0011098 %I: 00000000 00049000 00000003 00000924 00000004 00000004 fac13b68 f0034afc Caller[f0034afc]: tasklet_action+0x6c/0xb8 Caller[f00347b0]: __do_softirq+0xa0/0xc4 Caller[f0034814]: do_softirq+0x40/0x54 Caller[f00108e8]: patch_handler_irq+0x0/0x24 Caller[f00774e0]: count+0x68/0x84 Caller[f00787c0]: do_execve+0xa0/0x1d8 Caller[f0014c9c]: sparc_execve+0x44/0x84 Caller[f00113bc]: syscall_is_too_hard+0x34/0x40 Caller[f003fba8]: ____call_usermodehelper+0x30/0xa4 Caller[f0014d10]: kernel_thread+0x34/0x50 Caller[f003fcd0]: __call_usermodehelper+0x34/0x74 Caller[f00400f8]: worker_thread+0x19c/0x258 Caller[f0044988]: kthread+0x9c/0xb4 Caller[f0014d10]: kernel_thread+0x34/0x50 Caller[f00449b0]: keventd_create_kthread+0x10/0x50 Caller[00000004]: 0x4 Instruction DUMP: 81c3e008 90023fe7 9de3bf98 <c20620b8> 80886020 12800006 b Kernel panic - not syncing: Aiee, killing interrupt handler! <0>Press L1-A to return to the boot prom
-- Meelis Roos ([EMAIL PROTECTED]) - To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html