Compaq DeskPro 686T3 - FreeBSD

This machine is used as a call logger for an ISDN phone line.

Hardware info on main page.

Work log

2012-08-09: some info before I take this machine out of operation:

root@kg-web2# uname -a
FreeBSD kg-web2.kg4.no 6.3-STABLE FreeBSD 6.3-STABLE #0: Thu Jun 26 16:07:14 CEST 2008     root@kg-web2.kg4.no:/usr/obj/usr/src/sys/T4ISDN  i386
root@kg-web2# uptime
11:27AM  up 209 days, 13:53, 2 users, load averages: 0.00, 0.00, 0.00
root@kg-web2# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad0s1a    248M     75M    153M    33%    /
devfs          1.0K    1.0K      0B   100%    /dev
/dev/ad0s1e    248M    312K    228M     0%    /tmp
/dev/ad0s1f    6.8G    3.0G    3.2G    48%    /usr
/dev/ad0s1d    248M     89M    139M    39%    /var

pciconf info:

root@kg-web2# pciconf -lv
agp0@pci0:0:0:    class=0x060000 card=0x00000000 chip=0x71908086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82443BX/ZX 440BX/ZX CPU to PCI Bridge (AGP Implemented)'
    class      = bridge
    subclass   = HOST-PCI
pcib1@pci0:1:0:    class=0x060400 card=0x00000000 chip=0x71918086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82443BX/ZX 440BX/ZX AGPset PCI-to-PCI bridge'
    class      = bridge
    subclass   = PCI-PCI
fxp0@pci0:13:0:    class=0x020000 card=0xb0d70e11 chip=0x12298086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82550/1/7/8/9 EtherExpress PRO/100(B) Ethernet Adapter'
    class      = network
    subclass   = ethernet
ihfc0@pci0:15:0:    class=0x028000 card=0x2bd01397 chip=0x2bd01397 rev=0x02 hdr=0x00
    vendor     = 'Cologne Chip Designs GmbH'
    device     = 'HFC-S PCI A ISDN 2BDS0 ISDN HDLC FIFO Controller'
    class      = network
isab0@pci0:20:0:    class=0x060100 card=0x00000000 chip=0x71108086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82371AB/EB/MB PIIX4/4E/4M ISA Bridge'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:20:1:    class=0x010180 card=0x00000000 chip=0x71118086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82371AB/EB/MB PIIX4/4E/4M IDE Controller'
    class      = mass storage
    subclass   = ATA
uhci0@pci0:20:2:    class=0x0c0300 card=0x00000000 chip=0x71128086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82371AB/EB/MB PIIX4/4E/4M USB Interface'
    class      = serial bus
    subclass   = USB
none0@pci0:20:3:    class=0x068000 card=0x00000000 chip=0x71138086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82371AB/EB/MB PIIX4/4E/4M Power Management Controller'
    class      = bridge
none1@pci1:0:0:    class=0x030000 card=0x00801002 chip=0x47441002 rev=0x5c hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'Rage 3D Pro AGP 2x Rage 3D Pro AGP 2x'
    class      = display
    subclass   = VGA

It seems like the machine has ISA slots too:

root@kg-web2# dmidecode
# dmidecode 2.9
SMBIOS 2.1 present.
54 structures occupying 1794 bytes.
Table at 0x000F15E6.

Handle 0x0000, DMI type 0, 19 bytes
BIOS Information
    Vendor: Compaq
    Version: 686T3
    Release Date: 08/18/99
    Address: 0xE0000
    Runtime Size: 128 kB
    ROM Size: 256 kB
    Characteristics:
        ISA is supported
        PCI is supported
        PNP is supported
        APM is supported
        BIOS is upgradeable
        BIOS shadowing is allowed
        ESCD support is available
        Boot from CD is supported
        Selectable boot is supported
        EDD is supported
        5.25"/360 KB floppy services are supported (int 13h)
        5.25"/1.2 MB floppy services are supported (int 13h)
        3.5"/720 KB floppy services are supported (int 13h)
        Print screen service is supported (int 5h)
        8042 keyboard services are supported (int 9h)
        Serial services are supported (int 14h)
        Printer services are supported (int 17h)
        ACPI is supported
        USB legacy is supported
        AGP is supported
        LS-120 boot is supported

