2.3.22: Crash with "kernel BUG at sched.c:573!"

Remi Turk (remi@a2zis.com)
Wed, 20 Oct 1999 17:37:45 +0200


This is a multi-part message in MIME format.
--------------C788E486B38251B3C33E52B3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi folks,
while playing with 2.3.22 my system crashed.
it doesn't boot normally, (silent hardlock, no oops etc)
so I booted with init=/bin/sh
it works, but:
When I mounted /proc, started en terminated top it crashed
with a "Unable to handle kernel paging request at bfff3ebd"
with EIP bfffff24 and "Aiee, killing interrupt handler.
Sadly I wasn't able to write it down. After some testing
I couldn't reproduce it anymore, but I got another problem.
After doing the following, I got an oops and a hardlock (SysRQ didn't
work anymore):
(boot with init=/bin/sh)
$ mount /proc
$ ps
$ ps
$ ps
$ some_command (I tried `ls', `ps', `cat' and `file')

It's an AMD K6-2 3DNow 350 with 128Mb SDRAM PC100 and
an ASUS P5A mainboard.

ver_linux (I ran it from 2.2.13 so had to change it a bit by hand)
Linux 2.3.23
Kernel modules 2.1.121
Gnu C egcs-2.91.66
Binutils 2.9.1.0.24
Linux C Library 2.1.2
Dynamic linker ldd (GNU libc) 2.1.2
Procps 2.0.4
Mount 2.9u
Net-tools 1.53
Console-tools 1999.03.02
Sh-utils 2.0
Sh-utils Parker.
Sh-utils
Sh-utils Inc.
Sh-utils NO
Sh-utils PURPOSE.
Modules Loaded

ksymoops 0.7c on i586 2.2.13. Options used
-v /usr/src/linux-2.3.22/vmlinux (specified)
-K (specified)
-L (specified)
-o /lib/modules/2.3.22/ (specified)
-m /usr/src/linux-2.3.22/System.map (specified)

No modules in ksyms, skipping objects
Reading Oops report from the terminal
invalid operand: 0000
CPU: 0
EIP: 0010:[<c0111a74>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010282
eax: 0000001b ebx: 00000000 ecx: c01f676c edx: c01f6774
esi: fffffe00 edi: c0002000 ebp: c0003f64 esp: c0003f28
ds: 0018 es: 0018 ss: 0018
Process sh (pid: 9, stackpage=c0003000)
Stack: 0000023d 00000000 fffffe00 c0002000 c0003fbc c0002000 c0002000
4000a610
bfffff24 c0003fbc c7eb6000 c0213000 c01a7301 c0213000 c0213000
c0002000
c0118e9b c0002000 00000000 080abba8 bffffb3c c021b020 00000001
c0003fb8
Call Trace: [<c01a7301>] [<c0118e9b>] [<c010a864>]
Code: 0f 0b 83 c4 0c 8d b4 26 00 00 00 00 83 3d 14 59 1f c0 00 0f

>>EIP; c0111a74 <schedule+30/46c> <=====
Trace; c01a7301 <tiocspgrp+d/80>
Trace; c0118e9b <sys_wait4+3ab/40c>
Trace; c010a864 <system_call+34/38>
Code; c0111a74 <schedule+30/46c>
00000000 <_EIP>:
Code; c0111a74 <schedule+30/46c> <=====
0: 0f 0b ud2a <=====
Code; c0111a76 <schedule+32/46c>
2: 83 c4 0c addl $0xc,%esp
Code; c0111a79 <schedule+35/46c>
5: 8d b4 26 00 00 00 00 leal 0x0(%esi,1),%esi
Code; c0111a80 <schedule+3c/46c>
c: 83 3d 14 59 1f c0 00 cmpl $0x0,0xc01f5914
Code; c0111a87 <schedule+43/46c>
13: 0f 00 00 sldt (%eax)

In the other 2 Oopses I kept, only the stacktrace differs:
> bfffff24 c0003fbc c7eb6000 c0213000 c01a7301 c0213000 c0213000 c0002000
> c0118e9b c0002000 00000000 080abba8 bffffb3c c021b020 00000001 c0003fb8
and
> bfffff24 c0003fbc c7ec4000 c0213000 c01a7301 c0213000 c0213000 c0002000
> c0118e9b c0002000 00000000 080abc10 bffffb3c c021b020 00000001 c0003fb8

My /proc/cpuinfo:
processor : 0
vendor_id : AuthenticAMD
cpu family : 5
model : 8
model name : AMD-K6(tm) 3D processor
stepping : 0
cpu MHz : 350.805911
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep mmx 3dnow
bogomips : 699.60

hope I didn't forget something.

--
I don't like Unix. I once administered one
of them but was fired just because it crashed.
  -- NT administrator
--------------C788E486B38251B3C33E52B3
Content-Type: text/plain; charset=us-ascii;
 name=".config"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename=".config"

# # Automatically generated make config: don't edit # CONFIG_X86=y CONFIG_ISA=y

# # Code maturity level options # CONFIG_EXPERIMENTAL=y

# # Processor type and features # # CONFIG_M386 is not set # CONFIG_M486 is not set # CONFIG_M586 is not set CONFIG_M586TSC=y # CONFIG_M686 is not set # CONFIG_MK7 is not set CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INVLPG=y CONFIG_X86_BSWAP=y CONFIG_X86_POPAD_OK=y CONFIG_X86_TSC=y CONFIG_1GB=y # CONFIG_2GB is not set # CONFIG_MATH_EMULATION is not set CONFIG_MTRR=y # CONFIG_SMP is not set

# # Loadable module support # CONFIG_MODULES=y # CONFIG_MODVERSIONS is not set CONFIG_KMOD=y

# # General setup # # CONFIG_BIGMEM is not set CONFIG_NET=y # CONFIG_VISWS is not set 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_MCA is not set

# # PCMCIA/Cardbus support # # CONFIG_PCMCIA is not set CONFIG_SYSVIPC=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_SYSCTL=y CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_ELF=y CONFIG_BINFMT_MISC=y CONFIG_PARPORT=y CONFIG_PARPORT_PC=y # CONFIG_PARPORT_PC_FIFO is not set # CONFIG_PARPORT_AMIGA is not set # CONFIG_PARPORT_MFC3 is not set # CONFIG_PARPORT_ATARI is not set # CONFIG_PARPORT_SUNBPP is not set # CONFIG_PARPORT_OTHER is not set # CONFIG_PARPORT_1284 is not set CONFIG_APM=y # CONFIG_APM_IGNORE_USER_SUSPEND is not set # CONFIG_APM_DO_ENABLE is not set 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

# # I2O device support # # CONFIG_I2O is not set

# # Plug and Play configuration # CONFIG_PNP=y # CONFIG_ISAPNP is not set

# # Block devices # CONFIG_BLK_DEV_FD=y 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_IDEDISK_MULTI_MODE 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

# # IDE chipset support/bugfixes # CONFIG_BLK_DEV_CMD640=y # CONFIG_BLK_DEV_CMD640_ENHANCED is not set CONFIG_BLK_DEV_RZ1000=y CONFIG_BLK_DEV_IDEPCI=y # CONFIG_BLK_DEV_IDEDMA_PCI is not set # CONFIG_BLK_DEV_OFFBOARD is not set # CONFIG_BLK_DEV_AEC6210 is not set # CONFIG_BLK_DEV_PIIX is not set # CONFIG_BLK_DEV_OPTI621 is not set # CONFIG_BLK_DEV_SIS5513 is not set # CONFIG_IDE_CHIPSETS is not set # CONFIG_BLK_CPQ_DA is not set

# # Additional Block Devices # # CONFIG_BLK_DEV_LOOP is not set # CONFIG_BLK_DEV_NBD 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_PARIDE_PARPORT=y # CONFIG_PARIDE is not set CONFIG_BLK_DEV_IDE_MODES=y # CONFIG_BLK_DEV_HD is not set

# # Networking options # CONFIG_PACKET=y # CONFIG_PACKET_MMAP is not set CONFIG_NETLINK=y CONFIG_RTNETLINK=y CONFIG_NETLINK_DEV=y # CONFIG_NETFILTER is not set # 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_ROUTER is not set # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_IP_ALIAS is not set # CONFIG_ARPD is not set CONFIG_SYN_COOKIES=y

# # (it is safe to leave these untouched) # CONFIG_SKB_LARGE=y CONFIG_IPV6=m CONFIG_IPV6_EUI64=y # CONFIG_IPV6_NO_PB is not set # CONFIG_KHTTPD is not set # CONFIG_ATM is not set

# # # # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_DECNET 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

# # QoS and/or fair queueing # # CONFIG_NET_SCHED is not set

# # SCSI support # # CONFIG_SCSI is not set

# # Network device support # CONFIG_NETDEVICES=y

# # ARCnet devices # # CONFIG_ARCNET is not set CONFIG_DUMMY=m # CONFIG_EQUALIZER is not set # CONFIG_ETHERTAP is not set # CONFIG_NET_SB1000 is not set

# # Ethernet (10 or 100Mbit) # # CONFIG_NET_ETHERNET is not set # CONFIG_FDDI is not set # CONFIG_HIPPI is not set CONFIG_PLIP=y CONFIG_PPP=y # CONFIG_PPP_ASYNC is not set # CONFIG_PPP_DEFLATE is not set # CONFIG_PPP_BSDCOMP is not set # CONFIG_SLIP is not set

# # Wireless LAN (non-hamradio) # # CONFIG_NET_RADIO is not set

# # Token Ring driver support # # CONFIG_TR is not set # CONFIG_NET_FC is not set # CONFIG_RCPCI is not set # CONFIG_SHAPER is not set

# # Wan interfaces # # CONFIG_WAN is not set

# # Amateur Radio support # # CONFIG_HAMRADIO is not set

# # IrDA (infrared) support # # CONFIG_IRDA is not set

# # ISDN subsystem # # CONFIG_ISDN is not set

# # Old CD-ROM drivers (not SCSI, not IDE) # # CONFIG_CD_NO_IDESCSI is not set

# # Character devices # CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_SERIAL=y CONFIG_SERIAL_CONSOLE=y # CONFIG_SERIAL_EXTENDED is not set # CONFIG_SERIAL_NONSTANDARD is not set CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTY_COUNT=256 CONFIG_PRINTER=y # CONFIG_LP_CONSOLE is not set # CONFIG_PPDEV is not set

# # Mice # # CONFIG_BUSMOUSE is not set CONFIG_MOUSE=y CONFIG_PSMOUSE=y # CONFIG_82C710_MOUSE is not set # CONFIG_PC110_PAD is not set # CONFIG_QIC02_TAPE is not set # CONFIG_WATCHDOG is not set CONFIG_NVRAM=y CONFIG_RTC=y

# # Video For Linux # # CONFIG_VIDEO_DEV is not set

# # Joystick support # # CONFIG_JOYSTICK is not set # CONFIG_DTLK is not set # CONFIG_R3964 is not set # CONFIG_APPLICOM is not set

# # Ftape, the floppy tape device driver # # CONFIG_FTAPE is not set # CONFIG_DRM is not set

# # USB drivers - not for the faint of heart # # CONFIG_USB is not set

# # Misc devices # # CONFIG_ACPI is not set

# # Filesystems # CONFIG_QUOTA=y # CONFIG_AUTOFS_FS is not set # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_HFS_FS is not set CONFIG_FAT_FS=y # CONFIG_MSDOS_FS is not set CONFIG_VFAT_FS=y # CONFIG_EFS_FS is not set CONFIG_ISO9660_FS=y CONFIG_JOLIET=y # CONFIG_UDF_FS is not set # CONFIG_MINIX_FS is not set CONFIG_NTFS_FS=m # CONFIG_NTFS_RW 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 is not set # CONFIG_NFS_FS is not set # CONFIG_NFSD is not set # CONFIG_SUNRPC is not set # CONFIG_LOCKD is not set # CONFIG_SMB_FS is not set # CONFIG_NCP_FS is not set

# # Partition Types # # CONFIG_PARTITION_ADVANCED is not set CONFIG_MSDOS_PARTITION=y # CONFIG_BSD_DISKLABEL is not set # CONFIG_SOLARIS_X86_PARTITION is not set # CONFIG_UNIXWARE_DISKLABEL is not set # CONFIG_SGI_PARTITION is not set # CONFIG_SUN_PARTITION is not set CONFIG_NLS=y

# # Native Language Support # CONFIG_NLS_CODEPAGE_437=y # CONFIG_NLS_CODEPAGE_737 is not set # CONFIG_NLS_CODEPAGE_775 is not set CONFIG_NLS_CODEPAGE_850=y # CONFIG_NLS_CODEPAGE_852 is not set # 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=y # CONFIG_NLS_ISO8859_2 is not set # 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_14 is not set CONFIG_NLS_ISO8859_15=y # CONFIG_NLS_KOI8_R is not set

# # Console drivers # CONFIG_VGA_CONSOLE=y CONFIG_VIDEO_SELECT=y # CONFIG_MDA_CONSOLE is not set

# # Frame-buffer support # # CONFIG_FB is not set

# # Sound # CONFIG_SOUND=m # CONFIG_SOUND_CMPCI is not set # CONFIG_SOUND_ES1370 is not set # CONFIG_SOUND_ES1371 is not set # CONFIG_SOUND_ESSSOLO1 is not set # CONFIG_SOUND_MAESTRO is not set # CONFIG_SOUND_SONICVIBES is not set # CONFIG_SOUND_MSNDCLAS is not set # CONFIG_SOUND_MSNDPIN is not set # CONFIG_SOUND_OSS is not set

# # Kernel hacking # CONFIG_MAGIC_SYSRQ=y

--------------C788E486B38251B3C33E52B3--

- 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/