Hello, on RELENG_5, cvsupped March 9th, I can't kldload pf: fw# kldload pf kldload: can't load pf: No such file or directory fw# kldload /boot/kernel/pf.ko kldload: can't load /boot/kernel/pf.ko: No such file or directory fw# kldstat Id Refs Address Size Name 1 6 0xc0400000 2a8a44 kernel 2 1 0xc0c28000 6000 geom_bde.ko 3 4 0xc0d14000 12000 netgraph.ko 4 2 0xc0d2a000 4000 ng_ether.ko 5 1 0xc0d2f000 7000 ng_pppoe.ko 6 1 0xc0d37000 5000 ng_socket.ko fw# ls -l /boot/kernel/pf* -r-xr-xr-x 1 root wheel 170382 Mar 10 17:18 /boot/kernel/pf.ko fw# sysctl kern.module_path kern.module_path: /boot/kernel;/boot/modules Attached is the kernel config file. Any idea what's going wrong here? Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/ -------------- next part -------------- # SOEKRIS kernel config file. machine i386 #cpu I386_CPU cpu I486_CPU cpu I586_CPU ident SOEKRIS options CPU_SOEKRIS #Enable Soekris hardware stuff. options CPU_GEODE #GEODE GL1100 Chips (Soekris) #device pf #Enable PF. options SCHED_4BSD # 4BSD scheduler options INET # InterNETworking #options INET6 # InterNETworking V6. options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=8000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. #device apic # I/O APIC # Bus support. Do not remove isa, even if you have no isa slots device isa device eisa device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives options ATA_STATIC_ID # Static device numbering device agp # support several AGP chipsets # Floating point support - do not disable. device npx # Add suspend/resume support for the i8254. device pmtimer # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports device miibus # MII bus support device sis # Silicon Integrated Systems SiS 900/SiS 7016 # Pseudo devices. device loop # Network loopback device mem # Memory and kernel memory devices device io # I/O device device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic
On Thursday 10 March 2005 18:52, cpghost@cordula.ws wrote:> Hello, > > on RELENG_5, cvsupped March 9th, I can't kldload pf: > > fw# kldload pf > kldload: can't load pf: No such file or directory > > fw# kldload /boot/kernel/pf.ko > kldload: can't load /boot/kernel/pf.ko: No such file or directory > > fw# kldstat > Id Refs Address Size Name > 1 6 0xc0400000 2a8a44 kernel > 2 1 0xc0c28000 6000 geom_bde.ko > 3 4 0xc0d14000 12000 netgraph.ko > 4 2 0xc0d2a000 4000 ng_ether.ko > 5 1 0xc0d2f000 7000 ng_pppoe.ko > 6 1 0xc0d37000 5000 ng_socket.ko > > fw# ls -l /boot/kernel/pf* > -r-xr-xr-x 1 root wheel 170382 Mar 10 17:18 /boot/kernel/pf.ko > > fw# sysctl kern.module_path > kern.module_path: /boot/kernel;/boot/modules > > Attached is the kernel config file. > > Any idea what's going wrong here?You don't have "options INET6" in your kernel config, but the pf module assumes that it is there. You can either built pf into the kernel (since you are building a custom kernel anyway), rebuild the module without that assumption (see the module's Makefile) or you can reenable "options INET6" in the kernel. The ENOENT error returned from kldload is a bit misleading, though. -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050310/8ef85a47/attachment.bin
On Thu, 10 Mar 2005 18:52:08 +0100 cpghost@cordula.ws wrote:> Hello, > > on RELENG_5, cvsupped March 9th, I can't kldload pf: > > fw# kldload pf > kldload: can't load pf: No such file or directory > > fw# kldload /boot/kernel/pf.ko > kldload: can't load /boot/kernel/pf.ko: No such file or directoryman kldload (a short page) has your answer. note the syntax.