Handle 0x0001, DMI type 1, 25 bytes
System Information
    Manufacturer: Compaq
    Product Name: Deskpro         
    Version: Not Specified
    Serial Number: 8839BWZ41302   
    UUID: BD54E738-F892-D211-836C-9613142E1613
    Wake-up Type: Power Switch

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
    Manufacturer: Compaq
    Product Name: 0400h
    Version: Not Specified
    Serial Number: 8839BWZ41302   

Handle 0x0003, DMI type 3, 13 bytes
Chassis Information
    Manufacturer: Compaq
    Type: Desktop
    Lock: Present
    Version: Not Specified
    Serial Number: 8839BWZ41302   
    Asset Tag: 8839BWZ41302   
    Boot-up State: Safe
    Power Supply State: Safe
    Thermal State: Safe
    Security Status: External Interface Enabled

Handle 0x0004, DMI type 4, 32 bytes
Processor Information
    Socket Designation: J22
    Type: Central Processor
    Family: Pentium II
    Manufacturer: Intel
    ID: 34 06 00 00 FF F9 80 00
    Signature: Type 0, Family 6, Model 3, Stepping 4
    Flags:
        FPU (Floating-point unit on-chip)
        VME (Virtual mode extension)
        DE (Debugging extension)
        PSE (Page size extension)
        TSC (Time stamp counter)
        MSR (Model specific registers)
        PAE (Physical address extension)
        MCE (Machine check exception)
        CX8 (CMPXCHG8 instruction supported)
        SEP (Fast system call)
        MTRR (Memory type range registers)
        PGE (Page global enable)
        MCA (Machine check architecture)
        CMOV (Conditional move instruction supported)
        MMX (MMX technology supported)
    Version: Pentium(R) II processor 266 MHz        
    Voltage: 2.8 V
    External Clock: 66 MHz
    Max Speed: 950 MHz
    Current Speed: 266 MHz
    Status: Populated, Enabled
    Upgrade: Slot 1
    L1 Cache Handle: 0x0009
    L2 Cache Handle: 0x000A
    L3 Cache Handle: No L3 Cache

Handle 0x0005, DMI type 5, 22 bytes
Memory Controller Information
    Error Detecting Method: 64-bit ECC
    Error Correcting Capabilities:
        Single-bit Error Correcting
    Supported Interleave: Four-way Interleave
    Current Interleave: Four-way Interleave
    Maximum Memory Module Size: 256 MB
    Maximum Total Memory Size: 768 MB
    Supported Speeds:
        70 ns
        60 ns
        50 ns
    Supported Memory Types:
        ECC
        DIMM
        SDRAM
    Memory Module Voltage: 3.3 V
    Associated Memory Slots: 3
        0x0006
        0x0007
        0x0008
    Enabled Error Correcting Capabilities:
        Single-bit Error Correcting

Handle 0x0006, DMI type 6, 12 bytes
Memory Module Information
    Socket Designation: DIMM #1: J10
    Bank Connections: 1
    Current Speed: Unknown
    Type: DIMM SDRAM
    Installed Size: 32 MB (Double-bank Connection)
    Enabled Size: 32 MB (Double-bank Connection)
    Error Status: OK

Handle 0x0007, DMI type 6, 12 bytes
Memory Module Information
    Socket Designation: DIMM #2: J11
    Bank Connections: 2
    Current Speed: Unknown
    Type: DIMM SDRAM
    Installed Size: 32 MB (Double-bank Connection)
    Enabled Size: 32 MB (Double-bank Connection)
    Error Status: OK

Handle 0x0008, DMI type 6, 12 bytes
Memory Module Information
    Socket Designation: DIMM #3: J12
    Bank Connections: 3
    Current Speed: Unknown
    Type: DIMM SDRAM
    Installed Size: 32 MB (Double-bank Connection)
    Enabled Size: 32 MB (Double-bank Connection)
    Error Status: OK

Handle 0x0009, DMI type 7, 19 bytes
Cache Information
    Socket Designation: Internal L1 Cache
    Configuration: Enabled, Not Socketed, Level 1
    Operational Mode: Write Through
    Location: Internal
    Installed Size: 32 KB
    Maximum Size: 32 KB
    Supported SRAM Types:
        Burst
    Installed SRAM Type: Burst
    Speed: Unknown
    Error Correction Type: Unknown
    System Type: Unknown
    Associativity: 4-way Set-associative

