2.3.99-pre4-4 -- Oops apparently related to SHM when attempting to start XFree86 4.0..

From: Miles Lane (miles@speakeasy.org)
Date: Wed Apr 05 2000 - 00:37:35 EST


I have /var/shm mounted on none. Note that I did not get this
Oops when running 2.3.99-pre4-3. With pre4-4, I am unable to
get XFree86 4.0 to run. Instead, I get this Oops:

-------------

Apr 4 21:35:31 localhost kernel: iput: Aieee, semaphore in use inode
00:02/32768, count=0
Apr 4 21:35:31 localhost kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000070
Apr 4 21:35:31 localhost kernel: printing eip:
Apr 4 21:35:31 localhost kernel: c0156dd5
Apr 4 21:35:31 localhost kernel: *pde = 0048f067
Apr 4 21:35:31 localhost kernel: *pte = 00000000
Apr 4 21:35:31 localhost kernel: Oops: 0000
Apr 4 21:35:31 localhost kernel: CPU: 0
Apr 4 21:35:31 localhost kernel: EIP: 0010:[shm_remove_name+165/240]
Apr 4 21:35:31 localhost kernel: EFLAGS: 00013202
Apr 4 21:35:31 localhost kernel: eax: 00000070 ebx: 00000054 ecx:
00003246 edx: 00002000
Apr 4 21:35:31 localhost kernel: esi: cf53df60 edi: 00000000 ebp:
ffffffd5 esp: c950dde4
Apr 4 21:35:31 localhost kernel: ds: 0018 es: 0018 ss: 0018
Apr 4 21:35:31 localhost kernel: Process X (pid: 466,
stackpage=c950d000)
Apr 4 21:35:31 localhost kernel: Stack: c029c990 00008001 c029c990
4350492e 3030305f 30303830 c14d0031 c0156800
Apr 4 21:35:31 localhost kernel: 00008001 00000000 00000000
00000000 00000000 00003286 c93f0620 00003286
Apr 4 21:35:31 localhost kernel: c02140c0 00000000 00000005
00000001 c0214010 c0214010 00003286 00003282
Apr 4 21:35:31 localhost kernel: Call Trace: [sys_shmctl+1712/2416]
[__alloc_pages+89/176] [mmx_clear_page+38/48] [shm_nopage_core+171/560]
[shm_nopage+194/288] [shm_nopage+0/288] [handle_mm_fault+240/352]
Apr 4 21:35:31 localhost kernel: [__fput+69/80]
[unmap_fixup+112/320] [do_munmap+527/544] [sys_shmdt+129/224]
[sys_ipc+463/496] [sys_close+12/16] [system_call+52/56]
Apr 4 21:35:31 localhost kernel: Code: 39 43 1c 74 29 50 8b 43 1c 50 68
e0 c1 1e c0 e8 07 fe fb ff

-----------

Dmesg output:

