Skip to contentSkip to conversation

Possible bug in build for scsi

DISCUSSION L. Dean Risinger Jr. 2 participants 2 messages Apr 2, 2003 – Apr 3, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw

Problem: Apparent bug in build system for scsi

Machine: Compaq SP700 dual Pentium 3 with adaptec scsi drive

OS: Redhat Linux 8.0 with kernel 2.4.18smp

SELinux version: 2.4 LSM-based Prototype

SELinux Configuration: Default, with the addition of support for the ext3 filesystem. Trying to build kernel 2.4.20

Steps followed:
unzipped/untarred source into /root

cd /root/selinux
cd module
make insert

cd /root/lsm-2.4
make menuconfig
make dep
make
make modules
make install

Error:

make install terminated during the call to

     /sbin/installkernel 2.4.20-selinux bzImage /root/lsm-2.4/System.map

with the error "No module sym53c8xx found for kernel 2.4.20-selinux". Note that the source and .o file exist in

     /root/lsm-2.4/drivers/scsi

and were sucessfully linked into elf_i386. There are symbols from sym53c8xx in /root/lsm-2.4/System.map

Signature · 9 lines
        L. Dean Risinger Jr.
        CCS-1, LANL
        [email protected]
        +1 505 665 4243

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw

On Wednesday 02 April 2003 01:17 pm, L. Dean Risinger Jr. wrote:
-SNIP-

Quoted 6 lines

OS: Redhat Linux 8.0 with kernel 2.4.18smp

SELinux version: 2.4 LSM-based Prototype

SELinux Configuration: Default, with the addition of support for the ext3 filesystem. Trying to build kernel 2.4.20

Have you double checked your paths? is linux symlinked properly to the 2.4.20 kernel sources? I hate it when I get to the end of a kernel build only to discover that I did something stupid like this (though it's been a long time since that's happened to me :-).

Quoted 7 lines

Steps followed:
unzipped/untarred source into /root

cd /root/selinux
cd module
make insert

Quoted 6 lines

cd /root/lsm-2.4
make menuconfig
make dep
make
make modules
make install

I may be showing a lack of experience with Red Hat 8.0 (I've never even touched it, yet), but shouldn't this list read:

make dep
make bzImage [or something similar]
make modules
make modules_install
make install [I usually use cp to install my kernels]

-SNIP-

Signature · 7 lines
Sincerely,
Lamont R. Peterson <[email protected]>

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.