FreeBSD 10.1-RELENG - No serial console on Intel J1900

Kai Gallasch k at free.de
Mon Mar 16 09:43:42 UTC 2015


Hi list.

For some time I have been struggling to get the serial console
operational on an ASRock Q1900B-ITX mainboard (Intel J1900)

I have "-Dh" in /boot.config and tried enabling ttyu0 and ttyu1 in
/etc/ttys. Serial cable was connected to the onboads serial ports of the
mainboard.

What I also tried was connecting the serial console cable to a USB to
serial converter (using ttyU0 device in /etc/ttys), but also no luck.

When I press return on an active console session the cursor on the
console does a carriage return to the next line, but the screen shows no
output at all.

This can be seen on the USB to serial converter cable connection and
also on the connection to the serial ports on the mainboard.

I also made a test with

kern.vty=vt
console="comconsole vidconsole"
comconsole_speed="9600"
boot_multicons="YES"

in /boot/loader.conf - but no solution.

Is this ACPI related?
Any hint appreciated.

Regards,
K.


--- pciconf -lv ---

% pciconf -lv
hostb0 at pci0:0:0:0:	class=0x060000 card=0x0f311849 chip=0x0f008086
rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'ValleyView SSA-CUnit'
    class      = bridge
    subclass   = HOST-PCI
vgapci0 at pci0:0:2:0:	class=0x030000 card=0x0f311849 chip=0x0f318086
rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'ValleyView Gen7'
    class      = display
    subclass   = VGA
ahci0 at pci0:0:19:0:	class=0x010601 card=0x0f231849 chip=0x0f238086
rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'ValleyView 6-Port SATA AHCI Controller'
    class      = mass storage
    subclass   = SATA
xhci0 at pci0:0:20:0:	class=0x0c0330 card=0x0f351849 chip=0x0f358086
rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'ValleyView USB xHCI Host Controller'
    class      = serial bus
    subclass   = USB
none0 at pci0:0:26:0:	class=0x108000 card=0x0f181849 chip=0x0f188086
rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'ValleyView SEC'
    class      = encrypt/decrypt
pcib1 at pci0:0:28:0:	class=0x060400 card=0x0f481849 chip=0x0f488086
rev=0x0c hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'ValleyView PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib2 at pci0:0:28:1:	class=0x060400 card=0x0f4a1849 chip=0x0f4a8086
rev=0x0c hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'ValleyView PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib3 at pci0:0:28:2:	class=0x060400 card=0x0f4c1849 chip=0x0f4c8086
rev=0x0c hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'ValleyView PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib4 at pci0:0:28:3:	class=0x060400 card=0x0f4e1849 chip=0x0f4e8086
rev=0x0c hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'ValleyView PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
ehci0 at pci0:0:29:0:	class=0x0c0320 card=0x0f341849 chip=0x0f348086
rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'ValleyView USB Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
isab0 at pci0:0:31:0:	class=0x060100 card=0x0f1c1849 chip=0x0f1c8086
rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'ValleyView Power Control Unit'
    class      = bridge
    subclass   = PCI-ISA
none1 at pci0:0:31:3:	class=0x0c0500 card=0x0f121849 chip=0x0f128086
rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'ValleyView SMBus Controller'
    class      = serial bus
    subclass   = SMBus
re0 at pci0:2:0:0:	class=0x020000 card=0x81681849 chip=0x816810ec rev=0x11
hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
    class      = network
    subclass   = ethernet



--- dmesg.out ---

Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.1-RELEASE-p6 #0: Tue Feb 24 19:00:21 UTC 2015
    root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
