PATCH: Pcmcia/Cardbus/xircom_tulip in 2.4.0-test10.
Quoted 2 lines
Can you try the test11-pre2 patch? It includes a bugfix to
xircom_tulipfrom Andrea.
Andrea's fix doesn't actually solve the problem; it merely changes the set of working configurations to a set that includes Andrea's setup. I don't know whether the size of the working set gets larger or smaller.
There is something fundamentally broken/weird about how the receive filter works on the Xircom cards. It is at least deterministic, but different network configurations behave very differently and I haven't been able to figure out the logic. One version of the driver will work perfectly for everyone that uses DHCP... another version will work fine for people who specify a static IP address... another version will work for people who use Red Hat's network configuration script but not the default PCMCIA script. The best I've been able to figure out, is that whether a call to set_rx_mode() will work or lock up the card depends on the history of what has gone on before (whether the card has had traffic through it), where the rx filter setup frame goes in the transmit ring, the alignment of the frame, and how many times set_rx_mode() has been called. Certain combinations work, other combinations don't.
The effect of "ifconfig eth0 -multicast" (which should be a no-op) is that it calls set_rx_mode() with the same set of parameters it was called with before. Doing this one or more times may kick the card so that it starts working. The number of times is constant for a given network configuration, and varies between 0 and 3.
I wasted a lot of time trying to figure out the rules for when set_rx_mode() would work and eventually gave up; I'm waiting for Xircom to give me an explanation.
-- Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines · David Hinds
The effect of "ifconfig eth0 -multicast" (which should be a no-op) is that it calls
set_rx_mode()with the same set of parameters it was called with before. Doing this one or more times may kick the card so that it starts working. The number of times is constant for a given network configuration, and varies between 0 and 3.
If you want another datapoint, this doesn't help on my own Xircom card. The only way to make it receive packets while not in promisc mode was to add back the "+ 4" to the buffer address in the descriptor -- reverting one of the changes that went into 3.1.21.
Anything else I've tried didn't help: filling up all slots with my MAC, adding them at the end of the list, at the beginning, as little/big endian, in reverse order... you name it. The "+ 4" however made it work reliably.
The card is a Xircom RealPort CardBus Ethernet 10/100, code RBE-100. This is the lspci entry for it:
20:00.0 Class 0200: 115d:0003 (rev 03)
Subsystem: 115d:0181
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at 0200
Memory at a000d000 (32-bit, non-prefetchable)
Memory at a000c000 (32-bit, non-prefetchable)
Expansion ROM at a0008000 [disabled]
Capabilities: [dc] Power Management version 1Thanks,
Ion
Signature · 6 lines
It is better to keep your mouth shut and be thought a fool,
than to open it and remove all doubt.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/anyone compiled 2.2.17 on RH7 successfully?
has anyone running RedHat7(with kernel 2.2.16, gcc 2.96, kgcc 2.91.66) complied 2.2.17 kernel successfully?
i've downloaded the source and gunzip/untar to /root/linux-2.2.17
1. make menuconfig (ok)
2. make dep (ok)
3. make zImage
===> lots of warning message
===> error: checksum.S:231 badly punctuated parameter list in #define ===> error: checksum.S:237 badly punctuated parameter list in #define
4. make CC=kgcc zImage
===> snapshot of errors reported:
In file included from init/main.c:15:/usr/i386-glibc21-linux/include/linux/proc_fs.h:283: parse error before `mode_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:283: warning: no semicolon at end of struct or union /usr/i386-glibc21-linux/include/linux/proc_fs.h:284: warning: data definition has no type or storage class /usr/i386-glibc21-linux/include/linux/proc_fs.h:285: parse error before `uid'/usr/i386-glibc21-linux/include/linux/proc_fs.h:285: warning: data definition has no type or storage class /usr/i386-glibc21-linux/include/linux/proc_fs.h:286: parse error before `gid'/usr/i386-glibc21-linux/include/linux/proc_fs.h:286: warning: data definition has no type or storage class
....many more errors
....many more errors
....
5. changed CC= kgcc in Makefile and execute "make zImage" ===> same error as 3 (strange, seems like the the compilation is still by gcc and not kgcc despite the change)
i was able to compile 2.4.0-test10 kernel image with "make CC=kgcc bzImage"
pls kindly advise on the possible solutions.
thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Re: anyone compiled 2.2.17 on RH7 successfully?
Corisen,
RedHat 7.0's version of gcc, known as gcc 2.96, is incompatible with the kernel's code. Preprocessor changes cause the problem you encountered. It also has some defects in how it optimizes code that would cause the kernel to run incorrectly.
The 7.0 distribution includes an older version of gcc, known as kgcc (for kernel gcc), that compiles code correctly and can be used for kernel compilation. Install the rpm and go for it!
David
Quoted 47 lines · Corisen
has anyone running
RedHat7(with kernel 2.2.16, gcc 2.96, kgcc 2.91.66)complied 2.2.17 kernel successfully?i've downloaded the source and gunzip/untar to
/root/linux-2.2.171. make menuconfig (ok)
2. make dep (ok)
3. make zImage
===> lots of warning message
===> error: checksum.S:231 badly punctuated parameter list in #define ===> error: checksum.S:237 badly punctuated parameter list in #define4. make CC=kgcc zImage
===> snapshot of errors reported:
In file included frominit/main.c:15:/usr/i386-glibc21-linux/include/linux/proc_fs.h:283: parse error before `mode_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:283: warning: no semicolon at end of struct or union/usr/i386-glibc21-linux/include/linux/proc_fs.h:284: warning: data definition has no type or storage class/usr/i386-glibc21-linux/include/linux/proc_fs.h:285: parse error before `uid'/usr/i386-glibc21-linux/include/linux/proc_fs.h:285: warning: data definition has no type or storage class/usr/i386-glibc21-linux/include/linux/proc_fs.h:286: parse error before `gid'/usr/i386-glibc21-linux/include/linux/proc_fs.h:286: warning: data definition has no type or storage class
....many more errors
....many more errors
....5. changed CC= kgcc in
Makefileand execute "make zImage" ===> same error as 3 (strange, seems like the the compilation is still by gcc and not kgcc despite the change)i was able to compile 2.4.0-test10 kernel image with "make CC=kgcc bzImage"
pls kindly advise on the possible solutions.
thanks.
Quoted 4 lines
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
--------------------------------------------------------
David Relson Osage Software Systems, Inc. [email protected] 514 W. Keech Ave. www.osagesoftware.com Ann Arbor, MI 48103 voice: 734.821.8800 fax: 734.821.8800
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Re: anyone compiled 2.2.17 on RH7 successfully?
In reply to Ion Badulescuthanks for the info. i've kgcc installed during RH7 installation. i've checked the version to be 2.91.66. i've used the following 2 methods with kgcc but it won't even allow me to compile:
1. make CC=kgcc zImage
2. change the CC=gcc to CC=kgcc in Makefile
the "make CC=kgcc zImage" process reports the following error messages:
In file included from init/main.c:15:/usr/i386-glibc21-linux/include/linux/proc_fs.h:283: parse error before `mode_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:283: warning: no semicolon at end of struct or union /usr/i386-glibc21-linux/include/linux/proc_fs.h:284: warning: data definition has no type or storage class /usr/i386-glibc21-linux/include/linux/proc_fs.h:285: parse error before `uid'/usr/i386-glibc21-linux/include/linux/proc_fs.h:285: warning: data definition has no type or storage class /usr/i386-glibc21-linux/include/linux/proc_fs.h:286: parse error before `gid'/usr/i386-glibc21-linux/include/linux/proc_fs.h:286: warning: data definition has no type or storage class /usr/i386-glibc21-linux/include/linux/proc_fs.h:289: parse error before `off_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:290: warning: `struct inode' declared inside parameter list /usr/i386-glibc21-linux/include/linux/proc_fs.h:290: warning: its scope is only this definition or declaration, /usr/i386-glibc21-linux/include/linux/proc_fs.h:290: warning: which is probably not what you want. /usr/i386-glibc21-linux/include/linux/proc_fs.h:293: parse error before `off_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:296: warning: struct file' declared inside parameter list /usr/i386-glibc21-linux/include/linux/proc_fs.h:300: parse error before }' /usr/i386-glibc21-linux/include/linux/proc_fs.h:302: parse error before `off_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:305: warning: struct file' declared inside parameter list /usr/i386-glibc21-linux/include/linux/proc_fs.h:308: parse error before off_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h: In function `proc_scsi_register':/usr/i386-glibc21-linux/include/linux/proc_fs.h:344: dereferencing pointer to incomplete type /usr/i386-glibc21-linux/include/linux/proc_fs.h:345: dereferencing pointer to incomplete type /usr/i386-glibc21-linux/include/linux/proc_fs.h: In function `proc_scsi_unregister':/usr/i386-glibc21-linux/include/linux/proc_fs.h:359: dereferencing pointer to incomplete type /usr/i386-glibc21-linux/include/linux/proc_fs.h:362: `NULL' undeclared (first use in this function) /usr/i386-glibc21-linux/include/linux/proc_fs.h:362: (Each undeclared identifier is reported only once /usr/i386-glibc21-linux/include/linux/proc_fs.h:362: for each function it appears in.) /usr/i386-glibc21-linux/include/linux/proc_fs.h:363: dereferencing pointer to incomplete type /usr/i386-glibc21-linux/include/linux/proc_fs.h:365: dereferencing pointer to incomplete type /usr/i386-glibc21-linux/include/linux/proc_fs.h:368: sizeof applied to an incomplete type
.....many more lines
.....many more lines
----- Original Message -----
From: David Relson <[email protected]>
To: Corisen <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, November 14, 2000 9:58 AM
Subject: Re: anyone compiled 2.2.17 on RH7 successfully?
Quoted 4 lines
Corisen,
RedHat 7.0's version of gcc, known as gcc 2.96, is incompatible with the kernel's code. Preprocessor changes cause the problem you encountered.
It
Quoted 28 lines
also has some defects in how it optimizes code that would cause the kernel to run incorrectly.
The 7.0 distribution includes an older version of gcc, known as kgcc (for kernel gcc), that compiles code correctly and can be used for kernel compilation. Install the rpm and go for it!
David
Quoted 18 lines · Corisen
has anyone running
RedHat7(with kernel 2.2.16, gcc 2.96, kgcc 2.91.66)complied 2.2.17 kernel successfully?i've downloaded the source and gunzip/untar to
/root/linux-2.2.171. make menuconfig (ok)
2. make dep (ok)
3. make zImage
===> lots of warning message
===> error: checksum.S:231 badly punctuated parameter list in #define ===> error: checksum.S:237 badly punctuated parameter list in #define4. make CC=kgcc zImage
===> snapshot of errors reported:
In file included frominit/main.c:15:/usr/i386-glibc21-linux/include/linux/proc_fs.h:283: parse error before `mode_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:283: warning: no
semicolon
Quoted 15 lines
Quoted 15 lines
at end of struct or union
/usr/i386-glibc21-linux/include/linux/proc_fs.h:284: warning: data definition has no type or storage class/usr/i386-glibc21-linux/include/linux/proc_fs.h:285: parse error before `uid'/usr/i386-glibc21-linux/include/linux/proc_fs.h:285: warning: data definition has no type or storage class/usr/i386-glibc21-linux/include/linux/proc_fs.h:286: parse error before `gid'/usr/i386-glibc21-linux/include/linux/proc_fs.h:286: warning: data definition has no type or storage class
....many more errors
....many more errors
....
Quoted 5 lines
Quoted 5 lines
5. changed CC= kgcc in
Makefileand execute "make zImage" ===> same error as 3 (strange, seems like the the compilation is still by gcc and not kgcc despite the change)i was able to compile 2.4.0-test10 kernel image with "make CC=kgcc
bzImage"
Quoted 11 lines
Quoted 11 lines
pls kindly advise on the possible solutions.
thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel"
in
Quoted 9 lines
Quoted 2 lines
the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
--------------------------------------------------------
David Relson Osage Software Systems, Inc. [email protected] 514 W. Keech Ave. www.osagesoftware.com Ann Arbor, MI 48103 voice: 734.821.8800 fax: 734.821.8800
Quoted 4 lines
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Re: anyone compiled 2.2.17 on RH7 successfully?
In reply to Ion BadulescuGCCLOC=which gcc
rm echo $GCCLOC
ln -s which kgcc echo $GCCLOC
... repeat for g++
-M
Quoted 156 lines · Corisen
thanks for the info. i've kgcc installed during RH7 installation. i've checked the version to be 2.91.66. i've used the following 2 methods with kgcc but it won't even allow me to compile:
1. make CC=kgcc zImage
2. change the CC=gcc to CC=kgcc inMakefilethe "make CC=kgcc zImage" process reports the following error messages:
In file included from
init/main.c:15:/usr/i386-glibc21-linux/include/linux/proc_fs.h:283: parse error before `mode_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:283: warning: no semicolon at end of struct or union/usr/i386-glibc21-linux/include/linux/proc_fs.h:284: warning: data definition has no type or storage class/usr/i386-glibc21-linux/include/linux/proc_fs.h:285: parse error before `uid'/usr/i386-glibc21-linux/include/linux/proc_fs.h:285: warning: data definition has no type or storage class/usr/i386-glibc21-linux/include/linux/proc_fs.h:286: parse error before `gid'/usr/i386-glibc21-linux/include/linux/proc_fs.h:286: warning: data definition has no type or storage class/usr/i386-glibc21-linux/include/linux/proc_fs.h:289: parse error before `off_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:290: warning: `struct inode' declared inside parameter list/usr/i386-glibc21-linux/include/linux/proc_fs.h:290: warning: its scope is only this definition or declaration,/usr/i386-glibc21-linux/include/linux/proc_fs.h:290: warning: which is probably not what you want./usr/i386-glibc21-linux/include/linux/proc_fs.h:293: parse error before `off_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:296: warning:struct file' declared inside parameter list /usr/i386-glibc21-linux/include/linux/proc_fs.h:300: parse error before}'/usr/i386-glibc21-linux/include/linux/proc_fs.h:302: parse error before `off_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:305: warning:struct file' declared inside parameter list /usr/i386-glibc21-linux/include/linux/proc_fs.h:308: parse error beforeoff_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h: In function `proc_scsi_register':/usr/i386-glibc21-linux/include/linux/proc_fs.h:344: dereferencing pointer to incomplete type/usr/i386-glibc21-linux/include/linux/proc_fs.h:345: dereferencing pointer to incomplete type/usr/i386-glibc21-linux/include/linux/proc_fs.h: In function `proc_scsi_unregister':/usr/i386-glibc21-linux/include/linux/proc_fs.h:359: dereferencing pointer to incomplete type/usr/i386-glibc21-linux/include/linux/proc_fs.h:362: `NULL' undeclared (first use in this function)/usr/i386-glibc21-linux/include/linux/proc_fs.h:362: (Each undeclared identifier is reported only once/usr/i386-glibc21-linux/include/linux/proc_fs.h:362: for each function it appears in.)/usr/i386-glibc21-linux/include/linux/proc_fs.h:363: dereferencing pointer to incomplete type/usr/i386-glibc21-linux/include/linux/proc_fs.h:365: dereferencing pointer to incomplete type/usr/i386-glibc21-linux/include/linux/proc_fs.h:368: sizeof applied to an incomplete type
.....many more lines
.....many more lines----- Original Message -----
From: David Relson <[email protected]>
To: Corisen <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, November 14, 2000 9:58 AM
Subject: Re: anyone compiled 2.2.17 on RH7 successfully?Quoted 4 lines
Corisen,
RedHat 7.0's version of gcc, known as gcc 2.96, is incompatible with the kernel's code. Preprocessor changes cause the problem you encountered.
It
Quoted 28 lines
also has some defects in how it optimizes code that would cause the kernel to run incorrectly.
The 7.0 distribution includes an older version of gcc, known as kgcc (for kernel gcc), that compiles code correctly and can be used for kernel compilation. Install the rpm and go for it!
David
Quoted 18 lines · Corisen
has anyone running
RedHat7(with kernel 2.2.16, gcc 2.96, kgcc 2.91.66)complied 2.2.17 kernel successfully?i've downloaded the source and gunzip/untar to
/root/linux-2.2.171. make menuconfig (ok)
2. make dep (ok)
3. make zImage
===> lots of warning message
===> error: checksum.S:231 badly punctuated parameter list in #define ===> error: checksum.S:237 badly punctuated parameter list in #define4. make CC=kgcc zImage
===> snapshot of errors reported:
In file included frominit/main.c:15:/usr/i386-glibc21-linux/include/linux/proc_fs.h:283: parse error before `mode_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:283: warning: nosemicolon
Quoted 15 lines
Quoted 15 lines
at end of struct or union
/usr/i386-glibc21-linux/include/linux/proc_fs.h:284: warning: data definition has no type or storage class/usr/i386-glibc21-linux/include/linux/proc_fs.h:285: parse error before `uid'/usr/i386-glibc21-linux/include/linux/proc_fs.h:285: warning: data definition has no type or storage class/usr/i386-glibc21-linux/include/linux/proc_fs.h:286: parse error before `gid'/usr/i386-glibc21-linux/include/linux/proc_fs.h:286: warning: data definition has no type or storage class
....many more errors
....many more errors
....Quoted 5 lines
Quoted 5 lines
5. changed CC= kgcc in
Makefileand execute "make zImage" ===> same error as 3 (strange, seems like the the compilation is still by gcc and not kgcc despite the change)i was able to compile 2.4.0-test10 kernel image with "make CC=kgcc
bzImage"
Quoted 11 lines
Quoted 11 lines
pls kindly advise on the possible solutions.
thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel"in
Quoted 9 lines
Quoted 2 lines
the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
--------------------------------------------------------
David Relson Osage Software Systems, Inc. [email protected] 514 W. Keech Ave. www.osagesoftware.com Ann Arbor, MI 48103 voice: 734.821.8800 fax: 734.821.8800Quoted 4 lines
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 4 lines
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Re: anyone compiled 2.2.17 on RH7 successfully?
Did you make clean; make mrproper?
Quoted 167 lines · Michael Rothwell
GCCLOC=
which gcc
rmecho $GCCLOC
ln -swhich kgccecho $GCCLOC... repeat for g++
-M
Quoted 156 lines · Corisen
thanks for the info. i've kgcc installed during RH7 installation. i've checked the version to be 2.91.66. i've used the following 2 methods with kgcc but it won't even allow me to compile:
1. make CC=kgcc zImage
2. change the CC=gcc to CC=kgcc inMakefilethe "make CC=kgcc zImage" process reports the following error messages:
In file included from
init/main.c:15:/usr/i386-glibc21-linux/include/linux/proc_fs.h:283: parse error before `mode_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:283: warning: no semicolon at end of struct or union/usr/i386-glibc21-linux/include/linux/proc_fs.h:284: warning: data definition has no type or storage class/usr/i386-glibc21-linux/include/linux/proc_fs.h:285: parse error before `uid'/usr/i386-glibc21-linux/include/linux/proc_fs.h:285: warning: data definition has no type or storage class/usr/i386-glibc21-linux/include/linux/proc_fs.h:286: parse error before `gid'/usr/i386-glibc21-linux/include/linux/proc_fs.h:286: warning: data definition has no type or storage class/usr/i386-glibc21-linux/include/linux/proc_fs.h:289: parse error before `off_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:290: warning: `struct inode' declared inside parameter list/usr/i386-glibc21-linux/include/linux/proc_fs.h:290: warning: its scope is only this definition or declaration,/usr/i386-glibc21-linux/include/linux/proc_fs.h:290: warning: which is probably not what you want./usr/i386-glibc21-linux/include/linux/proc_fs.h:293: parse error before `off_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:296: warning:struct file' declared inside parameter list /usr/i386-glibc21-linux/include/linux/proc_fs.h:300: parse error before}'/usr/i386-glibc21-linux/include/linux/proc_fs.h:302: parse error before `off_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:305: warning:struct file' declared inside parameter list /usr/i386-glibc21-linux/include/linux/proc_fs.h:308: parse error beforeoff_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h: In function `proc_scsi_register':/usr/i386-glibc21-linux/include/linux/proc_fs.h:344: dereferencing pointer to incomplete type/usr/i386-glibc21-linux/include/linux/proc_fs.h:345: dereferencing pointer to incomplete type/usr/i386-glibc21-linux/include/linux/proc_fs.h: In function `proc_scsi_unregister':/usr/i386-glibc21-linux/include/linux/proc_fs.h:359: dereferencing pointer to incomplete type/usr/i386-glibc21-linux/include/linux/proc_fs.h:362: `NULL' undeclared (first use in this function)/usr/i386-glibc21-linux/include/linux/proc_fs.h:362: (Each undeclared identifier is reported only once/usr/i386-glibc21-linux/include/linux/proc_fs.h:362: for each function it appears in.)/usr/i386-glibc21-linux/include/linux/proc_fs.h:363: dereferencing pointer to incomplete type/usr/i386-glibc21-linux/include/linux/proc_fs.h:365: dereferencing pointer to incomplete type/usr/i386-glibc21-linux/include/linux/proc_fs.h:368: sizeof applied to an incomplete type
.....many more lines
.....many more lines----- Original Message -----
From: David Relson <[email protected]>
To: Corisen <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, November 14, 2000 9:58 AM
Subject: Re: anyone compiled 2.2.17 on RH7 successfully?Quoted 4 lines
Corisen,
RedHat 7.0's version of gcc, known as gcc 2.96, is incompatible with the kernel's code. Preprocessor changes cause the problem you encountered.
It
Quoted 28 lines
also has some defects in how it optimizes code that would cause the kernel to run incorrectly.
The 7.0 distribution includes an older version of gcc, known as kgcc (for kernel gcc), that compiles code correctly and can be used for kernel compilation. Install the rpm and go for it!
David
Quoted 18 lines · Corisen
has anyone running
RedHat7(with kernel 2.2.16, gcc 2.96, kgcc 2.91.66)complied 2.2.17 kernel successfully?i've downloaded the source and gunzip/untar to
/root/linux-2.2.171. make menuconfig (ok)
2. make dep (ok)
3. make zImage
===> lots of warning message
===> error: checksum.S:231 badly punctuated parameter list in #define ===> error: checksum.S:237 badly punctuated parameter list in #define4. make CC=kgcc zImage
===> snapshot of errors reported:
In file included frominit/main.c:15:/usr/i386-glibc21-linux/include/linux/proc_fs.h:283: parse error before `mode_t'/usr/i386-glibc21-linux/include/linux/proc_fs.h:283: warning: nosemicolon
Quoted 15 lines
Quoted 15 lines
at end of struct or union
/usr/i386-glibc21-linux/include/linux/proc_fs.h:284: warning: data definition has no type or storage class/usr/i386-glibc21-linux/include/linux/proc_fs.h:285: parse error before `uid'/usr/i386-glibc21-linux/include/linux/proc_fs.h:285: warning: data definition has no type or storage class/usr/i386-glibc21-linux/include/linux/proc_fs.h:286: parse error before `gid'/usr/i386-glibc21-linux/include/linux/proc_fs.h:286: warning: data definition has no type or storage class
....many more errors
....many more errors
....Quoted 5 lines
Quoted 5 lines
5. changed CC= kgcc in
Makefileand execute "make zImage" ===> same error as 3 (strange, seems like the the compilation is still by gcc and not kgcc despite the change)i was able to compile 2.4.0-test10 kernel image with "make CC=kgcc
bzImage"
Quoted 11 lines
Quoted 11 lines
pls kindly advise on the possible solutions.
thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel"in
Quoted 13 lines
Quoted 2 lines
the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
--------------------------------------------------------
David Relson Osage Software Systems, Inc. [email protected] 514 W. Keech Ave. www.osagesoftware.com Ann Arbor, MI 48103 voice: 734.821.8800 fax: 734.821.8800-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 9 lines
Quoted 4 lines
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Re: anyone compiled 2.2.17 on RH7 successfully? [SOLVED]
In reply to Ion Badulescuthanks for all those who replied. your help is really appreciated.
basically, in order to compile kernel in RH7, kgcc *MUST* be used instead of gcc.
to use kgcc edit the Makefile. find the line below and change to:
CC =$(CROSS_COMPILE)kgcc <----(changed to kgcc instead of gcc/cc)
once again. thank you for those who helped :)
cheers!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/