OOPS in linux 2.0.31pre10

Hrafnkell Eiriksson (hkelle@mmedia.is)
Wed, 1 Oct 1997 19:51:58 +0000 (GMT)


Hi

I have found an allmost reproducable OOPS in linux2.0.31pre10
(vanilla 2.0.30 + pre-patch-2.0.31-10.gz).
This happens when using multilink PPP over ISDN.
I have an ITK ISDN card (and therefor use the HiSax driver).
If I let the link close automatically
that is time out, and then automatically redial this
OOPS *usually* happens.

When using Multilink PPP my log fills with this allso:
ippp: MP, stepping over missing frame: 1082
ippp: MP, stepping over missing frame: 1512
ippp: freeing stale packet(s), min_sq: 1833!
ippp, freeing packet with sqno: 1082

I've included the OOPS from the log and the output from
ksymopps.

My machine is a 486dx2 66Mhz with 32Mb ram.

Unable to handle kernel NULL pointer dereference at virtual address c0000454
current->tss.cr3 = 00ea6000, %cr3 = 00ea6000
*pde = 00102067
*pte = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<0019efbe>]
EFLAGS: 00010207
eax: 018e5a84 ebx: 00ef1414 ecx: 00000000 edx: 018e5a84
esi: 00ef1530 edi: 00ef1810 ebp: 00ea8ef0 esp: 00ea8ecc
ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Process ipppd (pid: 449, process nr: 39, stackpage=00ea8000)
Stack: 00ef1414 00ef1530 00ef1530 00000000 00ef1414 00096810 00000000 00000021
00ea8f40 00ef1530 00195630 018e5a84 00ef1530 00ef1414 00ef1530 00ef15bc
00ef1530 001959d4 00ef1530 00ef1414 018e5a84 00000000 018e5a84 00ef15bc
Call Trace: [<00195630>] [<001959d4>] [<0013dfcf>] [<0013e2aa>] [<0013e0ff>] [<0013e119>] [<00117d0b>]
[<0010a7ab>]
Code: f6 81 54 04 00 00 04 74 14 8b 45 08 8b 40 30 50 68 fc 53 1c
Aiee, killing interrupt handler

Output from ksymoops:

>>EIP: 19efbe <isdn_ppp_xmit+15e/520>
Trace: 195630 <isdn_net_xmit+20/180>
Trace: 1959d4 <isdn_net_start_xmit+244/270>
Trace: 13dfcf <do_dev_queue_xmit+1cf/200>
Trace: 13e2aa <dev_tint+6a/a0>
Trace: 13e0ff <dev_transmit+1f/30>
Trace: 13e119 <net_bh+9/130>
Trace: 117d0b <do_bottom_half+3b/70>
Trace: 10a7ab <handle_bottom_half+b/18>

Code: 19efbe <isdn_ppp_xmit+15e/520> testb $0x4,0x454(%ecx)
Code: 19efc5 <isdn_ppp_xmit+165/520> je 19efdb <isdn_ppp_xmit+17b/520>
Code: 19efc7 <isdn_ppp_xmit+167/520> movl 0x8(%ebp),%eax
Code: 19efca <isdn_ppp_xmit+16a/520> movl 0x30(%eax),%eax
Code: 19efcd <isdn_ppp_xmit+16d/520> pushl %eax
Code: 19efce <isdn_ppp_xmit+16e/520> pushl $0x1c53fc
Code: 19efd3 <isdn_ppp_xmit+173/520> nop
Code: 19efd4 <isdn_ppp_xmit+174/520> nop
Code: 19efd5 <isdn_ppp_xmit+175/520> nop

And for those interested, here is my .config

#
# Automatically generated by make menuconfig: don't edit
#

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KERNELD=y

#
# General setup
#
# CONFIG_MATH_EMULATION is not set
CONFIG_NET=y
# CONFIG_MAX_16M is not set
# CONFIG_PCI is not set
CONFIG_SYSVIPC=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_JAVA is not set
CONFIG_KERNEL_ELF=y
CONFIG_M486=y

#
# Floppy, IDE, and other block devices
#
CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_BLK_DEV_IDE_PCMCIA is not set
# CONFIG_BLK_DEV_CMD640 is not set
CONFIG_IDE_CHIPSETS=y
# CONFIG_BLK_DEV_ALI14XX is not set
CONFIG_BLK_DEV_DTC2278=y
# CONFIG_BLK_DEV_HT6560B is not set
# CONFIG_BLK_DEV_PROMISE is not set
# CONFIG_BLK_DEV_QD6580 is not set
# CONFIG_BLK_DEV_UMC8672 is not set
CONFIG_BLK_DEV_LOOP=m
# CONFIG_BLK_DEV_MD is not set
CONFIG_BLK_DEV_RAM=m
# CONFIG_BLK_DEV_XD is not set
# CONFIG_BLK_DEV_HD is not set

#
# Networking options
#
CONFIG_FIREWALL=y
CONFIG_NET_ALIAS=y
CONFIG_INET=y
CONFIG_IP_FORWARD=y
CONFIG_IP_MULTICAST=y
CONFIG_SYN_COOKIES=y
CONFIG_RST_COOKIES=y
CONFIG_IP_FIREWALL=y
CONFIG_IP_FIREWALL_VERBOSE=y
CONFIG_IP_MASQUERADE=y
CONFIG_IP_MASQUERADE_IPAUTOFW=y
CONFIG_IP_MASQUERADE_ICMP=y
CONFIG_IP_TRANSPARENT_PROXY=y
CONFIG_IP_ALWAYS_DEFRAG=y
CONFIG_IP_ACCT=y
# CONFIG_IP_ROUTER is not set
CONFIG_NET_IPIP=m
# CONFIG_IP_MROUTE is not set
CONFIG_IP_ALIAS=m
# CONFIG_INET_PCTCP is not set
# CONFIG_INET_RARP is not set
# CONFIG_NO_PATH_MTU_DISCOVERY is not set
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
CONFIG_IPX=m
CONFIG_ATALK=m
# CONFIG_AX25 is not set
# CONFIG_BRIDGE is not set
# CONFIG_NETLINK is not set

#
# SCSI support
#
CONFIG_SCSI=m
CONFIG_BLK_DEV_SD=m
CONFIG_CHR_DEV_ST=m
CONFIG_BLK_DEV_SR=m
CONFIG_CHR_DEV_SG=m
# 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=m
# 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 is not set
# 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_GENERIC_NCR5380 is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_PPA is not set
CONFIG_SCSI_PAS16=m
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_GDTH is not set

#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
# CONFIG_EQUALIZER is not set
# CONFIG_DLCI is not set
CONFIG_PLIP=m
CONFIG_PPP=m
CONFIG_SLIP=m
CONFIG_SLIP_COMPRESSED=y
# CONFIG_SLIP_SMART is not set
# CONFIG_SLIP_MODE_SLIP6 is not set
# CONFIG_NET_RADIO is not set
CONFIG_NET_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
CONFIG_NET_VENDOR_SMC=y
# CONFIG_WD80x3 is not set
CONFIG_ULTRA=m
CONFIG_ULTRA32=m
# CONFIG_SMC9194 is not set
# CONFIG_NET_ISA is not set
# CONFIG_NET_EISA is not set
# CONFIG_NET_POCKET is not set
# CONFIG_TR is not set
# CONFIG_FDDI is not set
# CONFIG_ARCNET is not set

#
# ISDN subsystem
#
CONFIG_ISDN=y
CONFIG_ISDN_PPP=y
CONFIG_ISDN_PPP_VJ=y
CONFIG_ISDN_MPP=y
CONFIG_ISDN_AUDIO=y
# CONFIG_ISDN_DRV_ICN is not set
# CONFIG_ISDN_DRV_PCBIT is not set
CONFIG_ISDN_DRV_HISAX=y
CONFIG_HISAX_EURO=y
CONFIG_HISAX_1TR6=y
CONFIG_HISAX_16_0=y
CONFIG_HISAX_16_3=y
# CONFIG_HISAX_AVM_A1 is not set
# CONFIG_HISAX_ELSA_PCC is not set
# CONFIG_HISAX_ELSA_PCMCIA is not set
CONFIG_HISAX_IX1MICROR2=y
# 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

#
# Filesystems
#
CONFIG_QUOTA=y
CONFIG_MINIX_FS=y
# CONFIG_EXT_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_XIA_FS is not set
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
# CONFIG_UMSDOS_FS is not set
CONFIG_PROC_FS=y
CONFIG_NFS_FS=m
CONFIG_SMB_FS=m
# CONFIG_SMB_WIN95 is not set
# CONFIG_NCP_FS is not set
CONFIG_ISO9660_FS=m
CONFIG_HPFS_FS=m
# CONFIG_SYSV_FS is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_UFS_FS is not set

#
# Character devices
#
CONFIG_SERIAL=y
# CONFIG_DIGI is not set
# CONFIG_CYCLADES is not set
# CONFIG_STALDRV is not set
# CONFIG_RISCOM8 is not set
CONFIG_PRINTER=m
# CONFIG_SPECIALIX is not set
# CONFIG_MOUSE is not set
# CONFIG_UMISC is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_FTAPE is not set
# CONFIG_APM is not set
# CONFIG_WATCHDOG is not set
# CONFIG_RTC is not set

#
# Sound
#
CONFIG_SOUND=m
# CONFIG_PAS is not set
# CONFIG_SB is not set
# CONFIG_ADLIB is not set
CONFIG_GUS=y
# CONFIG_MPU401 is not set
# CONFIG_UART6850 is not set
# CONFIG_PSS is not set
# CONFIG_GUS16 is not set
CONFIG_GUSMAX=y
# CONFIG_MSS is not set
# CONFIG_SSCAPE is not set
# CONFIG_TRIX is not set
# CONFIG_MAD16 is not set
# CONFIG_CS4232 is not set
# CONFIG_MAUI is not set
CONFIG_AUDIO=y
# CONFIG_MIDI is not set
# CONFIG_YM3812 is not set
GUS_BASE=220
GUS_IRQ=7
GUS_DMA=6
GUS_DMA2=5
DSP_BUFFSIZE=65536
# CONFIG_LOWLEVEL_SOUND is not set

#
# Kernel hacking
#
# CONFIG_PROFILE is not set