Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 3868 - /dev/sg? driver trouble
Summary: /dev/sg? driver trouble
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Cristian Gafton
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-07-02 13:32 UTC by Fabian Kroenner
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-07-28 05:36:54 UTC

Attachments (Terms of Use)

Description Fabian Kroenner 1999-07-02 13:32:12 UTC

User compiled programs that access the /dev/sg? interface
(like cdrecord) generate scsi-command errors.
This is due to a bug in the package glibc-devel that comes
with Red Hat Linux 6.0. The directory /usr/include/scsi
should be a symbolic link to /usr/src/linux/include/scsi to
warrant consistency of the kernel's sg-driver-interface
version with the headers used by the compiler.

Affected Package:


Related Package:



(Re)move the directory /usr/include/scsi and create a
symbolic link from
/usr/include/scsi > /usr/src/linux/include/scsi

like this:

# cd /usr/include
# mv scsi scsi.orig
# ln -s ../../src/linux/include/scsi scsi

Now recompile the affected program.

Comment 1 Cristian Gafton 1999-07-28 05:36:59 UTC
The glibc headers provide a cross-system generic scsi interface for
use by high-level programs. Applications like cdrecord should look
instead directly into the kernel headers, since they need hard data
that is highly architecture and OS dependent.

Note You need to log in before you can comment on or make changes to this bug.