* [sisyphus] Re: [devel] md failed @ 2003-11-28 5:17 ` Grigory Batalov 2003-11-28 1:11 ` vic ismakaev 2003-11-28 8:18 ` Sergey Vlasov 0 siblings, 2 replies; 7+ messages in thread From: Grigory Batalov @ 2003-11-28 5:17 UTC (permalink / raw) To: ALT Devel discussion list; +Cc: sisyphus On Thu, 27 Nov 2003 23:43:09 +0300 Marat Khairullin <xmm@altlinux.ru> wrote: > Попробовал поставить Мастер2.2 с root на md raid1: > при инсталяции предупредили о необходимости отдельного /boot (зачем? - отказался) А что ответило lilo, прочитав lilo.conf? > При старте md грузится раньше распаковки initrd с модулем raid1. > > Я могу загрузиться с root=/dev/hda1 и пересобрать ядро с встроенным raid1 > и пересоздать raid, но может есть способ быстрее/правильнее? Взять mkinitrd из Сизифа (у меня mkinitrd-2.8.9-alt2, работает). > ... > md: considering hdc1... > md: adding hdc1 ... > md: adding hda1 ... > md: created md0 > md: bind<hda1,0> > md: bind<hdc1,1> > md: running: <hdc1><hda1> > md: hdc1's event counter: 000000002 > md: hda1's event counter: 000000002 > md: RAID level 1 does not need chunksize! Continuing anyway. > kmod: failed to exec /sbin/modprobe -s -k md-personality-3, errno = 2 > md: personality 3 is not loaded! > md :do_md_run() returned -22 > md: md0 stopped. > md: unbind<hdc1,1> > md: export_rdev(hdc1) > md: unbind<hda1,1> > md: export_rdev(hda1) > md: ... autorun DONE: > NET4: Linux TCP/IP ... > ... > RAMDISK: Compressed image found at block 0 > Freeing initrd memory: 120k freed > VFS: Mounted root (romfs filesystem) readonly. > Using /lib/modules/2.4.20-alt5-up/kernel/drivers/md/raid1.o > md: raid1 personality registered as nr 3 > Using /lib/modules/2.4.20-alt5-up/kernel/fs/jbd/jbd.o > Jornalled Block Device driver loaded > Using /lib/modules/2.4.20-alt5-up/kernel/fs/ext3/ext3.o > EXT3-fs: unable to read superblock > romfs: unable to read superblock > Kernel panic: VFS: Unable to mount root fs on 09:00 Учитывая, что модуль raid1 загружен, я бы посмотрел на lilo.conf, fstab, raidtab и таблицу разделов дисков. Предлагаю с этим перенестись в sisyphus@ . -- Григорий Баталов, группа техподдержки ОАО "Ковдорский ГОК" ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [sisyphus] Re: [devel] md failed 2003-11-28 5:17 ` [sisyphus] Re: [devel] md failed Grigory Batalov @ 2003-11-28 1:11 ` vic ismakaev 2003-11-28 6:29 ` Grigory Batalov 2003-11-28 8:18 ` Sergey Vlasov 1 sibling, 1 reply; 7+ messages in thread From: vic ismakaev @ 2003-11-28 1:11 UTC (permalink / raw) To: sisyphus Пятница 28 Ноябрь 2003 10:17, Grigory Batalov написал: > On Thu, 27 Nov 2003 23:43:09 +0300 > > Marat Khairullin <xmm@altlinux.ru> wrote: > > Попробовал поставить Мастер2.2 с root на md raid1: > > при инсталяции предупредили о необходимости отдельного /boot (зачем? - > > отказался) > > А что ответило lilo, прочитав lilo.conf? > > > При старте md грузится раньше распаковки initrd с модулем raid1. > > > > Я могу загрузиться с root=/dev/hda1 и пересобрать ядро с встроенным raid1 > > и пересоздать raid, но может есть способ быстрее/правильнее? > > Взять mkinitrd из Сизифа (у меня mkinitrd-2.8.9-alt2, работает). > > > ... > > md: considering hdc1... > > md: adding hdc1 ... > > md: adding hda1 ... > > md: created md0 > > md: bind<hda1,0> > > md: bind<hdc1,1> > > md: running: <hdc1><hda1> > > md: hdc1's event counter: 000000002 > > md: hda1's event counter: 000000002 > > md: RAID level 1 does not need chunksize! Continuing anyway. > > kmod: failed to exec /sbin/modprobe -s -k md-personality-3, errno = 2 > > md: personality 3 is not loaded! > > md :do_md_run() returned -22 > > md: md0 stopped. > > md: unbind<hdc1,1> > > md: export_rdev(hdc1) > > md: unbind<hda1,1> > > md: export_rdev(hda1) > > md: ... autorun DONE: > > NET4: Linux TCP/IP ... > > ... > > RAMDISK: Compressed image found at block 0 > > Freeing initrd memory: 120k freed > > VFS: Mounted root (romfs filesystem) readonly. > > Using /lib/modules/2.4.20-alt5-up/kernel/drivers/md/raid1.o > > md: raid1 personality registered as nr 3 > > Using /lib/modules/2.4.20-alt5-up/kernel/fs/jbd/jbd.o > > Jornalled Block Device driver loaded > > Using /lib/modules/2.4.20-alt5-up/kernel/fs/ext3/ext3.o > > EXT3-fs: unable to read superblock > > romfs: unable to read superblock > > Kernel panic: VFS: Unable to mount root fs on 09:00 > > Учитывая, что модуль raid1 загружен, я бы посмотрел > на lilo.conf, fstab, raidtab и таблицу разделов дисков. > > Предлагаю с этим перенестись в sisyphus@ . Кстати,постоянно у меня возникает вопрос - а как можно интегрировать текущее ядро из сизифа и mkinird на инсталляционный диск М2.2? Вернее даже так - как заменить на инсталляционном диске М2.2 mkinitrd,kernel и modutils на свои (в частности из сизифа)? -- С уважением Виктор В Исмакаев ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [sisyphus] Re: [devel] md failed 2003-11-28 1:11 ` vic ismakaev @ 2003-11-28 6:29 ` Grigory Batalov 2003-11-28 1:58 ` vic ismakaev 0 siblings, 1 reply; 7+ messages in thread From: Grigory Batalov @ 2003-11-28 6:29 UTC (permalink / raw) To: sisyphus On Fri, 28 Nov 2003 06:11:47 +0500 vic ismakaev <viclists@mail.esoo.ru> wrote: > Кстати,постоянно у меня возникает вопрос - а как можно интегрировать текущее > ядро из сизифа и mkinird на инсталляционный диск М2.2? > Вернее даже так - как заменить на инсталляционном диске М2.2 mkinitrd,kernel и > modutils на свои (в частности из сизифа)? В качестве загрузочной области CD можно указать существующий образ дискеты, например cdrom.img из дистрибутива: mkisofs ... -b cdrom.img ... А уже cdrom.img можно предварительно подготовить, смонтировав через -o loop и внеся нужные изменения. Initrd из образа также поддаётся изменению. -- Григорий Баталов, группа техподдержки ОАО "Ковдорский ГОК" ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [sisyphus] Re: [devel] md failed 2003-11-28 6:29 ` Grigory Batalov @ 2003-11-28 1:58 ` vic ismakaev 2003-11-28 7:10 ` Grigory Batalov 0 siblings, 1 reply; 7+ messages in thread From: vic ismakaev @ 2003-11-28 1:58 UTC (permalink / raw) To: sisyphus Пятница 28 Ноябрь 2003 11:29, Grigory Batalov написал: > On Fri, 28 Nov 2003 06:11:47 +0500 > > vic ismakaev <viclists@mail.esoo.ru> wrote: > > Кстати,постоянно у меня возникает вопрос - а как можно интегрировать > > текущее ядро из сизифа и mkinird на инсталляционный диск М2.2? > > Вернее даже так - как заменить на инсталляционном диске М2.2 > > mkinitrd,kernel и modutils на свои (в частности из сизифа)? > > В качестве загрузочной области CD можно указать существующий > образ дискеты, например cdrom.img из дистрибутива: > > mkisofs ... -b cdrom.img ... > > А уже cdrom.img можно предварительно подготовить, смонтировав > через -o loop и внеся нужные изменения. Initrd из образа > также поддаётся изменению. Понятно. А ядро,которое ставиться на диск ,куда прописывать - в пакеты с перегенерацией хешей или как-то еще? -- С уважением Виктор В Исмакаев ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [sisyphus] Re: [devel] md failed 2003-11-28 1:58 ` vic ismakaev @ 2003-11-28 7:10 ` Grigory Batalov 2003-11-28 2:42 ` vic ismakaev 0 siblings, 1 reply; 7+ messages in thread From: Grigory Batalov @ 2003-11-28 7:10 UTC (permalink / raw) To: sisyphus On Fri, 28 Nov 2003 06:58:48 +0500 vic ismakaev <viclists@mail.esoo.ru> wrote: > > > Кстати,постоянно у меня возникает вопрос - а как можно интегрировать > > > текущее ядро из сизифа и mkinird на инсталляционный диск М2.2? > > > Вернее даже так - как заменить на инсталляционном диске М2.2 > > > mkinitrd,kernel и modutils на свои (в частности из сизифа)? > > > > В качестве загрузочной области CD можно указать существующий > > образ дискеты, например cdrom.img из дистрибутива: > > > > mkisofs ... -b cdrom.img ... > > > > А уже cdrom.img можно предварительно подготовить, смонтировав > > через -o loop и внеся нужные изменения. Initrd из образа > > также поддаётся изменению. > Понятно. > А ядро,которое ставиться на диск ,куда прописывать - в пакеты с перегенерацией > хешей или как-то еще? То ядро, которое устанавливается инсталлятором, - да. Но не спрашивайте меня, как сделать хеши, которые потом не отвергнет инсталлятор =). Если "загрузочное", на котором работает инсталлятор, то его - на дискету. -- Григорий Баталов, группа техподдержки ОАО "Ковдорский ГОК" ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [sisyphus] Re: [devel] md failed 2003-11-28 7:10 ` Grigory Batalov @ 2003-11-28 2:42 ` vic ismakaev 0 siblings, 0 replies; 7+ messages in thread From: vic ismakaev @ 2003-11-28 2:42 UTC (permalink / raw) To: sisyphus Пятница 28 Ноябрь 2003 12:10, Grigory Batalov написал: > On Fri, 28 Nov 2003 06:58:48 +0500 > > vic ismakaev <viclists@mail.esoo.ru> wrote: > > > > Кстати,постоянно у меня возникает вопрос - а как можно интегрировать > > > > текущее ядро из сизифа и mkinird на инсталляционный диск М2.2? > > > > Вернее даже так - как заменить на инсталляционном диске М2.2 > > > > mkinitrd,kernel и modutils на свои (в частности из сизифа)? > > > > > > В качестве загрузочной области CD можно указать существующий > > > образ дискеты, например cdrom.img из дистрибутива: > > > > > > mkisofs ... -b cdrom.img ... > > > > > > А уже cdrom.img можно предварительно подготовить, смонтировав > > > через -o loop и внеся нужные изменения. Initrd из образа > > > также поддаётся изменению. > > > > Понятно. > > А ядро,которое ставиться на диск ,куда прописывать - в пакеты с > > перегенерацией хешей или как-то еще? > > То ядро, которое устанавливается инсталлятором, - да. > Но не спрашивайте меня, как сделать хеши, которые > потом не отвергнет инсталлятор =). Понятно. :) спрошу у других :) > Если "загрузочное", на котором работает инсталлятор, > то его - на дискету. Спасибо за разъяснения. -- С уважением Виктор В Исмакаев ^ permalink raw reply [flat|nested] 7+ messages in thread
* [sisyphus] Re: [devel] md failed 2003-11-28 5:17 ` [sisyphus] Re: [devel] md failed Grigory Batalov 2003-11-28 1:11 ` vic ismakaev @ 2003-11-28 8:18 ` Sergey Vlasov 1 sibling, 0 replies; 7+ messages in thread From: Sergey Vlasov @ 2003-11-28 8:18 UTC (permalink / raw) To: ALT Devel discussion list, sisyphus [-- Attachment #1: Type: text/plain, Size: 1699 bytes --] On Fri, Nov 28, 2003 at 08:17:53AM +0300, Grigory Batalov wrote: > On Thu, 27 Nov 2003 23:43:09 +0300 > Marat Khairullin <xmm@altlinux.ru> wrote: > > > Попробовал поставить Мастер2.2 с root на md raid1: > > при инсталяции предупредили о необходимости отдельного /boot (зачем? - отказался) > > А что ответило lilo, прочитав lilo.conf? > > > При старте md грузится раньше распаковки initrd с модулем raid1. > > > > Я могу загрузиться с root=/dev/hda1 и пересобрать ядро с встроенным raid1 С таким способом загрузки надо обращаться аккуратно. Самый надёжный способ - вообще отключить второй диск, потом разобраться с инициализацией RAID, потом как минимум один раз загрузиться с RAID, и уже потом подключать второй диск и пересинхронизировать RAID. Либо можно после такой загрузки затереть зеркало /dev/hda1 на втором диске (полностью через dd). Т.е. если шла работа с разделом мимо RAID, необходимо его пересинхронизировать - иначе при следующем запуске RAID эти изменения так и не попадут на второй диск, а при чтении будут читаться данные то с одного, то с другого диска. С некорневыми разделами эта проблема не возникнет - там RAID запустится из скриптов при загрузке. > > и пересоздать raid, но может есть способ быстрее/правильнее? > > Взять mkinitrd из Сизифа (у меня mkinitrd-2.8.9-alt2, работает). Именно. Причём будет работать и с ядром из Master 2.2. > Учитывая, что модуль raid1 загружен, я бы посмотрел > на lilo.conf, fstab, raidtab и таблицу разделов дисков. Тут дело совсем не в этом. После загрузки модулей RAID из initrd команду на запуск RAID необходимо давать тоже из initrd, а старый mkinitrd этого делать не умеет. Этот вопрос уже многократно обсуждался. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-11-28 8:18 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-11-28 5:17 ` [sisyphus] Re: [devel] md failed Grigory Batalov 2003-11-28 1:11 ` vic ismakaev 2003-11-28 6:29 ` Grigory Batalov 2003-11-28 1:58 ` vic ismakaev 2003-11-28 7:10 ` Grigory Batalov 2003-11-28 2:42 ` vic ismakaev 2003-11-28 8:18 ` Sergey Vlasov
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