Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2012 15:19:45 +0400
From:      "admin@zahost.ru" <admin@zahost.ru>
To:        freebsd-questions@freebsd.org
Subject:   Intel PCI Serial Port - no driver attached
Message-ID:  <20120307120205.88A021065672@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
Hello,

Intel AMT "Serial over LAN" does not work in FreeBSD.
PCI Serial Port device -> no driver attached -> ttyuX not added to system.

# pciconf
Current:
none1@pci0:0:3:3:       class=0x070002 card=0x10048086 chip=0x2e178086 rev=0x03 hdr=0x00
But should be:
uart0@pci0:0:3:3:       class=0x070002 card=0x10048086 chip=0x2e178086 rev=0x03 hdr=0x00

Links:
http://lists.freebsd.org/pipermail/freebsd-stable/2007-March/033504.html - not solved.
http://lists.freebsd.org/pipermail/freebsd-stable/2010-June/057494.html - not solved.
http://sourceforge.net/projects/openamt/ - Linux HECI-driver project. Not SOL driver!

Intel AMT SOL work in Linux.
Linux default pci2uart bridge driver supports the operation of the device: http://linux.die.net/man/7/amt-howto ===>
> If you have activated AMT and SOL the linux kernel should see an additional serial port, like this on my machine:
> # dmesg | grep ttyS2
> 0000:00:03.3: ttyS2 at I/O 0xe000 (irq = 169) is a 16550A

Issuing a
# pciconf
results in FreeBSD 8.X (device puc & uart included in kernel):
none1@pci0:0:3:3:       class=0x070002 card=0x10048086 chip=0x2e178086 rev=0x03 hdr=0x00
vendor     = 'Intel Corporation'
device     = 'Intel PCI Serial Port (CC_0700)'
class      = simple comms
subclass   = UART

Issuing a
# pciconf
results in FreeBSD 9.X (device puc & uart included in kernel):
none1@pci0:0:3:3:       class=0x070002 card=0x10048086 chip=0x2e178086 rev=0x03 hdr=0x00
vendor     = 'Intel Corporation'
device     = '4 Series Chipset Serial KT Controller'
class      = simple comms
subclass   = UART

Ubuntu info:
*-communication:1
description: Serial controller
product: 4 Series Chipset Serial KT Controller
vendor: Intel Corporation
physical id: 3.3
bus info: pci@0000:00:03.3
version: 03
width: 32 bits
clock: 66MHz
capabilities: pm msi 16550 bus_master cap_list
configuration: driver=serial latency=0
resources: irq:17 ioport:ecb8(size=8) memory:fdfda000-fdfdafff

# ndisgen
Windows Intel AMT SOL (PCI Serial Port device) driver (from MEI_AMT_ALLOS_6.1.0.1042_PV, 2009 or from LMS_SOL_AllOS_5.4.0.1065_PV, 2007) - not possible.

FreeBSD change source:
/sys/dev/puc/pucdata.c
	{   0x8086, 0x2e17, 0x8086, 0x1004,
	    "Intel PCI Serial Port (CC_0700)",
	    DEFAULT_RCLK,
	    PUC_PORT_1S, 0x10, 0, 0,
	},
No effect... :(

Full Datasheet.
http://www.intel.com/content/www/us/en/processors/xeon/4-chipset-family-datasheet.html - "Serial Port for Remote Keyboard and Text (KT) Redirection".

What are the correct settings from Datasheet be substituted into:
/sys/dev/puc/pucdata.c
???

P.S.
1. IPMI Serial over LAN driver (extended LAN interface) and Intel AMT hardware SOL (internal PCI Serial Port device) - this is different technology!
2. Fulltext discussion: http://forums.freebsd.org/showthread.php?t=30252

Regards, Bulanov Vladimir.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120307120205.88A021065672>