Apr 4 21:35:16 localhost kernel: Linux version 2.3.99-pre4
(root@localhost.localdomain) (gcc version 2.95.2 19991024 (release)) #17
Tue Apr 4 21:53:12 PDT 2000
Apr 4 21:35:16 localhost kernel: e820: 0009fc00 @ 00000000 (usable)
Apr 4 21:35:16 localhost kernel: e820: 00000400 @ 0009fc00 (reserved)
Apr 4 21:35:16 localhost kernel: e820: 00020000 @ 000e0000 (reserved)
Apr 4 21:35:16 localhost kernel: e820: 0fee0000 @ 00100000 (usable)
Apr 4 21:35:16 localhost kernel: e820: 00018000 @ 0ffe0000 (ACPI data)
Apr 4 21:35:16 localhost kernel: e820: 00008000 @ 0fff8000 (ACPI NVS)
Apr 4 21:35:16 localhost kernel: e820: 00080000 @ fff80000 (reserved)
Apr 4 21:35:16 localhost kernel: Scan SMP from c0000000 for 1024 bytes.
Apr 4 21:35:16 localhost kernel: Scan SMP from c009fc00 for 1024 bytes.
Apr 4 21:35:16 localhost kernel: Scan SMP from c00f0000 for 65536
bytes.
Apr 4 21:35:16 localhost kernel: Scan SMP from c009fc00 for 4096 bytes.
Apr 4 21:35:16 localhost kernel: On node 0 totalpages: 65504
Apr 4 21:35:16 localhost kernel: zone(0): 4096 pages.
Apr 4 21:35:16 localhost kernel: zone(1): 61408 pages.
Apr 4 21:35:16 localhost kernel: zone(2): 0 pages.
Apr 4 21:35:16 localhost kernel: mapped APIC to ffffe000 (01484000)
Apr 4 21:35:16 localhost kernel: Initializing CPU#0
Apr 4 21:35:16 localhost kernel: Detected 848362794 Hz processor.
Apr 4 21:35:16 localhost kernel: Console: colour dummy device 80x25
Apr 4 21:35:16 localhost kernel: Calibrating delay loop... 1690.83
BogoMIPS
Apr 4 21:35:16 localhost kernel: Memory: 255180k/262016k available
(1086k kernel code, 6448k reserved, 88k data, 172k init, 0k highmem)
Apr 4 21:35:16 localhost kernel: Buffer-cache hash table entries: 16384
(order: 4, 65536 bytes)
Apr 4 21:35:16 localhost kernel: Page-cache hash table entries: 65536
(order: 6, 262144 bytes)
Apr 4 21:35:16 localhost kernel: CPU: L1 I Cache: 64K L1 D Cache: 64K
Apr 4 21:35:16 localhost kernel: CPU: L2 Cache: 512K
Apr 4 21:35:16 localhost kernel: CPU: AMD AMD Athlon(tm) Processor
stepping 01
Apr 4 21:35:16 localhost kernel: Checking 386/387 coupling... OK, FPU
using exception 16 error reporting.
Apr 4 21:35:16 localhost kernel: Checking 'hlt' instruction... OK.
Apr 4 21:35:16 localhost kernel: POSIX conformance testing by UNIFIX
Apr 4 21:35:16 localhost kernel: mtrr: v1.36 (20000221) Richard Gooch
(rgooch@atnf.csiro.au)
Apr 4 21:35:16 localhost kernel: PCI: PCI BIOS revision 2.10 entry at
0xfdad1
Apr 4 21:35:16 localhost kernel: PCI: Using configuration type 1
Apr 4 21:35:16 localhost kernel: PCI: Probing PCI hardware
Apr 4 21:35:16 localhost kernel: usb.c: registered new driver usbdevfs
Apr 4 21:35:16 localhost kernel: usb.c: registered new driver hub
Apr 4 21:35:16 localhost kernel: Linux NET4.0 for Linux 2.3
Apr 4 21:35:16 localhost kernel: Based upon Swansea University Computer
Society NET3.039
Apr 4 21:35:16 localhost kernel: NET4: Unix domain sockets 1.0/SMP for
Linux NET4.0.
Apr 4 21:35:16 localhost kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Apr 4 21:35:16 localhost kernel: IP Protocols: ICMP, UDP, TCP
Apr 4 21:35:16 localhost kernel: IP: routing cache hash table of 2048
buckets, 16Kbytes
Apr 4 21:35:16 localhost kernel: TCP: Hash tables configured
(established 16384 bind 16384)
Apr 4 21:35:16 localhost kernel: Initializing RT netlink socket
Apr 4 21:35:16 localhost kernel: Starting kswapd v1.6
Apr 4 21:35:16 localhost kernel: vesafb: framebuffer at 0xe8000000,
mapped to 0xd0800000, size 32768k
Apr 4 21:35:16 localhost kernel: vesafb: mode is 1280x1024x16,
linelength=2560, pages=0
Apr 4 21:35:16 localhost kernel: vesafb: protected mode interface info
at c000:096a
Apr 4 21:35:16 localhost kernel: vesafb: scrolling: redraw
Apr 4 21:35:16 localhost kernel: vesafb: directcolor: size=0:5:6:5,
shift=0:11:5:0
Apr 4 21:35:16 localhost kernel: Console: switching to colour frame
buffer device 160x64
Apr 4 21:35:16 localhost kernel: fb0: VESA VGA frame buffer device
Apr 4 21:35:16 localhost kernel: pty: 256 Unix98 ptys configured
Apr 4 21:35:16 localhost kernel: Uniform Multi-Platform E-IDE driver
Revision: 6.30
Apr 4 21:35:16 localhost kernel: ide: Assuming 40MHz system bus speed
for PIO modes; override with idebus=xx
Apr 4 21:35:16 localhost kernel: AMD7409: IDE controller on PCI bus 00
dev 39
Apr 4 21:35:16 localhost kernel: AMD7409: not 100% native mode: will
probe irqs later
Apr 4 21:35:16 localhost kernel: ide0: BM-DMA at 0xcb00-0xcb07,
BIOS settings: hda:DMA, hdb:pio
Apr 4 21:35:16 localhost kernel: ide1: BM-DMA at 0xcb08-0xcb0f,
BIOS settings: hdc:DMA, hdd:DMA
Apr 4 21:35:16 localhost kernel: hda: QUANTUM FIREBALLP LM30, ATA DISK
drive
Apr 4 21:35:16 localhost atd: atd startup succeeded
Apr 4 21:35:16 localhost kernel: hdc: Pioneer DVD-ROM ATAPIModel
DVD-114 0117, ATAPI CDROM drive
Apr 4 21:35:16 localhost kernel: hdd: R/RW 4x4x24, ATAPI CDROM drive
Apr 4 21:35:16 localhost kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Apr 4 21:35:16 localhost kernel: ide1 at 0x170-0x177,0x376 on irq 15
Apr 4 21:35:16 localhost kernel: hda: 58633344 sectors (30020 MB)
w/1900KiB Cache, CHS=3649/255/63, UDMA(33)
Apr 4 21:35:16 localhost kernel: Partition check:
Apr 4 21:35:16 localhost kernel: hda: hda1 hda2 < hda5 hda6 hda7 hda8
>
Apr 4 21:35:16 localhost kernel: PPP generic driver version 2.4.1
Apr 4 21:35:16 localhost kernel: PPP Deflate Compression module
registered
Apr 4 21:35:16 localhost kernel: VFS: Mounted root (ext2 filesystem)
readonly.
Apr 4 21:35:16 localhost kernel: Freeing unused kernel memory: 172k
freed
Apr 4 21:35:16 localhost kernel: Adding Swap: 88320k swap-space
(priority -1)
Apr 4 21:35:16 localhost kernel: EXT2-fs warning: mounting unchecked
fs, running e2fsck is recommended
Apr 4 21:35:16 localhost kernel: isapnp: Scanning for Pnp cards...
Apr 4 21:35:16 localhost kernel: isapnp: No Plug & Play device found
Apr 4 21:35:16 localhost kernel: Soundblaster audio driver Copyright
(C) by Hannu Savolainen 1993-1996
Apr 4 21:35:16 localhost kernel: sb_card: No ISAPnP cards found, trying
standard ones...
Apr 4 21:35:16 localhost kernel: sb: dsp reset failed.
Apr 4 21:35:16 localhost kernel: Sound device 6 went missing!
Apr 4 21:35:16 localhost kernel: YM3812 and OPL-3 driver Copyright (C)
by Hannu Savolainen, Rob Hooft 1993-1996
Apr 4 21:35:16 localhost kernel: OPL3 not detected ff
Apr 4 21:35:16 localhost kernel: Sound device 6 went missing!
Apr 4 21:35:17 localhost crond: crond startup succeeded
Apr 4 21:35:17 localhost inet: inetd startup succeeded
Apr 4 21:35:17 localhost lpd: lpd startup succeeded
Apr 4 21:35:17 localhost lpd[307]: restarted
Apr 4 21:35:17 localhost amd[326]: AM-UTILS VERSION INFORMATION:
Apr 4 21:35:17 localhost amd[326]: Copyright (c) 1997-1998 Erez Zadok
Apr 4 21:35:17 localhost amd[326]: Copyright (c) 1990 Jan-Simon Pendry
Apr 4 21:35:17 localhost amd[326]: Copyright (c) 1990 Imperial College
of Science, Technology & Medicine
Apr 4 21:35:17 localhost amd[326]: Copyright (c) 1990 The Regents of
the University of California.
Apr 4 21:35:17 localhost amd[326]: am-utils version 6.0 (build 1).
Apr 4 21:35:17 localhost amd[326]: Built by root@data.mandrakesoft.com
on date Tue May 11 02:31:15 GMT 1999.
Apr 4 21:35:17 localhost amd[326]: cpu=i586 (little-endian), arch=i386,
karch=i686.
Apr 4 21:35:17 localhost amd[326]: full_os=linux, os=linux,
osver=2.2.7-bero, vendor=pc.
Apr 4 21:35:17 localhost amd[326]: Map support for: root, passwd,
union, nisplus, nis, ndbm, file, error.
Apr 4 21:35:17 localhost amd[326]: AMFS: nfs, link, nfsx, nfsl, host,
linkx, program, union, inherit,
Apr 4 21:35:17 localhost amd[326]: ufs, cdfs, pcfs, auto, direct,
toplvl, autofs, error.
Apr 4 21:35:17 localhost amd[326]: FS: autofs, isofs, nfs, vfat, ext2.
Apr 4 21:35:17 localhost amd[326]: No networks.
Apr 4 21:35:17 localhost amd[326]: My ip addr is 0x7f000001
Apr 4 21:35:17 localhost amd[327]: released controlling tty using
setsid()
Apr 4 21:35:17 localhost amd[327]: creating autofs service listener
Apr 4 21:35:17 localhost amd[327]: file server localhost type local
starts up
Apr 4 21:35:17 localhost modprobe: modprobe: Can't locate module nfs
Apr 4 21:35:17 localhost amd[328]: /net: mount: No such device
Apr 4 21:35:18 localhost amd: amd startup succeeded
Apr 4 21:35:18 localhost keytable: Loading keymap:
Apr 4 21:35:18 localhost keytable: Loading
/usr/lib/kbd/keymaps/i386/qwerty/us.kmap.gz
Apr 4 21:35:18 localhost keytable: Loading system font:
Apr 4 21:35:18 localhost rc: Starting keytable succeeded
Apr 4 21:35:18 localhost postfix: Starting postfix:
Apr 4 21:35:18 localhost modprobe: modprobe: Can't locate module nfs
Apr 4 21:35:18 localhost amd[328]: /net: mount: No such device
Apr 4 21:35:18 localhost amd[328]: mount_amfs_toplvl: No such device
Apr 4 21:35:18 localhost amd[327]: /net: mount (amfs_auto_cont): No
such device
Apr 4 21:35:18 localhost postfix: /etc/aliases: 14 aliases, longest 10
bytes, 152 bytes total
Apr 4 21:35:19 localhost postfix: postfix
Apr 4 21:35:19 localhost rc: Starting postfix succeeded
Apr 4 21:35:19 localhost sound: Starting sound configuration: sound
Apr 4 21:35:19 localhost rc: Starting sound succeeded
Apr 4 21:35:19 localhost linuxconf: Linuxconf final setup
Apr 4 21:35:20 localhost rc: Starting linuxconf succeeded
Apr 4 21:35:20 localhost rc: Starting local succeeded
Apr 4 21:35:20 localhost gdm[448]: gdm_verify_check: Can't find PAM
configuration file for gdm
Apr 4 21:35:28 localhost PAM_pwdb[442]: (login) session opened for user
miles by LOGIN(uid=0)
Apr 4 21:35:28 localhost -- miles[442]: LOGIN ON tty1 BY miles

