OpenSolaris

Printable Version Enter a New Search
Bug ID 6627055
Synopsis nxge driver triggers bcopy error and panics system when setting kmem_flag in /etc/system
State 10-Fix Delivered (Fix available in build)
Category:Subcategory driver:nxge
Keywords glendale_reviewed | glendale_track
Responsible Engineer Misaki Kataoka
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_79
Fixed In snv_79
Release Fixed solaris_nevada(snv_79) , solaris_10u5(s10u5_08) (Bug ID:2156916)
Related Bugs 6480959 , 6571758
Submit Date 7-November-2007
Last Update Date 5-December-2007
Description
System setup- 
Panic is easily reproduced with the following steps:
In /etc/system, add the following lines:
    set kmem_flags = 0x4f
    exclude:scsa2usb  (unrelated to bug - this is a workaround for another similar bug
                       if you don't add this line, then you'll see this bug instead of 
                       the nxge panic)

When setting kmem_flags in /etc/system, system panics during reboot (unable to boot solaris to get core dump)
The following panic string is as follows:

Boot device: /pci@400/pci@0/pci@8/scsi@0/disk@0,0:a  File and args:
SunOS Release 5.10 Version svlpen-cs10-0:vf-on10-patch-nightly:10/15/2007 64-bit
Copyright 1983-2007 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
-
panic[cpu4]/thread=2a10021fcc0: BAD TRAP: type=31 rp=2a10021ea70 addr=300ee434000 mmu_fsr=0

sched: trap type = 0x31
addr=0x300ee434000
pid=0, pc=0x121bbd0, sp=0x2a10021e311, tstate=0x80001600, context=0x0
g1-g7: 7b650848, 0, 1, 300cb63fd00, 3a, 10, 2a10021fcc0

000002a10021e790 unix:die+9c (31, 2a10021ea70, 300ee434000, 0, 2a10021e850, d80e0019)
  %l0-3: 00000000c0800000 0000000000000031 0000000001000000 0000000000002000
  %l4-7: 0000000000100000 00000000018558e0 0000000000000000 000000000108d400
000002a10021e870 unix:trap+9d8 (2a10021ea70, 0, 6, 1c00, 300ee434000, 1)
  %l0-3: 0000000000000000 00000000018558e0 0000000000000031 0000000000000000
  %l4-7: ffffffffffffe000 0000000000000000 0000000000000006 0000000000000001
000002a10021e9c0 unix:ktl0+64 (3, 300ee437fc0, 0, 0, 806cafe, 0)
  %l0-3: 0000030039ece000 0000000000000020 0000000080001600 000000000101e158
  %l4-7: 00000300ee42bf40 0000000000000000 0000000000000000 000002a10021ea70
000002a10021eb10 SUNW,UltraSPARC-T2+:bcopy+e40 (5fee215264, 2a10021ed9c, 1, 0, 0, 0)
  %l0-3: 00000000000005dc 0000000000000000 00000300d7ac7f10 00000300ee42ffc0
  %l4-7: 00000300d7abfe68 00000300ee437fc0 000000000106b364 0000000000000000
000002a10021ecd0 nxge:nxge_fill_tx_hdr+58 (300ee437fc0, 300ee437fc0, 0, 0, 0, 300a8a12000)
  %l0-3: 0000000000000000 0000000000000010 00000000000001fd 0000000000000200
  %l4-7: 0000000000000000 0000000000000020 000002a10021ed8c 000000000000000e
000002a10021ede0 nxge:nxge_start+ac0 (f, 1, 1ff, 0, 300a6900000, 2)
  %l0-3: 00000300a6900000 00000300cb662000 000000000000003a 0000000000000000
  %l4-7: 000000000000002a 000000000000001c 000000000000003a 0000000000000001
000002a10021f100 nxge:nxge_freelance+78 (300cb647f60, 1, bebc000, 0, 0, 0)
  %l0-3: 00000000704bbaa0 000002a10021f1b0 000002a10021f1b8 0000000000000001
  %l4-7: 0000000000000003 0000000000000003 0000000000000000 000000007b643710
000002a10021f1c0 nxge:nxge_serialize_enter+20 (300cb647f60, 300ee437fc0, 2a10021f3d0, 300ee437fc0, 6, 300cb647f60)
  %l0-3: 0000000001855800 000000000000000a 000000000000000a 000000000000001a
  %l4-7: 0000000000000000 00000000704b8000 0000000000000000 0000000000000000