VT: running with driver "vga".
CPU: Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz (2000.05-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x30673  Family = 0x6  Model = 0x37
Stepping = 3

Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>

Features2=0x41d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,RDRAND>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x101<LAHF,Prefetch>
  Structured Extended Features=0x2282<TSCADJ,SMEP,ERMS>
  VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
real memory  = 4294967296 (4096 MB)
avail memory = 3790082048 (3614 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  2
 cpu2 (AP): APIC ID:  4
 cpu3 (AP): APIC ID:  6
WARNING: Bogus Interrupt Polarity. Assume CONFORMS
ioapic0 <Version 2.0> irqs 0-86 on motherboard
random: <Software, Yarrow> initialized
module_register_init: MOD_LOAD (vesa, 0xffffffff80d942d0, 0) error 19
kbd1 at kbdmux0
cryptosoft0: <software crypto> on motherboard
acpi0: <ALASKA A M I > on motherboard
acpi0: Power Button (fixed)
unknown: I/O range not supported
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0
atrtc0: Warning: Couldn't map I/O.
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 8 on
acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pcib0: Length mismatch for 3 range: 10716fff vs 10717000
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0xf080-0xf087 mem
0xd0000000-0xd03fffff,0xc0000000-0xcfffffff irq 16 at device 2.0 on pci0
vgapci0: Boot video device
ahci0: <AHCI SATA controller> port
0xf070-0xf077,0xf060-0xf063,0xf050-0xf057,0xf040-0xf043,0xf020-0xf03f
mem 0xd0716000-0xd07167ff irq 19 at device 19.0 on pci0
ahci0: AHCI v1.30 with 2 3Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xd0700000-0xd070ffff irq
20 at device 20.0 on pci0
xhci0: 32 byte context size.
usbus0 on xhci0
pci0: <encrypt/decrypt> at device 26.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
pci2: <ACPI PCI bus> on pcib2
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port
0xe000-0xe0ff mem 0xd0604000-0xd0604fff,0xd0600000-0xd0603fff irq 17 at
device 0.0 on pci2
re0: Using 1 MSI-X message
re0: Chip rev. 0x4c000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8251 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX,
100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master,
1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Ethernet address: d0:50:99:2c:fb:d1
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pci4: <ACPI PCI bus> on pcib4
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xd0715000-0xd07153ff irq
23 at device 29.0 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: console (9600,n,8,1)
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2
on isa0
ppc0: cannot reserve I/O port range
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> on cpu3
random: unblocking device.
usbus0: 5.0Gbps Super Speed USB v3.0
ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is
present;
            to enable, add "vfs.zfs.prefetch_disable=0" to
/boot/loader.conf.
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
usbus1: 480Mbps High Speed USB v2.0
ugen0.1: <0x8086> at usbus0
uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
uhub0: 7 ports with 7 removable, self powered
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <WDC WD10JFCX-68N6GN0 82.00A82> ATA-9 SATA 3.x device
ada0: Serial Number WD-WX91E7439T2T
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <WDC WD10JFCX-68N6GN0 82.00A82> ATA-9 SATA 3.x device
ada1: Serial Number WD-WXK1E644844Z
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada1: Previously was known as ad6
lapic6: Forcing LINT1 to edge trigger
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
Timecounter "TSC" frequency 2000047056 Hz quality 1000
uhub1: 8 ports with 8 removable, self powered
Enter passphrase for ada0p4: ugen1.2: <vendor 0x8087> at usbus1
uhub2: <vendor 0x8087 product 0x07e6, class 9/0, rev 2.00/0.12, addr 2>
on usbus1
uhub2: 4 ports with 4 removable, self powered
ugen1.3: <vendor 0x05e3> at usbus1
uhub3: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/85.37, addr 3> on
usbus1
GEOM_MIRROR: Force device swap start due to timeout.
uhub3: 3 ports with 3 removable, self powered
ugen1.4: <vendor 0x1a40> at usbus1
uhub4: <vendor 0x1a40 USB 2.0 Hub, class 9/0, rev 2.00/1.11, addr 4> on
usbus1
uhub4: 4 ports with 4 removable, self powered
ugen1.5: <vendor 0x04d9> at usbus1
ukbd0: <vendor 0x04d9 product 0x1400, class 0/0, rev 1.10/1.43, addr 5>
on usbus1
kbd2 at ukbd0
ugen1.6: <FTDI> at usbus1
GEOM_ELI: Encryption: AES-XTS 256
GEOM_ELI:     Crypto: software
GEOM_MIRROR: Device mirror/swap launched (1/2).
GEOM_ELI: Device ada1p4.eli created.
GEOM_ELI: Encryption: AES-XTS 256
GEOM_ELI:     Crypto: software
Trying to mount root from zfs:zroot/ROOT/default []...
GEOM_ELI: Device mirror/swap.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI:     Crypto: software
ums0: <vendor 0x04d9 product 0x1400, class 0/0, rev 1.10/1.43, addr 5>
on usbus1
ums0: 5 buttons and [XYZ] coordinates ID=1
uftdi0: <USB Serial Converter> on usbus1



-- 
PGP-KeyID = 0x70654D7C4FB1F588
I am not a robot.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20150316/72d0ffe6/attachment.sig>


More information about the freebsd-stable mailing list