Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2004 14:51:50 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-mobile@freebsd.org
Subject:   Re: Thinkpad not going off while suspend
Message-ID:  <200410191451.50794.jhb@FreeBSD.org>
In-Reply-To: <416E990A.1000204@gmx.de>
References:  <20041012211050.03E455D04@ptavv.es.net> <20041014081924.GA20679@speedy.unibe.ch> <416E990A.1000204@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV
>,PAT,PSE36,MMX,FXSR,SSE> real memory  = 402063360 (383 MB)
> avail memory = 383717376 (365 MB)
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <IBM TP-1E> on motherboard
> acpi_ec0: <Embedded Controller: GPE 0x1c, ECDT> 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: <ACPI CPU (3 Cx states)> on acpi0
> acpi_tz0: <Thermal Zone> on acpi0
> acpi_lid0: <Control Method Lid Switch> on acpi0
> acpi_button0: <Sleep Button> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> agp0: <Intel 82830 host to AGP bridge> mem 0xd0000000-0xdfffffff at
> device 0.0 on pci0
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> acpi_video0: <ACPI video extension> port 0x3000-0x30ff mem
> 0xc0100000-0xc010ffff,0xe0000000-0xe7ffffff irq 9 at device 0.0 on pci1
> uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port
> 0x1800-0x181f irq 9 at device 29.0 on pci0
> uhci0: [GIANT-LOCKED]
> usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> 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: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port
> 0x1820-0x183f irq 11 at device 29.1 on pci0
> uhci1: [GIANT-LOCKED]
> usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> 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: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port
> 0x1840-0x185f irq 9 at device 29.2 on pci0
> uhci2: [GIANT-LOCKED]
> usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> 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: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> pci2: <ACPI PCI bus> on pcib2
> cbb0: <RF5C478 PCI-CardBus Bridge> mem 0x50000000-0x50000fff irq 9 at
> device 0.0 on pci2
> cardbus0: <CardBus bus> on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> cbb1: <RF5C478 PCI-CardBus Bridge> mem 0x50100000-0x50100fff irq 5 at
> device 0.1 on pci2
> cardbus1: <CardBus bus> 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: <IEEE1394(FireWire) bus> on fwohci0
> fwe0: <Ethernet over FireWire> 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: <SBP-2/SCSI over FireWire> 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: <Intel 82801CAM (ICH3) Pro/100 VE Ethernet> port 0x8000-0x803f mem
> 0xc0200000-0xc0200fff irq 10 at device 8.0 on pci2
> miibus0: <MII bus> on fxp0
> inphy0: <i82562ET 10/100 media interface> on miibus0
> inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> fxp0: Ethernet address: 00:d0:59:cb:ee:7b
> isab0: <PCI-ISA bridge> at device 31.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel ICH3 UDMA100 controller> 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: <serial bus, SMBus> at device 31.3 (no driver attached)
> pcm0: <Intel ICH3 (82801CA)> port 0x18c0-0x18ff,0x1c00-0x1cff irq 5 at
> device 31.5 on pci0
> pcm0: [GIANT-LOCKED]
> pcm0: <Cirrus Logic CS4299 AC97 Codec>
> pci0: <simple comms> at device 31.6 (no driver attached)
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: [GIANT-LOCKED]
> psm0: model Generic PS/2 mouse, device ID 0
> fdc0: <floppy drive controller (FDE)> 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: <Parallel port bus> on ppc0
> ppbus0: IEEE1284 device found /NIBBLE/PS2/ECP
> Probing for PnP devices on ppbus0:
> ppbus0: <Lexmark International Lexmark Optra S 1855> PRINTER PCL 6
> Emulation, PostScript Level 2 Emulation, NPAP, PJL
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> sio1 port 0x2f8-0x2ff irq 3 drq 3 on acpi0
> sio1: type 16550A
> acpi_cmbat0: <Control Method Battery> on acpi0
> acpi_acad0: <AC Adapter> on acpi0
> orm0: <ISA Option ROMs> at iomem
> 0xdc000-0xdffff,0xd1000-0xd1fff,0xd0000-0xd0fff on isa0
> pmtimer0 on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> Timecounter "TSC" frequency 1198986754 Hz quality 800
> Timecounters tick every 10.000 msec
> ad0: 57231MB <HTS548060M9AT00/MGBOA5BA> [116280/16/63] at ata0-master
> UDMA100
> pccard0: <unknown card> (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 <UJDA720 DVD/CDRW/1.03> at ata1-master UDMA33
> cd0 at ata1 bus 0 target 0 lun 0
> cd0: <MATSHITA UJDA720 DVD/CDRW 1.03> 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: <Intel ICH3m LPC bridge> 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 <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410191451.50794.jhb>