Handle 0x000A, DMI type 7, 19 bytes
Cache Information
    Socket Designation: Cache L2
    Configuration: Enabled, Not Socketed, Level 2
    Operational Mode: Write Through
    Location: Internal
    Installed Size: 512 KB
    Maximum Size: 4096 KB
    Supported SRAM Types:
        Burst
    Installed SRAM Type: Burst
    Speed: Unknown
    Error Correction Type: Single-bit ECC
    System Type: Unknown
    Associativity: 4-way Set-associative

Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: P8
    Internal Connector Type: 9 Pin Dual Inline (pin 10 cut)
    External Reference Designator: COM A
    External Connector Type: DB-9 male
    Port Type: Serial Port 16550A Compatible

Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: P8
    Internal Connector Type: 9 Pin Dual Inline (pin 10 cut)
    External Reference Designator: COM B
    External Connector Type: DB-9 male
    Port Type: Serial Port 16550A Compatible

Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J2: Parallel Port
    Internal Connector Type: 25 Pin Dual Inline (pin 26 cut)
    External Reference Designator: LPT1
    External Connector Type: DB-25 female
    Port Type: Parallel Port ECP/EPP

Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J17
    Internal Connector Type: Access Bus (USB)
    External Reference Designator: USB Port 1
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J17
    Internal Connector Type: Access Bus (USB)
    External Reference Designator: USB Port 2
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x0010, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J6
    Internal Connector Type: PS/2
    External Reference Designator: Keyboard
    External Connector Type: PS/2
    Port Type: Keyboard Port

Handle 0x0011, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J7
    Internal Connector Type: PS/2
    External Reference Designator: Mouse
    External Connector Type: PS/2
    Port Type: Mouse Port

Handle 0x0012, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: P7:CD-AUDIO
    Internal Connector Type: On Board Sound Input From CD-ROM
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: Audio Port

Handle 0x0013, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: P20:Primary IDE
    Internal Connector Type: On Board IDE
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: None

Handle 0x0014, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: P21:Secondary IDE
    Internal Connector Type: On Board IDE
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: None

Handle 0x0015, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: P10:Floppy
    Internal Connector Type: On Board Floppy
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: None

Handle 0x0016, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J13
    Internal Connector Type: Other
    External Reference Designator: Line I/O:MIC
    External Connector Type: Mini DIN
    Port Type: MIDI Port

Handle 0x0017, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J15
    Internal Connector Type: Other
    External Reference Designator: Line I/O: Line Right
    External Connector Type: Mini DIN
    Port Type: MIDI Port

Handle 0x0018, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J15
    Internal Connector Type: Other
    External Reference Designator: Line I/O:Line Left
    External Connector Type: Mini DIN
    Port Type: MIDI Port

Handle 0x0019, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J13
    Internal Connector Type: Other
    External Reference Designator: Head Phone
    External Connector Type: Mini DIN
    Port Type: MIDI Port

Handle 0x001A, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: P9:NICWakeup
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: Other

Handle 0x001B, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: P8:FAN
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: Other

Handle 0x001C, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: P6:Speaker
    Internal Connector Type: Other
    External Reference Designator: Not Specified
    External Connector Type: None
    Port Type: Other

Handle 0x001D, DMI type 10, 6 bytes
On Board Device Information
    Type: Sound
    Status: Enabled
    Description: ESS 1869 PnP

Handle 0x001E, DMI type 11, 5 bytes
OEM Strings
    String 1: CDT v. 1.0
    String 2: Pentium(R) II processor 266 MHz
    String 3: MMX Technology
    String 4: 266 MHz       

Handle 0x001F, DMI type 12, 5 bytes
System Configuration Options
    Option 1: SW1  1-Disable/0-Enable Password
    Option 2: SW6  AUX P/S on Main P/S(1-on/0-OFF)
    Option 3: P37  Close-66MHz/Open-100MHz
    Option 4: SW2 SW3 SW4 SW5
    Option 5: 0011-66/233,100/350 MHz
    Option 6: 1101-66/266,100/400 MHz
    Option 7: 1001-66/300,100/450 MHz
    Option 8: 0101-66/333,100/500 MHz

Handle 0x0020, DMI type 13, 22 bytes
BIOS Language Information
    Installable Languages: 1
        en|US|iso8859-1
    Currently Installed Language: en|US|iso8859-1

Handle 0x0021, DMI type 16, 15 bytes
Physical Memory Array
    Location: System Board Or Motherboard
    Use: System Memory
    Error Correction Type: Single-bit ECC
    Maximum Capacity: 384 MB
    Error Information Handle: 0x0027
    Number Of Devices: 3

Handle 0x0022, DMI type 16, 15 bytes
Physical Memory Array
    Location: System Board Or Motherboard
    Use: Flash Memory
    Error Correction Type: Unknown
    Maximum Capacity: 256 kB
    Error Information Handle: Not Provided
    Number Of Devices: 1

Handle 0x0023, DMI type 17, 21 bytes
Memory Device
    Array Handle: 0x0021
    Error Information Handle: 0x0027
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 32 MB
    Form Factor: DIMM
    Set: None
    Locator: DIMM #1: J10
    Bank Locator: Bank  0: J10
    Type: DRAM
    Type Detail: Synchronous

Handle 0x0024, DMI type 17, 21 bytes
Memory Device
    Array Handle: 0x0021
    Error Information Handle: 0x0027
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 32 MB
    Form Factor: DIMM
    Set: None
    Locator: DIMM #2: J11
    Bank Locator: Bank  1: J11
    Type: DRAM
    Type Detail: Synchronous

Handle 0x0025, DMI type 17, 21 bytes
Memory Device
    Array Handle: 0x0021
    Error Information Handle: 0x0027
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 32 MB
    Form Factor: DIMM
    Set: None
    Locator: DIMM #3: J12
    Bank Locator: Bank  2: J12
    Type: DRAM
    Type Detail: Synchronous

Handle 0x0026, DMI type 17, 21 bytes
Memory Device
    Array Handle: 0x0022
    Error Information Handle: Not Provided
    Total Width: 16 bits
    Data Width: 16 bits
    Size: 256 kB
    Form Factor: Chip
    Set: None
    Locator: AM29F002: U35
    Bank Locator: ROM: U35
    Type: Flash
    Type Detail: None

Handle 0x0027, DMI type 18, 23 bytes
32-bit Memory Error Information
    Type: OK
    Granularity: Unknown
    Operation: Unknown
    Vendor Syndrome: Unknown
    Memory Array Address: Unknown
    Device Address: Unknown
    Resolution: Unknown

Handle 0x0028, DMI type 19, 15 bytes
Memory Array Mapped Address
    Starting Address: 0x00000000000
    Ending Address: 0x017FFFFFFFF
    Range Size: 96 GB
    Physical Array Handle: 0x0021
    Partition Width: 0

Handle 0x0029, DMI type 19, 15 bytes
Memory Array Mapped Address
    Starting Address: 0x3FFFF200000
    Ending Address: 0x3FFFFFFFFFF
    Range Size: 14 MB
    Physical Array Handle: 0x0022
    Partition Width: 0

Handle 0x002A, DMI type 20, 19 bytes
Memory Device Mapped Address
    Starting Address: 0x00000000000
    Ending Address: 0x007FFFFFFFF
    Range Size: 32 GB
    Physical Device Handle: 0x0023
    Memory Array Mapped Address Handle: 0x0028
    Partition Row Position: 1

Handle 0x002B, DMI type 20, 19 bytes
Memory Device Mapped Address
    Starting Address: 0x00800000000
    Ending Address: 0x00FFFFFFFFF
    Range Size: 32 GB
    Physical Device Handle: 0x0024
    Memory Array Mapped Address Handle: 0x0028
    Partition Row Position: 2

Handle 0x002C, DMI type 20, 19 bytes
Memory Device Mapped Address
    Starting Address: 0x01000000000
    Ending Address: 0x017FFFFFFFF
    Range Size: 32 GB
    Physical Device Handle: 0x0025
    Memory Array Mapped Address Handle: 0x0028
    Partition Row Position: 3

Handle 0x002D, DMI type 20, 19 bytes
Memory Device Mapped Address
    Starting Address: 0x3FFFF200000
    Ending Address: 0x3FFFFFFFFFF
    Range Size: 14 MB
    Physical Device Handle: 0x0026
    Memory Array Mapped Address Handle: 0x0029
    Partition Row Position: <OUT OF SPEC>

Handle 0x002E, DMI type 9, 13 bytes
System Slot Information
    Designation: AGP-J19
    Type: 32-bit AGP 2x
    Current Usage: In Use
    Length: Short
    ID: 0
    Characteristics:
        3.3 V is provided

Handle 0x002F, DMI type 9, 13 bytes
System Slot Information
    Designation: J1 Riser
    Type: 32-bit I/O Riser Card
    Current Usage: In Use
    Length: Long
    Characteristics:
        5.0 V is provided
        3.3 V is provided

Handle 0x0030, DMI type 9, 13 bytes
System Slot Information
    Designation: PCI-J2
    Type: 32-bit PCI
    Current Usage: In Use
    Length: Short
    ID: 1
    Characteristics:
        5.0 V is provided
        3.3 V is provided
        PME signal is supported

Handle 0x0031, DMI type 9, 13 bytes
System Slot Information
    Designation: PCI-J3
    Type: 32-bit PCI
    Current Usage: Available
    Length: Short
    ID: 2
    Characteristics:
        5.0 V is provided
        3.3 V is provided
        PME signal is supported

Handle 0x0032, DMI type 9, 13 bytes
System Slot Information
    Designation: ISA-J6
    Type: 16-bit ISA
    Current Usage: Unknown
    Length: Long
    Characteristics:
        5.0 V is provided
        Opening is shared

Handle 0x0033, DMI type 9, 13 bytes
System Slot Information
    Designation: ISA-J7
    Type: 16-bit ISA
    Current Usage: Unknown
    Length: Long
    Characteristics:
        5.0 V is provided
        Opening is shared

Handle 0x0034, DMI type 9, 13 bytes
System Slot Information
    Designation: PCI-J4
    Type: 32-bit PCI
    Current Usage: In Use
    Length: Short
    ID: 3
    Characteristics:
        5.0 V is provided
        3.3 V is provided
        Opening is shared
        PME signal is supported

Handle 0x0035, DMI type 9, 13 bytes
System Slot Information
    Designation: PCI-J5
    Type: 32-bit PCI
    Current Usage: Available
    Length: Short
    ID: 4
    Characteristics:
        5.0 V is provided
        3.3 V is provided
        Opening is shared
        PME signal is supported

network card info:

root@kg-web2# ifconfig
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    options=8<VLAN_MTU>
    inet 10.1.10.6 netmask 0xffff0000 broadcast 10.1.255.255
    ether 00:08:c7:29:1f:42
    media: Ethernet autoselect (100baseTX <full-duplex>)
    status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
isp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
isp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
isp2: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
isp3: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
isp4: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
isp5: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
isp6: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
isp7: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ipr0: flags=2810<POINTOPOINT,SIMPLEX,LINK1> mtu 1500
ipr1: flags=2810<POINTOPOINT,SIMPLEX,LINK1> mtu 1500
ipr2: flags=2810<POINTOPOINT,SIMPLEX,LINK1> mtu 1500
ipr3: flags=2810<POINTOPOINT,SIMPLEX,LINK1> mtu 1500
ipr4: flags=2810<POINTOPOINT,SIMPLEX,LINK1> mtu 1500
ipr5: flags=2810<POINTOPOINT,SIMPLEX,LINK1> mtu 1500
ipr6: flags=2810<POINTOPOINT,SIMPLEX,LINK1> mtu 1500
ipr7: flags=2810<POINTOPOINT,SIMPLEX,LINK1> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x13
    inet6 ::1 prefixlen 128
    inet 127.0.0.1 netmask 0xff000000

The isp and ipr are from the ISDN card. kernel config file:

root@kg-web2# more /root/kernels/T4ISDN
#
# T4ISDN -- generic kernel with ISDN4BSd subsystem, based on GENERIC
#        Generic kernel configuration file for FreeBSD/i386
#

include GENERIC

ident           T4ISDN-GENERIC

