public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* ide cd writer problem with sg
@ 2002-07-28 22:55 Michel Briand
  0 siblings, 0 replies; 3+ messages in thread
From: Michel Briand @ 2002-07-28 22:55 UTC (permalink / raw)
  To: linux-scsi

hello,
i use an IDE cdwrite with sg, and when thoses modules are loaded, 
cdrecord -scanbus works :
sg                     24036   0  (autoclean)
ide-scsi                7648   0  (autoclean)
scsi_mod               49804   2  (autoclean) [sg ide-scsi]
which produces :
Cdrecord 1.11a19 (i686-suse-linux) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.6'
scsibus0:
        0,0,0     0) 'LITE-ON ' 'LTR-16102B      ' 'OS0E' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
Nice.
But to mount the cdrom i experience some problems. Note that i have :
- kernel 2.4.18
- cd support compiled as modules : scsi_mod, ide-scsi, sg, sr_mod, 
ide-cd, cdrom (all modules)
- only one cdwriter, no cdrom : /dev/hdc and no /dev/hdd

i.e. with find /proc/ide -type d -ls :
4307    0 dr-xr-xr-x   4 root     root            0 jui 29 00:51 /proc/ide/
4327    0 dr-xr-xr-x   3 root     root            0 jui 29 00:51 
/proc/ide/ide1
4332    0 dr-xr-xr-x   2 root     root            0 jui 29 00:51 
/proc/ide/ide1/hdc
4308    0 dr-xr-xr-x   4 root     root            0 jui 29 00:51 
/proc/ide/ide0
4320    0 dr-xr-xr-x   2 root     root            0 jui 29 00:51 
/proc/ide/ide0/hdb
4313    0 dr-xr-xr-x   2 root     root            0 jui 29 00:51 
/proc/ide/ide0/hda

and when i issue this command, i get an error :
bubus:/media # modprobe sr_mod
bubus:/media # mount /dev/cdrom /media/cdrom -t iso9660
mount : Périphérique de bloc/dev/cdrom est protégé en écriture. Montage 
en lecture seule.
mount: N'est pas un répertoire
bubus:/media # lsmod
Module                  Size  Used by    Tainted: P 
nls_iso8859-1           2880   0  (autoclean)
sr_mod                 11800   0
cdrom                  28736   0  [sr_mod]
vfat                    9436   0  (autoclean)
fat                    29400   0  (autoclean) [vfat]
....

N'est pas un répertoire = Not a directory, in english
??? This trouble my knowledge of what's happening inside ;-(

I would like to understand ! Please help !
Thanks

    Michel




-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-08-05 11:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3D447677.9070309@localhost.>
2002-07-29  2:05 ` ide cd writer problem with sg Douglas Gilbert
2002-08-05 11:53   ` Michel Briand
2002-07-28 22:55 Michel Briand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox