OpenSolaris

Printable Version Enter a New Search
Bug ID 6582448
Synopsis ip_find_unused_squeue() calls cpu_get() without holding cpu_lock
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:tcp-ip
Keywords rtiq_internal
Responsible Engineer Rajagopal Kunhappan
Reported Against snv_70
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_70
Fixed In snv_70
Release Fixed solaris_nevada(snv_70) , solaris_10u5(s10u5_01) (Bug ID:2151537)
Related Bugs 6568417
Submit Date 18-July-2007
Last Update Date 14-August-2007
Description
A Niagara test machine tipped over when booting the onnv-gate:2007-07-13 bits:

panic[cpu24]/thread=2a100207ca0: assertion failed: (mutex_owned(&cpu_lock)),
  file: ../../common/os/cpu.c, line: 1043

2a1002076b0 genunix:assfail+78 (10d18e8, 10d1720, 413, 185b800, 1322400, 0)
  %l0-3: 000000007bb75d80 0000000000000003 0000000000000002 00000000010d1400
  %l4-7: 00000000010d1800 0000000000000000 00000000018ac000 0000000000000000
2a100207760 unix:cpu_get+28 (1f, f8, 1f, 30018df8040, 2, 1859000)
  %l0-3: 000000007bb75d80 0000000000000003 0000000000000002 00000000010d1400
  %l4-7: 00000000010d1800 0000000000000800 0000000000000860 000006001017c940
2a100207810 ip:ip_find_unused_squeue+c4 (1f, 8, 0, 0, 7002b038, 7002b000)
  %l0-3: 000000007bb75d80 0000000000000003 0000000000000002 0000000000000001
  %l4-7: 0000000000002800 0000000000000800 0000000000000860 000006001017c940
2a100207900 ip:ip_squeue_soft_ring_affinity+274 (0, 1, 0, 30018df8040, 2, 1852350)
  %l0-3: 000000007bb75d80 0000000000000003 0000030017186000 0000030018df8000
  %l4-7: 0000000000000000 0000000000000000 000000000181e45c 0000060010073100
2a1002079c0 genunix:taskq_d_thread+bc (30016122890, 6001004a660, 30016122880, 600100111d8, 1, 18c0730)
  %l0-3: 000002a100207a8a 000002a100207a88 00000600100111f8 000006001004a690
  %l4-7: 00000300161228d0 000000000000743f 0000030016122890 0000002f72b94420

I can't provide a dump, because I BFUed my test machine to these bits, and it
panics every time.  Sigh.
ONPIT have hit this panic during install of snv_70 (debug) on several Sun-Fire-T200 systems (no core files available) :-

ok boot net - install
SC Alert: Host System has Reset
SC Alert: Host system has shut down.
Sun Fire T200, No Keyboard
Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.19.0, 8184 MB memory installed, Serial #64542456.
Ethernet address 0:3:ba:d8:d6:f8, Host ID: 83d8d6f8.
Rebooting with command: boot net - install
Boot device: /pci@780/pci@0/pci@1/network@0  File and args: - install
100 Mbps full duplex  Link up
Requesting Internet Address for 0:3:ba:d8:d6:f8
Requesting Internet Address for 0:3:ba:d8:d6:f8
Requesting Internet Address for 0:3:ba:d8:d6:f8
Requesting Internet address for 0:3:ba:d8:d6:f8
SunOS Release 5.11 Version snv_70 64-bit
Copyright 1983-2007 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
DEBUG enabled
sift-pc-start isn't unique 
sift-pc-end isn't unique 
set-sift-pc isn't unique 
pc-in-range? isn't unique 
sift-tt isn't unique 
same-tt? isn't unique 
ncpu-acf isn't unique 
loaded
Disabling watchdog as watchdog services are not available 
panic[cpu0]/thread=2a10020fca0: assertion failed: (mutex_owned(&cpu_lock)), file: ../../common/os/cpu.c, line: 1043
 
 000002a10020f6b0 genunix:assfail+78 (10d1a48, 10d1880, 413, 185b800, 1322800, 0)
   %l0-3: 000000007bb75e48 0000000000000000 0000000000000002 00000000010d1800
   %l4-7: 00000000010d1800 0000000000000000 00000000018ac000 0000000000000000
 000002a10020f760 unix:cpu_get+28 (0, 0, 0, 30019d70088, 2, 1859000)
   %l0-3: 000000007bb75e48 0000000000000000 0000000000000002 00000000010d1800
   %l4-7: 00000000010d1800 0000000000000800 0000000000000860 0000030014727540
 000002a10020f810 ip:ip_find_unused_squeue+c4 (0, 8, 0, 0, 191d0d0, 191d000)
   %l0-3: 000000007bb75e48 0000000000000000 0000000000000002 0000000000000001
   %l4-7: 0000000000002800 0000000000000800 0000000000000860 0000030014727540
 000002a10020f900 ip:ip_squeue_soft_ring_affinity+274 (0, 0, 0, 30019d70088, 2, 18523d0)
   %l0-3: 000000007bb75e48 0000000000000000 000000000180c000 0000030019d70000
   %l4-7: 0000000000000000 0000000000000001 000000000181e45c 0000030014727540
 000002a10020f9c0 genunix:taskq_d_thread+bc (300163cc810, 6001003c6b0, 300163cc800, 600100111d8, 1, 18c07b0)
   %l0-3: 000002a10020fa8a 000002a10020fa88 00000600100111f8 000006001003c6e0
   %l4-7: 00000300163cc850 0000000000007339 00000300163cc810 00000025fa06e440
 

- see full console output at http://diablo.ireland/cgi-bin/electron/showFile.cgi?/electron/data/reports/06374/956072/status
Work Around
N/A
Comments
N/A