Michel Briand wrote:
>
> 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
Michel,
It seems to be saying that /media/cdrom is not a directory.
Perhaps you could show us "ls -l /media".
Also /dev/cdrom is probably a symlink to /dev/scd0, could
you confirm that?
cdrecord and the sg driver are finding the ATAPI writer ok
(as indicated by "cdrecord -scanbus") so I don't think
there is a problem with your cd writer or sg.
<snip/>
Doug Gilbert
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
|