Project

General

Profile

Actions

Bug #3173

closed

tty support on zones under oi_151a6 does not work anymore

Added by Friedrich Kink about 11 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Category:
OS/Net (Kernel and Userland)
Target version:
Start date:
2012-09-09
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

In used one zone for a complete soft pbx (asterisk and hylafax with iaxmodem). This worked until oi_151a5 perfectly. While trussing the hylafax program faxq which uses iaxmodem as modem I see error Err#6 ENXIO in the truss below:

10688/1: getdents64(7, 0xFE994000, 8192) = 608
10688/1: stat("FIFO._var_spool_hylafax_dev_ttyIAX0", 0x08047AC8) = 0
10688/1: stat("etc/config._var_spool_hylafax_dev_ttyIAX0", 0x08047AC8) = 0
10688/1: stat("/var/spool/hylafax/dev/ttyIAX0", 0x08047910) = 0
10688/1: brk(0x080AA9D0) = 0
10688/1: brk(0x080AB9D0) = 0
10688/1: getuid() = 0 [5]
10688/1: getuid() = 0 [5]
10688/1: door_info(3, 0x080475A0) = 0
10688/1: door_call(3, 0x08047610) = 0
10688/1: getpid() = 10688 [9426]
10688/1: stat("FIFO._var_spool_hylafax_dev_ttyIAX1", 0x08047AC8) = 0
10688/1: stat("etc/config._var_spool_hylafax_dev_ttyIAX1", 0x08047AC8) = 0
10688/1: stat("/var/spool/hylafax/dev/ttyIAX1", 0x08047910) = 0
10688/1: getpid() = 10688 [9426]
10688/1: getdents64(7, 0xFE994000, 8192) = 0
10688/1: close(7) = 0
10688/1: open("sendq", O_RDONLY|O_NDELAY|O_LARGEFILE) = 7
10688/1: fcntl(7, F_SETFD, 0x00000001) = 0
10688/1: fstat64(7, 0x08047B60) = 0
10688/1: getdents64(7, 0xFE994000, 8192) = 48
10688/1: getdents64(7, 0xFE994000, 8192) = 0
10688/1: close(7) = 0
10688/1: open("FIFO._var_spool_hylafax_dev_ttyIAX0", O_WRONLY|O_NDELAY) Err#6 ENXIO
10688/1: open("FIFO._var_spool_hylafax_dev_ttyIAX1", O_WRONLY|O_NDELAY) Err#6 ENXIO
10688/1: open("client", O_RDONLY|O_NDELAY|O_LARGEFILE) = 7
10688/1: fcntl(7, F_SETFD, 0x00000001) = 0
10688/1: fstat64(7, 0x08047AE0) = 0
10688/1: getdents64(7, 0xFE994000, 8192) = 48
10688/1: getdents64(7, 0xFE994000, 8192) = 0
10688/1: close(7) = 0
10688/1: time() = 1347217307
10688/1: time() = 1347217307
10688/1: pollsys(0x080479E0, 1, 0x08047A88, 0x00000000) = 0
10688/1: stat("etc/config", 0x08047920) = 0
10688/1: pollsys(0x080479E0, 1, 0x00000000, 0x00000000) (sleeping...)

/var/spool/hylafax/dev/ttyIAX0 is a link to /dev/pts/2. This special device is created by iaxmodem. It worked as already mentioned perfectly until oi_151a5 but after upgrading to oi_151a6 it stopped receiving fax with the above mentioned error.

Actions #1

Updated by Friedrich Kink about 11 years ago

  • Status changed from New to In Progress
  • Assignee set to Friedrich Kink
  • % Done changed from 0 to 100

works again in version oi_151a7

Actions #2

Updated by Jon Tibble about 10 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF