Bug 121985
Summary: | raw fails: /dev/rawctl, no such device, but device exists | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Thorn Roby <troby> |
Component: | kernel | Assignee: | Dave Jones <davej> |
Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 2 | CC: | pfrields |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-02-02 21:48:35 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Thorn Roby
2004-04-29 15:12:04 UTC
I added a non-LVM SCSI drive and reproduced the same error, so it's probably not related to device-mapper. I tried adding alias char-major-162 raw to /etc/modprobe.conf as suggested in a posting by Andrew Morton with no effect. I recompiled the kernel with CONFIG_RAW_DRIVER enabled and now the raw command works (haven't actually tried the devices yet). From what I can tell from mailing lists raw devices are deprecated in 2.6, but I can't tell what's supposed to take their place. I see some comment about opening devices using O_DIRECT but that's not an option if I'm installing a 3rd party application that expects raw devices. And what's the point of having the raw devices appear in /dev if the shipped kernel can't access them? which 3rd party application doesn't support O_DIRECT out of curiousity ? I was installing MySQL MaxDB (formerly SAPDB). It is possible that it does support O_DIRECT, but the installation documentation refers to setting up raw devices, and the only way I know how to do that is the raw interface. The fact that the raw interface works properly, and as it did in 2.4, suggested to me that the only solution was to compile it into the 2.6 kernel, which does work. I still say that it's a bug to present the raw devices in the file system if they are deprecated and unusable without a kernel rebuild, but perhaps their presence makes it easier to add the functionality. Part of my confusion here is that I really don't know where all this stuff should be documented. I understand that the distribution documentation can't cover every obscure aspect of the kernel or other functionality, and that raw devices aren't used a lot. Maybe it's just a question of including it in the release notes. If rawdevices is deprecated (I want to use it for Xine to allow raw access as suggested in the xine FAQ), what is the purpose of /etc/init.d/rawdevices and /etc/sysconfig/rawdevices? If I add a device to /etc/sysconfig rawdevices and do /etc/init.d/rawdevices start, I get this: Assigning devices: /dev/raw/raw1 --> /dev/dvd Cannot open master raw device '/dev/rawctl' (No such device or address) done as the raw driver was enabled in FC2 at time it was shipped, I'll reenable it for the next FC2 kernel update. Can you enable it in FC3 also? no. this is marked as deprecated for some time now, and could go away completely at any point in a kernel update. |