RE: TUN/TAP Linux Module 2.2
>On Tue, Apr 02, 2002 at 07:25:31PM +0100, Chris Mason wrote:
>> Hi,
>>
>> I am running Debian 2.2 with a 2.2.20 kernel on a Sparc 5. I need to
>> do VPN stuff for work and I downloaded the TUN/TAP driver from
>> http://vtun.sourceforge.net/tun and followed the instructions to
build
>> it. However once it has built and tries to install it I get the
>> following errors from depmod -a:
>
>Is this a stock Debian kernel? If so, for some reason you have
versioned symbols turned on, when you shouldn't. I suggest >doing this:
>
>$ apt-get install kernel-package fakeroot
>$ tar zxf linux-2.2.20.tar.gz
>(apply the tun/tap patch)
>$ cd linux
>$ make menuconfig # (or whatever you prefer)
>$ fakeroot make-kpkg kernel-image
It is the standard 2.2.20 kernel from apt-get. From what I gathered
from the TUN/TAP module it just needs to reference the kernel source to
compile the module. I compiled the kernel and installed it then I
unpacked the tun/tap module and it compiled it referencing the kernel
source in /usr/src/linux. I am assuming it is the right version as it
links in /usr/src/linux/include/linux/modversions.h when compiling the
device. You mentioned versioned symbols, would this be
CONFIG_MODVERSIONS=y. I was under the impression that as long as it
compiled in the correct modversions.h then this was not an issue.
The kernel has been configured as follows:
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SPARC32=y
CONFIG_PROM_CONSOLE=y
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FB_SBUS=y
CONFIG_FB_CGSIX=y
CONFIG_FONT_SUN8x16=y
CONFIG_SBUS=y
CONFIG_SBUSCHAR=y
CONFIG_SUN_MOUSE=y
CONFIG_SERIAL=y
CONFIG_SUN_SERIAL=y
CONFIG_SERIAL_CONSOLE=y
CONFIG_SUN_KEYBOARD=y
CONFIG_SUN_CONSOLE=y
CONFIG_SUN_AUXIO=y
CONFIG_SUN_IO=y
CONFIG_SUN_OPENPROMIO=y
CONFIG_SUN_MOSTEK_RTC=y
CONFIG_SUN_OPENPROMFS=y
CONFIG_NET=y
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_PACKET=y
CONFIG_NETLINK=y
CONFIG_RTNETLINK=y
CONFIG_NETLINK_DEV=y
CONFIG_FIREWALL=y
CONFIG_FILTER=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_FIREWALL=y
CONFIG_IP_FIREWALL_NETLINK=y
CONFIG_NETLINK_DEV=y
CONFIG_SYN_COOKIES=y
CONFIG_SKB_LARGE=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_SUNESP=y
CONFIG_NETDEVICES=y
CONFIG_SUNLANCE=m
CONFIG_HAPPYMEAL=m
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_QUOTA=y
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
CONFIG_EXT2_FS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_SOFT_WATCHDOG=y
CONFIG_MAGIC_SYSRQ=y
Regards,
Chris
--
Debian - http://www.debian.org/
Linux 1394 - http://linux1394.sourceforge.net/
Subversion - http://subversion.tigris.org/
--
To UNSUBSCRIBE, email to debian-sparc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
--
To UNSUBSCRIBE, email to debian-sparc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: