CentOS 6 kernel IPX error

Issues related to configuring your network
mole
Posts: 5
Joined: 2011/10/31 13:27:55

CentOS 6 kernel IPX error

Post by mole » 2011/10/31 13:32:35

Hi!
I'm using CentOS 6 with kernel 2.6.32-131.17.1.el6 and I'd like to enable support for
Novell Netware in my kernel.
I'm trying to build the kernel with 2 options enabled: The IPX protocol and
NCPFS file system support, but the build fails with the message:

"
LD drivers/built-in.o
error: Bad exit status from /var/tmp/rpm-tmp.qcYdmD (%build)
"

What am I missing?

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: CentOS 6 kernel IPX error

Post by pschaff » 2011/10/31 20:20:05

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

No idea what you are missing without more information. You might want to read [url=http://wiki.centos.org/HowTos/Custom_Kernel]I Need to Build a Custom Kernel[/url].

mole
Posts: 5
Joined: 2011/10/31 13:27:55

Re: CentOS 6 kernel IPX error

Post by mole » 2011/11/01 10:19:15

Hi, Phil!
Thanks for you help!
Here is my system information:

Information for driver problems.
[code]
== BEGIN uname -rmi ==
2.6.32-131.17.1.el6.i686 i686 i386
== END uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
redhat-release-server-6Server-6.1.0.2.el6.i686
== END rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
Red Hat Enterprise Linux Server release 6.1 (Santiago)
== END cat /etc/redhat-release ==

== BEGIN getenforce ==
Enforcing
== END getenforce ==

== BEGIN free -m ==
total used free shared buffers cached
Mem: 3666 869 2797 0 54 523
-/+ buffers/cache: 290 3375
Swap: 2047 0 2047
== END free -m ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-2.6.32-131.0.15.el6.i686
kernel-2.6.32-131.17.1.el6.i686
kernel-devel-2.6.32-131.0.15.el6.i686
kernel-devel-2.6.32-131.17.1.el6.i686
kernel-doc-2.6.32-131.17.1.el6.noarch
kernel-firmware-2.6.32-131.17.1.el6.noarch
kernel-headers-2.6.32-131.17.1.el6.i686
== END rpm -qa kernel\* | sort ==

== BEGIN lspci ==
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:16.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset PT IDER Controller (rev 06)
00:16.3 Serial controller: Intel Corporation 5 Series/3400 Series Chipset KT Controller (rev 06)
00:19.0 Ethernet controller: Intel Corporation 82578DM Gigabit Network Connection (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 06)
02:00.0 IDE interface: JMicron Technology Corp. JMB368 IDE controller
03:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
03:01.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
== END lspci ==

== BEGIN lspci -n ==
00:00.0 0600: 8086:0040 (rev 18)
00:02.0 0300: 8086:0042 (rev 18)
00:16.0 0780: 8086:3b64 (rev 06)
00:16.2 0101: 8086:3b66 (rev 06)
00:16.3 0700: 8086:3b67 (rev 06)
00:19.0 0200: 8086:10ef (rev 06)
00:1a.0 0c03: 8086:3b3c (rev 06)
00:1b.0 0403: 8086:3b56 (rev 06)
00:1c.0 0604: 8086:3b42 (rev 06)
00:1c.4 0604: 8086:3b4a (rev 06)
00:1d.0 0c03: 8086:3b34 (rev 06)
00:1e.0 0604: 8086:244e (rev a6)
00:1f.0 0601: 8086:3b0a (rev 06)
00:1f.2 0101: 8086:3b20 (rev 06)
00:1f.3 0c05: 8086:3b30 (rev 06)
00:1f.5 0101: 8086:3b26 (rev 06)
02:00.0 0101: 197b:2368
03:01.0 0607: 1180:0476 (rev 80)
03:01.1 0607: 1180:0476 (rev 80)
== END lspci -n ==

== BEGIN lsusb ==
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 03eb:2103 Atmel Corp. JTAG ICE mkII
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
== END lsusb ==

[/code]

I've downloaded kernel source package kernel-2.6.32-131.17.1.el6.src.rpm from RedHat server
and tried to build the kernel with enabled IPX protocol and NCP file system in default kernel config,
but the build failed :
"
CC [M] drivers/net/ewrk3.o
CC [M] drivers/net/sc92031.o
CC [M] drivers/net/tun.o
CC [M] drivers/net/veth.o
CC [M] drivers/net/dl2k.o
CC [M] drivers/net/r8169.o
CC [M] drivers/net/amd8111e.o
CC [M] drivers/net/s2io.o
CC [M] drivers/net/ethoc.o
CC [M] drivers/net/dnet.o
CC [M] drivers/net/netconsole.o
CC [M] drivers/net/niu.o
CC [M] drivers/net/virtio_net.o
LD drivers/net/built-in.o
LD drivers/built-in.o
error: Bad exit status from /var/tmp/rpm-tmp.qcYdmD (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.qcYdmD (%build)
make[1]: *** [rpm] Error 1
make: *** [rpm] Error 2
"
Please help me!

Best regards,
Miloserdin Oleg

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: CentOS 6 kernel IPX error

Post by pschaff » 2011/11/01 15:32:03

Still not enough information to guess the error. You do have the latest kernel, and the corresponding kernel-devel loaded. You need to post more of the error output, using http://pastebin.centos.org/ if too long to paste in-line here. Are you patching and using rpmbuild, as described in the Wiki article?

User avatar
AlanBartlett
Forum Moderator
Posts: 9324
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: CentOS 6 kernel IPX error

Post by AlanBartlett » 2011/11/01 20:29:51

Perhaps we should ask [b]toracat[/b] to review this thread and then comment.

Why? Because the [i]CentOS[/i] wiki [url=http://wiki.centos.org/HowTos/Custom_Kernel]Custom Kernel[/url] article requires revision for [i]CentOS 6[/i]. It has been decided that [b]toracat[/b] will produce the first necessary revision (as custodian of the [i]CPlus 6[/i] kernel, the technique used is familiar) and then [b]burakkucat[/b] will apply tweaks, etc.

mole
Posts: 5
Joined: 2011/10/31 13:27:55

Re: CentOS 6 kernel IPX error

Post by mole » 2011/11/02 15:03:34

Hi Phil!
I use the article "How to compile a kernel - the Fedora way" to build the kernel:
1. Install kernel sources
# rpm -ihv kernel-2.6.32-131.17.1.el6.src.rpm
2. Unpack the kernel sources and apply all included patches
# cd /root/rpmbuild/SPECS
# rpmbuild -bp kernel.spec
3. Clean-up
# make clean
# make mrproper
# cp /boot/config-`uname -r` ./.config
4. Configure the kernel
# make menuconfig
4.1. Load an Alternate Configuration File -> choose .config
4.2. General setup -> Local version -> add a suffix -ipx
4.3. Networking support -> Networking options -> enable The IPX Protocol
4.4. File systems -> Network File Systems -> enable NCP file system support
5. Build the kernel
# make rpm

And the build failed!
I've pasted the full kernel build log file at http://pastebin.centos.org/38013
and error messages only from that log at http://pastebin.centos.org/38014.

Best regards,
Miloserdin Oleg

User avatar
TrevorH
Forum Moderator
Posts: 28833
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 6 kernel IPX error

Post by TrevorH » 2011/11/02 15:08:06

The forum attachment feature is permanently broken and it's likely to be too big to post inline so please use somewhere like pastebin for it.

User avatar
toracat
Forum Moderator
Posts: 7434
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

CentOS 6 kernel IPX error

Post by toracat » 2011/11/02 19:55:51

[quote]
mole wrote:

4.1. Load an Alternate Configuration File -> choose .config
4.2. General setup -> Local version -> add a suffix -ipx
4.3. Networking support -> Networking options -> enable The IPX Protocol
4.4. File systems -> Network File Systems -> enable NCP file system support
[/quote]
The centosplus kernel has the IPX support enabled. However, enabling NCP results in errors as you saw it. Please see [url=http://bugs.centos.org/view.php?id=4586#c12052]this note in bugs.centos.org[/url]. You would have to work out the source code to get it built successfully, unfortunately. :-(

mole
Posts: 5
Joined: 2011/10/31 13:27:55

Re: CentOS 6 kernel IPX error

Post by mole » 2011/11/03 07:32:58

Dear toracat!
Could you please tell me where can I find the centosplus kernel with the IPX support enabled?
And about NCP support: should I edit source code by myself and try to build the kernel with NCP support? Is it right?
Is there any other way to enable Novell Netware support in my system (i.e. without editing kernel sources)?

Best regards,
Miloserdin Oleg

r_hartman
Posts: 706
Joined: 2009/03/23 15:08:11
Location: Netherlands
Contact:

Re: CentOS 6 kernel IPX error

Post by r_hartman » 2011/11/03 08:01:54

The centosplus kernel is in the centosplus repository. That repo is disabled by default but yum --disablerepo=\* --enablerepo=centosplus will allow you to install from it.

Post Reply

Return to “CentOS 6 - Networking Support”