From: Olvin <olvin@rambler.ru>
To: community@altlinux.ru
Subject: Re: [Comm] DVD привод не отдает диск :(
Date: Fri, 22 Jul 2005 10:02:34 +0300
Message-ID: <42E09A0A.9000708@rambler.ru> (raw)
In-Reply-To: <42DFF0B1.5060309@mail.ru>
Sergey Jusupov wrote:
> Диски не отдает только DVD-ROM. Причем, только в иксах. Если иксы
> перезапустить или выйти из них, то диск доступен.
> В /etc/fstab на все три привода прописана одинаковая конфигурация.
> Дистрибутив: АЛМ 2.4, ядро 2.4.26
> Где и что надо покрутить?
modprobe cdrom
echo "0" >/proc/sys/dev/cdrom/lock
echo "0" >/proc/sys/dev/cdrom/autoclose
Последняя команда предотвращает автоматическое задвигание лотка,
например, при попытке войти в директорию CDROM'а или при попытке
просмотреть его содержимое по ls.
А без первой команды не загрузится модуль cdrom.o, без которого не
появятся файлы lock и autoclose в директории /proc/sys/dev/cdrom.
Впрочем, модуль надо подгрузить только на стадии запуска системы (если
эти команды вызываются из rc.local или поблизости), а если CDROM уже в
работе, то модуль уже загружен...
next prev parent reply other threads:[~2005-07-22 7:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-21 19:00 Sergey Jusupov
2005-07-21 22:11 ` Vitaly Lipatov
2005-07-22 7:02 ` Olvin [this message]
2005-07-22 18:49 ` Sergey Jusupov
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=42E09A0A.9000708@rambler.ru \
--to=olvin@rambler.ru \
--cc=community@altlinux.ru \
/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
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git