Open2300 hanging on CentOS? 5

Question

I have been using Open2300 1.10 with Mandrake 10 with no problems. I recently reloaded the same hardware to CentOS? 5 (stock kernel version 2.6.18-8.1.8.el5xen).

I compiled new copies of Open2300 and used the same config file (ttyS0 does seem to be correct in both distributions).

However, any of the programs such as fetch2300 hang for a long time and eventually fails with the message "Could not reset". It appears that temperature_indoor() is hanging on the statement: if (read_safe(ws2300, address, bytes, data, command) = bytes) read_error_exit();

I have tried the Non Blocking Open patch on 1.10 but it did not fix it. I have also tried 1.11 and it hangs as well.

Update: After much digging, I found the answer. It appears the Xen console grabbded /dev/ttyS0. See: http://phaq.phunsites.net/2007/06/30/xen-console-grabbded-devttys0/

Environment

Open2300 version: 1.10
Libraries: mysql
Server OS: CentOS? 5, kernel 2.6.18-8.1.8.el5xen

-- BillBagger - 21 Jul 2007

Answer

Topic attachments
I Attachment Action Size Date Who Comment
make_output.txttxt make_output.txt manage 2.5 K 21 Jul 2007 - 02:27 BillBagger Output from Make for 1.11
open2300.confconf open2300.conf manage 3.0 K 21 Jul 2007 - 02:27 BillBagger open2300.conf
Topic revision: r3 - 27 Jul 2007 - 20:44:38 - KennethLavrsen
 
Open2300 - Support Question 2007x 07x 21x 021317
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback