Re: kldload won't load
Jason Dusek [EMAIL PROTECTED] writes: FreeBSD 5.2.1-RELEASE #0: Wed Jul 7 16:20:55 CDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM [...] link_elf: symbol device_get_sysctl_ctx undefined Could you please show me the output of the following command: $ grep FreeBSD_version /sys/sys/param.h DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kldload won't load
Sure: 1 # grep FreeBSD_version /sys/sys/param.h * __FreeBSD_version numbers are documented in the Porter's Handbook. #undef __FreeBSD_version #define __FreeBSD_version 502121/* Master, propagated to newvers */ #if (defined(BURN_BRIDGES) || __FreeBSD_version = 60) \ Dag-Erling Smørgrav wrote: Jason Dusek [EMAIL PROTECTED] writes: FreeBSD 5.2.1-RELEASE #0: Wed Jul 7 16:20:55 CDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM [...] link_elf: symbol device_get_sysctl_ctx undefined Could you please show me the output of the following command: $ grep FreeBSD_version /sys/sys/param.h DES ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kldload won't load
Jason Dusek [EMAIL PROTECTED] writes: 1 # grep FreeBSD_version /sys/sys/param.h * __FreeBSD_version numbers are documented in the Porter's Handbook. #undef __FreeBSD_version #define __FreeBSD_version 502121/* Master, propagated to newvers */ #if (defined(BURN_BRIDGES) || __FreeBSD_version = 60) \ You tried to build a 5.2.1 module from 5-CURRENT sources. Don't do that. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kldload won't load
Hi, Yesterday I built the ndis module (ndis.ko) but I can't seem to load it: 5 # ls /sys/modules/ndis/ | grep 'ndis' kern_ndis.o ndis.kld ndis.ko subr_ndis.o 6 # kldload -v /sys/modules/ndis/ndis.ko kldload: can't load /sys/modules/ndis/ndis.ko: No such file or directory I'm running 5.2.1, and I have not done a buildworld since I installed from the CD. Is there something wrong with kldload? Will 'make world' with new source fix this problem? - Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kldload won't load
On Mon, Jul 12, 2004 at 02:29:40PM -0500, Jason Dusek wrote: Hi, Yesterday I built the ndis module (ndis.ko) but I can't seem to load it: 5 # ls /sys/modules/ndis/ | grep 'ndis' kern_ndis.o ndis.kld ndis.ko subr_ndis.o 6 # kldload -v /sys/modules/ndis/ndis.ko kldload: can't load /sys/modules/ndis/ndis.ko: No such file or directory I'm running 5.2.1, and I have not done a buildworld since I installed from the CD. Is there something wrong with kldload? Will 'make world' with new source fix this problem? - Jason I believe that kldload will look for modules in /boot/kernel. I'm not exactly sure what /sys/modules represent, but you might try to move the module from /sys/modules to /boot/kernel and then try to load it with kldload. Someone else can likely shed more light on this. Nathan -- PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD8527E49 pgpM4SeZhMnuj.pgp Description: PGP signature
Re: kldload won't load
Jason Dusek wrote: Hi, Yesterday I built the ndis module (ndis.ko) but I can't seem to load it: 5 # ls /sys/modules/ndis/ | grep 'ndis' kern_ndis.o ndis.kld ndis.ko subr_ndis.o 6 # kldload -v /sys/modules/ndis/ndis.ko kldload: can't load /sys/modules/ndis/ndis.ko: No such file or directory I'm running 5.2.1, and I have not done a buildworld since I installed from the CD. Is there something wrong with kldload? Will 'make world' with new source fix this problem? /sys is usually a symbolic link pointing to /usr/src/sys. Kldload might not follow symlinks. Have a nice, Andrew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kldload won't load
So, the problem is *not* that kldload can not find the file? There is something new at the bottom of my dmesg: link_elf: symbol device_get_sysctl_ctx undefined What's this mean and how do I fix ndis? - Jason Robert Watson wrote: On Mon, 12 Jul 2004, John Polstra wrote: On 12-Jul-2004 Doug Rabson wrote: Hmm. Maybe the simplest thing would be to print the link errors using uprintf() instead of printf(). That's a good idea. It would be a lot better than what we have now. If possible, we should printf() as well, since linker errors may not happen in the context of a supervising user. I.e., during the boot process, etc. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects [EMAIL PROTECTED] Principal Research Scientist, McAfee Research ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kldload won't load
Here is the whole dmesg: Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2.1-RELEASE #0: Wed Jul 7 16:20:55 CDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM Preloaded elf kernel /boot/kernel/kernel at 0xc07e7000. Preloaded elf module /boot/kernel/acpi.ko at 0xc07e71cc. Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1500MHz (1495.16-MHz 686-class CPU) Origin = GenuineIntel Id = 0x695 Stepping = 5 Features=0xa7e9f9bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE real memory = 536535040 (511 MB) avail memory = 515690496 (491 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: DELL CPi R on motherboard pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fc580 Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 acpi_cpu0: CPU on acpi0 acpi_tz0: Thermal Zone port 0x530-0x537 on acpi0 acpi_acad0: AC Adapter on acpi0 acpi_cmbat0: Control Method Battery on acpi0 acpi_cmbat1: Control Method Battery on acpi0 acpi_lid0: Control Method Lid Switch on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib0: slot 29 INTA is routed to irq 11 pcib0: slot 29 INTB is routed to irq 11 pcib0: slot 29 INTC is routed to irq 11 pcib0: slot 29 INTD is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 agp0: Intel 82855 host to AGP bridge mem 0xe000-0xe7ff at device 0.0 on pci0 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 pcib1: slot 0 INTA is routed to irq 11 pci1: display, VGA at device 0.0 (no driver attached) uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0xbf80-0xbf9f irq 11 at device 29.0 on pci0 usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0xbf40-0xbf5f irq 11 at device 29.1 on pci0 usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0xbf20-0xbf3f irq 11 at device 29.2 on pci0 usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: serial bus, USB at device 29.7 (no driver attached) pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0 pci2: ACPI PCI bus on pcib2 pcib2: slot 0 INTA is routed to irq 11 pcib2: slot 3 INTA is routed to irq 11 bge0: Broadcom BCM5705M Gigabit Ethernet, ASIC rev. 0x3001 mem 0xfaff-0xfaff irq 11 at device 0.0 on pci2 bge0: Ethernet address: 00:0f:1f:b3:18:45 miibus0: MII bus on bge0 brgphy0: BCM5705 10/100/1000baseTX PHY on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto cbb0: PCI-CardBus Bridge at device 1.0 on pci2 cardbus0: CardBus bus on cbb0 pccard0: 16-bit PCCard bus on cbb0 pcib2: slot 1 INTA is routed to irq 11 cbb0: [MPSAFE] cbb1: PCI-CardBus Bridge at device 1.1 on pci2 cardbus1: CardBus bus on cbb1 pccard1: 16-bit PCCard bus on cbb1 pcib2: slot 1 INTA is routed to irq 11 cbb1: [MPSAFE] pci2: network at device 3.0 (no driver attached) isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH4 UDMA100 controller port 0xbfa0-0xbfaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pcm0: Intel ICH4 (82801DB) port 0xbc40-0xbc7f,0xb800-0xb8ff mem 0xf4fff400-0xf4fff4ff,0xf4fff800-0xf4fff9ff irq 11 at device 31.5 on pci0 pcm0: SigmaTel STAC9750/51 AC97 Codec pci0: simple comms at device 31.6 (no driver attached) atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 1 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: Parallel port bus on ppc0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port orm0: Option ROM at iomem 0xc-0xc on isa0 pmtimer0 on isa0 fdc0: ready for input in output fdc0: cmd 3 failed at out byte 1 of 3 sc0: System console at flags 0x100 on isa0 sc0: VGA 16