* initramfs linus tree breakage in last day @ 2005-04-02 2:18 Jon Smirl 2005-04-02 3:30 ` Jon Smirl 0 siblings, 1 reply; 7+ messages in thread From: Jon Smirl @ 2005-04-02 2:18 UTC (permalink / raw) To: lkml 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. -- Jon Smirl jonsmirl@gmail.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: initramfs linus tree breakage in last day 2005-04-02 2:18 initramfs linus tree breakage in last day Jon Smirl @ 2005-04-02 3:30 ` Jon Smirl 2005-04-02 6:22 ` Jon Smirl 2005-04-03 15:51 ` Arnaldo Carvalho de Melo 0 siblings, 2 replies; 7+ messages in thread From: Jon Smirl @ 2005-04-02 3:30 UTC (permalink / raw) To: lkml This is what I see on boot. -- Jon Smirl jonsmirl@gmail.com Linux version 2.6.12-rc1 (jonsmirl@jonsmirl.smirl.net) (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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: initramfs linus tree breakage in last day 2005-04-02 3:30 ` Jon Smirl @ 2005-04-02 6:22 ` Jon Smirl 2005-04-02 6:44 ` Andrew Morton 2005-04-03 15:51 ` Arnaldo Carvalho de Melo 1 sibling, 1 reply; 7+ messages in thread From: Jon Smirl @ 2005-04-02 6:22 UTC (permalink / raw) To: lkml; +Cc: davem 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 davem@sunset.davemloft.net # 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 acme@toy.ghostprotocols.net # [NET] make all protos partially use sk_prot -- Jon Smirl jonsmirl@gmail.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: initramfs linus tree breakage in last day 2005-04-02 6:22 ` Jon Smirl @ 2005-04-02 6:44 ` Andrew Morton 2005-04-03 15:11 ` Arnaldo Carvalho de Melo 0 siblings, 1 reply; 7+ messages in thread From: Andrew Morton @ 2005-04-02 6:44 UTC (permalink / raw) To: Jon Smirl; +Cc: linux-kernel, David S. Miller Jon Smirl <jonsmirl@gmail.com> wrote: > > 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 davem@sunset.davemloft.net > # 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 acme@toy.ghostprotocols.net > # [NET] make all protos partially use sk_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. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: initramfs linus tree breakage in last day 2005-04-02 6:44 ` Andrew Morton @ 2005-04-03 15:11 ` Arnaldo Carvalho de Melo 0 siblings, 0 replies; 7+ messages in thread From: Arnaldo Carvalho de Melo @ 2005-04-03 15:11 UTC (permalink / raw) To: Andrew Morton; +Cc: Jon Smirl, linux-kernel, David S. Miller Em Fri, Apr 01, 2005 at 10:44:31PM -0800, Andrew Morton escreveu: > Jon Smirl <jonsmirl@gmail.com> wrote: > > > > 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 davem@sunset.davemloft.net > > # 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 acme@toy.ghostprotocols.net > > # [NET] make all protos partially use sk_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. Question, what are the config choices for netlink? - Arnaldo ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: initramfs linus tree breakage in last day 2005-04-02 3:30 ` Jon Smirl 2005-04-02 6:22 ` Jon Smirl @ 2005-04-03 15:51 ` Arnaldo Carvalho de Melo 2005-04-03 16:36 ` Jon Smirl 1 sibling, 1 reply; 7+ messages in thread From: Arnaldo Carvalho de Melo @ 2005-04-03 15:51 UTC (permalink / raw) To: Jon Smirl; +Cc: lkml, davem Em Fri, Apr 01, 2005 at 10:30:42PM -0500, Jon Smirl escreveu: > This is what I see on boot. > > -- > Jon Smirl > jonsmirl@gmail.com > > Linux version 2.6.12-rc1 (jonsmirl@jonsmirl.smirl.net) (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 ===== --- 1.67/net/core/sock.c 2005-03-26 17:04:35 -06:00 +++ edited/net/core/sock.c 2005-04-02 13:37:20 -06:00 @@ -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) ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: initramfs linus tree breakage in last day 2005-04-03 15:51 ` Arnaldo Carvalho de Melo @ 2005-04-03 16:36 ` Jon Smirl 0 siblings, 0 replies; 7+ messages in thread From: Jon Smirl @ 2005-04-03 16:36 UTC (permalink / raw) To: acme, Jon Smirl, lkml, davem, Andrew Morton On Apr 3, 2005 11:51 AM, Arnaldo Carvalho de Melo <acme@ghostprotocols.net> wrote: > Em Fri, Apr 01, 2005 at 10:30:42PM -0500, Jon Smirl escreveu: > > This is what I see on boot. > > > > -- > > Jon Smirl > > jonsmirl@gmail.com > > > > Linux version 2.6.12-rc1 (jonsmirl@jonsmirl.smirl.net) (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 ===== > --- 1.67/net/core/sock.c 2005-03-26 17:04:35 -06:00 > +++ edited/net/core/sock.c 2005-04-02 13:37:20 -06:00 > @@ -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. -- Jon Smirl jonsmirl@gmail.com ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-04-03 16:36 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-04-02 2:18 initramfs linus tree breakage in last day Jon Smirl 2005-04-02 3:30 ` Jon Smirl 2005-04-02 6:22 ` Jon Smirl 2005-04-02 6:44 ` Andrew Morton 2005-04-03 15:11 ` Arnaldo Carvalho de Melo 2005-04-03 15:51 ` Arnaldo Carvalho de Melo 2005-04-03 16:36 ` Jon Smirl
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox