initramfs linus tree breakage in last day
Subsystems (2)
When I boot the kernel is mistaking my initrd as an initramfs. Of course this doesn't work. This broke in the last 24hrs on the linus bk tree. I am using an up2date Fedora Core 3. Booting older kernels still works.
Signature · 2 lines
Jon Smirl [email protected]
This is what I see on boot.
Signature · 81 lines
Jon Smirl [email protected] Linux version 2.6.12-rc1 ([email protected]) (gcc version 3.4.2 200410 17 (Red Hat 3.4.2-6.fc3)) #21 SMP Fri Apr 1 22:09:28 EST 2005 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 00000000000a0000 (usable) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003ff74000 (usable) BIOS-e820: 000000003ff74000 - 000000003ff76000 (ACPI NVS) BIOS-e820: 000000003ff76000 - 000000003ff97000 (ACPI data) BIOS-e820: 000000003ff97000 - 0000000040000000 ( BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) BIOS-e820: 00000000fecf0000 - 00000000fecf1000 (reserved) BIOS-e820: 00000000fed20000 - 00000000fed90000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved) BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved) 127MB HIGHMEM available. 896MB LOWMEM available. found SMP MP-table at 000fe710 DMI 2.3 present. ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) Processor #0 15:2 APIC version 20 ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] Processor #1 15:2 APIC version 20 ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] disabled) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] disabled) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) Enabling APIC mode: Flat. Using 1 I/O APICs Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at 40000000 Built 1 zonelists Kernel command line: ro root=LABEL=/ console=ttyS0,115200n8 Initializing CPU#0 CPU 0 irqstacks, hard=c03ad000 soft=c03ab000 PID hash table entries: 4096 (order: 12, 65536 bytes) Detected 2793.105 MHz processor. Using tsc for high-res timesource Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1034920k/1048016k available (1567k kernel code, 12372k reserved, 955k da ta, 184k init, 130 Checking if this processor honours the WP bit even in supervisor mode... Ok. Security Framework v1.0.0 initialized Mount-cache hash table entries: 512 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 512K CPU: Physical Processor ID: 0 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU0: Intel P4/Xeon Extended MCE MSRs (12) available CPU0: Thermal monitoring enabled Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. CPU0: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09 Booting processor 1/1 eip 3000 CPU 1 irqstacks, hard=c03ae000 soft=c03ac000 Initializing CPU#1 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 512K CPU: Physical Processor ID: 0 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#1. CPU1: Intel P4/Xeon Extended MCE MSRs (12) available CPU1: Thermal monitoring enabled CPU1: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09 Total of 2 processors activated (11091.96 BogoMIPS). ENABLING IO-APIC IRQs ..TIMER: vector=0x31 pin1=2 pin2=-1 checking TSC synchronization across 2 CPUs: passed. Brought up 2 CPUs checking if image is initramfs... it is Freeing initrd memory: 318k freed
This will let me boot again. It is not obvious to me where the problem is, it may have something to do with netlink or maybe memory corruption?
bk export -tpatch -r1.2326,1.2327 >../foo.patch
patch -p1 -R <../foo.patch
# ChangeSet
# 2005/03/31 21:14:28-08:00 [email protected] # Merge bk://kernel.bkbits.net/acme/net-2.6 # into sunset.davemloft.net:/home/davem/src/BK/net-2.6
#
# ChangeSet
# 2005/03/26 20:04:49-03:00 [email protected]
# [NET] make all protos partially use sk_prot
Signature · 2 lines
Jon Smirl [email protected]
Quoted 8 lines · Jon Smirl
This will let me boot again. It is not obvious to me where the problem
is, it may have something to do with netlink or maybe memory corruption?bk export -tpatch -r1.2326,1.2327 >../foo.patch
patch -p1 -R <../foo.patch
Quoted 8 lines
# ChangeSet
# 2005/03/31 21:14:28-08:00 [email protected] # Merge bk://kernel.bkbits.net/acme/net-2.6 # into sunset.davemloft.net:/home/davem/src/BK/net-2.6#
# ChangeSet
# 2005/03/26 20:04:49-03:00 [email protected]
# [NET] make all protos partially usesk_prot
Cute. I assume you have all the memory debug options enabled?
You could try disabling net features in .config, see if you can work out which one causes it.
Em Fri, Apr 01, 2005 at 10:44:31PM -0800, Andrew Morton escreveu:
Quoted 18 lines
Quoted 8 lines · Jon Smirl
This will let me boot again. It is not obvious to me where the problem
is, it may have something to do with netlink or maybe memory corruption?bk export -tpatch -r1.2326,1.2327 >../foo.patch
patch -p1 -R <../foo.patchQuoted 8 lines
# ChangeSet
# 2005/03/31 21:14:28-08:00 [email protected] # Merge bk://kernel.bkbits.net/acme/net-2.6 # into sunset.davemloft.net:/home/davem/src/BK/net-2.6#
# ChangeSet
# 2005/03/26 20:04:49-03:00 [email protected]
# [NET] make all protos partially usesk_prot
Quoted 4 lines
Cute. I assume you have all the memory debug options enabled?
You could try disabling net features in .config, see if you can work out which one causes it.
Question, what are the config choices for netlink?
- Arnaldo
Em Fri, Apr 01, 2005 at 10:30:42PM -0500, Jon Smirl escreveu:
Quoted 10 lines
This is what I see on boot.
Signature · 7 lines
Jon Smirl [email protected] Linux version 2.6.12-rc1 ([email protected]) (gcc version 3.4.2 200410 17 (Red Hat 3.4.2-6.fc3)) #21 SMP Fri Apr 1 22:09:28 EST 2005 found SMP MP-table at 000fe710
OK, SMP, could you please try this patch by James Bottomley that fixes a brown paper bag bug in my proto_register patch?
Regards,
- Arnaldo
===== net/core/sock.c 1.67 vs edited =====
net/core/sock.c +1 -1
@@ -1352,7 +1352,7 @@EXPORT_SYMBOL (sk_common_release); -static rwlock_t proto_list_lock; +static DEFINE_RWLOCK (proto_list_lock);static LIST_HEAD (proto_list);int proto_register (struct proto *prot,int alloc_slab)
Quoted 24 lines · Arnaldo Carvalho de Melo
Em Fri, Apr 01, 2005 at 10:30:42PM -0500, Jon Smirl escreveu:
Quoted 10 lines
This is what I see on boot.
--
Jon Smirl
[email protected]Linux version 2.6.12-rc1 ([email protected]) (gcc version 3.4.2 200410
17 (Red Hat 3.4.2-6.fc3)) #21 SMP Fri Apr 1 22:09:28 EST 2005 found SMP MP-table at000fe710OK, SMP, could you please try this patch by James Bottomley that fixes a brown paper bag bug in my
proto_registerpatch?Regards,
- Arnaldo
=====
net/core/sock.c1.67 vs edited =====
net/core/sock.c 2005-04-02 13:37:20 -06:00 line 1358
Quoted 8 lines
net/core/sock.c 2005-04-02 13:37:20 -06:00 renamed from net/core/sock.c 2005-03-26 17:04:35 -06:00 +1
-1@@ -1352,7 +1352,7 @@ EXPORT_SYMBOL(sk_common_release); -static rwlock_t proto_list_lock; +static DEFINE_RWLOCK(proto_list_lock); static LIST_HEAD(proto_list); int proto_register(struct proto *prot, int alloc_slab)
This patch fixes the boot problem.
Signature · 2 lines
Jon Smirl [email protected]