Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Odp: Re: patm, idt, ipfw



ok, this is kernel config:
...
machine         i386
cpu             I686_CPU
ident           myker

options         SCHED_4BSD              #4BSD scheduler
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         SOFTUPDATES             #Enable FFS soft updates support
options         UFS_DIRHASH             #Improve performance on big
directories
#options        MD_ROOT                 #MD is a potential root device
#options        PROCFS                  #Process filesystem (requires
PSEUDOFS)
#options        PSEUDOFS                #Pseudo-filesystem framework
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP
THIS!]
options         COMPAT_FREEBSD4         #Compatible with FreeBSD4
options         SCSI_DELAY=150  #Delay (in ms) before probing SCSI
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

device          isa
device          pci

#device         patm
#device         utopia
device          atm
device          harp
options         ATM_CORE
options         ATM_IP
options         ATM_SIGPVC
#options                LIBMBPOOL
#options                NATM
device idt


options         HZ=1000
options         DEVICE_POLLING
options         PANIC_REBOOT_WAIT_TIME=9
options         IPFIREWALL
options         IPDIVERT
options         IPFIREWALL_FORWARD
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         DUMMYNET
options         IPSTEALTH

options         PPP_BSDCOMP
options         PPP_DEFLATE
#options         PUC_FASTINTR

