Re: LG GRAM 14 (14Z90Q-G.AA58F) problems

2023-04-02 Thread Rémi Bougard
Hi,

Ok some updates while I'm still experimenting with the laptop.


On Sat, Apr 01, 2023 at 03:14:19PM +0200, Rémi Bougard wrote:
>[...]
> Keyboard :
> The most important and visible problem is that I have to disable acpitz at 
> boot
> time to have a working keyboard (otherwise the pc boots well until the login
> prompt, but the keyboard is then inoperative).

Ok absolutely no link with acpitz, sorry for that !

I discovered that if I touch the keyboard during the boot time (for example
to disable acpitz... or if I just press any key) then the keyboard will
work perfectly afterwards.

However, if I don't press any key during boot time then the keyboard won't work
at the login prompt. If I then log on to the machine with another pc and run
xenodm then the keyboard becomes fully functional.


> zzz :
> The laptop goes successfully into suspend mode but when I wake it up it turns
> itself off after 2/3 seconds.

I tried to change a lot of settings in the bios (lots of variables available!)
but no better on this side.


> Crashes :
> Strangely it crashes systematically when I switch the chromium window to full
> screen (with cwm).

Ok I think it is a problem with cwm. I tested with fvwm and no problem at all.

So in cwm :
With xterm no problem, I can switch it to full screen (CTRL-ALT-f) and no crash.
With Chrome and mpv (the two I tested) I can maximize the windows (CTRL-ALT-m)
without problem but as soon as I switch them to full screen (CTRL-ALT-f) the
laptop freezes (with no possibility to ssh from another machine).

Remi




-- 
Rémi Bougard



LG GRAM 14 (14Z90Q-G.AA58F), zzz almost works, keyboard problem (acpitz related ?), some unexpected crashes, audio works ok

2023-04-01 Thread Rémi Bougard
Hi,

I can provide more information if needed (acpidump ?) as it will be my
daily OpenBSD workhorse for the next 4/5 years hopefully (replace my beloved
x330 which became a bit too slow for my daily work).

The LG Gram globally works but with some annoying problems (freshly installed
yesterday I didn't yet test all fonctionnality).

Keyboard :
The most important and visible problem is that I have to disable acpitz at boot
time to have a working keyboard (otherwise the pc boots well until the login
prompt, but the keyboard is then inoperative).

zzz :
The laptop goes successfully into suspend mode but when I wake it up it turns
itself off after 2/3 seconds.

Crashes :
Strangely it crashes systematically when I switch the chromium window to full
screen (with cwm).

(dmesg and sensors outputs attached)

As I have some C dev skills and am a long time OpenBSD user I will try to
resolve myself the problems but if anyone has any ideas/leads it would be
most welcome ;)

(and sorry for my less than perfect english)

Remi