# To make an SMP kernel, the next line is needed
#options        SMP                     # Symmetric MultiProcessor Kernel
# 
# I4B section 
# 
options IPR_VJ 
device "i4bdss1" 
device "i4b" 
device "i4btrc" 
device "i4bctl" 
device "i4brbch" 
device "i4btel" 
device "i4bipr" 
device "i4bisppp" 
# 
# If you need more than 8 units please 
# edit "/usr/src/sys/i4b/include/i4b_global.h", 
# until further. 
# 

device ihfc  
device usb 
device sound
#device pcm 
#or device sound 
#if device pcm does not exist 

What else? /etc/rc.conf file:

root@kg-web2# more /etc/rc.conf

# -- sysinstall generated deltas -- # Mon Dec 27 01:16:59 2004
# Created: Mon Dec 27 01:16:59 2004
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="10.1.10.1"
font8x14="iso-8x14"
font8x16="iso-8x16"
font8x8="iso-8x8"
# hostname="t4.kg4.no"
hostname="kg-web2.kg4.no"
# ifconfig_fxp0="DHCP"
ifconfig_fxp0="inet 10.1.10.6 netmask 255.255.0.0"
inetd_enable="YES"
keymap="norwegian.iso"
moused_enable="YES"
saver="logo"
sshd_enable="YES"
usbd_enable="YES"
# enable NTP
ntpd_enable="YES"
# smartmontools
smartd_enable="YES"
# enable bsdstats reporting
bsdstats_enable="YES"
# enable database MySQL
mysql_enable="YES"
# enable web server apache
apache_enable="YES"
# enable the ISDN daemon
isdn_enable="YES"

and /etc/isdn/isdnd.rc file:

root@kg-web2# more /etc/isdn/isdnd.rc
#------------------------------------------------------------------------------
#
#       example of a configuration file for the isdn daemon
#       ---------------------------------------------------
#
# $FreeBSD: src/etc/isdn/isdnd.rc.sample,v 1.4 2004/06/06 11:46:28 schweikh Exp $
#
#       last edit-date: [Sun May 27 09:33:59 2001]
#
#       NOTICE:
#       =======
#       This configuration file is an EXAMPLE only and MUST be edited
#       carefully to get the desired results!
#
#       Please read the "isdnd.rc" manual page (execute "man isdnd.rc")
#       for reference !
#
#------------------------------------------------------------------------------

#==============================================================================
# SYSTEM section: isdnd global configuration parameters
#==============================================================================
system

# accounting
# ----------

acctall         = on                    # generate info for everything
acctfile        = /var/log/isdnd.acct   # name & location of accounting file
useacctfile     = yes                   # generate accouting info to file

# monitor
# -------

monitor-allowed = yes                   # global switch: monitor on/off
monitor-port    = 451                   # default monitor TCP port

# Monitor rights are granted due to the most specific host/net spec, i.e. in
# the example below host 192.168.1.2 will have the rights specified on that
# line, even so it belongs to net 192.168.1.0/24 as well.
#
# A monitor specification may either be:
#
#  - the name of a local (UNIX-domain) socket; this MUST start with a "/"
monitor         = "/var/run/isdn-monitor"
monitor-access  = fullcmd
monitor-access  = channelstate, logevents
monitor-access  = callin, callout

# ratesfile
# ---------

ratesfile       = /etc/isdn/isdnd.rates # name & location of rates file

# regular expression pattern matching
# -----------------------------------

#regexpr        = "connected.*XXX"      # look for matches in log messages
#regprog        = connectXXX            # execute program when match is found

#regexpr         = "<unknown> incoming call from"
#regprog         = unknown_incoming      # execute program whan match is found

# realtime priority section
# -------------------------

rtprio          = 25                    # modify isdnd's process priority

#===========================================================================
# controller section
#===========================================================================
#controller

#firmware       = /etc/isdn/b1.t4       # microcode for an AVM B1 controller

#=================================================================
# User-ppp example
#=================================================================
entry
name                    = userppp0
usrdevicename           = rbch
usrdeviceunit           = 0
isdncontroller          = 0
isdnchannel             = -1
local-phone-incoming    = 1234567
remote-phone-incoming   = *
local-phone-dialout     = 1234567
remote-phone-dialout    = 1234567       # ppp(8) will override this
remdial-handling        = first
dialin-reaction         = ignore
dialout-type            = normal
b1protocol              = hdlc
idletime-incoming       = 900           # Should be larger than ppps timeout
idletime-outgoing       = 900           # Should be larger than ppps timeout
ratetype                = 0 
unitlength              = 90
unitlengthsrc           = rate
dialretries             = 1
dialrandincr            = on
recoverytime            = 1             # Should be smaller than ppps redial
usedown                 = off
downtries               = 2
downtime                = 30

