KInfoCenter Network Interfaces doesn't show all active interfaces

2006-04-12 Thread David Liontooth
In kinfocenter, all three amd64 machines I have access to fail to 
display network interface information about eth0 and eth1, while lo and 
vmnet1 are shown. On i386, all interfaces are shown correctly. I 
reported this bug upstream at 
http://bugs.kde.org/show_bug.cgi?id=125263. Strace shows eth0 is 
detected, but the loop exits before the device is added to the list. 
Helge Deller, the upstream maintainer, pinpoints the problem to 
kdebase/kcontrol/nics/nic.cpp around line 169:


  for (char* ptr = buf; ptr  buf + ifc.ifc_len; )
  {
 struct ifreq *ifr =(struct ifreq *) ptr;
 int len = sizeof(struct sockaddr);
#ifdef  HAVE_STRUCT_SOCKADDR_SA_LEN
 if (ifr-ifr_addr.sa_len  len)
len = ifr-ifr_addr.sa_len;/* length  16 */
#endif
 ptr += sizeof(ifr-ifr_name) + len;   /* for next one in buffer */

However, he doesn't have amd64 hardware and I would rather not fly 
blind. Can someone confirm amd64 will fail at this location and suggest 
a fix?


David


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



ProFTP segfaults.

2006-04-12 Thread Thomas Alexander Frederiksen
Hi.

I've run into an issue of ProFTPd segfaulting whenever mod_delay kicks
in, but as it was on a critical production server, I've had no chance of
doing any serious debugging. We had to get it back up ASAP, and that
meant reverting to 32 bit Sarge, on which proftpd doesn't segfault.

I haven't got any AMD64 boxes to do more testing on, but if anyone feels
like having a crack at finding the cause of the segfaults, here are the
details of the system we used:

AMD Opeteron 242
Tyan Thunder K8QS Pro (S4882)
Debian 3.1/AMD64 (Sarge)

Base install with apache and proftpd running.

If I get access to another Debian/AMD64 box I'll have a look at the
problem again, but unfortunately I've got no idea when that would be.

-- 
Regards/Thomas A. Frederiksen
Registered Linux user #168164, http://counter.li.org
LinuxForum 2006, http://linuxforum.dk/2006 - did I see you there?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]