On Fri, May 9, 2014 at 4:37 AM, Abel Abraham Camarillo Ojeda <acam...@verlet.org> wrote: > > On Thu, Apr 17, 2014 at 4:46 AM, Abel Abraham Camarillo Ojeda > <acam...@verlet.org> wrote: >> >> >>> > On Tue, Apr 8, 2014 at 5:46 PM, Mike Larkin <mlar...@azathoth.net> >> >>> > wrote: >> >>> >> On Tue, Apr 08, 2014 at 05:30:59PM -0500, Abel Abraham Camarillo >> >>> >> Ojeda wrote: >> >>> >>> I was trying to build some kernels between 5.3 and 5.4 to see when >> >>> >>> this machine breaks, >> >>> >>> had no time to do it though... >> >>> >>> >> >> first of all: sorry for some noise. >> >> I cannot reproduce this with 5.4/amd64, but can reproduce the fail -no >> resume- in >> -current/amd64, I will stop trying to get more info into this until >> 5.5 is released >> so I can see if it breaks between 5.4-> 5.5 or 5.5 -> -current; I >> think it will be >> pretty difficult to build an OPENBSD_5_5_BASE system starting from my >> 5.4/amd64 system >> -because the time_t changes-. > > > > Suspend works in 5.5/amd64 but no in current/amd64 as may-8 - > post resume screen is only blank, will try disabling radeondrm0 and > attaching serial, again. >
This commit breaks resume for my machine: on sys/dev/usb/usb.c: ---------------------------- revision 1.95 date: 2014/03/31 16:18:06; author: mpi; state: Exp; lines: +61 -40; Force the detach of all USB devices by disconnecting the root hubs before suspending the machine. Prior to this commit, devices were logically disconnected after resuming the machine leading to funny races since the controller was reset in between. ok deraadt@ ---------------------------- the following patch (inlined and attached) reverts it - so fix resume for me, I have applied it on -current. note: I have no working usb input devices after resume with or without this - not even plugging devices again, so I use ps2 keyboard/mouse, this worked in some older release but I'm not sure if it's important enough to do the check... comments? Thanks Index: usb.c =================================================================== RCS file: /cvs/src/sys/dev/usb/usb.c,v retrieving revision 1.95 diff -u -p -r1.95 usb.c --- usb.c 31 Mar 2014 16:18:06 -0000 1.95 +++ usb.c 9 May 2014 13:10:39 -0000 @@ -1,4 +1,4 @@ -/* $OpenBSD: usb.c,v 1.95 2014/03/31 16:18:06 mpi Exp $ */ +/* $OpenBSD: usb.c,v 1.94 2014/03/08 11:49:19 mpi Exp $ */ /* $NetBSD: usb.c,v 1.77 2003/01/01 00:10:26 thorpej Exp $ */ /* @@ -92,7 +92,6 @@ struct usb_softc { struct device sc_dev; /* base device */ struct usbd_bus *sc_bus; /* USB controller */ struct usbd_port sc_port; /* dummy port for root hub */ - int sc_speed; struct usb_task sc_explore_task; @@ -126,9 +125,6 @@ void usb_attach(struct device *, struc int usb_detach(struct device *, int); int usb_activate(struct device *, int); -int usb_attach_roothub(struct usb_softc *); -void usb_detach_roothub(struct usb_softc *); - struct cfdriver usb_cd = { NULL, "usb", DV_DULL }; @@ -151,7 +147,10 @@ void usb_attach(struct device *parent, struct device *self, void *aux) { struct usb_softc *sc = (struct usb_softc *)self; + struct usbd_device *dev; + usbd_status err; int usbrev; + int speed; if (usb_nbuses == 0) { rw_init(&usbpalock, "usbpalock"); @@ -172,13 +171,13 @@ usb_attach(struct device *parent, struct switch (usbrev) { case USBREV_1_0: case USBREV_1_1: - sc->sc_speed = USB_SPEED_FULL; + speed = USB_SPEED_FULL; break; case USBREV_2_0: - sc->sc_speed = USB_SPEED_HIGH; + speed = USB_SPEED_HIGH; break; case USBREV_3_0: - sc->sc_speed = USB_SPEED_SUPER; + speed = USB_SPEED_SUPER; break; default: printf(", not supported\n"); @@ -207,10 +206,17 @@ usb_attach(struct device *parent, struct return; } - - - if (!usb_attach_roothub(sc)) { - struct usbd_device *dev = sc->sc_bus->root_hub; + err = usbd_new_device(&sc->sc_dev, sc->sc_bus, 0, speed, 0, + &sc->sc_port); + if (!err) { + dev = sc->sc_port.device; + if (dev->hub == NULL) { + sc->sc_bus->dying = 1; + printf("%s: root device is not a hub\n", + sc->sc_dev.dv_xname); + return; + } + sc->sc_bus->root_hub = dev; #if 1 /* * Turning this code off will delay attachment of USB devices @@ -220,8 +226,11 @@ usb_attach(struct device *parent, struct if (cold && (sc->sc_dev.dv_cfdata->cf_flags & 1)) dev->hub->explore(sc->sc_bus->root_hub); #endif + } else { + printf("%s: root hub problem, error=%d\n", + sc->sc_dev.dv_xname, err); + sc->sc_bus->dying = 1; } - if (cold) sc->sc_bus->use_polling--; @@ -234,41 +243,6 @@ usb_attach(struct device *parent, struct } } -int -usb_attach_roothub(struct usb_softc *sc) -{ - struct usbd_device *dev; - - if (usbd_new_device(&sc->sc_dev, sc->sc_bus, 0, sc->sc_speed, 0, - &sc->sc_port)) { - printf("%s: root hub problem\n", sc->sc_dev.dv_xname); - sc->sc_bus->dying = 1; - return (1); - } - - dev = sc->sc_port.device; - if (dev->hub == NULL) { - printf("%s: root device is not a hub\n", sc->sc_dev.dv_xname); - sc->sc_bus->dying = 1; - return (1); - } - sc->sc_bus->root_hub = dev; - - return (0); -} - -void -usb_detach_roothub(struct usb_softc *sc) -{ - /* Make all devices disconnect. */ - if (sc->sc_port.device != NULL) - usb_disconnect_port(&sc->sc_port, (struct device *)sc); - - usb_rem_wait_task(sc->sc_bus->root_hub, &sc->sc_explore_task); - - sc->sc_bus->root_hub = NULL; -} - void usb_create_task_threads(void *arg) { @@ -892,22 +866,23 @@ int usb_activate(struct device *self, int act) { struct usb_softc *sc = (struct usb_softc *)self; - int rv = 0; + struct usbd_device *dev = sc->sc_port.device; + int i, rv = 0, r; switch (act) { - case DVACT_QUIESCE: - sc->sc_bus->dying = 1; - if (sc->sc_bus->root_hub != NULL) - usb_detach_roothub(sc); - break; - case DVACT_WAKEUP: - sc->sc_bus->dying = 0; - if (!usb_attach_roothub(sc)) - usb_needs_explore(sc->sc_bus->root_hub, 0); - break; case DVACT_DEACTIVATE: - rv = config_activate_children(self, act); sc->sc_bus->dying = 1; + if (dev != NULL && dev->cdesc != NULL && + dev->subdevs != NULL) { + for (i = 0; dev->subdevs[i]; i++) { + r = config_deactivate(dev->subdevs[i]); + if (r) + rv = r; + } + } + break; + case DVACT_RESUME: + usb_needs_explore(sc->sc_bus->root_hub, 0); break; default: rv = config_activate_children(self, act); @@ -926,7 +901,11 @@ usb_detach(struct device *self, int flag sc->sc_bus->dying = 1; if (sc->sc_bus->root_hub != NULL) { - usb_detach_roothub(sc); + /* Make all devices disconnect. */ + if (sc->sc_port.device != NULL) + usb_disconnect_port(&sc->sc_port, self); + + usb_rem_wait_task(sc->sc_bus->root_hub, &sc->sc_explore_task); if (--usb_nbuses == 0) { usb_run_tasks = usb_run_abort_tasks = 0; dmesg pre patch: OpenBSD 5.5-current (GENERIC.MP) #117: Thu May 8 23:04:17 MDT 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17124114432 (16330MB) avail mem = 16659517440 (15887MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeed90 (55 entries) bios0: vendor American Megatrends Inc. version "1605" date 10/25/2012 bios0: ASUSTeK COMPUTER INC. M5A97 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG HPET SSDT IVRS acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) UAR1(S4) P0PC(S4) UHC1(S4) UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4) PE21(S4) PE22(S4) PE23(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Phenom(tm) II X4 955 Processor, 3211.11 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: AMD erratum 721 detected and fixed cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 200MHz cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Phenom(tm) II X4 955 Processor, 3210.75 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu1: AMD erratum 721 detected and fixed cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD Phenom(tm) II X4 955 Processor, 3210.75 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu2: AMD erratum 721 detected and fixed cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: AMD Phenom(tm) II X4 955 Processor, 3210.75 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu3: AMD erratum 721 detected and fixed cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 5 pa 0xfec00000, version 21, 24 pins ioapic1 at mainbus0: apid 6 pa 0xfec20000, version 21, 32 pins acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 4 (P0PC) acpiprt2 at acpi0: bus -1 (PE20) acpiprt3 at acpi0: bus -1 (PE21) acpiprt4 at acpi0: bus -1 (PE22) acpiprt5 at acpi0: bus -1 (PE23) acpiprt6 at acpi0: bus 1 (PC02) acpiprt7 at acpi0: bus 2 (PC04) acpiprt8 at acpi0: bus -1 (PC05) acpiprt9 at acpi0: bus -1 (PC06) acpiprt10 at acpi0: bus 3 (PC07) acpiprt11 at acpi0: bus -1 (PC09) acpiprt12 at acpi0: bus -1 (PC0A) acpiprt13 at acpi0: bus -1 (PC0B) acpiprt14 at acpi0: bus -1 (PC0C) acpiprt15 at acpi0: bus -1 (PC0D) acpiec0 at acpi0 acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: PWRB cpu0: 3211 MHz: speeds: 3200 2500 2100 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 vendor "ATI", unknown product 0x5a14 rev 0x02 vendor "ATI", unknown product 0x5a23 (class system unknown subclass 0x06, rev 0x00) at pci0 dev 0 function 2 not configured ppb0 at pci0 dev 2 function 0 "ATI SR5690 PCIE" rev 0x00: msi pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 0 function 0 "ATI Radeon Mobility HD 5430" rev 0x00 drm0 at radeondrm0 radeondrm0: msi azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 5470 Audio" rev 0x00: msi azalia0: no supported codecs ppb1 at pci0 dev 4 function 0 "ATI SR5690 PCIE" rev 0x00: msi pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL (0x2c80), msi, address c8:60:00:09:59:8e rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5 ppb2 at pci0 dev 7 function 0 "ATI SR5690 PCIE" rev 0x00: msi pci3 at ppb2 bus 3 "ASMedia ASM1042 xHCI" rev 0x00 at pci3 dev 0 function 0 not configured ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 5 int 19, AHCI 1.2 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 1 lun 0: <ATA, ST1000DM003-1CH1, CC47> SCSI3 0/direct fixed naa.5000c500643091ac sd0: 953869MB, 512 bytes/sector, 1953525168 sectors sd1 at scsibus1 targ 4 lun 0: <ATA, ST3500413AS, JC45> SCSI3 0/direct fixed naa.5000c5002dc5853f sd1: 476940MB, 512 bytes/sector, 976773168 sectors sd2 at scsibus1 targ 5 lun 0: <ATA, ST3500413AS, JC4B> SCSI3 0/direct fixed naa.5000c500355a1b53 sd2: 476940MB, 512 bytes/sector, 976773168 sectors ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 5 int 18, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 5 int 17 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 5 int 20, version 1.0, legacy support ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 5 int 21 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: polling iic0 at piixpm0 iic0: addr 0x20 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 09=00 0a=00 0b=00 0c=00 0d=00 0e=25 0f=90 10=00 11=00 12=00 13=00 14=00 15=00 16=3f 17=a4 18=c0 19=88 1a=00 1b=00 1c=00 1d=00 1e=0c 1f=03 20=09 21=09 22=09 23=09 24=03 3e=03 words 00=ff00 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000 spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-10600 spdmem1 at iic0 addr 0x51: 8GB DDR3 SDRAM PC3-10600 azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 5 int 16 azalia1: codecs: Realtek/0x0887 audio0 at azalia1 pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40 ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40 pci4 at ppb3 bus 4 ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 5 int 18, version 1.0, legacy support ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 5 int 22, version 1.0, legacy support ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 5 int 23 usb2 at ehci2: USB revision 2.0 uhub2 at usb2 "ATI EHCI root hub" rev 2.00/1.00 addr 1 pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00 km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00 pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00 usb3 at ohci0: USB revision 1.0 uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb4 at ohci1: USB revision 1.0 uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard pcppi0 at isa0 port 0x61 spkr0 at pcppi0 it0 at isa0 port 0x2e/2: IT8721F rev 1, EC port 0x290 usb5 at ohci2: USB revision 1.0 uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb6 at ohci3: USB revision 1.0 uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1 uhidev0 at uhub3 port 5 configuration 1 interface 0 "Microsoft Microsoft Basic Optical Mouse v2.0" rev 1.10/1.04 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z dir wsmouse0 at ums0 mux 0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets softraid0: sd3 was not shutdown properly sd3 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 005> SCSI2 0/direct fixed sd3: 476937MB, 512 bytes/sector, 976767473 sectors root on sd3a (a207e3a13f1838b4.a) swap on sd3b dump on sd3b drm: initializing kernel modesetting (CEDAR 0x1002:0x68E1 0x1043:0x3000). radeondrm0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used) radeondrm0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF drm: probing gen 2 caps for device 0x1002:0x5a16 = 2/0 drm: enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0 drm: PCIE GART of 512M enabled (table at 0x0000000000040000). drm: Internal thermal controller without fan control radeondrm0: 1920x1080 wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (std, vt100 emulation) dmesg post patch: OpenBSD 5.5-current (sys) #0: Fri May 9 08:13:56 CDT 2014 acamari@maetel.00z:/home/acamari/obj/sys real mem = 17124114432 (16330MB) avail mem = 16659517440 (15887MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeed90 (55 entries) bios0: vendor American Megatrends Inc. version "1605" date 10/25/2012 bios0: ASUSTeK COMPUTER INC. M5A97 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG HPET SSDT IVRS acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) UAR1(S4) P0PC(S4) UHC1(S4) UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4) PE21(S4) PE22(S4) PE23(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Phenom(tm) II X4 955 Processor, 3211.10 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: AMD erratum 721 detected and fixed cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 200MHz cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Phenom(tm) II X4 955 Processor, 3210.72 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu1: AMD erratum 721 detected and fixed cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD Phenom(tm) II X4 955 Processor, 3210.72 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu2: AMD erratum 721 detected and fixed cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: AMD Phenom(tm) II X4 955 Processor, 3210.72 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu3: AMD erratum 721 detected and fixed cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 5 pa 0xfec00000, version 21, 24 pins ioapic1 at mainbus0: apid 6 pa 0xfec20000, version 21, 32 pins acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 4 (P0PC) acpiprt2 at acpi0: bus -1 (PE20) acpiprt3 at acpi0: bus -1 (PE21) acpiprt4 at acpi0: bus -1 (PE22) acpiprt5 at acpi0: bus -1 (PE23) acpiprt6 at acpi0: bus 1 (PC02) acpiprt7 at acpi0: bus 2 (PC04) acpiprt8 at acpi0: bus -1 (PC05) acpiprt9 at acpi0: bus -1 (PC06) acpiprt10 at acpi0: bus 3 (PC07) acpiprt11 at acpi0: bus -1 (PC09) acpiprt12 at acpi0: bus -1 (PC0A) acpiprt13 at acpi0: bus -1 (PC0B) acpiprt14 at acpi0: bus -1 (PC0C) acpiprt15 at acpi0: bus -1 (PC0D) acpiec0 at acpi0 acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: PWRB cpu0: 3211 MHz: speeds: 3200 2500 2100 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 vendor "ATI", unknown product 0x5a14 rev 0x02 vendor "ATI", unknown product 0x5a23 (class system unknown subclass 0x06, rev 0x00) at pci0 dev 0 function 2 not configured ppb0 at pci0 dev 2 function 0 "ATI SR5690 PCIE" rev 0x00: msi pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 0 function 0 "ATI Radeon Mobility HD 5430" rev 0x00 drm0 at radeondrm0 radeondrm0: msi azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 5470 Audio" rev 0x00: msi azalia0: no supported codecs ppb1 at pci0 dev 4 function 0 "ATI SR5690 PCIE" rev 0x00: msi pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL (0x2c80), msi, address c8:60:00:09:59:8e rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5 ppb2 at pci0 dev 7 function 0 "ATI SR5690 PCIE" rev 0x00: msi pci3 at ppb2 bus 3 "ASMedia ASM1042 xHCI" rev 0x00 at pci3 dev 0 function 0 not configured ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 5 int 19, AHCI 1.2 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 1 lun 0: <ATA, ST1000DM003-1CH1, CC47> SCSI3 0/direct fixed naa.5000c500643091ac sd0: 953869MB, 512 bytes/sector, 1953525168 sectors sd1 at scsibus1 targ 4 lun 0: <ATA, ST3500413AS, JC45> SCSI3 0/direct fixed naa.5000c5002dc5853f sd1: 476940MB, 512 bytes/sector, 976773168 sectors sd2 at scsibus1 targ 5 lun 0: <ATA, ST3500413AS, JC4B> SCSI3 0/direct fixed naa.5000c500355a1b53 sd2: 476940MB, 512 bytes/sector, 976773168 sectors ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 5 int 18, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 5 int 17 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 5 int 20, version 1.0, legacy support ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 5 int 21 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: polling iic0 at piixpm0 iic0: addr 0x20 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 09=00 0a=00 0b=00 0c=00 0d=00 0e=24 0f=90 10=00 11=00 12=00 13=00 14=00 15=00 16=40 17=a4 18=c0 19=88 1a=00 1b=00 1c=00 1d=00 1e=0c 1f=03 20=09 21=09 22=09 23=09 24=03 3e=03 words 00=ff00 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000 spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-10600 spdmem1 at iic0 addr 0x51: 8GB DDR3 SDRAM PC3-10600 azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 5 int 16 azalia1: codecs: Realtek/0x0887 audio0 at azalia1 pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40 ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40 pci4 at ppb3 bus 4 ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 5 int 18, version 1.0, legacy support ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 5 int 22, version 1.0, legacy support ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 5 int 23 usb2 at ehci2: USB revision 2.0 uhub2 at usb2 "ATI EHCI root hub" rev 2.00/1.00 addr 1 pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00 km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00 pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00 usb3 at ohci0: USB revision 1.0 uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb4 at ohci1: USB revision 1.0 uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard 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 it0 at isa0 port 0x2e/2: IT8721F rev 1, EC port 0x290 usb5 at ohci2: USB revision 1.0 uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb6 at ohci3: USB revision 1.0 uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets sd3 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 005> SCSI2 0/direct fixed sd3: 476937MB, 512 bytes/sector, 976767473 sectors root on sd3a (a207e3a13f1838b4.a) swap on sd3b dump on sd3b drm: initializing kernel modesetting (CEDAR 0x1002:0x68E1 0x1043:0x3000). radeondrm0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used) radeondrm0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF drm: probing gen 2 caps for device 0x1002:0x5a16 = 2/0 drm: enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0 drm: PCIE GART of 512M enabled (table at 0x0000000000040000). drm: Internal thermal controller without fan control radeondrm0: 1920x1080 wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (std, vt100 emulation) ### post resume ahci0: device on port 1 didn't come ready, TFD: 0x150 drm: probing gen 2 caps for device 0x1002:0x5a16 = 2/0 drm: enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0 drm: PCIE GART of 512M enabled (table at 0x0000000000040000).
patch
Description: Binary data