public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] gentoo-sources-2.4.19-r4
@ 2002-05-10 14:19 Per Wigren
  2002-05-10 15:03 ` Jean-Michel Smith
  0 siblings, 1 reply; 7+ messages in thread
From: Per Wigren @ 2002-05-10 14:19 UTC (permalink / raw
  To: gentoo-dev

make[1]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r4/lib'
make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.19-gentoo-r4/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 
-malign-functions=4  " -C  arch/i386/kernel
make[1]: Entering directory `/usr/src/linux-2.4.19-gentoo-r4/arch/i386/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.19-gentoo-r4/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 
-malign-functions=4    -nostdinc -I 
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include -DKBUILD_BASENAME=setup  -c 
-o setup.o setup.c
setup.c: In function `setup_arch':
setup.c:1071: `acpi_mp_config' undeclared (first use in this function)
setup.c:1071: (Each undeclared identifier is reported only once
setup.c:1071: for each function it appears in.)
make[1]: *** [setup.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r4/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2

After enabling ACPI it compiled...


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] gentoo-sources-2.4.19-r4
  2002-05-10 14:19 [gentoo-dev] gentoo-sources-2.4.19-r4 Per Wigren
@ 2002-05-10 15:03 ` Jean-Michel Smith
  2002-05-10 15:31   ` Preston A. Elder
  2002-05-14 11:34   ` Chuck Haines
  0 siblings, 2 replies; 7+ messages in thread
From: Jean-Michel Smith @ 2002-05-10 15:03 UTC (permalink / raw
  To: gentoo-dev, Per Wigren

On Friday 10 May 2002 09:19 am, Per Wigren wrote:
> [...]
> setup.c: In function `setup_arch':
> setup.c:1071: `acpi_mp_config' undeclared (first use in this function)
> setup.c:1071: (Each undeclared identifier is reported only once
> setup.c:1071: for each function it appears in.)
> make[1]: *** [setup.o] Error 1
> make[1]: Leaving directory
> `/usr/src/linux-2.4.19-gentoo-r4/arch/i386/kernel' make: ***
> [_dir_arch/i386/kernel] Error 2
>
> After enabling ACPI it compiled...

A colleague and I are between a rock and a hard place on this one.  Without 
ACPI we get these compile errors, with ACPI the kernel hangs on boot (either 
on the eepro100 network card, his machine, or when probling the 3ware card, 
my machine), followed by a hard hang.

Both of us require XFS and have been forced to revert to 2.4.18-xfs as a 
result of this.

Where in make menuconfig does one turn off the local (IO)APIC-settings?  I 
couldn't find a reference in the menus, so I tried editing them out of the 
.config file by hand, along with shutting off ACPI as another post suggested, 
and that resulted in compiletime errors as well.

Has anyone managed to get gentoo-sources 2.4.19-r4 to compile, with XFS 
support, and boot without hanging? If so, could you perhaps post a copy of 
your .config to use as a starting point?  As it now stands, -r4 simply 
doesn't work (although ironicly earlier XFS patches to -r1 worked great ... 
go figure).

thanks in advance,

Jean.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] gentoo-sources-2.4.19-r4
  2002-05-10 15:03 ` Jean-Michel Smith
@ 2002-05-10 15:31   ` Preston A. Elder
  2002-05-14 11:34   ` Chuck Haines
  1 sibling, 0 replies; 7+ messages in thread
From: Preston A. Elder @ 2002-05-10 15:31 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1: Type: text/plain, Size: 854 bytes --]

On Fri, 2002-05-10 at 11:03, Jean-Michel Smith wrote:

> Where in make menuconfig does one turn off the local (IO)APIC-settings?  I 
> couldn't find a reference in the menus, so I tried editing them out of the 
> .config file by hand, along with shutting off ACPI as another post suggested, 
> and that resulted in compiletime errors as well.
Its under processor options.

re: getting it compiled without ACPI, jus grab the patch attached, and
goto /usr/src/linux, and type
patch -p1 <linux-2.4.19-r4-acpi.patch

Obviously, if that patch file is not in /usr/src/linux, you will need to
specify the path to it.  Once this patch is applied, you can disable
ACPI from the kernel at will.

Thanks,

-- 
PreZ
Developer
Gentoo Technologies
http://www.gentoo.org

I wish I could change the world, but God won't give me the source code.

[-- Attachment #1.2: linux-2.4.19-r4-acpi.patch --]
[-- Type: text/x-patch, Size: 1217 bytes --]

diff -urNd linux/arch/i386/kernel/setup.c linux/arch/i386/kernel/setup.c.new
--- linux/arch/i386/kernel/setup.c	Wed May  8 10:44:31 2002
+++ linux/arch/i386/kernel/setup.c.new	Thu May  9 09:58:06 2002
@@ -1068,7 +1068,11 @@
 	/*
 	 * get boot-time SMP configuration:
 	 */
-	if (smp_found_config && !acpi_mp_config)
+	if (smp_found_config
+#ifdef CONFIG_ACPI_BOOT
+		&& !acpi_mp_config
+#endif
+	   )
 		get_smp_config();
 #endif
 
diff -urNd linux/arch/i386/kernel/mpparse.c linux/arch/i386/kernel/mpparse.c.new
--- linux/arch/i386/kernel/mpparse.c	Fri May 10 11:24:43 2002
+++ linux/arch/i386/kernel/mpparse.c.new	Thu May  9 10:06:23 2002
@@ -432,7 +432,9 @@
 	 * Save the local APIC address (it might be non-default), but only 
 	 * if we're not using the ACPI tables.
 	 */
+#ifdef CONFIG_ACPI_BOOT
 	if (!acpi_mp_config)
+#endif
 		mp_lapic_addr = mpc->mpc_lapic;
 
 	if (clustered_apic_mode && mpc->mpc_oemptr) {
@@ -514,7 +516,9 @@
 					(struct mpc_config_processor *)mpt;
 
 				/* ACPI may already have provided this one for us */
+#ifdef CONFIG_ACPI_BOOT
 				if (!acpi_mp_config)
+#endif
 					MP_processor_info(m);
 				mpt += sizeof(*m);
 				count += sizeof(*m);

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] gentoo-sources-2.4.19-r4
  2002-05-10 15:03 ` Jean-Michel Smith
  2002-05-10 15:31   ` Preston A. Elder
@ 2002-05-14 11:34   ` Chuck Haines
  2002-05-14 18:59     ` Matthew Kennedy
  1 sibling, 1 reply; 7+ messages in thread
From: Chuck Haines @ 2002-05-14 11:34 UTC (permalink / raw
  To: gentoo-dev

Yes, I have after much trouble gotten 2.4.19-r4 to compile with XFS 
support.  Took me 5 tries though.  Under processor features is where you 
can disable APCI support.  When I tried to enable APCI support, I had the 
same error.  Getting rid of it seemed to fix the problem.  I'm suprise you 
got 2.4.81-xfs to work as I could not get it to work.  Every time I would 
try to get it to boot, it would hang on Initializing CPU#0 with or without 
APCI support.  I can send you my.config if you want it.

Chuck

At 10:03 AM 5/10/2002 -0500, you wrote:
>On Friday 10 May 2002 09:19 am, Per Wigren wrote:
> > [...]
> > setup.c: In function `setup_arch':
> > setup.c:1071: `acpi_mp_config' undeclared (first use in this function)
> > setup.c:1071: (Each undeclared identifier is reported only once
> > setup.c:1071: for each function it appears in.)
> > make[1]: *** [setup.o] Error 1
> > make[1]: Leaving directory
> > `/usr/src/linux-2.4.19-gentoo-r4/arch/i386/kernel' make: ***
> > [_dir_arch/i386/kernel] Error 2
> >
> > After enabling ACPI it compiled...
>
>A colleague and I are between a rock and a hard place on this one.  Without
>ACPI we get these compile errors, with ACPI the kernel hangs on boot (either
>on the eepro100 network card, his machine, or when probling the 3ware card,
>my machine), followed by a hard hang.
>
>Both of us require XFS and have been forced to revert to 2.4.18-xfs as a
>result of this.
>
>Where in make menuconfig does one turn off the local (IO)APIC-settings?  I
>couldn't find a reference in the menus, so I tried editing them out of the
>.config file by hand, along with shutting off ACPI as another post suggested,
>and that resulted in compiletime errors as well.
>
>Has anyone managed to get gentoo-sources 2.4.19-r4 to compile, with XFS
>support, and boot without hanging? If so, could you perhaps post a copy of
>your .config to use as a starting point?  As it now stands, -r4 simply
>doesn't work (although ironicly earlier XFS patches to -r1 worked great ...
>go figure).
>
>thanks in advance,
>
>Jean.
>
>
>_______________________________________________
>gentoo-dev mailing list
>gentoo-dev@gentoo.org
>http://lists.gentoo.org/mailman/listinfo/gentoo-dev

