I'm sorry,
I didn't provide enough information.
For me this issue is an new one on the armv7 platform. I installed
php-fpm the first time on the armv7 platform. On amd64 I use it for a
long time without any issues.
Here is the dmesg output for this sbc.
OpenBSD 7.1-current (GENERIC) #35: Tue May 3 06:34:09 MDT 2022
[email protected]:/usr/src/sys/arch/armv7/compile/GENERIC
real mem = 954212352 (910MB)
avail mem = 924856320 (882MB)
random: good seed from bootblocks
mainbus0 at root: LeMaker Banana Pi
cpu0 at mainbus0 mpidr 0: ARM Cortex-A7 r0p4
cpu0: 32KB 32b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu0: 256KB 64b/line 8-way L2 cache
cortex0 at mainbus0
psci0 at mainbus0: PSCI 0.0
sxiccmu0 at mainbus0
agtimer0 at mainbus0: 24000 kHz
simplebus0 at mainbus0: "soc"
sxiccmu1 at simplebus0
sxipio0 at simplebus0: 175 pins
sxirtc0 at simplebus0
sxisid0 at simplebus0
ampintc0 at simplebus0 nirq 160, ncpu 2: "interrupt-controller"
"system-control" at simplebus0 not configured
"interrupt-controller" at simplebus0 not configured
"dma-controller" at simplebus0 not configured
"spi" at simplebus0 not configured
"lcd-controller" at simplebus0 not configured
"lcd-controller" at simplebus0 not configured
"video-codec" at simplebus0 not configured
sximmc0 at simplebus0
sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma
"usb" at simplebus0 not configured
"phy" at simplebus0 not configured
ehci0 at simplebus0
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Generic EHCI root hub" rev
2.00/1.00 addr 1
ohci0 at simplebus0: version 1.0
"crypto-engine" at simplebus0 not configured
"hdmi" at simplebus0 not configured
sxiahci0 at simplebus0: AHCI 1.1
sxiahci0: port 0: 3.0Gb/s
scsibus0 at sxiahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, SanDisk SDSSDP12, 3.2.>
naa.5001b44e30ed56ae
sd0: 120196MB, 512 bytes/sector, 246162672 sectors, thin
ehci1 at simplebus0
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Generic EHCI root hub" rev
2.00/1.00 addr 1
ohci1 at simplebus0: version 1.0
"timer" at simplebus0 not configured
sxidog0 at simplebus0
"ir" at simplebus0 not configured
"codec" at simplebus0 not configured
sxits0 at simplebus0
com0 at simplebus0: dw16550
com0: console
com1 at simplebus0: dw16550
com2 at simplebus0: dw16550
sxitwi0 at simplebus0
iic0 at sxitwi0
axppmic0 at iic0 addr 0x34: AXP209
sxitwi1 at simplebus0
iic1 at sxitwi1
"gpu" at simplebus0 not configured
dwge0 at simplebus0: rev 0x00, address 02:8a:07:xx:xx:xx
rgephy0 at dwge0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
"hstimer" at simplebus0 not configured
"display-frontend" at simplebus0 not configured
"display-frontend" at simplebus0 not configured
"display-backend" at simplebus0 not configured
"display-backend" at simplebus0 not configured
gpio0 at sxipio0: 32 pins
gpio1 at sxipio0: 32 pins
gpio2 at sxipio0: 32 pins
gpio3 at sxipio0: 32 pins
gpio4 at sxipio0: 32 pins
gpio5 at sxipio0: 32 pins
gpio6 at sxipio0: 32 pins
gpio7 at sxipio0: 32 pins
gpio8 at sxipio0: 32 pins
usb2 at ohci0: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "Generic OHCI root hub" rev
1.00/1.00 addr 1
usb3 at ohci1: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "Generic OHCI root hub" rev
1.00/1.00 addr 1
simplefb0 at mainbus0: 720x576, 32bpp
wsdisplay0 at simplefb0 mux 1
wsdisplay0: screen 0-5 added (std, vt100 emulation)
scsibus1 at sdmmc0: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <SD/MMC, SL16G, 0030> removable
sd1: 14804MB, 512 bytes/sector, 30318592 sectors
umass0 at uhub0 port 1 configuration 1 interface 0 "SanDisk Cruzer
Blade" rev 2.10/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd2 at scsibus2 targ 1 lun 0: <SanDisk, Cruzer Blade, 1.00> removable
serial.07815567130824104331
sd2: 14939MB, 512 bytes/sector, 30595072 sectors
umass1 at uhub1 port 1 configuration 1 interface 0 "SanDisk Cruzer
Blade" rev 2.10/1.00 addr 2
umass1: using SCSI over Bulk-Only
scsibus3 at umass1: 2 targets, initiator 0
sd3 at scsibus3 targ 1 lun 0: <SanDisk, Cruzer Blade, 1.00> removable
serial.07815567130824111405
sd3: 14944MB, 512 bytes/sector, 30605312 sectors
vscsi0 at root
scsibus4 at vscsi0: 256 targets
softraid0 at root
scsibus5 at softraid0: 256 targets
bootfile: sd0a:/bsd
boot device: sd0
root on sd0a (af9d22e08b6bb901.a) swap on sd0b dump on sd0b
Thanks,
Sven
On 5/6/22 19:08, Sven Wolf wrote:
Hi list,
I tried to use php-fpm (php-7.4.23p0 and php-8.0.10p0) on my LeMaker
Banana Pi (armv7).
I always get following error messages (/var/log/php-fpm.log)
[06-May-2022 18:45:21] NOTICE: fpm is running, pid 10910
[06-May-2022 18:45:21] NOTICE: ready to handle connections
[06-May-2022 18:45:21] WARNING: [pool www] child 60509 exited on signal
10 (SIGBUS) after 0.061336 seconds from start
[06-May-2022 18:45:21] NOTICE: [pool www] child 33092 started
[06-May-2022 18:45:21] WARNING: [pool www] child 33092 exited on signal
10 (SIGBUS) after 0.010144 seconds from start
[06-May-2022 18:45:21] NOTICE: [pool www] child 35844 started
[06-May-2022 18:45:21] WARNING: [pool www] child 35844 exited on signal
10 (SIGBUS) after 0.000310 seconds from start
[06-May-2022 18:45:21] NOTICE: [pool www] child 26407 started
[06-May-2022 18:45:21] WARNING: [pool www] child 26407 exited on signal
10 (SIGBUS) after 0.010286 seconds from start
[06-May-2022 18:45:21] NOTICE: [pool www] child 65800 started
[06-May-2022 18:45:21] WARNING: [pool www] child 65800 exited on signal
10 (SIGBUS) after 0.010071 seconds from start
[06-May-2022 18:45:21] NOTICE: [pool www] child 51310 started
[06-May-2022 18:45:21] WARNING: [pool www] child 51310 exited on signal
10 (SIGBUS) after 0.009919 seconds from start
[06-May-2022 18:45:21] NOTICE: [pool www] child 56910 started
[06-May-2022 18:45:21] WARNING: [pool www] child 56910 exited on signal
10 (SIGBUS) after 0.009972 seconds from start
[06-May-2022 18:45:21] NOTICE: [pool www] child 76952 started
[06-May-2022 18:45:21] WARNING: [pool www] child 76952 exited on signal
10 (SIGBUS) after 0.009968 seconds from start
[06-May-2022 18:45:21] NOTICE: [pool www] child 36337 started
....
I think it's an armv7 specific problem. On my amd64 and i386 (also with
only a 1 GB RAM) machines everything is fine.
On i386 there are other minor versions (php-7.4.29 and php-8.0.18)
available, but this shouldn't be the root cause.
/etc/php-fpm.conf exists and the machine runs the current armv7 snapshot
(7.1 GENERIC#35 armv7)
Do you've any ideas, if there is a fix for php-fpm on armv7?
In 2018 there was a similar request:
https://marc.info/?l=openbsd-ports&m=154689826613814&w=2
Thanks and best regards,
Sven