-- 
Rémi Bougard
OpenBSD 7.3 (GENERIC.MP) #1125: Sat Mar 25 10:36:29 MDT 2023
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16864501760 (16083MB)
avail mem = 16333975552 (15577MB)
User Kernel Config
UKC> disable acpitz
426 acpitz* disabled
UKC> quit
Continuing...
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.4 @ 0x5f357000 (63 entries)
bios0: vendor Phoenix Technologies Ltd. version "A1ZG0420 X64" date 12/06/2022
bios0: LG Electronics 14Z90Q-G.AA58F
efi0 at bios0: UEFI 2.7
efi0: Phoenix Technologies Ltd. rev 0x12345678
acpi0 at bios0: ACPI 6.3
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT SSDT TPM2 HPET APIC MCFG SSDT 
SSDT PMCT SSDT SSDT SSDT LPIT WSMT SSDT SSDT DBGP DBG2 NHLT MSDM SSDT BATB DMAR 
SSDT SSDT SSDT BGRT PHAT XNSC UEFI FPDT
acpi0: wakeup devices PEG0(S4) PEGP(S4) PEGP(S4) PEG2(S4) PEGP(S4) LID0(S3) 
XHCI(S4) XDCI(S4) HDAS(S4) CNVW(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) 
RP03(S4) PXSX(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 1920 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: 12th Gen Intel(R) Core(TM) i5-1240P, 4390.70 MHz, 06-9a-03
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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,PKU,WAITPKG,PKS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 
10-way L2 cache, 12MB 64b/line 8-way L3 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 38MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.2.0.1.0.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: 12th Gen Intel(R) Core(TM) i5-1240P, 4390.69 MHz, 06-9a-03
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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,PKU,PKS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 
10-way L2 cache, 12MB 64b/line 8-way L3 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 8 (application processor)
cpu2: 12th Gen Intel(R) Core(TM) i5-1240P, 4388.98 MHz, 06-9a-03
cpu2: 
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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,PKU,PKS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 
10-way L2 cache, 12MB 64b/line 8-way L3 cache
cpu2: smt 0, core 4, package 0
cpu3 at mainbus0: apid 9 (application processor)
cpu3: 12th Gen Intel(R) Core(TM) i5-1240P, 4390.70 MHz, 06-9a-03
cpu3: 
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,SS

Re: php e kerberos

2013-04-13 Thread Rémi Bougard
Hi,

On Fri, Apr 12, 2013 at 01:06:30PM -0300, Friedrich Locke wrote:
 Hi folks,
 
 i am running OBSD 5.2 and i would like to try to connect to a kerberos
 server using php.
 
 In the following link http://www.php.net/manual/en/book.kadm5.php in the
 requirement section it is stated :
 
 No external libraries are needed to build this extension.
 [...]


Looks like to me it is a PECL extension :
http://www.php.net/manual/en/kadm5.installation.php



-- 
Rémi Bougard



OpenBSD-5.0 current on Samsung serie 9 - what works and what does not

2011-11-21 Thread Rémi Bougard
(sorry for the possible repost)

Hi,

I just finished putting -current on a fresh new Samsung 900x3a. For
people who are interested in purchasing this model, here is a small
report of what works and what does not.

Well, most things works just fine (wired networking, sound keys, backlit
keyboard, etc).

The problems I spotted (more or less annoying) :

- wireless does not work (Intel Centrino Advanced-N 6030, some problems
  with the firmware, details below)
- xenocara works but only with the vesa driver at 1024x768 resolution
  (should be 1366x768, Sandybridge graphics). At this resolution
  display is distorted and not really usable
- suspend works, but screen stay blank after resume (the machine is
  still running and I can blindly type to manually reboot)
- brightness control does not work, backlit keyboard control either.

(I'll make clean bugs reports quickly)

Machine is still in my possession so I can provide additional
information.


$ sudo ifconfig iwn0 nwid ? chan 3 wpakey ???
iwn0: fatal firmware error
firmware error log:
  error type  = UNKNOWN (0x1999)
  program counter = 0x00013638
  source line = 0x012F
  error data  = 0x00010095
  branch link = 0x0001362C0001362C
  interrupt link  = 0xC15E
  time= 28147
driver status:
  tx ring  0: qid=0  cur=0   queued=0
  tx ring  1: qid=1  cur=0   queued=0
  tx ring  2: qid=2  cur=0   queued=0
  tx ring  3: qid=3  cur=0   queued=0
  tx ring  4: qid=4  cur=2   queued=0  
  tx ring  5: qid=5  cur=0   queued=0
  tx ring  6: qid=6  cur=0   queued=0
  tx ring  7: qid=7  cur=0   queued=0
  tx ring  8: qid=8  cur=0   queued=0
  tx ring  9: qid=9  cur=0   queued=0
  tx ring 10: qid=10 cur=0   queued=0
  tx ring 11: qid=11 cur=0   queued=0
  tx ring 12: qid=12 cur=0   queued=0
  tx ring 13: qid=13 cur=0   queued=0
  tx ring 14: qid=14 cur=0   queued=0
  tx ring 15: qid=15 cur=0   queued=0
  tx ring 16: qid=16 cur=0   queued=0
  tx ring 17: qid=17 cur=0   queued=0
  tx ring 18: qid=18 cur=0   queued=0
  tx ring 19: qid=19 cur=0   queued=0
  rx ring: cur=2
  802.11 state 0
iwn0: crystal calibration failed
iwn0: could not initialize hardware


$ dmesg

OpenBSD 5.0-current (GENERIC.MP) #0: Sun Nov 20 02:42:28 CET 2011
r...@rbm.my.domain:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz (GenuineIntel 686-class) 1.60 
GHz
cpu0: 
FPU,V86,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,NXE,LONG,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,LAHF
real mem  = 2864168960 (2731MB)
avail mem = 2807226368 (2677MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/16/11, BIOS32 rev. 0 @ 0xfc000, SMBIOS 
rev. 2.6 @ 0xe0850 (62 entries)
bios0: vendor Phoenix Technologies Ltd. version 06HL date 07/16/2011
bios0: SAMSUNG ELECTRONICS CO., LTD. 90X3A
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT ASF! HPET APIC MCFG SSDT SSDT UEFI UEFI UEFI
acpi0: wakeup devices P0P1(S4) GLAN(S4) HDEF(S4) PXSX(S4) RP01(S4) PXSX(S4) 
RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) 
RP06(S4) PXSX(S4) RP07(S4) PXSX(S4) RP08(S4) PEG0(S4) PEGP(S4) PEG1(S4) 
PEG2(S4) PEG3(S4) PWRB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz (GenuineIntel 686-class) 1.60 
GHz
cpu1: 
FPU,V86,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,NXE,LONG,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,LAHF
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz (GenuineIntel 686-class) 1.60 
GHz
cpu2: 
FPU,V86,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,NXE,LONG,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,LAHF
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz (GenuineIntel 686-class) 1.60 
GHz
cpu3: 
FPU,V86,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,NXE,LONG,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,LAHF
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus -1 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus 2 (RP04)
acpiprt6 at acpi0: bus 3 (RP05)
acpiprt7 at 

smtpd - developer blog on undeadly

2008-11-13 Thread Rémi Bougard
Hello,

For those of you who where asking informations about (open ?)smtpd :
Gilles Chehade writes a long and clear text about it on undeadly.org :
http://undeadly.org/cgi?action=articlesid=20081112084647

Thank you Gilles for this work. This is a very exciting project.

-- 
Rimi Bougard



Re: cp(1) bug ?

2007-10-19 Thread Rémi Bougard
Hello,

On Fri, Oct 19, 2007 at 07:59:38PM +0200, ropers wrote:
 [...]
 pdksh on Linux behaves just like bash on Linux, and unlike pdksh on OpenBSD.
 I didn't expect that. So does that error message depend on OS APIs
 rather than the shell program and its built-in commands?

cp is part of the libc.

-- 
Remi Bougard



Re: : cp(1) bug ?

2007-10-19 Thread Rémi Bougard
On Fri, Oct 19, 2007 at 09:19:21AM -0400, Nick Guenther wrote:
 On 10/19/07, Tom Van Looy [EMAIL PROTECTED] wrote:
  [...]
  Anyway, it has worked like that since years, and I guess nobody has had
  a problem with it before. I don't think it should be changed just
  because some bored guy playing with it noticed strange output ;-p
 
 Sure, but bored guy can translate to new ideas and testing
 somehow-still-untested code paths. It's worth a shot at fixing.
 [...]

Well, given that I feel targeted by this sentence ;) I think I will look at
the cp's source code and try to fix that. Could be fun after all.

-- 
Remi Bougard



cp(1) bug ?

2007-10-17 Thread Rémi Bougard
Hello everyboddy,

   I have a (probably) stupid question... Please forgive me if she really is.
I discovered today a strange thing:

$ mkdir foo
$ cp -R foo foo

I was waiting something like cannot copy a directory into himself or
something like that but in fact this command create a (infinite ? I don't know
because I stop the action before the end) tree, like this:

/foo/foo/foo/foo/foo/foo/foo...

Look like a bug for me. Isn't it ?

-- 
Rimi Bougard