Device attaches on Solaris 10

Hello,
We have a device driver that's been working on Solaris 7 and higher for some time. We're seeing different behavior on Solaris 10 that is causing us problems. We are running on Sparcs.
Our driver has one pseudo device and one or more physical devices.
Normally when the driver loads, the attach function is called for the pseudo device and the physical devices (in some not necessarily predictable order).
This loading would usually take place when the pseudo device was opened, but could be due to the driver initially being installed or sometimes when the system boots.
With Solaris 10, after rebooting the system, sometimes the pseudo device access only causes the pseudo device to be attached, and not the physical devices.
Our driver is actually accessed by applications soley via the pseudo device, rather than by individual devices, so this causes a big problem for us.
Is there anything we can do to cause the behavior to revert back to what it was before? Anything which causes the physical devices to all be attached would be fine, such as some call the attach for the pseudo device could make. Or something to put in our .conf file, etc.
Thanks,
Nathan

Thank you for your response.
Setting the "ddi-forceattach" property in Pseudo driver .conf file will not
help. Solaris does not "attach" Pseudo drivers which do not have ".conf"
children (even though the Pseudo driver conf file has "ddi-forceattach=1"
property set). Opening the Pseudo device file will attach the Pseudo driver.I'm confused... We have a .conf file, as mentioned, but what makes
it a "Pseudo driver .conf" rather than just a "driver .conf"?
From what I undestand of your requirement, the following should be sufficient :
1. Set property : "ddi-forceattach=1" for all physical devices that is
required by Pseudo driver.
2. Application opens the Pseudo device node.
Let me know if you have any queries / issues. I do have further questions.
Included below is a version of our .conf file modified to protect the
names of the guilty.
As you can see, there is part of it which defines a pseudo device,
and then a set of properties that apply to all devices. Or that's the
intention.
In #1, you said to set the ddi-forceattach property for all "physical
devices", but how do I do this, if it's not what I'm already doing? And what
do you mean "required by Pseudo driver"?
name="foobar" parent="pseudo" instance=1000 FOOBAR_PSEUDO=1;
ddi-forceattach=1
FOOBAR_SYM1=1
FOOBAR_SYM2=2
FOOBAR_SYM3=3;
On a Solaris 9 system of mine, recently I believe I have seen multiple cases
where I've booted, and a physical device has not gotten attached, but if I
reboot, it will be attached the next time.
Thanks,
Nathan

Similar Messages

  • Error message saying a device attached to the system is not functioning

    i m getting an error message saying a device attached to the system is not functioning whenever i m trying to connect my pc to my smartphone. i tried all your options like uninstalling failed updates from my update history, checking if their is any flag
    in device manager option but nothing helped me.. plz solve my problem..

    Hi,
    Could you please have a share with your phone's information?
    Based on what I know, different phones may have different softwares developed by the manufacturer to make the connection through Windows operating system, we may check with the phone's manufacturer side and see if there could be some helpful information
    offered.
    Besides, please take a check with
    Event Viewer and see if any special errors logged there.
    Best regards
    Michael Shao
    TechNet Community Support

  • Can not drag files off iphone onto windows 7 Laptop (Error: A device attached to the system is not functioning!) Any ideas on how to resolve this, Much appreciated

    Connect phone to laptop, AutoPlay Box appears, click open Device to view files, internal storage, DCIM, Drag all Pictures/Videos into folder on desktop. Message pops up within a few seconds, Saying  'A Device Attached To The System Is Not Functioning.'
    Can any be of assistance?
    Many Thanks.
    Callum.

    Is the computer in question connected to the Internet, and if so, is the Internet connection working correctly?
    It is possible that Adobe Reader tries to check for updates when it is launched, then finds a faulty network connection.
    Check the Device Manager for non-functioning network devices.
    Also try http://fixitcenter.support.microsoft.com/ to find other potential problems on that system.

  • HP Laser M1522NF the USB device attached to this computer is not recognised and has Malfunctio​ned

    Hi,
    I have this printer HP Laser M1522nf.It was working fine till today.Suddenly it has started giveng this error
    "HP Laser M1522NF the USB device attached to this computer is not recognised and has Malfunctioned"
    This error is not on printer but on my computer when I connect the printer USB cable.I have 3 laptops all have winxp installed on them.I have tried connecting the printer with all laptops and they all give the same error with reference to connecting usb printer cable and Malfunctioning.
    Appreciate your gracious advice and guidance in this regard,
    Many thanks

    Is this at an office and you are logged in not as an administrator?
    If that's not the case, then the message maybe true, that it did malfunction, and need to be serviced. (assuming you already tried power cycle the printer, making sure doors/trays are all properly put in.
    ======================================================================================
    * I am an HP employee. *
    ** Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. **
    ***Click on White “Kudos” STAR to say thanks!***

  • A device attached to your system is not working!!

    I am trying to connect to Oracle8i Personal Edition through a JDK1.2.1 application using the classes111.zip or classes12.zip package. After running the application I get this error message: UnsatisfiedLinkError: ocijdbc8: A device attached to your system is not working. I you have any idea what is happening, please answer inmediately.

    You are using the oci8 driver so your program is looking for the native mode Oracle Client software. Install the Oracle Client software or use the thin driver.

  • I got this message when saving photo from Iphone4s to my laptop's folder. "The device attached to the system is not functioning"  What can I do?

    I cannot save photo to my deskstop. When I copy to my folder, it indicated "The device attached to the system is not functioning".  I don't update my IOS to the latest version in case my photo from my iphone will be missing.  Please help. Thanks.

    The Only thing I could do to save my pictures on my computer was to send them via Facebook chat to myself, send them one by one then on your computer open then and dragging them is way faster than right-click Save As. I just did that and I do not want to reset my phone so I guess I will continue doing this as I get more pictures or until I feel like resetting my phone. I believe this issue happens when you Connect and while transfering one or more file from one end to another, and you suddenly disconnect the iPhone or any apple divece, the file that wasnt completely transfered gets corrupted and I guess the whole /Picture/Video folder or perhaps the whole device gets corrupted as well. I am sure that this is a cause to this issue but I do not know if there are other causes or if the same one happened to you.
    How to prevent this from happening again?
    Always go to iTunes and click on "Eject" under your device tab before disconnecting your device from your computer. Even if you are not transfering any files at all.

  • Java.util.zip.ZipException: a device attached to the system is not function

    getting a java.util.zip.zipexception : a device attached to the system is not functioning error - what could cause such an error?
    My program finds all zip files in an archive and then searches through them for xls files, which it extracts and re-locates.
    I havent even a clue where to look for the cause of this exception but Ill attach at the bottom the code in the general vicitiny of the trigger so that you can get kind of an idea what Im trying to do, and if im lucky, even spot my problem. :) Thanks!!
    //zips is an array of zip files
    int found = 0;
    File[] haveXLs = new File[zips.length];
    for (int i = 0; i < zips.length; i++){
    String fileName = new String("L:/Vision/Archive/" + zips.getName());
    ZipFile archive = new ZipFile(fileName);
    String name = zips[i].getName().substring(0,8);
    for(Enumeration e = archive.entries(); e.hasMoreElements();){
    ZipEntry entry = (ZipEntry) e.nextElement();
    if(entry.getName().substring(0,8) == name){
    haveXLs[found] = zips[i];
    found++;

    Hey there a few things.
    Make sure that you dont use fileseparators like you do. ("/")
    Use the separator generated for your system.
    Something like:
    String sep = System.getProperty("file.separator");
    You mentioned it work local, but not network.
    Either you have plenty of harddrives or L: is a mapped drive.
    Is it working at the mapped drive?
    When you say on the network, how are you accessing the files?
    Could it be possible for another user to lock a file, so you wont have access to it over the network?
    BR.
    MagDy

  • E65 modem: "A device attached to the system is not...

    I am not able to resolve the following problem which suddenly appeared. When I try to connect to the Internet, both bluetooth and USB modem say: "Error 31 A device attached to the system is not functioning" when connecting directly using a dial-up connection. When using Nokia PC suite it says: "Cannot create newtork conncetion" (maybe inaccurate translation from my language). However, connecting to Internet directly from the phone (browser, applications) is working, so the connection itself is well configured. Moreover, I am not able to install the INF driver for bluetooth modem which I downloaded ("Device cannot start (CODE 10)"), but USB at least connection would be fine. Any ideas?
    Solved!
    Go to Solution.

    It was a permanent error of Windows Vista DUN (Remote connections). Reinstalling Vista definitely helped. At least for a while...

  • 'a device attached to the computer is not functioning'

    I ran into an error today importing files from my iPhone5 to my PC. The error read:
    'a device attached to the computer is not functioning'
    It happened repeatedly for certian (larger) files that I would attempt to transfer.
    The solution, I found was to ensure that I was using an authorized iPhone lightning cable. The cable I used first was a $7 knockoff. It works great for charging, but data transfer is sketchy.
    Plugging into an Apple-made cable made the problem disappear!

    There were stories published that indicated some companies built and sold lightning cables before Apple had finalized the specifications for them. The cable you purchased might have been one like that. Apple certifies cables the meet the needed specifications and that info appears on the packaging.

  • When accessing shared folder - 'You might not have permission to use this network resource" .. A device attached to the system is not functioning

    On a Windows 2008 R2 server that had been working fine, all of a sudden some shared folders became inaccessible.  Clicking on them returned the following: "<Folder> is not accessible.  You might not have permission to use this network
    resource.  A device attached to the system is not functioning."
    If I create another share with a different name for that same folder, it works fine.  If I delete the original share then recreate it with the same name, I get the same error.  However, if I right click on the problematic share and select 'map
    network drive' that works.  So this would not appear to be a permission issue.
    I discovered this problem because the path for mapping the home folder as a property of their AD account stopped working.
    I have tried most of the common things found on the internet.  I've tried accessing via IP, same issue.  While I only have a couple 2003 servers, those can access this resource.
    At this point, I'm pretty much out of ideas.  Any help would be appreciated.  I also have some reports of potential issues with some printer mappings too which I will have to investigate in the morning.
    If anyone has a solution to this I would be extremely grateful.  Thank you.

    Hi,
    Can you access the shard folder locally? Is a specific server cannot access the shared folder? Please try to Boot your server in Clean Mode to check if some third-party software cause the issue.
    How to perform a clean boot in Windows
    http://support.microsoft.com/kb/929135
    Best Regards,
    Mandy
    If you have any feedback on our support, please click
    here .
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Communication problems: A device attached to the system is not functioning.

    Hi all,
    I'm developing an applet and using the OMNIKEY 5321 CL reader for communication and testing. One of the requirements for our card is to read large binary data.
    For this purpose i used extented lenght APDU to read the data from card.
    When I tested it via JCOP simulation I was able to read up to 32767 bytes as described in specification. But problem occurs when I test it with reader, in this case I'm able to read max 298B in APDU response. When I send greater byte count than 298B i have got following error in JCShell plugin:
    jcshell: requestSessionKey.jcsh[1]: Error code: -6 (Card terminal error)
    jcshell: requestSessionKey.jcsh[1]: Communication problems: A device attached to the system is not functioning.
    Regarding the extend lengh APDU support it should by OK from the OMNIKEY. I'm using newest driver 1.2.9.2 for Win 7.
    Here my configuration:
    JCOP:JCOP 2.4.2r1
    JAVA CARD: jc301
    Global Platform: gp22
    Can somebody help me? Any ideas?

    If you want to use PC/SC directly, I have a simple Go program that reads an APDU file (just hex encoded APDU strings) and sends them to a smart card. You can give that a try if you like.
    The code is at: https://bitbucket.org/safarmer/go-apdus
    There is a Goclipse project as well as the source. You will need to install Go and run "go get github.com/ebfe/go.pcsclite/scard" to install the required PC/SC wrapper. Once you have done this you can run the program with -file <apth to text file>
    An example text file:
    # A comment that is ignored
    00a4040000
    80ca9f7f00- Shane

  • Access share on NSS4000 with error: A device attached to the system is not functioning

    Hello,
    We use Acronis True Image Server to backup 4 Windows 2008 Standard Server system
    with 2 different domains, each containing a DC and a RDP-Server.
    After Server reboot, backup will run only once a day.
    The next day backup aborts, and while trying to access
    the network share like \\ip-address\share, as configured in Acronis
    I get the error message: A device attached to the system is not functioning.
    On the other hand, I can ping the NSS4000 and access share by using the
    network (netbios) name instead of the ip.
    This will work only for one day, also.
    Now, if I try to access the share on the NSS4000 again by ip,
    I get the error code 0x80070043 The networkname can not be found.
    Ping on ip and netbiosname works.
    Share access from one server to an other is not affected and full funtional at all times.
    On the first sight I thought, that there it might be with the authentication protocol NTLMV2.
    So I configured the GP to send only NTLM Authentication only, without fixing the problem.
    Fyi:
    I use a NSS4000, Firmware version 1.16-3
    The NSS4000 is not a member in neither domains.
    I created a dummy user account on each domain, an created a local user on the NSS4000 related
    to the dummy user account on each domain.
    A good answer helping me to fix with this issue, would be great.

    I am constantly seeing this error at multiple sites on Windows Server 2012 and 2012 R2 Standard and DataCenter.
    I have counted over 50 different server I manage with services such as   domain controller, hyper-v, file servers, exchange 2013, SQL 2008/2012, and print servers.
    I have seen it happen on machine that have been in production for over 2 years and to machines that were just created last week.
    It is happening on metal, hyper-v and esx vmware servers.
    It is happening when the machine have updates waiting or no updates, or after updates have been applied and awaiting a restart.
    It is happening on Dell PowerEdge server, HP Proliant servers and IBM servers.
    It is happening on servers with Intel and AMD chip-sets.
    It is happening on machines that are a part of a domain or in a workgroup.
    It is happening on machines with AV of Bitdefendor, Trend Micro, Vipre, Microsoft Endpoint, and Symantec Endpoint.
    Only a restart will fix it.
    I have ran process monitor on several of the problem machines and I cannot find anything.
    Since I have only started seeing this about 6 month ago it must be a Windows update causing it.
    Moses Hull of Alexant Systems

  • Direct Show causing "A device attached to the system is not functioning"

    Hello, 
    I've been using direct show for about a year to connect to four webcams. I have an intermittent problem where by one of the cameras (at random) will not display the live feed. This could not happen for several weeks possibly months and then suddenly the
    camera dies. 
    I run the following bit of code and receive error code -2147024865.
                 IMediaControl mediaCtrl = (FilterGraph)m_filterGraph as IMediaControl;
                   hr = mediaCtrl.Run();
               DsError.ThrowExceptionForHR(hr);
    In Hex this equates to 8007001F. From doing a bit of googling I found that this means a "A device attached to the system is not functioning".
    No other application uses these webcams and nothing has changed to them physically. Direct Show, seems to make this camera unusable at random times.
    Has anybody else experienced this problem and over came it?
    Thank you in advance,
    Mike

    Hi Roman, 
    Thank you for your reply. I'm using a Logitech webcam and this camera is used by the Logitech controller software. This allows us to control the zoom, pan, focus and camera settings whilst connected to the camera in C# application. When this problem occurs,
    the webcam device still shows up in device manager and the settings of the webcam state that the device is working properly.
    I thought it may of been introduced by a possible memory leak that causes the camera to not respond, or that when the application closes it would leave the camera in a unusable state. 
    I've contacted Logitech to ask about drivers for the webcam and they state that it uses windows plug and play drivers. These are currently up to date.
    The reason I thought that it may of been introduced by direct show is because these cameras have been used before on other products but using different software, Steribar (a software tool to use the view of a webcam as a cheap barcode reader), and haven't
    experienced this problem with the cameras with this software. However very intermittently the custom C# app that I have created causes this problem. 
    Thank you for you time.
    Mike

  • "A device attached to the system is not functioning"

    Hi!
    I'm hoping that all the smart people here can help with my problem. I help support/develop several custom windows application. One of these applications is written in Delphi and there is currently a problem with a feature a single computer owned by a client.The client's computer does have the latest version of adobe installed.
    * The user is able to select a document from a data grid, and click a button to view that document (in this case a pdf).
    * The document is saved from a database to the user's disk
    * Using a shell command, the application asks windows to open that file.
    Normally this works quite well, until recently. If this client tries to view a pdf file in this manor windows returns a system error, error 31, and the message "A device attached to the system is not functioning" is displayed. If I naviage to the location where the file was saved to an attemp to open it via double clicking, adobe reader opens the document right up. The application historically has had no problems with pdf's nor any other doucment type. If I change the file assoication from adobe to note pad, the application does open the file with note pad, but it is not readable. If I change it back to adobe reader, the problem persists. I've tried uninstalling adobe, reinstalling, and using a previous version of adobe. Any suggestions would be appreciated.
    FYI, before someone tell's me I should be talking to microsoft, I am also inquiring on the windows side of this through msdn. Since I am not 100% sure if this is a windows or adobe reader issue I would appreciate suggestions on both sides.
    Last but not least, incase it is of any help, this is the delphi command used to ask windows to open the file:
    ShellExecute(GetDesktopWindow, 'open', PChar(TempFile), '', '', SW_SHOWNORMAL);
    Any and all help is appreciated.
    Thanks!
    Louis

    Is the computer in question connected to the Internet, and if so, is the Internet connection working correctly?
    It is possible that Adobe Reader tries to check for updates when it is launched, then finds a faulty network connection.
    Check the Device Manager for non-functioning network devices.
    Also try http://fixitcenter.support.microsoft.com/ to find other potential problems on that system.

  • System.Diagnostics.EventLog - A device attached to the system is not functioning

    I was getting an error ....
    System.ComponentModel.Win32Exception was caught
      ErrorCode=-2147467259
      HResult=-2147467259
      Message=A device attached to the system is not functioning
      NativeErrorCode=31
      Source=System
      StackTrace:
           at System.Diagnostics.EventLogInternal.InternalWriteEvent(UInt32 eventID, UInt16 category, EventLogEntryType type, String[] strings, Byte[] rawData, String currentMachineName)
           at System.Diagnostics.EventLogInternal.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)
           at System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type)
           at VB_Braums_ClassLib.LogIt.WriteEventLog(String Entry, EventLogEntryType eventType, String Source) in \\Corp01\Vol1\Mis\Pccode\Ms.net\ProductionLibs\ProductionLibs\ProdLibCommon.vb:line 3666
      InnerException: 
    This code is in a library, so I create a "hello world" to demonstrate the issue. I will post it at the end. This .net 4 framework and it's been around for a while in our code. We are starting to upgrade from XP to Win 7. Basically event log sizes
    are limited to the 32667 number. So we had a test, if the string is bigger than that, then we would write it in 32000 byte chucks. On two different win7 boxes we get the "device attached" error message. Run the same code on a XP box and it works.
    Oh, and the Win 7 boxes are 64 bit.  I wonder if the win 7 32 bit would have the same issue? Can others duplicate it? The tmpsize seems to be different numbers, but if you play with it, you can get it down to number x works and (x+1) does not.
    Here the code .....
    Module Module1
        Sub Main()
            Dim logName As String = "BraumsLog"
            Dim objEventLog As New System.Diagnostics.EventLog()
            Dim needCreate As Boolean = False
            Dim Source As String = ""
            If Source.Length = 0 Then Source = "Test"
            Dim Entry As String = "".PadLeft(64000, "1"c)
            'Register the App as an Event Source
            If EventLog.SourceExists(Source) Then
                Dim slog As String = EventLog.LogNameFromSourceName(Source, ".")
                If slog <> logName Then EventLog.DeleteEventSource(Source) : needCreate = True
            Else
                needCreate = True
            End If
            If needCreate Then EventLog.CreateEventSource(Source, logName)
            objEventLog.Source = Source
            '*********** New Code ****************
            objEventLog.MaximumKilobytes = 20480
            objEventLog.ModifyOverflowPolicy(OverflowAction.OverwriteAsNeeded, 0)
            'WriteEntry is overloaded; this is one
            'of 10 ways to call it
            Dim tmp As String = ""
            Dim tmpSize As Integer = 32000 '31890 works 31891 does not
            Do While Entry.Length > tmpSize
                tmp = Entry.Substring(0, tmpSize - 1)
                objEventLog.WriteEntry(tmp, EventLogEntryType.Information)
                Debug.WriteLine(tmp.Length.ToString)
                Entry = Entry.Substring(tmpSize)
            Loop
            tmp = Entry
            objEventLog.WriteEntry(tmp, EventLogEntryType.Information)
        End Sub
    End Module

    Run the same code on an XP 64 bit box and it works? XP comes in multiple flavors.
    Perhaps you should compile to x86 CPU and see if it works on Win 7 64 bit. Win 7 comes in 32 and 64 bit also.
    On the other hand Win 7 service pack 1 mainstream support ended on the 13th of this month. Extended support ends in 2020 supposedly. Perhaps you should upgrade to Win 8.1 instead. Win 10 is coming soon enough.
    Windows lifecycle fact sheet
    Microsoft Product Lifecycle Search - Windows 7 result
    La vida loca

Maybe you are looking for