Xvesa on FC2

P.I.Julius julius at solutions-i.org
Thu Apr 1 12:44:08 PST 2004


On Thu, 2004-04-01 at 01:12 -0600, Brent Cook wrote:

> On Thu, 1 Apr 2004, P.I.Julius wrote:
> 
> > I'm not sure but i think this is nor selinux related, but i'm not sure.
> > I have disabled selinux in the grub by adding to selinux=0 to the
> > kernel, but i had the same problem after rebooting.
> >
> > I have noticed to that if i jump to the kernel-2.6.1-1.65 Xvesa just
> > works fine, but if i try out with kernel-2.6.3-2.1.253.2.1 than i can't
> > run it.
> 
> Only two patches in that kernel touch vm86, which is the area that I
> believe is killing you; auditing and the 4G split patch.
> 
> I'm attaching both for you to try; get the kernel source installed,
> unapply each patch (gunzip -c patch.gz | patch -p1 -R), rebuild and
> install the kernel and try again. You might try them one-at-a-time to
> determine which if either is the culprit. Hopefully that will help track
> down the source more.
> 
>  - Brent

Ok, i have tried out everything, i have patched one by one and all at
once, but i had the same result.

1: (first try): 
rpm -ivh kernel-source-2.6.3-2.1.253.2.1.i386.rpm

cd /usr/src/kernel-source-2.6.3-2.1.253.2.1
patch -p1 -R linux-2.6.1-audit.patch

make menuconfig
make && make bzImage && make modules && make modules_install && make
install

Everything worked fine, i have reboot my computer and selected the new
kernel-2.6.3-2.1.253.2.1custom but on running Xvesa i had the same
result "Segmentation fault".

2: (second try):
rpm -e kernel-source
rm -rf /usr/src/kernel-2.6.3-2.1.253.2.1
rm /boot/System.map-2.6.3-2.1.253.2.1custom
rm /boot/initrd-2.6.3-2.1.253.2.1custom.img
rm /boot/vmlinuz-2.6.3-2.1.253.2.1custom
rpm -ivh kernel-source-2.6.3-2.1.253.2.1.i386.rpm

cd /usr/src/kernel-source-2.6.3-2.1.253.2.1
patch -p1 -R linux-2.6.0-4g4g.patch

make menuconfig
make && make bzImage && make modules && make modules_install && make
install

But i have received this error:
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
  CC      arch/i386/kernel/irq.o
arch/i386/kernel/irq.c: In function `do_IRQ':
arch/i386/kernel/irq.c:517: error: structure has no member named
`real_stack'
arch/i386/kernel/irq.c:517: error: structure has no member named
`real_stack'
arch/i386/kernel/irq.c:518: error: structure has no member named
`virtual_stack'
arch/i386/kernel/irq.c:518: error: structure has no member named
`virtual_stack'
arch/i386/kernel/irq.c: In function `do_softirq':
arch/i386/kernel/irq.c:1176: error: structure has no member named
`real_stack'
arch/i386/kernel/irq.c:1176: error: structure has no member named
`real_stack'
arch/i386/kernel/irq.c:1177: error: structure has no member named
`virtual_stack'
arch/i386/kernel/irq.c:1177: error: structure has no member named
`virtual_stack'
make[1]: *** [arch/i386/kernel/irq.o] Error 1
make: *** [arch/i386/kernel] Error 2

3: (third try):
rpm -e kernel-source
rm -rf /usr/src/kernel-2.6.3-2.1.253.2.1
rm /boot/System.map-2.6.3-2.1.253.2.1custom
rm /boot/initrd-2.6.3-2.1.253.2.1custom.img
rm /boot/vmlinuz-2.6.3-2.1.253.2.1custom
rpm -ivh kernel-source-2.6.3-2.1.253.2.1.i386.rpm

cd /usr/src/kernel-source-2.6.3-2.1.253.2.1
patch -p1 -R linux-2.6.1-audit.patch
patch -p1 -R linux-2.6.0-4g4g.patch

make menuconfig
make && make bzImage && make modules && make modules_install && make
install

But i have received the same error as in step 2

Bests,
Julius



More information about the xserver mailing list