Skip to contentSkip to conversation

New to Linux - Need help

DISCUSSION Pranav Saha 3 participants 6 messages Jun 26, 2001 – Jun 28, 2001 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hello -

Our company is preparing to begin a project involving SELinux and I have been tasked to build a functioning SELinux box. However, I am new to Linux (and obviously, SELinux) and am having some trouble with the installation. I am installing on a RedHat 6.1 implementation, and get the error below while trying to do a 'make' on the modified kernel. Am I missing a required library? Any suggestions or help that can point me in the right direction would be much appreciated.

Apologies for the novice question.

Thanks,
Pranav Saha

------------------------------
arch/i386/kernel/kernel.o: In function `enable_irq':
arch/i386/kernel/kernel.o(.text+0x375b): undefined reference to irq_vector' arch/i386/kernel/kernel.o: In function timer_interrupt':
arch/i386/kernel/kernel.o(.text+0x79cb): undefined reference to smp_found_config' arch/i386/kernel/kernel.o: In function disconnect_bsp_APIC':
arch/i386/kernel/kernel.o(.text+0xe98e): undefined reference to pic_mode' arch/i386/kernel/kernel.o: In function init_VISWS_APIC_irqs':
arch/i386/kernel/kernel.o(.text+0xf057): undefined reference to setup_x86_irq' arch/i386/kernel/kernel.o: In function pcibios_fixup_irqs':
arch/i386/kernel/kernel.o(.text.init+0x2ec0): undefined reference to visws_get_PCI_irq_vector' arch/i386/kernel/kernel.o: In function do_boot_cpu':
arch/i386/kernel/kernel.o(.text.init+0x4684): undefined reference to apic_version' arch/i386/kernel/kernel.o: In function smp_boot_cpus':
arch/i386/kernel/kernel.o(.text.init+0x4ba3): undefined reference to boot_cpu_id' arch/i386/kernel/kernel.o(.text.init+0x4bdc): undefined reference to smp_found_config' arch/i386/kernel/kernel.o(.text.init+0x4bf2): undefined reference to boot_cpu_id' arch/i386/kernel/kernel.o(.text.init+0x4bf9): undefined reference to phys_cpu_present_map' arch/i386/kernel/kernel.o(.text.init+0x4c24): undefined reference to phys_cpu_present_map' arch/i386/kernel/kernel.o(.text.init+0x4c2a): undefined reference to boot_cpu_id' arch/i386/kernel/kernel.o(.text.init+0x4c31): undefined reference to apic_version' arch/i386/kernel/kernel.o(.text.init+0x4c59): undefined reference to phys_cpu_present_map' arch/i386/kernel/kernel.o(.text.init+0x4c90): undefined reference to smp_found_config' arch/i386/kernel/kernel.o(.text.init+0x4ca4): undefined reference to phys_cpu_present_map' arch/i386/kernel/kernel.o(.text.init+0x4cdf): undefined reference to boot_cpu_id' arch/i386/kernel/kernel.o(.text.init+0x4d01): undefined reference to phys_cpu_present_map' arch/i386/kernel/kernel.o(.text.init+0x4d1a): undefined reference to boot_cpu_id' arch/i386/kernel/kernel.o(.text.init+0x4d2b): undefined reference to phys_cpu_present_map' arch/i386/kernel/kernel.o(.text.init+0x4d5f): undefined reference to phys_cpu_present_map' arch/i386/kernel/kernel.o: In function connect_bsp_APIC':
arch/i386/kernel/kernel.o(.text.init+0x4e86): undefined reference to pic_mode' arch/i386/kernel/kernel.o: In function setup_local_APIC':
arch/i386/kernel/kernel.o(.text.init+0x4fc7): undefined reference to phys_cpu_present_map' arch/i386/kernel/kernel.o(.text.init+0x5053): undefined reference to pic_mode' arch/i386/kernel/kernel.o: In function `init_apic_mappings':
arch/i386/kernel/kernel.o(.text.init+0x5123): undefined reference to smp_found_config' arch/i386/kernel/kernel.o(.text.init+0x512c): undefined reference to mp_lapic_addr' arch/i386/kernel/kernel.o(.text.init+0x5175): undefined reference to boot_cpu_id' arch/i386/kernel/kernel.o(.text.init+0x5188): undefined reference to boot_cpu_id' security/ss.o: In function `sys_security_load_policy':
security/ss.o(.text+0x106e): undefined reference to ss_initialized' security/ss.o: In function sys_security_get_user_sids':
security/ss.o(.text+0x1751): undefined reference to security_get_user_sids' drivers/pci/driver.o: In function pci_fixup_device':
drivers/pci/driver.o(.text+0x119b): undefined reference to `pcibios_fixups'
make: *** [vmlinux] Error 1
---------------------------

