Bug#549681: needs MODULES=dep on some PowerPC systems
Package: initramfs-tools
Version: 0.93.4
Severity: important
Hi,
some OpenFirmware implementations, such as the one in the PegasosII,
have a 12 MB size limit on kernel images, and no initrd loading
capability. The latter is worked around by merging the initrd into the
image with the "mkvmlinuz" tool, however the generated images are
unbootable if they exceed 12 MB.
It would be good if mkinitramfs would fail on systems that have the
string "platform : CHRP" in /proc/cpuinfo if compressed kernel
and initramfs together are larger than 12 MB, to stop unpleasant
surprises when booting.
Simon
-- Package-specific info:
-- /proc/cmdline
console=ttyS0,115200
-- /proc/filesystems
ext3
-- lsmod
Module Size Used by
sit 15232 0
tunnel4 6908 1 sit
8021q 26644 0
garp 12112 1 8021q
pppoe 16296 2
pppox 6780 1 pppoe
ppp_generic 30564 6 pppoe,pppox
slhc 9548 1 ppp_generic
bridge 55852 0
stp 6088 2 garp,bridge
bnep 17188 2
sco 14296 2
l2cap 25908 3 bnep
bluetooth 62032 5 bnep,sco,l2cap
tun 17728 12
binfmt_misc 12616 1
deflate 6404 0
zlib_deflate 24144 1 deflate
ctr 8132 0
twofish 10472 0
twofish_common 18000 1 twofish
camellia 23616 0
serpent 25008 0
blowfish 12464 0
des_generic 22660 0
xcbc 8972 0
rmd160 12624 0
sha1_generic 5844 0
hmac 7908 0
crypto_null 6636 0
af_key 35208 2
ipt_MASQUERADE 6224 7
iptable_nat 9788 1
nf_nat 21882 2 ipt_MASQUERADE,iptable_nat
xt_length 5152 2
xt_TCPMSS 7588 1
xt_owner 6076 1
xt_MARK 5492 3
iptable_mangle 7200 1
xt_recent 13148 2
xt_tcpudp 6448 2
nf_conntrack_ipv4 17932 4 iptable_nat,nf_nat
nf_defrag_ipv4 5400 1 nf_conntrack_ipv4
xt_state 5532 1
nf_conntrack 71980 5 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4,xt_state
iptable_filter 6804 1
ip_tables 16028 3 iptable_nat,iptable_mangle,iptable_filter
x_tables 20068 10 ipt_MASQUERADE,iptable_nat,xt_length,xt_TCPMSS,xt_owner,xt_MARK,xt_recent,xt_tcpudp,xt_state,ip_tables
snd_via82xx 30584 0
snd_via82xx_modem 17208 0
gameport 15128 1 snd_via82xx
snd_ac97_codec 108936 2 snd_via82xx,snd_via82xx_modem
snd_pcm_oss 45784 0
snd_mixer_oss 21040 1 snd_pcm_oss
ac97_bus 5188 1 snd_ac97_codec
snd_mpu401_uart 11392 1 snd_via82xx
snd_pcm 80484 4 snd_via82xx,snd_via82xx_modem,snd_ac97_codec,snd_pcm_oss
snd_seq_midi 10576 0
snd_rawmidi 27180 2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 10576 1 snd_seq_midi
snd_seq 59096 2 snd_seq_midi,snd_seq_midi_event
snd_timer 25828 2 snd_pcm,snd_seq
snd_seq_device 11044 3 snd_seq_midi,snd_rawmidi,snd_seq
via_ircc 35544 0
irda 121852 1 via_ircc
vt8231 21420 0
snd 66876 11 snd_via82xx,snd_via82xx_modem,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_mpu401_uart,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
via_rhine 26152 0
snd_page_alloc 13244 3 snd_via82xx,snd_via82xx_modem,snd_pcm
soundcore 10324 1 snd
crc_ccitt 5404 1 irda
i2c_viapro 12368 0
joydev 14676 0
evdev 14076 0
hfcpci 30528 0
parport_pc 35176 0
firewire_ohci 28232 0
mISDN_core 91260 1 hfcpci
parport 40916 1 parport_pc
firewire_core 50252 1 firewire_ohci
crc_itu_t 5780 1 firewire_core
ext3 138112 6
jbd 50856 1 ext3
mbcache 11432 1 ext3
sha256_generic 13404 0
aes_generic 32288 4
cbc 7160 2
dm_crypt 17392 2
dm_mirror 18736 0
dm_region_hash 15420 1 dm_mirror
dm_log 13808 2 dm_mirror,dm_region_hash
dm_snapshot 29348 0
dm_mod 65304 29 dm_crypt,dm_mirror,dm_log,dm_snapshot
ide_cd_mod 32544 0
cdrom 41392 1 ide_cd_mod
i2c_powermac 8320 0
ata_generic 8432 0
libata 177008 1 ata_generic
ide_pci_generic 7428 0
via82cxxx 9812 4
usb_storage 58348 1
sd_mod 37912 1
scsi_mod 157268 3 libata,usb_storage,sd_mod
crc_t10dif 5260 1 sd_mod
raid1 26532 2
md_mod 100080 3 raid1
uhci_hcd 30272 0
usbhid 43392 0
hid 48168 1 usbhid
ehci_hcd 44376 0
-- /etc/kernel-img.conf
# Kernel Image management overrides
# See kernel-img.conf(5) for details
do_symlinks = No
do_initrd = Yes
-- /etc/initramfs-tools/initramfs.conf
MODULES=dep
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto
-- /etc/crypttab
md0_crypt /dev/md0 none luks
-- /sys/block
dm-0
dm-1
dm-2
dm-3
dm-4
dm-5
dm-6
dm-7
dm-8
hda
hdc
hdd
md0
md1
ram0
ram1
ram10
ram11
ram12
ram13
ram14
ram15
ram2
ram3
ram4
ram5
ram6
ram7
ram8
ram9
sda
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.30-1-powerpc
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initramfs-tools depends on:
ii cpio 2.10-1 GNU cpio -- a program to manage ar
ii findutils 4.4.2-1 utilities for finding files--find,
ii klibc-utils 1.5.15-1 small utilities built with klibc f
ii module-init-tools 3.10-3 tools for managing Linux kernel mo
ii udev 146-3 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.14.2-2 Tiny utilities for small and embed
initramfs-tools suggests no packages.
-- no debconf information
Reply to: