Re: FreeBSD 9-Beta3 on X300 2 problems

From: crsnet.pl <crsnet_at_crsnet.pl>
Date: Tue, 27 Sep 2011 12:18:25 +0200
> Hi,
 Hello, thanks for reply.
>
> Please try to do this without wlan loaded at all (not just down, but
> build your wifi support as a module.)
> Then try without X, see whether it's related to that or not.
>
 First i make kldunload if_iwn.
 When i try to suspend from X, Xorg close, i see console and laptop 
 suspend.
 When i resume it, i get console (any key dosent work), when i try to 
 ALT+F9 i get black screen and beep;/

 But when i try to suspen from console. I get :
 pci0: failed to set ACPI power state D2 \_SB_.PCI0_EXP0: 
 AE_BAD_PARAMETER
 pci0: failed to set ACPI power state D2 \_SB_.PCI0_EXP1: 
 AE_BAD_PARAMETER
 pci0: failed to set ACPI power state D2 \_SB_.PCI0_EXP2: 
 AE_BAD_PARAMETER
 And laptop suspend, when i resume it. He hangs when i press any buttons 
 it does nothing. And than i see on console that info :
 ugen0.2: <Broadcom Corp> ... disconnected
 ugen4.2: <Sierra Wireless> ... disconnected
 ubt0: at uhub0 ... disconnected
 then i see this presed lethers
 and
 acpi0: suspend request ignored (not ready yet) and laptops langs and 
 beep ;/

> (And you haven't told us what your hardware is.)

 #dmesg (+WITNESS)
 Copyright (c) 1992-2011 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 is a registered trademark of The FreeBSD Foundation.
 FreeBSD 9.0-BETA3 #3: Tue Sep 27 10:47:57 CEST 2011
     cr4sh_at_x300:/sys/amd64/compile/GENERIC amd64
 WARNING: WITNESS option enabled, expect reduced performance.
 CPU: Intel(R) Core(TM)2 Duo CPU     L7100  _at_ 1.20GHz (1197.03-MHz 
 K8-class CPU)
   Origin = "GenuineIntel"  Id = 0x6fb  Family = 6  Model = f  Stepping 
 = 11
   
 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,P 
                                                                         
                     BE>
   
 Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
   AMD Features=0x20100800<SYSCALL,NX,LM>
   AMD Features2=0x1<LAHF>
   TSC: P-state invariant, performance statistics
 real memory  = 2147483648 (2048 MB)
 avail memory = 2019139584 (1925 MB)
 Event timer "LAPIC" quality 400
 ACPI APIC Table: <LENOVO TP-7T   >
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 FreeBSD/SMP: 1 package(s) x 2 core(s)
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ACPI Warning: 32/64X length mismatch in Gpe1Block: 0/32 
 (20110527/tbfadt-556)
 ACPI Warning: Optional field Gpe1Block has zero address or length: 
 0x000000000000102C/0x0 (20110527/tbfadt-586)
 ioapic0: Changing APIC ID to 1
 ioapic0 <Version 2.0> irqs 0-23 on motherboard
 kbd1 at kbdmux0
 acpi0: <LENOVO TP-7T> on motherboard
 CPU0: local APIC error 0x40
 acpi_ec0: <Embedded Controller: GPE 0x12, ECDT> port 0x62,0x66 on acpi0
 acpi0: Power Button (fixed)
 acpi0: reservation of 0, a0000 (3) failed
 acpi0: reservation of 100000, 7ef00000 (3) failed
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
 cpu0: <ACPI CPU> on acpi0
 cpu1: <ACPI CPU> 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
 vgapci0: <VGA-compatible display> port 0x1800-0x1807 mem 
 0xfa000000-0xfa0fffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci0
 agp0: <Intel GM965 SVGA controller> on vgapci0
 agp0: aperture size is 256M, detected 7676k stolen memory
 vgapci1: <VGA-compatible display> mem 0xfa100000-0xfa1fffff at device 
 2.1 on pci0
 pci0: <simple comms> at device 3.0 (no driver attached)
 atapci0: <Intel ATA controller> port 
 0x1828-0x182f,0x180c-0x180f,0x1820-0x1827,0x1808-0x180b,0x1810-0x181f 
 irq 18 at device 3.2 on pci0
 ata2: <ATA channel 0> on atapci0
 ata3: <ATA channel 1> on atapci0
 pci0: <simple comms, UART> at device 3.3 (no driver attached)
 em0: <Intel(R) PRO/1000 Network Connection 7.2.3> port 0x1840-0x185f 
 mem 0xfa200000-0xfa21ffff,0xfa225000-0xfa225fff irq 20 at device 25.0 o  
                                                                         
                   n pci0
 em0: Using an MSI interrupt
 acquiring duplicate lock of same type: "network driver"
  1st &dev_spec->swflag_mutex _at_ dev/e1000/e1000_ich8lan.c:785
  2nd &dev_spec->nvm_mutex _at_ dev/e1000/e1000_ich8lan.c:751
 KDB: stack backtrace:
 db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
 kdb_backtrace() at kdb_backtrace+0x37
 _witness_debugger() at _witness_debugger+0x2e
 witness_checkorder() at witness_checkorder+0x8de
 _mtx_lock_flags() at _mtx_lock_flags+0x79
 e1000_acquire_nvm_ich8lan() at e1000_acquire_nvm_ich8lan+0x1e
 e1000_read_nvm_ich8lan() at e1000_read_nvm_ich8lan+0x76
 e1000_post_phy_reset_ich8lan() at e1000_post_phy_reset_ich8lan+0x1b1
 e1000_reset_hw_ich8lan() at e1000_reset_hw_ich8lan+0x4c1
 em_attach() at em_attach+0x11bd
 device_attach() at device_attach+0x69
 bus_generic_attach() at bus_generic_attach+0x1a
 acpi_pci_attach() at acpi_pci_attach+0x14f
 device_attach() at device_attach+0x69
 bus_generic_attach() at bus_generic_attach+0x1a
 acpi_pcib_attach() at acpi_pcib_attach+0x1a7
 acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x231
 device_attach() at device_attach+0x69
 bus_generic_attach() at bus_generic_attach+0x1a

 acpi_attach() at acpi_attach+0xbc5
 device_attach() at device_attach+0x69
 bus_generic_attach() at bus_generic_attach+0x1a
 nexus_acpi_attach() at nexus_acpi_attach+0x69
 device_attach() at device_attach+0x69
 bus_generic_new_pass() at bus_generic_new_pass+0xd6
 bus_set_pass() at bus_set_pass+0x7a
 configure() at configure+0xa
 mi_startup() at mi_startup+0x77
 btext() at btext+0x2c
 em0: Ethernet address: 00:21:86:58:72:d9
 uhci0: <Intel 82801H (ICH8) USB controller USB-D> port 0x1860-0x187f 
 irq 20 at device 26.0 on pci0
 usbus0: <Intel 82801H (ICH8) USB controller USB-D> on uhci0
 uhci1: <Intel 82801H (ICH8) USB controller USB-E> port 0x1880-0x189f 
 irq 21 at device 26.1 on pci0
 usbus1: <Intel 82801H (ICH8) USB controller USB-E> on uhci1
 ehci0: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> mem 
 0xfa426c00-0xfa426fff irq 22 at device 26.7 on pci0
 usbus2: EHCI version 1.0
 usbus2: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> on ehci0
 hdac0: <Intel 82801H High Definition Audio Controller> mem 
 0xfa220000-0xfa223fff irq 17 at device 27.0 on pci0
 pcib1: <ACPI PCI-PCI bridge> irq 20 at device 28.0 on pci0
 pci2: <ACPI PCI bus> on pcib1
 pcib2: <ACPI PCI-PCI bridge> irq 21 at device 28.1 on pci0
 pci3: <ACPI PCI bus> on pcib2
 iwn0: <Intel(R) Wireless WiFi Link 4965> mem 0xf9f00000-0xf9f01fff irq 
 17 at device 0.0 on pci3
 pcib3: <ACPI PCI-PCI bridge> irq 22 at device 28.2 on pci0
 pci4: <ACPI PCI bus> on pcib3
 uhci2: <Intel 82801H (ICH8) USB controller USB-A> port 0x18a0-0x18bf 
 irq 16 at device 29.0 on pci0
 usbus3: <Intel 82801H (ICH8) USB controller USB-A> on uhci2
 uhci3: <Intel 82801H (ICH8) USB controller USB-B> port 0x18c0-0x18df 
 irq 17 at device 29.1 on pci0
 usbus4: <Intel 82801H (ICH8) USB controller USB-B> on uhci3
 uhci4: <Intel 82801H (ICH8) USB controller USB-C> port 0x18e0-0x18ff 
 irq 18 at device 29.2 on pci0
 usbus5: <Intel 82801H (ICH8) USB controller USB-C> on uhci4
 ehci1: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> mem 
 0xfa427000-0xfa4273ff irq 19 at device 29.7 on pci0
 usbus6: EHCI version 1.0
 usbus6: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> on ehci1
 pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pci13: <ACPI PCI bus> on pcib4
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci1: <Intel ICH8M UDMA100 controller> port 
 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1c00-0x1c0f at device 31.1 on pci0
 ata0: <ATA channel 0> on atapci1
 ahci0: <Intel ICH8M AHCI SATA controller> port 
 0x1c50-0x1c57,0x1c44-0x1c47,0x1c48-0x1c4f,0x1c40-0x1c43,0x1c20-0x1c3f 
 mem 0xfa426000-0xfa4267                                                  
                                            ff irq 16 at device 31.2 on 
 pci0
 ahci0: AHCI v1.10 with 3 1.5Gbps ports, Port Multiplier not supported
 ahcich0: <AHCI channel> at channel 0 on ahci0
 ahcich1: <AHCI channel> at channel 2 on ahci0
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 acpi_tz0: <Thermal Zone> on acpi0
 acpi_tz1: <Thermal Zone> on acpi0
 attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
 Timecounter "i8254" frequency 1193182 Hz quality 0
 Event timer "i8254" frequency 1193182 Hz quality 100
 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on 
 acpi0
 Timecounter "HPET" frequency 14318180 Hz quality 950
 Event timer "HPET" frequency 14318180 Hz quality 450
 Event timer "HPET1" frequency 14318180 Hz quality 440
 Event timer "HPET2" frequency 14318180 Hz quality 440
 atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
 Event timer "RTC" frequency 32768 Hz quality 0
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 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
 battery0: <ACPI Control Method Battery> on acpi0
 acpi_acad0: <AC Adapter> on acpi0
 acpi_ibm0: <IBM ThinkPad ACPI Extras> on acpi0
 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
 ppc0: cannot reserve I/O port range
 est0: <Enhanced SpeedStep Frequency Control> on cpu0
 p4tcc0: <CPU Frequency Thermal Control> on cpu0
 est1: <Enhanced SpeedStep Frequency Control> on cpu1
 p4tcc1: <CPU Frequency Thermal Control> on cpu1
 Timecounters tick every 1.000 msec
 hdac0: HDA Codec #0: Analog Devices AD1984A
 pcm0: <HDA Analog Devices AD1984A PCM #0 Analog> at cad 0 nid 1 on 
 hdac0
 pcm1: <HDA Analog Devices AD1984A PCM #1 Digital> at cad 0 nid 1 on 
 hdac0
 usbus0: 12Mbps Full Speed USB v1.0
 usbus1: 12Mbps Full Speed USB v1.0
 usbus2: 480Mbps High Speed USB v2.0
 usbus3: 12Mbps Full Speed USB v1.0
 usbus4: 12Mbps Full Speed USB v1.0
 usbus5: 12Mbps Full Speed USB v1.0
 usbus6: 480Mbps High Speed USB v2.0
 ugen0.1: <Intel> at usbus0
 uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on 
 usbus0
 ugen1.1: <Intel> at usbus1
 uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on 
 usbus1
 ugen2.1: <Intel> at usbus2
 uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on 
 usbus2
 ugen3.1: <Intel> at usbus3
 uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on 
 usbus3
 ugen4.1: <Intel> at usbus4
 uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on 
 usbus4
 ugen5.1: <Intel> at usbus5
 uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on 
 usbus5
 ugen6.1: <Intel> at usbus6
 uhub6: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on 
 usbus6
 uhub0: 2 ports with 2 removable, self powered
 uhub1: 2 ports with 2 removable, self powered
 uhub3: 2 ports with 2 removable, self powered
 uhub4: 2 ports with 2 removable, self powered
 uhub5: 2 ports with 2 removable, self powered
 uhub2: 4 ports with 4 removable, self powered
 ada0 at ahcich0 bus 0 scbus3 target 0 lun 0
 ada0: <SAMSUNG MCCOE64G8MPP-0VA PS105L16> ATA-7 SATA 2.x device
 ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes)
 ada0: 61057MB (125045424 512 byte sectors: 16H 63S/T 16383C)
 ada0: Previously was known as ad8
 cd0 at ata0 bus 0 scbus2 target 0 lun 0
 cd0: <MATSHITA DVD-RAM UJ-844 RC02> Removable CD-ROM SCSI-0 device
 cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
 cd0: Attempt to query device size failed: NOT READY, Medium not present
 SMP: AP CPU #1 Launched!
 WARNING: WITNESS option enabled, expect reduced performance.
 Root mount waiting for: usbus6 usbus2
 uhub6: 6 ports with 6 removable, self powered
 ugen0.2: <Broadcom Corp> at usbus0
 Root mount waiting for: usbus6
 ugen6.2: <Chicony Electronics Co., Ltd.> at usbus6
 ugen4.2: <Sierra Wireless, Incorporated> at usbus4
 ugen0.3: <STMicroelectronics> at usbus0
 u3g0: <Data Interface> on usbus4
 u3g0: Found 3 ports.
 ugen6.3: <ManfID> at usbus6
 Trying to mount root from ufs:/dev/ad8s1a [rw]...
 WARNING: / was not properly dismounted
 vboxdrv: fAsync=1 offMin=0x969c6 offMax=0x969c6
 supdrvGipCreate: omni timer not supported, falling back to synchronous 
 mode
 vboxnet0: Ethernet address: 0a:00:27:00:00:00
 wlan0: Ethernet address: 00:21:5c:53:a9:4b
 ubt0: <Broadcom Corp BCM2045B, class 224/1, rev 2.00/1.00, addr 2> on 
 usbus0
 WARNING: attempt to domain_add(bluetooth) after domainfinalize()
 WARNING: attempt to domain_add(netgraph) after domainfinalize()
 drm0: <Intel i965GM> on vgapci0
 info: [drm] MSI enabled 1 message(s)
 info: [drm] AGP at 0xe0000000 256MB
 info: [drm] Initialized i915 1.6.0 20080730
 lock order reversal:
  1st 0xffffff8079d5c658 bufwait (bufwait) _at_ kern/vfs_bio.c:2658
  2nd 0xfffffe0077c6e800 dirhash (dirhash) _at_ ufs/ufs/ufs_dirhash.c:284
 KDB: stack backtrace:
 db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
 kdb_backtrace() at kdb_backtrace+0x37
 _witness_debugger() at _witness_debugger+0x2e
 witness_checkorder() at witness_checkorder+0x807
 _sx_xlock() at _sx_xlock+0x55
 ufsdirhash_acquire() at ufsdirhash_acquire+0x33
 ufsdirhash_add() at ufsdirhash_add+0x19
 ufs_direnter() at ufs_direnter+0x909
 ufs_makeinode() at ufs_makeinode+0x26a
 VOP_CREATE_APV() at VOP_CREATE_APV+0x8d
 vn_open_cred() at vn_open_cred+0x46a
 kern_openat() at kern_openat+0x1f9
 amd64_syscall() at amd64_syscall+0x3ba
 Xfast_syscall() at Xfast_syscall+0xf7
 --- syscall (5, FreeBSD ELF64, sys_open), rip = 0x803593eac, rsp = 
 0x7fffffffd2f8, rbp = 0x8 ---

 Regards.
_______________________________________________
freebsd-stable_at_freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe_at_freebsd.org"
Received on Tue Sep 27 2011 - 08:12:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:18 UTC