Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2008 10:17:37 +0200
From:      Thomas Vogt <freebsdlists@bsdunix.ch>
To:        freebsd-stable@freebsd.org
Subject:   Timedia 8 port serial pci card problem
Message-ID:  <65DED12A-0263-4281-ADAC-CBF2A7857D5E@bsdunix.ch>

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

I run FreeBSD 7-Stable on my soekris net 5501 with a "8 Port Timedia  
Serial PCI Card". It's also know as SUNIX 4066 card.

My Kernel Config is like Generic exept this two added options:
options         CPU_SOEKRIS
device         puc

FreeBSD detects it with:  "puc0: <Timedia technology 8 Port Serial>  
port 0xe500-0xe51f,0xe520-0xe52f,0xe530-0xe537,0xe538-0xe53f, 
0xe540-0xe547,0xe548-0xe54f irq 10 at device 14.0 on pci0" . But it  
only adds 3 uart ports instead of 8. Any idea what i can do?

Maybe useful informations:

FreeBSD a2.test.lan 7.0-STABLE FreeBSD 7.0-STABLE #4: Thu May 15  
16:27:54 CEST 2008

pciconf:
puc0@pci0:0:14:0:	class=0x070002 card=0x50661409 chip=0x71681409  
rev=0x01 hdr=0x00
     vendor     = 'Timedia Technology Co Ltd'
     device     = '40371409 PCI / ISA Asynchronous UART Signal Chips  
Solution'
     class      = simple comms
     subclass   = UART

puc/uart:
puc0: <Timedia technology 8 Port Serial> port 0xe500-0xe51f, 
0xe520-0xe52f,0xe530-0xe537,0xe538-0xe53f,0xe540-0xe547,0xe548-0xe54f  
irq 10 at device 14.0 on pci0
puc0: Reserved 0x20 bytes for rid 0x10 type 4 at 0xe500
puc0: Lazy allocation of 0x4 bytes rid 0x11 type 4 at 0x1000
puc0: Lazy allocation of 0x4 bytes rid 0x12 type 4 at 0x1004
puc0: Lazy allocation of 0x4 bytes rid 0x13 type 4 at 0x1008
puc0: Reserved 0x10 bytes for rid 0x14 type 4 at 0xe520
puc0: Lazy allocation of 0x4 bytes rid 0x15 type 4 at 0x100c
puc0: [FILTER]
uart0: <Non-standard ns8250 class UART with FIFOs> on puc0
uart0: [FILTER]
uart0: fast interrupt
uart1: <16550 or compatible> on puc0
uart1: [FILTER]
uart1: fast interrupt
uart2: <Non-standard ns8250 class UART with FIFOs> on puc0
uart2: [FILTER]
uart2: fast interrupt



Complete dmesg:
Copyright (c) 1992-2008 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 7.0-STABLE #4: Thu May 15 16:27:54 CEST 2008
     root@bert.mlan.solnet.ch:/usr/obj/usr/src/sys/ULL
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0905000.
Calibrating clock(s) ... i8254 clock: 1193155 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 499904707 Hz
CPU: Geode(TM) Integrated Processor by AMD PCS (499.90-MHz 586-class  
CPU)
   Origin = "AuthenticAMD"  Id = 0x5a2  Stepping = 2
   Features=0x88a93d<FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CLFLUSH,MMX>
   AMD Features=0xc0400000<MMX+,3DNow!+,3DNow!>