-----------------------------------------------------------------------
| Chuck Haines  | AIM: CyberGrex        |
| GDC Webmaster | ICQ: 3707881          |
| WPILA Lab Manager     | Yahoo: CyberGrex_27   |
| http://gdc.wpi.edu    | http://www.wpila.org  |
-----------------------------------------------------------------------

"Geek by nature, Linux by choice."



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] gentoo-sources-2.4.19-r4
  2002-05-14 11:34   ` Chuck Haines
@ 2002-05-14 18:59     ` Matthew Kennedy
  2002-05-14 21:02       ` Rigo Ketelings
  2002-05-15  7:51       ` Troy Dack
  0 siblings, 2 replies; 7+ messages in thread
From: Matthew Kennedy @ 2002-05-14 18:59 UTC (permalink / raw
  To: gentoo-dev

On Tue, 2002-05-14 at 06:34, Chuck Haines wrote:
> Yes, I have after much trouble gotten 2.4.19-r4 to compile with XFS 
> support.  Took me 5 tries though.  Under processor features is where you 
> can disable APCI support.  When I tried to enable APCI support, I had the 

gentoo-2.4.19-r5 corrected this problem for me.

Matt

-- 
Matthew Kennedy
Gentoo Linux Developer



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] gentoo-sources-2.4.19-r4
  2002-05-14 18:59     ` Matthew Kennedy
@ 2002-05-14 21:02       ` Rigo Ketelings
  2002-05-15  7:51       ` Troy Dack
  1 sibling, 0 replies; 7+ messages in thread
From: Rigo Ketelings @ 2002-05-14 21:02 UTC (permalink / raw
  To: gentoo-dev

Could you post your .config ?

Op dinsdag 14 mei 2002 20:59, schreef Matthew Kennedy:
> On Tue, 2002-05-14 at 06:34, Chuck Haines wrote:
> > Yes, I have after much trouble gotten 2.4.19-r4 to compile with XFS
> > support.  Took me 5 tries though.  Under processor features is where you
> > can disable APCI support.  When I tried to enable APCI support, I had the
>
> gentoo-2.4.19-r5 corrected this problem for me.
>
> Matt



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] gentoo-sources-2.4.19-r4
  2002-05-14 18:59     ` Matthew Kennedy
  2002-05-14 21:02       ` Rigo Ketelings
@ 2002-05-15  7:51       ` Troy Dack
  1 sibling, 0 replies; 7+ messages in thread
From: Troy Dack @ 2002-05-15  7:51 UTC (permalink / raw
  To: gentoo-dev

Matthew Kennedy wrote:

> On Tue, 2002-05-14 at 06:34, Chuck Haines wrote:
>> Yes, I have after much trouble gotten 2.4.19-r4 to compile with XFS
>> support.  Took me 5 tries though.  Under processor features is where you
>> can disable APCI support.  When I tried to enable APCI support, I had the
> 
> gentoo-2.4.19-r5 corrected this problem for me.
> 
> Matt
> 
Unfortunately acpid doesn't like a gentoo-2.4.19-r5 kernel built with acpi 
enabled :(

Troy.
-- 
The one sure way to make a lazy man look respectable is to put a fishing
rod in his hand.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-05-15  7:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-10 14:19 [gentoo-dev] gentoo-sources-2.4.19-r4 Per Wigren
2002-05-10 15:03 ` Jean-Michel Smith
2002-05-10 15:31   ` Preston A. Elder
2002-05-14 11:34   ` Chuck Haines
2002-05-14 18:59     ` Matthew Kennedy
2002-05-14 21:02       ` Rigo Ketelings
2002-05-15  7:51       ` Troy Dack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox