Hello.

I'm curious if anyone ever found a solution to the dreaded 'System error 35' problem on Mac OS. I'm using 10.4.10 Sever and a USB/serial port adapter to connect to a multitech Mtcba-g-f2 modem. I can connect manually to the modem and issue AT commands. Once i run kannel, however, I get this nasty stream of debug info, and my /dev/ttyX port (where the modem is running) is usually completely hosed -- only a reboot enables me to talk to the modem again.

Even if you don't know the answer to my problem, is there some way to HUP/bitchslap that port into working again? i'm getting tired of rebooting every time i want to try something else :)

thanks!
--bh


[xe:~/gateway-1.4.1/gw] brianna% ./bearerbox -v 0 my_kannel.conf
2008-03-19 13:39:23 [543] [0] INFO: Debug_lvl = 0, log_file = <none>, log_lvl = 0 2008-03-19 13:39:23 [543] [0] WARNING: DLR: using default 'internal' for storage type.
2008-03-19 13:39:23 [543] [0] INFO: DLR using storage type: internal
2008-03-19 13:39:23 [543] [0] DEBUG: Kannel bearerbox version `1.4.1'.
Build `Mar 10 2008 18:18:13', compiler `4.0.1 (Apple Inc. build 5465)'.
System Darwin, release 9.2.0, version Darwin Kernel Version 9.2.0: Tue Feb 5 16:13:22 PST 2008; root:xnu-1228.3.13~1/RELEASE_I386, machine i386.
Hostname xe.local, IP
Libxml version 2.6.16.
Using OpenSSL 0.9.7l 28 Sep 2006.
Using native malloc.

2008-03-19 13:39:23 [543] [0] INFO: HTTP: Opening server at port 13000.
2008-03-19 13:39:23 [543] [0] DEBUG: Started thread 1 (gwlib/ fdset.c:poller) 2008-03-19 13:39:23 [543] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 543. 2008-03-19 13:39:23 [543] [0] DEBUG: Started thread 2 (gwlib/ http.c:server_thread) 2008-03-19 13:39:23 [543] [2] DEBUG: Thread 2 (gwlib/ http.c:server_thread) maps to pid 543. 2008-03-19 13:39:23 [543] [0] DEBUG: Started thread 3 (gw/ bb_http.c:httpadmin_run)
2008-03-19 13:39:23 [543] [0] DEBUG: starting smsbox connection module
2008-03-19 13:39:23 [543] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2008-03-19 13:39:23 [543] [3] DEBUG: Thread 3 (gw/ bb_http.c:httpadmin_run) maps to pid 543. 2008-03-19 13:39:23 [543] [0] DEBUG: Started thread 4 (gw/ bb_boxc.c:sms_to_smsboxes) 2008-03-19 13:39:23 [543] [4] DEBUG: Thread 4 (gw/ bb_boxc.c:sms_to_smsboxes) maps to pid 543. 2008-03-19 13:39:23 [543] [0] DEBUG: Started thread 5 (gw/ bb_boxc.c:smsboxc_run) 2008-03-19 13:39:23 [543] [5] DEBUG: Thread 5 (gw/ bb_boxc.c:smsboxc_run) maps to pid 543. 2008-03-19 13:39:23 [543] [0] INFO: Set SMS resend frequency to 60 seconds.
2008-03-19 13:39:23 [543] [0] INFO: SMS resend retry set to unlimited.
2008-03-19 13:39:23 [543] [0] INFO: DLR rerouting for smsc id <(null)> disabled. 2008-03-19 13:39:23 [543] [0] INFO: AT2[/dev/tty.KeySerial1]: configuration doesn't show modemtype. will autodetect 2008-03-19 13:39:23 [543] [0] DEBUG: Started thread 6 (gw/smsc/ smsc_at.c:at2_device_thread) 2008-03-19 13:39:23 [543] [6] DEBUG: Thread 6 (gw/smsc/ smsc_at.c:at2_device_thread) maps to pid 543. 2008-03-19 13:39:23 [543] [6] DEBUG: AT2[/dev/tty.KeySerial1]: detecting modem type 2008-03-19 13:39:23 [543] [6] INFO: AT2[/dev/tty.KeySerial1]: opening device 2008-03-19 13:39:23 [543] [0] DEBUG: Started thread 7 (gw/ bb_smscconn.c:sms_router) 2008-03-19 13:39:23 [543] [7] DEBUG: Thread 7 (gw/ bb_smscconn.c:sms_router) maps to pid 543. 2008-03-19 13:39:23 [543] [0] INFO: ---------------------------------------- 2008-03-19 13:39:23 [543] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2008-03-19 13:39:23 [543] [0] INFO: Kannel bearerbox II version 1.4.1 starting 2008-03-19 13:39:23 [543] [0] INFO: MAIN: Start-up done, entering mainloop 2008-03-19 13:39:23 [543] [0] DEBUG: AT2[/dev/tty.KeySerial1]: start called
2008-03-19 13:39:23 [543] [7] DEBUG: sms_router: gwlist_len = 0
2008-03-19 13:39:23 [543] [6] DEBUG: AT2[/dev/tty.KeySerial1]: device opened 2008-03-19 13:39:24 [543] [6] DEBUG: AT2[/dev/tty.KeySerial1]: device opened 2008-03-19 13:39:24 [543] [6] INFO: AT2[/dev/tty.KeySerial1]: speed set to 4800
2008-03-19 13:39:24 [543] [6] DEBUG: AT2[/dev/tty.KeySerial1]: --> ^M
2008-03-19 13:39:26 [543] [6] ERROR: AT2[/dev/tty.KeySerial1]: Couldnot write to device. 2008-03-19 13:39:26 [543] [6] ERROR: System error 35: Resource temporarily unavailable
2008-03-19 13:39:28 [543] [6] DEBUG: AT2[/dev/tty.KeySerial1]: --> AT^M
2008-03-19 13:39:31 [543] [6] ERROR: AT2[/dev/tty.KeySerial1]: Couldnot write to device. 2008-03-19 13:39:31 [543] [6] ERROR: System error 35: Resource temporarily unavailable 2008-03-19 13:39:35 [543] [6] DEBUG: AT2[/dev/tty.KeySerial1]: --> AT&F^M 2008-03-19 13:39:38 [543] [6] ERROR: AT2[/dev/tty.KeySerial1]: Couldnot write to device. 2008-03-19 13:39:38 [543] [6] ERROR: System error 35: Resource temporarily unavailable 2008-03-19 13:39:42 [543] [6] DEBUG: AT2[/dev/tty.KeySerial1]: detecting modem type 2008-03-19 13:39:42 [543] [6] INFO: AT2[/dev/tty.KeySerial1]: opening device 2008-03-19 13:39:42 [543] [6] WARNING: AT2[/dev/tty.KeySerial1]: trying to open device with not closed device!!! Please report!!! 2008-03-19 13:39:42 [543] [6] INFO: AT2[/dev/tty.KeySerial1]: closing device
^C
2008-03-19 13:39:43 [543] [0] WARNING: Killing signal or HTTP admin command received, shutting down...
2008-03-19 13:39:43 [543] [0] DEBUG: Shutting down Kannel...
2008-03-19 13:39:43 [543] [0] DEBUG: shutting down smsc
2008-03-19 13:39:43 [543] [0] DEBUG: AT2[/dev/tty.KeySerial1]: Shutting down SMSCConn, slow
2008-03-19 13:39:43 [543] [0] DEBUG: shutting down udp
^C^C2008-03-19 13:39:43 [543] [0] PANIC: Cannot die by its own will

Reply via email to