Re: 5.8 current: httpd error after upgrading.

2015-09-30 Thread Stuart Henderson
On 2015-09-30, Abu Aufa  wrote:
> On Tue, 29 Sep 2015, Ted Unangst wrote:
>
>> Abu Aufa wrote:
>> > Hi,
>> > 
>> > I upgraded my system to 28th September's snapshot. Right after upgrade, I 
>> > saw httpd gave error in dmesg. Here's my dmesg:
>> 
>> > I disabled the fastcgi part to test, but still the httpd dies on start 
>> > (manually and/or on boot). Httpd was ok before upgrading. Is there any 
>> > info on new feature or something that I can refer to? thanks.
>> 
>> The latest snapshots include a bunch of tame() calls in userland programs, 
>> but
>> some of them were added optimistically. httpd is trying to do something it's
>> not yet permitted to do.
>> 
>> For now, please report such errors.
>> 
>> If you need a working version, the diffs aren't committed yet, so you can
>> rebuild httpd from source and it should work fine.
>> 
>> 
>> 
> Thanks for the info Ted. I'm currently rebuilding the src, following the 
> "5 - Building the System from Source" page. I just want to ask another 
> question, can I just rebuild only the httpd from source? Thanks again.
>
>

Yes,

$ cd /usr/src/usr.sbin/httpd
$ cvs up -PdA
$ make obj && make depend && make
$ su root -c 'make install'



Re: 5.8 current: httpd error after upgrading.

2015-09-30 Thread Abu Aufa
On Wed, 30 Sep 2015, Stuart Henderson wrote:

> On 2015-09-30, Abu Aufa  wrote:
> > On Tue, 29 Sep 2015, Ted Unangst wrote:
> >
> >> Abu Aufa wrote:
> >> > Hi,
> >> > 
> >> > I upgraded my system to 28th September's snapshot. Right after upgrade, 
> >> > I 
> >> > saw httpd gave error in dmesg. Here's my dmesg:
> >> 
> >> > I disabled the fastcgi part to test, but still the httpd dies on start 
> >> > (manually and/or on boot). Httpd was ok before upgrading. Is there any 
> >> > info on new feature or something that I can refer to? thanks.
> >> 
> >> The latest snapshots include a bunch of tame() calls in userland programs, 
> >> but
> >> some of them were added optimistically. httpd is trying to do something 
> >> it's
> >> not yet permitted to do.
> >> 
> >> For now, please report such errors.
> >> 
> >> If you need a working version, the diffs aren't committed yet, so you can
> >> rebuild httpd from source and it should work fine.
> >> 
> >> 
> >> 
> > Thanks for the info Ted. I'm currently rebuilding the src, following the 
> > "5 - Building the System from Source" page. I just want to ask another 
> > question, can I just rebuild only the httpd from source? Thanks again.
> >
> >
> 
> Yes,
> 
> $ cd /usr/src/usr.sbin/httpd
> $ cvs up -PdA
> $ make obj && make depend && make
> $ su root -c 'make install'
> 
> 
> 
Thank you very much Stuart!



5.8 current: httpd error after upgrading.

2015-09-29 Thread Abu Aufa
Hi,

I upgraded my system to 28th September's snapshot. Right after upgrade, I 
saw httpd gave error in dmesg. Here's my dmesg:

- dmesg starts -
OpenBSD 5.8-current (GENERIC.MP) #1388: Mon Sep 28 15:40:56 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4168814592 (3975MB)
avail mem = 4038356992 (3851MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version "6DET72WW (3.22 )" date 10/25/2012
bios0: LENOVO 745AU5L
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA 
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) EHC1(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.36 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,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges
cpu0: apic clock running at 266MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2.1.3, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.01 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,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR
cpu1: 3MB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus -1 (EXP2)
acpiprt5 at acpi0: bus 5 (EXP3)
acpicpu0 at acpi0: !C3(100@57 mwait.3@0x30), !C2(500@1 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: !C3(100@57 mwait.3@0x30), !C2(500@1 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: PUBS, resource for USB0, USB3, USB5, EHC0, EHC1
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 104 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4650" serial  8341 type LION oem 
"Panasonic"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK docked (15)
cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2401, 2400, 1600, 800 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
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1280x800
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
"Intel GM45 HECI" rev 0x07 at pci0 dev 3 function 0 not configured
puc0 at pci0 dev 3 function 3 "Intel GM45 KT" rev 0x07: ports: 1 com
com4 at puc0 port 0 apic 1 int 17: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: msi, 
address 00:1f:16:0c:9d:56
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 20
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 21
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 22
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 23
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: msi
azalia0: codecs: Conexant CX20561
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: msi
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5300" rev 0x00: msi, MIMO 
3T3R, MoW, address 00:21:6a:18:0c:5c
ppb2 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x03: msi
pci3 at ppb2 bus 5
uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 16
uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 17
uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 18
ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 19
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root 

Re: 5.8 current: httpd error after upgrading.

2015-09-29 Thread Abu Aufa
On Tue, 29 Sep 2015, Ted Unangst wrote:

> Abu Aufa wrote:
> > Hi,
> > 
> > I upgraded my system to 28th September's snapshot. Right after upgrade, I 
> > saw httpd gave error in dmesg. Here's my dmesg:
> 
> > I disabled the fastcgi part to test, but still the httpd dies on start 
> > (manually and/or on boot). Httpd was ok before upgrading. Is there any 
> > info on new feature or something that I can refer to? thanks.
> 
> The latest snapshots include a bunch of tame() calls in userland programs, but
> some of them were added optimistically. httpd is trying to do something it's
> not yet permitted to do.
> 
> For now, please report such errors.
> 
> If you need a working version, the diffs aren't committed yet, so you can
> rebuild httpd from source and it should work fine.
> 
> 
> 
Thanks for the info Ted. I'm currently rebuilding the src, following the 
"5 - Building the System from Source" page. I just want to ask another 
question, can I just rebuild only the httpd from source? Thanks again.



Re: 5.8 current: httpd error after upgrading.

2015-09-29 Thread Erling Westenvik
On Tue, Sep 29, 2015 at 01:07:27PM -0400, Ted Unangst wrote:
> Abu Aufa wrote:
> > Hi,
> > 
> > I upgraded my system to 28th September's snapshot. Right after upgrade, I 
> > saw httpd gave error in dmesg. Here's my dmesg:
> 
> > I disabled the fastcgi part to test, but still the httpd dies on start 
> > (manually and/or on boot). Httpd was ok before upgrading. Is there any 
> > info on new feature or something that I can refer to? thanks.
> 
> The latest snapshots include a bunch of tame() calls in userland programs, but
> some of them were added optimistically. httpd is trying to do something it's
> not yet permitted to do.
> 
> For now, please report such errors.

Same problem with same snapshot here. FWIW: Almost identical hardware as
well. (Processor, chipset, nic's, ram, etc.)

# httpd -dvvv
startup
socket_rlimit: max open files 1024
socket_rlimit: max open files 1024
server_privinit: adding server default
server_privinit: adding server wm.example.com
server_privinit: adding server wm.example.com
socket_rlimit: max open files 1024
server_launch: running server default
server_launch: running server wm.example.com
server_launch: running server default
server_launch: running server wm.example.com
server_launch: running server default
server_launch: running server wm.example.com
logger exiting, pid 29281
Killed 
root@t500:/home/erling# server exiting, pid 29940
server exiting, pid 20188
server exiting, pid 20998

> If you need a working version, the diffs aren't committed yet, so you can
> rebuild httpd from source and it should work fine.

Great. Thanks.

Erling



Re: 5.8 current: httpd error after upgrading.

2015-09-29 Thread Ted Unangst
Abu Aufa wrote:
> Hi,
> 
> I upgraded my system to 28th September's snapshot. Right after upgrade, I 
> saw httpd gave error in dmesg. Here's my dmesg:

> I disabled the fastcgi part to test, but still the httpd dies on start 
> (manually and/or on boot). Httpd was ok before upgrading. Is there any 
> info on new feature or something that I can refer to? thanks.

The latest snapshots include a bunch of tame() calls in userland programs, but
some of them were added optimistically. httpd is trying to do something it's
not yet permitted to do.

For now, please report such errors.

If you need a working version, the diffs aren't committed yet, so you can
rebuild httpd from source and it should work fine.