All of lore.kernel.org
 help / color / mirror / Atom feed
From: Francesco Schiavarelli <kaboom@tiscalinet.it>
To: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] dvbnet not working anymore with 2.6.25
Date: Mon, 26 May 2008 23:04:13 +0200	[thread overview]
Message-ID: <g1f8kg$upn$1@ger.gmane.org> (raw)
In-Reply-To: <g0sact$e6d$1@ger.gmane.org>

I've narrowed down the problem to kernel version 2.6.24.
This is the output with
# strace ifconfig dvb0_0 10.0.0.1 promisc up

(WORKING)
...
> open("/usr/share/locale/en_US/LC_MESSAGES/net-tools.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/share/locale/en/LC_MESSAGES/net-tools.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
> ioctl(4, SIOCSIFADDR, 0xbfc8e968)       = 0
> ioctl(4, SIOCGIFFLAGS, {ifr_name="dvb0_0", ifr_flags=IFF_BROADCAST|IFF_NOARP|IFF_MULTICAST}) = 0
> ioctl(4, SIOCSIFFLAGS, 0xbfc8e85c)      = 0
> ioctl(4, SIOCGIFFLAGS, {ifr_name="dvb0_0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_NOARP|IFF_MULTICAST}) = 0
> ioctl(4, SIOCSIFFLAGS, 0xbfc8e85c)      = 0
> ioctl(4, SIOCGIFFLAGS, {ifr_name="dvb0_0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_NOARP|IFF_PROMISC|IFF_MULTICAST}) = 0
> ioctl(4, SIOCSIFFLAGS, 0xbfc8e85c)      = 0
> exit_group(0)                           = ?
> Process 24330 detached

(NOT WORKING)
...
> open("/usr/share/locale/en_US/LC_MESSAGES/net-tools.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/share/locale/en/LC_MESSAGES/net-tools.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
> ioctl(4, SIOCSIFADDR, 0xbfc59138)       = 0
> ioctl(4, SIOCGIFFLAGS, {ifr_name="dvb0_0", ifr_flags=IFF_BROADCAST|IFF_NOARP|IFF_MULTICAST}) = 0
> ioctl(4, SIOCSIFFLAGS, 0xbfc5902c)      = -1 EADDRNOTAVAIL (Cannot assign requested address)
> dup(2)                                  = 5
> fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
> fstat64(5, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000
> _llseek(5, 0, 0xbfc58a88, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
> open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
> write(5, "SIOCSIFFLAGS: Cannot assign requ"..., 46SIOCSIFFLAGS: Cannot assign requested address
> ) = 46
> close(5)                                = 0
> munmap(0xb7f3c000, 4096)                = 0
> ioctl(4, SIOCGIFFLAGS, {ifr_name="dvb0_0", ifr_flags=IFF_BROADCAST|IFF_NOARP|IFF_MULTICAST}) = 0
> ioctl(4, SIOCSIFFLAGS, 0xbfc5902c)      = 0
> ioctl(4, SIOCGIFFLAGS, {ifr_name="dvb0_0", ifr_flags=IFF_BROADCAST|IFF_NOARP|IFF_PROMISC|IFF_MULTICAST}) = 0
> ioctl(4, SIOCSIFFLAGS, 0xbfc5902c)      = -1 EADDRNOTAVAIL (Cannot assign requested address)
> dup(2)                                  = 5
> fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
> fstat64(5, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000
> _llseek(5, 0, 0xbfc58a88, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
> write(5, "SIOCSIFFLAGS: Cannot assign requ"..., 46SIOCSIFFLAGS: Cannot assign requested address
> ) = 46
> close(5)                                = 0
> munmap(0xb7f3c000, 4096)                = 0
> exit_group(-1)                          = ?
> Process 2778 detached

Not being a kernel hacker I was not able to investigate deeply the problem.
Can it be related to new NAPI in /net/core/dev.c? I don't have a clue.
Also no answers on this ml, so probably I'm alone with this problem.

thanks,
Francesco


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2008-05-26 21:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-11 15:15 [linux-dvb] dvbnet not working anymore with 2.6.25 Francesco Schiavarelli
2008-05-19 16:37 ` Francesco Schiavarelli
2008-05-26 21:04   ` Francesco Schiavarelli [this message]
2008-10-06 17:13   ` Francesco Schiavarelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='g1f8kg$upn$1@ger.gmane.org' \
    --to=kaboom@tiscalinet.it \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.