Data TLB: 16 entries, fully associative
Instruction TLB: 16 entries, fully associative
L1 data cache: 64 kbytes, 32 bytes/line, 1 lines/tag, 16-way associative
L1 instruction cache: 64 kbytes, 32 bytes/line, 1 lines/tag, 16-way  
associative
L2 internal cache: 128 kbytes, 32 bytes/line, 1 lines/tag, 4-way  
associative
Write Allocate Disable
real memory  = 536870912 (512 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
0x0000000000c25000 - 0x000000001f6bbfff, 514420736 bytes (125591 pages)
avail memory = 515969024 (492 MB)
bios32: Found BIOS32 Service Directory header at 0xc00fac00
bios32: Entry = 0xfac40 (c00fac40)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf0000+0xac61
Other BIOS signatures found:
ULE: setup cpu 0
kbd: new array size 4
kbd1 at kbdmux0
nfslock: pseudo-device
random: <entropy source, Software, Yarrow>
mem: <memory>
K6-family MTRR support enabled (2 registers)
io: <I/O>
null: <null device, zero device>
npx0: INT 16 interface
cpu0 on motherboard
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 1 [class=060000] [hdr=80] is there (id=20801022)
pcibios: BIOS version 2.01
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: domain=0, physical bus=0
found->	vendor=0x1022, dev=0x2080, revid=0x31
	domain=0, bus=0, slot=1, func=0
	class=06-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0005, statreg=0x0220, cachelnsz=8 (dwords)
	lattimer=0xf8 (7440 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1022, dev=0x2082, revid=0x00
	domain=0, bus=0, slot=1, func=2
	class=10-10-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0006, statreg=0x0220, cachelnsz=8 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=10
	map[10]: type Memory, range 32, base 0xa0000000, size 14, enabled
found->	vendor=0x1106, dev=0x3053, revid=0x96
	domain=0, bus=0, slot=6, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0117, statreg=0x0210, cachelnsz=8 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x03 (750 ns), maxlat=0x08 (2000 ns)
	intpin=a, irq=11
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type I/O Port, range 32, base 0xe100, size  8, enabled
	map[14]: type Memory, range 32, base 0xa0004000, size  8, enabled
found->	vendor=0x1106, dev=0x3053, revid=0x96
	domain=0, bus=0, slot=7, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0117, statreg=0x0210, cachelnsz=8 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x03 (750 ns), maxlat=0x08 (2000 ns)
	intpin=a, irq=5
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type I/O Port, range 32, base 0xe200, size  8, enabled
	map[14]: type Memory, range 32, base 0xa0004100, size  8, enabled
found->	vendor=0x1106, dev=0x3053, revid=0x96
	domain=0, bus=0, slot=8, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0117, statreg=0x0210, cachelnsz=8 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x03 (750 ns), maxlat=0x08 (2000 ns)
	intpin=a, irq=9
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type I/O Port, range 32, base 0xe300, size  8, enabled
	map[14]: type Memory, range 32, base 0xa0004200, size  8, enabled
found->	vendor=0x1106, dev=0x3053, revid=0x96
	domain=0, bus=0, slot=9, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0117, statreg=0x0210, cachelnsz=8 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x03 (750 ns), maxlat=0x08 (2000 ns)
	intpin=a, irq=12
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type I/O Port, range 32, base 0xe400, size  8, enabled
	map[14]: type Memory, range 32, base 0xa0004300, size  8, enabled
found->	vendor=0x1409, dev=0x7168, revid=0x01
	domain=0, bus=0, slot=14, func=0
	class=07-00-02, hdrtype=0x00, mfdev=0
	cmdreg=0x0181, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=10
	map[10]: type I/O Port, range 32, base 0xe500, size  5, enabled
	map[14]: type I/O Port, range 32, base 0xe520, size  4, enabled
	map[18]: type I/O Port, range 32, base 0xe530, size  3, enabled
	map[1c]: type I/O Port, range 32, base 0xe538, size  3, enabled
	map[20]: type I/O Port, range 32, base 0xe540, size  3, enabled
	map[24]: type I/O Port, range 32, base 0xe548, size  3, enabled
found->	vendor=0x1022, dev=0x2090, revid=0x03
	domain=0, bus=0, slot=20, func=0
	class=06-01-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0009, statreg=0x02a0, cachelnsz=8 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[10]: type I/O Port, range 32, base 0x6000, size 13, enabled
	map[14]: type I/O Port, range 32, base 0x6100, size  8, enabled
	map[18]: type I/O Port, range 32, base 0x6200, size  9, enabled
found->	vendor=0x1022, dev=0x209a, revid=0x01
	domain=0, bus=0, slot=20, func=2
	class=01-01-80, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x02a0, cachelnsz=8 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[20]: type I/O Port, range 32, base 0xe000, size  4, enabled
found->	vendor=0x1022, dev=0x2094, revid=0x02
	domain=0, bus=0, slot=21, func=0
	class=0c-03-10, hdrtype=0x00, mfdev=1
	cmdreg=0x0006, statreg=0x0230, cachelnsz=8 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=15
	map[10]: type Memory, range 32, base 0xa0005000, size 12, enabled
found->	vendor=0x1022, dev=0x2095, revid=0x02
	domain=0, bus=0, slot=21, func=1
	class=0c-03-20, hdrtype=0x00, mfdev=0
	cmdreg=0x0006, statreg=0x0230, cachelnsz=8 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=15
	map[10]: type Memory, range 32, base 0xa0006000, size 12, enabled
pci0: <encrypt/decrypt, entertainment crypto> at device 1.2 (no driver  
attached)
vr0: <VIA VT6105M Rhine III 10/100BaseTX> port 0xe100-0xe1ff mem  
0xa0004000-0xa00040ff irq 11 at device 6.0 on pci0
vr0: Quirks: 0x6
vr0: Revision: 0x96
vr0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xe100
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0: OUI 0x004063, model 0x0034, rev. 3
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: bpf attached
vr0: Ethernet address: 00:00:24:ca:0a:d8
vr0: [MPSAFE]
vr0: [ITHREAD]
vr1: <VIA VT6105M Rhine III 10/100BaseTX> port 0xe200-0xe2ff mem  
0xa0004100-0xa00041ff irq 5 at device 7.0 on pci0
vr1: Quirks: 0x6
vr1: Revision: 0x96
vr1: Reserved 0x100 bytes for rid 0x10 type 4 at 0xe200
miibus1: <MII bus> on vr1
ukphy1: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
ukphy1: OUI 0x004063, model 0x0034, rev. 3
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr1: bpf attached
vr1: Ethernet address: 00:00:24:ca:0a:d9
vr1: [MPSAFE]
vr1: [ITHREAD]
vr2: <VIA VT6105M Rhine III 10/100BaseTX> port 0xe300-0xe3ff mem  
0xa0004200-0xa00042ff irq 9 at device 8.0 on pci0
vr2: Quirks: 0x6
vr2: Revision: 0x96
vr2: Reserved 0x100 bytes for rid 0x10 type 4 at 0xe300
miibus2: <MII bus> on vr2
ukphy2: <Generic IEEE 802.3u media interface> PHY 1 on miibus2
ukphy2: OUI 0x004063, model 0x0034, rev. 3
ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr2: bpf attached
vr2: Ethernet address: 00:00:24:ca:0a:da
vr2: [MPSAFE]
vr2: [ITHREAD]
vr3: <VIA VT6105M Rhine III 10/100BaseTX> port 0xe400-0xe4ff mem  
0xa0004300-0xa00043ff irq 12 at device 9.0 on pci0
vr3: Quirks: 0x6
vr3: Revision: 0x96
vr3: Reserved 0x100 bytes for rid 0x10 type 4 at 0xe400
miibus3: <MII bus> on vr3
ukphy3: <Generic IEEE 802.3u media interface> PHY 1 on miibus3
ukphy3: OUI 0x004063, model 0x0034, rev. 3
ukphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr3: bpf attached
vr3: Ethernet address: 00:00:24:ca:0a:db
vr3: [MPSAFE]
vr3: [ITHREAD]
puc0: <Timedia technology 8 Port Serial> port 0xe500-0xe51f, 
0xe520-0xe52f,0xe530-0xe537,0xe538-0xe53f,0xe540-0xe547,0xe548-0xe54f  
irq 10 at device 14.0 on pci0
puc0: Reserved 0x20 bytes for rid 0x10 type 4 at 0xe500
puc0: Lazy allocation of 0x4 bytes rid 0x11 type 4 at 0x1000
puc0: Lazy allocation of 0x4 bytes rid 0x12 type 4 at 0x1004
puc0: Lazy allocation of 0x4 bytes rid 0x13 type 4 at 0x1008
puc0: Reserved 0x10 bytes for rid 0x14 type 4 at 0xe520
puc0: Lazy allocation of 0x4 bytes rid 0x15 type 4 at 0x100c
puc0: [FILTER]
uart0: <Non-standard ns8250 class UART with FIFOs> on puc0
uart0: [FILTER]
uart0: fast interrupt
uart1: <16550 or compatible> on puc0
uart1: [FILTER]
uart1: fast interrupt
uart2: <Non-standard ns8250 class UART with FIFOs> on puc0
uart2: [FILTER]
uart2: fast interrupt
isab0: <PCI-ISA bridge> at device 20.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD CS5536 UDMA100 controller> port  
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 20.2 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xe000
ata0: <ATA channel 0> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ata0: [MPSAFE]
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
ata1: reset tp1 mask=00 ostat0=ff ostat1=ff
ata1: [MPSAFE]
ata1: [ITHREAD]
ohci0: <OHCI (generic) USB controller> mem 0xa0005000-0xa0005fff irq  
15 at device 21.0 on pci0
ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xa0005000
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 4 ports with 4 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xa0006000-0xa0006fff  
irq 15 at device 21.1 on pci0
ehci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xa0006000
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1: <EHCI (generic) USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: <AMD EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb1
uhub1: 4 ports with 4 removable, self powered
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
pnp_identify: Trying Read_Port at 203
pnp_identify: Trying Read_Port at 243
pnp_identify: Trying Read_Port at 283
pnp_identify: Trying Read_Port at 2c3
pnp_identify: Trying Read_Port at 303
pnp_identify: Trying Read_Port at 343
pnp_identify: Trying Read_Port at 383
pnp_identify: Trying Read_Port at 3c3
PNP Identify complete
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc8000-0xd27ff pnpid ORM0000 on isa0
adv0: not probed (disabled)
aha0: not probed (disabled)
aic0: not probed (disabled)
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
kbd0: atkbd0, generic (0), config:0x0, flags:0x1f0000
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: current command byte:004d
psm0: failed to reset the aux device.
bt0: not probed (disabled)
cs0: not probed (disabled)
ed0: not probed (disabled)
fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0
fe0: not probed (disabled)
ie0: not probed (disabled)
le0: not probed (disabled)
ppc0 failed to probe at irq 7 on isa0
sc0: no video adapter found.
sc0: <System console> failed to probe on isa0
sio0: irq maps: 0x8001 0x8011 0x8001 0x8001
sio0: irq maps: 0x8001 0x8011 0x8001 0x8001
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio0: [FILTER]
sio1: irq maps: 0x8001 0x8009 0x8001 0x8001
sio1: irq maps: 0x8001 0x8009 0x8001 0x8001
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio1: [FILTER]
sio2: not probed (disabled)
sio3: not probed (disabled)
sn0: not probed (disabled)
vga0: <Generic ISA VGA> failed to probe on isa0
vt0: not probed (disabled)
isa_probe_children: probing PnP devices
Device configuration finished.
procfs registered
Timecounter "TSC" frequency 499904707 Hz quality 800
Timecounters tick every 6.666 msec
ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based  
forwarding enabled, default to accept, logging limited to 100 packets/ 
entry by default
lo0: bpf attached
ata0-master: pio=PIO4 wdma=WDMA2 udma=UNSUPPORTED cable=40 wire
atapicam: atapicam0 already exists; skipping it
ad0: setting PIO4 on CS5536 chip
ad0: setting WDMA2 on CS5536 chip
ad0: 1953MB <SanDisk SDCFH-2048 HDX 4.04> at ata0-master WDMA2
ad0: 4001760 sectors [3970C/16H/63S] 4 sectors/interrupt 1 depth queue
GEOM: new disk ad0
Trying to mount root from ufs:/dev/ad0s1a
Invalid time in clock: check and reset the date!
start_init: trying /sbin/init
15.fe8155ebfe6e5152 too short
15.fe8168502ce320aa too short

Regards,
Thomas Vogt






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?65DED12A-0263-4281-ADAC-CBF2A7857D5E>