2004-09-03 15:04:26

by Martin J. Bligh

[permalink] [raw]
Subject: Re: 2.6.9-rc1-mm3 (ACPI broken)

Something is still borked - looks very much like ACPI still, but not the same bug.
Backing out the force-ons out of mm2 fixed it ... so it's something else other
than just the config.

ftp://ftp.kernel.org/pub/linux/kernel/people/mbligh/config/config.numaq

larry:~/linux/2.6.9-rc1-mm3# grep ACPI .config
# Power management options (ACPI, APM)
# ACPI (Advanced Configuration and Power Interface) Support
# CONFIG_ACPI is not set
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_BLACKLIST_YEAR=0

arch/i386/kernel/built-in.o(.text+0xdb6c): In function `mp_register_gsi':
/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/mpparse.c:1098: undefined reference to `io_apic_set_pci_routing'
arch/i386/kernel/built-in.o(.init.text+0x12fe): In function `sys_sigreturn':
/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/signal.c:229: undefined reference to `acpi_boot_init'
arch/i386/kernel/built-in.o(.init.text+0x16b6): In function `dmi_disable_acpi':
/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/dmi_scan.c: undefined reference to `acpi_force'
arch/i386/kernel/built-in.o(.init.text+0x16de):/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/dmi_scan.c: undefined reference to `acpi_ht'
arch/i386/kernel/built-in.o(.init.text+0x16e8):/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/dmi_scan.c: undefined reference to `acpi_pci_disabled'
arch/i386/kernel/built-in.o(.init.text+0x16f2): In function `setup_rt_frame':
/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/signal.c:320: undefined reference to `acpi_noirq'
arch/i386/kernel/built-in.o(.init.text+0x1712): In function `force_acpi_ht':
/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/dmi_scan.c:207: undefined reference to `acpi_force'
arch/i386/kernel/built-in.o(.init.text+0x173a): In function `force_acpi_ht':
/root/linux/2.6.9-rc1-mm3/include/asm/acpi.h:128: undefined reference to `acpi_pci_disabled'
arch/i386/kernel/built-in.o(.init.text+0x1744):/root/linux/2.6.9-rc1-mm3/include/asm/acpi.h:129: undefined reference to `acpi_noirq'
arch/i386/kernel/built-in.o(.init.text+0x174e): In function `force_acpi_ht':
/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/dmi_scan.c:210: undefined reference to `acpi_ht'
arch/i386/kernel/built-in.o(.init.text+0x177e): In function `ignore_timer_override':
/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/dmi_scan.c:228: undefined reference to `acpi_skip_timer_override'
arch/i386/kernel/built-in.o(.init.text+0x5401): In function `smp_boot_cpus':
/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/smpboot.c: undefined reference to `acpi_lapic'
arch/i386/kernel/built-in.o(.init.text+0x5fde): In function `smp_read_mpc':
/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/mpparse.c: undefined reference to `acpi_lapic'
arch/i386/kernel/built-in.o(.init.text+0x6015):/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/mpparse.c: undefined reference to `acpi_lapic'
arch/i386/kernel/built-in.o(.init.text+0x6243): In function `get_smp_config':
/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/mpparse.c: undefined reference to `acpi_lapic'
arch/i386/kernel/built-in.o(.init.text+0x624c):/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/mpparse.c: undefined reference to `acpi_ioapic'
arch/i386/kernel/built-in.o(.init.text+0x684b): In function `mp_register_ioapic':
/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/mpparse.c:918: undefined reference to `io_apic_get_unique_id'
arch/i386/kernel/built-in.o(.init.text+0x6857):/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/mpparse.c:919: undefined reference to `io_apic_get_version'
arch/i386/kernel/built-in.o(.init.text+0x6883):/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/mpparse.c:927: undefined reference to `io_apic_get_redir_entries'
arch/i386/kernel/built-in.o(.init.text+0x851a): In function `setup_IO_APIC':
/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/io_apic.c: undefined reference to `acpi_ioapic'
arch/i386/kernel/built-in.o(.init.text+0x8549):/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/io_apic.c: undefined reference to `acpi_ioapic'
arch/i386/kernel/built-in.o(.init.text+0x8b46): In function `sys_ipc':
/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/sys_i386.c:154: undefined reference to `acpi_ioapic'
arch/i386/mach-default/built-in.o(.init.text+0xf): In function `intr_init_hook':
/root/linux/2.6.9-rc1-mm3/arch/i386/mach-default/setup.c:47: undefined reference to `acpi_ioapic'
drivers/built-in.o(.init.text+0x1d6a): In function `pci_get_device':
/root/linux/2.6.9-rc1-mm3/drivers/pci/search.c:270: undefined reference to `__acpi_map_table'
drivers/built-in.o(.init.text+0x1de2): In function `pci_find_device_reverse':
/root/linux/2.6.9-rc1-mm3/drivers/pci/search.c:295: undefined reference to `__acpi_map_table'
drivers/built-in.o(.init.text+0x1e59): In function `pci_get_class':
/root/linux/2.6.9-rc1-mm3/drivers/pci/search.c:329: undefined reference to `__acpi_map_table'
drivers/built-in.o(.init.text+0x2007): In function `resource_show':
/root/linux/2.6.9-rc1-mm3/drivers/pci/pci-sysfs.c:54: undefined reference to `__acpi_map_table'
drivers/built-in.o(.init.text+0x202b):/root/linux/2.6.9-rc1-mm3/drivers/pci/pci-sysfs.c:59: undefined reference to `__acpi_map_table'
drivers/built-in.o(.init.text+0x2104):/root/linux/2.6.9-rc1-mm3/include/linux/pci.h:743: more undefined references to `__acpi_map_table' follow
drivers/built-in.o(.init.text+0x2317): In function `acpi_table_init':
/root/linux/2.6.9-rc1-mm3/drivers/acpi/tables.c: undefined reference to `acpi_find_rsdp'
make: *** [.tmp_vmlinux1] Error 1