options         NMBCLUSTERS=65536
options         NBUF=8192
...
this is the dmesg:
Sep 29 19:48:03 ordos kernel: Copyright (c) 1992-2003 The FreeBSD Project.
Sep 29 19:48:03 ordos kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,
1989, 1991, 1992, 1993, 1994
Sep 29 19:48:03 ordos kernel: The Regents of the University of California.
All rights reserved.
Sep 29 19:48:03 ordos kernel: FreeBSD 5.1-CURRENT #2: Mon Sep 29 00:45:18
GMT 2003
Sep 29 19:48:03 ordos kernel:
root@xxxxxxxxxxxxxxx:/usr/src/sys/i386/compile/myker
Sep 29 19:48:03 ordos kernel: Preloaded elf kernel "/boot/kernel/kernel" at
0xc03f5000.
Sep 29 19:48:03 ordos kernel: Timecounter "i8254" frequency 1193182 Hz
quality 0
Sep 29 19:48:03 ordos kernel: CPU: Intel Celeron (701.59-MHz 686-class CPU)
Sep 29 19:48:03 ordos kernel: Origin = "GenuineIntel"  Id = 0x686  Stepping
= 6
Sep 29 19:48:03 ordos kernel:
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
,SSE>
Sep 29 19:48:03 ordos kernel: real memory  = 267300864 (254 MB)
Sep 29 19:48:03 ordos kernel: avail memory = 252456960 (240 MB)
Sep 29 19:48:03 ordos kernel: Pentium Pro MTRR support enabled
Sep 29 19:48:03 ordos kernel: npx0: [FAST]
Sep 29 19:48:03 ordos kernel: npx0: <math processor> on motherboard
Sep 29 19:48:03 ordos kernel: npx0: INT 16 interface
Sep 29 19:48:03 ordos kernel: pcibios: BIOS version 2.10
Sep 29 19:48:03 ordos kernel: Using $PIR table, 10 entries at 0xc00f1360
Sep 29 19:48:03 ordos kernel: pcib0: <Intel 82815 (i815 GMCH) Host To Hub
bridge> at pcibus 0 on motherboard
Sep 29 19:48:03 ordos kernel: pci0: <PCI bus> on pcib0
Sep 29 19:48:03 ordos kernel: pci_cfgintr: 0:2 INTA BIOS irq 11
Sep 29 19:48:03 ordos kernel: pci_cfgintr: 0:31 INTB BIOS irq 10
Sep 29 19:48:03 ordos kernel: agp0: <Intel 82815 (i815 GMCH) SVGA
controller> mem 0xfb000000-0xfb07ffff,0xfc000000-0xfdfffff
f irq 11 at device 2.0 on pci0
Sep 29 19:48:03 ordos kernel: pcib1: <PCIBIOS PCI-PCI bridge> at device 30.0
on pci0
Sep 29 19:48:03 ordos kernel: pci1: <PCI bus> on pcib1
Sep 29 19:48:03 ordos kernel: pci_cfgintr: 1:9 INTA BIOS irq 5
Sep 29 19:48:03 ordos kernel: pci_cfgintr: 1:11 INTA routed to irq 6
Sep 29 19:48:03 ordos kernel: pci_cfgintr: 1:12 INTA BIOS irq 7
Sep 29 19:48:03 ordos kernel: pci_cfgintr: 1:12 INTA BIOS irq 7
Sep 29 19:48:03 ordos kernel: pci_cfgintr: 1:13 INTA BIOS irq 5
Sep 29 19:48:03 ordos kernel: fxp0: <Intel 82559 Pro/100 Ethernet> port
0xd800-0xd83f mem 0xfa000000-0xfa0fffff,0xfa800000-0
xfa800fff irq 5 at device 9.0 on pci1
Sep 29 19:48:03 ordos kernel: fxp0: Ethernet address 00:03:47:b0:68:17
Sep 29 19:48:03 ordos kernel: miibus0: <MII bus> on fxp0
Sep 29 19:48:03 ordos kernel: inphy0: <i82555 10/100 media interface> on
miibus0
Sep 29 19:48:03 ordos kernel: inphy0:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto
Sep 29 19:48:03 ordos kernel: idt0: <IDT IDT77201/211 NICStAR ATM Adapter>
port 0xd400-0xd4ff mem 0xf9800000-0xf9800fff irq
6 at device 11.0 on pci1
Sep 29 19:48:03 ordos kernel: idt0: ATM card is Fore LE155, PHY=PM5350
Sep 29 19:48:03 ordos kernel: idt0: 32K words of RAMSep 29 19:48:03 ordos
kernel: idt0: MAC address 00:20:48:5a:68:85, HWrev=3
Sep 29 19:48:03 ordos kernel: puc0: <Titan PCI-800H> port
0xb800-0xb81f,0xd000-0xd01f mem 0xf8800000-0xf8800fff,0xf9000000-0
xf9000fff irq 7 at device 12.0 on pci1
Sep 29 19:48:03 ordos kernel: sio4: <Titan PCI-800H> on puc0
Sep 29 19:48:03 ordos kernel: sio4: type 16550A
Sep 29 19:48:03 ordos kernel: sio4: unable to activate interrupt in fast
mode - using normal mode
Sep 29 19:48:03 ordos kernel: sio5: <Titan PCI-800H> on puc0
Sep 29 19:48:03 ordos kernel: sio5: type 16550A
Sep 29 19:48:03 ordos kernel: sio5: unable to activate interrupt in fast
mode - using normal mode
Sep 29 19:48:03 ordos kernel: sio6: <Titan PCI-800H> on puc0
Sep 29 19:48:03 ordos kernel: sio6: type 16550A
Sep 29 19:48:03 ordos kernel: sio6: unable to activate interrupt in fast
mode - using normal mode
Sep 29 19:48:03 ordos kernel: sio7: <Titan PCI-800H> on puc0
Sep 29 19:48:03 ordos kernel: sio7: type 16550A
Sep 29 19:48:03 ordos kernel: sio7: unable to activate interrupt in fast
mode - using normal mode
Sep 29 19:48:03 ordos kernel: puc1: <Titan PCI-800H> port
0xb000-0xb01f,0xb400-0xb41f mem 0xf7800000-0xf7800fff,0xf8000000-0
xf8000fff irq 7 at device 12.1 on pci1
Sep 29 19:48:03 ordos kernel: sio8: <Titan PCI-800H> on puc1
Sep 29 19:48:03 ordos kernel: sio8: type 16550A
Sep 29 19:48:03 ordos kernel: sio8: unable to activate interrupt in fast
mode - using normal mode
Sep 29 19:48:03 ordos kernel: sio9: <Titan PCI-800H> on puc1
Sep 29 19:48:03 ordos kernel: sio9: type 16550A
Sep 29 19:48:03 ordos kernel: sio9: unable to activate interrupt in fast
mode - using normal mode
Sep 29 19:48:03 ordos kernel: sio10: <Titan PCI-800H> on puc1
Sep 29 19:48:03 ordos kernel: sio10: type 16550A
Sep 29 19:48:03 ordos kernel: sio10: unable to activate interrupt in fast
mode - using normal mode
Sep 29 19:48:03 ordos kernel: sio11: <Titan PCI-800H> on puc1
Sep 29 19:48:03 ordos kernel: sio11: type 16550A
Sep 29 19:48:03 ordos kernel: sio11: unable to activate interrupt in fast
mode - using normal mode
Sep 29 19:48:03 ordos kernel: fxp1: <Intel 82559 Pro/100 Ethernet> port
0xa800-0xa83f mem 0xf6800000-0xf68fffff,0xf7000000-0
xf7000fff irq 5 at device 13.0 on pci1
Sep 29 19:48:03 ordos kernel: fxp1: Ethernet address 00:03:47:ac:76:1d
Sep 29 19:48:03 ordos kernel: miibus1: <MII bus> on fxp1
Sep 29 19:48:03 ordos kernel: inphy1: <i82555 10/100 media interface> on
miibus1
Sep 29 19:48:03 ordos kernel: inphy1:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto
Sep 29 19:48:03 ordos kernel: isab0: <PCI-ISA bridge> at device 31.0 on pci0
Sep 29 19:48:03 ordos kernel: isa0: <ISA bus> on isab0
Sep 29 19:48:03 ordos kernel: atapci0: <Intel ICH2 UDMA100 controller> port
0x9800-0x980f at device 31.1 on pci0
Sep 29 19:48:03 ordos kernel: ata0: at 0x1f0 irq 14 on atapci0
Sep 29 19:48:03 ordos kernel: ata0: [MPSAFE]
Sep 29 19:48:03 ordos kernel: ata1: at 0x170 irq 15 on atapci0
Sep 29 19:48:03 ordos kernel: ata1: [MPSAFE]
Sep 29 19:48:03 ordos kernel: pci0: <serial bus, SMBus> at device 31.3 (no
driver attached)
Sep 29 19:48:03 ordos kernel: orm0: <Option ROM> at iomem 0xc0000-0xcbfff on
isa0
Sep 29 19:48:03 ordos kernel: atkbdc0: <Keyboard controller (i8042)> at port
0x64,0x60 on isa0
Sep 29 19:48:03 ordos kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Sep 29 19:48:03 ordos kernel: kbd0 at atkbd0
Sep 29 19:48:03 ordos kernel: sc0: <System console> at flags 0x100 on isa0
Sep 29 19:48:03 ordos kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Sep 29 19:48:03 ordos kernel: sio0 at port 0x3f8-0x3ff irq 4 flSep 29
19:48:03 ordos kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0
Sep 29 19:48:03 ordos kernel: sio1: type 16550A
Sep 29 19:48:03 ordos kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df
iomem 0xa0000-0xbffff on isa0
Sep 29 19:48:03 ordos kernel: unknown: <PNP0501> can't assign resources
(port)
Sep 29 19:48:03 ordos kernel: unknown: <PNP0501> can't assign resources
(port)
Sep 29 19:48:03 ordos kernel: unknown: <PNP0303> can't assign resources
(port)
Sep 29 19:48:03 ordos kernel: Timecounter "TSC" frequency 701593294 Hz
quality 800
Sep 29 19:48:03 ordos kernel: Timecounters tick every 1.000 msec
Sep 29 19:48:03 ordos kernel: ipfw2 initialized, divert enabled, rule-based
forwarding enabled, default to accept, logging d
isabled
Sep 29 19:48:03 ordos kernel: GEOM: create disk ad0 dp=0xcafbe870
Sep 29 19:48:03 ordos kernel: ad0: 38166MB <ST340014A> [77545/16/63] at
ata0-master UDMA100
Sep 29 19:48:03 ordos kernel: Mounting root from ufs:/dev/ad0s1a
Sep 29 19:48:04 ordos kernel: idt0: large free buffer queue empty.
Sep 29 19:48:04 ordos kernel: idt_connect_txopen: UBR connection for 0/140
Sep 29 19:48:04 ordos kernel: idt_openvcc: 0/140, PCR=10000, SCR=10000
Sep 29 19:48:04 ordos kernel: idt_connect_txopen: UBR connection for 0/141
Sep 29 19:48:04 ordos kernel: idt_openvcc: 0/141, PCR=10000, SCR=10000
Sep 29 19:48:04 ordos kernel: idt_connect_txopen: UBR connection for 0/142
Sep 29 19:48:04 ordos kernel: idt_openvcc: 0/142, PCR=10000, SCR=10000
Sep 29 19:48:04 ordos kernel: idt_connect_txopen: UBR connection for 0/143
Sep 29 19:48:04 ordos kernel: idt_openvcc: 0/143, PCR=10000, SCR=10000
Sep 29 19:48:04 ordos kernel: idt_connect_txopen: UBR connection for 0/144
Sep 29 19:48:04 ordos kernel: idt_openvcc: 0/144, PCR=10000, SCR=10000
Sep 29 19:48:04 ordos kernel: idt_connect_txopen: UBR connection for 0/145
Sep 29 19:48:04 ordos kernel: idt_openvcc: 0/145, PCR=10000, SCR=10000
Sep 29 19:48:04 ordos kernel: idt_connect_txopen: UBR connection for 0/146
Sep 29 19:48:04 ordos kernel: idt_openvcc: 0/146, PCR=10000, SCR=10000
Sep 29 19:48:04 ordos kernel: idt_connect_txopen: UBR connection for 0/147
Sep 29 19:48:04 ordos kernel: idt_openvcc: 0/147, PCR=10000, SCR=10000
Sep 29 19:48:04 ordos kernel: idt_connect_txopen: UBR connection for 0/148
Sep 29 19:48:04 ordos kernel: idt_openvcc: 0/148, PCR=10000, SCR=10000
Sep 29 19:48:04 ordos kernel: idt_connect_txopen: UBR connection for 0/149
Sep 29 19:48:04 ordos kernel: idt_openvcc: 0/149, PCR=10000, SCR=10000
Sep 29 19:48:04 ordos kernel: idt_connect_txopen: UBR connection for 0/150
Sep 29 19:48:04 ordos kernel: idt_openvcc: 0/150, PCR=10000, SCR=10000
Sep 29 19:48:04 ordos kernel: idt_connect_txopen: UBR connection for 0/151
Sep 29 19:48:04 ordos kernel: idt_openvcc: 0/151, PCR=10000, SCR=10000
Sep 29 19:48:04 ordos kernel: idt_connect_txopen: UBR connection for 0/152
Sep 29 19:48:04 ordos kernel: idt_openvcc: 0/152, PCR=10000, SCR=10000
Sep 29 19:48:04 ordos kernel: idt_connect_txopen: UBR connection for 0/153
Sep 29 19:48:04 ordos kernel: idt_openvcc: 0/153, PCR=10000, SCR=10000
Sep 29 19:48:04 ordos kernel: idt_connect_txopen: UBR connection for 0/154
Sep 29 19:48:04 ordos kernel: idt_openvcc: 0/154, PCR=10000, SCR=10000
Sep 29 19:48:04 ordos kernel: idt_connect_txopen: UBR connection for 0/155
Sep 29 19:48:04 ordos kernel: idt_openvcc: 0/155, PCR=10000, SCR=10000
ags 0x10 on isa0

