Bug 120490 - SCSI generic support (sg.ko) missing from kernel
Summary: SCSI generic support (sg.ko) missing from kernel
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-09 11:57 UTC by Ralf Ertzinger
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-05-03 12:32:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ralf Ertzinger 2004-04-09 11:57:39 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312

Description of problem:
The SCSI generic module (sg.ko) is missing since kernel-2.6.4-1.302,
it is disabled in the kernel config. It was present (and working) in
earlier kernel releases.

This makes CD burning on SCSI-CDR drives somewhat difficult.

Version-Release number of selected component (if applicable):
kernel-2.6.5-1.309

How reproducible:
Always

Steps to Reproduce:
1. modprobe sg
2.
3.
    

Actual Results:  No such module

Expected Results:  Loading of the module

Additional info:

Comment 1 Arjan van de Ven 2004-04-09 12:42:55 UTC
ehhh why would it make it difficult?
just do 
cdrecord --dev=/dev/scd0 

sg is deprecated functionaly (just like ide-scsi is)

Comment 2 Ralf Ertzinger 2004-04-09 17:10:46 UTC
So, if sg is going away, how am I going to talk to my tape changer,
for example?

Anyway, cdrecord needs a whack on the head to cope with sg being
absent, -scanbus does not work at all.
I'm filing a new bug for that.

Comment 3 Arjan van de Ven 2004-04-09 17:14:06 UTC
you use SG_IO ioctl on the device directly...

oh the good news is that -scanbus no longer is needed since you can
talk to the device directly; no need to find weird mappings to it via
scanbus...

Comment 4 Ralf Ertzinger 2004-04-09 18:33:09 UTC
OK, I can see that scanbus is quite obsolete.

But AFAIR tape changers consist of at least two SCSI devices (each
with a seperate ID, at least one for the tape(s), and at least one for
the changer(s) itself).

While the tapes do get a device (/dev/st...), the changers I have seen
so far under 2.4 only get a /dev/sg... device node.

Maybe there is a node to use in /sysfs for the changers, too, I do not
know.

But if not: which device do I use the SG_IO ioctls on?

Comment 5 Arjan van de Ven 2004-04-16 08:58:47 UTC
added sg back in rawhide for your tape changer. Please test

Comment 6 Ralf Ertzinger 2004-04-17 16:47:08 UTC
Sorry for the confusion.
I currently do not have a tape changer to test 2.6 on. My comment
above on the sg module was to remind that more devices besides CD
recorders might be affected by this.

Also see the man page for mtx (shipped by FC).

Comment 7 Alan Cox 2004-05-03 12:32:27 UTC
Present in 327 kernel, seems ok on minimal testing



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