ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Konstantin Lepikhov" <lepikhov@energya.ru>
To: Mandrake-Russian List <mandrake-russian@altlinux.ru>
Subject: [mdk-re] mkinitrd troubles
Date: Sun Oct  7 16:58:11 2001
Message-ID: <200110071258.f97Cwa424718@host.els.ru> (raw)

Здравствуйте!

Для начала обрисую ситуацию:

Было - kernel 2.4.6-alt1-up, mkinitrd-2.7.1-alt3, mktemp-1.5-ipl6mdk.
Все было нормально, initrd создавался и работал:

Oct  7 09:41:16 lks kernel: RAMDISK: Compressed image found at block 0  
       
Oct  7 09:41:16 lks kernel: Uncompressing........................done.  
       
Oct  7 09:41:16 lks kernel: Freeing initrd memory: 583k freed           
       
Oct  7 09:41:16 lks kernel: VFS: Mounted root (ext2 filesystem).        
       
Oct  7 09:41:16 lks kernel: reiserfs: checking transaction log (device
03:06) ..
Oct  7 09:41:16 lks kernel: Using r5 hash to sort names                 
       
Oct  7 09:41:16 lks kernel: reiserfs: using 3.5.x disk format           
       
Oct  7 09:41:16 lks kernel: ReiserFS version 3.6.25                     
       
Oct  7 09:41:16 lks kernel: VFS: Mounted root (reiserfs filesystem)
readonly.   
Oct  7 09:41:16 lks kernel: change_root: old root has d_count=2         
       
Oct  7 09:41:16 lks kernel: Trying to unmount old root ... okay         
       
Oct  7 09:41:16 lks kernel: Freeing unused kernel memory: 308k freed    
       
Oct  7 09:41:16 lks kernel: Executing init=/sbin/init

Стало - kernel 2.4.10-ac7 собственной сборки, mkinitrd и остальное без
изменений, initrd создается, но в логах теперь иная картина:

Oct  6 16:14:41 lks kernel: RAMDISK: Compressed image found at block 0  
       
Oct  6 16:14:41 lks kernel: Freeing initrd memory: 594k freed           
       
Oct  6 16:14:41 lks kernel: VFS: Mounted root (ext2 filesystem).        
       
Oct  6 16:14:41 lks kernel: reiserfs: checking transaction log (device
03:06) ..
Oct  6 16:14:41 lks kernel: Using r5 hash to sort names                 
       
Oct  6 16:14:41 lks kernel: reiserfs: using 3.5.x disk format           
       
Oct  6 16:14:41 lks kernel: ReiserFS version 3.6.25                     
       
Oct  6 16:14:41 lks kernel: VFS: Mounted root (reiserfs filesystem)
readonly.   
Oct  6 16:14:41 lks kernel: change_root: old root has d_count=2         
       
Oct  6 16:14:41 lks kernel: Trying to unmount old root ... <3>error -16 
       
Oct  6 16:14:41 lks kernel: Change root to /initrd: error -2            
       
Oct  6 16:14:41 lks kernel: Freeing unused kernel memory: 200k freed

как видно, initrd глючит, но, тем не менее, все работает. Чей это глюк -
ядра или mkinitrd?

PS Пока писал это письмо, нашел еще одну неприятность - если монтировать
devfs при загрузке, то система перестает пускать рута с консоли, однако
su работает :) В доках к devfs ничего не нашел, точнее все что там
советуют, уже сделано заранее. Сталкивался ли кто с подобным?

~~~~~~~~
with best regards,			ICQ: 109916175
Konstantin Lepikhov			mailto:lakostis@pisem.net

Motto: Linux is like a wigwam - no windows, no gates, apache inside!



             reply	other threads:[~2001-10-07 16:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-07 16:58 Konstantin Lepikhov [this message]
2001-10-08 11:46 ` Dmitry V. Levin
2001-10-09  2:29   ` Lepikhov Konstantin

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=200110071258.f97Cwa424718@host.els.ru \
    --to=lepikhov@energya.ru \
    --cc=mandrake-russian@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