Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Maxim Timofeyev                      2:5030/1763.1  18 Mar 2003  22:52:24
 To : Oleg Drokin
 Subject : Re: kernel Q?
 -------------------------------------------------------------------------------- 
 
 MT>> Подправь свою терминалогию, т.к. на SPARC'ах именно этот
 MT>> незагружабельный vmlinux и грузят. ;) Просто этот vmlinux не сжат,
 OD> Почему не сжат?
 
 А разве он сжат? Чем, простите?
 Ядро под спарк собирается простым make. Без bzImage|zImage.
 
 Вот у меня на SPARC'е:
 
 dtu!root:/home# file vmlinuz-2.4.18-ow0.gz
 vmlinuz-2.4.18-ow0.gz: gzip compressed data, deflated, original
 filename, `vmlinuz-2.4.18-ow0', last modified: Fri Nov  8 14:49:07 2002,
 os: Unix
 dtu!root:/home# gunzip vmlinuz-2.4.18-ow0.gz
 dtu!root:/home# file vmlinuz-2.4.18-ow0
 vmlinuz-2.4.18-ow0: ELF 64-bit MSB executable, SPARC V9, version 1,
 statically linked, not stripped
 dtu!root:/home#
 
 А вот x86:
 
 tma!root:/boot# file vmlinuz-2.4.20-tma5_secure
 vmlinuz-2.4.20-tma5_secure: Linux kernel x86 boot executable RO-rootFS,
 root_dev=0x303, Normal VGA
 
 Под SPARC'ом это обычный ELF.
 
 MT>> а такие ядра x86 вроде бы не умеет. И наоборот -- SPARC не умеет грузить
 OD> Почему неумеет?
 
 Я несколько ошибся... ;(
 Скорее -- это ему ненужно. ;) А Вот слабые SPARC'и и не любят их.
 
 9. What should I do after a new kernel has been compiled ?
 
 A few simple steps after the compiling of the kernel, the modules, and
 the installation of the modules:
 
    1. Copy linux/System.map to your bootfile directory (eg. /boot), and
    rename this file to System.map-<kernel-version>.
    2. Copy linux/vmlinux to your bootfile directory, and rename this
    file to vmlinux-<kernel-version>.
    3. Edit /etc/silo.conf, and add your new kernel to this file.
    4. Reboot your machine.
 
    Ofcourse there are various ways of doing this, but this way
    works best for me. See also the questions about SILO in the
    section Booting of this FAQ.
 
 10. Do I need to compress the kernel ?
 
 There are no size limitations on the SPARC architecture so you don't
 need to compress (gzip or bzip2) the kernel. It will save you some space
 at the cost of a slightly longer bootup. The slower SPARC machines do
 not really like the compressed images (zImage, bzImage).
 
 MT>> сжатые ядра, хотя их можно заgzip'овать. Такие вот пироги...
 OD> а gzip - это не сжат? ;)
 
 Его SILO сам gunzip'ит:
 Вот из man silo:
  "SILO will handle transparent decompression of gzipped images."
 
 -- 
 0BDE AC68 5418 B40A 0C85  C081 037A 6542 55F6 ADEC
 [2:5030/1763@fidonet.org][tmahome@tma.spb.ru][http://tma.spb.ru]
 --- tin/1.5.10-20011117 ("Darkcell") (UNIX) (Linux/2.4.18-alt9-up (i686))
  * Origin: TMA at HOME (2:5030/1763.1)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Re: kernel Q?   Maxim Timofeyev   18 Mar 2003 22:52:24 
Архивное /ru.linux/381360eeb4657.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional