[linux-dvb] dvbnet not working anymore with 2.6.25

Francesco Schiavarelli kaboom at tiscalinet.it
Mon May 26 23:04:13 CEST 2008


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




More information about the linux-dvb mailing list