[OmniOS-discuss] [developer] Kernel Panic - Possibly SMB?

Matthew Mabis mmabis at vmware.com
Sun May 11 03:11:59 UTC 2014


Hey all, 

Had a repeat of this again, looks like its repeatable only when i pound the SMB Service a lot (had uploads/downloads from multiple boxes at the same time) (WIFI Mac Client downloading 5 different things [Large video files]) Had some uploading going on from two different servers and video streaming to an XBMC box. 

I am no good at troubleshooting these things, i am hoping someone could help me out i have attached the panic again. 

I use to do this all the time on the older versions of the software (using latest stable) and never hit this issue. I am wondering if an SMB Code change might be making this occur. 

If needed i can get you the dump file to help with the troubleshooting as i dont know MDB all that well any help would greatly be appreciated, it does seem whatever is causing this it requires that i pound the SMB Service a lot and then it becomes easily reproducible. 

FMDUMP Info 


nvlist version: 0 

version = 0x0 

class = list.suspect 

uuid = 331b57b0-7aa4-e892-b710-ae1c59c6fe6a 

code = SUNOS-8000-KL 

diag-time = 1399776957 591111 

de = fmd:///module/software-diagnosis 

fault-list-sz = 0x1 

fault-list = (array of embedded nvlists) 

(start fault-list[0]) 

nvlist version: 0 

version = 0x0 

class = defect.sunos.kernel.panic 

certainty = 0x64 

asru = sw:///:path=/var/crash/unknown/.331b57b0-7aa4-e892-b710-ae1c59c6fe6a 

resource = sw:///:path=/var/crash/unknown/.331b57b0-7aa4-e892-b710-ae1c59c6fe6a 

savecore-succcess = 1 

dump-dir = /var/crash/unknown 

dump-files = vmdump.0 

os-instance-uuid = 331b57b0-7aa4-e892-b710-ae1c59c6fe6a 

