[ale] SCSI Emulation (CD-R)

David Corbin dcorbin at imperitek.com
Mon Jul 1 08:19:43 EDT 2002


Geoffrey wrote:

>Hmmm.  I don't know.  I know that I get the say error you were when that 
>module isn't loaded.  So you don't enable modules for your kernels? 
>Just out of curiosity, check to see if there is an 'sg' module in your 
>lib/modules tree? (find /lib/modules -name 'sg.0*' -print)
>
I enable modules, but I generally select to have drivers and options 
built-in to the kernel instead of  as modules.
I did check for an sg.o module, but there aren't any.

>Is it possible you had a cdrom mounted in the drive at the time, maybe 
>as an ide device?  I'm really fishing here..
>  
>
mount doesn't reveal any.

>David Corbin wrote:
>  
>
>>I don't tend to use modules, but build the kernel the way I need it.  I 
>>think this is the CONFIG_CHR_DEV_SG flag, which I do have.  Here are the 
>>rest of the "SCSI support" flags from my .config
>>
>>CONFIG_SCSI=y
>>CONFIG_BLK_DEV_SD=y
>>CONFIG_SD_EXTRA_DEVS=40
>># CONFIG_CHR_DEV_ST is not set
>># CONFIG_CHR_DEV_OSST is not set
>>CONFIG_BLK_DEV_SR=y
>># CONFIG_BLK_DEV_SR_VENDOR is not set
>>CONFIG_SR_EXTRA_DEVS=2
>>CONFIG_CHR_DEV_SG=y
>>CONFIG_SCSI_DEBUG_QUEUES=y
>>CONFIG_SCSI_MULTI_LUN=y
>>CONFIG_SCSI_CONSTANTS=y
>># CONFIG_SCSI_LOGGING is not set
>>
>>Geoffrey wrote:
>>
>>    
>>
>>>I think this error is indicative of a missing scsi module, do you have 
>>>the sg module loaded?
>>>
>>>Try 'insmod sg'  then cdrecord -scanbus
>>>
>>>David Corbin wrote:
>>> 
>>>
>>>      
>>>
>>>>My system used to recognize my CD-RW drive (an HP IDE drive).  Now it 
>>>>doesn't.  I don't think this is CD-R failure, because scanbus should 
>>>>just say 'no devices' (effectively), shouldn't it?
>>>>
>>>>
>>>>dmesg shows:
>>>>SCSI subsystem driver Revision: 1.00
>>>>scsi0 : SCSI host adapter emulation for IDE ATAPI devices
>>>>
>>>>[root at mercury /usr/src/linux]# cdrecord  -scanbus        Cdrecord 1.8 
>>>>(i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
>>>>cdrecord: No such file or directory. Cannot open SCSI driver.
>>>>cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you 
>>>>are root.
>>>>
>>>>I don't understand cdrecords error message well enough to know what 
>>>>file or directory it cannot open.  Anyideas?
>>>>
>>>>
>>>>---
>>>>This message has been sent through the ALE general discussion list.
>>>>See http://www.ale.org/mailing-lists.shtml for more info. Problems 
>>>>should be sent to listmaster at ale dot org.
>>>>
>>>>
>>>>  
>>>>        
>>>>
>>>
>>> 
>>>
>>>      
>>>
>>
>>
>>    
>>
>
>
>  
>




---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.






More information about the Ale mailing list