From owner-freebsd-mobile@FreeBSD.ORG Tue Oct 19 21:13:10 2004 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 E8DF616A4D0 for ; Tue, 19 Oct 2004 21:13:10 +0000 (GMT) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 884B643D55 for ; Tue, 19 Oct 2004 21:13:08 +0000 (GMT) (envelope-from john@baldwin.cx) Received: (qmail 472 invoked from network); 19 Oct 2004 21:13:08 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 19 Oct 2004 21:13:06 -0000 Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i9JLCxbj050271 for ; Tue, 19 Oct 2004 17:12:59 -0400 (EDT) (envelope-from john@baldwin.cx) Received: from zion.baldwin.cx (localhost [127.0.0.1]) by zion.baldwin.cx (8.12.10/8.12.10) with ESMTP id i9JLCw8h005674 for ; Tue, 19 Oct 2004 17:12:58 -0400 (EDT) (envelope-from john@zion.baldwin.cx) Received: from localhost (localhost [[UNIX: localhost]]) by zion.baldwin.cx (8.12.10/8.12.10/Submit) id i9JLCwe6005673 for freebsd-mobile@freebsd.org; Tue, 19 Oct 2004 17:12:58 -0400 (EDT) (envelope-from john) From: John Baldwin To: freebsd-mobile@freebsd.org Date: Tue, 19 Oct 2004 14:51:50 -0400 User-Agent: KMail/1.6 References: <20041012211050.03E455D04@ptavv.es.net> <20041014081924.GA20679@speedy.unibe.ch> <416E990A.1000204@gmx.de> In-Reply-To: <416E990A.1000204@gmx.de> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200410191451.50794.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx Subject: Re: Thinkpad not going off while suspend 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: Tue, 19 Oct 2004 21:13:11 -0000 On Thursday 14 October 2004 11:19 am, Jochen Gensch wrote: > Tobias Roth wrote: > > sorry for not being clear enough and (possibly) wasting some of your > > time. the thing to do is not (only) to disable dri in X-Conf, but to > > remove > > > > device radeondrm > > > > from your kernel, and make sure the radeon.ko is not loaded. if that > > doesn't fix things, i am out of ideas. > > I'm pretty much using the GENERIC Kernel. It doesn't contain any device > like that. kldstat also doesn't show any radeon modules. > > Did I post my dmesg or anything else about my system here Here, yet? > Mmh, whatever, here it is: > > System A30p on FreeBSD 5.3-BETA7 cvsup'd yesterday. > > > Copyright (c) 1992-2004 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 5.3-BETA7 #1: Wed Oct 13 18:11:45 CEST 2004 > incmc@incmc.da-butze.uga:/usr/obj/usr/src/sys/KERNEL > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Pentium(R) III Mobile CPU 1200MHz (1198.99-MHz > 686-class CPU) > Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 > > Features=0x383f9ff,PAT,PSE36,MMX,FXSR,SSE> real memory = 402063360 (383 MB) > avail memory = 383717376 (365 MB) > npx0: [FAST] > npx0: on motherboard > npx0: INT 16 interface > acpi0: on motherboard > acpi_ec0: port 0x66,0x62 on acpi0 > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > cpu0: on acpi0 > acpi_tz0: on acpi0 > acpi_lid0: on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > agp0: mem 0xd0000000-0xdfffffff at > device 0.0 on pci0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > acpi_video0: port 0x3000-0x30ff mem > 0xc0100000-0xc010ffff,0xe0000000-0xe7ffffff irq 9 at device 0.0 on pci1 > uhci0: port > 0x1800-0x181f irq 9 at device 29.0 on pci0 > uhci0: [GIANT-LOCKED] > 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 > uhub1: Genesys Logic USB Hub, class 9/0, rev 1.01/0.11, addr 2 > uhub1: 7 ports with 7 removable, self powered > uscanner0: Mustek Systems 1200 CU scanner, rev 1.00/1.00, addr 3 > ums0: Logitech USB Receiver, rev 1.10/9.10, addr 4, iclass 3/1 > ums0: 5 buttons and Z dir. > uhci1: port > 0x1820-0x183f irq 11 at device 29.1 on pci0 > uhci1: [GIANT-LOCKED] > usb1: on uhci1 > usb1: USB revision 1.0 > uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub2: 2 ports with 2 removable, self powered > uhci2: port > 0x1840-0x185f irq 9 at device 29.2 on pci0 > uhci2: [GIANT-LOCKED] > usb2: on uhci2 > usb2: USB revision 1.0 > uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub3: 2 ports with 2 removable, self powered > pcib2: at device 30.0 on pci0 > pci2: on pcib2 > cbb0: mem 0x50000000-0x50000fff irq 9 at > device 0.0 on pci2 > cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb1: mem 0x50100000-0x50100fff irq 5 at > device 0.1 on pci2 > cardbus1: on cbb1 > pccard1: <16-bit PCCard bus> on cbb1 > fwohci0: <1394 Open Host Controller Interface> mem 0xc0201000-0xc02017ff > irq 9 at device 0.2 on pci2 > fwohci0: OHCI version 1.0 (ROM=0) > fwohci0: No. of Isochronous channels is 4. > fwohci0: EUI64 00:06:1b:02:01:00:60:ef > fwohci0: Phy 1394a available S400, 2 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: on fwohci0 > fwe0: on firewire0 > if_fwe0: Fake Ethernet address: 02:06:1b:00:60:ef > fwe0: Ethernet address: 02:06:1b:00:60:ef > fwe0: if_start running deferred for Giant > sbp0: on firewire0 > fwohci0: Initiate bus reset > fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode > firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) > firewire0: bus manager 0 (me) > fxp0: port 0x8000-0x803f mem > 0xc0200000-0xc0200fff irq 10 at device 8.0 on pci2 > miibus0: on fxp0 > inphy0: on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > fxp0: Ethernet address: 00:d0:59:cb:ee:7b > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port > 0x1860-0x186f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 > ata0: channel #0 on atapci0 > ata1: channel #1 on atapci0 > pci0: at device 31.3 (no driver attached) > pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff irq 5 at > device 31.5 on pci0 > pcm0: [GIANT-LOCKED] > pcm0: > pci0: at device 31.6 (no driver attached) > atkbdc0: port 0x64,0x60 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: model Generic PS/2 mouse, device ID 0 > fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 > on acpi0 > fdc0: [FAST] > sio0 port 0x3f8-0x3ff irq 4 on acpi0 > sio0: type 16550A > ppc0 port 0x278-0x27f irq 7 on acpi0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > ppbus0: on ppc0 > ppbus0: IEEE1284 device found /NIBBLE/PS2/ECP > Probing for PnP devices on ppbus0: > ppbus0: PRINTER PCL 6 > Emulation, PostScript Level 2 Emulation, NPAP, PJL > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > sio1 port 0x2f8-0x2ff irq 3 drq 3 on acpi0 > sio1: type 16550A > acpi_cmbat0: on acpi0 > acpi_acad0: on acpi0 > orm0: at iomem > 0xdc000-0xdffff,0xd1000-0xd1fff,0xd0000-0xd0fff on isa0 > pmtimer0 on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounter "TSC" frequency 1198986754 Hz quality 800 > Timecounters tick every 10.000 msec > ad0: 57231MB [116280/16/63] at ata0-master > UDMA100 > pccard0: (manufacturer=0x0101, product=0x0696) at function 0 > pccard0: CIS info: 3Com, 3CRSHPW_96 Wireless LAN PC Card, (null) > ata1-slave: FAILURE - ATAPI_IDENTIFY timed out > ata1-slave: FAILURE - ATAPI_IDENTIFY timed out > ata1-slave: FAILURE - ATAPI_IDENTIFY timed out > acd0: CDRW at ata1-master UDMA33 > cd0 at ata1 bus 0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 33.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not present > - tray closed > Mounting root from ufs:/dev/ad0s3a > ichist0: on motherboard > > So why does it resume properly without the patch, but breaks when it is > applied? It worked fine under 4.x with APM by the way. If DRI is enabled when X is started, it will automatically load the kernel driver for radeondrm if it is present, so do a kldstat and make sure radeon.ko isn't loaded when you try to suspend/resume. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/