Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xx-sources
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6 ... 27, 28, 29  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
primero.gentoo
Guru
Guru


Joined: 23 Dec 2003
Posts: 402

PostPosted: Fri Jun 04, 2004 10:09 am    Post subject: Reply with quote

Bootsplash enabled, but i had to disable REGPARM in the arch/i386/Kconfig default value .... Now compiling :)

Bye
_________________
"Linux, the choice of a GNU generation"
==Micro$oft - just say NO==
(L#USER 353039)
Back to top
View user's profile Send private message
4nykey
Apprentice
Apprentice


Joined: 11 Feb 2004
Posts: 176

PostPosted: Fri Jun 04, 2004 10:26 am    Post subject: Reply with quote

danone wrote:
@but the vesafb_modeline_gen.pl does not work..

It's a matter of deleting of this line somewhere near the end
Quote:
`ln -s $path/arch/i386/boot/vesafb_modes.h $path/arch/x86_64/boot/vesafb_modes.h`

to make it work. Dunno how to fix it correctly, so on x86_64 you'll have to symlink it manually, I guess.
Back to top
View user's profile Send private message
danone
Guru
Guru


Joined: 18 Jan 2004
Posts: 398
Location: Germany

PostPosted: Fri Jun 04, 2004 10:54 am    Post subject: Reply with quote

well i use the modline_gen.pl from the orig patch...and it works
_________________
[:: Processor: Intel Core 2 Duo E6300 ]::[ Mainboard: ASUS P5B Deluxe ]::[ GPU: nVidia 7900GTO ::]
[:: RAM: HyperX DDR2 800 ]::[ Samsung SH-183A SATA:: CREATiVE X-Fi XtremeMusic :: ]
Back to top
View user's profile Send private message
trevorj
n00b
n00b


Joined: 13 May 2003
Posts: 68

PostPosted: Fri Jun 04, 2004 11:07 am    Post subject: Reply with quote

for some reason, there was this error after I patched, and tried to make:
kernel/sched.c:143
Code:
define STIME_RUN               2       /* Using CPU */

Of course, this should be
Code:
#define STIME_RUN               2       /* Using CPU */


compiling now ;)
_________________
\\ trevorj
Back to top
View user's profile Send private message
trevorj
n00b
n00b


Joined: 13 May 2003
Posts: 68

PostPosted: Fri Jun 04, 2004 11:16 am    Post subject: Reply with quote

Vector-based interrupt indexing (MSI) is broken for me... could be gcc 3.4, could be the patch, but it's definately not something wrong with that line, because it's the same exact function as what I used in 2.6.6
error:
Code:
  CC      drivers/pci/msi.o
drivers/pci/msi.c: In function `msi_address_init':
drivers/pci/msi.c:265: error: invalid operands to binary <<


I'll have to look into that... if nobody else does before me ;)

Edit:

Ok, disabling msi fixed that, but now I have a new problem...
Code:
  LD      .tmp_vmlinux1
arch/i386/power/built-in.o(.data.nosave+0x0): multiple definition of `swsusp_pg_dir'
arch/i386/mm/built-in.o(.data.nosave+0x0): first defined here


odd...

Edit: haha I am retarded. Don't enable both the old and the new swsusp ;)

Well, it's now compiled, and I'm running it, althought nvidia HATES it. modprobe nvidia makes segfaults and lots of badness kernel errors.
It loads "successfully" the second modprobe nvidia, but then makes TONS of badness errors when trying to startx, and plus X segfaults every time when using nvidia. evil.
_________________
\\ trevorj
Back to top
View user's profile Send private message
primero.gentoo
Guru
Guru


Joined: 23 Dec 2003
Posts: 402

PostPosted: Fri Jun 04, 2004 12:23 pm    Post subject: Reply with quote

MSI is broken also for me with gcc 3.3.3. Disabled and compiled fine ... with a lot of warnings, gonna try it out :)

--------EDIT---------EDIT------------
I have these problems with reiser4, since i don't use it is not important but i would really like to clean up my Compilation (that is very very ... warning!!!)

Code:

  LD      arch/i386/boot/compressed/vmlinux
  OBJCOPY arch/i386/boot/vmlinux.bin
  HOSTCC  arch/i386/boot/tools/build
  BUILD   arch/i386/boot/bzImage
Root device is (3, 2)
Boot sector 512 bytes.
Setup is 4592 bytes.
System is 1714 kB
Kernel: arch/i386/boot/bzImage is ready
  Building modules, stage 2.
  MODPOST
*** Warning: "__iget" [fs/reiser4/reiser4.ko] undefined!
*** Warning: "pagevec_lookup_tag" [fs/reiser4/reiser4.ko] undefined!
*** Warning: "__pagevec_release" [fs/reiser4/reiser4.ko] undefined!
  CC      net/8021q/8021q.mod.o
  LD [M]  net/8021q/8021q.ko
  CC      drivers/serial/8250.mod.o
  LD [M]  drivers/serial/8250.ko
  CC      drivers/serial/8250_pci.mod.o
  LD [M]  drivers/serial/8250_pci.ko



And when i do make modules_install

Code:

  INSTALL drivers/md/xor.ko
  INSTALL drivers/pcmcia/yenta_socket.ko
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.6.7-rc2-xx2; fi
WARNING: /lib/modules/2.6.7-rc2-xx2/kernel/fs/reiser4/reiser4.ko needs unknown symbol __pagevec_release
WARNING: /lib/modules/2.6.7-rc2-xx2/kernel/fs/reiser4/reiser4.ko needs unknown symbol pagevec_lookup_tag
WARNING: /lib/modules/2.6.7-rc2-xx2/kernel/fs/reiser4/reiser4.ko needs unknown symbol __iget



i think it will now work when i modprobe it.

Bye
_________________
"Linux, the choice of a GNU generation"
==Micro$oft - just say NO==
(L#USER 353039)
Back to top
View user's profile Send private message
danone
Guru
Guru


Joined: 18 Jan 2004
Posts: 398
Location: Germany

PostPosted: Fri Jun 04, 2004 2:10 pm    Post subject: Reply with quote

SMP does not works damn bad idea to mix the schedulers this react in these errors:-(
Code:
arch/i386/kernel/smpboot.c: In Funktion >>arch_init_sched_domains<<:
arch/i386/kernel/smpboot.c:1370: error: Syntaxfehler before ',' token
arch/i386/kernel/smpboot.c:1370: error: Feldname nicht in Datensatz- oder union-Initialisierung
arch/i386/kernel/smpboot.c:1370: error: (near initialization for `(anonymous)')
make[1]: *** [arch/i386/kernel/smpboot.o] Fehler 1
make[1]: *** Warte auf noch nicht beendete Prozesse...
  CC      arch/i386/kernel/cpu/mtrr/centaur.o
  CC      mm/mprotect.o
 

get this error

with nicksched

Code:
kernel/sched.c:143: error: Syntaxfehler before "STIME_RUN"
kernel/sched.c:376: error: Syntaxfehler before '*' token
kernel/sched.c:377: Warnung: return type defaults to `int'
kernel/sched.c: In Funktion >>task_rq_lock<<:
kernel/sched.c:388: Warnung: return von inkompatiblem Zeigertyp
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:391: error: Syntaxfehler before '*' token
kernel/sched.c:392: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>task_rq_unlock<<:
kernel/sched.c:393: error: `rq' undeclared (first use in this function)
kernel/sched.c:393: error: (Each undeclared identifier is reported only once
kernel/sched.c:393: error: for each function it appears in.)
kernel/sched.c:393: error: `flags' undeclared (first use in this function)
kernel/sched.c:393: Warnung: type defaults to `int' in declaration of `__dummy2'kernel/sched.c:393: Warnung: in Vergleich verschiedener Zeigertypen fehlt Typkonvertierung
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:493: error: Syntaxfehler before '*' token
kernel/sched.c:494: Warnung: return type defaults to `int'
kernel/sched.c: In Funktion >>this_rq_lock<<:
kernel/sched.c:495: error: `runqueue_t' undeclared (first use in this function)
kernel/sched.c:495: error: `rq' undeclared (first use in this function)
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:504: error: Syntaxfehler before '*' token
kernel/sched.c:505: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>rq_unlock<<:
kernel/sched.c:506: error: `rq' undeclared (first use in this function)
kernel/sched.c: In Funktion >>add_task_time<<:
kernel/sched.c:591: error: `STIME_RUN' undeclared (first use in this function)
  CC      arch/i386/kernel/ldt.o
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:630: error: Syntaxfehler before "runqueue_t"
kernel/sched.c:631: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>task_timeslice<<:
kernel/sched.c:635: error: `p' undeclared (first use in this function)
kernel/sched.c:638: error: `rq' undeclared (first use in this function)
kernel/sched.c:638: Warnung: type defaults to `int' in declaration of `_x'
kernel/sched.c:638: Warnung: type defaults to `int' in declaration of `_y'
kernel/sched.c:639: Warnung: type defaults to `int' in declaration of `_y'
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:714: error: Syntaxfehler before "runqueue_t"
kernel/sched.c:719: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>__activate_task<<:
kernel/sched.c:721: error: `p' undeclared (first use in this function)
kernel/sched.c:721: error: `array' undeclared (first use in this function)
kernel/sched.c:729: error: `rq' undeclared (first use in this function)
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:735: error: Syntaxfehler before "runqueue_t"
kernel/sched.c:736: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>__activate_idle_task<<:
kernel/sched.c:740: error: `p' undeclared (first use in this function)
kernel/sched.c:740: error: `rq' undeclared (first use in this function)
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:928: error: Syntaxfehler before "runqueue_t"
kernel/sched.c:929: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>activate_task<<:
kernel/sched.c:938: error: `local' undeclared (first use in this function)
kernel/sched.c:940: error: `runqueue_t' undeclared (first use in this function)
kernel/sched.c:940: error: `this_rq' undeclared (first use in this function)
kernel/sched.c:942: error: `rq' undeclared (first use in this function)
kernel/sched.c:947: error: `p' undeclared (first use in this function)
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:1012: error: Syntaxfehler before "runqueue_t"
kernel/sched.c:1013: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>deactivate_task<<:
kernel/sched.c:1015: error: `p' undeclared (first use in this function)
kernel/sched.c:1015: error: `rq' undeclared (first use in this function)
kernel/sched.c: In Funktion >>migrate_task<<:
kernel/sched.c:1097: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:1097: error: `rq' undeclared (first use in this function)
kernel/sched.c: In Funktion >>wait_task_inactive<<:
kernel/sched.c:1128: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:1128: error: `rq' undeclared (first use in this function)
kernel/sched.c:1129: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c: In Funktion >>source_load<<:
kernel/sched.c:1174: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:1174: error: `rq' undeclared (first use in this function)
kernel/sched.c:1175: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c:1177: Warnung: type defaults to `int' in declaration of `_x'
kernel/sched.c:1177: Warnung: in Vergleich verschiedener Zeigertypen fehlt Typkonvertierung
kernel/sched.c: In Funktion >>target_load<<:
kernel/sched.c:1185: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:1185: error: `rq' undeclared (first use in this function)
kernel/sched.c:1186: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c:1188: Warnung: type defaults to `int' in declaration of `_x'
kernel/sched.c:1188: Warnung: in Vergleich verschiedener Zeigertypen fehlt Typkonvertierung
kernel/sched.c: In Funktion >>wake_idle<<:
kernel/sched.c:1204: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:1204: error: `rq' undeclared (first use in this function)
kernel/sched.c:1205: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c: In Funktion >>try_to_wake_up<<:
kernel/sched.c:1251: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:1251: error: `rq' undeclared (first use in this function)
kernel/sched.c:1253: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c: In Funktion >>sched_fork<<:
kernel/sched.c:1438: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:1438: error: `rq' undeclared (first use in this function)
kernel/sched.c: In Funktion >>wake_up_forked_process<<:
kernel/sched.c:1525: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:1525: error: `rq' undeclared (first use in this function)
kernel/sched.c: In Funktion >>sched_exit<<:
kernel/sched.c:1610: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:1610: error: `rq' undeclared (first use in this function)
kernel/sched.c:1637: error: `STIME_RUN' undeclared (first use in this function)
kernel/sched.c: In Funktion >>finish_task_switch<<:
kernel/sched.c:1671: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:1671: error: `rq' undeclared (first use in this function)
kernel/sched.c:1672: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:1713: error: Syntaxfehler before '*' token
kernel/sched.c:1714: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>context_switch<<:
kernel/sched.c:1715: error: `next' undeclared (first use in this function)
kernel/sched.c:1716: error: `prev' undeclared (first use in this function)
kernel/sched.c:1732: error: `rq' undeclared (first use in this function)
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:1795: error: Syntaxfehler before '*' token
kernel/sched.c:1796: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>double_rq_lock<<:
kernel/sched.c:1797: error: `rq1' undeclared (first use in this function)
kernel/sched.c:1797: error: `rq2' undeclared (first use in this function)
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:1816: error: Syntaxfehler before '*' token
kernel/sched.c:1817: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>double_rq_unlock<<:
kernel/sched.c:1818: error: `rq1' undeclared (first use in this function)
kernel/sched.c:1819: error: `rq2' undeclared (first use in this function)
kernel/sched.c: In Funktion >>wake_up_forked_thread<<:
kernel/sched.c:1890: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:1890: error: `this_rq' undeclared (first use in this function)
kernel/sched.c:1890: error: `rq' undeclared (first use in this function)
kernel/sched.c:1890: Warnung: left-hand operand of comma expression has no effect
kernel/sched.c: In Funktion >>sched_migrate_task<<:
kernel/sched.c:2008: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:2008: error: `rq' undeclared (first use in this function)
kernel/sched.c:2009: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:2068: error: Syntaxfehler before '*' token
kernel/sched.c:2069: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>double_lock_balance<<:
kernel/sched.c:2070: error: `busiest' undeclared (first use in this function)
kernel/sched.c:2071: error: `this_rq' undeclared (first use in this function)
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:2085: error: Syntaxfehler before '*' token
kernel/sched.c:2094: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>pull_task<<:
kernel/sched.c:2098: error: `p' undeclared (first use in this function)
kernel/sched.c:2098: error: `src_array' undeclared (first use in this function)
kernel/sched.c:2100: error: `src_rq' undeclared (first use in this function)
kernel/sched.c:2101: error: `this_cpu' undeclared (first use in this function)
kernel/sched.c:2102: error: `this_rq' undeclared (first use in this function)
kernel/sched.c:2106: error: `this_array' undeclared (first use in this function)kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:2122: error: Syntaxfehler before "runqueue_t"
kernel/sched.c:2124: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>can_migrate_task<<:
kernel/sched.c:2131: error: `rq' undeclared (first use in this function)
kernel/sched.c:2131: error: `p' undeclared (first use in this function)
kernel/sched.c:2133: error: `this_cpu' undeclared (first use in this function)
kernel/sched.c:2137: error: `idle' undeclared (first use in this function)
kernel/sched.c:2138: error: `sd' undeclared (first use in this function)
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:2160: error: Syntaxfehler before '*' token
kernel/sched.c:2163: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>move_tasks<<:
kernel/sched.c:2173: error: `max_nr_move' undeclared (first use in this function)
kernel/sched.c:2173: error: `busiest' undeclared (first use in this function)
kernel/sched.c:2188: error: `this_rq' undeclared (first use in this function)
kernel/sched.c:2221: error: `this_cpu' undeclared (first use in this function)
kernel/sched.c:2221: error: `sd' undeclared (first use in this function)
kernel/sched.c:2221: error: `idle' undeclared (first use in this function)
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:2395: error: Syntaxfehler before '*' token
kernel/sched.c:2396: Warnung: return type defaults to `int'
kernel/sched.c: In Funktion >>find_busiest_queue<<:
kernel/sched.c:2399: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:2399: error: `busiest' undeclared (first use in this function)
kernel/sched.c:2400: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:2421: error: Syntaxfehler before "runqueue_t"
kernel/sched.c:2423: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>load_balance<<:
kernel/sched.c:2425: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:2425: error: `busiest' undeclared (first use in this function)
kernel/sched.c:2426: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c:2429: error: `this_rq' undeclared (first use in this function)
kernel/sched.c:2432: error: `sd' undeclared (first use in this function)
kernel/sched.c:2432: error: `this_cpu' undeclared (first use in this function)
kernel/sched.c:2432: error: `idle' undeclared (first use in this function)
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:2518: error: Syntaxfehler before "runqueue_t"
kernel/sched.c:2520: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>load_balance_newidle<<:
kernel/sched.c:2522: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:2522: error: `busiest' undeclared (first use in this function)
kernel/sched.c:2523: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c:2527: error: `sd' undeclared (first use in this function)
kernel/sched.c:2527: error: `this_cpu' undeclared (first use in this function)
kernel/sched.c:2534: error: `this_rq' undeclared (first use in this function)
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:2557: error: Syntaxfehler before "runqueue_t"
kernel/sched.c:2558: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>idle_balance<<:
kernel/sched.c:2561: error: `this_cpu' undeclared (first use in this function)
kernel/sched.c:2561: error: invalid type argument of `unary *'
kernel/sched.c:2563: error: `this_rq' undeclared (first use in this function)
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:2579: error: Syntaxfehler before '*' token
kernel/sched.c:2580: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>active_load_balance<<:
kernel/sched.c:2586: error: `busiest' undeclared (first use in this function)
kernel/sched.c:2589: error: `busiest_cpu' undeclared (first use in this function)
kernel/sched.c:2589: error: invalid type argument of `unary *'
kernel/sched.c:2606: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:2606: error: `rq' undeclared (first use in this function)
kernel/sched.c:2607: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c: Auf h?chster Ebene:
kernel/sched.c:2657: error: Syntaxfehler before "runqueue_t"
kernel/sched.c:2659: Warnung: function declaration isn't a prototype
kernel/sched.c: In Funktion >>rebalance_tick<<:
kernel/sched.c:2661: error: `this_cpu' undeclared (first use in this function)
kernel/sched.c:2665: error: `this_rq' undeclared (first use in this function)
kernel/sched.c:2676: error: invalid type argument of `unary *'
kernel/sched.c:2679: error: `idle' undeclared (first use in this function)
kernel/sched.c: In Funktion >>scheduler_tick<<:
kernel/sched.c:2761: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:2761: error: `rq' undeclared (first use in this function)
kernel/sched.c:2762: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c: In Funktion >>schedule<<:
kernel/sched.c:3057: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:3057: error: `rq' undeclared (first use in this function)
kernel/sched.c:3061: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c:3095: error: `STIME_RUN' undeclared (first use in this function)
kernel/sched.c: In Funktion >>set_user_nice<<:
kernel/sched.c:3529: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:3529: error: `rq' undeclared (first use in this function)
kernel/sched.c:3530: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c: In Funktion >>setscheduler<<:
kernel/sched.c:3711: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:3711: error: `rq' undeclared (first use in this function)
kernel/sched.c:3712: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c: In Funktion >>sys_sched_yield<<:
kernel/sched.c:4010: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:4010: error: `rq' undeclared (first use in this function)
kernel/sched.c:4017: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c: In Funktion >>sys_sched_rr_get_interval<<:
kernel/sched.c:4164: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:4164: error: `rq' undeclared (first use in this function)
kernel/sched.c: In Funktion >>init_idle<<:
kernel/sched.c:4303: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:4303: error: `idle_rq' undeclared (first use in this function)
kernel/sched.c:4303: error: `rq' undeclared (first use in this function)
kernel/sched.c:4303: Warnung: left-hand operand of comma expression has no effect
kernel/sched.c:4304: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c: In Funktion >>set_cpus_allowed<<:
kernel/sched.c:4370: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:4370: error: `rq' undeclared (first use in this function)
  CC      arch/i386/kernel/setup.o
kernel/sched.c: In Funktion >>__migrate_task<<:
kernel/sched.c:4411: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:4411: error: `rq_dest' undeclared (first use in this function)
kernel/sched.c:4411: error: `rq_src' undeclared (first use in this function)
kernel/sched.c:4411: Warnung: left-hand operand of comma expression has no effect
kernel/sched.c: In Funktion >>migration_thread<<:
kernel/sched.c:4454: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:4454: error: `rq' undeclared (first use in this function)
kernel/sched.c:4455: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c: In Funktion >>migration_call<<:
kernel/sched.c:4620: Warnung: Zuweisung von inkompatiblem Zeigertyp
kernel/sched.c: In Funktion >>cpu_attach_domain<<:
kernel/sched.c:4708: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:4708: error: `rq' undeclared (first use in this function)
kernel/sched.c:4709: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c: In Funktion >>sched_domain_debug<<:
kernel/sched.c:4859: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:4859: error: `rq' undeclared (first use in this function)
kernel/sched.c:4860: Warnung: ISO C90 forbids mixed declarations and code
kernel/sched.c: In Funktion >>sched_init<<:
kernel/sched.c:4953: error: `runqueue_t' undeclared (first use in this function)kernel/sched.c:4953: error: `rq' undeclared (first use in this function)
kernel/sched.c:4954: Warnung: ISO C90 forbids mixed declarations and code
make[1]: *** [kernel/sched.o] Fehler 1
make[1]: *** Warte auf noch nicht beendete Prozesse...
  CC      mm/bootmem.o
  CC      mm/filemap.o
  CC      arch/i386/kernel/time.o
make[1]: *** [arch/i386/kernel/time.o] Unterbrechung
make[1]: *** [mm/filemap.o] Unterbrechung
*** [arch/i386/kernel] Unterbrechung
make: make[1]: *** [kernel/fork.o] Unterbrechung
*** [mm] Unterbrechung
make: *** [kernel] Unterbrechung


with staircase
Code:

drivers/perfctr/virtual.c:409:36: Makro >>cpus_complement<< erfordert 2 Argumente, aber nur 1 wurden angegeben
drivers/perfctr/virtual.c: In Funktion >>do_vperfctr_control<<:
drivers/perfctr/virtual.c:409: error: `cpus_complement' undeclared (first use in this function)
drivers/perfctr/virtual.c:409: error: (Each undeclared identifier is reported only once
drivers/perfctr/virtual.c:409: error: for each function it appears in.)
make[2]: *** [drivers/perfctr/virtual.o] Fehler 1
make[1]: *** [drivers/perfctr] Fehler 2
make: *** [drivers] Fehler 2

_________________
[:: Processor: Intel Core 2 Duo E6300 ]::[ Mainboard: ASUS P5B Deluxe ]::[ GPU: nVidia 7900GTO ::]
[:: RAM: HyperX DDR2 800 ]::[ Samsung SH-183A SATA:: CREATiVE X-Fi XtremeMusic :: ]
Back to top
View user's profile Send private message
xiphux
Apprentice
Apprentice


Joined: 15 Jun 2002
Posts: 225
Location: Madison, WI

PostPosted: Sat Jun 05, 2004 1:45 am    Post subject: Reply with quote

Holy crap, what did you do?!

I know what's wrong with the first error (the 'near initialization for (anonymous)' thing - sorry, I don't read German. That is german, right?) and I'll fix it in the next release. But I have no idea how you ended up with that giant list of errors...

the drivers/perfctr/virtual.c thing isn't related to staircase - it had to have compiled kernel/sched.c successfully to have gotten to that point. Perfctr is having some conflicts with the cpumask patches. I must have missed it since, as I mentioned earlier in the thread, I have no choice but to disable perfctr. I'll fix that for the next release too.

primero, does that only happen when you compile reiser4 as a module, or does it happen when it's in the kernel, too?

trevorj, I'll try and reverse the stuff that makes the kernel binary-module-unfriendly; I use xserver through framebuffer, so it wasn't really an issue for me. (thanks for reminding me)

I'm not quite sure what's with msi. In that line of code, try removing the pipe that's right before the equals.
Back to top
View user's profile Send private message
trevorj
n00b
n00b


Joined: 13 May 2003
Posts: 68

PostPosted: Sat Jun 05, 2004 2:46 am    Post subject: Reply with quote

xiphux: I also upgraded all the swsusp patches, if you want a diff I can give you it. There was only a couple failed hunks that required manual patching.

swsusp2 still doesn't work though. suspends fine, doesn't resume, even after my version upping patching ;)

and which patch(es) makes it binary-module-unfriendly?
_________________
\\ trevorj
Back to top
View user's profile Send private message
xiphux
Apprentice
Apprentice


Joined: 15 Jun 2002
Posts: 225
Location: Madison, WI

PostPosted: Sat Jun 05, 2004 2:58 am    Post subject: Reply with quote

I already upgraded the upcoming release with the newest swsusp2 (2.0.0.81). Thanks though.

I think regparm breaks the nvidia module, so the option needs to be brought back (instead of defaulting to Y). I'm not sure about others; I'll have to check on it.
Back to top
View user's profile Send private message
trevorj
n00b
n00b


Joined: 13 May 2003
Posts: 68

PostPosted: Sat Jun 05, 2004 3:42 am    Post subject: Reply with quote

Edit: sorry, didn't read "upcoming" haha

whoa, wtf? The bootsplash menu came back after taking out the regparm!
and nvidia works beautifully! hell yes! so does bootsplash!
/me loves xx-sources so far, now to get swsusp2 to work =)
_________________
\\ trevorj
Back to top
View user's profile Send private message
danone
Guru
Guru


Joined: 18 Jan 2004
Posts: 398
Location: Germany

PostPosted: Sat Jun 05, 2004 7:27 am    Post subject: Reply with quote

my nvidia works perfektly with mregparm=3 you need a other ebuild ..get it @f-mt.de/linux/portage/media-video/

@xiphux
i only compile firsat with nicksched and then with staircase..after mrproper

didnt know what the mess of erros produces..yes I'm german
_________________
[:: Processor: Intel Core 2 Duo E6300 ]::[ Mainboard: ASUS P5B Deluxe ]::[ GPU: nVidia 7900GTO ::]
[:: RAM: HyperX DDR2 800 ]::[ Samsung SH-183A SATA:: CREATiVE X-Fi XtremeMusic :: ]
Back to top
View user's profile Send private message
trevorj
n00b
n00b


Joined: 13 May 2003
Posts: 68

PostPosted: Sat Jun 05, 2004 7:55 am    Post subject: Reply with quote

kick ass thanks ;)

is this a patched distfile? If it is, it should really be implemented as a patch ;)
_________________
\\ trevorj
Back to top
View user's profile Send private message
xiphux
Apprentice
Apprentice


Joined: 15 Jun 2002
Posts: 225
Location: Madison, WI

PostPosted: Sun Jun 06, 2004 9:18 am    Post subject: Reply with quote

Finally... after much work, I am proud to present xx-sources-2.6.7-rc2-xx3.

http://www.thelightofthesoul.com/linux/patches/xx-sources-2.6.7-rc2-xx3/

Now you have a total of FOUR schedulers to choose from (well, 5, if you count the default vanilla scheduler):
Nicksched v30g
Staircase 5.5
SPA - Single Priority Array scheduler
EBS - Entitlement Based Scheduler 1.1

However, there are a couple catches:
SPA does not boot on my computer, and I cannot figure out why - the code looks and compiles fine. I decided to post the merged code as-is to see if other people have the same problems. If you want, you can help find what's wrong, but I don't know how far you'll get - I inserted so many conditionals that kernel/sched.c looks like WWIII...

Something is going to break. I checked to see that all five settings compiled for my settings with SMP enabled and disabled, but there are probably other problems elsewhere. (for example, EBS removes the .static_prio element, which breaks POSIX message queues. I haven't figured out how to fix this yet) And with this many schedulers, it's quite difficult to test all configurations. I figured I would post it, and fix problems as people came across them. (Sorry guys - I'm not Linus)

That's the biggest change. Other additions include Julian Anastasov's networking addons, a VFS framework change to accomodate the Lustre filesystem (sorry, the filesystem itself isn't in yet), swsusp2 updated to the latest version, the updated version of nick's vm work, the newest reiser4 snapshot, and updates for touchpads, including tapping support in absolute mode. (So you don't need the X driver - good for xserver users like me)

Hopefully, this won't be as disasterous as it could be...

On a side note, does anyone have... uh... large amounts of webspace for hosting patches that they'd be willing to donate? With this much added code, the patch bzipped at the highest setting is still around 5 megs, and it's getting quite tight for space on my webserver...
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Sun Jun 06, 2004 9:55 am    Post subject: Reply with quote

What's with all these people applying two or three patches and calling it a patchset? What's the point?
_________________
Think about your breathing.
http://floam.sh.nu
Back to top
View user's profile Send private message
aethyr
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1085
Location: NYC

PostPosted: Sun Jun 06, 2004 10:48 am    Post subject: Reply with quote

floam wrote:
What's with all these people applying two or three patches and calling it a patchset? What's the point?


AFAIK, this one is the only one that includes selectable schedulers (during configuration), and I think that's pretty darn cool :)
Back to top
View user's profile Send private message
fallow
Bodhisattva
Bodhisattva


Joined: 08 Jan 2004
Posts: 2206
Location: Poland

PostPosted: Sun Jun 06, 2004 11:19 am    Post subject: Reply with quote

it`s good stuff for me with EBS and SPA but
Code:

make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/asm-i386/asm_offsets.h
  CHK     include/linux/compile.h
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
arch/i386/power/built-in.o(.data.nosave+0x0): multiple definition of `swsusp_pg_dir'
arch/i386/mm/built-in.o(.data.nosave+0x0): first defined here
make: *** [.tmp_vmlinux1] Error 1

_________________
"Time is a companion that goes with us on a journey. It reminds us to cherish each moment, because it will never come again. What we leave behind is not as important as how we have lived" J-L. Picard ;)
Back to top
View user's profile Send private message
trevorj
n00b
n00b


Joined: 13 May 2003
Posts: 68

PostPosted: Sun Jun 06, 2004 12:50 pm    Post subject: Reply with quote

fallow: my post has the same thing above. It only happens when users like us are retarded and enable both swsusp version one AND two =)
_________________
\\ trevorj
Back to top
View user's profile Send private message
trevorj
n00b
n00b


Joined: 13 May 2003
Posts: 68

PostPosted: Sun Jun 06, 2004 12:57 pm    Post subject: Reply with quote

floam wrote:
What's with all these people applying two or three patches and calling it a patchset? What's the point?
name one other patchset with swsusp2+reiser4+runtime sched+staircase+nicksched+bleh ;)

and xiphux, why don't you just make the patches incremental from the latest kernel ( at the time of writing, 2.6.7-rc2 ), instead of 2.6.6 ? That should slim it down a little ;)

I'll host them happily, but my server's connection isn't exactly fast ;)
_________________
\\ trevorj
Back to top
View user's profile Send private message
trevorj
n00b
n00b


Joined: 13 May 2003
Posts: 68

PostPosted: Sun Jun 06, 2004 1:13 pm    Post subject: Reply with quote

muhaha. found something that's broken.
Code:
w00t linux-2.6.7-rc2-xx3 # make && make modules_install
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
  CC      fs/cifs/dir.o
fs/cifs/dir.c: In function `cifs_create':
fs/cifs/dir.c:178: error: structure has no member named `it'
fs/cifs/dir.c:180: error: structure has no member named `it'
fs/cifs/dir.c:183: error: structure has no member named `it'
fs/cifs/dir.c:190: error: structure has no member named `it'
fs/cifs/dir.c:192: error: structure has no member named `it'
fs/cifs/dir.c:194: error: structure has no member named `it'
make[2]: *** [fs/cifs/dir.o] Error 1
make[1]: *** [fs/cifs] Error 2
make: *** [fs] Error 2


luckily, I was just testing cifs out, and smbfs works beautifully anyway.
_________________
\\ trevorj
Back to top
View user's profile Send private message
fallow
Bodhisattva
Bodhisattva


Joined: 08 Jan 2004
Posts: 2206
Location: Poland

PostPosted: Sun Jun 06, 2004 2:13 pm    Post subject: Reply with quote

trevorj wrote:
fallow: my post has the same thing above. It only happens when users like us are retarded and enable both swsusp version one AND two =)


hehe it`s a fact ;)

now compiled linked cleanly.
i`m on EBS now
i looked at sched.c also , nice work :)
_________________
"Time is a companion that goes with us on a journey. It reminds us to cherish each moment, because it will never come again. What we leave behind is not as important as how we have lived" J-L. Picard ;)


