On Wed, Dec 29, 2010 at 09:33:40AM -0800, patrick keshishian wrote:
> On Tue, Dec 28, 2010 at 6:47 PM, Mike Larkin <mlar...@azathoth.net> wrote:
> > On Tue, Dec 28, 2010 at 06:42:12PM -0800, Mike Larkin wrote:
> >> On Mon, Dec 27, 2010 at 12:18:56PM -0800, patrick keshishian wrote:
> >> > Hi,
> >> >
> >> > I am having a few issues with this laptop including not being able to
> >> > make it sleep/suspend and/or wake up. Who are the right (interested)
> >> > people I should/can send acpidump to? Anything else I should include?
> >> >
> >> > zzz will seemingly attempt to suspend the box. But it doesn't fully
> >> > finish (I assume) leaving the display screen on, but at this point the
> >> > box is hung. Can't ssh to it or ping it. I think caps-lock will toggle
> >> > on/off the caps-lock light, but nothing else responds. Only choice is
> >> > to hold down the power button for 4 seconds for a hard restart.
> >>
> >> Edit sys/dev/acpi.c, search for pci_dopm. Change the assignment from
> >> 1 to 0 and rebuild your kernel.
> >>
> >
> > er. That was supposed to read /sys/dev/acpi/acpi.c
> 
> That seems to have done the trick! So what does this mean? I now see
> your check-in comment (dev/pci/ppb.c -r1.46), but question that comes
> to mind is whether this variable should be toggle-able at run time?
> 

No, the right thing to do is not power off pci(4) and ppb(4) if they don't
support the feature. IIRC this machine has a ppb(4) that doesn't support
power management. I know what to do but have not yet written a diff.

-ml

> Thanks,
> --patrick
> 
> 
> 
> 
> 
> >
> >> -ml
> >>
> >> >
> >> > Also, the built-in weefee card will hang the box on `ifconfig athn0 
> >> > scan`.
> >> >
> >> > Thanks,
> >> > --patrick
> >> >
> >> >
> >> >
> >> > OpenBSD 4.8-current (GENERIC) #379: Tue Dec 21 19:17:45 MST 2010
> >> > ? ? dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
> >> > real mem = 1876754432 (1789MB)
> >> > avail mem = 1812852736 (1728MB)
> >> > mainbus0 at root
> >> > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf10d0 (17 entries)
> >> > bios0: vendor Phoenix Technologies LTD version "v1.3201" date 06/18/2009
> >> > bios0: Gateway LT31
> >> > acpi0 at bios0: rev 2
> >> > acpi0: sleep states S0 S3 S4 S5
> >> > acpi0: tables DSDT FACP APIC MCFG HPET BOOT SLIC
> >> > acpi0: wakeup devices PB5_(S5) OHC1(S3) OHC2(S3) EHCI(S3) HDAU(S3)
> >> > acpitimer0 at acpi0: 3579545 Hz, 32 bits
> >> > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> >> > cpu0 at mainbus0: apid 0 (boot processor)
> >> > cpu0: AMD Athlon(tm) Processor L110, 1197.21 MHz
> >> > cpu0: 
> >> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
> >> > cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
> >> > 64b/line 16-way L2 cache
> >> > cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully 
> >> > associative
> >> > cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully 
> >> > associative
> >> > cpu0: apic clock running at 199MHz
> >> > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 21, 24 pins
> >> > acpihpet0 at acpi0: 14318180 Hz
> >> > acpiprt0 at acpi0: bus 0 (PCI0)
> >> > acpiprt1 at acpi0: bus -1 (PB3_)
> >> > acpiprt2 at acpi0: bus -1 (PB4_)
> >> > acpiprt3 at acpi0: bus 3 (PB5_)
> >> > acpiprt4 at acpi0: bus 4 (PB6_)
> >> > acpiprt5 at acpi0: bus -1 (PB7_)
> >> > acpiprt6 at acpi0: bus 9 (P2P_)
> >> > acpiprt7 at acpi0: bus 1 (AGP_)
> >> > acpiec0 at acpi0
> >> > acpicpu0 at acpi0: C3, C2
> >> > acpitz0 at acpi0: critical temperature 100 degC
> >> > acpiac0 at acpi0: AC unit offline
> >> > acpibat0 at acpi0: BAT1 model "UM09B44" serial 210 type LION oem "SONY"
> >> > acpibtn0 at acpi0: LID_
> >> > acpibtn1 at acpi0: SLPB
> >> > acpibtn2 at acpi0: PWRB
> >> > acpivideo0 at acpi0: VGA_
> >> > acpivout0 at acpivideo0: LCD_
> >> > acpivout1 at acpivideo0: CRT1
> >> > acpivout2 at acpivideo0: TV__
> >> > acpivout3 at acpivideo0: DFP1
> >> > pci0 at mainbus0 bus 0
> >> > pchb0 at pci0 dev 0 function 0 "ATI RS690 Host" rev 0x00
> >> > ppb0 at pci0 dev 1 function 0 "ATI RS690 PCIE" rev 0x00
> >> > pci1 at ppb0 bus 1
> >> > vga1 at pci1 dev 5 function 0 "ATI Radeon X1250 IGP" rev 0x00
> >> > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> >> > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> >> > ppb1 at pci0 dev 5 function 0 "ATI RS690 PCIE" rev 0x00
> >> > pci2 at ppb1 bus 3
> >> > re0 at pci2 dev 0 function 0 "Realtek 8101E" rev 0x02: RTL8102EL
> >> > (0x2480), apic 1 int 17 (irq 5), address 00:23:8b:ef:3a:a7
> >> > rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
> >> > ppb2 at pci0 dev 6 function 0 "ATI RS690 PCIE" rev 0x00
> >> > pci3 at ppb2 bus 4
> >> > athn0 at pci3 dev 0 function 0 "Atheros AR9285" rev 0x01: apic 1 int
> >> > 18 (irq 11), address 00:26:5e:0f:bc:3a
> >> > athn0: AR9285 rev 2 (1T1R), ROM rev 13
> >> > ahci0 at pci0 dev 18 function 0 "ATI SB600 SATA" rev 0x00: apic 1 int
> >> > 22 (irq 11), AHCI 1.1
> >> > scsibus0 at ahci0: 32 targets
> >> > sd0 at scsibus0 targ 0 lun 0: <ATA, TOSHIBA MK2555GS, FG00> SCSI3 
> >> > 0/direct fixed
> >> > sd0: 238475MB, 512 bytes/sec, 488397168 sec total
> >> > ohci0 at pci0 dev 19 function 0 "ATI SB600 USB" rev 0x00: apic 1 int
> >> > 16 (irq 10), version 1.0, legacy support
> >> > ohci1 at pci0 dev 19 function 1 "ATI SB600 USB" rev 0x00: apic 1 int
> >> > 17 (irq 5), version 1.0, legacy support
> >> > ohci2 at pci0 dev 19 function 3 "ATI SB600 USB" rev 0x00: apic 1 int
> >> > 17 (irq 5), version 1.0, legacy support
> >> > ohci3 at pci0 dev 19 function 4 "ATI SB600 USB" rev 0x00: apic 1 int
> >> > 18 (irq 11), version 1.0, legacy support
> >> > ehci0 at pci0 dev 19 function 5 "ATI SB600 USB2" rev 0x00: apic 1 int
> >> > 19 (irq 11)
> >> > usb0 at ehci0: USB revision 2.0
> >> > uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
> >> > piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x14: SMI
> >> > iic0 at piixpm0
> >> > spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
> >> > pciide0 at pci0 dev 20 function 1 "ATI SB600 IDE" rev 0x00: DMA,
> >> > channel 0 configured to compatibility, channel 1 configured to
> >> > compatibility
> >> > azalia0 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x00: apic
> >> > 1 int 16 (irq 10)
> >> > azalia0: codecs: Realtek ALC272
> >> > audio0 at azalia0
> >> > pcib0 at pci0 dev 20 function 3 "ATI SB600 ISA" rev 0x00
> >> > ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00
> >> > pci4 at ppb3 bus 9
> >> > pchb1 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
> >> > pchb2 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
> >> > pchb3 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00
> >> > kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00:
> >> > core rev DH-G2
> >> > usb1 at ohci0: USB revision 1.0
> >> > uhub1 at usb1 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> >> > usb2 at ohci1: USB revision 1.0
> >> > uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> >> > usb3 at ohci2: USB revision 1.0
> >> > uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> >> > usb4 at ohci3: USB revision 1.0
> >> > uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> >> > isa0 at pcib0
> >> > isadma0 at isa0
> >> > pckbc0 at isa0 port 0x60/5
> >> > pckbd0 at pckbc0 (kbd slot)
> >> > pckbc0: using irq 1 for kbd slot
> >> > wskbd0 at pckbd0: console keyboard, using wsdisplay0
> >> > pms0 at pckbc0 (aux slot)
> >> > pckbc0: using irq 12 for aux slot
> >> > wsmouse0 at pms0 mux 0
> >> > pcppi0 at isa0 port 0x61
> >> > spkr0 at pcppi0
> >> > mtrr: Pentium Pro MTRR support
> >> > uvideo0 at uhub0 port 4 configuration 1 interface 0 "Chicony
> >> > Electronics Co., Ltd. CNF9011" rev 2.00/13.57 addr 2
> >> > video0 at uvideo0
> >> > vscsi0 at root
> >> > scsibus1 at vscsi0: 256 targets
> >> > softraid0 at root
> >> > root on sd0a swap on sd0b dump on sd0b

Reply via email to