Project

General

Profile

Actions

Bug #1606

closed

[ERRCODE: SC_ERR_SYSCALL(50)] - Failure when trying to get MTU via ioctl: 6

Added by Franco Fichtner over 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

On 3.0RC1 / FreeBSD 10.1 using --netmap.

Can test patches.

Actions #1

Updated by Peter Manev over 8 years ago

This looks like duplicate of the one here - https://redmine.openinfosecfoundation.org/issues/1605

Franco - can you please try out the posted patch and give some feedback?

Actions #2

Updated by Victor Julien over 8 years ago

  • Assignee set to Anonymous
  • Target version changed from 3.0RC2 to 70
Actions #3

Updated by Franco Fichtner over 8 years ago

Hi Peter,

We tried the patch for #1605, this is the new output:

5/12/2015 -- 10:17:09 - <Warning> - [ERRCODE: SC_ERR_SYSCALL(50)] - Failure when trying to get MTU via ioctl for 'em1+': Device not configured (6)

Our netmap config is as follows:

netmap:
  - interface: default
    threads: auto
    copy-mode: ips
    disable-promisc: yes
    checksum-checks: auto

  - interface: em1
    copy-iface: em1+

  - interface: em1+
    copy-iface: em1

em1+ is only a device abstraction, not an available interface in the system. Hope that helps.

Cheers,
Franco

Actions #4

Updated by Peter Manev over 8 years ago

What do you mean - a device abstraction?
Would you get the same err if you us a regular device?

Actions #5

Updated by Franco Fichtner over 8 years ago

em1+ is tied to em1 via netmap underneath, the OS/ifconfig itself does not know about it, it can only ever configure the actual device.

Configuring em1 yields no such error.

There are two options: (1) not configuring "+" devices, or (2) configuring the parent device instead.

Actions #6

Updated by Peter Manev over 8 years ago

If you try a different existing interface - em2 for example - would you have the same err?

Actions #7

Updated by Victor Julien almost 8 years ago

  • Status changed from New to Closed
  • Assignee changed from Anonymous to Victor Julien
  • Target version changed from 70 to 3.1rc1
Actions

Also available in: Atom PDF