From: Douglas Gilbert <dougg@torque.net>
To: Michel Briand <michelbriand@free.fr>
Cc: linux-scsi@vger.kernel.org
Subject: Re: ide cd writer problem with sg
Date: Sun, 28 Jul 2002 22:05:29 -0400 [thread overview]
Message-ID: <3D44A2E9.DB32586E@torque.net> (raw)
In-Reply-To: 3D447677.9070309@localhost.
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next parent reply other threads:[~2002-07-29 2:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3D447677.9070309@localhost.>
2002-07-29 2:05 ` Douglas Gilbert [this message]
2002-08-05 11:53 ` ide cd writer problem with sg Michel Briand
2002-07-28 22:55 Michel Briand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D44A2E9.DB32586E@torque.net \
--to=dougg@torque.net \
--cc=linux-scsi@vger.kernel.org \
--cc=michelbriand@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.