Actions
Bug #12592
closedstmf_sbd: panic in _init on sparc
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
One early boot:
panic[cpu7]/thread=2a101715c60: BAD TRAP: type=34 rp=2a101715360 addr=7011db79 mmu_fsr=0 sched: alignment error: addr=0x7011db79 pid=0, pc=0x7b7620b4, sp=0x2a101714c01, tstate=0x4480001605, context=0x0 g1-g7: 7011d800, 0, ffffff, 300092e01e0, 0, 1c, 2a101715c60 Warning - stack not written to the dumpbuf 000002a1017150c0 unix:die+a4 (34, 2a101715360, 7011db79, 0, 3000016a008, ffffffffffffffff) %l0-3: 0000000000000000 0000000000003000 00000300001741e0 0000030000174208 %l4-7: 0000000000000000 0000000000000000 000000000000ffff 00000000007c3ff8 000002a1017151a0 unix:trap+1884 (2a101715360, 0, e00000034, e, 0, 1949338) %l0-3: 0000000000000008 0000000000000001 0000000000000000 00000000018a54c0 %l4-7: 0000000000000000 000006002b538f38 0000000000000000 000002a1011f5840 000002a1017152b0 unix:ktl0+64 (1a18e18, 0, 2, 0, 70069cf8, 0) %l0-3: 0000030009692000 0000000000000038 0000004480001605 000000000101eb20 %l4-7: 000000000180c000 0000000000000000 0000000000000000 000002a101715360 000002a101715400 stmf_sbd:_init+a8 (0, 7b762000, 193f180, 0, 7011d800, 7011d800) %l0-3: 0000000000000002 0000000000000000 0000000000000002 0000000000000063 %l4-7: 000006002c3ffb10 0000000000000000 0000000000000000 0000000000000000 000002a1017154b0 genunix:modinstall+90 (6002b7fea48, 1, 12fb3dd, 12fb400, 198d400, 7b762000) %l0-3: 00000000012fb3de 000002a101715518 0000000000000000 0000000000000000 %l4-7: 0000000001080d00 0000000000000020 0000000000000000 00000300034e5b61 000002a101715570 genunix:mod_hold_installed_mod+64 (6002b7fea48, 1, 0, 2a1017156dc, 30000120008, 0) %l0-3: ffffffffffffffff 0000000000000000 000000000000003c 000002a1019e1c60 %l4-7: 00000000003c0000 000006002b429980 0000000000000000 000002a1019e1840 000002a101715620 genunix:modrload+124 (12fb878, 300034e5b58, 0, d, 0, 6002bdb5840) %l0-3: 0000000000000001 0000000000000000 000002a10171583c 00000300085dc208 %l4-7: 00000000ffffe800 000000000000000b 0000000000000000 000002a101715640 000002a1017156e0 genunix:modload+c (12fb878, 300034e5b58, 3, 1f01, 129fb80, 7620) %l0-3: 0000030004a81c48 0000030004a81500 0000000000001f01 0000000000000001 %l4-7: 0000030004a814e0 0000000000000000 0000000000000000 0000000000000001 000002a101715790 genunix:mod_hold_dev_by_major+a4 (10e, 12fb878, 19478e0, 193937 0, 199d000, 7620) %l0-3: 00000300034ca870 0000000000000870 00000300034ca000 ffffffffffffffff %l4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 000002a101715840 genunix:ddi_hold_driver+4 (10e, 2a101715c60, 129fb80, 300035dba 38, ffffffffffffffff, 300035dba38) %l0-3: 0000000001999800 0000000000000001 000000000183e800 000000000000003c %l4-7: 0000000000630000 0000000000000000 0000000000000000 0000000000000000 000002a1017158f0 genunix:ddi_hold_installed_driver+8 (10e, 1991400, 6002b0ec400, 300035dba38, 10e, 300035dba20) %l0-3: 0000000000000000 000000000000003c 0000000000000000 0000000000000000 %l4-7: 000000000180c000 0000000000000000 000000000000ffff 0000000000000000 000002a1017159a0 genunix:attach_drivers+5c (0, 10e, 199d038, 1991408, 7690, 10e) %l0-3: 000006002b533310 0000000000000000 000000000000ffff 000002a1017b5c60 %l4-7: 00000000ffff0000 0000000000000000 0000000000000000 0000000000000000 skipping system dump - no dump device configured
As it did turn out, 11820 did add check for 3 global variables in _init, all declared as extern int, while in fact, the storage allocated was uint8_t.
Tested on both sparc and x86.
Related issues
Updated by Toomas Soome about 2 years ago
- Related to Bug #11820: upstream Nexenta iSCSI and COMSTAR fixes added
Updated by Joshua M. Clulow about 2 years ago
Yuri notes that these variables (HardwareAcceleratedLocking
, HardwareAcceleratedInit
, and HardwareAcceleratedMove
) are not written by the OS but rather tuneables for /etc/system
use.
Updated by Electric Monk about 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit fba27d8741c08c38aa9cf5fd383633304ddad810
commit fba27d8741c08c38aa9cf5fd383633304ddad810 Author: Toomas Soome <tsoome@me.com> Date: 2020-04-24T19:26:10.000Z 12592 stmf_sbd: panic in _init on sparc Reviewed by: Gergő Doma <domag02@gmail.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Yuri Pankov <ypankov@fastmail.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
Actions