Страница 1 из 1

Как заставить FreeBSD загрузить .ko который уже в ядре?

Добавлено: 2012-05-03 19:32:11
DigitalSpirit
Как заставить FreeBSD загрузить .ko модуль который уже есть в kernel ?
Пытаюсь запустить новый pci/ath модуль в pfSense 2.0.1-RELEASE но грузится модуль из kernel

Код: Выделить всё

$ kldstat -v
Id Refs Address    Size     Name
 1   13 0xc0400000 ea82f8   kernel (/boot/kernel/kernel)
	Contains modules:
		Id Name
		86 ataraid
		12 pflog
		345 if_lo
		13 pfsync
		339 enc
		14 pf
		383 ng_socket
		330 shell
		329 elf32
		313 pseudofs
		341 if_faith
		399 cryptodev
		348 if_vlan
		344 if_lagg
		343 if_gre
		337 bridgestp
		390 carp
		278 uether
		391 ip_mroute
		393 mld
		346 if_tun
		392 ip6_mroute
		389 igmp
		342 if_gif
		338 if_bridge
		377 ng_pipe
		363 ng_car
		376 ng_one2many
		359 ng_async
		375 ng_mppc
		374 ng_lmi
		362 ng_bridge
		373 ng_l2tp
		358 ng_UI
		372 ng_ksocket
		361 ng_bpf
		371 ng_iface
		370 ng_hole
		369 ng_framerelay
		388 ng_vlan
		387 ng_vjc
		386 ng_tty
		385 ng_tee
		384 ng_tcpmss
		368 ng_ether
		367 ng_eiface
		382 ng_rfc1490
		366 ng_echo
		381 ng_pred1
		380 ng_pptpgre
		379 ng_pppoe
		365 ng_deflate
		378 ng_ppp
		364 ng_cisco
		334 sysvmsg
		335 sysvsem
		336 sysvshm
		397 nfsserver
		404 krpc
		394 nfs_common
		398 nfssvc
		405 ufs
		312 procfs
		311 msdosfs
		310 devfs
		395 nfs
		328 cd9660
		 2 cam
		56 ata
		321 g_part_ebr
		320 g_part_bsd
		 7 cd
		 4 aprobe
		 5 pmp
		11 ses
		10 pass
		 6 probe
		228 rndtest
		 8 ada
		 3 xpt
		 9 da
		322 g_part_mbr
		215 puc/ppc
		214 pci/ppc
		213 isa/ppc
		212 acpi/ppc
		211 ppbus/ppi
		59 atapci/ata
		210 ppc/ppbus
		452 isa/vga
		451 vgapci/vgapm
		209 pci/pcn
		450 isa/sc
		449 isa/atrtc
		448 acpi/atrtc
		208 pcn/miibus
		58 isa/ata
		447 legacy/pir
		207 pci/vgapci
		206 pci/pcib
		446 legacy/pcib
		445 isa/pcibus_pnp
		444 pci/pcibios_pcib
		443 nexus/npx
		442 isa/npxisa
		441 acpi/npxisa
		440 isa/atdma
		439 acpi/atdma
		438 legacy/isa
		205 pcib/pci
		57 pccard/ata
		437 isa/attimer
		436 acpi/attimer
		115 pci/em
		435 isa/atpic
		434 acpi/atpic
		22 acpi/acpi_button
		17 aac/aacd
		33 cpu/acpi_perf
		21 acpi/acpi_acad
		433 root/nexus
		432 nexus/ram
		431 isa/sysresource
		32 pci/acpi_pcib
		430 legacy/mptable_pcib
		429 pci/mptable_pcib
		204 pci/isab
		203 pci/ignore_pci
		428 pci/piix
		202 pci/hostb
		201 pci/fixup_pci
		200 pci/eisab
		199 pci/cbb
		31 acpi/acpi_pcib
		16 aac/aacp
		198 isa/cbb
		25 acpi/acpi_ec
		55 pci/an
		54 pccard/an
		427 nexus/legacy
		426 legacy/cpu
		53 isa/an
		19 pci/aac
		52 pci/amr
		425 pci/ioapic
		424 nexus/apic
		197 pcic/pccard
		196 cbb/pccard
		195 null
		423 pci/geode
		194 pci/nge
		193 nge/miibus
		114 eisa/mainboard
		422 isa/pnpbios
		113 eisab/eisa
		112 legacy/eisa
		111 pci/ed
		188 pci/mxge
		110 pccard/ed
		186 pci/mwl
		109 ed/miibus
		421 root/nexus_acpi
		108 pci/de
		420 pci/wpi
		419 scrndr-vga
		418 scterm-scteken
		107 miibus/pnphy
		417 speaker
		416 pci/nve
		415 nve/miibus
		414 io
		413 pci/hptmv
		106 miibus/dcphy
		412 isa/ed
		105 pci/dc
		411 isa/atkbdc
		410 acpi/atkbdc
		409 atkbdc/atkbd
		408 pci/arcmsr
		104 dc/miibus
		407 nexus/padlock
		51 amr/amrd
		24 acpi/cpu
		30 acpi/acpi_pci_link
		185 pci/mskc
		184 mskc/msk
		183 msk/miibus
		182 miibus/xmphy
		181 miibus/ukphy
		180 miibus/truephy
		179 miibus/tlphy
		178 miibus/tdkphy
		177 miibus/smcphy
		176 miibus/ruephy
		175 miibus/rlphy
		174 miibus/rgephy
		173 miibus/qsphy
		172 miibus/pnaphy
		171 miibus/nsphyter
		170 miibus/nsphy
		169 miibus/nsgphy
		168 miibus/mlphy
		167 miibus/lxtphy
		166 miibus/jmphy
		165 miibus/ip1000phy
		164 miibus/inphy
		163 miibus/icsphy
		162 miibus/gentbi
		161 miibus/xlphy
		160 miibus/e1000phy
		159 miibus/ciphy
		158 miibus/brgphy
		157 miibus/bmtphy
		156 miibus/axphy
		155 miibus/atphy
		154 miibus/amphy
		403 pci/rl
		402 cardbus/rl
		401 rl/miibus
		153 miibus/acphy
		400 nexus/cryptosoft
		331 cpu/cpufreq
		152 mem
		20 nexus/acpi
		50 pci/ale
		49 ale/miibus
		396 nfslock
		103 pci/cxgbc
		150 pci/malo
		102 cxgbc/cxgb
		29 pcib/acpi_pci
		18 pci/aacch
		48 pci/alc
		47 alc/miibus
		149 pci/lge
		148 lge/miibus
		46 ahc
		45 ahd
		147 kbdmux
		327 isa/pnp
		326 isa/orm
		146 pci/ixgbe
		325 isab/isa
		324 eisab/isa
		101 pci/cas
		100 cas/miibus
		44 pci/ahd
		43 pci/ahc_pci
		99 cbb/cardbus
		42 isa/ahc_isa
		41 eisa/ahc_eisa
		98 siba_bwn/bwn
		145 pci/ixgb
		97 pci/bwi
		96 pci/bktr
		95 pci/bge
		94 bge/miibus
		40 pci/ae
		139 pci/iwn
		138 pci/iwi
		93 pci/bfe
		92 bfe/miibus
		91 pci/bce
		134 pci/ipw
		133 pci/iir
		90 bce/miibus
		132 pci/ida
		131 eisa/ida
		130 ida/idad
		129 pci/hme
		128 hme/miibus
		127 pci/hifn
		126 pci/fxp
		125 fxp/miibus
		39 ae/miibus
		28 acpi/acpi_lid
		38 acpi/acpi_timer
		89 pci/ath
		37 cpu/acpi_throttle
		36 acpi/acpi_tz
		27 acpi/acpi_isab
		23 acpi/acpi_cmbat
		124 firewire/sbp
		88 ata/acd
		35 acpi/acpi_smbat
		87 ad/subdisk
		34 acpi/acpi_sysresource
		123 firewire/fwe
		309 pci/xl
		308 xl/miibus
		122 pci/fwohci
		306 pci/wi
		305 pccard/wi
		304 pci/wb
		303 wb/miibus
		302 watchdog
		301 pci/vx
		300 eisa/vx
		299 pci/vr
		298 vr/miibus
		85 ata/ad
		297 pci/vge
		296 vge/miibus
		84 pci/ata_via
		295 uhub/ukbd
		83 pci/ata_sis
		82 pci/ata_sii
		121 fwohci/firewire
		294 uhub/uvscom
		293 uhub/uvisor
		292 uhub/uplcom
		291 uhub/umodem
		290 uhub/umct
		289 uhub/uftdi
		288 uhub/ufoma
		287 uhub/uark
		286 uhub/u3g
		285 uhub/zyd
		120 exca
		81 pci/ata_serverworks
		284 uhub/urtw
		283 uhub/ural
		282 uhub/if_upgt
		119 pci/et
		281 uhub/uath
		280 uhub/run
		279 uhub/rum
		277 uhub/udav
		276 udav/miibus
		275 uhub/rue
		274 rue/miibus
		273 uhub/kue
		272 uhub/cue
		271 uhub/cdce
		270 uhub/axe
		269 axe/miibus
		347 if_tap
		268 uhub/aue
		267 aue/miibus
		266 usbus/uhub
		265 uhub/uhub
		118 et/miibus
		80 pci/ata_promise
		79 pci/ata_nvidia
		78 pci/ata_netcell
		77 pci/ata_national
		117 pci/igb
		76 pci/ata_micron
		75 pci/ata_marvell
		264 uhub/usb_linux
		263 uhub/umass
		74 pci/ata_jmicron
		262 ohci/usbus
		261 uhci/usbus
		260 ehci/usbus
		259 at91_udp/usbus
		258 uss820/usbus
		257 pci/uhci
		256 pci/ohci
		255 pci/ehci
		254 pci/ubsec
		73 pci/ata_ite
		253 puc/uart
		252 pci/uart
		251 pccard/uart
		250 isa/uart
		249 acpi/uart
		72 pci/ata_intel
		248 pci/txp
		247 pci/tx
		246 tx/miibus
		245 pci/twe
		244 twe/twed
		71 pci/ata_highpoint
		70 pci/ata_cyrix
		243 pci/twa
		242 pci/tl
		241 tl/miibus
		240 pci/ti
		69 pci/ata_cypress
		239 pci/ste
		238 ste/miibus
		68 pci/ata_cenatek
		237 pci/skc
		236 skc/sk
		235 sk/miibus
		234 pci/sis
		233 sis/miibus
		232 pci/siba_bwn
		231 pci/sf
		230 sf/miibus
		229 pci/safe
		67 pci/ata_ati
		66 pci/ata_amd
		227 pci/re
		226 re/miibus
		116 pci/lem
		225 random
		65 pci/ata_adaptec
		64 pci/ata_ali
		63 pci/ata_acard
		62 pci/ata_ahci
		220 pci/ral
		219 pci/puc
		218 pccard/puc
		61 atapci/ata_ahci_ata
		26 acpi/acpi_hpet
		217 pstpci/pst
		216 pci/pstpci
		60 pci/atapci
		351 wlan_amrr
		143 iwn5150fw_fw
		350 wlan_wlan_acl
		142 iwn5000fw_fw
		349 zlib
		141 iwn4965fw_fw
		332 rootbus
		192 mxge_rss_ethp_z8e_fw
		191 mxge_rss_eth_z8e_fw
		190 mxge_ethp_z8e_fw
		189 mxge_eth_z8e_fw
		187 mwl_fw
		151 g_md
		317 g_label
		406 g_class
		316 g_vfs
		140 iwn1000fw_fw
		315 g_disk
		314 g_dev
		15 rc4
		323 g_uzip
		319 g_part
		224 rt2860_fw
		223 rt2661_fw
		357 wlan_xauth
		356 wlan_sta
		222 rt2561s_fw
		333 firmware
		221 rt2561_fw
		144 iwn6000fw_fw
		355 wlan
		318 g_mirror
		354 wlan_wep
		353 wlan_tkip
		352 wlan_ccmp
		360 netgraph
		340 ether
		453 x86bios
 2    2 0xc12a9000 8a5d0    if_ath.ko (/boot/kernel/if_ath.ko)
	Contains modules:
		Id Name
 3    1 0xc1334000 3114     if_ath_pci.ko (/boot/kernel/if_ath_pci.ko)
	Contains modules:
		Id Name
		 1 pci/ath_pci
 4    1 0xc40ff000 b000     cpufreq.ko (/boot/kernel/cpufreq.ko)
	Contains modules:
		Id Name
		459 cpu/smist
		458 cpu/powernow
		457 cpu/p4tcc
		456 cpu/hwpstate
		455 cpu/est
		454 cpu/ichss

Re: Как заставить FreeBSD загрузить .ko который уже в ядре?

Добавлено: 2012-05-03 20:05:02
tynix
Пересобирать ядро с отключенным ath.

Re: Как заставить FreeBSD загрузить .ko который уже в ядре?

Добавлено: 2012-05-03 20:51:46
DigitalSpirit
tynix писал(а):Пересобирать ядро с отключенным ath.
тогда остальное ломается : loopback detected