#==============================================================================
# entry section: answering machine example
#==============================================================================
entry

name                    = I4BTEL        # name for reference
usrdevicename           = tel           # ipr, tel, rbch
usrdeviceunit           = 0             # unit number

isdncontroller          = 0             # controller to use or -1 to use any
isdnchannel             = -1            # channel (1/2) to use or 0 or -1 for any

                                        # numbers used to verify at DIAL IN
local-phone-incoming    = 22379749              # this is my number
remote-phone-incoming   = *             # anyone can call in
local-phone-dialout     = 1234567
remote-phone-dialout    = 1234567       # ppp(8) will override this

dialin-reaction         = ignore        # accept, reject, ignore, answer

answerprog              = answer        # program to run

b1protocol              = raw           # hdlc, raw

idletime-incoming       = 5             # 5 seconds idle timeout

# EOF #########################################################################

That's it.

2008-06-28: I forgot to enable the apache module when compiling php4. Easy enough to fix. Also, I needed to add current directory to the include directive in names.php (callid). Must check if that error is in the port as well.

2008-06-26: installed revision 755 of ISDN4BSD from svn, rebuilt kernel and now the ISDN card is detected. dmesg output. How to find out revision using svn:

tingo@kg-web2$ pwd
/usr/home/tingo/work/isdn4bsd_svn
tingo@kg-web2$ svn info i4b
Path: i4b
URL: svn://svn.turbocat.net/i4b
Repository Root: svn://svn.turbocat.net/i4b
Repository UUID: 4429bdba-5c01-0410-9f4f-ee3375ed255f
Revision: 755
Node Kind: directory
Schedule: normal
Last Changed Author: hselasky
Last Changed Rev: 755
Last Changed Date: 2008-06-18 01:32:22 +0200 (Wed, 18 Jun 2008)

I still can't get neither isdntrace nor isdndecode to output the old (text-based) format.

2008-06-24: using cvsup, I upgraded to FreeBSD 6.3-stable. It took almost two days. dmesg output. I need to get latest ISDN4BSD from svn and install it.

root@kg-web2# uname -a
FreeBSD kg-web2.kg4.no 6.3-STABLE FreeBSD 6.3-STABLE #0: Thu Jun 26 16:07:14 CEST 2008     root@kg-web2.kg4.no:/usr/obj/usr/src/sys/T4ISDN  i386

2008-05-29: installed ISDN4BSD version 1.5.10 and compiled a new kernel. That got the ISDN card working again. dmesg output. Unfortunately, it seems that changes in the output format of isdntrace makes the callid port non-functional. More investigation needed.

2008-05-28: I upgraded the machine to latest FreeBSD 5.5-stable. dmesg output. The ISDN card is not working after the upgrade, need to get a newer version of ISDN4BSD installed.

older: the machine has been running FreeBSD 5.4-prerelease for ages. I am using the port callid as a call logger. works nicely. It seems the machine was installed in 2004, but the oldest evidence I have on the machine (kernel config files) are from 2005. disk layout:

ad0s1a <none> 256MB /
ad0s1b swap 230MB SWAP
ad0s1d <none> 256MB /var
ad0s1e <none> 256MB /tmp
ad0s1f <none> 7208MB /usr

disk and swap usage:

root@kg-web2# swapinfo
Device 1K-blocks Used Avail Capacity
/dev/ad0s1b 236352 28880 207472 12%
root@kg-web2# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1a 248M 57M 171M 25% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad0s1e 248M 302K 228M 0% /tmp
/dev/ad0s1f 6.8G 2.3G 4.0G 36% /usr
/dev/ad0s1d 248M 107M 121M 47% /var

isdn card info:

ihfc0@pci0:15:0: class=0x028000 card=0x2bd01397 chip=0x2bd01397 rev=0x02 hdr=0x00
vendor = 'Cologne Chip Designs GmbH'
device = 'HFC-S PCI A ISDN 2BDS0 ISDN HDLC FIFO Controller'
class = network