View previous topic :: View next topic |
Author |
Message |
Dinini Apprentice
Joined: 11 Jun 2003 Posts: 236
|
|
Back to top |
|
|
piquadrat Guru
Joined: 18 Feb 2003 Posts: 301 Location: Switzerland
|
Posted: Wed Dec 17, 2003 11:00 am Post subject: |
|
|
ah, finally. Thank you!
*compiling* |
|
Back to top |
|
|
JohnY Guru
Joined: 26 Jul 2002 Posts: 305
|
Posted: Wed Dec 17, 2003 9:30 pm Post subject: |
|
|
Running it here on an A7V (classic) via kt133 with 512mb and a 16mb G400 not running ACPI (just haven't got around to trying it yet). So far so good - mplayer still won't compile against it, but still works as compiled against an older kernel. Everything else is working fine.
JohnY |
|
Back to top |
|
|
dice Guru
Joined: 21 Apr 2002 Posts: 577
|
Posted: Thu Dec 18, 2003 12:38 am Post subject: |
|
|
JohnY wrote: | Running it here on an A7V (classic) via kt133 with 512mb and a 16mb G400 not running ACPI (just haven't got around to trying it yet). So far so good - mplayer still won't compile against it, but still works as compiled against an older kernel. Everything else is working fine.
JohnY |
I haven't had any problems compiling mplayer. What are you seeing? |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Thu Dec 18, 2003 1:38 am Post subject: |
|
|
Here's my rather disappointing result- I build my own 2.6's in /home/wrc/kern, not the Gentoo version, or genkernel.
Same hardware, same config file, same procedure as my last test11. I just added the mm1 patch, and shortly after make bzImage, it errors out with the following errors.
All 2.6 test kernels worked for me (at least 50 on three boxes), mm1 patches, or not. Only change from my perfect test11 kernel is the addition of mm1 patch. Any ideas? What could have changed from test11 or the last mm1?
the last part of make config:
arch/i386/defconfig:114: trying to assign nonexistent symbol ACPI_HT
arch/i386/defconfig:176: trying to assign nonexistent symbol KCORE_ELF
arch/i386/defconfig:177: trying to assign nonexistent symbol KCORE_AOUT
arch/i386/defconfig:355: trying to assign nonexistent symbol SCSI_SYM53C8XX
/home/wrc/kern/260/test11final:507: trying to assign nonexistent symbol MOUSE_PS2_SYNAPTICS
/home/wrc/kern/260/test11final:1058: trying to assign nonexistent symbol SMB_NLS
wrc@mymachine linux-2.6.0-test11 $ make clean
rm -f scripts/kconfig/conf scripts/kconfig/qconf scripts/kconfig/libkconfig.so scripts/kconfig/lkc_defs.h scripts/kconfig/qconf.moc scripts/kconfig/.tmp_qtcheck scripts/kconfig/zconf.tab.c scripts/kconfig/zconf.tab.h scripts/kconfig/lex.zconf.c;
rm -f scripts/fixdep scripts/split-include scripts/conmakehash scripts/docproc scripts/kallsyms scripts/modpost scripts/mk_elfconfig scripts/pnmtologo scripts/bin2c scripts/empty.o scripts/fixdep scripts/split-include scripts/conmakehash scripts/docproc scripts/kallsyms scripts/modpost scripts/mk_elfconfig scripts/pnmtologo scripts/bin2c scripts/elfconfig.h;
rm -f include/asm-i386/asm_offsets.h arch/i386/boot/fdimage arch/i386/boot/mtools.conf vmlinux System.map MC*
wrc@mymachine linux-2.6.0-test11 $ make bzImage
(Runs for about ten seconds and then errors out, like this)
In file included from arch/i386/kernel/cpu/intel.c:14:
include/asm-i386/mach-default/mach_apic.h:8: error: syntax error before "target_cpus"
include/asm-i386/mach-default/mach_apic.h:9: warning: return type defaults to `int'
include/asm-i386/mach-default/mach_apic.h: In function `target_cpus':
include/asm-i386/mach-default/mach_apic.h:13: warning: implicit declaration of function `mk_cpumask_const'
include/asm-i386/mach-default/mach_apic.h:13: warning: implicit declaration of function `cpumask_of_cpu'
include/asm-i386/mach-default/mach_apic.h: At top level:
include/asm-i386/mach-default/mach_apic.h:32: error: syntax error before "bitmap"
include/asm-i386/mach-default/mach_apic.h:33: warning: function declaration isn't a prototype
include/asm-i386/mach-default/mach_apic.h: In function `check_apicid_used':
include/asm-i386/mach-default/mach_apic.h:34: warning: implicit declaration of function `physid_isset'
include/asm-i386/mach-default/mach_apic.h:34: error: `apicid' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:34: error: (Each undeclared identifier is reported only once
include/asm-i386/mach-default/mach_apic.h:34: error: for each function it appears in.)
include/asm-i386/mach-default/mach_apic.h:34: error: `bitmap' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: In function `check_apicid_present':
include/asm-i386/mach-default/mach_apic.h:39: error: `phys_cpu_present_map' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: In function `init_apic_ldr':
include/asm-i386/mach-default/mach_apic.h:53: warning: implicit declaration of function `apic_write_around'
include/asm-i386/mach-default/mach_apic.h:53: error: `APIC_DFR' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:53: error: `APIC_DFR_FLAT' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:54: warning: implicit declaration of function `apic_read'
include/asm-i386/mach-default/mach_apic.h:54: error: `APIC_LDR' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:54: error: `APIC_LDR_MASK' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:55: warning: implicit declaration of function `SET_APIC_LOGICAL_ID'
include/asm-i386/mach-default/mach_apic.h: At top level:
include/asm-i386/mach-default/mach_apic.h:59: error: syntax error before "ioapic_phys_id_map"
include/asm-i386/mach-default/mach_apic.h:59: error: syntax error before "phys_map"
include/asm-i386/mach-default/mach_apic.h:60: warning: return type defaults to `int'
include/asm-i386/mach-default/mach_apic.h:60: warning: function declaration isn't a prototype
include/asm-i386/mach-default/mach_apic.h: In function `ioapic_phys_id_map':
include/asm-i386/mach-default/mach_apic.h:61: error: `phys_map' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: In function `clustered_apic_check':
include/asm-i386/mach-default/mach_apic.h:67: error: `nr_ioapics' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: At top level:
include/asm-i386/mach-default/mach_apic.h:91: error: syntax error before "apicid_to_cpu_present"
include/asm-i386/mach-default/mach_apic.h:92: warning: return type defaults to `int'
include/asm-i386/mach-default/mach_apic.h: In function `apicid_to_cpu_present':
include/asm-i386/mach-default/mach_apic.h:93: warning: implicit declaration of function `physid_mask_of_physid'
include/asm-i386/mach-default/mach_apic.h: At top level:
include/asm-i386/mach-default/mach_apic.h:97: warning: `struct mpc_config_translation' declared inside parameter list
include/asm-i386/mach-default/mach_apic.h:97: warning: its scope is only this definition or declaration, which is probably not what you want
include/asm-i386/mach-default/mach_apic.h:97: warning: `struct mpc_config_processor' declared inside parameter list
include/asm-i386/mach-default/mach_apic.h: In function `mpc_apic_id':
include/asm-i386/mach-default/mach_apic.h:100: error: dereferencing pointer to incomplete type
include/asm-i386/mach-default/mach_apic.h:101: error: dereferencing pointer to incomplete type
include/asm-i386/mach-default/mach_apic.h:101: error: `CPU_FAMILY_MASK' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:102: error: dereferencing pointer to incomplete type
include/asm-i386/mach-default/mach_apic.h:102: error: `CPU_MODEL_MASK' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:103: error: dereferencing pointer to incomplete type
include/asm-i386/mach-default/mach_apic.h:104: error: dereferencing pointer to incomplete type
include/asm-i386/mach-default/mach_apic.h: In function `check_phys_apicid_present':
include/asm-i386/mach-default/mach_apic.h:113: error: `phys_cpu_present_map' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: In function `apic_id_registered':
include/asm-i386/mach-default/mach_apic.h:118: error: `APIC_ID' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:118: error: `phys_cpu_present_map' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: At top level:
include/asm-i386/mach-default/mach_apic.h:121: error: syntax error before "cpumask"
include/asm-i386/mach-default/mach_apic.h:122: warning: function declaration isn't a prototype
include/asm-i386/mach-default/mach_apic.h: In function `cpu_mask_to_apicid':
include/asm-i386/mach-default/mach_apic.h:123: warning: implicit declaration of function `cpus_coerce_const'
include/asm-i386/mach-default/mach_apic.h:123: error: `cpumask' undeclared (first use in this function)
make[2]: *** [arch/i386/kernel/cpu/intel.o] Error 1
make[1]: *** [arch/i386/kernel/cpu] Error 2
make: *** [arch/i386/kernel] Error 2
wrc@mymachine linux-2.6.0-test11 $
wrc1944
_________________
Abit KX7-333, MSI KT3 Ultra 2, Abit KT7-RAID
AthlonXP 1700+ Thoroughbred B's, & Duron 1300Mhz
512MB Crucial PC2700 DDR, & 384MB PC133
Maxtor ATA100 & 133 20GB 5400/7200rpm
ATI Radeon 9000 Pro 3.3ns ram all boxes
Mandrake 9.1/Gentoo dual-boot _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11 |
|
Back to top |
|
|
Dinini Apprentice
Joined: 11 Jun 2003 Posts: 236
|
Posted: Thu Dec 18, 2003 1:48 am Post subject: |
|
|
Followup from linux-kernel mailing list
Andrew Morton wrote: | Andrew Morton <akpm@osdl.org> wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test11/2.6.0-test11-mm1/
>
>
> A fair number of new fixes
And new breakage too!
In file included from arch/i386/kernel/cpu/intel.c:14:
include/asm-i386/mach-default/mach_apic.h:8: error: syntax error before "target_cpus"
include/asm-i386/mach-default/mach_apic.h:9: warning: return type defaults to `int'
Fix:
Code: | diff -puN arch/i386/kernel/cpu/intel.c~cpu_sibling_map-fixes-fix arch/i386/kernel/cpu/intel.c
--- 25/arch/i386/kernel/cpu/intel.c~cpu_sibling_map-fixes-fix 2003-12-17 03:31:56.000000000 -0800
+++ 25-akpm/arch/i386/kernel/cpu/intel.c 2003-12-17 03:46:25.000000000 -0800
@@ -8,9 +8,11 @@
#include <asm/processor.h>
#include <asm/msr.h>
#include <asm/uaccess.h>
+#include <asm/mpspec.h>
+#include <asm/apic.h>
#include "cpu.h"
-#include "mach_apic.h"
+#include <mach_apic.h>
extern int trap_init_f00f_bug(void);
|
|
|
|
Back to top |
|
|
G-Lover n00b
Joined: 18 Dec 2003 Posts: 2 Location: Knoxville, TN
|
Posted: Thu Dec 18, 2003 3:19 am Post subject: |
|
|
I appreciate your good work, I've been a Gentoo user for quite awhile but have pretty much lurked the forums. I have a request, no big deal if you can't, but it would be cool. I have a Turtle Beach Montega II sound card that uses the Vortex2 chipset.
I've been having problems with this patch
http://imptech.dhs.org/~imptech/
Maybe could try to include it with love sources. I'll try to help out any way I can. My knowledge of C is pretty limited, though.. |
|
Back to top |
|
|
JohnY Guru
Joined: 26 Jul 2002 Posts: 305
|
Posted: Thu Dec 18, 2003 5:46 am Post subject: |
|
|
dice wrote: | JohnY wrote: | Running it here on an A7V (classic) via kt133 with 512mb and a 16mb G400 not running ACPI (just haven't got around to trying it yet). So far so good - mplayer still won't compile against it, but still works as compiled against an older kernel. Everything else is working fine.
JohnY |
I haven't had any problems compiling mplayer. What are you seeing? |
Having problems with the matrox_vid.c :
Quote: |
gcc -O2 -D__KERNEL__ -DMODULE -include /usr/src/linux/include/linux/modversions.h -Wall -I/usr/src/linux/include -c mga_vid.c
mga_vid.c: /usr/src/linux/include/linux/modversions.h: No such file or directorymga_vid.c:152: warning: static declaration for `simple_strtol' follows non-static
mga_vid.c:354: syntax error before "dev_handle"
mga_vid.c:354: warning: type defaults to `int' in declaration of `dev_handle'
mga_vid.c:354: warning: initialization makes integer from pointer without a castmga_vid.c:354: warning: data definition has no type or storage class
mga_vid.c:362: syntax error before "devfs_handle_t"
mga_vid.c:362: warning: no semicolon at end of struct or union
mga_vid.c:398: syntax error before '}' token
mga_vid.c:398: warning: type defaults to `int' in declaration of `mga_card_t'
mga_vid.c:398: warning: data definition has no type or storage class
mga_vid.c:405: syntax error before '*' token
mga_vid.c:405: warning: type defaults to `int' in declaration of `mga_cards'
mga_vid.c:405: warning: data definition has no type or storage class
mga_vid.c:451: syntax error before '*' token
mga_vid.c: In function `mga_vid_frame_sel':
mga_vid.c:453: `card' undeclared (first use in this function)
mga_vid.c:453: (Each undeclared identifier is reported only once
mga_vid.c:453: for each function it appears in.)
mga_vid.c:454: `frame' undeclared (first use in this function)
mga_vid.c: At top level:
mga_vid.c:473: syntax error before '*' token
mga_vid.c: In function `mga_vid_write_regs':
mga_vid.c:477: `card' undeclared (first use in this function)
mga_vid.c:481: `restore' undeclared (first use in this function)
mga_vid.c: At top level:
mga_vid.c:699: syntax error before '*' token
mga_vid.c: In function `mga_vid_set_config':
mga_vid.c:703: `card' undeclared (first use in this function)
mga_vid.c: In function `mga_vid_ioctl':
mga_vid.c:1186: `card' undeclared (first use in this function)
mga_vid.c:1186: syntax error before ')' token
mga_vid.c: At top level:
mga_vid.c:1317: syntax error before '*' token
mga_vid.c: In function `mga_vid_find_card':
mga_vid.c:1324: `card' undeclared (first use in this function)
mga_vid.c:1350: structure has no member named `name'
mga_vid.c:1355: structure has no member named `name'
mga_vid.c:1360: structure has no member named `name'
mga_vid.c:1365: structure has no member named `name'
mga_vid.c:1370: structure has no member named `name'
mga_vid.c: At top level:
mga_vid.c:1385: syntax error before '*' token
mga_vid.c: In function `mga_param_buff_fill':
mga_vid.c:1388: `card' undeclared (first use in this function)
mga_vid.c: In function `mga_vid_read':
mga_vid.c:1407: `card' undeclared (first use in this function)
mga_vid.c:1407: syntax error before ')' token
mga_vid.c:1412: warning: type defaults to `int' in declaration of `_y'
mga_vid.c:1412: warning: comparison of distinct pointer types lacks a cast
mga_vid.c: In function `mga_vid_write':
mga_vid.c:1420: `card' undeclared (first use in this function)
mga_vid.c:1420: syntax error before ')' token
mga_vid.c: In function `mga_vid_mmap':
mga_vid.c:1452: `card' undeclared (first use in this function)
mga_vid.c:1452: syntax error before ')' token
mga_vid.c: In function `mga_vid_release':
mga_vid.c:1481: `card' undeclared (first use in this function)
mga_vid.c:1488: syntax error before ')' token
mga_vid.c:1497: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:494)
mga_vid.c: In function `mga_vid_open':
mga_vid.c:1508: `card' undeclared (first use in this function)
mga_vid.c:1511: request for member `value' in something not a structure or unionmga_vid.c:1536: syntax error before ')' token
mga_vid.c:1542: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:482)
mga_vid.c: At top level:
mga_vid.c:1573: syntax error before '*' token
mga_vid.c: In function `cards_init':
mga_vid.c:1581: `card' undeclared (first use in this function)
mga_vid.c:1584: `dev' undeclared (first use in this function)
mga_vid.c:1591: `card_number' undeclared (first use in this function)
mga_vid.c:1690: warning: implicit declaration of function `devfs_register'
mga_vid.c:1690: `DEVFS_FL_AUTO_DEVNUM' undeclared (first use in this function)
mga_vid.c: In function `mga_vid_initialize':
mga_vid.c:1734: `DEVFS_FL_AUTO_DEVNUM' undeclared (first use in this function)
mga_vid.c: In function `cleanup_module':
mga_vid.c:1752: `card' undeclared (first use in this function)
mga_vid.c:1769: warning: implicit declaration of function `devfs_unregister'
make: *** [mga_vid.o] Error 1
!!! ERROR: media-video/mplayer-1.0_pre3 failed.
!!! Function src_compile, Line 317, Exitcode 2
!!! Failed to build matrox driver!
|
Running gcc 3.2.3 with linux-headers 2.4.19-r1
BTW, this A7V (classic) is running a TbreadB at 2020mHz
JohnY |
|
Back to top |
|
|
G-Lover n00b
Joined: 18 Dec 2003 Posts: 2 Location: Knoxville, TN
|
Posted: Thu Dec 18, 2003 6:24 am Post subject: Oops |
|
|
I'm sory, I posted in the wrong topic. Just ignore me. |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Thu Dec 18, 2003 10:22 pm Post subject: |
|
|
OK- the patch for mm1 fixed me right up! mm1 compiled fine, and is working fine. Thanks much for the info!
Now on to the new 2.6.0 final!
wrc1944 _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11 |
|
Back to top |
|
|
|