|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
php-gd can't be installed
I get the following error message, when i tried to install php-gd-7.4.30:
Code:
Can't install gd-2.3.2 because of libraries |library fontconfig.13.1 not found | not found anywhere |library freetype.30.1 not found | not found anywhere Direct dependencies for gd-2.3.2 resolve to tiff-4.4.0 libiconv-1.16p0 libwebp-1.2.2 jpeg-2.1.3v0 png-1.6.37 Full dependency tree is xz-5.2.5p1 lz4-1.9.3p0 jpeg-2.1.3v0 giflib-5.1.6 tiff-4.4.0 libiconv-1.16p0 libwebp-1.2.2 zstd-1.5.2 png-1.6.37 Can't install php-gd-7.4.30: can't resolve gd-2.3.2 Couldn't install gd-2.3.2 php-gd-7.4.30 |
|
||||
Because you haven't installed all the filesets. You're missing the xbase fileset, at minimum. Please review http://www.openbsd.org/faq/faq4.html#FilesNeeded, which mentions both fontconfig and freetype, and contains guidance for installing any missing filesets after OpenBSD was installed without them.
Last edited by jggimi; 14th July 2022 at 09:35 AM. Reason: clarity |
|
|||
True, i did not install them at all, since this is a server. Seems it was a mistake. Thanks.
|
|
|||
Running upgrade and installing xbase and the others (except xserv) did the trick, although the machine now boots into a console running in 1920x1080 graphical mode instead of 80x25 character mode. How can i stop that?
|
|
|||
Thanks, i'll do.
|
|
|||
Well, it did not work. It wasn't xenodm, it did not even run.
What else can it be? |
|
|||
Does the console now display more than than the standard 25 lines (80 x 25)?
Then see https://www.openbsd.org/faq/faq7.html#AddConsole Do you have an /etc/rc.local(8) file?
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Yes it does. It is not a 80x25 character screen, but an 1920x1080 graphical screen with a 120x32 character screen emulated. If i try 'wsconscfg -t 80x25 0' then it says it is already configured. How can i disable the graphical screen and use only the VGA 80x25 character screen? (Not emulating it, this is a server, literally switch to the character screen.)
Yes, i do have an rc.local file, but it contains nothing screen related. |
|
|||
No idea .... I never encountered this issue.
When you switch with CNTRL-ALT-F2 (or F3,F4) to another login screen. Are they all the same? This are the fonts loaded on my box: Code:
doas wsfontload -l # Name Encoding W H Chars 0 builtin ibm 8 16 256 Code:
doas wsfontload -h 8 -e ibm /usr/share/misc/pcvtfonts/vt220l.808 adriaan@lenap[~]doas wsfontload -l # Name Encoding W H Chars 0 builtin ibm 8 16 256 1 /usr/share/misc/pcvtfonts/vt220 ibm 8 8 256 But with the steps outlined in https://www.openbsd.org/faq/faq7.html#AddConsole you could try to configure the second screen the builtin 8x16 font.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Yes, all of them are the same.
You misunderstood me. My aim is not to load different fonts, but to force the screen back into the 80x25 character mode, not to emulate the 80x25 mode in an 1920x1080 graphical screen. It's not the font, it's that it is a graphical screen, not a character one. |
|
|||
dmesg is here:
Code:
OpenBSD 7.1 (GENERIC.MP) #465: Mon Apr 11 18:03:57 MDT 2022 deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1861812224 (1775MB) avail mem = 1788153856 (1705MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9f400 (31 entries) bios0: vendor Acer version "P12-B1" date 11/12/2009 bios0: Acer Veriton M420 acpi0 at bios0: ACPI 3.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG SLIC OEMB HPET AWMI SSDT acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) UAR1(S3) UAR2(S3) PS2K(S3) PS2M(S3) P0PC(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 Athlon(tm) II X4 615e Processor, 2493.53 MHz, 10-05-03 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,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC 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, 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 199MHz cpu0: mwait min=64, max=64, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Athlon(tm) II X4 615e Processor, 2493.22 MHz, 10-05-03 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,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 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 Athlon(tm) II X4 615e Processor, 2493.22 MHz, 10-05-03 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,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 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 Athlon(tm) II X4 615e Processor, 2493.22 MHz, 10-05-03 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,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 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 4 pa 0xfec00000, version 21, 24 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xe0000000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (P0P1) acpiprt2 at acpi0: bus -1 (PCE2) acpiprt3 at acpi0: bus -1 (PCE3) acpiprt4 at acpi0: bus 2 (PCE5) acpiprt5 at acpi0: bus -1 (PCE6) acpiprt6 at acpi0: bus 3 (P0PC) acpipci0 at acpi0 PCI0 acpicmos0 at acpi0 com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo com1 at acpi0 UAR2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo acpibtn0 at acpi0: PWRB "PNP0C14" at acpi0 not configured acpicpu0 at acpi0: C1(@1 halt!), PSS acpicpu1 at acpi0: C1(@1 halt!), PSS acpicpu2 at acpi0: C1(@1 halt!), PSS acpicpu3 at acpi0: C1(@1 halt!), PSS acpitz0 at acpi0: critical temperature is 105 degC cpu0: 2493 MHz: speeds: 2500 2100 1800 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "AMD RS780 Host" rev 0x00 ppb0 at pci0 dev 1 function 0 "AMD RS780 PCIE" rev 0x00 pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 5 function 0 "ATI Radeon HD 3200" rev 0x00 drm0 at radeondrm0 radeondrm0: apic 4 int 18 ppb1 at pci0 dev 5 function 0 "AMD RS780 PCIE" rev 0x00: msi pci2 at ppb1 bus 2 mskc0 at pci2 dev 0 function 0 "Marvell Yukon 88E8071" rev 0x16, Yukon-2 Extreme rev. B0 (0x2): msi msk0 at mskc0 port A: address 90:fb:a6:2f:5c:2e eephy0 at msk0 phy 0: 88E1149 Gigabit PHY, rev. 1 ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 4 int 22, AHCI 1.1 ahci0: port 0: 3.0Gb/s ahci0: port 1: 3.0Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, KingFast, 1208> t10.ATA_KingFast_0000000000000000239E sd0: 30533MB, 512 bytes/sector, 62533296 sectors, thin sd1 at scsibus1 targ 1 lun 0: <ATA, ADATA SP920SS, 1.08> naa.5707c18700033464 sd1: 122104MB, 512 bytes/sector, 250069679 sectors, thin ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 4 int 16, version 1.0, legacy support ohci1 at pci0 dev 18 function 1 "ATI SB700 USB" rev 0x00: apic 4 int 16, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 4 int 17 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 ohci2 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 4 int 18, version 1.0, legacy support ohci3 at pci0 dev 19 function 1 "ATI SB700 USB" rev 0x00: apic 4 int 18, version 1.0, legacy support ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 4 int 19 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x3a: SMI iic0 at piixpm0 spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-5300CL5 pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x00: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x00 ppb2 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00 pci3 at ppb2 bus 3 rl0 at pci3 dev 6 function 0 "Accton MPX 5030/5038" rev 0x10: apic 4 int 21, address 00:e0:29:41:4f:f9 rlphy0 at rl0 phy 0: RTL internal PHY ohci4 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 4 int 18, version 1.0, legacy support pchb1 at pci0 dev 24 function 0 "AMD 10h HyperTransport" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD 10h Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD 10h DRAM Cfg" rev 0x00 km0 at pci0 dev 24 function 3 "AMD 10h Misc Cfg" rev 0x00 pchb4 at pci0 dev 24 function 4 "AMD 10h Link Cfg" rev 0x00 usb2 at ohci0: USB revision 1.0 uhub2 at usb2 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb3 at ohci1: USB revision 1.0 uhub3 at usb3 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb4 at ohci2: USB revision 1.0 uhub4 at usb4 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb5 at ohci3: USB revision 1.0 uhub5 at usb5 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard pcppi0 at isa0 port 0x61 spkr0 at pcppi0 it0 at isa0 port 0x2e/2: IT8718F rev 5, EC port 0xe80 usb6 at ohci4: USB revision 1.0 uhub6 at usb6 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1 vmm0 at mainbus0: SVM/RVI uhidev0 at uhub2 port 3 configuration 1 interface 0 "Gear Head Gear Head 107-Key Keyboard" rev 1.10/1.02 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 uhidev1 at uhub2 port 3 configuration 1 interface 1 "Gear Head Gear Head 107-Key Keyboard" rev 1.10/1.02 addr 2 uhidev1: iclass 3/0, 2 report ids ucc0 at uhidev1 reportid 1: 573 usages, 18 keys, array wskbd2 at ucc0 mux 1 uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (33785bf3b3158dc4.a) swap on sd0b dump on sd0b WARNING: / was not properly unmounted radeondrm0: RS780 radeondrm0: 1920x1080, 32bpp wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 wskbd1: connecting to wsdisplay0 wskbd2: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation) |
|
|||
I don't think X is running. Somehow the normal 80x25 VGA display has been modified into 1920x1080 VGA.
When X is running you will see something like this in the # ps aux output:Code:
77213 ?? I 0:00.00 /usr/X11R6/bin/xenodm 62380 ?? S 0:04.25 /usr/X11R6/bin/X :0 vt05 -auth /etc/X11/xeno 98417 ?? IpU 0:00.03 X: [priv] (Xorg) 59951 ?? Ip 0:00.21 xenodm: :0 (xenodm) 63237 ?? I 0:00.03 /usr/X11R6/bin/xconsole 74334 ?? Ip 0:00.01 /usr/X11R6/bin/xconsole 2568 ?? Ip 0:00.01 /bin/sh /etc/X11/xenodm/Xsession 98771 ?? SpU 0:00.04 /usr/X11R6/bin/xterm 66527 ?? Sp 0:00.06 /usr/X11R6/bin/fvwm
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
||||
I agree that X doesn't appear to be involved. The wsdisplay(4) driver is attached to the radeondrm(4) driver, which is normal, as wsdisplay(4) is an abstraction layer that must attach to whatever the system uses for its real video hardware.
The FAQ chapter on keyboard and display controls has a section on console manipulation when wsdisplay(4) devices are attached to vga(4) hardware, and that section states: Quote:
|
|
|||
Okay, but then what should i do? This has worked properly, before i installed xbase...
|
|
|||
No, you guys were right, it does not running at all. These processes are running:
Code:
root 1 0.0 0.0 644 652 ?? S 9:41PM 0:01.00 /sbin/init root 21314 0.0 0.0 232 164 ?? IpU 9:41PM 0:00.00 /sbin/resolvd root 34262 0.0 0.1 764 2436 ?? IpU 9:41PM 0:00.03 syslogd: [priv] (syslogd) _syslogd 25215 0.0 0.1 1228 1536 ?? Spc 9:41PM 0:00.02 /usr/sbin/syslogd root 91950 0.0 0.0 980 768 ?? IU 9:41PM 0:00.00 pflogd: [priv] (pflogd) _pflogd 52504 0.0 0.0 1020 784 ?? Spc 9:41PM 0:00.01 pflogd: [running] -s 160 -i pflog0 -f /var/log/pflog (pflogd) root 45524 0.0 0.1 1712 2124 ?? Ip 9:41PM 0:00.19 /usr/sbin/smtpd _smtpd 60808 0.0 0.2 1456 3140 ?? Ipc 9:41PM 0:00.01 smtpd: crypto (smtpd) _smtpd 28219 0.0 0.2 1660 3376 ?? Ipc 9:41PM 0:00.01 smtpd: control (smtpd) _smtpd 63197 0.0 0.2 1524 3224 ?? Ip 9:41PM 0:00.01 smtpd: lookup (smtpd) _smtpd 66597 0.0 0.2 1916 4144 ?? Ipc 9:41PM 0:00.02 smtpd: dispatcher (smtpd) _smtpq 8769 0.0 0.2 1652 3308 ?? Ipc 9:41PM 0:00.01 smtpd: queue (smtpd) _smtpd 71488 0.0 0.2 1452 3160 ?? Ipc 9:41PM 0:00.01 smtpd: scheduler (smtpd) root 42235 0.0 0.1 720 1304 ?? I 9:41PM 0:00.01 /usr/libexec/ftpd -D -D -m 0 root 53973 0.0 0.1 552 1360 ?? Ip 9:41PM 0:00.00 /usr/sbin/inetd root 83471 0.0 0.1 552 1360 ?? Ip 9:41PM 0:00.00 /usr/sbin/inetd root 7266 0.0 0.1 880 1480 ?? Ip 9:41PM 0:00.01 /usr/sbin/cron root 69077 0.0 0.1 520 1524 ?? S 9:42PM 0:00.34 rlogind root 55917 0.0 0.0 668 624 ?? S 9:43PM 0:00.24 /sbin/init root 21211 0.0 0.1 900 928 p0 Sp 9:42PM 0:00.01 -ksh (ksh) root 44039 0.0 0.0 656 672 p0 R+pU/0 9:43PM 0:00.12 ps -aux root 82420 0.0 0.1 520 1464 C0 I+pU 9:41PM 0:00.01 /usr/libexec/getty std.9600 ttyC0 root 6440 0.0 0.1 508 1448 C1 I+pU 9:41PM 0:00.01 /usr/libexec/getty std.9600 ttyC1 root 58113 0.0 0.1 504 1444 C2 I+pU 9:41PM 0:00.01 /usr/libexec/getty std.9600 ttyC2 root 73896 0.0 0.1 516 1468 C3 I+pU 9:41PM 0:00.01 /usr/libexec/getty std.9600 ttyC3 Last edited by TCH; 28th July 2022 at 08:25 PM. Reason: erroneous tense |
|
|||
The drm manpage did not mention anything how can i set the console screen to graphical or character mode.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Libpcap installed but no detected | Peter_APIIT | OpenBSD Packages and Ports | 13 | 17th August 2015 12:34 PM |
GHC + Gnome = no go - It act like it is not installed | looop | OpenBSD Packages and Ports | 2 | 2nd May 2012 04:32 PM |
Pre-installed Groups: What are they for? | Greg_Morgan | OpenBSD General | 5 | 11th October 2009 01:05 AM |
Installed 4.3 & No GUI | warriors | OpenBSD General | 24 | 14th August 2008 11:28 AM |
Has anyone installed mod_perl | erehwon | OpenBSD Packages and Ports | 5 | 23rd June 2008 08:11 PM |