Re: make modules Segfault

2005-08-05 Thread Adrian Bunk
On Fri, Aug 05, 2005 at 08:23:18AM +0200, Jan Engelhardt wrote:
> 
> >> Gnu C  2.96
> >
> > Seriously, it seems like your machine is flaky.
> > And even if it were a kernel source problem,
> > gcc should never have an internal error.
> > But gcc-2.96 is so old that it's not supported anymore.
> 
> Wasnot 2.96 the bugged one?

It was never an official gcc release, but it's an officially supported 
compiler for the kernel (see Documentation/Changes for details).

> Jan Engelhardt

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: make modules Segfault

2005-08-05 Thread Adrian Bunk
On Thu, Aug 04, 2005 at 09:20:22PM -0600, George Van Tuyl wrote:
> 
> To:  linux-kernel@vger.kernel.org
> 
> 
> 
> [1.] One line summary of the problem:
> 
>   make modules failed Segfault (program cpp0)
> 
> [2.] Full description of the problem/report:
> 
> gcc: Internal error: Segmentation fault (program cpp0)
> Please submit a full bug report.
> See http://bugzilla.redhat.com/bugzilla/> for instructions.
> make[3]: *** [cycx_drv.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.4.31/drivers/net/wan'
> make[2]: *** [_modsubdir_wan] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.4.31/drivers/net'
> make[1]: *** [_modsubdir_net] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.31/drivers'
> make: *** [_mod_drivers] Error 2
> [EMAIL PROTECTED] linux-2.4.31]# In file included from 
> /usr/src/linux-2.4.31/include/linux/vmalloc.h:5,
> from /usr/src/linux-2.4.31/include/asm/io.h:47,
> from cycx_drv.c:60:
> /usr/src/linux-2.4.31/include/linux/mm.h:155: parse error at end of input
> /usr/src/linux-2.4.31/include/linux/mm.h:155: warning: no semicolon at 
> end of struct or union
>...
> [4.] Kernel version (from /proc/version):
> 
> [EMAIL PROTECTED] linux-2.4.31]$ cat /proc/version
> Linux version 2.4.20-28.7 ([EMAIL PROTECTED]) (gcc 
> version 2.96 2731 (Red Hat Linux 7.3 2.96-126)) #1 Thu Dec 18 
> 11:18:28 EST 2003
>...
> I  expect you to tell me to upgrade everything.  Thanks for taking this 
> bug report.


No, there are usually two possible causes of this problem, both of them 
are not in the kernel:

If you try building the module again and the error does _not_ show up 
at _exactly_ the same place you have a hardware problem (e.g. bad RAM).

If the problem does reproducible show up at the same place, it's a bug 
in gcc. In this case, gcc has already told you where to report it (but I 
don't know whether RedHat 7.3 is still supported by RedHat).


> Thanks
> 
> George Van Tuyl

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


re: make modules Segfault

2005-08-05 Thread Jan Engelhardt

>> Gnu C  2.96
>
> Seriously, it seems like your machine is flaky.
> And even if it were a kernel source problem,
> gcc should never have an internal error.
> But gcc-2.96 is so old that it's not supported anymore.

Wasnot 2.96 the bugged one?


Jan Engelhardt
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


re: make modules Segfault

2005-08-05 Thread Jan Engelhardt

 Gnu C  2.96

 Seriously, it seems like your machine is flaky.
 And even if it were a kernel source problem,
 gcc should never have an internal error.
 But gcc-2.96 is so old that it's not supported anymore.

Wasnot 2.96 the bugged one?


Jan Engelhardt
-- 
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: make modules Segfault

2005-08-05 Thread Adrian Bunk
On Thu, Aug 04, 2005 at 09:20:22PM -0600, George Van Tuyl wrote:
 
 To:  linux-kernel@vger.kernel.org
 
 
 
 [1.] One line summary of the problem:
 
   make modules failed Segfault (program cpp0)
 
 [2.] Full description of the problem/report:
 
 gcc: Internal error: Segmentation fault (program cpp0)
 Please submit a full bug report.
 See URL:http://bugzilla.redhat.com/bugzilla/ for instructions.
 make[3]: *** [cycx_drv.o] Error 1
 make[3]: Leaving directory `/usr/src/linux-2.4.31/drivers/net/wan'
 make[2]: *** [_modsubdir_wan] Error 2
 make[2]: Leaving directory `/usr/src/linux-2.4.31/drivers/net'
 make[1]: *** [_modsubdir_net] Error 2
 make[1]: Leaving directory `/usr/src/linux-2.4.31/drivers'
 make: *** [_mod_drivers] Error 2
 [EMAIL PROTECTED] linux-2.4.31]# In file included from 
 /usr/src/linux-2.4.31/include/linux/vmalloc.h:5,
 from /usr/src/linux-2.4.31/include/asm/io.h:47,
 from cycx_drv.c:60:
 /usr/src/linux-2.4.31/include/linux/mm.h:155: parse error at end of input
 /usr/src/linux-2.4.31/include/linux/mm.h:155: warning: no semicolon at 
 end of struct or union
...
 [4.] Kernel version (from /proc/version):
 
 [EMAIL PROTECTED] linux-2.4.31]$ cat /proc/version
 Linux version 2.4.20-28.7 ([EMAIL PROTECTED]) (gcc 
 version 2.96 2731 (Red Hat Linux 7.3 2.96-126)) #1 Thu Dec 18 
 11:18:28 EST 2003
...
 I  expect you to tell me to upgrade everything.  Thanks for taking this 
 bug report.


No, there are usually two possible causes of this problem, both of them 
are not in the kernel:

If you try building the module again and the error does _not_ show up 
at _exactly_ the same place you have a hardware problem (e.g. bad RAM).

If the problem does reproducible show up at the same place, it's a bug 
in gcc. In this case, gcc has already told you where to report it (but I 
don't know whether RedHat 7.3 is still supported by RedHat).


 Thanks
 
 George Van Tuyl

cu
Adrian

-- 

   Is there not promise of rain? Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   Only a promise, Lao Er said.
   Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: make modules Segfault

2005-08-05 Thread Adrian Bunk
On Fri, Aug 05, 2005 at 08:23:18AM +0200, Jan Engelhardt wrote:
 
  Gnu C  2.96
 
  Seriously, it seems like your machine is flaky.
  And even if it were a kernel source problem,
  gcc should never have an internal error.
  But gcc-2.96 is so old that it's not supported anymore.
 
 Wasnot 2.96 the bugged one?

It was never an official gcc release, but it's an officially supported 
compiler for the kernel (see Documentation/Changes for details).

 Jan Engelhardt

cu
Adrian

-- 

   Is there not promise of rain? Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   Only a promise, Lao Er said.
   Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


re: make modules Segfault

2005-08-04 Thread Dan Kegel

George Van Tuyl <[EMAIL PROTECTED]> wrote:
> gcc: Internal error: Segmentation fault (program cpp0)
> ...
> make[3]: Leaving directory `/usr/src/linux-2.4.31/drivers/net/wan'
> ...
> Gnu C  2.96
> ...

cpu family: 6
model : 4
model name: AMD Athlon(tm) Processor
stepping  : 4
cpu MHz   : 1400.110
...

> I  expect you to tell me to upgrade everything.

Nah.  Stop overclocking, and *then* upgrade everything :-)

Seriously, it seems like your machine is flaky.
And even if it were a kernel source problem,
gcc should never have an internal error.
But gcc-2.96 is so old that it's not supported anymore.
- Dan

--
Trying to get a job as a c++ developer?  See 
http://kegel.com/academy/getting-hired.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: make modules Segfault

2005-08-04 Thread Randy.Dunlap
On Thu, 04 Aug 2005 21:20:22 -0600 George Van Tuyl wrote:

> 
> To:  linux-kernel@vger.kernel.org
> 
> 
> 
> [1.] One line summary of the problem:
> 
>make modules failed Segfault (program cpp0)
> 
> [2.] Full description of the problem/report:
> 
> gcc: Internal error: Segmentation fault (program cpp0)
> Please submit a full bug report.

That (above) is requesting a full bug report on gcc, not Linux kernel.

See URL below:

