Brian Beck
2006-10-27 19:09:10 UTC
Hi, I hope this is the correct list to post on. If not, please direct
me to the appropriate avenue.
I am running a fresh install of NetBSD 3.0.1
I compiled a stripped down kernel as this box will do nothing but act
as a Windows VPN server.
When I try to load mppe-lkm, I get the error:
modload: can't reserve memory: Operation not permitted
This is with a freshly compiled mppe-lkm since installing the binary
package complains of a kernel version mismatch (the binary package is
compiled for 3.0.0 and I'm running 3.0.1)
I compiled mppe-lkm from kernel_ppp_mppe-0.0.4-src.tgz without
changing anything (simply doing 'Make' from the pkgsrc/net/mppe-lkm
directory)
I haven't used NetBSD since playing with 1.3 for a few months. I am a
Linux convert.
In case needed, my kernel options are (in their entirety with
commented options deleted to save bandwidth here):
include "arch/i386/conf/std.i386"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
maxusers 16 # estimated number of users
options I686_CPU
options MATH_EMULATE # floating point emulation
options VM86 # virtual 8086 emulation
options USER_LDT # user-settable LDT; used by WINE
options ENHANCED_SPEEDSTEP
options MTRR # memory-type range register syscall support
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
options NTP # NTP phase/frequency locked loop
options KTRACE # system call tracing via ktrace(1)
options SYSTRACE # system call vetting via systrace(1)
options SYSVMSG # System V-like message queues
options SYSVSEM # System V-like semaphores
options SYSVSHM # System V-like memory sharing
options P1003_1B_SEMAPHORE # p1003.1b semaphore support
options LKM # loadable kernel modules
options USERCONF # userconf(4) support
options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
options BEEP_ONHALT
options BEEP_ONHALT_COUNT=3 # Times to beep
options BEEP_ONHALT_PITCH=440 # Default frequency (in Hz)
options BEEP_ONHALT_PERIOD=450 # Default duration (in msecs)
options DDB # in-kernel debugger
options DDB_HISTORY_SIZE=512 # enable history editing in DDB
options COMPAT_386BSD_MBRPART # recognize old partition ID
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
file-system FFS # UFS
file-system MFS # memory file system
file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system MSDOSFS # MS-DOS file system
#file-system FDESC # /dev/fd
file-system KERNFS # /kern
file-system NULLFS # loopback file system
file-system PROCFS # /proc
file-system UMAPFS # NULLFS + uid and gid remapping
options SOFTDEP # FFS soft updates support.
options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
options IPSEC # IP security
options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
options IPSEC_DEBUG # debug for IP security
options NS # XNS
options ISO,TPIP # OSI
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
options PPP_FILTER # Active filter support for PPP (requires bpf)
options PFIL_HOOKS # pfil(9) packet filter hooks
options IPFILTER_LOG # ipmon(8) log support
options PCIVERBOSE # verbose PCI device autoconfig messages
options WSEMUL_VT100 # VT100 / VT220 emulation
options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
options WS_KERNEL_FG=WSCOL_GREEN
options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8)
options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color
options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
options WSDISPLAY_COMPAT_USL # VT handling
options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
options WSDISPLAY_DEFAULTSCREENS=3
options PCDISPLAY_SOFTCURSOR
config netbsd root on ? type ?
mainbus0 at root
cpu* at mainbus?
pci* at mainbus? bus ?
pci* at ppb? bus ?
pchb* at pci? dev ? function ? # PCI-Host bridges
pcib* at pci? dev ? function ? # PCI-ISA bridges
ppb* at pci? dev ? function ? # PCI-PCI bridges
agp* at pchb?
isa0 at pcib?
npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
pckbc0 at isa? # pc keyboard controller
pckbd* at pckbc? # PC keyboard
vga* at pci? dev ? function ?
wsdisplay* at vga? console ?
wskbd* at pckbd? console ?
pcppi0 at isa?
sysbeep0 at pcppi?
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
atabus* at ata?
wd* at atabus? drive ? flags 0x0000
atapibus* at atapi?
cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
ex* at pci? dev ? function ? # 3Com 90x[BC]
wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b)
exphy* at mii? phy ? # 3Com internal PHYs
midi* at pcppi? # MIDI interface to the PC speaker
pseudo-device crypto # opencrypto framework
pseudo-device raid 8 # RAIDframe disk driver
options RAID_AUTOCONFIG # auto-configuration of RAID components
pseudo-device fss 4 # file system snapshot device
pseudo-device md 1 # memory disk device (ramdisk)
pseudo-device vnd 4 # disk-like interface to files
options VND_COMPRESSION # compressed vnd(4)
pseudo-device bpfilter 8 # Berkeley packet filter
pseudo-device ipfilter # IP filter (firewall) and NAT
pseudo-device loop # network loopback
pseudo-device ppp 2 # Point-to-Point Protocol
pseudo-device pppoe # PPP over Ethernet (RFC 2516)
pseudo-device sl 2 # Serial Line IP
pseudo-device tap # virtual Ethernet
pseudo-device tun 2 # network tunneling over tty
pseudo-device gre 2 # generic L3 over IP tunnel
pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
pseudo-device vlan # IEEE 802.1q encapsulation
pseudo-device bridge # simple inter-network bridging
pseudo-device pty # pseudo-terminals
pseudo-device rnd # /dev/random and in-kernel generator
pseudo-device clockctl # user control of clock subsystem
pseudo-device wsmux # mouse & keyboard multiplexor
pseudo-device wsfont
pseudo-device ksyms # /dev/ksyms
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
me to the appropriate avenue.
I am running a fresh install of NetBSD 3.0.1
I compiled a stripped down kernel as this box will do nothing but act
as a Windows VPN server.
When I try to load mppe-lkm, I get the error:
modload: can't reserve memory: Operation not permitted
This is with a freshly compiled mppe-lkm since installing the binary
package complains of a kernel version mismatch (the binary package is
compiled for 3.0.0 and I'm running 3.0.1)
I compiled mppe-lkm from kernel_ppp_mppe-0.0.4-src.tgz without
changing anything (simply doing 'Make' from the pkgsrc/net/mppe-lkm
directory)
I haven't used NetBSD since playing with 1.3 for a few months. I am a
Linux convert.
In case needed, my kernel options are (in their entirety with
commented options deleted to save bandwidth here):
include "arch/i386/conf/std.i386"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
maxusers 16 # estimated number of users
options I686_CPU
options MATH_EMULATE # floating point emulation
options VM86 # virtual 8086 emulation
options USER_LDT # user-settable LDT; used by WINE
options ENHANCED_SPEEDSTEP
options MTRR # memory-type range register syscall support
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
options NTP # NTP phase/frequency locked loop
options KTRACE # system call tracing via ktrace(1)
options SYSTRACE # system call vetting via systrace(1)
options SYSVMSG # System V-like message queues
options SYSVSEM # System V-like semaphores
options SYSVSHM # System V-like memory sharing
options P1003_1B_SEMAPHORE # p1003.1b semaphore support
options LKM # loadable kernel modules
options USERCONF # userconf(4) support
options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
options BEEP_ONHALT
options BEEP_ONHALT_COUNT=3 # Times to beep
options BEEP_ONHALT_PITCH=440 # Default frequency (in Hz)
options BEEP_ONHALT_PERIOD=450 # Default duration (in msecs)
options DDB # in-kernel debugger
options DDB_HISTORY_SIZE=512 # enable history editing in DDB
options COMPAT_386BSD_MBRPART # recognize old partition ID
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
file-system FFS # UFS
file-system MFS # memory file system
file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system MSDOSFS # MS-DOS file system
#file-system FDESC # /dev/fd
file-system KERNFS # /kern
file-system NULLFS # loopback file system
file-system PROCFS # /proc
file-system UMAPFS # NULLFS + uid and gid remapping
options SOFTDEP # FFS soft updates support.
options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
options IPSEC # IP security
options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
options IPSEC_DEBUG # debug for IP security
options NS # XNS
options ISO,TPIP # OSI
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
options PPP_FILTER # Active filter support for PPP (requires bpf)
options PFIL_HOOKS # pfil(9) packet filter hooks
options IPFILTER_LOG # ipmon(8) log support
options PCIVERBOSE # verbose PCI device autoconfig messages
options WSEMUL_VT100 # VT100 / VT220 emulation
options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
options WS_KERNEL_FG=WSCOL_GREEN
options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8)
options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color
options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
options WSDISPLAY_COMPAT_USL # VT handling
options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
options WSDISPLAY_DEFAULTSCREENS=3
options PCDISPLAY_SOFTCURSOR
config netbsd root on ? type ?
mainbus0 at root
cpu* at mainbus?
pci* at mainbus? bus ?
pci* at ppb? bus ?
pchb* at pci? dev ? function ? # PCI-Host bridges
pcib* at pci? dev ? function ? # PCI-ISA bridges
ppb* at pci? dev ? function ? # PCI-PCI bridges
agp* at pchb?
isa0 at pcib?
npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
pckbc0 at isa? # pc keyboard controller
pckbd* at pckbc? # PC keyboard
vga* at pci? dev ? function ?
wsdisplay* at vga? console ?
wskbd* at pckbd? console ?
pcppi0 at isa?
sysbeep0 at pcppi?
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
atabus* at ata?
wd* at atabus? drive ? flags 0x0000
atapibus* at atapi?
cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
ex* at pci? dev ? function ? # 3Com 90x[BC]
wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b)
exphy* at mii? phy ? # 3Com internal PHYs
midi* at pcppi? # MIDI interface to the PC speaker
pseudo-device crypto # opencrypto framework
pseudo-device raid 8 # RAIDframe disk driver
options RAID_AUTOCONFIG # auto-configuration of RAID components
pseudo-device fss 4 # file system snapshot device
pseudo-device md 1 # memory disk device (ramdisk)
pseudo-device vnd 4 # disk-like interface to files
options VND_COMPRESSION # compressed vnd(4)
pseudo-device bpfilter 8 # Berkeley packet filter
pseudo-device ipfilter # IP filter (firewall) and NAT
pseudo-device loop # network loopback
pseudo-device ppp 2 # Point-to-Point Protocol
pseudo-device pppoe # PPP over Ethernet (RFC 2516)
pseudo-device sl 2 # Serial Line IP
pseudo-device tap # virtual Ethernet
pseudo-device tun 2 # network tunneling over tty
pseudo-device gre 2 # generic L3 over IP tunnel
pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
pseudo-device vlan # IEEE 802.1q encapsulation
pseudo-device bridge # simple inter-network bridging
pseudo-device pty # pseudo-terminals
pseudo-device rnd # /dev/random and in-kernel generator
pseudo-device clockctl # user control of clock subsystem
pseudo-device wsmux # mouse & keyboard multiplexor
pseudo-device wsfont
pseudo-device ksyms # /dev/ksyms
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de