From owner-freebsd-stable@FreeBSD.ORG Mon Apr 29 15:53:41 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C4495465 for ; Mon, 29 Apr 2013 15:53:41 +0000 (UTC) (envelope-from fabian@wenks.ch) Received: from batman.home4u.ch (batman.home4u.ch [IPv6:2001:8a8:1005:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 057501D6E for ; Mon, 29 Apr 2013 15:53:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at home4u.ch Received: from flashback.wenks.ch (fabian@flashback.wenks.ch [IPv6:2001:8a8:1005:1:223:dfff:fedf:13c9]) (authenticated bits=0) by batman.home4u.ch (8.14.5/8.14.5) with ESMTP id r3TFrcUO058965 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 29 Apr 2013 17:53:38 +0200 (CEST) (envelope-from fabian@wenks.ch) Message-ID: <517E9782.2050701@wenks.ch> Date: Mon, 29 Apr 2013 17:53:38 +0200 From: Fabian Wenk User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: [Solved] [UART] GPS 18-5Hz LVC and COM1 silence, OK on Linux though... References: <517DB738.4060902@restecp.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2013 15:53:41 -0000 Hello Igor On 29.04.2013 04:06, Igor Mozolevsky wrote: > Once I narrowed down the problem (acpi uart), I stumbled across > > http://forums.freebsd.org/archive/index.php/t-15740.html > > Preventing the ACPI driver from seizing control of UART seems to work > and cuau0 is now functional. I have a similar problem, but with a DCF77 Gude mouseCLOCK (connected to on-board COM2), which was working just fine on this system when running FreeBSD 7.4 (sio). But since I have upgraded to FreeBSD 9.1 (uart), ntpd does only get partial data from the mouseCLOCK. So today I tried with the above hint, but this did not help. Without any modification (and also with disabled acpi for the uart) I do see messages like this (sorry for the line wrapping): Apr 29 16:31:39 superman ntpd[1737]: parse: convert_rawdcf: INCOMPLETE DATA - time code only has 0 bits Apr 29 16:31:39 superman ntpd[1737]: PARSE receiver #0: interval for following error message class is at least 00:01:00 Apr 29 16:31:39 superman ntpd[1737]: PARSE receiver #0: FAILED TIMECODE: "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00..." (check receiver configuration / wiring) Apr 29 16:31:41 superman ntpd[1737]: parse: convert_rawdcf: INCOMPLETE DATA - time code only has 1 bits Apr 29 16:31:43 superman ntpd[1737]: parse: convert_rawdcf: INCOMPLETE DATA - time code only has 2 bits Apr 29 16:31:52 superman ntpd[1737]: parse: convert_rawdcf: INCOMPLETE DATA - time code only has 11 bits [...] Apr 29 16:33:01 superman ntpd[1737]: parse: convert_rawdcf: INCOMPLETE DATA - time code only has 4 bits Apr 29 16:33:08 superman ntpd[1737]: parse: convert_rawdcf: INCOMPLETE DATA - time code only has 8 bits Apr 29 16:33:16 superman ntpd[1737]: PARSE receiver #0: no data from device within poll interval (check receiver / wiring) When I also add the following line to /boot/device.hints it does improve a little bit and ntpd sees more bits, but still not enough to be working (log entries below): hint.uart.1.flags="0x100" Apr 29 16:46:06 superman ntpd[1737]: parse: convert_rawdcf: INCOMPLETE DATA - time code only has 0 bits Apr 29 16:46:06 superman ntpd[1737]: PARSE receiver #0: interval for following error message class is at least 00:01:00 Apr 29 16:46:06 superman ntpd[1737]: PARSE receiver #0: FAILED TIMECODE: "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00..." (check receiver configuration / wiring) Apr 29 16:46:21 superman ntpd[1737]: parse: convert_rawdcf: INCOMPLETE DATA - time code only has 1 bits Apr 29 16:46:53 superman ntpd[1737]: PARSE receiver #0: interval for following error message class is at least 00:01:00 Apr 29 16:46:53 superman ntpd[1737]: PARSE receiver #0: no data from device within poll interval (check receiver / wiring) Apr 29 16:47:00 superman ntpd[1737]: parse: convert_rawdcf: INCOMPLETE DATA - time code only has 45 bits Apr 29 16:47:41 superman ntpd[1737]: parse: convert_rawdcf: parity check FAILED for "--##--####-####RADMLS-24--24p-24---P1--81--2412-81-2481--8P_?" Apr 29 16:47:41 superman ntpd[1737]: PARSE receiver #0: 2 messages where suppressed, error condition class persists for 00:01:35 Apr 29 16:47:41 superman ntpd[1737]: PARSE receiver #0: FAILED TIMECODE: "--##--####-####RADMLS-24--24p-24---P1--81--2412-81-2481--8P_" (check receiver configuration / wiring) Apr 29 16:47:58 superman ntpd[1737]: PARSE receiver #0: no data from device within poll interval (check receiver / wiring) Apr 29 16:48:00 superman ntpd[1737]: parse: convert_rawdcf: INCOMPLETE DATA - time code only has 23 bits Apr 29 16:48:45 superman ntpd[1737]: parse: convert_rawdcf: parity check FAILED for "--##-------##-#-AD--S1--8124p-24--2P12-8121-4-2481--48-248P__" Apr 29 16:48:45 superman ntpd[1737]: PARSE receiver #0: 1 message was suppressed, error condition class persists for 00:02:39 Apr 29 16:48:45 superman ntpd[1737]: PARSE receiver #0: FAILED TIMECODE: "--##-------##-#-AD--S1--8124p-24--2P12-8121-4-2481--48-248P_" (check receiver configuration / wiring) Apr 29 16:49:00 superman ntpd[1737]: parse: convert_rawdcf: INCOMPLETE DATA - time code only has 18 bits Apr 29 16:49:44 superman ntpd[1737]: parse: convert_rawdcf: parity check FAILED for "------#########---MLs-24--24p---81-P1--8121-41-4811--81-48P?_" Apr 29 16:50:00 superman ntpd[1737]: parse: convert_rawdcf: INCOMPLETE DATA - time code only has 18 bits Apr 29 16:50:00 superman ntpd[1737]: PARSE receiver #0: 2 messages where suppressed, error condition class persists for 00:03:54 Apr 29 16:50:00 superman ntpd[1737]: PARSE receiver #0: FAILED TIMECODE: "---##--####--#---" (check receiver configuration / wiring) Apr 29 16:50:08 superman ntpd[1737]: PARSE receiver #0: no data from device within poll interval (check receiver / wiring) Is there anything else I could try? bye Fabian