PROBLEM: Kernel 2.6.0 has a compilation error on "fs/proc/array.c"

From: Stefano Rosellini
Date: Sat Dec 27 2003 - 13:48:45 EST


[1.] Kernel 2.6.0 has a compilation error on "fs/proc/array.c"

[2.] When I compile kernel 2.6.0 with attached configuration, I get this
error message:
<<
CC fs/proc/array.o
fs/proc/array.c: In function `proc_pid_stat':
fs/proc/array.c:398: Unrecognizable insn:
(insn/i 1334 1666 1660 (parallel[
(set (reg:SI 0 eax)
(asm_operands ("") ("=a") 0[
(reg:DI 1 edx)
]
[
(asm_input:DI ("A"))
] ("include/linux/times.h") 38))
(set (reg:SI 1 edx)
(asm_operands ("") ("=d") 1[
(reg:DI 1 edx)
]
[
(asm_input:DI ("A"))
] ("include/linux/times.h") 38))
(clobber (reg:QI 19 dirflag))
(clobber (reg:QI 18 fpsr))
(clobber (reg:QI 17 flags))
] ) -1 (insn_list 1328 (nil))
(nil))
fs/proc/array.c:398: confused by earlier errors, bailing out
make[2]: *** [fs/proc/array.o] Error 1
make[1]: *** [fs/proc] Error 2
make: *** [fs] Error 2
>>

[7.] ----- Environment -----

[7.1.] ver_linux output:
<<
Linux athlon 2.4.23 #9 mer dic 24 18:06:23 CET 2003 i686 unknown

Gnu C 2.96
Gnu make 3.79.1
util-linux 2.11n
mount 2.11n
module-init-tools 2.4.13
e2fsprogs 1.26
reiserfsprogs 3.x.0j
quota-tools 3.01.
PPP 2.4.1
nfs-utils 0.3.3
Linux C Library 2.2.4
Dynamic linker (ldd) 2.2.4
Procps 2.0.7
Net-tools 1.60
Kbd [opzione...]
Console-tools 0.2.3
Sh-utils 2.0.11
Modules Loaded mga agpgart epat paride emu10k1 ac97_codec sound
soundcore nfsd lockd sunrpc lp parport_pc parport af_packet keybdev mousedev
hid input w83781d i2c-amd756 i2c-proc i2c-core scanner ipt_MASQUERADE
ipt_REJECT ipt_state
iptable_filter iptable_nat ip_conntrack ip_tables usb-ohci usbcore ne2k-pci
8390 crc32 3c509 ext2 nls_iso8859-15 nls_cp850 vfat fat ide-scsi scsi_mod rtc
>>

[7.2.] CPU info:
<<
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 1
model name : AMD-K7(tm) Processor
stepping : 2
cpu MHz : 499.037
cache size : 128 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 mmx syscall mmxext 3dnowext 3dnow
bogomips : 996.14
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 1
model name : AMD-K7(tm) Processor
stepping : 2
cpu MHz : 499.037
cache size : 128 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 mmx syscall mmxext 3dnowext 3dnow
bogomips : 996.14
>>

[7.3.] /proc/modules:
<<
mga 92688 1
agpgart 13856 3
epat 6656 0
paride 3520 1 [epat]
emu10k1 54080 2
ac97_codec 11840 0 [emu10k1]
sound 53836 0 [emu10k1]
soundcore 3588 7 [emu10k1 sound]
nfsd 68576 8 (autoclean)
lockd 48256 1 (autoclean) [nfsd]
sunrpc 62804 1 (autoclean) [nfsd lockd]
lp 6144 1
parport_pc 21256 1
parport 23040 1 [paride lp parport_pc]
af_packet 12008 1 (autoclean)
keybdev 1696 0 (unused)
mousedev 3936 0 (unused)
hid 20640 0 (unused)
input 3360 0 [keybdev mousedev hid]
w83781d 18336 0 (unused)
i2c-amd756 3108 0 (unused)
i2c-proc 6272 0 [w83781d]
i2c-core 13888 0 [w83781d i2c-amd756 i2c-proc]
scanner 10400 0 (unused)
ipt_MASQUERADE 1376 1 (autoclean)
ipt_REJECT 3200 1 (autoclean)
ipt_state 576 5 (autoclean)
iptable_filter 1664 1 (autoclean)
iptable_nat 15508 1 [ipt_MASQUERADE]
ip_conntrack 18740 2 [ipt_MASQUERADE ipt_state iptable_nat]
ip_tables 11584 7 [ipt_MASQUERADE ipt_REJECT ipt_state
iptable_filter iptable_nat]
usb-ohci 18048 0 (unused)
usbcore 63552 1 [hid scanner usb-ohci]
ne2k-pci 4576 1 (autoclean)
8390 6176 0 (autoclean) [ne2k-pci]
crc32 2912 0 (autoclean) [8390]
3c509 9504 1 (autoclean)
ext2 32480 1 (autoclean)
nls_iso8859-15 3328 4 (autoclean)
nls_cp850 3552 4 (autoclean)
vfat 9660 4 (autoclean)
fat 29944 0 (autoclean) [vfat]
ide-scsi 9088 0
scsi_mod 92348 1 [ide-scsi]
rtc 6044 0 (autoclean)
>>

[7.4.] /proc/ioports:
<<
0000-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
0213-0213 : isapnp read
0220-022f : 3c509 PnP
02f8-02ff : serial(auto)
0376-0376 : ide1
0378-037a : parport0
037b-037f : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
50e0-50ef : amd756-smbus
e000-e003 : Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller
e400-e41f : Realtek Semiconductor Co., Ltd. RTL-8029(AS)
e400-e41f : ne2k-pci
e800-e81f : Creative Labs SB Live! EMU10k1
e800-e81f : EMU10K1
ec00-ec07 : Creative Labs SB Live! MIDI/Game Port
f000-f00f : Advanced Micro Devices [AMD] AMD-756 [Viper] IDE
f000-f007 : ide0
f008-f00f : ide1
>>
/proc/iomem:
<<
00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-17feffff : System RAM
00100000-0022512f : Kernel code
00225130-00299e1f : Kernel data
17ff0000-17ff2fff : ACPI Non-volatile Storage
17ff3000-17ffffff : ACPI Tables
d8000000-dbffffff : Advanced Micro Devices [AMD] AMD-751 [Irongate] System
Controller
dc000000-dfffffff : PCI Bus #01
dc000000-dc003fff : Matrox Graphics, Inc. MGA G400 AGP
dd000000-dd7fffff : Matrox Graphics, Inc. MGA G400 AGP
e0000000-e1ffffff : PCI Bus #01
e0000000-e1ffffff : Matrox Graphics, Inc. MGA G400 AGP
e3000000-e3000fff : Advanced Micro Devices [AMD] AMD-756 [Viper] USB
e3000000-e3000fff : usb-ohci
e3001000-e3001fff : Advanced Micro Devices [AMD] AMD-751 [Irongate] System
Controller
ffff0000-ffffffff : reserved
>>

[7.5.] lspci -vvv:
<<
00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System
Controller (rev 23)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort+ >SERR- <PERR-
Latency: 32
Region 0: Memory at d8000000 (32-bit, prefetchable) [size=64M]
Region 1: Memory at e3001000 (32-bit, prefetchable) [size=4K]
Region 2: I/O ports at e000 [disabled] [size=4]
Capabilities: [a0] AGP version 1.0
Status: RQ=15 SBA+ 64bit- FW- Rate=x1,x2
Command: RQ=0 SBA+ AGP+ 64bit- FW- Rate=x1

00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP
Bridge (rev 01) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 32
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000f000-00000fff
Memory behind bridge: dc000000-dfffffff
Prefetchable memory behind bridge: e0000000-e1ffffff
BridgeCtl: Parity- SERR+ NoISA+ VGA+ MAbort- >Reset- FastB2B-

00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ISA (rev 01)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 0

00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-756 [Viper] IDE (rev
03) (prog-if 8a [Master SecP PriP])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 32
Region 4: I/O ports at f000 [size=16]

00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ACPI (rev 03)
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-

00:07.4 USB Controller: Advanced Micro Devices [AMD] AMD-756 [Viper] USB (rev
06) (prog-if 10 [OHCI])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 16 (20000ns max), cache line size 08
Interrupt: pin D routed to IRQ 9
Region 0: Memory at e3000000 (32-bit, non-prefetchable) [size=4K]

00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at e400 [size=32]
Expansion ROM at e2000000 [disabled] [size=16K]

00:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 06)
Subsystem: Creative Labs CT4832 SBLive! Value
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 32 (500ns min, 5000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at e800 [size=32]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:09.1 Input device controller: Creative Labs SB Live! (rev 06)
Subsystem: Creative Labs Gameport Joystick
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 32
Region 0: I/O ports at ec00 [size=8]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

01:05.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev
04) (prog-if 00 [VGA])
Subsystem: Matrox Graphics, Inc. Millennium G400 16Mb SGRAM
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 32 (4000ns min, 8000ns max), cache line size 08
Interrupt: pin A routed to IRQ 11
Region 0: Memory at e0000000 (32-bit, prefetchable) [size=32M]
Region 1: Memory at dc000000 (32-bit, non-prefetchable) [size=16K]
Region 2: Memory at dd000000 (32-bit, non-prefetchable) [size=8M]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [f0] AGP version 2.0
Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
Command: RQ=15 SBA+ AGP+ 64bit- FW- Rate=x1

>>

[7.6.] /proc/scsi/scsi:
<<
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Model: CRW9420 Rev: 1.40
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: LG Model: CD-ROM CRD-8521B Rev: 1.03
Type: CD-ROM ANSI SCSI revision: 02
>>

[x.]
The kernel I used is the standard one: I've applied no patches.


Thanks for your attention.


Stefano Rosellini
steros@xxxxxxxxxxx

Attachment: config.bz2
Description: BZip2 compressed data