ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] unable to mount cdrom
@ 2004-11-05 23:18 Vladimir V. Bolnokin
  2004-11-06 10:40 ` Vladimir V. Bolnokin
  0 siblings, 1 reply; 2+ messages in thread
From: Vladimir V. Bolnokin @ 2004-11-05 23:18 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

[-- Attachment #1: Type: text/plain, Size: 1708 bytes --]

Доброе время суток!
Поставил ядро 2.6.9-std26-up-alt11
Не могу смонтировать cdrom, находящийся в /dev/hdc
submount, submount24, autofs, kernel-modules-subfs вынесены.

$ grep cdrom /etc/fstab
#/dev/hdc /mnt/cdrom iso9660 
umask=0,user,iocharset=koi8-r,codepage=866,noauto,ro,exec 0 0
/dev/cdrom    /mnt/cdrom        iso9660 
user,umask=0,noauto,noexec,nodev,nosuid,ro,iocharset=koi8-r 0 0
$ ll /dev/cdrom
lrwxrwxrwx  1 root root 8 Ноя  6 01:45 /dev/cdrom -> /dev/hdc
пытаюсь монтировать:
$ mount /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
        or too many mounted file systems
в логе:
$ sudo tail /var/log/messages
Nov  6 02:00:48 fsc kernel: cdrom: hdc: mmc-3 profile capable, current 
profile: 10h
Nov  6 02:08:38 fsc kernel: cdrom: hdc: mmc-3 profile capable, current 
profile: 10h

Если смонтировать от рута:
# mount /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
        or too many mounted file systems
# tail -2 /var/log/syslog/messages
Nov  6 02:08:38 fsc kernel: cdrom: hdc: mmc-3 profile capable, current 
profile: 10h
Nov  6 02:14:21 fsc kernel: cdrom: hdc: mmc-3 profile capable, current 
profile: 10h
а если с полным путём к девайсу:
# mount /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
# ls /mnt/cdrom
ALTLinux            License.txt-KOI8-R  README.images    RPM-GPG-KEY 
autorun.inf  docs.nonfree  images    misc
License.txt-CP1251  README.components   README.security  VERSION 
docs         dosutils      isolinux  rr_moved





Забавно, что на 2.4 монтируется от юзера влёт



-- 
Best regards, Vladimir. (BOBAH AT sysadmins.ru)
--
Wake up Neo! Matrrrrr2|234.%f3^@af4ga NO CARRIER

[-- Attachment #2: BOBAH.vcf --]
[-- Type: text/x-vcard, Size: 131 bytes --]

begin:vcard
fn:Vladimir Bolnokin
n:Bolnokin;Vladimir
email;internet:BOBAH@sysadmins.ru
x-mozilla-html:FALSE
version:2.1
end:vcard


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

* Re: [sisyphus] unable to mount cdrom
  2004-11-05 23:18 [sisyphus] unable to mount cdrom Vladimir V. Bolnokin
@ 2004-11-06 10:40 ` Vladimir V. Bolnokin
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir V. Bolnokin @ 2004-11-06 10:40 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

[-- Attachment #1: Type: text/plain, Size: 2125 bytes --]


Прошу прощения, ночью надо спать :)
Дело действительно было в bad option
:)
strace и man mount прояснили сознание.



On 06.11.2004 02:18, Vladimir V. Bolnokin пишет:
> Доброе время суток!
> Поставил ядро 2.6.9-std26-up-alt11
> Не могу смонтировать cdrom, находящийся в /dev/hdc
> submount, submount24, autofs, kernel-modules-subfs вынесены.
> 
> $ grep cdrom /etc/fstab
> #/dev/hdc /mnt/cdrom iso9660 
> umask=0,user,iocharset=koi8-r,codepage=866,noauto,ro,exec 0 0
> /dev/cdrom    /mnt/cdrom        iso9660 
> user,umask=0,noauto,noexec,nodev,nosuid,ro,iocharset=koi8-r 0 0
> $ ll /dev/cdrom
> lrwxrwxrwx  1 root root 8 Ноя  6 01:45 /dev/cdrom -> /dev/hdc
> пытаюсь монтировать:
> $ mount /mnt/cdrom
> mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
>        or too many mounted file systems
> в логе:
> $ sudo tail /var/log/messages
> Nov  6 02:00:48 fsc kernel: cdrom: hdc: mmc-3 profile capable, current 
> profile: 10h
> Nov  6 02:08:38 fsc kernel: cdrom: hdc: mmc-3 profile capable, current 
> profile: 10h
> 
> Если смонтировать от рута:
> # mount /mnt/cdrom
> mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
>        or too many mounted file systems
> # tail -2 /var/log/syslog/messages
> Nov  6 02:08:38 fsc kernel: cdrom: hdc: mmc-3 profile capable, current 
> profile: 10h
> Nov  6 02:14:21 fsc kernel: cdrom: hdc: mmc-3 profile capable, current 
> profile: 10h
> а если с полным путём к девайсу:
> # mount /dev/cdrom /mnt/cdrom
> mount: block device /dev/cdrom is write-protected, mounting read-only
> # ls /mnt/cdrom
> ALTLinux            License.txt-KOI8-R  README.images    RPM-GPG-KEY 
> autorun.inf  docs.nonfree  images    misc
> License.txt-CP1251  README.components   README.security  VERSION 
> docs         dosutils      isolinux  rr_moved
> 
> 
> 
> 
> 
> Забавно, что на 2.4 монтируется от юзера влёт
> 
> 
> 
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@altlinux.ru
> https://lists.altlinux.ru/mailman/listinfo/sisyphus


-- 
Best regards, Vladimir. (BOBAH AT sysadmins.ru)
--
Wake up Neo! Matrrrrr2|234.%f3^@af4ga NO CARRIER

[-- Attachment #2: BOBAH.vcf --]
[-- Type: text/x-vcard, Size: 131 bytes --]

begin:vcard
fn:Vladimir Bolnokin
n:Bolnokin;Vladimir
email;internet:BOBAH@sysadmins.ru
x-mozilla-html:FALSE
version:2.1
end:vcard


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

end of thread, other threads:[~2004-11-06 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-05 23:18 [sisyphus] unable to mount cdrom Vladimir V. Bolnokin
2004-11-06 10:40 ` Vladimir V. Bolnokin

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git