[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[openbsd] modload ipflow error
Подскажите пожалуйста что не так? Собирается без проблемм, на десктопе
тоже все завелось, а на продакшн сервере ну ни как не хочет вгрузиться
Заранее даже не знаю чем отблагодарить за направление флюгера в нужную
сторону.
dem@home:~/distr/ipflow-1.4$ sudo modload -d /usr/lkm/ipflow.o
ld -Z -R /bsd -e ipflow_lkmentry -o /usr/lkm/ipflow -Ttext 0x0
/usr/lkm/ipflow.o
.text: addr = 0x0 size = 0x1dee align = 0x40
.shstrtab: addr = 0x0 size = 0x3e align = 0x1
.symtab: addr = 0x0 size = 0x5f6b8 align = 0x8
.strtab: addr = 0x0 size = 0x3c8ea align = 0x1
.rodata: addr = 0x1e00 size = 0x124 align = 0x20
.data: addr = 0x102000 size = 0x1f0 align = 0x20
.data section forced to offset 0x1f40 (was 0x102000)
.eh_frame: addr = 0x1021f0 size = 0x590 align = 0x8
.bss: addr = 0x102780 size = 0x90 align = 0x20
ld -Z -R /bsd -e ipflow_lkmentry -o /usr/lkm/ipflow -Ttext
0xffff800016efe000 -Tdata 0xffff800016efff40 /usr/lkm/ipflow.o
/usr/lkm/ipflow.o(.text+0x7ec): In function `ipflow_init':
: relocation truncated to fit: R_X86_64_32S ipflow_mtx
/usr/lkm/ipflow.o(.text+0x7f1): In function `ipflow_init':
: relocation truncated to fit: R_X86_64_PC32 mtx_init
/usr/lkm/ipflow.o(.text+0x80f): In function `ipflow_init':
: relocation truncated to fit: R_X86_64_PC32 malloc
/usr/lkm/ipflow.o(.text+0x883): In function `ipflow_realloc':
: relocation truncated to fit: R_X86_64_PC32 malloc
/usr/lkm/ipflow.o(.text+0x897): In function `ipflow_realloc':
: relocation truncated to fit: R_X86_64_32S ipflow_mtx
/usr/lkm/ipflow.o(.text+0x89c): In function `ipflow_realloc':
: relocation truncated to fit: R_X86_64_PC32 mtx_enter
/usr/lkm/ipflow.o(.text+0x8b7): In function `ipflow_realloc':
: relocation truncated to fit: R_X86_64_PC32 free
/usr/lkm/ipflow.o(.text+0x8be): In function `ipflow_realloc':
: relocation truncated to fit: R_X86_64_32S ipflow_mtx
/usr/lkm/ipflow.o(.text+0x8d0): In function `ipflow_realloc':
: relocation truncated to fit: R_X86_64_PC32 mtx_leave
/usr/lkm/ipflow.o(.text+0x8f0): In function `ipflow_realloc':
: relocation truncated to fit: R_X86_64_PC32 bcopy
/usr/lkm/ipflow.o(.text+0x990): In function `ipflow_free':
: additional relocation overflows omitted from the output
modload: can't link `/usr/lkm/ipflow.o' creating `/usr/lkm/ipflow' bound
to 0xffff800016efe000
cat /var/run/dmesg.boot
OpenBSD 4.1-current (GENERIC.MP) #0: Thu Jun 21 13:17:02 EEST 2007
dem@home:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2147020800 (2047MB)
avail mem = 2073321472 (1977MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfad40 (70 entries)
bios0: Supermicro H8DM8-2
acpi at mainbus0 not configured
ipmi0: bus_space_map(1 0 2 0 0xffffffff80c29bd8) failed
ipmi at mainbus0 not configured
mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Dual-Core AMD Opteron(tm) Processor 2212, 2010.59 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu0: apic clock running at 201MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Dual-Core AMD Opteron(tm) Processor 2212, 2010.30 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Dual-Core AMD Opteron(tm) Processor 2212, 2010.30 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu2: DTLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Dual-Core AMD Opteron(tm) Processor 2212, 2010.30 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu3: DTLB 32 4KB entries fully associative, 8 4MB entries fully
associative
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type PCI
mpbios: bus 3 is type PCI
mpbios: bus 4 is type PCI
mpbios: bus 5 is type PCI
mpbios: bus 6 is type PCI
mpbios: bus 7 is type PCI
mpbios: bus 8 is type PCI
mpbios: bus 9 is type PCI
mpbios: bus 10 is type ISA
ioapic0 at mainbus0 apid 4 pa 0xfec00000, version 11, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1
"NVIDIA MCP55 Memory" rev 0xa2 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 "NVIDIA MCP55 ISA" rev 0xa3
nviic0 at pci0 dev 1 function 1 "NVIDIA MCP55 SMBus" rev 0xa3
iic0 at nviic0
iic1 at nviic0
iic1: addr 0x2c 05=f1 06=ff 07=f9 08=ff 09=64 0a=64 0b=58 0c=40 0d=a3
0e=7b 0f=12 10=a5 11=a5 12=8c 13=ff 14=36 15=36 16=6e 17=e0 18=cf 19=c7
1a=bc 1b=3d 1c=16 1d=13 22=01 24=66 26=60 28=60 29=0f 2b=0f 2d=0f 2f=0f
31=0f 3b=ff 3c=ff 3d=ff 3e=ff 3f=ff 40=09 43=80 46=f7 47=cf 48=e3 49=7f
4a=3f 4d=e0 4e=03 50=1e 51=06 52=01 58=43 59=01 5c=07 5e=05 60=ca 61=87
62=ca 63=87 64=a5 65=87 66=ff 67=ff 68=3f 6a=ff 6c=ff 6e=7c 6f=65 70=f7
71=ca 72=e5 73=bb 74=e5 75=bb 76=e3 77=b9 78=48 79=43 7a=41 7b=38 7c=48
7d=43 7e=41 7f=38 80=64 81=5f 82=55 83=50 84=64 85=5f 86=55 87=50 88=64
89=5f 8a=55 8b=50 8c=64 8d=5f 8e=55 8f=50 90=07 91=68 92=07 93=68 94=07
95=68 96=07 97=68 98=07 99=68 9a=07 9b=68 9c=07 9d=68 9e=07 9f=68 a0=ff
a1=ff a2=ff a3=ff a4=ff a5=ff a6=ff a7=ff a8=f0 a9=f0 ae=ff af=ff b0=02
b1=01 b2=3f b3=3f b4=3f b5=3f b6=3f b7=3f b8=3f b9=3f ba=3f bb=89 bc=89
bd=89 be=89 bf=89 c0=89 c1=89 c2=89 c3=06 c4=06 c5=50 c6=ff c9=ff ca=ff
cb=ff cc=ff cd=ff ce=ff cf=ff d1=46 d2=46 d3=46 d4=46 d6=f0 d7=ff d8=80
d9=01 da=80 db=01 dc=80 dd=01 de=80 df=01 e0=bb e1=c0 e2=82 e3=ff e4=80
e5=0a e6=fd e7=fe e8=12 e9=10 ea=2c eb=8c ec=ff ed=ff ee=ff ef=ff f6=60
f7=80 f8=1b fa=ff fd=10
lm1 at iic1 addr 0x2d: W83627HF
"NVIDIA MCP55 Memory" rev 0xa3 at pci0 dev 1 function 2 not configured
ohci0 at pci0 dev 2 function 0 "NVIDIA MCP55 USB" rev 0xa1: apic 4 int 7
(irq 7), version 1.0, legacy support
ehci0 at pci0 dev 2 function 1 "NVIDIA MCP55 USB" rev 0xa2: apic 4 int 10
(irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1
pciide0 at pci0 dev 4 function 0 "NVIDIA MCP55 IDE" rev 0xa1: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <MATSHITA, DVD-ROM SR-8178, PZ16> SCSI0
5/cdrom removable
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 5 function 0 "NVIDIA MCP55 SATA" rev 0xa3: DMA
pciide1: using apic 4 int 11 (irq 11) for native-PCI interrupt
pciide2 at pci0 dev 5 function 1 "NVIDIA MCP55 SATA" rev 0xa3: DMA
pciide2: using apic 4 int 5 (irq 5) for native-PCI interrupt
wd0 at pciide2 channel 0 drive 0: <ST3250620NS>
wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd0(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide2 channel 1 drive 0: <ST3250620NS>
wd1: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd1(pciide2:1:0): using PIO mode 4, Ultra-DMA mode 5
pciide3 at pci0 dev 5 function 2 "NVIDIA MCP55 SATA" rev 0xa3: DMA
pciide3: using apic 4 int 10 (irq 10) for native-PCI interrupt
ppb0 at pci0 dev 6 function 0 "NVIDIA MCP55 PCI-PCI" rev 0xa2
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 "ATI ES1000" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
nfe0 at pci0 dev 8 function 0 "NVIDIA MCP55 LAN" rev 0xa3: apic 4 int 10
(irq 10), address 00:30:48:79:1b:78
eephy0 at nfe0 phy 2: Marvell 88E1149 Gigabit PHY, rev. 1
nfe1 at pci0 dev 9 function 0 "NVIDIA MCP55 LAN" rev 0xa3: apic 4 int 11
(irq 11), address 00:30:48:79:1b:79
eephy1 at nfe1 phy 3: Marvell 88E1149 Gigabit PHY, rev. 1
ppb1 at pci0 dev 10 function 0 "NVIDIA MCP55 PCIE" rev 0xa3
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 "NEC PCIE-PCIX" rev 0x07
pci3 at ppb2 bus 3
ppb3 at pci2 dev 0 function 1 "NEC PCIE-PCIX" rev 0x07
pci4 at ppb3 bus 4
ppb4 at pci0 dev 11 function 0 "NVIDIA MCP55 PCIE" rev 0xa3
pci5 at ppb4 bus 5
ppb5 at pci0 dev 12 function 0 "NVIDIA MCP55 PCIE" rev 0xa3
pci6 at ppb5 bus 6
ppb6 at pci0 dev 13 function 0 "NVIDIA MCP55 PCIE" rev 0xa3
pci7 at ppb6 bus 7
ppb7 at pci0 dev 14 function 0 "NVIDIA MCP55 PCIE" rev 0xa3
pci8 at ppb7 bus 8
ppb8 at pci0 dev 15 function 0 "NVIDIA MCP55 PCIE" rev 0xa3
pci9 at ppb8 bus 9
em0 at pci9 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic
4 int 5 (irq 5), address 00:15:17:20:9e:28
em1 at pci9 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic
4 int 10 (irq 10), address 00:15:17:20:9e:29
pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb1 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
pchb2 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb3 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
pchb4 at pci0 dev 25 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb5 at pci0 dev 25 function 1 "AMD AMD64 Address Map" rev 0x00
pchb6 at pci0 dev 25 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb7 at pci0 dev 25 function 3 "AMD AMD64 Misc Cfg" rev 0x00
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lm0 at isa0 port 0x290/8: W83627HF
lm1 detached
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb1 at ohci0: USB revision 1.0
uhub1 at usb1: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1
Kernelized RAIDframe activated
raid0 at root: (RAID Level 1) total number of sectors is 484197632 (236424
MB) as root
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
swapmount: no device
raid0: Device already configured!
--
To unsubscribe send a mail to openbsd+unsubscribe@uaoug.org.ua