Last edited by fallow on Sun Jun 06, 2004 6:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
xiphux
Apprentice
Apprentice


Joined: 15 Jun 2002
Posts: 225
Location: Madison, WI

PostPosted: Sun Jun 06, 2004 6:20 pm    Post subject: Reply with quote

floam wrote:
What's with all these people applying two or three patches and calling it a patchset? What's the point?


Well, because it is. It's a set a patches (more than just two or three, by the way). No one said you had to use it.

trevorj:
... I can't believe I didn't think of basing it on the release candidate instead. Doh!

I suspect the cifs error is related to the Lustre VFS changes. I'm probably going to drop them, since they don't really add anything useful (yet).
Back to top
View user's profile Send private message
CaribbeanKnight
Apprentice
Apprentice


Joined: 27 Apr 2003
Posts: 240
Location: Earth -> Europe -> Belgium -> Diest

PostPosted: Sun Jun 06, 2004 9:49 pm    Post subject: Reply with quote

hmmmm, compilation always errors out on this:
Code:

.....
  CC      fs/reiser4/plugin/item/ctail.o
  CC      fs/reiser4/plugin/item/extent.o
  CC      fs/reiser4/plugin/item/extent_item_ops.o
  CC      fs/reiser4/plugin/item/extent_file_ops.o
  CC      fs/reiser4/plugin/item/extent_flush_ops.o
  CC      fs/reiser4/plugin/hash.o
  CC      fs/reiser4/plugin/fibration.o
  CC      fs/reiser4/plugin/tail_policy.o
  CC      fs/reiser4/plugin/item/item.o
  CC      fs/reiser4/plugin/dir/hashed_dir.o
  CC      fs/reiser4/plugin/dir/pseudo_dir.o
  CC      fs/reiser4/plugin/dir/dir.o
  CC      fs/reiser4/plugin/security/perm.o
  CC      fs/reiser4/plugin/pseudo/pseudo.o
  CC      fs/reiser4/plugin/space/bitmap.o
  CC      fs/reiser4/plugin/disk_format/disk_format40.o
  CC      fs/reiser4/plugin/disk_format/disk_format.o
  CC      fs/reiser4/plugin/file/pseudo.o
  CC      fs/reiser4/plugin/file/file.o
  CC      fs/reiser4/plugin/file/tail_conversion.o
  CC      fs/reiser4/sys_reiser4.o
  LD      fs/reiser4/reiser4.o
  LD      fs/reiser4/built-in.o
  CC      fs/sysfs/inode.o
  CC      fs/sysfs/file.o
  CC      fs/sysfs/dir.o
  CC      fs/sysfs/symlink.o
  CC      fs/sysfs/mount.o
  CC      fs/sysfs/bin.o
  CC      fs/sysfs/group.o
  LD      fs/sysfs/built-in.o
  CC      fs/vfat/namei.o
  LD      fs/vfat/vfat.o
  LD      fs/vfat/built-in.o
  LD      fs/built-in.o
  CC      ipc/util.o
  CC      ipc/msgutil.o
  CC      ipc/msg.o
  CC      ipc/sem.o
  CC      ipc/shm.o
  CC      ipc/mqueue.o
ipc/mqueue.c: In function `wq_add':
ipc/mqueue.c:394: error: structure has no member named `static_prio'
ipc/mqueue.c:394: error: structure has no member named `static_prio'
make[1]: *** [ipc/mqueue.o] Error 1
make: *** [ipc] Error 2
StardusT linux-2.6.7-rc2-xx3 #   

anything obvious i've missed..? :?
_________________
...we ain't shit...
Linux User #353893
Back to top
View user's profile Send private message
xiphux
Apprentice
Apprentice


Joined: 15 Jun 2002
Posts: 225
Location: Madison, WI

PostPosted: Sun Jun 06, 2004 10:34 pm    Post subject: Reply with quote

That's the POSIX message queues thing that I don't know how to fix. I need to find a way to come up with EBS's equivalent of static_prio. You'll probably have to disable POSIX message queues for now.
Back to top
View user's profile Send private message
CaribbeanKnight
Apprentice
Apprentice


Joined: 27 Apr 2003
Posts: 240
Location: Earth -> Europe -> Belgium -> Diest

PostPosted: Sun Jun 06, 2004 11:07 pm    Post subject: Reply with quote

ahh thanx :) i will disable that for now than as i'm not using that feature anyway... really want to check out the ebs sched.. :)
_________________
...we ain't shit...
Linux User #353893
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6 ... 27, 28, 29  Next
Page 5 of 29

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum