Hi,
does anybody in here know about the internal reasoning by which UDFS.SYS decides that it has no device to play with? I’m sitting in front of an XP Pro SP3 system where UDFS refuses to start with “System error 1058 has occurred. The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.” (Linux proved that the DVD drive *can* do UDF.)
Thanks in advance for any hints.
Manfred
Try inserting a DVD and accessing it.
Will UDFS load?
–
Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com
wrote in message news:xxxxx@ntdev…
> Hi,
>
> does anybody in here know about the internal reasoning by which UDFS.SYS decides that it has no device to play with? I’m sitting in front of an XP Pro SP3 system where UDFS refuses to start with “System error 1058 has occurred. The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.” (Linux proved that the DVD drive can do UDF.)
>
> Thanks in advance for any hints.
>
> Manfred
>
>
>Try inserting a DVD and accessing it. Will UDFS load?
Not at all, in this case, Windows seems to not even try to load it, since that event log entry that I mentioned is *not* generated. (It *gets* generated every time I try to NET START UDFS).
On 14.07.2013 at 23:36 Maxim S. Shatskih wrote:
Try inserting a DVD and accessing it.
Will UDFS load?
–
Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com
wrote in message news:xxxxx@ntdev…
>> Hi,
>>
>> does anybody in here know about the internal reasoning by which UDFS.SYS
>decides that it has no device to play with? I’m sitting in front of an XP
>Pro SP3 system where UDFS refuses to start with “System error 1058 has
>occurred. The service cannot be started, either because it is disabled or
>because it has no enabled devices associated with it.” (Linux proved that
>the DVD drive can do UDF.)
>>
>> Thanks in advance for any hints.
>>
>> Manfred
>>
>>
>
>—
>NTDEV is sponsored by OSR
>
>Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
>
>OSR is HIRING!! See http://www.osr.com/careers
>
>For our schedule of WDF, WDM, debugging and other seminars visit:
>http://www.osr.com/seminars
>
>To unsubscribe, visit the List Server section of OSR Online at
>http://www.osronline.com/page.cfm?name=ListServer
What is the Start value for UDFS?
wrote in message news:xxxxx@ntdev…
> >Try inserting a DVD and accessing it. Will UDFS load?
>
> Not at all, in this case, Windows seems to not even try to load it, since that event log entry that I mentioned is not generated. (It gets generated every time I try to NET START UDFS).
>
>
> On 14.07.2013 at 23:36 Maxim S. Shatskih wrote:
>
>>Try inserting a DVD and accessing it.
>>
>> Will UDFS load?
>>
>>–
>>Maxim S. Shatskih
>>Microsoft MVP on File System And Storage
>>xxxxx@storagecraft.com
>>http://www.storagecraft.com
>>
>> wrote in message news:xxxxx@ntdev…
>>> Hi,
>>>
>>> does anybody in here know about the internal reasoning by which UDFS.SYS
>>decides that it has no device to play with? I’m sitting in front of an XP
>>Pro SP3 system where UDFS refuses to start with “System error 1058 has
>>occurred. The service cannot be started, either because it is disabled or
>>because it has no enabled devices associated with it.” (Linux proved that
>>the DVD drive can do UDF.)
>>>
>>> Thanks in advance for any hints.
>>>
>>> Manfred
>>>
>>>
>>
>>—
>>NTDEV is sponsored by OSR
>>
>>Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
>>
>>OSR is HIRING!! See http://www.osr.com/careers
>>
>>For our schedule of WDF, WDM, debugging and other seminars visit:
>>http://www.osr.com/seminars
>>
>>To unsubscribe, visit the List Server section of OSR Online at
>>http://www.osronline.com/page.cfm?name=ListServer
>
>
>
>What is the Start value for UDFS?
Manual. Tried Automatic to no avail.
Have you seen this KB article?
http://support.microsoft.com/kb/321640
(Note that the title says “CD-ROM Drive” though it is applicable to DVD
drives as well)
-scott
OSR
wrote in message news:xxxxx@ntdev…
Hi,
does anybody in here know about the internal reasoning by which UDFS.SYS
decides that it has no device to play with? I’m sitting in front of an XP
Pro SP3 system where UDFS refuses to start with “System error 1058 has
occurred. The service cannot be started, either because it is disabled or
because it has no enabled devices associated with it.” (Linux proved that
the DVD drive *can* do UDF.)
Thanks in advance for any hints.
Manfred
>Have you seen this KB article? http://support.microsoft.com/kb/321640
Yes, I think I tried every trick in the book before I came out of the woodwork in here.
Have you tried the media in another XP system? What about Vista+?
When you access a mountable piece of media, the O/S goes through the file
system recognition process. During recognition, registered file systems are
called to read the media and determine if their FS is formatted on it. If
the media is recognized, the file system creates a device object to
represent the mounted instance of the file system and wires the file system
device object up to the media device object via the VPB.
Windows registers a single “recognizer driver” to recognize media formatted
with Windows file systems (FAT16/FAT32/ExFAT/NTFS/CDFS/UDFS/ReFS). If the
recognizer determines that one of these file systems if formatted on the
media, it proceeds to load the real file system driver (if it wasn’t loaded
already).
The end result is that there’s no way to force this process, so just loading
UDFS isn’t necessarily a step towards solving your problem. How motivated
are you to figure this out?
-scott
OSR
wrote in message news:xxxxx@ntdev…
Have you seen this KB article? http://support.microsoft.com/kb/321640
Yes, I think I tried every trick in the book before I came out of the
woodwork in here.
The curious thing is that CDFS and UDFS have start type 4 (disabled) in both my WIndows 7 and WIndows XP installations, but access to CD/DVD files still works.
>(It *gets* generated every time I try to NET START UDFS)
This command doesn’t apply to UDFS.
If you insert a CD or DVD, can you read the files?
Right, you want them disabled so that they don’t load unnecessarily. They’re
loaded on demand by the recognizer driver (ZwLoadDriver doesn’t care about
the start type).
-scott
OSR
wrote in message news:xxxxx@ntdev…
The curious thing is that CDFS and UDFS have start type 4 (disabled) in both
my WIndows 7 and WIndows XP installations, but access to CD/DVD files still
works.
There are different versions of UDF - Linux probably supports the latest one.
–
Bruce Cran
On 12 Jul 2013, at 11:25, xxxxx@mailhog.de wrote:
Hi,
does anybody in here know about the internal reasoning by which UDFS.SYS decides that it has no device to play with? I’m sitting in front of an XP Pro SP3 system where UDFS refuses to start with “System error 1058 has occurred. The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.” (Linux proved that the DVD drive *can* do UDF.)
Thanks in advance for any hints.
Manfred
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
Thanks a lot, Alex and Scott, for shedding some light on this issue.
Yesterday, I tried the DVD in question (@Bruce: It is UDF version 1.02) on another XP PC - no problem over there. Well, no big deal, this PC has UDFS running (SC QUERY), at least as long as the DVD is inserted. Here at this stubborn machine, UDFS remains stopped, so Explorer shows an empty disk.
Thus this is not an XP thing, most probably not a hardware issue either (-> Linux). Could it be that this “recognizer driver” fails? Is there a way to check if all is well with it?
Do these work: a CDFS CD, and audio CD playback, a UDFS CD? Does CD/DVD recording software work?
By the way, does USB flash work in that system?
>Do these work: a CDFS CD, and audio CD playback, a UDFS CD? Does CD/DVD recording software work? By the way, does USB flash work in that system?
Can’t tell about a UDFS CD, everything else works. Isobuster, too, recognizes the disk.
This comes back to my question: How motivated are you to figure this out?
With a kernel debugger you can try to find the UDFS specific check, set a
breakpoint, and step through. How much this tells you depends on how
comfortable you are with assembly language, of course.
A quick scan on Windows 8:
0: kd> x fs_rec!*udfs*
fffff88001405968 Fs_Rec!UdfsRecGetOpenSessionStart fffff880
014056b4 Fs_Rec!UdfsRecDevIoctl
fffff88001405b30 Fs_Rec!IsUdfsVolume fffff880
014057e0 Fs_Rec!UdfsRecSendSptCdb
fffff880`01405790 Fs_Rec!UdfsReadTrackInfo
Based on that, if I were to try to figure this out I’d start with a
breakpoint on Fs_Rec!IsUdfsVolume.
Some other things to try:
-
Check the version number of UDFS.SYS on the working and not working
systems
-
Swap the DVD drives in the two systems
Good luck!
-scott
OSR
wrote in message news:xxxxx@ntdev…
Thanks a lot, Alex and Scott, for shedding some light on this issue.
Yesterday, I tried the DVD in question (@Bruce: It is UDF version 1.02) on
another XP PC - no problem over there. Well, no big deal, this PC has UDFS
running (SC QUERY), at least as long as the DVD is inserted. Here at this
stubborn machine, UDFS remains stopped, so Explorer shows an empty disk.
Thus this is not an XP thing, most probably not a hardware issue either (->
Linux). Could it be that this “recognizer driver” fails? Is there a way to
check if all is well with it?
Scott,
- Check the version number of UDFS.SYS on the working and not working systems
They’re equal.
- Swap the DVD drives in the two systems
I’d have to dismount a notebook :-(.
Thus your question “How motivated are you to figure this out?” hits the nail on the head. I’ve turned my back on driver development some years ago, so at the moment I don’t even have a debugging environment set up. (Thank you anyhow for looking up the relevant entry points.) Instead of setting one up, a quicker try might be to give an XP repair installation a chance to run.
Ok, looks that there is no trivial cure, thanks a lot to everyone who tried to help me.
>up, a quicker try might be to give an XP repair installation a chance to run.
99% is that some CD/DVD software ruined the drive on this computer, especially after uninstall/reinstall sequences.
Look at Upper/LowerFilters for CdRom class. Some of these drivers are probably ruined by something.
Try remove them. You will kill some software on the machine, but there are chances that the base features of the drive will be back OK.
–
Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com
BTW - older versions of Apple iTunes used incorrect uninstall sequence for their GearAspiWDM filter driver.
This means - uninstall iTunes and behold the killed CD/DVD drive. The drive will have the partially uninstalled and defunct remnant of iTunes as a filter, which fails some critical stuff and the drive does not work.
Manually deleting this driver from UpperFilters of CdRom class, and then re-creating the drive’s devnode by Uninstall+Scan for Hardware Changes in the Device Manager - fixes the issue.
Newer versions of iTunes have this bug fixed.
–
Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com
Maxim,
Thanks a lot for your tips.
However, Upper/LowerFilter and such are part of the “every trick in the book” things that I mentioned and that I already checked before I dared to show up here and steal the precious time of driver developers.
And I won’t let iTunes set foot in any of my PC’s. Never ever.
REPLY SEPARATOR
On 22.07.2013 at 22:10 Maxim S. Shatskih wrote:
>BTW - older versions of Apple iTunes used incorrect uninstall sequence
>for their GearAspiWDM filter driver.
>
> This means - uninstall iTunes and behold the killed CD/DVD drive. The
>drive will have the partially uninstalled and defunct remnant of iTunes as
>a filter, which fails some critical stuff and the drive does not work.
>
>…