2003-11-22 05:49:31

by jurriaan

[permalink] [raw]
Subject: 2.6.0-test9-mm4 oops

Nov 21 21:25:40 middle kernel: ------------[ cut here ]------------
Nov 21 21:25:40 middle kernel: kernel BUG at arch/i386/mm/fault.c:357!
Nov 21 21:25:40 middle kernel: invalid operand: 0000 [#1]
Nov 21 21:25:40 middle kernel: PREEMPT
Nov 21 21:25:40 middle kernel: CPU: 0
Nov 21 21:25:40 middle kernel: EIP: 0060:[schedule+1185/1456] Not tainted VLI
Nov 21 21:25:40 middle kernel: EFLAGS: 00010297
Nov 21 21:25:40 middle kernel: EIP is at do_page_fault+0x371/0x50b
Nov 21 21:25:40 middle kernel: eax: f39c0280 ebx: f39c0280 ecx: 00000000 edx: f39c0280
Nov 21 21:25:40 middle kernel: esi: f39c02a0 edi: cebfa2c0 ebp: cfe9dfb4 esp: cfe9df0c
Nov 21 21:25:40 middle kernel: ds: 007b es: 007b ss: 0068
Nov 21 21:25:40 middle kernel: Process aplay (pid: 8321, threadinfo=cfe9c000 task=f39d1940)
Nov 21 21:25:40 middle kernel: Stack: f39c0280 cebfa2c0 40019004 00000001 00000001 40019004 f39d1940 f5ac6340
Nov 21 21:25:40 middle kernel: 40237000 00030002 cfe9df8c c014b86f f39c0280 f5ac6340 f5ac6640 f5ac6660
Nov 21 21:25:40 middle kernel: f5ac6658 000800fb f5ab8ec0 00000000 00000000 00000000 00000000 001000fb
Nov 21 21:25:40 middle kernel: Call Trace:
Nov 21 21:25:40 middle kernel: [shmem_truncate+895/1008] do_mmap_pgoff+0x35f/0x660
Nov 21 21:25:40 middle kernel: [set_fpregs+28/80] sys_mmap2+0x9c/0xb0
Nov 21 21:25:40 middle kernel: [schedule+304/1456] do_page_fault+0x0/0x50b
Nov 21 21:25:40 middle kernel: [__func__.4+176444/376069] error_code+0x2f/0x38
Nov 21 21:25:40 middle kernel:
Nov 21 21:25:40 middle kernel: Code: 9e 8b 85 70 ff ff ff c7 04 24 af a3 49 c0 05 02 03 00 00 89 44 24 04 e8 0e 5f 00 00 f6 45 0c 04
0f 84 ae fd ff ff e9 80 fe ff ff <0f> 0b 65 01 c7 a3 49 c0 8b 55 08 f6 42 32 02 74 27 8b 8d 6c ff

single cpu Athlon XP system, .config:

CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=16
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_KMOD=y
CONFIG_X86_PC=y
CONFIG_MK7=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_USE_3DNOW=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_PREEMPT=y
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
CONFIG_HIGHMEM4G=y
CONFIG_HIGHMEM=y
CONFIG_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IG_BLK_DEV_SD=y
CONFIG_MAX_SD_DISKS=2
CONFIG_CHR_DEV_ST=y
CONFIG_BLK_DEV_SR=y
CONFIG_CHR_DEV_SG=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_REPORT_LUNS=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_SYM53C8XX_2=y
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_LINEAR=y
CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y
CONFIG_MD_RAID5=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_SYN_COOKIES=y
CONFIG_IPV6_SCTP__=y
CONFIG_NETDEVICES=y
CONFIG_DUMMY=y
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
CONFIG_NET_TULIP=y
CONFIG_TULIP=y
CONFIG_TULIP_MWI=y
CONFIG_TULIP_MMIO=y
CONFIG_NET_PCI=y
CONFIG_E100=y
CONFIG_8139CP=y
CONFIG_8139TOO=y
CONFIG_VIA_RHINE=y
CONFIG_VIA_RHINE_MMIO=y
CONFIG_INPUT=y
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=y
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_CORE=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_PRINTER=y
CONFIG_I2C=m
CONFIG_I2C_CHARDEV=m
CONFIG_I2C_ALGOBIT=m
CONFIG_I2C_ISA=m
CONFIG_I2C_VIAPRO=m
CONFIG_I2C_SENSOR=m
CONFIG_SENSORS_EEPROM=m
CONFIG_SENSORS_VIA686A=m
CONFIG_SENSORS_W83781D=m
CONFIG_WATCHDOG=y
CONFIG_SOFT_WATCHDOG=y
CONFIG_RTC=y
CONFIG_AGP=y
CONFIG_AGP_VIA=y
CONFIG_DRM=y
CONFIG_DRM_MGA=y
CONFIG_RAW_DRIVER=y
CONFIG_MAX_RAW_DEVS=256
CONFIG_FB=y
CONFIG_VIDEO_SELECT=y
CONFIG_FB_MATROX=y
CONFIG_FB_MATROX_G450=y
CONFIG_FB_MATROX_G100=y
CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
CONFIG_FONTS=y
CONFIG_FONT_SUN12x22=y
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y
CONFIG_SOUND=y
CONFIG_SND=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=y
CONFIG_SND_EMU10K1=y
CONFIG_SND_CMIPCI=y
CONFIG_SND_INTEL8X0=y
CONFIG_SND_VIA82XX=y
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_PRINTER=y
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_SCANNER=y
CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_JBD=y
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=y
CONFIG_XFS_FS=y
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_UDF_FS=y
CONFIG_FAT_FS=y
CONFIG_VFAT_FS=y
CONFIG_NTFS_FS=y
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_DEVPTS_FS=y
CONFIG_TMPFS=y
CONFIG_RAMFS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_SUNRPC=y
CONFIG_MSDOS_PARTITION=y
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y
CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_FRAME_POINTER=y
CONFIG_X86_EXTRA_IRQS=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y
CONFIG_CRC32=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_PC=y

--
Pay attention, the wreckage seemed to declare. Some things cannot be
undone, short of time pivoting in its groove and crawling back on itself.
Tad Williams - Otherland
Debian (Unstable) GNU/Linux 2.6.0-test9-mm4 4276 bogomips 0.71 0.44


2003-11-23 01:18:11

by William Lee Irwin III

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 oops

On Sat, Nov 22, 2003 at 06:49:04AM +0100, Jurriaan wrote:
> Nov 21 21:25:40 middle kernel: ------------[ cut here ]------------
> Nov 21 21:25:40 middle kernel: kernel BUG at arch/i386/mm/fault.c:357!
> Nov 21 21:25:40 middle kernel: invalid operand: 0000 [#1]


diff -prauN mm4-2.6.0-test9-1/mm/memory.c mm4-2.6.0-test9-default-2/mm/memory.c
--- mm4-2.6.0-test9-1/mm/memory.c 2003-11-19 00:07:15.000000000 -0800
+++ mm4-2.6.0-test9-default-2/mm/memory.c 2003-11-19 18:08:49.000000000 -0800
@@ -1424,7 +1424,7 @@ do_no_page(struct mm_struct *mm, struct
pte_t entry;
struct pte_chain *pte_chain;
int sequence = 0;
- int ret;
+ int ret = VM_FAULT_MINOR;

if (!vma->vm_ops || !vma->vm_ops->nopage)
return do_anonymous_page(mm, vma, page_table,

2003-11-23 05:44:20

by jurriaan

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4 oops

From: William Lee Irwin III <[email protected]>
Date: Sat, Nov 22, 2003 at 05:18:05PM -0800
> On Sat, Nov 22, 2003 at 06:49:04AM +0100, Jurriaan wrote:
> > Nov 21 21:25:40 middle kernel: ------------[ cut here ]------------
> > Nov 21 21:25:40 middle kernel: kernel BUG at arch/i386/mm/fault.c:357!
> > Nov 21 21:25:40 middle kernel: invalid operand: 0000 [#1]
>
>
> diff -prauN mm4-2.6.0-test9-1/mm/memory.c mm4-2.6.0-test9-default-2/mm/memory.c
> --- mm4-2.6.0-test9-1/mm/memory.c 2003-11-19 00:07:15.000000000 -0800
> +++ mm4-2.6.0-test9-default-2/mm/memory.c 2003-11-19 18:08:49.000000000 -0800
> @@ -1424,7 +1424,7 @@ do_no_page(struct mm_struct *mm, struct
> pte_t entry;
> struct pte_chain *pte_chain;
> int sequence = 0;
> - int ret;
> + int ret = VM_FAULT_MINOR;
>
> if (!vma->vm_ops || !vma->vm_ops->nopage)
> return do_anonymous_page(mm, vma, page_table,

Thanks. It only happened once, so I don't think I can reproduce or test
this...

Jurriaan
--
Big Brother tries to stitch and bend
but channel surfers find new friends
Midnight Oil - Golden Age
Debian (Unstable) GNU/Linux 2.6.0-test9-mm4 4276 bogomips 0.71 0.44