Segfault if port 1250 bounded
Linux Driver for Antec Kuhler 1250
Brought to you by:
anon31337,
stevef9432203
Issues
1. Unable to locate forked in process.
2. server_thread does not handle SIGINT (Ctrl+C) to unbind socket
Hi! I'd like to know some details about how you are running please.
You say re-running causes segfault, any reason why you need to re-run the server?
Can you please tell me about your environment? Kernel Version, Distro, etc?
Does the software otherwise work?
How many Kuhler-1250s do you have in the system?
Thanks for filing the bug report. I'll investigate when I get some more information.
Thanks!
You say re-running causes segfault, any reason why you need to re-run the
server?
Testing, there is no /etc/init.d script so I starting from terminal
$ ./kuhler_1250
Can you please tell me about your environment? Kernel Version, Distro,
etc?
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
$ uname -a
Linux sheldon-N400 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC
2016 x86_64 x86_64 x86_64 GNU/Linux
$lshw // the main bits
Bus info Device Class Description
cpu@0 processor AMD FX(tm)-9590 Eight-Core
Processor
pci@0000:01:00.0 display Curacao XT [Radeon R7 370 / R9
270X/370 OEM]
usb@7:3 generic USB-Serial Controller D
Does the software otherwise work?
kuhler_1250 seems to be working, but unable to connect /dev/ttyUSB0
/var/log/syslog
Nov 3 12:13:22 sheldon-N400 kuhler_1250: Kuhler 1250: Read Entry 0 -
/dev/ttyUSB0 CPU0_Cores_7_to_0
Nov 3 12:13:22 sheldon-N400 kuhler_1250: Kuhler 1250 INFO: Max Coolers 1
Nov 3 12:13:22 sheldon-N400 kuhler_1250: Kuhler 1250 INFO: Attempting to
Open: /dev/ttyUSB0
Nov 3 12:13:22 sheldon-N400 kuhler_1250: Kuhler 1250 ERROR: Failed to open
/dev/ttyUSB0
socket_cli connects but I unable to adjust values. I'll have to finger out
which /dev/ttyUSB device the cooler is connected to. I thinking it
USB-Serial Controller D on usb@7:3.
How many Kuhler-1250s do you have in the system?
1 Kuhler 1250
On Thu, Nov 3, 2016 at 9:13 PM, AlphaGeek anon31337@users.sf.net wrote:
Related
Tickets: #1
Will Send script we use om tesr system with test system
Steve F
ent from Yahoo Mail on Android
On Thu, Nov 3, 2016 at 20:01, sheldon robinsonsheldonrobinson@users.sf.net wrote:
You say re-running causes segfault, any reason why you need to re-run the
server?
Testing, there is no /etc/init.d script so I starting from terminal
$ ./kuhler_1250
Can you please tell me about your environment? Kernel Version, Distro,
etc?
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
$ uname -a
Linux sheldon-N400 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC
2016 x86_64 x86_64 x86_64 GNU/Linux
$lshw // the main bits
Bus info Device Class Description
cpu@0 processor AMD FX(tm)-9590 Eight-Core
Processor
pci@0000:01:00.0 display Curacao XT [Radeon R7 370 / R9
270X/370 OEM]
usb@7:3 generic USB-Serial Controller D
Does the software otherwise work?
kuhler_1250 seems to be working, but unable to connect /dev/ttyUSB0
/var/log/syslog
Nov 3 12:13:22 sheldon-N400 kuhler_1250: Kuhler 1250: Read Entry 0 -
/dev/ttyUSB0 CPU0_Cores_7_to_0
Nov 3 12:13:22 sheldon-N400 kuhler_1250: Kuhler 1250 INFO: Max Coolers 1
Nov 3 12:13:22 sheldon-N400 kuhler_1250: Kuhler 1250 INFO: Attempting to
Open: /dev/ttyUSB0
Nov 3 12:13:22 sheldon-N400 kuhler_1250: Kuhler 1250 ERROR: Failed to open
/dev/ttyUSB0
socket_cli connects but I unable to adjust values. I'll have to finger out
which /dev/ttyUSB device the cooler is connected to. I thinking it
USB-Serial Controller D on usb@7:3.
How many Kuhler-1250s do you have in the system?
1 Kuhler 1250
On Thu, Nov 3, 2016 at 9:13 PM, AlphaGeek anon31337@users.sf.net wrote:
Hi! I'd like to know some details about how you are running please.
You say re-running causes segfault, any reason why you need to re-run the
server?
Can you please tell me about your environment? Kernel Version, Distro, etc?
Does the software otherwise work?
How many Kuhler-1250s do you have in the system?
Thanks for filing the bug report. I'll investigate when I get some more
information.
Thanks!
https://sourceforge.net/p/antec-kuhler-h20-1250/tickets/1/ Segfault if
port 1250 bounded*
Status: open
Milestone: 2.0
Created: Thu Nov 03, 2016 04:57 PM UTC by sheldon robinson
Last Updated: Thu Nov 03, 2016 04:57 PM UTC
Owner: nobody
kuhler_1250[14676]: segfault at 10 ip 00007fe195ac3bd3 sp
00007fe195228f68 error 4 in libc-2.23.so[7fe195a2e000+1bf000]
fuser -k 1250/tcp
Issues
1. Unable to locate forked in process.
2. server_thread does not handle SIGINT (Ctrl+C) to unbind socket
Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/antec-kuhler-h20-1250/tickets/1/
To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/
[tickets:#1] Segfault if port 1250 bounded
Status: open
Milestone: 2.0
Created: Thu Nov 03, 2016 04:57 PM UTC by sheldon robinson
Last Updated: Fri Nov 04, 2016 01:13 AM UTC
Owner: nobody
- Re-running causes segfault
kuhler_1250[14676]: segfault at 10 ip 00007fe195ac3bd3 sp 00007fe195228f68 error 4 in libc-2.23.so[7fe195a2e000+1bf000]
- Users need to kill server socket 1250 before re-running
fuser -k 1250/tcp
Issues
1. Unable to locate forked in process.
2. server_thread does not handle SIGINT (Ctrl+C) to unbind socket
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/antec-kuhler-h20-1250/tickets/1/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Tickets: #1
Thanks for providing the information. Can you also do a "lsusb"?
There is no real detection code for the kuhler right now, so if you have other USB devices with the same VID:PID it could cause this issue.
The next version will have an attempt at kuhler detection, either with a standalone setup program, or better detection code in the server.
Thanks!
$ lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial
Port
Bus 007 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth
Dongle (HCI mode)
Bus 007 Device 002: ID 2563:0523
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 003: ID 05b8:3279 Agiler, Inc.
Bus 008 Device 002: ID 1bcf:0005 Sunplus Innovation Technology Inc. Optical
Mouse
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0e8d:7610 MediaTek Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
On Fri, Nov 4, 2016 at 11:50 AM, AlphaGeek anon31337@users.sf.net wrote:
Related
Tickets: #1
Thanks for the info. I agree that "Bus 007 Device 004: ID 067b:2303
Prolific Technology, Inc. PL2303 Serial" is the Kuhler 1250. If Steve
hasn't already emailed you, you probably don't have permissions as a normal
user on the /dev entry in your configuration file.
Two options:
use sudo to start the daemon
(perferred) add yourself to the "dialout" group for the /dev entry, and
run the daemon/server as a normal user.
Let us know if that works or if you need some help!
On Sat, Nov 5, 2016 at 11:48 PM, sheldon robinson sheldonrobinson@users.sf.net wrote:
Related
Tickets: #1
I needed to pass -c <conf-file> as does not default to
/etc/kuhler_1250.conf, missing check for NULL
PATCH
$ diff kuhler_1250_old.c kuhler_1250.c
182c182
< if (config_file == "") {
TESTS
~$ groups
sheldon adm dialout cdrom sudo dip plugdev lpadmin sambashare wireshark
libvirtd
Tests
BEGIN:
$ netstat -at | grep 1250
port 1250 NOT CONNECTED
$ ./kuhler_1250
$ netstat -at | grep 1250
port 1250 NOT CONNECTED, suspect segfault
$ tail -n 2 /var/log/syslog
Nov 7 11:17:01 sheldon-N400 CRON[3164]: (root) CMD ( cd / && run-parts
--report /etc/cron.hourly)
Nov 7 11:17:46 sheldon-N400 kuhler_1250: Kuhler 1250 : Error : Could not
open (null) for reading
$ ./kuhler_1250 -c /etc/kuhler_1250.conf
$ netstat -at | grep 1250
tcp 0 0 :1250 :* LISTEN
kuhler_1250 STARTED, LISTENING on port 1250
$ ./socket_cli 127.0.0.1 1250
Command Received:
mode: 0, spd: 238, optflg: 0, id: 15
DBG END : mode: 0, spd: 238, optflg: 0, id: 15
Coolers Detected 1
Kuhler 1250 ID: 0 RPM : 1287 LIQUID_TEMP: 30.0 C / 86.0 F
On Sun, Nov 6, 2016 at 10:55 AM, AlphaGeek anon31337@users.sf.net wrote:
Related
Tickets: #1