Differences between version 4 and revision by previous author of ENODEV.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 4 | Last edited on Thursday, August 21, 2003 12:09:00 pm | by JohnMcPherson | Revert |
Older page: | version 1 | Last edited on Wednesday, February 12, 2003 12:36:21 am | by PerryLorier | Revert |
@@ -1,5 +1,12 @@
!!!No such device
The device you are trying to access doesn't exist, or the drivers for this device aren't loaded. This can occur if you refer to a file in /dev that has no driver loaded for it, or when loading a driver if no hardware exists.
+
+Note the following quote from open(2) in the Errors section:
+;ENODEV: pathname refers to a device special file and no corresponding device exists. (This is a Linux kernel bug - in this situation [ENXIO] must be returned.)
+
+It is also quite common to see this under linux if you try to load a device driver and the driver can't find the corresponding hardware (for example, you've given the driver the wrong options).
+
+This message can also be given when a process has a file handle open for a removable device (such as a [USB] or [SCSI]) which is then removed... further use of the file handle should result in this error message.
Compare [ENOMEDIUM]