Re: kldload won't load

From: Jason Dusek <jason-dusek_at_uiowa.edu>
Date: Mon, 12 Jul 2004 17:31:25 -0500
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
     root_at_pikachu:/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=0xa7e9f9bf<FPU,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 0xe0000000-0xe7ffffff 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 
0xfaff0000-0xfaffffff 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 0xc0000-0xcffff 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 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1495156364 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
acpi_cpu0: Performance states changed
pccard1: <unknown card> (manufacturer=0xffff, product=0x0001) at function 0
pccard1:    CIS info: O2Micro, SmartCardBus Reader, V1.0
GEOM: create disk ad0 dp=0xc4460d60
ad0: 38154MB <HTS548040M9AT00> [77520/16/63] at ata0-master UDMA100
acd0: CDRW <QSI CD-RW/DVD-ROM SBW242U> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
drm0: <ATI Radeon Lf R250 Mobility 9000 M9> port 0xc000-0xc0ff mem 
0xfcff0000-0xfcffffff,0xe8000000-0xefffffff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xe0000000 128MB
info: [drm] Initialized radeon 1.10.0 20020828 on minor 0
info: [drm] Loading R200 Microcode
drm0: [MPSAFE]
link_elf: symbol device_get_sysctl_ctx undefined
link_elf: symbol device_get_sysctl_ctx undefined
link_elf: symbol device_get_sysctl_ctx undefined
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
pcib1: slot 0 INTA is routed to irq 11
pcib2: slot 0 INTA is routed to irq 11
pcib2: slot 1 INTA is routed to irq 11
pcib2: slot 1 INTA is routed to irq 11
pcib2: slot 3 INTA is routed to irq 11
wakeup from sleeping state (slept 00:01:42)
acpi_cpu0: Performance states changed
pccard1: <unknown card> (manufacturer=0xffff, product=0x0001) at function 0
pccard1:    CIS info: O2Micro, SmartCardBus Reader, V1.0
info: [drm] Loading R200 Microcode
acpi_cpu0: Performance states changed
system power profile changed to 'economy'
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
pcib1: slot 0 INTA is routed to irq 11
pcib2: slot 0 INTA is routed to irq 11
pcib2: slot 1 INTA is routed to irq 11
pcib2: slot 1 INTA is routed to irq 11
pcib2: slot 3 INTA is routed to irq 11
wakeup from sleeping state (slept 00:13:41)
pccard1: <unknown card> (manufacturer=0xffff, product=0x0001) at function 0
pccard1:    CIS info: O2Micro, SmartCardBus Reader, V1.0
info: [drm] Loading R200 Microcode
acpi_cpu0: Performance states changed
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
pcib1: slot 0 INTA is routed to irq 11
pcib2: slot 0 INTA is routed to irq 11
pcib2: slot 1 INTA is routed to irq 11
pcib2: slot 1 INTA is routed to irq 11
pcib2: slot 3 INTA is routed to irq 11
wakeup from sleeping state (slept 00:28:19)
system power profile changed to 'performance'
pccard1: <unknown card> (manufacturer=0xffff, product=0x0001) at function 0
pccard1:    CIS info: O2Micro, SmartCardBus Reader, V1.0
info: [drm] Loading R200 Microcode
link_elf: symbol device_get_sysctl_ctx undefined

Cheers,

   Jason

Jason Dusek wrote:
> 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
>> robert_at_fledge.watson.org      Principal Research Scientist, McAfee 
>> Research
>>
>>
>> _______________________________________________
>> freebsd-current_at_freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to 
>> "freebsd-current-unsubscribe_at_freebsd.org"
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Mon Jul 12 2004 - 20:29:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:01 UTC