panicstr = BAD TRAP: type=e (#pf Page fault) rp=ffffff0011a03450 addr=ffffff03197b10c8 

panicstack = unix:real_mode_stop_cpu_stage2_end+9de3 () | unix:trap+db3 () | unix:cmntrap+e6 () | smbsrv:smb_fsop_lookup+118 () | smbsrv:smb_common_rename+d9 () | smbsrv:smb_trans2_rename+136 () | smbsrv:smb_set_rename_info+b8 () | smbsrv:smb_set_fileinfo+ed () | smbsrv:smb_set_by_fid+b0 () | smbsrv:smb_com_trans2_set_file_information+58 () | smbsrv:smb_trans2_dispatch+313 () | smbsrv:smb_com_transaction2+1a7 () | smbsrv:smb_dispatch_request+662 () | smbsrv:smb_session_worker+a0 () | genunix:taskq_d_thread+b7 () | unix:thread_start+8 () | 

crashtime = 1399776856 

panic-time = Sat May 10 20:54:16 2014 MDT 

(end fault-list[0]) 




fault-status = 0x1 

severity = Major 

__ttl = 0x1 

__ tod = 0x536ee6bd 0x241b4d28 


Here is the ::Stack 



smb_fsop_lookup+0x118(ffffff03197b0990, ffffff02dbfca018, 0, ffffff03197b0db8, ffffff02da252970, ffffff03197b0ea8) 

smb_common_rename+0xd9(ffffff03197b0990, ffffff03197b0bc8, ffffff03197b0db8) 

smb_trans2_rename+0x136(ffffff03197b0990, ffffff02e60c9ca0, ffffff02dc90b628, 1) 

smb_set_rename_info+0xb8(ffffff03197b0990, ffffff0011a03840) 

smb_set_fileinfo+0xed(ffffff03197b0990, ffffff0011a03840) 

smb_set_by_fid+0xb0(ffffff03197b0990, ffffff030f2ff400, 3f2) 

smb_com_trans2_set_file_information+0x58(ffffff03197b0990, ffffff030f2ff400) 

smb_trans2_dispatch+0x313(ffffff03197b0990, ffffff030f2ff400) 

smb_com_transaction2+0x1a7(ffffff03197b0990) 

smb_dispatch_request+0x662(ffffff03197b0990) 

smb_session_worker+0xa0(ffffff03197b0990) 

taskq_d_thread+0xb7(ffffff0331430760) 

thread_start+8() 






Matt Mabis 


----- Original Message -----

From: "Matthew Mabis" <mmabis at vmware.com> 
To: "Gordon Ross" <gordon.ross at nexenta.com> 
Cc: developer at lists.illumos.org, "omnios-discuss" <omnios-discuss at lists.omniti.com> 
Sent: Wednesday, May 7, 2014 8:01:55 AM 
Subject: Re: [OmniOS-discuss] [developer] Kernel Panic - Possibly SMB? 

I haven't been able to reproduce this issue, I believe a NC Replication (From Different Pools on the Same Host) was going on while SMB was being actively used. 

How would i look at the " In particular, look at the smb_xa_t it's working on, and the param+data buffers. Are they all there?" Any help would be greatly appreciated! 






Matt Mabis 


----- Original Message -----

From: "Gordon Ross" <gordon.ross at nexenta.com> 
To: "Matthew Mabis" <mmabis at vmware.com> 
Cc: developer at lists.illumos.org, "omnios-discuss" <omnios-discuss at lists.omniti.com> 
Sent: Tuesday, May 6, 2014 9:07:23 AM 
Subject: Re: [developer] Kernel Panic - Possibly SMB? 

Is this reproducible? Can you show any more detail about the data structure being operated on when it panic's? 
In particular, look at the smb_xa_t it's working on, and the param+data buffers. Are they all there? 

This is just a guess, but I suspect you may have stumbled upon an instance of the bug fixed here: 
https://github.com/Nexenta/illumos-nexenta/commit/803bd0af2c4842f440c58a8ab2c7b52f4171145d 

Gordon 


On Sun, May 4, 2014 at 7:22 PM, Matthew Mabis < mmabis at vmware.com > wrote: 





Hey all wondering if someone could help me figure out what just happened, i had a kernel panic that i dont understand what caused it based on what i see in the stack it might have been SMB, if you need more like the dump file itself let me know! Any help would greatly be appreciated! 







root at destiny:~# fmdump -Vp -u ae3350e8-17d5-4701-ecc6-b46fbaf1d04b |more 

TIME UUID SUNW-MSG-ID 

May 04 2014 17:16:03.161236000 ae3350e8-17d5-4701-ecc6-b46fbaf1d04b SUNOS-8000-KL 




TIME CLASS ENA 

May 04 17:16:03.1244 ireport.os.sunos.panic.dump_available 0x0000000000000000 

May 04 17:15:23.3085 ireport.os.sunos.panic.dump_pending_on_device 0x0000000000000000 




nvlist version: 0 

version = 0x0 

class = list.suspect 

uuid = ae3350e8-17d5-4701-ecc6-b46fbaf1d04b 

code = SUNOS-8000-KL 

diag-time = 1399245363 130378 

de = fmd:///module/software-diagnosis 

fault-list-sz = 0x1 

fault-list = (array of embedded nvlists) 

(start fault-list[0]) 

nvlist version: 0 

version = 0x0 

class = defect.sunos.kernel.panic 

certainty = 0x64 

asru = sw:///:path=/var/crash/unknown/.ae3350e8-17d5-4701-ecc6-b46fbaf1d04b 

resource = sw:///:path=/var/crash/unknown/.ae3350e8-17d5-4701-ecc6-b46fbaf1d04b 

savecore-succcess = 1 

dump-dir = /var/crash/unknown 

dump-files = vmdump.0 

os-instance-uuid = ae3350e8-17d5-4701-ecc6-b46fbaf1d04b 

panicstr = BAD TRAP: type=e (#pf Page fault) rp=ffffff001e907450 addr=ffffff05ce4c90d8 

panicstack = unix:real_mode_stop_cpu_stage2_end+9de3 () | unix:trap+db3 () | unix:cmntrap+e6 () | smbsrv:smb_fsop_lookup+118 () | smbsrv:smb_common_rename+d9 () | smbsrv:smb_tr 

ans2_rename+136 () | smbsrv:smb_set_rename_info+b8 () | smbsrv:smb_set_fileinfo+ed () | smbsrv:smb_set_by_fid+b0 () | smbsrv:smb_com_trans2_set_file_information+58 () | smbsrv:smb_trans2_dispa 

tch+313 () | smbsrv:smb_com_transaction2+1a7 () | smbsrv:smb_dispatch_request+662 () | smbsrv:smb_session_worker+a0 () | genunix:taskq_d_thread+b7 () | unix:thread_start+8 () | 

crashtime = 1399244984 

panic-time = Sun May 4 17:09:44 2014 MDT 

(end fault-list[0]) 

severity = Major 



















































































































__ttl = 0x1 

__tod = 0x5366ca33 0x99c4420 







Matt Mabis 


illumos-developer | Archives | Modify Your Subscription 	






_______________________________________________ 
OmniOS-discuss mailing list 
OmniOS-discuss at lists.omniti.com 
https://urldefense.proofpoint.com/v1/url?u=http://lists.omniti.com/mailman/listinfo/omnios-discuss&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=yqgQ6LhGnfWMd79QvLrmWsnr%2FlpWj5c0oy4MpT8%2Bgik%3D%0A&m=kP68dpV0mRMFNohpnv8r%2FJF7j4%2FzOwVtv5SSakIqIiQ%3D%0A&s=3be7b320dd64a6f1a310ade277f3028203e77cef9da0e743852773f97be078c2 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20140510/e43c94e7/attachment-0001.html>


More information about the OmniOS-discuss mailing list