1833199 Members
3027 Online
110051 Solutions
New Discussion

vmunix: SPT

 
Danny Crisp
Frequent Advisor

vmunix: SPT

What does vmunix: SPT: (spt_open) Bad device number: 0x4d000000 mean? This just appeared in one of our servers /var/adm/syslog/syslof.log file for no apparent reason. No changes have been made.
10 REPLIES 10
A. Clay Stephenson
Acclaimed Contributor

Re: vmunix: SPT

SPT is the SCSI pass-through driver. SPT devices are most-commonly used with tape library robotic devices. You can verify this by doing an lsdev and noting that hex 4D = 77dec do look in /dev for devices with major number 77. An ioscan -fn posting would also be helpful.
If it ain't broke, I can fix that.
Alex Glennie
Honored Contributor

Re: vmunix: SPT

its reported by SPT (SCSI Pass Through) driver when open() system call is
called with invalid device files that minor number is incorrect.

from man scsi_pt, the minor number format for SPT driver is,
minor number = 0xIITL00
II = card instance number
T = SCSI target ID
L = LU number on the SCSI device.
00 = reserved.

major number is 75 so the most likely cause is there are some invalid device files that have correct major number for SPT but incorrect minor number and Omniback or a similar command / backup utility tried to open that device file.
Danny Crisp
Frequent Advisor

Re: vmunix: SPT

Please find attached ioscan -fun output. Below is the relavent output from lsdev -C autoch and ioscan -funC autoch: -

Character Block Driver Class
231 29 schgr autoch

ClasS I H/W Path Driver S/W State
autoch 0 10/0/15/1.0.0 schgr CLAIMED
/dev/rac/c3t0d0

# ll /dev/rac/c3t0d0

crw------- 1 bin sys 231 0x030000 Feb 16 2005 /dev/rac/c3t0d0
A. Clay Stephenson
Acclaimed Contributor

Re: vmunix: SPT

I couldn't open your attachment. You should note that the process that triggered this error was not using the scghr or autoch devices; it was using scsi pass-thru. The are really looking for something like /dev/spt/c0t0d0.

One way to find these device nodes is to note that 4d (hex) = 77 (dec) and do a find looking for this:

find /dev -type c -exec ls -l {} \; | awk '{if ($5 == 77) print $0}'
If it ain't broke, I can fix that.
Danny Crisp
Frequent Advisor

Re: vmunix: SPT

One result returned from the example you supplied: -

crw------- 1 root root 77 0x000000 Sep 13 2004 /dev/ipmi
A. Clay Stephenson
Acclaimed Contributor

Re: vmunix: SPT

Then that is the device node that the process that triggered your error was using. Do you have any scripts or applications that use that device node?
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: vmunix: SPT

ipmi = intelligent platform management interface

http://docs.hp.com/en/B2355-60105/ipmi.7.html
If it ain't broke, I can fix that.
Danny Crisp
Frequent Advisor

Re: vmunix: SPT

We are using Legato Networker.
Danny Crisp
Frequent Advisor

Re: vmunix: SPT

I have found a solution to this question
EmLea
New Member

Re: vmunix: SPT

I am experiencing this same error. Can you let me know what your resolution was? The ipmi controller is unclaimed/unknown, which indicates the driver is not present. I reinstalled the driver, but error is still occurring. Any assistance you can provide is greatly appreciated.