> See http://bugzilla.redhat.com/bugzilla/> for instructions.
> make[3]: *** [cycx_drv.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.4.31/drivers/net/wan'
> make[2]: *** [_modsubdir_wan] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.4.31/drivers/net'
> make[1]: *** [_modsubdir_net] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.31/drivers'
> make: *** [_mod_drivers] Error 2
> [EMAIL PROTECTED] linux-2.4.31]# In file included from 
> /usr/src/linux-2.4.31/include/linux/vmalloc.h:5,
>  from /usr/src/linux-2.4.31/include/asm/io.h:47,
>  from cycx_drv.c:60:
> /usr/src/linux-2.4.31/include/linux/mm.h:155: parse error at end of input
> /usr/src/linux-2.4.31/include/linux/mm.h:155: warning: no semicolon at 
> end of struct or union
> 
> 
> [3.] Keywords (i.e., modules, networking, kernel):
> Modules
> 
> [4.] Kernel version (from /proc/version):
> 
> [EMAIL PROTECTED] linux-2.4.31]$ cat /proc/version
> Linux version 2.4.20-28.7 ([EMAIL PROTECTED]) (gcc 
> version 2.96 2731 (Red Hat Linux 7.3 2.96-126)) #1 Thu Dec 18 
> 11:18:28 EST 2003
> 
> [5.] Output of Oops.. message (if applicable) with symbolic information
>  resolved (see Documentation/oops-tracing.txt)
> 
> [6.] A small shell script or example program which triggers the
>  problem (if possible)
> Presently running RedHat 7.3 with kernel-athlon-2.4.20-28.7 from rpm
> 
> cd /usr/src/linux-2.4.31 downloaded today at 6:45 PM MST 8/4/05
> make mrproper
> cp /boot/config-2.4.20-28.7 /usr/src/linux-2.4.31/.config
> make oldconfig  (Took all of the defaults no changes)
> make xconfig
> make dep
> make bzImage
> make modules
> 
> 
> [7.] Environment
> ASUS A7M-266, Athlon 1.4GHz, 512M, Nvidia Riva TNT/2, Link-Sys 10/100, 
> D-Link 1000 Marvell, Promise tx/100 IDE controller. RedHat 7.3 with as 
> updates as currently available from RedHat, Grrr!
> 
> [7.1.] Software (add the output of the ver_linux script here)
> 
> [EMAIL PROTECTED] linux-2.4.31]$ sh scripts/ver_linux
> If some fields are empty or look unusual you may have an old version.
> Compare to the current minimal requirements in Documentation/Changes.
>  
> Linux wulff 2.4.20-28.7 #1 Thu Dec 18 11:18:28 EST 2003 i686 unknown
>  
> Gnu C  2.96
> Gnu make   3.79.1
> util-linux 2.11n
> mount  2.11n
> modutils   2.4.18
> e2fsprogs  1.27
> reiserfsprogs  3.x.0j
> quota-tools3.06.
> PPP2.4.1
> isdn4k-utils   3.1pre1
> Linux C Library2.2.5
> Dynamic linker (ldd)   2.2.5
> Procps 2.0.7
> Net-tools  1.60
> Console-tools  0.3.3
> Sh-utils   2.0.11
> Modules Loaded sr_mod cmpci soundcore binfmt_misc autofs tulip 
> ipchains ide-scsi scsi_mod ide-cd cdrom usb-uhci usbcore ext3 jbd
> 
> 
> [7.2.] Processor information (from /proc/cpuinfo):
> 
> [EMAIL PROTECTED] linux-2.4.31]$ cat /proc/cpuinfo
> processor: 0
> vendor_id: AuthenticAMD
> cpu family: 6
> model: 4
> model name: AMD Athlon(tm) Processor
> stepping: 4
> cpu MHz: 1400.110
> cache size: 256 KB
> fdiv_bug: no
> hlt_bug: no
> f00f_bug: no
> coma_bug: no
> fpu: yes
> fpu_exception: yes
> cpuid level: 1
> wp: yes
> flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov 
> pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
> bogomips: 2791.83
> 
> [7.3.] Module information (from /proc/modules):
> 
> [EMAIL PROTECTED] linux-2.4.31]$ cat /proc/modules
> sr_mod 16216   2 (autoclean)
> cmpci  32468   0 (autoclean)
> soundcore   6436   4 (autoclean) [cmpci]
> binfmt_misc 7204   1
> autofs 11780   0 (autoclean) (unused)
> tulip  42272   1
> ipchains   49484  10
> ide-scsi   10816   1
> scsi_mod  107212   2 [sr_mod ide-scsi]
> ide-cd 32064   0
> cdrom  31936   0 [sr_mod ide-cd]
> usb-uhci   24356   0 (unused)
> usbcore73504   1 [usb-uhci]
> ext3   65280   2
> jbd47468   2 [ext3]
> 
> [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)
> 
> [EMAIL PROTECTED] linux-2.4.31]$ cat /proc/ioports
> -001f : dma1
> 0020-003f : pic1
> 0040-005f : timer
> 0060-006f : keyboard
> 0070-007f : rtc
> 0080-008f : dma page reg
> 00a0-00bf : pic2
> 

make modules Segfault

2005-08-04 Thread George Van Tuyl


To:  linux-kernel@vger.kernel.org



[1.] One line summary of the problem:

  make modules failed Segfault (program cpp0)

[2.] Full description of the problem/report:

gcc: Internal error: Segmentation fault (program cpp0)
Please submit a full bug report.
See http://bugzilla.redhat.com/bugzilla/> for instructions.
make[3]: *** [cycx_drv.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.31/drivers/net/wan'
make[2]: *** [_modsubdir_wan] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.31/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.31/drivers'
make: *** [_mod_drivers] Error 2
[EMAIL PROTECTED] linux-2.4.31]# In file included from 
/usr/src/linux-2.4.31/include/linux/vmalloc.h:5,

from /usr/src/linux-2.4.31/include/asm/io.h:47,
from cycx_drv.c:60:
/usr/src/linux-2.4.31/include/linux/mm.h:155: parse error at end of input
/usr/src/linux-2.4.31/include/linux/mm.h:155: warning: no semicolon at 
end of struct or union



[3.] Keywords (i.e., modules, networking, kernel):
   Modules

[4.] Kernel version (from /proc/version):

[EMAIL PROTECTED] linux-2.4.31]$ cat /proc/version
Linux version 2.4.20-28.7 ([EMAIL PROTECTED]) (gcc 
version 2.96 2731 (Red Hat Linux 7.3 2.96-126)) #1 Thu Dec 18 
11:18:28 EST 2003


[5.] Output of Oops.. message (if applicable) with symbolic information
resolved (see Documentation/oops-tracing.txt)

[6.] A small shell script or example program which triggers the
problem (if possible)
Presently running RedHat 7.3 with kernel-athlon-2.4.20-28.7 from rpm

cd /usr/src/linux-2.4.31 downloaded today at 6:45 PM MST 8/4/05
make mrproper
cp /boot/config-2.4.20-28.7 /usr/src/linux-2.4.31/.config
make oldconfig  (Took all of the defaults no changes)
make xconfig
make dep
make bzImage
make modules


[7.] Environment
ASUS A7M-266, Athlon 1.4GHz, 512M, Nvidia Riva TNT/2, Link-Sys 10/100, 
D-Link 1000 Marvell, Promise tx/100 IDE controller. RedHat 7.3 with as 
updates as currently available from RedHat, Grrr!


[7.1.] Software (add the output of the ver_linux script here)

[EMAIL PROTECTED] linux-2.4.31]$ sh scripts/ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux wulff 2.4.20-28.7 #1 Thu Dec 18 11:18:28 EST 2003 i686 unknown

Gnu C  2.96
Gnu make   3.79.1
util-linux 2.11n
mount  2.11n
modutils   2.4.18
e2fsprogs  1.27
reiserfsprogs  3.x.0j
quota-tools3.06.
PPP2.4.1
isdn4k-utils   3.1pre1
Linux C Library2.2.5
Dynamic linker (ldd)   2.2.5
Procps 2.0.7
Net-tools  1.60
Console-tools  0.3.3
Sh-utils   2.0.11
Modules Loaded sr_mod cmpci soundcore binfmt_misc autofs tulip 
ipchains ide-scsi scsi_mod ide-cd cdrom usb-uhci usbcore ext3 jbd



[7.2.] Processor information (from /proc/cpuinfo):

[EMAIL PROTECTED] linux-2.4.31]$ cat /proc/cpuinfo
processor: 0
vendor_id: AuthenticAMD
cpu family: 6
model: 4
model name: AMD Athlon(tm) Processor
stepping: 4
cpu MHz: 1400.110
cache size: 256 KB
fdiv_bug: no
hlt_bug: no
f00f_bug: no
coma_bug: no
fpu: yes
fpu_exception: yes
cpuid level: 1
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov 
pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow

bogomips: 2791.83

[7.3.] Module information (from /proc/modules):