000002a10021f270 nxge:nxge_send+8c (0, 300ee437fc0, 4800, 0, 300c191296c, 496c)
  %l0-3: 0000000000000000 0000000000000000 00000300cb63fd00 0000000000000000
  %l4-7: 00000000704b8000 00000300cb627e40 00000300c1912958 0000000000004958
000002a10021f320 nxge:nxge_m_tx+48 (0, 300ee437fc0, 0, 2a10021f3d0, 70, 300c190e000)
  %l0-3: 00000000018d3f20 0000020000ffc000 0000020000ffc000 0000000000008000
  %l4-7: 0000000000008000 0000000000000000 00000000018d3d40 00000000000001e0
000002a10021f3e0 dld:dld_tx_single+1c (300d7ac7ef0, 300ee437fc0, 0, 0, 300ee437fc0, 300d7ac7ef0)
  %l0-3: 0000000000000000 00000300ee433f80 00000300ee422000 0000000000000000
  %l4-7: 00000300ee42bf40 0000000000000000 0000000000000000 0000000000000000
000002a10021f490 dld:proto_unitdata_req+194 (1, 2a10021ee71, 2a1, 2a10021f55c, 1c, 2a10021f560)
  %l0-3: 00000000000005dc 0000000000000000 00000300d7ac7f10 00000300ee42ffc0
  %l4-7: 00000300d7abfe68 00000300ee437fc0 000000000106b364 0000000000000000
000002a10021f570 dld:dld_wput+fc (300d7ac7fd8, 300ee427fc0, 300ee423f40, 1, 300d7ac7ef0, 0)
  %l0-3: 00000300d7abfe68 00000300001d61d8 0000000000000001 00000300001d61b0
  %l4-7: 00000300001d6300 0000000000000000 00000300db6a3f40 0000000000000001
000002a10021f620 unix:putnext+218 (300d7abff60, 300d7abfe68, 300ee427fc0, 100, 300d7b37e68, 0)
  %l0-3: 0000000000000000 0000000000000000 0000000000000000 00000000000056d0
  %l4-7: 000000000000010d 00000300c18fbfb0 0000000001323164 fffffd5effde6000
000002a10021f6d0 arp:ar_xmit+2c4 (300ee42bff4, 300ee42bfea, 2a10021f7a8, 4, 4, 300ee427fc0)
  %l0-3: 00000300d7b5ff28 0000000000000000 0000030034335580 00000300ee42bfdc
  %l4-7: 0000000000000006 0000000000000000 0000000000000006 00000300ee42bfee
000002a10021f7d0 arp:ar_wsrv+f4 (300d7b37e68, 3, 300ee417ec0, 0, fffffffffffff7ff, ffffffffffffffbf)
  %l0-3: 0000000000001000 0000030034335580 00000300ee417f58 0000000000000060
  %l4-7: 00000300ee417fd0 0000000000000002 0000000000007fff 00000300d7b5ff28
000002a10021f8a0 genunix:___const_seg_900000101+4eb8 (300d7b37ed0, 2a10021fcc0, 2000, 300d7b37ed0, 300d7b37e68, 20000)
  %l0-3: fffffffffffffffe 000000007005b190 0000000000000000 0000000000002200
  %l4-7: 0000000000000000 0000000000001467 00000000018ed400 0000000000000000
000002a10021f950 genunix:___const_seg_900000101+add4 (300d7abbfc0, 3002513e780, 30025235fc8, 0, 300d7abbe70, 300d7b37e68)
  %l0-3: 0000000000001328 00000000018ed400 000002a10021fcc0 7fffffffffffffa4
  %l4-7: 0000000000000000 0000000000000000 0000000000000001 00000000011cd800
000002a10021fa00 genunix:taskq_d_thread+88 (30025235fc8, 3002513e780, 3002511ff28, 0, 1ea2d67a72de2, 30025235ff8)
  %l0-3: 000003002513e790 000003002513e7d0 000003002511ff48 00000000000073f1
  %l4-7: 00000000018ed400 0000000000007530 0000000000000064 0000000001826c00

syncing file systems... done
skipping system dump - no dump device configured
rebooting...
WARNING: promif_ldom_setprop: ds response timeout
WARNING: unable to store boot command for use on reboot
Resetting...
Work Around
N/A
Comments
N/A