with 2.1.70 (upgraded from 2.1.67) I get a kernel oops doing a cat
/proc/net/route the second or third time (depends).
I've also noticed a problem with my net interface. I've got two
interfaces - a host route and a route to the internet that are created
with: ifconfig isdn0 131.246.176.38 -arp -broadcast pointopoint
131.246.176.21 ifconfig isdn1 131.246.176.38 -arp -broadcast netmask
255.255.255.0
with 2.1.67 everything is fine:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
root:~ # ifconfig isdn0
isdn0 Link encap:Ethernet HWaddr FC:FC:83:F6:B0:26
inet addr:131.246.176.38 P-t-P:131.246.176.21 Mask:255.255.255.255
UP POINTOPOINT 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 coll:0
root:~ # ifconfig isdn1
isdn1 Link encap:Ethernet HWaddr FC:FC:83:F6:B0:26
inet addr:131.246.176.38 Bcast:131.246.255.255 Mask:255.255.255.0
UP RUNNING NOARP MTU:1500 Metric:1
RX packets:142 errors:0 dropped:0 overruns:0 frame:0
TX packets:147 errors:0 dropped:0 overruns:0 carrier:0 coll:0
$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
131.246.176.21 0.0.0.0 255.255.255.255 U 1500 0 300 isdn0
131.246.176.0 0.0.0.0 255.255.255.0 U 1500 0 300 isdn1
0.0.0.0 131.246.176.254 0.0.0.0 UG 1500 0 300 isdn1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
But with 2.1.70 the masks are wrong - and isdn0 is not defined anymore
as pointopoint:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
with 2.1.70:
root:~ # ifconfig isdn0
isdn0 Link encap:Ethernet HWaddr FC:FC:00:00:00:00
inet addr:131.246.176.38 Bcast:0.0.0.0 Mask:255.255.0.0
UP RUNNING NOARP MTU:1500 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0 coll:0
root:~ # ifconfig isdn1
isdn1 Link encap:Ethernet HWaddr FC:FC:00:00:00:00
inet addr:131.246.176.38 Bcast:0.0.0.0 Mask:255.255.255.0
UP RUNNING NOARP MTU:1500 Metric:1
RX packets:49 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0 coll:0
root:~ # netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
131.246.176.0 0.0.0.0 255.255.255.0 U 0 0 0 isdn1
131.246.0.0 0.0.0.0 255.255.0.0 U 0 0 0 isdn0
0.0.0.0 131.246.176.254 0.0.0.0 UG 0 0 0 isdn1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I've appended below the kernel oops I got and my .config file. I'm
using a glibc 2.1 snapshot on AMD i486/133 and net-tools 1.432. I've
just switched between 2.1.67 and 2.1.70 and didn't make any change to
my system between (except rebooting:-).
Any idea what's wrong? Kernel 2.1.70 is only patched with Andi Kleen's
isdn changes.
Andreas
root:~ # cat /proc/net/route
Segmentation fault
Dec 5 00:02:50 arthur kernel: Unable to handle kernel paging request at virtual address c380c1ec
Dec 5 00:02:50 arthur kernel: current->tss.cr3 = 00805000, r3 = 00805000
Dec 5 00:02:50 arthur kernel: *pde = 0000e063
Dec 5 00:02:50 arthur kernel: *pte = 00000000
Dec 5 00:02:50 arthur kernel: Oops: 0000
Dec 5 00:02:50 arthur kernel: CPU: 0
Dec 5 00:02:50 arthur kernel: EIP: 0010:[<c01674bd>]
Dec 5 00:02:50 arthur kernel: EFLAGS: 00010282
Dec 5 00:02:50 arthur kernel: eax: 00ffffff ebx: 00000000 ecx: 00000000 edx: c380c1ec
Dec 5 00:02:50 arthur kernel: esi: c07e7180 edi: c271a300 ebp: c01a018f esp: c0819eac
Dec 5 00:02:50 arthur kernel: ds: 0018 es: 0018 ss: 0018
Dec 5 00:02:50 arthur kernel: Process cat (pid: 807, process nr: 65, stackpage=c0819000)
Dec 5 00:02:50 arthur kernel: Stack: 001ba8c0 00000000 00000000 00000000 00000000 00000000 00ffffff 00000000
Dec 5 00:02:50 arthur kernel: 00000000 00000000 c2880690 c2880660 00000002 00000003 00000000 00000000
Dec 5 00:02:50 arthur kernel: 00000000 00000000 0000004e c0167d91 00000001 00000001 c271a300 001ba8c0
Dec 5 00:02:50 arthur kernel: Call Trace: [<c0167d91>] [<c0195f34>] [<c0166027>] [<c0142d1b>] [<c01a0060>] [<c01252b6>] [<c0109abe>]
Dec 5 00:02:50 arthur kernel: Code: 8b 2a 55 68 91 01 1a c0 56 e8 55 ea 02 00 89 c2 83 c4 34 eb
Using `/System.map' to map addresses to symbols.
>>EIP: c01674bd <fib_node_get_info+8d/110>
Trace: c0167d91 <fn_hash_get_info+91/f0>
Trace: c0195f34 <sprintf+14/2b42>
Trace: c0166027 <fib_get_procinfo+77/b0>
Trace: c0142d1b <proc_file_read+cb/1f0>
Trace: c01a0060 <prio2band.430+2717/36ab>
Trace: c01252b6 <sys_read+c6/110>
Trace: c0109abe <system_call+3a/40>
Code: c01674bd <fib_node_get_info+8d/110>
Code: c01674bd <fib_node_get_info+8d/110> 8b 2a movl (%edx),%ebp
Code: c01674bf <fib_node_get_info+8f/110> 55 pushl %ebp
Code: c01674c0 <fib_node_get_info+90/110> 68 91 01 1a c0 pushl $0xc01a0191
Code: c01674c5 <fib_node_get_info+95/110> 56 pushl %esi
Code: c01674c6 <fib_node_get_info+96/110> e8 55 ea 02 00 call c0195f34 <sprintf+14/2b42>
Code: c01674d1 <fib_node_get_info+a1/110> 89 c2 movl %eax,%edx
Code: c01674d3 <fib_node_get_info+a3/110> 83 c4 34 addl $0x34,%esp
Code: c01674d6 <fib_node_get_info+a6/110> eb 00 jmp c01674d2 <fib_node_get_info+a2/110>
Code: c01674de <fib_node_get_info+ae/110> 90 nop
Code: c01674df <fib_node_get_info+af/110> 90 nop
Code: c01674e0 <fib_node_get_info+b0/110> 90 nop
#
# Automatically generated make config: don't edit
#
#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
CONFIG_KERNELD=y
#
# General setup
#
# CONFIG_MATH_EMULATION is not set
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_BIOS=y
# CONFIG_PCI_DIRECT is not set
# CONFIG_PCI_OPTIMIZE is not set
# CONFIG_MCA is not set
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
# CONFIG_BINFMT_JAVA is not set
# CONFIG_M386 is not set
CONFIG_M486=y
# CONFIG_M586 is not set
# CONFIG_M686 is not set
# CONFIG_VIDEO_SELECT is not set
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
#
# Plug and Play support
#
CONFIG_PNP=y
CONFIG_PNP_PARPORT=y
#
# Floppy, IDE, and other block devices
#
CONFIG_BLK_DEV_FD=m
# CONFIG_BLK_DEV_IDE is not set
#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_ONLY is not set
#
# Additional Block Devices
#
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_MD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_XD is not set
# CONFIG_BLK_DEV_EZ is not set
# CONFIG_BLK_DEV_HD is not set
#
# Networking options
#
CONFIG_PACKET=m
# CONFIG_NETLINK is not set
# CONFIG_FIREWALL is not set
CONFIG_NET_ALIAS=y
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_ACCT is not set
# CONFIG_IP_MASQUERADE is not set
# CONFIG_IP_ROUTER is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
CONFIG_IP_ALIAS=y
# CONFIG_SYN_COOKIES is not set
#
# (it is safe to leave these untouched)
#
# CONFIG_INET_RARP is not set
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
# CONFIG_IPV6 is not set
#
#
#
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_AX25 is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_BRIDGE is not set
# CONFIG_LLC is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_CPU_IS_SLOW is not set
# CONFIG_NET_SCHED is not set
#
# SCSI support
#
CONFIG_SCSI=y
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=m
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
# CONFIG_CHR_DEV_SG is not set
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
#
# SCSI low-level drivers
#
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
CONFIG_SCSI_BUSLOGIC=m
CONFIG_SCSI_OMIT_FLASHPOINT=y
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_NCR53C7xx is not set
CONFIG_SCSI_NCR53C8XX=y
# CONFIG_SCSI_NCR53C8XX_NVRAM_DETECT is not set
CONFIG_SCSI_NCR53C8XX_TAGGED_QUEUE=y
# CONFIG_SCSI_NCR53C8XX_IOMAPPED is not set
CONFIG_SCSI_NCR53C8XX_MAX_TAGS=4
CONFIG_SCSI_NCR53C8XX_SYNC=10
CONFIG_SCSI_NCR53C8XX_SYMBIOS_COMPAT=y
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
#
# Network device support
#
CONFIG_NETDEVICES=y
# CONFIG_ARCNET is not set
CONFIG_DUMMY=m
# CONFIG_EQUALIZER is not set
# CONFIG_ETHERTAP is not set
# CONFIG_NET_ETHERNET is not set
# CONFIG_FDDI is not set
# CONFIG_DLCI is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_NET_RADIO is not set
# CONFIG_SLIP is not set
# CONFIG_TR is not set
# CONFIG_SHAPER is not set
#
# ISDN subsystem
#
CONFIG_ISDN=m
# CONFIG_ISDN_PPP is not set
# CONFIG_ISDN_AUDIO is not set
# CONFIG_ISDN_DRV_ICN is not set
# CONFIG_ISDN_DRV_PCBIT is not set
CONFIG_ISDN_DRV_HISAX=m
CONFIG_HISAX_16_0=y
# CONFIG_HISAX_16_3 is not set
# CONFIG_HISAX_AVM_A1 is not set
# CONFIG_HISAX_ELSA_PCC is not set
# CONFIG_HISAX_ELSA_PCMCIA is not set
# CONFIG_HISAX_IX1MICROR2 is not set
CONFIG_HISAX_EURO=y
# CONFIG_HISAX_NI1 is not set
# CONFIG_HISAX_1TR6 is not set
# CONFIG_ISDN_DRV_SC is not set
# CONFIG_ISDN_DRV_AVMB1 is not set
#
# CD-ROM drivers (not for SCSI or IDE/ATAPI drives)
#
# CONFIG_CD_NO_IDESCSI is not set
CONFIG_CDROM=m
#
# Filesystems
#
# CONFIG_QUOTA is not set
# CONFIG_MINIX_FS is not set
CONFIG_EXT2_FS=y
CONFIG_ISO9660_FS=m
# CONFIG_JOLIET is not set
# CONFIG_FAT_FS is not set
# CONFIG_MSDOS_FS is not set
# CONFIG_UMSDOS_FS is not set
# CONFIG_VFAT_FS is not set
CONFIG_PROC_FS=y
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_SUNRPC is not set
# CONFIG_LOCKD is not set
# CONFIG_CODA_FS is not set
# CONFIG_SMB_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_UFS_FS is not set
# CONFIG_MAC_PARTITION is not set
#
# Native Language Support
#
# CONFIG_NLS is not set
#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_PRINTER=y
CONFIG_PRINTER_READBACK=y
# CONFIG_MOUSE is not set
# CONFIG_UMISC is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_APM is not set
# CONFIG_WATCHDOG is not set
# CONFIG_RTC is not set
# CONFIG_VIDEO_DEV is not set
# CONFIG_VIDEO_BT848 is not set
# CONFIG_VIDEO_PMS is not set
# CONFIG_NVRAM is not set
# CONFIG_JOYSTICK is not set
# CONFIG_MISC_RADIO is not set
#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
#
# Sound
#
# CONFIG_SOUND is not set
#
# Kernel hacking
#
# CONFIG_PROFILE is not set
# CONFIG_MAGIC_SYSRQ is not set
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@alma.student.uni-kl.de
http://www.student.uni-kl.de/~ajaeger/