[EMAIL PROTECTED] linux-2.4.31]$ cat /proc/modules
sr_mod 16216   2 (autoclean)
cmpci  32468   0 (autoclean)
soundcore   6436   4 (autoclean) [cmpci]
binfmt_misc 7204   1
autofs 11780   0 (autoclean) (unused)
tulip  42272   1
ipchains   49484  10
ide-scsi   10816   1
scsi_mod  107212   2 [sr_mod ide-scsi]
ide-cd 32064   0
cdrom  31936   0 [sr_mod ide-cd]
usb-uhci   24356   0 (unused)
usbcore73504   1 [usb-uhci]
ext3   65280   2
jbd47468   2 [ext3]

[7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)

[EMAIL PROTECTED] linux-2.4.31]$ cat /proc/ioports
-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0330-0331 : cmpci Midi
0376-0376 : ide1
0388-038b : cmpci FM
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0cf8-0cff : PCI conf1
8000-80ff : Linksys Network Everywhere Fast Ethernet 10/100 model NC100
 8000-80ff : tulip
8400-84ff : PCI device 1186:4c00 (D-Link System Inc)
8800-880f : Promise Technology, Inc. 20268
 8800-8807 : 

make modules Segfault

2005-08-04 Thread George Van Tuyl


To:  linux-kernel@vger.kernel.org



[1.] One line summary of the problem:

  make modules failed Segfault (program cpp0)

[2.] Full description of the problem/report:

gcc: Internal error: Segmentation fault (program cpp0)
Please submit a full bug report.
See URL:http://bugzilla.redhat.com/bugzilla/ for instructions.
make[3]: *** [cycx_drv.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.31/drivers/net/wan'
make[2]: *** [_modsubdir_wan] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.31/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.31/drivers'
make: *** [_mod_drivers] Error 2
[EMAIL PROTECTED] linux-2.4.31]# In file included from 
/usr/src/linux-2.4.31/include/linux/vmalloc.h:5,

from /usr/src/linux-2.4.31/include/asm/io.h:47,
from cycx_drv.c:60:
/usr/src/linux-2.4.31/include/linux/mm.h:155: parse error at end of input
/usr/src/linux-2.4.31/include/linux/mm.h:155: warning: no semicolon at 
end of struct or union



[3.] Keywords (i.e., modules, networking, kernel):
   Modules

[4.] Kernel version (from /proc/version):

[EMAIL PROTECTED] linux-2.4.31]$ cat /proc/version
Linux version 2.4.20-28.7 ([EMAIL PROTECTED]) (gcc 
version 2.96 2731 (Red Hat Linux 7.3 2.96-126)) #1 Thu Dec 18 
11:18:28 EST 2003


[5.] Output of Oops.. message (if applicable) with symbolic information
resolved (see Documentation/oops-tracing.txt)

[6.] A small shell script or example program which triggers the
problem (if possible)
Presently running RedHat 7.3 with kernel-athlon-2.4.20-28.7 from rpm

cd /usr/src/linux-2.4.31 downloaded today at 6:45 PM MST 8/4/05
make mrproper
cp /boot/config-2.4.20-28.7 /usr/src/linux-2.4.31/.config
make oldconfig  (Took all of the defaults no changes)
make xconfig
make dep
make bzImage
make modules


[7.] Environment
ASUS A7M-266, Athlon 1.4GHz, 512M, Nvidia Riva TNT/2, Link-Sys 10/100, 
D-Link 1000 Marvell, Promise tx/100 IDE controller. RedHat 7.3 with as 
updates as currently available from RedHat, Grrr!


[7.1.] Software (add the output of the ver_linux script here)

[EMAIL PROTECTED] linux-2.4.31]$ sh scripts/ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux wulff 2.4.20-28.7 #1 Thu Dec 18 11:18:28 EST 2003 i686 unknown

Gnu C  2.96
Gnu make   3.79.1
util-linux 2.11n
mount  2.11n
modutils   2.4.18
e2fsprogs  1.27
reiserfsprogs  3.x.0j
quota-tools3.06.
PPP2.4.1
isdn4k-utils   3.1pre1
Linux C Library2.2.5
Dynamic linker (ldd)   2.2.5
Procps 2.0.7
Net-tools  1.60
Console-tools  0.3.3
Sh-utils   2.0.11
Modules Loaded sr_mod cmpci soundcore binfmt_misc autofs tulip 
ipchains ide-scsi scsi_mod ide-cd cdrom usb-uhci usbcore ext3 jbd



[7.2.] Processor information (from /proc/cpuinfo):