2004-09-05 11:27:04

by Ingo Molnar

[permalink] [raw]
Subject: Re: 2.6.9-rc1-mm3 (ACPI broken)


* Martin J. Bligh <[email protected]> wrote:

> Something is still borked - looks very much like ACPI still, but not
> the same bug. Backing out the force-ons out of mm2 fixed it ... so
> it's something else other than just the config.

these build problems simply pop up if one disables CONFIG_ACPI. This is
a recent breakage, 2.6.8.1-mm didnt show it.

Ingo

2004-09-05 11:59:07

by Ingo Molnar

[permalink] [raw]
Subject: Re: 2.6.9-rc1-mm3 (ACPI broken)


* Ingo Molnar <[email protected]> wrote:

> > Something is still borked - looks very much like ACPI still, but not
> > the same bug. Backing out the force-ons out of mm2 fixed it ... so
> > it's something else other than just the config.
>
> these build problems simply pop up if one disables CONFIG_ACPI. This
> is a recent breakage, 2.6.8.1-mm didnt show it.

with ACPI enabled i get a hang during bootup on a testsystem, in
do_tty_hangup():

SysRq : Show Regs

Pid: 659, comm: init
EIP: 0060:[<c0225344>] CPU: 0
EIP is at do_tty_hangup+0x474/0x880
EFLAGS: 00000246 Not tainted (2.6.9-rc1-mm3)
EAX: 00000000 EBX: c7888660 ECX: c790f740 EDX: 00000293
ESI: c782a000 EDI: c782a9e0 EBP: c7ec9c40 DS: 007b ES: 007b
CR0: 8005003b CR2: b7fc1838 CR3: 0788c000 CR4: 00000280
[<c022584c>] disassociate_ctty+0xbc/0x310
[<c011007b>] mtrr_del_page+0xcb/0x1e0
[<c0225791>] disassociate_ctty+0x1/0x310
[<c011f8fe>] do_exit+0x4de/0x8f0
[<c011fd9e>] do_group_exit+0x3e/0x220
[<c0113fc0>] do_page_fault+0x0/0x5df
[<c0104ee9>] sysenter_past_esp+0x52/0x71

this testsystem runs the BK kernel just fine. Another testbox boots the
same kernel just fine. config and full bootlog attached. I have
unapplied acpi-based-i8042-keyboard-aux-controller-enumeration.patch to
make the 2.6.9-rc1-mm3 kernel compile at all.

Ingo