#1 lore raw
Quoted 11 lines · Pranav Saha

Hello -

Our company is preparing to begin a project involving SELinux and I have been tasked to build a functioning SELinux box. However, I am new to Linux (and obviously, SELinux) and am having some trouble with the installation. I am installing on a RedHat 6.1 implementation, and get the error below while trying to do a 'make' on the modified kernel. Am I missing a required library? Any suggestions or help that can point me in the right direction would be much appreciated.

Apologies for the novice question.

Which kernel version are you using? 2.4.3 or 2.2.19? Are you using the "Everything in One Large File" package or the individual packages/patches? Are you using just the SELinux-modified kernel or are you trying to incorporate any other kernel patches? What is your kernel configuration?

By the way, feel free to use a newer distribution of RedHat if you want. I'm using RH7.1 now, and several others on the mailing list have done likewise.

--
Stephen D. Smalley, NAI Labs
[email protected]

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#2 lore raw

The kernel version is 2.2.12-20 and I am using the "Everything in One Large File" package. I am attempting to use just the SELinux-modified kernel without any other patches. Not sure what you want to know about the kernel "configuration"... I have not manually made any configuration changes to the kernel beyond what is automatically configured. I may try to step up to Red Hat 7.1 if that may solve some of these installation issues?

Thanks for the guidance.
Pranav Saha

----- Original Message -----
From: "Stephen Smalley" <[email protected]>
To: "Pranav Saha" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, June 26, 2001 3:51 PM
Subject: Re: New to Linux - Need help

Quoted 21 lines · Pranav Saha
Quoted 11 lines

Hello -

Our company is preparing to begin a project involving SELinux and I have been tasked to build a functioning SELinux box. However, I am new to Linux (and obviously, SELinux) and am having some trouble with the installation. I am installing on a RedHat 6.1 implementation, and get the error below while trying to do a 'make' on the modified kernel. Am I missing a required library? Any suggestions or help that can point me in the right direction would be much appreciated.

Quoted 1 line

Apologies for the novice question.

Which kernel version are you using? 2.4.3 or 2.2.19? Are you using the "Everything in One Large File" package or the individual packages/patches? Are you using just the SELinux-modified kernel or are you trying to incorporate any other kernel patches? What is your kernel configuration?

Quoted 10 lines

By the way, feel free to use a newer distribution of RedHat if you want. I'm using RH7.1 now, and several others on the mailing list have done likewise.

--
Stephen D. Smalley, NAI Labs
[email protected]

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#3 lore raw
Quoted 4 lines · Pranav Saha

without any other patches. Not sure what you want to know about the kernel "configuration"... I have not manually made any configuration changes to the kernel beyond what is automatically configured. I may try to step up to Red Hat 7.1 if that may solve some of these installation issues?

No, I don't think upgrading to RH7.1 will help with this problem. By kernel configuration, I'm referring to the settings you choose when you ran 'make menuconfig' or 'make xconfig'. Send me a copy of your .config file.

--
Stephen D. Smalley, NAI Labs
[email protected]

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#4 lore raw

More install issues

In reply to Stephen Smalley

Hi -

Looks like I have an (almost) functional install of SELinux. However, after rebooting into SELinux, all of my network connections were hosed. I keep getting a "YPBINDPROC_DOMAIN: Domain Not Bound" error and the machine fails on boot when "bringing up interface eth0". Don't know if the SELinux install wrote over some of my network drivers or if it was a problem with my config??
Any suggestions would be much appreciated.

Thanks.

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#5 lore raw

Re: More install issues

Quoted 4 lines · Pranav Saha

I keep getting a "YPBINDPROC_DOMAIN: Domain Not Bound" error and the machine fails on boot when "bringing up interface eth0". Don't know if the SELinux install wrote over some of my network drivers or if it was a problem with my config??

ypbind is an NIS/yp (yp is the old name for it) service. it shouldn't have anything to do with SELinux/FLASK i think. are you sure you need it?

does it run when you're running a normal kernel?

____________________________
jose nazario [email protected]

	      	     PGP: 89 B0 81 DA 5B FD 7E 00  99 C3 B2 CD 48 A0 07 80
				       PGP key ID 0xFD37F4E5 (pgp.mit.edu)

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.