Bug 15084 - Не генерится initrd
Summary: Не генерится initrd
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: ltsp5-client (show other bugs)
Version: unstable
Hardware: all Linux
: P2 major
Assignee: led
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-26 05:06 MSK by Michael A. Kangin
Modified: 2008-03-29 15:45 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael A. Kangin 2008-03-26 05:06:03 MSK
При сотворении корня LTSP-клиента не генерится initrd: 
/sbin/installkernel: line 74: /usr/lib/ltsp/ltsp-client-mkinitrd: No such file
or directory

Потому что 
grep /usr/lib/ltsp/ltsp-client-mkinitrd
/var/lib/ltsp5/i586/etc/sysconfig/installkernel
[ -x /usr/share/ltsp/ltsp-client-mkinitrd ] &&
MKINITRD=/usr/lib/ltsp/ltsp-client-mkinitrd
Comment 1 led 2008-03-26 10:16:36 MSK
fixed in ltsp5-5.1.0-alt0.4.src.rpm
Comment 2 Michael A. Kangin 2008-03-27 12:18:44 MSK
Теперь оно говорит 
mkinitrd: Invalid kernel version "--"

Потому что $with_key в /etc/sysconfig/installkernel пустая. И получается нечто
вроде 
/usr/share/ltsp/ltsp-client-mkinitrd --omit-scsi-modules --omit-ide-modules
--omit-raid-modules -- nfs -- af_packet --extra 3c59x --extra 8139cp --extra 
                  ^^^^^^^^^^^^^^^^^^
8139too --extra acenic --extra amd8111e --extra atl1 --extra b44 --extra dl2k
--extra e100 --extra eepro100 --extra epic100 --extra fealnx --extra forcedeth
--extra natsemi --extra ne2k-pci --extra ns83820 --extra pcnet32 --extra r8169
--extra sis190 --extra sis900 --extra skge --extra sky2 --extra starfire --extra
sundance --extra sungem --extra tg3 --extra typhoon --extra via-rhine --extra
via-velocity --extra atl2 --extra r8168 --extra sk98lin -f
/boot/initrd-2.6.22-led-tc-alt11.img 2.6.22-led-tc-alt11
Comment 3 led 2008-03-27 13:59:06 MSK
Прошу прощения, недофиксил :(
fixed in ltsp5-5.1.0-alt0.6
Comment 4 Michael A. Kangin 2008-03-29 15:19:30 MSK
Спасибо, теперь работает.
вопросик только - такое нормально? :

No module "nfs" found for kernel 2.6.22-led-tc-alt11
No module "af_packet" found for kernel 2.6.22-led-tc-alt11
No module "sky2" found for kernel 2.6.22-led-tc-alt11
Comment 5 led 2008-03-29 15:45:05 MSK
(In reply to comment #4)
> вопросик только - такое нормально? :
> 
> No module "nfs" found for kernel 2.6.22-led-tc-alt11
> No module "af_packet" found for kernel 2.6.22-led-tc-alt11
> No module "sky2" found for kernel 2.6.22-led-tc-alt11

Да. В текущем kernel-image-led-tc nfs и af_packet - в ядре, sky2 - должно 
поддерживаться sk98lin.