I have problem with do any degug becouse this is "real world", so I can't
turn off 16 clients.
Now I install FreeBSD on second router with prosum atm card and at the
future I will try to do it.
Now, idt dirver work, but wher I use queue/pipe I get this:
Sep 29 20:02:55 ordos kernel: idt0: BUFFER STATUS: small=508/510,
large=510/510.
Sep 29 20:06:39 ordos kernel: idt0: BUFFER STATUS: small=510/510,
large=510/510.
Sep 29 20:08:30 ordos kernel: Out of mbuf address space!
Sep 29 20:08:30 ordos kernel: Consider increasing NMBCLUSTERS
Sep 29 20:08:30 ordos kernel: All mbufs or mbuf clusters exhausted, please
see tuning(7).
Sep 29 20:08:31 ordos kernel: Out of mbuf address space!
Sep 29 20:08:31 ordos kernel: Consider increasing NMBCLUSTERS
Sep 29 20:08:31 ordos kernel: All mbufs or mbuf clusters exhausted, please
see tuning(7).
Sep 29 20:08:32 ordos kernel: Out of mbuf address space!
Sep 29 20:08:32 ordos kernel: Consider increasing NMBCLUSTERS
Sep 29 20:08:32 ordos kernel: All mbufs or mbuf clusters exhausted, please
see tuning(7).
Sep 29 20:08:33 ordos kernel: Out of mbuf address space!
Sep 29 20:08:33 ordos kernel: Consider increasing NMBCLUSTERS
Sep 29 20:08:33 ordos kernel: All mbufs or mbuf clusters exhausted, please
see tuning(7).
Sep 29 20:08:34 ordos kernel: Out of mbuf address space!
Sep 29 20:08:34 ordos kernel: Consider increasing NMBCLUSTERS
Sep 29 20:08:34 ordos kernel: All mbufs or mbuf clusters exhausted, please
see tuning(7).
Sep 29 20:08:35 ordos kernel: Out of mbuf address space!
Sep 29 20:08:35 ordos kernel: Consider increasing NMBCLUSTERS
Sep 29 20:08:35 ordos kernel: All mbufs or mbuf clusters exhausted, please
see tuning(7).
Sep 29 20:08:36 ordos kernel: Out of mbuf address space!

It is strange, becouse there is in the kernel
options         NMBCLUSTERS=65536
options         NBUF=8192

Why do ipfw configuration have relation with atm stack?




________________________________________________
http://www.is.net.pl