ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Yuri Anikin <ayv@mec.citytlt.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Проблема после обновления ядра kernel24-smp-2.4.18-alt10
Date: Fri, 21 Mar 2003 11:47:17 +0400
Message-ID: <20030321114717.699ec7b6.ayv@mec.citytlt.ru> (raw)
In-Reply-To: <3E7ABA2C.2060705@symmetron.msk.ru>

В день Fri, 21 Mar 2003 10:07:24 +0300
Владимир <fmfm@symmetron.msk.ru> Вами было написАно:


> >После обновления ядра при помощи
> >apt-get install kernel24-smp#2.4.18-alt10
> >
> >получаю после перезагрузки с новым ядром:
> >kmod: failed to exec /sbin/modprobe/ -s -k block-major-8, errno = 2
> >VFS: Cannot open root device "sda1", retrying in 1s
> >в цикле.
> >Приходится перегружаться со старым ядром. Подскажите, куда копать.
> >
> >
> А scsi драйвер в новом initrd есть?
> Создайте initrd самостоятельно и для контроля обязательно с ключиком -v.
> 
> Со scsi я на эти "грабли" уже наступал (по крайней мере с mkinitrd из 
> master-2.0)
> и это можно признать багой. Дело в следующем. О том, что нужен scsi драйвер
> команда mkinitrd "теоретически" должна узнать по наличию записи в файле 
> /etc/modules.conf  
> Но... Поскольку scsi драйвер грузится из initrd, такой записи в 
> /etc/modules.conf может и не быть
> (на работу это не влияет).
> 

Выполнено:
[root@mec root]# mkinitrd -v --preload=aic7xxx /boot/initrd-2.4.18-alt10-smp-my.img 2.4.18-alt10-smp
Copying directory tree from /lib/modules/2.4.18-alt10-smp: done.
Generating module dependencies in /root/tmp/initrd.YDWRyZ8508/fakemod: done.
Using modules:  kernel/drivers/scsi/scsi_mod.o kernel/drivers/scsi/aic7xxx/aic7xxx.o kernel/fs/jbd/jbd.o kernel/fs/ext3/ext3.o
Contents of linuxrc:
#!/bin/sh
/bin/insmod -f /lib/modules/2.4.18-alt10-smp/kernel/drivers/scsi/scsi_mod.o 
/bin/insmod -f /lib/modules/2.4.18-alt10-smp/kernel/drivers/scsi/aic7xxx/aic7xxx.o 
/bin/insmod -f /lib/modules/2.4.18-alt10-smp/kernel/fs/jbd/jbd.o 
/bin/insmod -f /lib/modules/2.4.18-alt10-smp/kernel/fs/ext3/ext3.o 
Inode count: 51
Image size: 636K
Created image file
Created filesystem for ramdisk
mount: going to use the loop device /dev/loop0
/root/tmp/initrd.YDWRyZ8508/img on /root/tmp/initrd.YDWRyZ8508/mnt type ext2 (rw,noexec,nosuid,nodev,loop=/dev/loop0)
Installed directory tree: /root/tmp/initrd.YDWRyZ8508/tree --> /root/tmp/initrd.YDWRyZ8508/mnt
Installed ramdisk into /boot/initrd-2.4.18-alt10-smp-my.img
Ramdisk size: 220k

Размер вновь созданного initrd разительно отличается от оригинального, установленного в месте с ядром:
[root@mec root]# ls -l /boot/initrd-2.4.18-alt10-smp*
-rw-------    1 root     root       106015 Mar 20 07:59 /boot/initrd-2.4.18-alt10-smp.img
-rw-------    1 root     root       218684 Mar 21 11:37 /boot/initrd-2.4.18-alt10-smp-my.img

К сожалению, рабочий сервер удастся перегрузить для проверки только вечером...

-- 
С уважением,
Юрий Аникин


  reply	other threads:[~2003-03-21  7:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-21  4:23 Yuri Anikin
2003-03-21  7:07 ` Владимир
2003-03-21  7:47   ` Yuri Anikin [this message]
2003-03-21  8:19     ` Владимир
2003-03-21  8:50       ` Yuri Anikin
2003-03-21  9:24         ` Владимир
2003-03-21 10:37           ` Yuri Anikin

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=20030321114717.699ec7b6.ayv@mec.citytlt.ru \
    --to=ayv@mec.citytlt.ru \
    --cc=sisyphus@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 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