Compilation problem: SiS 630 dri driver (2.4.18 and 2.4.19-rc3)

Compilation problem: SiS 630 dri driver (2.4.18 and 2.4.19-rc3)

Post by gauch » Mon, 29 Jul 2002 08:07:10



The Red Hat 7.3 (from install) kernel can use this Sis 630 AGP card as I saw at
the first boot after instalation...

But after that I can not manage the kernel compilation, 2.2.14 and 2.4.19-rc3
fais like this:

...
gcc -D__KERNEL__ -I/scsi/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i686   -DKBUILD_BASENAME=strstr  -c -o
strstr.o strstr.c
rm -f lib.a
ar  rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o memcpy.o
strstr.o
make[2]: Leaving directory `/scsi/src/linux/arch/i386/lib'
make[1]: Leaving directory `/scsi/src/linux/arch/i386/lib'
ld -m elf_i386 -T /scsi/src/linux/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o
\
        --start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o
ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o
drivers/media/media.o drivers/char/agp/agp.o drivers/char/drm/drm.o
drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o
drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/video/video.o \
        net/network.o \
/scsi/src/linux/arch/i386/lib/lib.a /scsi/src/linux/lib/lib.a
/scsi/src/linux/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/char/drm/drm.o: In function `sis_fb_alloc':
drivers/char/drm/drm.o(.text+0x6893): undefined reference to `sis_malloc'
drivers/char/drm/drm.o(.text+0x68d6): undefined reference to `sis_free'
drivers/char/drm/drm.o: In function `sis_fb_free':
drivers/char/drm/drm.o(.text+0x69c8): undefined reference to `sis_free'
drivers/char/drm/drm.o: In function `sis_final_context':
drivers/char/drm/drm.o(.text+0x6e4e): undefined reference to `sis_free'
make: *** [vmlinux] Error 1

For sure I and doing something wrong here... any tip about it ?

 
 
 

Compilation problem: SiS 630 dri driver (2.4.18 and 2.4.19-rc3)

Post by d » Sun, 18 Aug 2002 18:45:29



> The Red Hat 7.3 (from install) kernel can use this Sis 630 AGP card as I saw at
> the first boot after instalation...

> But after that I can not manage the kernel compilation, 2.2.14 and 2.4.19-rc3
> fais like this:

> ...
> gcc -D__KERNEL__ -I/scsi/src/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
> -mpreferred-stack-boundary=2 -march=i686   -DKBUILD_BASENAME=strstr  -c -o
> strstr.o strstr.c
> rm -f lib.a
> ar  rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o memcpy.o
> strstr.o
> make[2]: Leaving directory `/scsi/src/linux/arch/i386/lib'
> make[1]: Leaving directory `/scsi/src/linux/arch/i386/lib'
> ld -m elf_i386 -T /scsi/src/linux/arch/i386/vmlinux.lds -e stext
> arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o
> \
>    --start-group \
> arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o
> ipc/ipc.o \
> drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o
> drivers/media/media.o drivers/char/agp/agp.o drivers/char/drm/drm.o
> drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o
> drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/video/video.o \
>    net/network.o \
> /scsi/src/linux/arch/i386/lib/lib.a /scsi/src/linux/lib/lib.a
> /scsi/src/linux/arch/i386/lib/lib.a \
>    --end-group \
>    -o vmlinux
> drivers/char/drm/drm.o: In function `sis_fb_alloc':
> drivers/char/drm/drm.o(.text+0x6893): undefined reference to `sis_malloc'
> drivers/char/drm/drm.o(.text+0x68d6): undefined reference to `sis_free'
> drivers/char/drm/drm.o: In function `sis_fb_free':
> drivers/char/drm/drm.o(.text+0x69c8): undefined reference to `sis_free'
> drivers/char/drm/drm.o: In function `sis_final_context':
> drivers/char/drm/drm.o(.text+0x6e4e): undefined reference to `sis_free'
> make: *** [vmlinux] Error 1

> For sure I and doing something wrong here... any tip about it ?

Hi,

I'm running a laptop with sis630. I get the same messages as you only if
I compile the kernel without the sisfb kernel driver.

To include this sisfb, I use make xconfig : "Console drivers", "frame buffer
support", "SiS acceleration", "SiS 630/540/730 support".

 
 
 

1. Kernel Panic 2.4.18 - 2.4.19-rc3 when using iptables

Hi All,

I have posted this Q to both the linux-kernel and netfilter mailing
lists.

This box is a Dual Athlon 2000+ running 2.4.18 as well as 2.4.19-rc3,
the box is stable up until I run my iptables init script. Which looks
something like this:

#!/bin/bash

iptables -F
iptables -A INPUT -s 127.0.0.0/8 -j ACCEPT

iptables -A INPUT -p icmp -j ACCEPT
iptables -A INPUT -s 134.7.1.0/24 -m record_rpc -j ACCEPT
iptables -A INPUT -s 134.7.2.0/24 -m record_rpc -j ACCEPT
iptables -A INPUT -s 134.7.3.0/24 -m record_rpc -j ACCEPT
iptables -A INPUT -s 134.7.7.0/24 -m record_rpc -j ACCEPT
iptables -A INPUT -s 134.7.5.0/24 -m record_rpc -j ACCEPT

iptables -A INPUT -p tcp -s 134.7.1.1/32 --dport 513:514 -j ACCEPT
iptables -A INPUT -p tcp -s 134.7.1.60/32 --dport 5555 -j ACCEPT

iptables -A INPUT -p tcp --syn -j REJECT

iptables -A INPUT -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A INPUT -j LOG
iptables -P INPUT DROP

As you can see i'm using the RPC connection tracking module
that comes with the patch-o-matic stuff.

About 1-2 minutes after I run this script the box hangs, and prints out
a bunch of register and stack info which I couldn't be bothered to
type in :P

It does say "Code: Bad EIP value" though.

Does anyone know what this could be?

Cheers
Dave

/-----------------------------------
David Shirley
System's Administrator
Computer Science - Curtin University
(08) 9266 2986
-----------------------------------/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Initial login

3. 2.4.19/2.4.18: can't compile SiS graphical card support

4. joystick problems with pc propad

5. Linux Kernel 2.4.18 and 2.4.19 problems

6. problems with old SMC/WD 8-bit ethernet card

7. ECS DeskNote A929 (i-Buddie XP) (Kernel 2.4.18 & 2.4.19rc3)

8. LinuxPPC on 7200 won't boot

9. strange file corruption problem with 2.4.18 & 2.4.19

10. FW: Problems with 2.4.19 Kernel and Promise FastTrak100 RAID Controller (2.4.18 works)

11. Problem with 2.4.19 multiple root floppy disks- 2.4.18 works.

12. Linux 2.4.19pre2-ac2 || Linux 2.4.18-ac3, compilation error on SPARC

13. Interrupt issue with 2.4.19 vs 2.4.18.