Apr 4 21:35:31 localhost kernel: iput: Aieee, semaphore in use inode
00:02/32768, count=0
Apr 4 21:35:31 localhost kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000070
Apr 4 21:35:31 localhost kernel: printing eip:
Apr 4 21:35:31 localhost kernel: c0156dd5
Apr 4 21:35:31 localhost kernel: *pde = 0048f067
Apr 4 21:35:31 localhost kernel: *pte = 00000000
Apr 4 21:35:31 localhost kernel: Oops: 0000
Apr 4 21:35:31 localhost kernel: CPU: 0
Apr 4 21:35:31 localhost kernel: EIP: 0010:[shm_remove_name+165/240]
Apr 4 21:35:31 localhost kernel: EFLAGS: 00013202
Apr 4 21:35:31 localhost kernel: eax: 00000070 ebx: 00000054 ecx:
00003246 edx: 00002000
Apr 4 21:35:31 localhost kernel: esi: cf53df60 edi: 00000000 ebp:
ffffffd5 esp: c950dde4
Apr 4 21:35:31 localhost kernel: ds: 0018 es: 0018 ss: 0018
Apr 4 21:35:31 localhost kernel: Process X (pid: 466,
stackpage=c950d000)
Apr 4 21:35:31 localhost kernel: Stack: c029c990 00008001 c029c990
4350492e 3030305f 30303830 c14d0031 c0156800
Apr 4 21:35:31 localhost kernel: 00008001 00000000 00000000
00000000 00000000 00003286 c93f0620 00003286
Apr 4 21:35:31 localhost kernel: c02140c0 00000000 00000005
00000001 c0214010 c0214010 00003286 00003282
Apr 4 21:35:31 localhost kernel: Call Trace: [sys_shmctl+1712/2416]
[__alloc_pages+89/176] [mmx_clear_page+38/48] [shm_nopage_core+171/560]
[shm_nopage+194/288] [shm_nopage+0/288] [handle_mm_fault+240/352]
Apr 4 21:35:31 localhost kernel: [__fput+69/80]
[unmap_fixup+112/320] [do_munmap+527/544] [sys_shmdt+129/224]
[sys_ipc+463/496] [sys_close+12/16] [system_call+52/56]
Apr 4 21:35:31 localhost kernel: Code: 39 43 1c 74 29 50 8b 43 1c 50 68
e0 c1 1e c0 e8 07 fe fb ff

Mount info:

/dev/hda7 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/hda5 on /boot type ext2 (rw)
/dev/hda8 on /home type ext2 (rw)
/dev/hda1 on /mnt/Win98 type vfat (rw,nosuid,nodev,conv=auto)
none on /var/shm type shm (rw)
none on /proc/bus/usb type usbdevfs (rw)
none on /dev/pts type devpts (rw,mode=0620)

/proc info:

           CPU0
  0: 72862 XT-PIC timer
  1: 3284 XT-PIC keyboard
  2: 0 XT-PIC cascade
 13: 1 XT-PIC fpu
 14: 35413 XT-PIC ide0
 15: 3 XT-PIC ide1
NMI: 0
ERR: 0

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vesafb
03f6-03f6 : ide0
cb00-cb0f : Advanced Micro Devices [AMD] AMD-756 [Viper] IDE
  cb00-cb07 : ide0
  cb08-cb0f : ide1
e000-efff : PCI Bus #01
f000-f0ff : Lucent Microelectronics Venus WinModem (V90, 56KFlex)
f400-f4ff : Lucent Microelectronics Venus WinModem (V90, 56KFlex)
f800-f8ff : Adaptec AHA-2930CU
fc00-fc7f : 3Com Corporation 3c905C-TX [Fast Etherlink]
ff80-ff9f : Creative Labs SB Live! EMU10000
ffa8-ffaf : Lucent Microelectronics Venus WinModem (V90, 56KFlex)
ffe4-ffe7 : Advanced Micro Devices [AMD] AMD-751 [Irongate] System
Controller
fff0-fff7 : Creative Labs SB Live!