[EMAIL PROTECTED] linux-2.4.31]$ cat /proc/cpuinfo
processor: 0
vendor_id: AuthenticAMD
cpu family: 6
model: 4
model name: AMD Athlon(tm) Processor
stepping: 4
cpu MHz: 1400.110
cache size: 256 KB
fdiv_bug: no
hlt_bug: no
f00f_bug: no
coma_bug: no
fpu: yes
fpu_exception: yes
cpuid level: 1
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov 
pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow

bogomips: 2791.83

[7.3.] Module information (from /proc/modules):

[EMAIL PROTECTED] linux-2.4.31]$ cat /proc/modules
sr_mod 16216   2 (autoclean)
cmpci  32468   0 (autoclean)
soundcore   6436   4 (autoclean) [cmpci]
binfmt_misc 7204   1
autofs 11780   0 (autoclean) (unused)
tulip  42272   1
ipchains   49484  10
ide-scsi   10816   1
scsi_mod  107212   2 [sr_mod ide-scsi]
ide-cd 32064   0
cdrom  31936   0 [sr_mod ide-cd]
usb-uhci   24356   0 (unused)
usbcore73504   1 [usb-uhci]
ext3   65280   2
jbd47468   2 [ext3]

[7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)

[EMAIL PROTECTED] linux-2.4.31]$ cat /proc/ioports
-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0330-0331 : cmpci Midi
0376-0376 : ide1
0388-038b : cmpci FM
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0cf8-0cff : PCI conf1
8000-80ff : Linksys Network Everywhere Fast Ethernet 10/100 model NC100
 8000-80ff : tulip
8400-84ff : PCI device 1186:4c00 (D-Link System Inc)
8800-880f : Promise Technology, Inc. 20268
 8800-8807 : 

Re: make modules Segfault

2005-08-04 Thread Randy.Dunlap
On Thu, 04 Aug 2005 21:20:22 -0600 George Van Tuyl wrote:

 
 To:  linux-kernel@vger.kernel.org
 
 
 
 [1.] One line summary of the problem:
 
make modules failed Segfault (program cpp0)
 
 [2.] Full description of the problem/report:
 
 gcc: Internal error: Segmentation fault (program cpp0)
 Please submit a full bug report.

That (above) is requesting a full bug report on gcc, not Linux kernel.

See URL below:

 See URL:http://bugzilla.redhat.com/bugzilla/ for instructions.
 make[3]: *** [cycx_drv.o] Error 1
 make[3]: Leaving directory `/usr/src/linux-2.4.31/drivers/net/wan'
 make[2]: *** [_modsubdir_wan] Error 2
 make[2]: Leaving directory `/usr/src/linux-2.4.31/drivers/net'
 make[1]: *** [_modsubdir_net] Error 2
 make[1]: Leaving directory `/usr/src/linux-2.4.31/drivers'
 make: *** [_mod_drivers] Error 2
 [EMAIL PROTECTED] linux-2.4.31]# In file included from 
 /usr/src/linux-2.4.31/include/linux/vmalloc.h:5,
  from /usr/src/linux-2.4.31/include/asm/io.h:47,
  from cycx_drv.c:60:
 /usr/src/linux-2.4.31/include/linux/mm.h:155: parse error at end of input
 /usr/src/linux-2.4.31/include/linux/mm.h:155: warning: no semicolon at 
 end of struct or union
 
 
 [3.] Keywords (i.e., modules, networking, kernel):
 Modules
 
 [4.] Kernel version (from /proc/version):
 
 [EMAIL PROTECTED] linux-2.4.31]$ cat /proc/version
 Linux version 2.4.20-28.7 ([EMAIL PROTECTED]) (gcc 
 version 2.96 2731 (Red Hat Linux 7.3 2.96-126)) #1 Thu Dec 18 
 11:18:28 EST 2003
 
 [5.] Output of Oops.. message (if applicable) with symbolic information
  resolved (see Documentation/oops-tracing.txt)
 
 [6.] A small shell script or example program which triggers the
  problem (if possible)
 Presently running RedHat 7.3 with kernel-athlon-2.4.20-28.7 from rpm
 
 cd /usr/src/linux-2.4.31 downloaded today at 6:45 PM MST 8/4/05
 make mrproper
 cp /boot/config-2.4.20-28.7 /usr/src/linux-2.4.31/.config
 make oldconfig  (Took all of the defaults no changes)
 make xconfig
 make dep
 make bzImage
 make modules
 
 
 [7.] Environment
 ASUS A7M-266, Athlon 1.4GHz, 512M, Nvidia Riva TNT/2, Link-Sys 10/100, 
 D-Link 1000 Marvell, Promise tx/100 IDE controller. RedHat 7.3 with as 
 updates as currently available from RedHat, Grrr!
 
 [7.1.] Software (add the output of the ver_linux script here)
 
 [EMAIL PROTECTED] linux-2.4.31]$ sh scripts/ver_linux
 If some fields are empty or look unusual you may have an old version.
 Compare to the current minimal requirements in Documentation/Changes.
  
 Linux wulff 2.4.20-28.7 #1 Thu Dec 18 11:18:28 EST 2003 i686 unknown
  
 Gnu C  2.96
 Gnu make   3.79.1
 util-linux 2.11n
 mount  2.11n
 modutils   2.4.18
 e2fsprogs  1.27
 reiserfsprogs  3.x.0j
 quota-tools3.06.
 PPP2.4.1
 isdn4k-utils   3.1pre1
 Linux C Library2.2.5
 Dynamic linker (ldd)   2.2.5
 Procps 2.0.7
 Net-tools  1.60
 Console-tools  0.3.3
 Sh-utils   2.0.11
 Modules Loaded sr_mod cmpci soundcore binfmt_misc autofs tulip 
 ipchains ide-scsi scsi_mod ide-cd cdrom usb-uhci usbcore ext3 jbd
 
 
 [7.2.] Processor information (from /proc/cpuinfo):
 
 [EMAIL PROTECTED] linux-2.4.31]$ cat /proc/cpuinfo
 processor: 0
 vendor_id: AuthenticAMD
 cpu family: 6
 model: 4
 model name: AMD Athlon(tm) Processor
 stepping: 4
 cpu MHz: 1400.110
 cache size: 256 KB
 fdiv_bug: no
 hlt_bug: no
 f00f_bug: no
 coma_bug: no
 fpu: yes
 fpu_exception: yes
 cpuid level: 1
 wp: yes
 flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov 
 pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
 bogomips: 2791.83
 
 [7.3.] Module information (from /proc/modules):
 
 [EMAIL PROTECTED] linux-2.4.31]$ cat /proc/modules
 sr_mod 16216   2 (autoclean)
 cmpci  32468   0 (autoclean)
 soundcore   6436   4 (autoclean) [cmpci]
 binfmt_misc 7204   1
 autofs 11780   0 (autoclean) (unused)
 tulip  42272   1
 ipchains   49484  10
 ide-scsi   10816   1
 scsi_mod  107212   2 [sr_mod ide-scsi]
 ide-cd 32064   0
 cdrom  31936   0 [sr_mod ide-cd]
 usb-uhci   24356   0 (unused)
 usbcore73504   1 [usb-uhci]
 ext3   65280   2
 jbd47468   2 [ext3]
 
 [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)
 
 [EMAIL PROTECTED] linux-2.4.31]$ cat /proc/ioports
 -001f : dma1
 0020-003f : pic1
 0040-005f : timer
 0060-006f : keyboard
 0070-007f : rtc
 0080-008f : dma page reg
 00a0-00bf : pic2
 00c0-00df : dma2
 00f0-00ff : fpu
 0170-0177 : ide1
 01f0-01f7 : ide0
 02f8-02ff : serial(auto)
 0330-0331 : cmpci Midi
 0376-0376 : ide1
 

re: make modules Segfault

2005-08-04 Thread Dan Kegel

George Van Tuyl [EMAIL PROTECTED] wrote:
 gcc: Internal error: Segmentation fault (program cpp0)
 ...
 make[3]: Leaving directory `/usr/src/linux-2.4.31/drivers/net/wan'
 ...
 Gnu C  2.96
 ...

cpu family: 6
model : 4
model name: AMD Athlon(tm) Processor
stepping  : 4
cpu MHz   : 1400.110
...

 I  expect you to tell me to upgrade everything.

Nah.  Stop overclocking, and *then* upgrade everything :-)

Seriously, it seems like your machine is flaky.
And even if it were a kernel source problem,
gcc should never have an internal error.
But gcc-2.96 is so old that it's not supported anymore.
- Dan

--
Trying to get a job as a c++ developer?  See 
http://kegel.com/academy/getting-hired.html
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/