From owner-freebsd-mobile@FreeBSD.ORG Thu Aug 21 11:25:22 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB8F316A4BF for ; Thu, 21 Aug 2003 11:25:22 -0700 (PDT) Received: from ns.museum.rain.com (gw-ipinc.museum.rain.com [206.29.169.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3862143FDF for ; Thu, 21 Aug 2003 11:25:18 -0700 (PDT) (envelope-from james_mapson@umpquanet.com) Received: from ns.museum.rain.com (localhost [127.0.0.1]) by ns.museum.rain.com (8.12.9/8.12.9) with ESMTP id h7LIPEmU017236 for ; Thu, 21 Aug 2003 11:25:15 -0700 (PDT) (envelope-from james@umpquanet.com) Received: (from james@localhost) by ns.museum.rain.com (8.12.9/8.12.9/Submit) id h7LIPESQ017234 for freebsd-mobile@freebsd.org; Thu, 21 Aug 2003 11:25:14 -0700 (PDT) (envelope-from james) From: James Long Message-Id: <200308211825.h7LIPESQ017234@ns.museum.rain.com> To: freebsd-mobile@freebsd.org Date: Thu, 21 Aug 2003 11:25:14 -0700 (PDT) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=1.2 required=5.0 tests=HTML_00_10 version=2.55 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: ThinkPad T21: X server locks up on exit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2003 18:25:23 -0000 I run FreeBSD 4.8-STABLE on my 256M ThinkPad T21, and have installed XFree86-4.3.0,1 from packages, along with the Gnome desktop, package gnome2-2.2.0. The laptop locks up upon termination of the X session. When I select Log Out from the Actions menu, the screen goes to a completely blank screen, but nothing further happens. I do not get back to a text console, and neither Ctrl-Alt-Backspace nor Ctrl-Alt-Delete have any effect. My only recourse is to hold the power button for six seconds and power the laptop down, and endure the resultant fsck on boot-up. I used to tolerate this, but on a recent fsck I had some extensive file system damage, and had to re-install my laptop as a result, so I'd like to root this out. How can I tweak my X setup to get it to exit cleanly? My XF86Config is below, stripped of most comments for brevity. In .xinitrc I have just exec gnome-session This lock-up problem happens even when I use the default window manager (i.e., when I have no .xinitrc). Farther below is my dmesg output. What can I do to set some debugging flags to shed some light on what is happening when the X server shuts down? Clues and suggestions appreciated. Thanks, Jim Section "Module" Load "dbe" # Double buffer extension SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection Load "type1" Load "freetype" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/usr/X11R6/lib/X11/fonts/local/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/webfonts/" FontPath "/usr/X11R6/lib/X11/fonts/freefont/" FontPath "/usr/X11R6/share/AbiSuite/fonts/" EndSection Section "ServerFlags" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "Keyboard" Option "AutoRepeat" "500 30" Option "XkbRules" "xfree86" Option "XkbModel" "pc101" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "MouseSystems" Option "Device" "/dev/sysmouse" EndSection Section "Monitor" Identifier "TP T21" HorizSync 31.5 - 48.5 VertRefresh 50-70 EndSection Section "Device" Identifier "Standard VGA" VendorName "Unknown" BoardName "Unknown" Driver "vga" EndSection Section "Device" Identifier "TP T21 8M S3 Savage IX8" Driver "vesa" #VideoRam 8192 # Insert Clocks lines here if appropriate EndSection Section "Screen" Identifier "Screen 1" Device "TP T21 8M S3 Savage IX8" Monitor "TP T21" DefaultDepth 16 Subsection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection Section "ServerLayout" Identifier "Simple Layout" Screen "Screen 1" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.8-STABLE #0: Fri Aug 8 22:01:50 PDT 2003 root@t21.museum.rain.com:/usr/obj/usr/src/sys/T21 Timecounter "i8254" frequency 1193182 Hz CPU: Intel Pentium III (796.54-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383f9ff real memory = 268369920 (262080K bytes) avail memory = 257294336 (251264K bytes) Preloaded elf kernel "kernel" at 0xc03c8000. VESA: v2.0, 8192k memory, flags:0x0, mode table:0xc03533c2 (1000022) VESA: S3 Incorporated. M7 BIOS Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 11 entries at 0xc00fdee0 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 pcic0: mem 0x50000000-0x50000fff irq 11 at device 2.0 on pci0 pcic0: Polling mode pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] pccard0: on pcic0 pcic1: mem 0x50100000-0x50100fff irq 11 at device 2.1 on pci0 pcic1: Polling mode pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] pccard1: on pcic1 fxp0: port 0x1800-0x183f mem 0xe8100000-0xe811ffff,0xe8120000-0xe8120fff irq 11 at device 3.0 on pci0 fxp0: Ethernet address 00:10:a4:8f:97:24 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: (vendor=0x115d, dev=0x000c) at 3.1 irq 11 csa0: mem 0xe8000000-0xe80fffff,0xe8122000-0xe8122fff irq 11 at device 5.0 on pci0 csa: card is Thinkpad 600X/A20/T20 pcm0: on csa0 pcm0: isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1850-0x185f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1860-0x187f irq 11 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip1: port 0x1040-0x104f at device 7.3 on pci0 orm0: