Messages in this thread | | | Date | Fri, 22 Jan 1999 20:13:29 +0100 (EET) | From | Dawid Kuroczko <> | Subject | 2.2.0-pre9 (final): PPP/lo TX errors; PPPd doesn't compile. |
| |
Hello.
I'm using 2.2.0-pre9 with net-tools 1.49 and pppd 2.3.5
First of all, ifconfig shows thousands of TX/RX errors on ppp and lo devices. Also when connecting two Linux boxen through PPP it moves like Windows^Wa snail.
[root@atlantis /root]# uptime;echo;ifconfig # Load so high due to rc5 contests. 8:10pm up 26 min, 9 users, load average: 1.69, 1.76, 1.35
dummy Link encap:Ethernet HWaddr 00:00:00:00:00:00 inet addr:195.116.111.199 Bcast:195.116.111.255 Mask:255.255.255.255 UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:2742 errors:0 dropped:0 overruns:0 frame:0 TX packets:2742 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
ppp0 Link encap:Point-to-Point Protocol inet addr:212.160.3.138 P-t-P:212.160.3.130 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:2372 errors:0 dropped:0 overruns:0 frame:0 TX packets:2006 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10
I really think that it should be fixed before releasing 2.2.0. :)
Secondly, in Documentation/Changes pppd 2.3.5 is specified as required version. However it does not compile on current kernel (2.2.0-final):
make[1]: Entering directory `/usr/src/redhat/BUILD/ppp-2.3.5/pppd' cc -O2 -pipe -Wall -g -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE -I../include -DCHAPMS=1 -DUSE_CRYPT=1 -DHAVE_CRYPT_H=1 -DHAS_SHADOW -c sys-linux.c -o sys-linux.o In file included from sys-linux.c:68: ../include/linux/ppp_defs.h:97: parse error before `ext_accm' ../include/linux/ppp_defs.h:97: warning: type defaults to `int' in declaration of `ext_accm' ../include/linux/ppp_defs.h:97: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:113: parse error before `__u32' [... lots of other errors ...] ../include/linux/ppp_defs.h:155: field `p' has incomplete type ../include/linux/ppp_defs.h:156: field `vj' has incomplete type ../include/linux/ppp_defs.h:160: field `c' has incomplete type ../include/linux/ppp_defs.h:161: field `d' has incomplete type In file included from sys-linux.c:69: ../include/linux/if_ppp.h:92: parse error before `__u8' ../include/linux/if_ppp.h:92: warning: no semicolon at end of struct or union ../include/linux/if_ppp.h:93: warning: type defaults to `int' in declaration of `length' ../include/linux/if_ppp.h:93: warning: data definition has no type or storage class ../include/linux/if_ppp.h:95: parse error before `}' In file included from sys-linux.c:71: pppd.h:266: parse error before `ext_accm' sys-linux.c:983: parse error before `ext_accm' sys-linux.c: In function `ppp_set_xaccm': sys-linux.c:988: `accm' undeclared (first use this function) sys-linux.c:988: (Each undeclared identifier is reported only once sys-linux.c:988: for each function it appears in.) sys-linux.c: In function `ccp_test': sys-linux.c:1047: storage size of `data' isn't known sys-linux.c:1054: sizeof applied to an incomplete type sys-linux.c:1047: warning: unused variable `data' make[1]: *** [sys-linux.o] Error 1
I use egcs:
[root@atlantis /root]# gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.27/specs gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)
My .config:
# # Automatically generated make config: don't edit #
# # Code maturity level options # CONFIG_EXPERIMENTAL=y
# # Processor type and features # # CONFIG_M386 is not set # CONFIG_M486 is not set CONFIG_M586=y # CONFIG_M586TSC is not set # CONFIG_M686 is not set CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INVLPG=y CONFIG_X86_BSWAP=y CONFIG_X86_POPAD_OK=y # CONFIG_MATH_EMULATION is not set # CONFIG_MTRR is not set # CONFIG_SMP is not set
# # Loadable module support # CONFIG_MODULES=y CONFIG_MODVERSIONS=y CONFIG_KMOD=y
# # General setup # CONFIG_NET=y CONFIG_PCI=y # CONFIG_PCI_GOBIOS is not set # CONFIG_PCI_GODIRECT is not set CONFIG_PCI_GOANY=y CONFIG_PCI_BIOS=y CONFIG_PCI_DIRECT=y # CONFIG_PCI_QUIRKS is not set # CONFIG_PCI_OLD_PROC is not set # CONFIG_MCA is not set # CONFIG_VISWS is not set CONFIG_SYSVIPC=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_SYSCTL=y # CONFIG_BINFMT_AOUT is not set CONFIG_BINFMT_ELF=y CONFIG_BINFMT_MISC=m # CONFIG_BINFMT_JAVA is not set CONFIG_PARPORT=m CONFIG_PARPORT_PC=m # CONFIG_PARPORT_OTHER is not set CONFIG_APM=y # CONFIG_APM_IGNORE_USER_SUSPEND is not set CONFIG_APM_DO_ENABLE=y CONFIG_APM_CPU_IDLE=y # CONFIG_APM_DISPLAY_BLANK is not set CONFIG_APM_POWER_OFF=y # CONFIG_APM_IGNORE_MULTIPLE_SUSPEND is not set # CONFIG_APM_IGNORE_SUSPEND_BOUNCE is not set CONFIG_APM_RTC_IS_GMT=y # CONFIG_APM_ALLOW_INTS is not set
# # Plug and Play support # CONFIG_PNP=y CONFIG_PNP_PARPORT=m
# # Block devices # CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_IDE=y
# # Please see Documentation/ide.txt for help/info on IDE drives # # CONFIG_BLK_DEV_HD_IDE is not set CONFIG_BLK_DEV_IDEDISK=y CONFIG_BLK_DEV_IDECD=m # CONFIG_BLK_DEV_IDETAPE is not set # CONFIG_BLK_DEV_IDEFLOPPY is not set # CONFIG_BLK_DEV_IDESCSI is not set # CONFIG_BLK_DEV_CMD640 is not set # CONFIG_BLK_DEV_RZ1000 is not set CONFIG_BLK_DEV_IDEPCI=y CONFIG_BLK_DEV_IDEDMA=y # CONFIG_BLK_DEV_OFFBOARD is not set CONFIG_IDEDMA_AUTO=y # CONFIG_BLK_DEV_OPTI621 is not set # CONFIG_BLK_DEV_TRM290 is not set # CONFIG_BLK_DEV_NS87415 is not set # CONFIG_BLK_DEV_VIA82C586 is not set # CONFIG_BLK_DEV_CMD646 is not set # CONFIG_IDE_CHIPSETS is not set
# # Additional Block Devices # CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_NBD=m # CONFIG_BLK_DEV_MD is not set CONFIG_BLK_DEV_RAM=m # CONFIG_BLK_DEV_XD is not set CONFIG_PARIDE_PARPORT=m # CONFIG_PARIDE is not set # CONFIG_BLK_DEV_HD is not set
# # Networking options # CONFIG_PACKET=y # CONFIG_NETLINK is not set CONFIG_FIREWALL=y CONFIG_NET_ALIAS=y # CONFIG_FILTER is not set CONFIG_UNIX=y CONFIG_INET=y # CONFIG_IP_MULTICAST is not set # CONFIG_IP_ADVANCED_ROUTER is not set # CONFIG_IP_PNP is not set CONFIG_IP_FIREWALL=y # CONFIG_IP_ALWAYS_DEFRAG is not set # CONFIG_IP_ROUTER is not set CONFIG_NET_IPIP=m CONFIG_NET_IPGRE=m CONFIG_IP_ALIAS=y CONFIG_SYN_COOKIES=y
# # (it is safe to leave these untouched) # # CONFIG_INET_RARP is not set CONFIG_IP_NOSR=y CONFIG_SKB_LARGE=y CONFIG_IPV6=m # CONFIG_IPV6_EUI64 is not set
# # # CONFIG_IPX=m CONFIG_IPX_INTERN=y CONFIG_SPX=m # CONFIG_ATALK is not set # CONFIG_X25 is not set # CONFIG_LAPB is not set # CONFIG_BRIDGE is not set # CONFIG_LLC is not set # CONFIG_ECONET is not set # CONFIG_WAN_ROUTER is not set # CONFIG_NET_FASTROUTE is not set # CONFIG_NET_HW_FLOWCONTROL is not set # CONFIG_CPU_IS_SLOW is not set
# # QoS and/or fair queueing # # CONFIG_NET_SCHED is not set
# # SCSI support # # CONFIG_SCSI is not set
# # Network device support # CONFIG_NETDEVICES=y # CONFIG_ARCNET is not set CONFIG_DUMMY=y # CONFIG_EQUALIZER is not set # CONFIG_NET_ETHERNET is not set # CONFIG_FDDI is not set # CONFIG_HIPPI is not set # CONFIG_DLCI is not set # CONFIG_PLIP is not set CONFIG_PPP=m
# # CCP compressors for PPP are only built as modules. # CONFIG_SLIP=m CONFIG_SLIP_COMPRESSED=y CONFIG_SLIP_SMART=y # CONFIG_SLIP_MODE_SLIP6 is not set # CONFIG_NET_RADIO is not set # CONFIG_TR is not set # CONFIG_SHAPER is not set # CONFIG_HOSTESS_SV11 is not set # CONFIG_COSA is not set # CONFIG_RCPCI is not set
# # Amateur Radio support # # CONFIG_HAMRADIO is not set
# # IrDA subsystem support # # CONFIG_IRDA is not set
# # ISDN subsystem # # CONFIG_ISDN is not set
# # CD-ROM drivers (not for SCSI or IDE/ATAPI drives) # # CONFIG_CD_NO_IDESCSI is not set
# # Character devices # CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_SERIAL=y # CONFIG_SERIAL_CONSOLE is not set CONFIG_SERIAL_EXTENDED=y # CONFIG_SERIAL_MANY_PORTS is not set CONFIG_SERIAL_SHARE_IRQ=y # CONFIG_SERIAL_DETECT_IRQ is not set # CONFIG_SERIAL_MULTIPORT is not set # CONFIG_HUB6 is not set # CONFIG_SERIAL_NONSTANDARD is not set CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTY_COUNT=256 CONFIG_PRINTER=m CONFIG_PRINTER_READBACK=y # CONFIG_MOUSE is not set # CONFIG_QIC02_TAPE is not set # CONFIG_WATCHDOG is not set CONFIG_NVRAM=m CONFIG_RTC=y
# # Video For Linux # # CONFIG_VIDEO_DEV is not set
# # Joystick support # CONFIG_JOYSTICK=m CONFIG_JOY_ANALOG=m # CONFIG_JOY_ASSASIN is not set # CONFIG_JOY_GRAVIS is not set # CONFIG_JOY_LOGITECH is not set # CONFIG_JOY_SIDEWINDER is not set # CONFIG_JOY_THRUSTMASTER is not set # CONFIG_JOY_LIGHTNING is not set # CONFIG_JOY_CONSOLE is not set # CONFIG_JOY_DB9 is not set # CONFIG_JOY_TURBOGRAFX is not set
# # Ftape, the floppy tape device driver # # CONFIG_FTAPE is not set
# # Filesystems # CONFIG_QUOTA=y CONFIG_AUTOFS_FS=y # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_HFS_FS is not set CONFIG_FAT_FS=m CONFIG_MSDOS_FS=m CONFIG_UMSDOS_FS=m CONFIG_VFAT_FS=m CONFIG_ISO9660_FS=m CONFIG_JOLIET=y CONFIG_MINIX_FS=m # CONFIG_NTFS_FS is not set # CONFIG_HPFS_FS is not set CONFIG_PROC_FS=y CONFIG_DEVPTS_FS=y # CONFIG_QNX4FS_FS is not set CONFIG_ROMFS_FS=m CONFIG_EXT2_FS=y # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set
# # Network File Systems # CONFIG_CODA_FS=m CONFIG_NFS_FS=m CONFIG_NFSD=m # CONFIG_NFSD_SUN is not set CONFIG_SUNRPC=m CONFIG_LOCKD=m CONFIG_SMB_FS=m CONFIG_SMB_WIN95=y CONFIG_NCP_FS=m # CONFIG_NCPFS_PACKET_SIGNING is not set # CONFIG_NCPFS_IOCTL_LOCKING is not set # CONFIG_NCPFS_STRONG is not set CONFIG_NCPFS_NFS_NS=y CONFIG_NCPFS_OS2_NS=y CONFIG_NCPFS_MOUNT_SUBDIR=y
# # Partition Types # # CONFIG_BSD_DISKLABEL is not set # CONFIG_MAC_PARTITION is not set # CONFIG_SMD_DISKLABEL is not set # CONFIG_SOLARIS_X86_PARTITION is not set # CONFIG_UNIXWARE_DISKLABEL is not set CONFIG_NLS=y
# # Native Language Support # CONFIG_NLS_CODEPAGE_437=m # CONFIG_NLS_CODEPAGE_737 is not set # CONFIG_NLS_CODEPAGE_775 is not set CONFIG_NLS_CODEPAGE_850=m CONFIG_NLS_CODEPAGE_852=m # CONFIG_NLS_CODEPAGE_855 is not set # CONFIG_NLS_CODEPAGE_857 is not set # CONFIG_NLS_CODEPAGE_860 is not set # CONFIG_NLS_CODEPAGE_861 is not set # CONFIG_NLS_CODEPAGE_862 is not set # CONFIG_NLS_CODEPAGE_863 is not set # CONFIG_NLS_CODEPAGE_864 is not set # CONFIG_NLS_CODEPAGE_865 is not set # CONFIG_NLS_CODEPAGE_866 is not set # CONFIG_NLS_CODEPAGE_869 is not set # CONFIG_NLS_CODEPAGE_874 is not set CONFIG_NLS_ISO8859_1=m CONFIG_NLS_ISO8859_2=m # CONFIG_NLS_ISO8859_3 is not set # CONFIG_NLS_ISO8859_4 is not set # CONFIG_NLS_ISO8859_5 is not set # CONFIG_NLS_ISO8859_6 is not set # CONFIG_NLS_ISO8859_7 is not set # CONFIG_NLS_ISO8859_8 is not set # CONFIG_NLS_ISO8859_9 is not set # CONFIG_NLS_ISO8859_15 is not set # CONFIG_NLS_KOI8_R is not set
# # Console drivers # CONFIG_VGA_CONSOLE=y CONFIG_VIDEO_SELECT=y # CONFIG_MDA_CONSOLE is not set CONFIG_FB=y CONFIG_DUMMY_CONSOLE=y # CONFIG_FB_VESA is not set CONFIG_VIDEO_SELECT=y # CONFIG_FB_MATROX is not set CONFIG_FB_ATY=y # CONFIG_FB_VIRTUAL is not set CONFIG_FBCON_ADVANCED=y CONFIG_FBCON_MFB=m CONFIG_FBCON_CFB2=m CONFIG_FBCON_CFB4=y CONFIG_FBCON_CFB8=y CONFIG_FBCON_CFB16=y CONFIG_FBCON_CFB24=y CONFIG_FBCON_CFB32=m # CONFIG_FBCON_AFB is not set # CONFIG_FBCON_ILBM is not set # CONFIG_FBCON_IPLAN2P2 is not set # CONFIG_FBCON_IPLAN2P4 is not set # CONFIG_FBCON_IPLAN2P8 is not set # CONFIG_FBCON_MAC is not set CONFIG_FBCON_VGA=y # CONFIG_FBCON_FONTWIDTH8_ONLY is not set CONFIG_FBCON_FONTS=y # CONFIG_FONT_8x8 is not set CONFIG_FONT_8x16=y # CONFIG_FONT_SUN8x16 is not set # CONFIG_FONT_SUN12x22 is not set # CONFIG_FONT_6x11 is not set # CONFIG_FONT_PEARL_8x8 is not set # CONFIG_FONT_ACORN_8x8 is not set
# # Sound # CONFIG_SOUND=y # CONFIG_SOUND_ES1370 is not set # CONFIG_SOUND_ES1371 is not set # CONFIG_SOUND_SONICVIBES is not set # CONFIG_SOUND_MSNDCLAS is not set # CONFIG_SOUND_MSNDPIN is not set CONFIG_SOUND_OSS=y # CONFIG_SOUND_PAS is not set # CONFIG_SOUND_SB is not set # CONFIG_SOUND_ADLIB is not set # CONFIG_SOUND_GUS is not set CONFIG_SOUND_MPU401=m # CONFIG_SOUND_PSS is not set # CONFIG_SOUND_MSS is not set # CONFIG_SOUND_SSCAPE is not set # CONFIG_SOUND_TRIX is not set # CONFIG_SOUND_MAD16 is not set # CONFIG_SOUND_WAVEFRONT is not set CONFIG_SOUND_CS4232=y CONFIG_CS4232_BASE=530 CONFIG_CS4232_IRQ=11 CONFIG_CS4232_DMA=0 CONFIG_CS4232_DMA2=3 CONFIG_CS4232_MPU_BASE=330 CONFIG_CS4232_MPU_IRQ=9 # CONFIG_SOUND_OPL3SA2 is not set # CONFIG_SOUND_MAUI is not set # CONFIG_SOUND_SGALAXY is not set # CONFIG_SOUND_AD1816 is not set # CONFIG_SOUND_OPL3SA1 is not set CONFIG_SOUND_SOFTOSS=m # CONFIG_SOUND_YM3812 is not set CONFIG_SOUND_VMIDI=m # CONFIG_SOUND_UART6850 is not set
# # Additional low level sound drivers # # CONFIG_LOWLEVEL_SOUND is not set
# # Kernel hacking # CONFIG_MAGIC_SYSRQ=y
-- .------------------. .----------. | *Dawid Kuroczko* `-.------------------=[Atlantis]=-=' _Kraków_ | | d k @ssw.krakow.pl | http://__.___.______.__/ | Member of PLUG | `--------------------"--------------------------"----------------'
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |