From: Alexander Bokovoy <ab@avilink.net>
To: devel@linux.iplabs.ru
Subject: Re: [devel] [BUG] Kernel 2.2.18-ipl1mdk
Date: Tue, 26 Dec 2000 08:56:40 +0200
Message-ID: <20001226085639.A3520@avilink.net> (raw)
In-Reply-To: <20001226081943.B2504@avilink.net>; from ab@avilink.net on Tue, Dec 26, 2000 at 08:19:43AM +0200
On Tue, Dec 26, 2000 at 08:19:43AM +0200, Alexander Bokovoy wrote:
> On Tue, Dec 26, 2000 at 02:53:17AM +0300, Dmitry V. Levin wrote:
> > On Mon, Dec 25, 2000 at 07:39:50PM +0200, Alexander Bokovoy wrote:
> > > инициализационным кодом в ядре.
> >
> > Я не понимаю, почему бы не сделать initrd для системы, использующей SCSI?
> > Это ведь стандартное решение, и не важно, как собрана reiserfs.
> Да, этим все и закончилось. Век живи - век учись :-) Просто никогда не
> приходилось сталкиваться ранее с системами без IDEшных контроллеров. :-)
>
> > Конечно, это должен был сделать инсталлятор. Он, наверное, это даже
> > пытается делать.
> Может и пытается, но следов этих попыток нигде не обнаружено, что и
> вызвало такую проблему. Вообщем, благодаря этому инциденту теперь
> ясно, что надо править в инсталляторе.
Да, он пытается создать диск, вызывая mkinitrd с опцией --ifneeded.
Согласно документации, mkinitrd смотри в /etc/fstab на тип файловой
системы для /, на /etc/modules.conf в поисках SCSI. Только вот они
же отличаются для / и /tmp/mnt/ (так по-моему), который будет
настоящим / после перезагрузки.
Еще раз повторюсь -- 7.2 на эту машину ставился нормально -- все
загружалось, т.е. initial ramdisk создавался. Вот diff между версией из
7.2 и Сизифом:
--- bootloader.pm.orig Mon Oct 23 18:49:55 2000
+++ bootloader.pm Sat Nov 25 02:12:57 2000
@@ -146,11 +146,11 @@
sub add_kernel($$$$$) {
my ($prefix, $lilo, $kernelVersion, $specific, $v) = @_;
my $ext = $specific && "-$specific"; $specific eq 'hack' and $specific = '';
- my ($vmlinuz, $image, $initrdImage) = ("vmlinuz-$kernelVersion$specific", "/boot/vmlinuz$ext", "/boot/initrd$ext.img");
+ my ($vmlinuz, $image, $initrdImage) = ("vmlinuz-$kernelVersion$ext", "/boot/vmlinuz$ext", "/boot/initrd$ext.img");
-e "$prefix/boot/$vmlinuz" or log::l("unable to find kernel image $prefix/boot/$vmlinuz"), return;
{
- my $f = "initrd-$kernelVersion$specific.img";
- eval { mkinitrd($prefix, "$kernelVersion$specific", "/boot/$f") };
+ my $f = "initrd-$kernelVersion$ext.img";
+ eval { mkinitrd($prefix, "$kernelVersion$ext", "/boot/$f") };
undef $initrdImage if $@;
symlinkf $f, "$prefix$initrdImage" or $initrdImage = "/boot/$f"
if $initrdImage;
@@ -244,10 +244,10 @@
}
}
- my $isSecure = -e "$prefix/boot/vmlinuz-${kernelVersion}secure";
+ my $isSecure = -e "$prefix/boot/vmlinuz-${kernelVersion}-secure";
my $isSMP = detect_devices::hasSMP();
- if ($isSMP && !-e "$prefix/boot/vmlinuz-${kernelVersion}smp") {
+ if ($isSMP && !-e "$prefix/boot/vmlinuz-${kernelVersion}-smp") {
log::l("SMP machine, but no SMP kernel found") unless $isSecure;
$isSMP = 0;
}
Честно говоря, ничего крамольного я не вижу, но не работает :-)
--
Sincerely yours, Alexander Bokovoy
The Midgard Project | www.midgard-project.org | Aurora R&D team
Minsk Linux Users Group | www.minsk-lug.net | www.aurora-linux.com
IPLabs Linux Team | linux.iplabs.ru | Architecte Open Source
-- No one can put you down without your full cooperation.
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel
prev parent reply other threads:[~2000-12-26 6:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-25 16:05 Alexander Bokovoy
2000-12-25 16:15 ` Alexander Bokovoy
2000-12-25 21:03 ` Aleksey Novodvorsky
2000-12-25 17:39 ` Alexander Bokovoy
2000-12-25 23:53 ` Dmitry V. Levin
2000-12-26 6:19 ` Alexander Bokovoy
2000-12-26 6:56 ` Alexander Bokovoy [this message]
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=20001226085639.A3520@avilink.net \
--to=ab@avilink.net \
--cc=devel@linux.iplabs.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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git