* [mdk-re] modprobe error @ 2002-02-23 15:27 Alexandre Prokoudine 2002-02-23 16:28 ` Sergey S. Skulachenko 0 siblings, 1 reply; 10+ messages in thread From: Alexandre Prokoudine @ 2002-02-23 15:27 UTC (permalink / raw) To: mandrake-russian Здравствуйте! Обратил внимание на то, что при загрузке системы выползает сообщение вида: kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 Однако дальше же (через 15-20 строк) сообщается, что scsi_hostadapter загружен. options ... в /etc/modules.conf и scsi_hostadapter в /etc/modules прописаны ln -s /dev/scd0 /dev/cdrom есть Резак (IDE) писать отказывается. Затыкается стабильно на 316-317 Кб. -- А.П. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [mdk-re] modprobe error 2002-02-23 15:27 [mdk-re] modprobe error Alexandre Prokoudine @ 2002-02-23 16:28 ` Sergey S. Skulachenko 2002-02-23 18:14 ` Re[2]: " Alexandre Prokoudine 2002-02-26 13:31 ` [mdk-re] " Konstantin Volckov 0 siblings, 2 replies; 10+ messages in thread From: Sergey S. Skulachenko @ 2002-02-23 16:28 UTC (permalink / raw) To: mandrake-russian On Sat, 23 Feb 2002 15:30:46 +0300 Alexandre Prokoudine <a_prokudin@pub.tmb.ru> wrote: > options ... в /etc/modules.conf и scsi_hostadapter в > /etc/modules > прописаны На эту тему было много дискуссий. Вот и меня только что учили. Говорят, что это старомодный подход. А для современного ядра достаточно только в lilo.conf написать append="hd?=ide-scsi". И все устройства находятся: [root@sku root]# /usr/bin/cdrecord -scanbus Cdrecord 1.11a14 (i586-alt-linux-gnu) Copyright (C) 1995-2001 JЖrg Schilling Linux sg driver version: 3.1.22 Using libscg version 'schily-0.5' scsibus0: 0,0,0 0) 'IOMEGA ' 'ZIP 100 ' '14.A' Removable Disk 0,1,0 1) 'TEAC ' 'CD-W512EB ' '2.0G' Removable CD-ROM 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * ____________ С уважением, С.С.Скулаченко ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re[2]: [mdk-re] modprobe error 2002-02-23 16:28 ` Sergey S. Skulachenko @ 2002-02-23 18:14 ` Alexandre Prokoudine 2002-02-24 2:59 ` Alexey Korotkov 2002-02-26 13:31 ` [mdk-re] " Konstantin Volckov 1 sibling, 1 reply; 10+ messages in thread From: Alexandre Prokoudine @ 2002-02-23 18:14 UTC (permalink / raw) To: Sergey S.Skulachenko Hello Sergey, Saturday, February 23, 2002, 4:34:38 PM, you wrote: SSS> On Sat, 23 Feb 2002 15:30:46 +0300 SSS> Alexandre Prokoudine <a_prokudin@pub.tmb.ru> wrote: >> options ... в /etc/modules.conf и scsi_hostadapter в >> /etc/modules >> прописаны SSS> На эту тему было много дискуссий. Вот и меня только что учили. SSS> Говорят, что это старомодный подход. А для современного ядра SSS> достаточно только в lilo.conf написать append="hd?=ide-scsi". А мне говорили, и, кстати, здесь же, что именно такой подход - устаревший, и действенен для ядер старых веток (< 2.4.x). Кстати, я пробовал прописывать эту строку в lilo. Ни фига не работало. Может, ядро балуется? Хотя, 2.4.9, вроде, стабильное. Как я понимаю, Ваш подход предполагает отсутствие любых опоминаний о scsi в modules и modules.conf, но на что у Вас тогда показывает /dev/cdrom? Просто в конечном итоге я прихожу к выводу, что то, что автоматически генерится инсталлятором, надо безжалостно править, ибо этот подход не относится ни к одному из двух, действующих (у других людей) сейчас. SSS> И все устройства находятся: SSS> [root@sku root]# /usr/bin/cdrecord -scanbus SSS> Cdrecord 1.11a14 (i586-alt-linux-gnu) Copyright (C) 1995-2001 SSS> JЖrg Schilling SSS> Linux sg driver version: 3.1.22 SSS> Using libscg version 'schily-0.5' SSS> scsibus0: SSS> 0,0,0 0) 'IOMEGA ' 'ZIP 100 ' '14.A' SSS> Removable Disk SSS> 0,1,0 1) 'TEAC ' 'CD-W512EB ' '2.0G' SSS> Removable CD-ROM SSS> 0,2,0 2) * SSS> 0,3,0 3) * SSS> 0,4,0 4) * SSS> 0,5,0 5) * SSS> 0,6,0 6) * SSS> 0,7,0 7) * Помилуйте, так у меня тоже все устройства находятся. :-) И резак у меня на 0,0,0 , ибо висит на первом слейве. -- А.П. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [mdk-re] modprobe error 2002-02-23 18:14 ` Re[2]: " Alexandre Prokoudine @ 2002-02-24 2:59 ` Alexey Korotkov 2002-02-24 10:53 ` Vitaly Lipatov 2002-02-25 12:10 ` [mdk-re] [JT] " Michael Shigorin 0 siblings, 2 replies; 10+ messages in thread From: Alexey Korotkov @ 2002-02-24 2:59 UTC (permalink / raw) To: mandrake-russian Alexandre Prokoudine wrote: >А мне говорили, и, кстати, здесь же, что именно такой подход - >устаревший, и действенен для ядер старых веток (< 2.4.x). Кстати, я >пробовал прописывать эту строку в lilo. Ни фига не работало. Может, >ядро балуется? Хотя, 2.4.9, вроде, стабильное. > Каких таких старых? У меня 2.4.17 от Линуса. Именно как указано, и делаю: hdc=ide-scsi (у меня grub используется, а не lilo, но это не принципиально). Всё работает. >Как я понимаю, Ваш подход предполагает отсутствие любых опоминаний о >scsi в modules и modules.conf, но на что у Вас тогда показывает >/dev/cdrom? > У меня именно на cdrom, а не на резак, для последнего сделан симлинк /dev/cdrw. >Помилуйте, так у меня тоже все устройства находятся. :-) >И резак у меня на 0,0,0 , ибо висит на первом слейве. > ^^^^^^^ А вот попробуйте-ка его мастером поставить. У меня заработало только в такой интересной конфигурации: hda -- 1-й винт; hdb -- cdrom; hdc -- cdrw; hdd -- 2-й винт. -- With best regards, Alexey Korotkov, mailto:ziga@udm.ru ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [mdk-re] modprobe error 2002-02-24 2:59 ` Alexey Korotkov @ 2002-02-24 10:53 ` Vitaly Lipatov 2002-02-25 12:10 ` [mdk-re] [JT] " Michael Shigorin 1 sibling, 0 replies; 10+ messages in thread From: Vitaly Lipatov @ 2002-02-24 10:53 UTC (permalink / raw) To: mandrake-russian On 24 February 2002 15:06, Alexey Korotkov wrote: > А вот попробуйте-ка его мастером поставить. У меня заработало > только в такой интересной конфигурации: > > hda -- 1-й винт; > hdb -- cdrom; > hdc -- cdrw; > hdd -- 2-й винт. Ой, хорошо я сразу его мастером поставил, мне так удобнее было. А то бы ещё такая проблема была... Чего только не узнаешь... -- Lav Виталий Липатов ФГУП "ЦНИИ Судовой Электротехники и Технологии", Санкт-Петербург GNU! Linux! LaTeX! LyX! ^ permalink raw reply [flat|nested] 10+ messages in thread
* [mdk-re] [JT] Re: modprobe error 2002-02-24 2:59 ` Alexey Korotkov 2002-02-24 10:53 ` Vitaly Lipatov @ 2002-02-25 12:10 ` Michael Shigorin 2002-02-25 17:08 ` Alexey Korotkov 1 sibling, 1 reply; 10+ messages in thread From: Michael Shigorin @ 2002-02-25 12:10 UTC (permalink / raw) To: mandrake-russian On Sun, Feb 24, 2002 at 04:06:35AM -0800, Alexey Korotkov wrote: > У меня 2.4.17 от Линуса. Какого-такого Линуса?! MT? :) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ http://visa.chem.univ.kiev.ua/~mike/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [mdk-re] [JT] Re: modprobe error 2002-02-25 12:10 ` [mdk-re] [JT] " Michael Shigorin @ 2002-02-25 17:08 ` Alexey Korotkov 2002-02-25 18:04 ` [mdk-re] Re: [JT] " Michael Shigorin 0 siblings, 1 reply; 10+ messages in thread From: Alexey Korotkov @ 2002-02-25 17:08 UTC (permalink / raw) To: mandrake-russian Michael Shigorin wrote: >On Sun, Feb 24, 2002 at 04:06:35AM -0800, Alexey Korotkov wrote: > >>У меня 2.4.17 от Линуса. >> >Какого-такого Линуса?! MT? :) > Торвальдса, вестимо ;-) Ядро с ftp://ftp.kernel.org. -- With best regards, Alexey Korotkov, mailto:ziga@udm.ru ^ permalink raw reply [flat|nested] 10+ messages in thread
* [mdk-re] Re: [JT] modprobe error 2002-02-25 17:08 ` Alexey Korotkov @ 2002-02-25 18:04 ` Michael Shigorin 2002-02-25 20:26 ` Alexey Korotkov 0 siblings, 1 reply; 10+ messages in thread From: Michael Shigorin @ 2002-02-25 18:04 UTC (permalink / raw) To: mandrake-russian On Mon, Feb 25, 2002 at 06:15:14PM -0800, Alexey Korotkov wrote: > >>У меня 2.4.17 от Линуса. > >Какого-такого Линуса?! MT? :) > Торвальдса, вестимо ;-) Ядро с ftp://ftp.kernel.org. Ааа, Вы про Тосатти... ;> PS: ядра от Линуса довольно давно слегка опасно пользовать IMO. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ http://visa.chem.univ.kiev.ua/~mike/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [mdk-re] Re: [JT] modprobe error 2002-02-25 18:04 ` [mdk-re] Re: [JT] " Michael Shigorin @ 2002-02-25 20:26 ` Alexey Korotkov 0 siblings, 0 replies; 10+ messages in thread From: Alexey Korotkov @ 2002-02-25 20:26 UTC (permalink / raw) To: mandrake-russian Michael Shigorin wrote: >>>Какого-такого Линуса?! MT? :) >>> >>Торвальдса, вестимо ;-) Ядро с ftp://ftp.kernel.org. >> >Ааа, Вы про Тосатти... ;> > Хм... А что, Линус -- совсем того... в отставку? ;-) > >PS: ядра от Линуса довольно давно слегка опасно пользовать IMO. > Да я вот как-то использую -- и ничего, пока жив (тьфу-тьфу...) ;-) -- With best regards, Alexey Korotkov, mailto:ziga@udm.ru ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [mdk-re] modprobe error 2002-02-23 16:28 ` Sergey S. Skulachenko 2002-02-23 18:14 ` Re[2]: " Alexandre Prokoudine @ 2002-02-26 13:31 ` Konstantin Volckov 1 sibling, 0 replies; 10+ messages in thread From: Konstantin Volckov @ 2002-02-26 13:31 UTC (permalink / raw) To: mandrake-russian; +Cc: Michael Shigorin [-- Attachment #1: Type: text/plain, Size: 1066 bytes --] On Sat, 23 Feb 2002 16:34:38 +0300 "Sergey S. Skulachenko" <sssku@online.ru> wrote: Hi! > > options ... в /etc/modules.conf и scsi_hostadapter в > > /etc/modules > > прописаны > > На эту тему было много дискуссий. Вот и меня только что учили. > Говорят, что это старомодный подход. А для современного ядра > достаточно только в lilo.conf написать append="hd?=ide-scsi". И > все устройства находятся: Сейчас с последними нашими ядрами (начиная с 2.4.17) работает и другая схема: 1. В /etc/modules прописано scsi_hostadapter 2. В /etc/modules.conf: alias scsi_hostadapter ide-scsi options ide-scsi units=/dev/hd? Это аналогично старой схеме за исключеним того, что при новом варианте не приходится перезагружать ядро для переконфигурирования эмуляции. Т.е. по новой схеме можно выключить на лету эту эмуляцию. Также новая схема работает только при сборке модулей ide-cd и ide-scsi модулями. Настройка ide-писалок в новом инсталляторе от Master будет производиться автоматически. [skip] > ____________ > С уважением, > С.С.Скулаченко -- Успехов, Konstantin [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2002-02-26 13:31 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2002-02-23 15:27 [mdk-re] modprobe error Alexandre Prokoudine 2002-02-23 16:28 ` Sergey S. Skulachenko 2002-02-23 18:14 ` Re[2]: " Alexandre Prokoudine 2002-02-24 2:59 ` Alexey Korotkov 2002-02-24 10:53 ` Vitaly Lipatov 2002-02-25 12:10 ` [mdk-re] [JT] " Michael Shigorin 2002-02-25 17:08 ` Alexey Korotkov 2002-02-25 18:04 ` [mdk-re] Re: [JT] " Michael Shigorin 2002-02-25 20:26 ` Alexey Korotkov 2002-02-26 13:31 ` [mdk-re] " Konstantin Volckov
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