ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Aleksey Korotkov <ziga@udm.ru>
To: ALT Linux Community <community@altlinux.ru>
Subject: [Comm] ide-scsi terrible problem
Date: Sun, 12 Oct 2003 20:46:35 -0000
Message-ID: <20031013014754.5ec8894f.ziga@udm.ru> (raw)

В последних (сравнительно) дистрибутивах Linux обнаружилась
какая-то гнусь с ide-scsi. Столкнулся с ней вначале на debian
woody, потом -- на Мастере 2.2.

Суть проблемы -- не работает ide-scsi на самосборных ядрах
(при том, что в _абсолютно_ той же конфигурации ядра и вообще
тех же настройках, имеющих отношение к вопросу, всё работало
совершенно замечательно, например, на Мастере 2.0).

Вот мои настройки:

[ziga@localhost ziga]$ cat /usr/src/linux/.config | grep SCSI
CONFIG_BLK_DEV_IDESCSI=y
# SCSI support
CONFIG_SCSI=y
[...]
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
[...]

[root@localhost ziga]# cat /boot/grub/menu.lst
[...]
title 2418
kernel (hd1,1)/boot/vmlinuz-2.4.18 hdc=ide-scsi hdd=ide-scsi hde=ide-scsi root=/dev/hdb2


[ziga@localhost ziga]$ dmesg
Linux version 2.4.18 (root@localhost.localdomain) (gcc version 3.2.1 (ALT Linux, build 3.2.1-alt2)) #2 Mon Oct 6 23:24:33 SAMST 2003
[...]
Kernel command line: hdc=ide-scsi hdd=ide-scsi hde=ide-scsi root=/dev/hdb2
ide_setup: hdc=ide-scsi
ide_setup: hdd=ide-scsi
ide_setup: hde=ide-scsi
[...]
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: ASUS      Model: DVD-ROM E616      Rev: Z.2
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: ASUS      Model: CD-S400/A         Rev: 1.0C
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: RICOH     Model: CD-R/RW MP7200A   Rev: 1.30
  Type:   CD-ROM                             ANSI SCSI revision: 02


В /etc/modules, /etc/modules.conf ничего, относящегося к scsi, нет.


[ziga@localhost ziga]$ ls -l /dev/cdrom
lrwxrwxrwx    1 root     root            9 Авг  3 19:31 /dev/cdrom -> /dev/scd1
[ziga@localhost ziga]$ ls -l /dev/scd1
brw-rw----    1 ziga     cdwriter  11,   1 Янв 20  2003 /dev/scd1
[ziga@localhost ziga]$ groups
ziga audio cdwriter dip games rpm uucp wheel


А вот результат попытки монтирования диска в /dev/cdrom

[ziga@localhost ziga]$ mount /mnt/cdrom
mount: /dev/cdrom is not a valid block device

При этом cdrecord -scanbus отрабатывает нормально:

[ziga@localhost ziga]$ cdrecord -scanbus
Cdrecord 2.0 (i586-alt-linux-gnu) Copyright (C) 1995-2002 JЖrg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0     0) 'ASUS    ' 'DVD-ROM E616    ' 'Z.2 ' Removable CD-ROM
cdrecord: Warning: controller returns wrong size for CD capabilities page.
        0,1,0     1) 'ASUS    ' 'CD-S400/A       ' '1.0C' Removable CD-ROM
        0,2,0     2) 'RICOH   ' 'CD-R/RW MP7200A ' '1.30' Removable CD-ROM
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *

И на этом ядре:

[ziga@localhost ziga]$ uname -r
2.4.20-alt7-up

всё монтируется без проблем.

Интересно, откуда такие грабли, почему их не было раньше
(на Мастере 2.0) и отчего они явились сейчас?

-- 
With best regards,
Aleksey Korotkov

mailto:ziga@uni.udm.ru


             reply	other threads:[~2003-10-12 20:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-12 20:46 Aleksey Korotkov [this message]
2003-10-13 11:47 ` Sergey Vlasov
2003-10-13 19:45   ` Aleksey Korotkov

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=20031013014754.5ec8894f.ziga@udm.ru \
    --to=ziga@udm.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