[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot build initramfs



Hi,

I don't know what was the problem, but a fresh reinstall of the system
(with obviously the same packages as the one previously installed on
my daily-updated Squeeze system) fixed this issue.

I know, it's not really a solution on production systems...

Cheers,

     Émeric


2010/5/27 Émeric Maschino <emeric.maschino@gmail.com>:
> Well,
>
> It's not related to initramfs-tools. Indeed, even with previously
> working versions of initramfs-tools, I still can't boot my system. And
> because initramfs-tools 0.93.4 wasn't able to successfully build an
> initrd.img (at all; see my initial post) and a lot of packages have
> been made available for upgrade in the meantime, I don't know who's
> the culprit. Trying the latest kernel 2.6.34 Debian packages didn't
> help either.
>
> Any suggestion?
>
> Thanks,
>
>      Emeric
>
>
> 2010/5/26 Émeric Maschino <emeric.maschino@gmail.com>:
>> Hi,
>>
>> It's even worse with latest initramfs-tools 0.94.4 from Debian testing
>> updates. The system has become unbootable. Here's what I've recorded
>> on a serial console:
>>
>> Uncompressing Linux... done
>> Loading file \EFI\debian\initrd.img...done
>> [    0.000000] Initializing cgroup subsys cpuset
>> [    0.000000] Initializing cgroup subsys cpu
>> [    0.000000] Linux version 2.6.32-3-mckinley (Debian 2.6.32-9) (maks@debian.or
>> g) (gcc version 4.3.4 (Debian 4.3.4-8) ) #1 SMP Thu Feb 25 08:09:24 UTC 2010
>> [    0.000000] EFI v1.10 by HP: SALsystab=0x3fb38000 ACPI 2.0=0x3fb2e000 SMBIOS=
>> 0x3fb3a000 HCDP=0x3fb2c000
>> [    0.000000] booting generic kernel on platform hpzx1
>> [    0.000000] PCDP: v0 at 0x3fb2c000
>> [    0.000000] Explicit "console="; ignoring PCDP
>> [    0.000000] ACPI: RSDP 000000003fb2e000 00028 (v02     HP)
>> [    0.000000] ACPI: XSDT 000000003fb2e02c 00094 (v01     HP   zx6000 00000000
>>  HP 00000000)
>> [    0.000000] ACPI: FACP 000000003fb36800 000F4 (v03     HP   zx6000 00000000
>>  HP 00000000)
>> [    0.000000] ACPI Warning: 32/64X length mismatch in Gpe0Block: 32/16 (2009090
>> 3/tbfadt-526)
>> [    0.000000] ACPI Warning: 32/64X length mismatch in Gpe1Block: 32/16 (2009090
>> 3/tbfadt-526)
>> [    0.000000] ACPI: DSDT 000000003fb2e0e0 05781 (v01     HP   zx6000 00000007 I
>> NTL 02012044)
>> [    0.000000] ACPI: FACS 000000003fb368f8 00040
>> [    0.000000] ACPI: SPCR 000000003fb36938 00050 (v01     HP   zx6000 00000000
>>  HP 00000000)
>> [    0.000000] ACPI: DBGP 000000003fb36988 00034 (v01     HP   zx6000 00000000
>>  HP 00000000)
>> [    0.000000] ACPI: APIC 000000003fb36a48 000B0 (v01     HP   zx6000 00000000
>>  HP 00000000)
>> [    0.000000] ACPI: SPMI 000000003fb369c0 00050 (v04     HP   zx6000 00000000
>>  HP 00000000)
>> [    0.000000] ACPI: CPEP 000000003fb36a10 00034 (v01     HP   zx6000 00000000
>>  HP 00000000)
>> [    0.000000] ACPI: SSDT 000000003fb33870 001D6 (v01     HP   zx6000 00000006 I
>> NTL 02012044)
>> [    0.000000] ACPI: SSDT 000000003fb33a50 00342 (v01     HP   zx6000 00000006 I
>> NTL 02012044)
>> [    0.000000] ACPI: SSDT 000000003fb33da0 00A16 (v01     HP   zx6000 00000006 I
>> NTL 02012044)
>> [    0.000000] ACPI: SSDT 000000003fb347c0 00A16 (v01     HP   zx6000 00000006 I
>> NTL 02012044)
>> [    0.000000] ACPI: SSDT 000000003fb351e0 00A16 (v01     HP   zx6000 00000006 I
>> NTL 02012044)
>> [    0.000000] ACPI: SSDT 000000003fb35c00 00A16 (v01     HP   zx6000 00000006 I
>> NTL 02012044)
>> [    0.000000] ACPI: SSDT 000000003fb36620 000EB (v01     HP   zx6000 00000006 I
>> NTL 02012044)
>> [    0.000000] ACPI: SSDT 000000003fb36710 000EF (v01     HP   zx6000 00000006 I
>> NTL 02012044)
>> [    0.000000] ACPI: Local APIC address c0000000fee00000
>> [    0.000000] SMP: Allowing 2 CPUs, 0 hotplug CPUs
>> [    0.000000] Initial ramdisk at: 0xe0000040fe11c000 (15167811 bytes)
>> [    0.000000] SAL 3.1: HP version 2.31
>> [    0.000000] SAL Platform features: None
>> [    0.000000] SAL: AP wakeup using external interrupt vector 0xff
>> [    0.000000] ACPI: Local APIC address c0000000fee00000
>> [    0.000000] GSI 36 (level, low) -> CPU 0 (0x0000) vector 48
>> [    0.000000] 2 CPUs available, 2 CPUs total
>> [    0.000000] MCA related initialization done
>> [    0.000000] Virtual mem_map starts at 0xa0007fffc7200000
>> [    0.000000] Zone PFN ranges:
>> [    0.000000]   DMA      0x00000400 -> 0x00040000
>> [    0.000000]   Normal   0x00040000 -> 0x01040000
>> [    0.000000] Movable zone start PFN for each node
>> [    0.000000] early_node_map[6] active PFN ranges
>> [    0.000000]     0: 0x00000400 -> 0x0000fd79
>> [    0.000000]     0: 0x0000fec0 -> 0x0000fecb
>> [    0.000000]     0: 0x00040000 -> 0x00060000
>> [    0.000000]     0: 0x01010000 -> 0x0103ff5a
>> [    0.000000]     0: 0x0103ff69 -> 0x0103ff84
>> [    0.000000]     0: 0x0103ffa0 -> 0x0103fff0
>> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag
>> es: 333260
>> [    0.000000] Policy zone: Normal
>> [    0.000000] Kernel command line: BOOT_IMAGE=scsi1:/EFI/debian/vmlinuz root=/d
>> ev/sdb2  console=ttyS0,9600n8 ro
>> [    0.000000] PID hash table entries: 4096 (order: 1, 32768 bytes)
>> [    0.000000] Memory: 6212752k/6237296k available (7030k code, 51200k reserved,
>>  3493k data, 736k init)
>> [    0.000000] SLUB: Genslabs=16, HWalign=128, Order=0-3, MinObjects=0, CPUs=2,
>> Nodes=256
>> [    0.000000] Hierarchical RCU implementation.
>> [    0.000000] NR_IRQS:1024
>> [    0.000000] Console: colour VGA+ 80x25
>> [    0.004000] Calibrating delay loop... 2244.60 BogoMIPS (lpj=4489216)
>> [    0.100036] Security Framework initialized
>> [    0.100045] SELinux:  Disabled at boot.
>> [    0.100345] Dentry cache hash table entries: 1048576 (order: 9, 8388608 bytes
>> )
>> [    0.107483] Inode-cache hash table entries: 524288 (order: 8, 4194304 bytes)
>> [    0.111363] Mount-cache hash table entries: 1024
>> [    0.111663] Initializing cgroup subsys ns
>> [    0.111670] Initializing cgroup subsys cpuacct
>> [    0.111676] Initializing cgroup subsys devices
>> [    0.111680] Initializing cgroup subsys freezer
>> [    0.111684] Initializing cgroup subsys net_cls
>> [    0.111716] ACPI: Core revision 20090903
>> [    0.114279] Boot processor id 0x0/0x0
>> [    0.000000] Fixed BSP b0 value from CPU 1
>> [    0.000000] CPU 1: synchronized ITC with CPU 0 (last diff -31 cycles, maxerr
>> 669 cycles)
>> [    0.116446] Brought up 2 CPUs
>> [    0.116449] Total of 2 processors activated (4489.21 BogoMIPS).
>> [    0.117074] devtmpfs: initialized
>> [    0.117388] DMI 2.3 present.
>> [    0.117641] regulator: core version 0.5
>> [    0.117713] NET: Registered protocol family 16
>> [    0.117837] ACPI: bus type pci registered
>> [    0.118379] bio: create slab <bio-0> at 0
>> [    0.127432] ACPI: Interpreter enabled
>> [    0.127434] ACPI: (supports S0 S5)
>> [    0.127447] ACPI: Using IOSAPIC for interrupt routing
>> [    0.265834] ACPI: No dock devices found.
>> [    0.278968] ACPI: PCI Root Bridge [PCI0] (0000:00)
>> [    0.307035] pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot
>> [    0.307099] pci 0000:00:01.0: PME# disabled
>> [    0.309010] pci 0000:00:01.1: PME# supported from D0 D1 D2 D3hot
>> [    0.309075] pci 0000:00:01.1: PME# disabled
>> [    0.311003] pci 0000:00:01.2: PME# supported from D0 D1 D2 D3hot
>> [    0.311067] pci 0000:00:01.2: PME# disabled
>> [    0.315143] pci 0000:00:03.0: PME# supported from D0 D1 D2 D3hot D3cold
>> [    0.315207] pci 0000:00:03.0: PME# disabled
>> [    0.333257] ACPI: PCI Root Bridge [PCI1] (0000:20)
>> [    0.372220] pci 0000:20:02.0: PME# supported from D3hot D3cold
>> [    0.372295] pci 0000:20:02.0: PME# disabled
>> [    0.394876] ACPI: PCI Root Bridge [PCI2] (0000:40)
>> [    0.424092] pci 0000:40:01.1: PME# supported from D1 D3hot
>> [    0.424182] pci 0000:40:01.1: PME# disabled
>> [    0.480707] ACPI: PCI Root Bridge [PCI3] (0000:60)
>> [    0.528235] ACPI: PCI Root Bridge [PCI4] (0000:80)
>> [    0.621357] ACPI: PCI Root Bridge [PCI6] (0000:c0)
>> [    0.654861] vgaarb: device added: PCI:0000:80:00.0,decodes=io+mem,owns=io+mem
>> ,locks=none
>> [    0.654865] vgaarb: loaded
>> [    0.703310] IOC: reserving 512Mb of IOVA space at 0x60000000 for agpgart
>> [    0.703319] IOC: zx1 2.3 HPA 0xfed01000 IOVA space 1024Mb at 0x40000000
>> [    0.753229] Switching to clocksource itc
>> [    0.755188] pnp: PnP ACPI init
>> [    0.755218] ACPI: bus type pnp registered
>> [    0.835488] GSI 34 (edge, high) -> CPU 1 (0x0100) vector 49
>> [    0.836509] GSI 35 (edge, high) -> CPU 0 (0x0000) vector 50
>> [    0.936592] pnp: PnP ACPI: found 10 devices
>> [    0.936595] ACPI: ACPI bus type pnp unregistered
>> [    0.936873] NET: Registered protocol family 2
>> [    0.937063] IP route cache hash table entries: 262144 (order: 7, 2097152 byte
>> s)
>> [    0.938238] TCP established hash table entries: 524288 (order: 9, 8388608 byt
>> es)
>> [    0.945412] TCP bind hash table entries: 65536 (order: 6, 1048576 bytes)
>> [    0.946415] TCP: Hash tables configured (established 524288 bind 65536)
>> [    0.946419] TCP reno registered
>> [    0.946596] NET: Registered protocol family 1
>> [    0.946896] pci 0000:00:03.0: Firmware left e100 interrupts enabled; disablin
>> g
>> [    0.946994] Unpacking initramfs...
>> [    1.465137] Freeing initrd memory: 14800kB freed
>> [    1.465443] perfmon: version 2.0 IRQ 238
>> [    1.465452] perfmon: Itanium 2 PMU detected, 16 PMCs, 18 PMDs, 4 counters (47
>>  bits)
>> [    1.466153] perfmon: added sampling format default_format
>> [    1.466157] perfmon_default_smpl: default_format v2.0 registered
>> [    1.466308] audit: initializing netlink socket (disabled)
>> [    1.466328] type=2000 audit(1274902447.462:1): initialized
>> [    1.466853] HugeTLB registered 256 MB page size, pre-allocated 0 pages
>> [    1.468749] VFS: Disk quotas dquot_6.5.2
>> [    1.468845] Dquot-cache hash table entries: 2048 (order 0, 16384 bytes)
>> [    1.468981] msgmni has been set to 12163
>> [    1.469359] alg: No test for stdrng (krng)
>> [    1.469437] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
>> 53)
>> [    1.469442] io scheduler noop registered
>> [    1.469446] io scheduler anticipatory registered
>> [    1.469449] io scheduler deadline registered
>> [    1.469495] io scheduler cfq registered (default)
>> [    1.469720] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/inp
>> ut0
>> [    1.469724] ACPI: Power Button [PWRF]
>> [    1.469796] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/inp
>> ut1
>> [    1.469800] ACPI: Sleep Button [SLPF]
>> [    1.470303] processor LNXCPU:00: registered as cooling_device0
>> [    1.470645] processor LNXCPU:01: registered as cooling_device1
>> [    1.559566] thermal LNXTHERM:01: registered as thermal_zone0
>> [    1.559574] ACPI: Thermal Zone [THM0] (27 C)
>> [    1.561253] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
>> [    1.561527] 00:04: ttyS0 at MMIO 0xff5e0000 (irq = 49) is a 16550A
>> [   11.381684] console [ttyS0] enabled
>> [   11.423637] 00:05: ttyS1 at MMIO 0xff5e2000 (irq = 50) is a 16550A
>> [   11.497925] mice: PS/2 mouse device common for all mice
>> [   11.560675] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>> [   11.634267] TCP cubic registered
>> [   11.672906] NET: Registered protocol family 17
>> [   11.726220] registered taskstats version 1
>> [   11.782562] rtc-efi rtc-efi: setting system clock to 2010-05-26 19:34:18 UTC
>> (1274902458)
>> [   11.880651] Freeing unused kernel memory: 736kB freed
>> Loading, please wait...
>>
>> And there you can wait forever.
>>
>> I am the only one experiencing this issue? Should I file a bug report
>> against initramfs-tools package?
>>
>> Cheers,
>>
>>     Emeric
>>
>> 2010/5/8 Émeric Maschino <emeric.maschino@gmail.com>:
>>> Hi,
>>>
>>> With yesterday's Squeeze updates, I'm getting:
>>>
>>> Paramétrage de initramfs-tools (0.93.4) ...
>>> update-initramfs: deferring update (trigger activated)
>>> Traitement des actions différées (« triggers ») pour « initramfs-tools »...
>>> update-initramfs: Generating /boot/initrd.img-2.6.32-3-mckinley
>>>
>>> and the initramfs generation seems to stall forever.
>>>
>>> Is there anybody out there with the same issue?
>>>
>>> Thanks,
>>>
>>>    Émeric
>>
>


Reply to: