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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
|