Re: IMPORTANT: video reposting diff
On Sat, Feb 12, 2011 at 04:16:19AM +0200, Paul Irofti wrote: On Sat, Feb 12, 2011 at 03:33:35AM +0200, Paul Irofti wrote: Please everyone test the following diff even if video reposting *works* for you at the moment. And everyone with a non-working video reposting card that *isn't* nvidia contact me! AGAIN! If suspend/resume doesn't work for you and its not NVIDIA, contact me! New diff including the amd64 bits which I missed in the former mail. Also remove wbinvd() call and comment what this is trying to accomplish. Test on all machines, working or not! Nvidia is a don't care case. Hi, Without your patch I can switch to/from consoles, suspend/resume and restart X without issues, without your patch; however, with your patch, while switching to/from consoles and restarting X is fine, the system powers off when resuming (that is, the lights briefly come on and then the computer completely turns itself off.) Note that this laptop has other ACPI issues, so it may not be your code that is wrong: note http://www.mail-archive.com/source-changes@openbsd.org/msg20575.html, the other messages on resume (starting at the second line beginning with 'ahci0:'), and that I need to 'disable acpitz*' to boot. I'll be happy to run some more tests for you tonight/this weekend, if you'd like some. dmesg from an official kernel (with some suspend/resumes) and (your) Xorg.0.log below. Joachim OpenBSD 4.9-beta (GENERIC.MP) #803: Mon Feb 14 14:38:41 MST 2011 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2003517440 (1910MB) avail mem = 1936162816 (1846MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe0010 (44 entries) bios0: vendor LENOVO version 6JET83WW (1.41 ) date 09/21/2010 bios0: LENOVO 28477LG acpi0 at bios0: rev 4 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET MCFG APIC BOOT SLIC SSDT SSDT SSDT acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S3) USB1(S3) USB2(S3) USBR(S3) EHC1(S3) USB3(S3) USB4(S3) USB5(S3) EHC2(S3) HDEF(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) RP06(S4) BLAN(S4) LID_(S3) SLPB(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz, 6494.14 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG cpu0: 2MB 64b/line 8-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz, 2094.75 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG cpu1: 2MB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P2) acpiprt2 at acpi0: bus 9 (P0P1) acpiprt3 at acpi0: bus 2 (RP01) acpiprt4 at acpi0: bus 3 (RP02) acpiprt5 at acpi0: bus 4 (RP03) acpiprt6 at acpi0: bus 5 (RP04) acpiprt7 at acpi0: bus 6 (RP05) acpiprt8 at acpi0: bus 8 (RP06) acpiec0 at acpi0 acpicpu0 at acpi0: C2, C1, PSS acpicpu1 at acpi0: C2, C1, PSS acpitz at acpi0 not configured acpithinkpad0 at acpi0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT1 model 42T4751 serial 14540 type LION oem SANYO acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB cpu0: Enhanced SpeedStep 2094 MHz: speeds: 2101, 2100, 1600, 1200 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1: apic 2 int 16 (irq 10) drm0 at inteldrm0 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2 int 16 (irq 10) uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2 int 21 (irq 10) uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2 int 19 (irq 10) ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2 int 19 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: apic 2 int 22 (irq 10) azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2 int 17 (irq 11) pci1 at ppb0 bus 2 JMicron SD/MMC rev 0x00 at pci1 dev 0 function 0 not configured sdhc0
Pozos y Desagües
$ 149 Pesos Reactivador de Pozos Ciegos Descamiva Recupere su pozo, evite hacer un pozo nuevo. Solo con 2 bolsas de descamiva usted recupera el pozo impermeabilizado / Desagote quiacute;mico de su pozo $ 270 Pesos DaltonBac 5 L Camaras Septicas y Desagues DALTONBAC - Compuesto bacterioloacute;gico para ser utilizado en la limpieza de cantilde;eriacute;as de desaguuml;e y tratamiento de caacute;maras seacute;pticas. Presentacion en Bidon de 5 litros , ideal para eliminar los olores en camaras septicas de Hoteles , Restaurant , Heladerias y todo tipo de comercio / Tambien para el hogar ahorre dinero llevando la botella de 5 litros
Re: Important bge(4) diff to test!
On 2011/02/17 19:45, Robert Nagy wrote: Hello, The following diff is really important because on some machines bge(4) gets detached because of ASPM. The following diff is also in the latest snapshots but you can also compile a kernel with it. So if you have a bge(4) please update/compile a kernel and get back to me if it works or fails in some way. Thank you! I started using the bge on my workstation to test this (I normally use a different iface) and noticed a delay when bringing up the network. Then I booted an older kernel to test when it didn't happen, so I assumed the problem was caused by this diff. Now I've had time to investigate a bit more, it turns out that it happens sometimes with a kernel without this diff too. So I'll say it adds no new problems on: bge0 at pci4 dev 0 function 0 Broadcom BCM5722 rev 0x00, BCM5755 C0 (0xa200): apic 2 int 17 (irq 10), address 00:26:55:03:71:76 brgphy0 at bge0 phy 1: BCM5722 10/100/1000baseT PHY, rev. 0 Specifically the delay occurs when adding bge0 to a trunk, the machine appears frozen - no response to keyboard - several times this lasted 55 seconds, another time it was 21 seconds (measured with date(1) and confirmed with a stopwatch). OpenBSD 4.9 (GENERIC.MP) #78: Fri Feb 18 10:17:21 GMT 2011 st...@zephyr.spacehopper.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3621322752 (3453MB) avail mem = 3510906880 (3348MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xdc010 (45 entries) bios0: vendor HP version O15 date 03/12/2009 bios0: HP ProLiant ML110 G5 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP SPMI EINJ HEST BERT SSDT ERST MCFG APIC BOOT SPCR SSDT SSDT SSDT acpi0: wakeup devices USB4(S3) USB5(S3) USB7(S3) ESB2(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EXP6(S4) USB1(S3) USB2(S3) USB3(S3) USB6(S3) ESB1(S3) PCIB(S3) PWRB(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 addr 0xf000, bus 0-16 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Pentium(R) Dual CPU E2160 @ 1.80GHz, 1795.76 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG cpu0: 1MB 64b/line 4-way L2 cache cpu0: apic clock running at 546MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) Dual CPU E2160 @ 1.80GHz, 4919.65 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG cpu1: 1MB 64b/line 4-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEG1) acpiprt2 at acpi0: bus -1 (PEG2) acpiprt3 at acpi0: bus 5 (EXP1) acpiprt4 at acpi0: bus -1 (EXP2) acpiprt5 at acpi0: bus -1 (EXP3) acpiprt6 at acpi0: bus -1 (EXP4) acpiprt7 at acpi0: bus 13 (EXP5) acpiprt8 at acpi0: bus 14 (EXP6) acpiprt9 at acpi0: bus 17 (PCIB) acpicpu0 at acpi0: C3, PSS acpicpu1 at acpi0: C3, PSS acpibtn0 at acpi0: PWRB ipmi at mainbus0 not configured cpu0: Enhanced SpeedStep 4919 MHz: speeds: 1800, 1200 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel 3200/3210 Host rev 0x01 ppb0 at pci0 dev 1 function 0 Intel 3200/3210 PCIE rev 0x01: apic 2 int 16 (irq 5) pci1 at ppb0 bus 1 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x02: apic 2 int 16 (irq 5) uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x02: apic 2 int 17 (irq 10) uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x02: apic 2 int 18 (irq 3) ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x02: apic 2 int 18 (irq 3) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x02: apic 2 int 16 (irq 5) pci2 at ppb1 bus 5 em0 at pci2 dev 0 function 0 Intel PRO/1000 PT (82572EI) rev 0x06: apic 2 int 16 (irq 5), address 00:1b:21:2d:f7:0c ppb2 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x02: apic 2 int 16 (irq 5) pci3 at ppb2 bus 13 Matrox MGA G200e (ServerEngines) rev 0x02 at pci3 dev 0 function 0 not configured ppb3 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x02: apic 2 int 17 (irq 10) pci4 at ppb3 bus 14 bge0 at pci4 dev 0 function 0 Broadcom BCM5722 rev 0x00, BCM5755 C0 (0xa200): apic 2 int 17 (irq 10), address 00:26:55:03:71:76 brgphy0 at bge0 phy 1: BCM5722 10/100/1000baseT PHY, rev. 0 uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x02: apic 2 int 16 (irq 5) uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x02: apic 2 int 17 (irq 10) uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x02: apic 2 int 18 (irq 3) ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x02: apic 2 int 16 (irq 5) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb4 at pci0 dev 30
Re: IMPORTANT: video reposting diff
On Sat, Feb 12, 2011 at 04:16:19AM +0200, Paul Irofti wrote: On Sat, Feb 12, 2011 at 03:33:35AM +0200, Paul Irofti wrote: Please everyone test the following diff even if video reposting *works* for you at the moment. And everyone with a non-working video reposting card that *isn't* nvidia contact me! AGAIN! If suspend/resume doesn't work for you and its not NVIDIA, contact me! New diff including the amd64 bits which I missed in the former mail. Also remove wbinvd() call and comment what this is trying to accomplish. Test on all machines, working or not! Nvidia is a don't care case. It seems that this diff breaks amd64 suspend/resume. I'll be back with another one sometime soon. Thanks to everyone that tested! Index: arch/i386/i386/acpi_machdep.c === RCS file: /cvs/src/sys/arch/i386/i386/acpi_machdep.c,v retrieving revision 1.41 diff -u -p -r1.41 acpi_machdep.c --- arch/i386/i386/acpi_machdep.c 6 Oct 2010 18:21:09 - 1.41 +++ arch/i386/i386/acpi_machdep.c 12 Feb 2011 02:07:30 - @@ -251,6 +251,13 @@ acpi_sleep_machdep(struct acpi_softc *sc if (sc-sc_facs-length 32 sc-sc_facs-version = 1) sc-sc_facs-x_wakeup_vector = 0; + /* + * Synchronize the trampoline since we may have changed some + * variables in it from the vga_pci quirks table. + */ + bcopy(acpi_real_mode_resume, (caddr_t)ACPI_TRAMPOLINE, + acpi_resume_end - acpi_real_mode_resume); + /* Copy the current cpu registers into a safe place for resume. * acpi_savecpu actually returns twice - once in the suspend * path and once in the resume path (see setjmp(3)). Index: arch/amd64/amd64/acpi_machdep.c === RCS file: /cvs/src/sys/arch/amd64/amd64/acpi_machdep.c,v retrieving revision 1.47 diff -u -p -r1.47 acpi_machdep.c --- arch/amd64/amd64/acpi_machdep.c 13 Nov 2010 04:16:42 - 1.47 +++ arch/amd64/amd64/acpi_machdep.c 12 Feb 2011 02:07:30 - @@ -225,6 +225,13 @@ acpi_sleep_machdep(struct acpi_softc *sc if (sc-sc_facs-length 32 sc-sc_facs-version = 1) sc-sc_facs-x_wakeup_vector = 0; + /* + * Synchronize the trampoline since we may have changed some + * variables in it from the vga_pci quirks table. + */ + bcopy(acpi_real_mode_resume, (caddr_t)ACPI_TRAMPOLINE, + acpi_resume_end - acpi_real_mode_resume); + /* Copy the current cpu registers into a safe place for resume. * acpi_savecpu actually returns twice - once in the suspend * path and once in the resume path (see setjmp(3)).
Re: fix possible NULL deref in sys/dev/usb/uhub.c
On Fri, Feb 18, 2011 at 03:44:55AM +, Jacob Meuser wrote: at line 190, if nports == 0, 'hub' will be NULL at line 334, and 'if (hub-ports)' will be a NULL dereference. found by Amit Kulkarni using clang. Okay. -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org Index: uhub.c === RCS file: /cvs/src/sys/dev/usb/uhub.c,v retrieving revision 1.57 diff -u -p uhub.c --- uhub.c25 Jan 2011 20:03:36 - 1.57 +++ uhub.c18 Feb 2011 03:33:57 - @@ -331,10 +331,11 @@ uhub_attach(struct device *parent, struct device *self bad: if (sc-sc_statusbuf) free(sc-sc_statusbuf, M_USBDEV); - if (hub-ports) - free(hub-ports, M_USBDEV); - if (hub) + if (hub) { + if (hub-ports) + free(hub-ports, M_USBDEV); free(hub, M_USBDEV); + } dev-hub = NULL; }
Re: Dell R310 - H200 Raid performance problem
With following Mike's suggestions it worked. could you please change this line if (mpii_req_cfg_page(sc, addr, 0, hdr, 1, vpg, pagelen) != 0) { to if (mpii_req_cfg_page(sc, addr, MPII_PG_POLL, hdr, 1, vpg, pagelen) != 0) { and one more: this: if (mpii_req_cfg_header(sc, MPII_CONFIG_REQ_PAGE_TYPE_RAID_VOL, 0, addr, 0, hdr) != 0) to: if (mpii_req_cfg_header(sc, MPII_CONFIG_REQ_PAGE_TYPE_RAID_VOL, 0, addr, MPII_PG_POLL, hdr) != 0) mpii0 at pci2 dev 0 function 0 Symbios Logic SAS2008 rev 0x02: apic 0 int 16 (irq 15) scsibus0 at mpii0: 42 targets sd0 at scsibus0 targ 1 lun 0: Dell, Virtual Disk, 1028 SCSI4 0/direct fixed sd0: 237824MB, 512 bytes/sec, 487063552 sec total ses0 at scsibus0 targ 10 lun 0: DP, BACKPLANE, 1.07 SCSI3 13/enclosure services fixed ses0: unable to read enclosure configuration # scsi -f /dev/rsd0c -m 8 IC: 0 ABPF: 0 CAP: 0 DISC: 0 SIZE: 0 WCE: 1 MF: 0 RCD: 0 Demand Retention Priority: 0 Write Retention Priority: 0 Disable Pre-fetch Transfer Length: 65535 Minimum Pre-fetch: 0 Maximum Pre-fetch: 65280 Maximum Pre-fetch Ceiling: 65535 FSW: 0 LBCSS: 0 DRA: 0 Vendor-specific: 0 NV_DIS: 0 Number of Cache Segments: 15 Cache Segment Size: 0 how to manipulate write cache policy? Lukasz
Re: fix possible NULL deref in sys/dev/usb/uhub.c
On Fri, Feb 18, 2011 at 12:27:40PM +0100, Mike Belopuhov wrote: On Fri, Feb 18, 2011 at 03:44 +, Jacob Meuser wrote: at line 190, if nports == 0, 'hub' will be NULL at line 334, and 'if (hub-ports)' will be a NULL dereference. found by Amit Kulkarni using clang. makes perfect sense. ok mikeb ditto. ok krw@. Ken -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org Index: uhub.c === RCS file: /cvs/src/sys/dev/usb/uhub.c,v retrieving revision 1.57 diff -u -p uhub.c --- uhub.c 25 Jan 2011 20:03:36 - 1.57 +++ uhub.c 18 Feb 2011 03:33:57 - @@ -331,10 +331,11 @@ uhub_attach(struct device *parent, struct device *self bad: if (sc-sc_statusbuf) free(sc-sc_statusbuf, M_USBDEV); - if (hub-ports) - free(hub-ports, M_USBDEV); - if (hub) + if (hub) { + if (hub-ports) + free(hub-ports, M_USBDEV); free(hub, M_USBDEV); + } dev-hub = NULL; }
PayPal-Sicherheits-Warnung[code: 02300019]
[IMAGE]B Liebe User PayPal, UngewC6hnliche Kontobewegungen haben es notwendig gemacht Ihr Konto einzugrenzen bis zusC$tzliche Informationen zur CberprCfung gesammelt werden. Zur Zeit haben Sie nur begrenzten Zugang zu Ihrem Pay Pal Konto. Wir bitten Sie daher die von uns angeforderten Kontodaten zu enrneuern. B Bitte klicken Sie hier B; Copyright B) 1999-2011 PayPal. All rights reserved PayPal Germany Pty Limited ABN 93 111 195 389 (AFSL 304962)
Confirmação de pedido para entrar no grupo cienciaemcasa
Ola tech@openbsd.org, Recebemos sua solicitagco para entrar no grupo cienciaemcasa do Yahoo! Grupos, um servigo de comunidades online gratuito e super facil de usar. Este pedido expirara em 7 dias. PARA ENTRAR NESTE GRUPO: 1) Va para o site do Yahoo! Grupos clicando neste link: http://br.groups.yahoo.com/i?i=dtnwd5uublo31w2mxvo25wuom2xowt1xe=tech%40o penbsd%2Eorg (Se nco funcionar, use os comandos para cortar e colar o link acima na barra de enderego do seu navegador.) -OU- 2) RESPONDA a este e-mail clicando em Responder e depois em Enviar, no seu programa de e-mail. Se vocj nco fez esta solicitagco ou se nco tem interesse em entrar no grupo cienciaemcasa, por favor, ignore esta mensagem. Saudagues, Atendimento ao usuario do Yahoo! Grupos O uso que vocj faz do Yahoo! Grupos esta sujeito aos http://br.yahoo.com/info/utos.html