00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000d0000-000d07ff : Extension ROM
000d0800-000d0fff : Extension ROM
000f0000-000fffff : System ROM
00100000-0ffdffff : System RAM
  00100000-0020fbcf : Kernel code
  0020fbd0-00225ce3 : Kernel data
0ffe0000-0fff7fff : ACPI Tables
0fff8000-0fffffff : ACPI Non-volatile Storage
e4800000-f48fffff : PCI Bus #01
  e8000000-efffffff : PCI device 10de:0101 (nVidia Corporation)
    e8000000-e9ffffff : vesafb
f8000000-fbffffff : Advanced Micro Devices [AMD] AMD-751 [Irongate]
System Controller
fc9ff000-fc9fffff : Advanced Micro Devices [AMD] AMD-751 [Irongate]
System Controller
fca00000-feafffff : PCI Bus #01
  fd000000-fdffffff : PCI device 10de:0101 (nVidia Corporation)
febfde80-febfdeff : 3Com Corporation 3c905C-TX [Fast Etherlink]
febfdf00-febfdfff : Lucent Microelectronics Venus WinModem (V90,
56KFlex)
febfe000-febfefff : Advanced Micro Devices [AMD] AMD-756 [Viper] USB
febff000-febfffff : Adaptec AHA-2930CU
fff80000-ffffffff : reserved

 4: cascade
Character devices:
  1 mem
  2 pty/m%d
  3 pty/s%d
  4 vc/0
  5 ptmx
  7 vcs
 10 misc
 14 sound
 29 fb
108 ppp
128 ptm
136 pts/%d
162 raw
180 usb

Block devices:
  3 ide0
 22 ide1

slabinfo - version: 1.0
kmem_cache 34 62 124
tcp_tw_bucket 0 0 92
tcp_bind_bucket 9 127 28
tcp_open_request 0 0 60
inet_peer_cache 0 0 60
ip_fib_hash 5 127 28
ip_dst_cache 0 25 156
arp_cache 0 31 124
skbuff_head_cache 13 25 156
sock 65 70 796
filp 303 310 124
inode_cache 1129 1130 380
bdev_cache 23 63 60
signal_queue 1 29 132
kiobuf 0 0 124
buffer_head 120176 124434 124
mm_struct 24 25 156
vm_area_struct 451 504 92
dentry_cache 1855 1860 124
files_cache 23 27 444
uid_cache 5 127 28
size-131072 0 0 131072
size-65536 0 0 65536
size-32768 8 8 32768
size-16384 1 1 16384
size-8192 0 0 8192
size-4096 3 4 4096
size-2048 28 32 2048
size-1024 33 40 1024
size-512 28 32 512
size-256 11 14 284
size-128 391 400 156
size-64 85 126 92
size-32 358 378 60
slab_cache 28 63 60

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



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:14 EST