Attachments:
(No filename) (1.31 kB)
config (16.47 kB)
log (9.16 kB)
Download all attachments

2004-09-06 04:32:47

by Brown, Len

[permalink] [raw]
Subject: Re: 2.6.9-rc1-mm3 (ACPI broken)

Andrew,

The bk-acpi.patch in -mm3 is not consistent with the
tree that I've exported for -mm.
http://linux-acpi.bkbits.net:8080/linux-acpi-test-mm
(which builds Martin's config w/o errors)

As you recall, we had some problems deleting CONFIG_ACPI_BOOT
in -mm2, so I excluded that patch pending resolution to some
questions such as the PCI_GOANY issue.
I subsequently added the CONFIG_ACPI_BLACKLIST_YEAR patch.
You can see these two changes clearly in the history for
drivers/acpi/Kconfig

But while the bk-acpi.patch in -mm3 includes
the CONFIG_ACPI_BLACKLIST_YEAR patch, it does
mysteriously does not include the earlier exclusion of the
CONFIG_ACPI_BOOT patch.

I expected that using bk cset -x would give you consistent
history and make things easy, but perhaps it has confused
the tools somehow?

thanks,
-Len

On Fri, 2004-09-03 at 11:03, Martin J. Bligh wrote:
> Something is still borked - looks very much like ACPI still, but not
> the same bug.
> Backing out the force-ons out of mm2 fixed it ... so it's something
> else other
> than just the config.
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/mbligh/config/config.numaq
>
> larry:~/linux/2.6.9-rc1-mm3# grep ACPI .config
> # Power management options (ACPI, APM)
> # ACPI (Advanced Configuration and Power Interface) Support
> # CONFIG_ACPI is not set
> CONFIG_ACPI_BOOT=y
> CONFIG_ACPI_BLACKLIST_YEAR=0
>
> arch/i386/kernel/built-in.o(.text+0xdb6c): In function
> `mp_register_gsi':
> /root/linux/2.6.9-rc1-mm3/arch/i386/kernel/mpparse.c:1098: undefined
> reference to `io_apic_set_pci_routing'
> arch/i386/kernel/built-in.o(.init.text+0x12fe): In function
> `sys_sigreturn':
> /root/linux/2.6.9-rc1-mm3/arch/i386/kernel/signal.c:229: undefined
> reference to `acpi_boot_init'
> arch/i386/kernel/built-in.o(.init.text+0x16b6): In function
> `dmi_disable_acpi':
> /root/linux/2.6.9-rc1-mm3/arch/i386/kernel/dmi_scan.c: undefined
> reference to `acpi_force'
> arch/i386/kernel/built-in.o(.init.text+0x16de):/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/dmi_scan.c: undefined reference to `acpi_ht'
>
> arch/i386/kernel/built-in.o(.init.text+0x16e8):/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/dmi_scan.c: undefined reference to `acpi_pci_disabled'
>
> arch/i386/kernel/built-in.o(.init.text+0x16f2): In function
> `setup_rt_frame':
> /root/linux/2.6.9-rc1-mm3/arch/i386/kernel/signal.c:320: undefined
> reference to `acpi_noirq'
> arch/i386/kernel/built-in.o(.init.text+0x1712): In function
> `force_acpi_ht':
> /root/linux/2.6.9-rc1-mm3/arch/i386/kernel/dmi_scan.c:207: undefined
> reference to `acpi_force'
> arch/i386/kernel/built-in.o(.init.text+0x173a): In function
> `force_acpi_ht':
> /root/linux/2.6.9-rc1-mm3/include/asm/acpi.h:128: undefined reference
> to `acpi_pci_disabled'
> arch/i386/kernel/built-in.o(.init.text+0x1744):/root/linux/2.6.9-rc1-mm3/include/asm/acpi.h:129: undefined reference to `acpi_noirq'
>
> arch/i386/kernel/built-in.o(.init.text+0x174e): In function
> `force_acpi_ht':
> /root/linux/2.6.9-rc1-mm3/arch/i386/kernel/dmi_scan.c:210: undefined
> reference to `acpi_ht'
> arch/i386/kernel/built-in.o(.init.text+0x177e): In function
> `ignore_timer_override':
> /root/linux/2.6.9-rc1-mm3/arch/i386/kernel/dmi_scan.c:228: undefined
> reference to `acpi_skip_timer_override'
> arch/i386/kernel/built-in.o(.init.text+0x5401): In function
> `smp_boot_cpus':
> /root/linux/2.6.9-rc1-mm3/arch/i386/kernel/smpboot.c: undefined
> reference to `acpi_lapic'
> arch/i386/kernel/built-in.o(.init.text+0x5fde): In function
> `smp_read_mpc':
> /root/linux/2.6.9-rc1-mm3/arch/i386/kernel/mpparse.c: undefined
> reference to `acpi_lapic'
> arch/i386/kernel/built-in.o(.init.text+0x6015):/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/mpparse.c: undefined reference to `acpi_lapic'
>
> arch/i386/kernel/built-in.o(.init.text+0x6243): In function
> `get_smp_config':
> /root/linux/2.6.9-rc1-mm3/arch/i386/kernel/mpparse.c: undefined
> reference to `acpi_lapic'
> arch/i386/kernel/built-in.o(.init.text+0x624c):/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/mpparse.c: undefined reference to `acpi_ioapic'
>
> arch/i386/kernel/built-in.o(.init.text+0x684b): In function
> `mp_register_ioapic':
> /root/linux/2.6.9-rc1-mm3/arch/i386/kernel/mpparse.c:918: undefined
> reference to `io_apic_get_unique_id'
> arch/i386/kernel/built-in.o(.init.text+0x6857):/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/mpparse.c:919: undefined reference to `io_apic_get_version'
>
> arch/i386/kernel/built-in.o(.init.text+0x6883):/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/mpparse.c:927: undefined reference to `io_apic_get_redir_entries'
>
> arch/i386/kernel/built-in.o(.init.text+0x851a): In function
> `setup_IO_APIC':
> /root/linux/2.6.9-rc1-mm3/arch/i386/kernel/io_apic.c: undefined
> reference to `acpi_ioapic'
> arch/i386/kernel/built-in.o(.init.text+0x8549):/root/linux/2.6.9-rc1-mm3/arch/i386/kernel/io_apic.c: undefined reference to `acpi_ioapic'
>
> arch/i386/kernel/built-in.o(.init.text+0x8b46): In function `sys_ipc':
> /root/linux/2.6.9-rc1-mm3/arch/i386/kernel/sys_i386.c:154: undefined
> reference to `acpi_ioapic'
> arch/i386/mach-default/built-in.o(.init.text+0xf): In function
> `intr_init_hook':
> /root/linux/2.6.9-rc1-mm3/arch/i386/mach-default/setup.c:47: undefined
> reference to `acpi_ioapic'
> drivers/built-in.o(.init.text+0x1d6a): In function `pci_get_device':
> /root/linux/2.6.9-rc1-mm3/drivers/pci/search.c:270: undefined
> reference to `__acpi_map_table'
> drivers/built-in.o(.init.text+0x1de2): In function
> `pci_find_device_reverse':
> /root/linux/2.6.9-rc1-mm3/drivers/pci/search.c:295: undefined
> reference to `__acpi_map_table'
> drivers/built-in.o(.init.text+0x1e59): In function `pci_get_class':
> /root/linux/2.6.9-rc1-mm3/drivers/pci/search.c:329: undefined
> reference to `__acpi_map_table'
> drivers/built-in.o(.init.text+0x2007): In function `resource_show':
> /root/linux/2.6.9-rc1-mm3/drivers/pci/pci-sysfs.c:54: undefined
> reference to `__acpi_map_table'
> drivers/built-in.o(.init.text+0x202b):/root/linux/2.6.9-rc1-mm3/drivers/pci/pci-sysfs.c:59: undefined reference to `__acpi_map_table'
>
> drivers/built-in.o(.init.text+0x2104):/root/linux/2.6.9-rc1-mm3/include/linux/pci.h:743: more undefined references to `__acpi_map_table' follow
>
> drivers/built-in.o(.init.text+0x2317): In function `acpi_table_init':
> /root/linux/2.6.9-rc1-mm3/drivers/acpi/tables.c: undefined reference
> to `acpi_find_rsdp'
> make: *** [.tmp_vmlinux1] Error 1
>
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>