alc0 watchdog timeout

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

alc0 watchdog timeout

Stephane HUC "PengouinBSD"
HI,

To communicate on Internet, with my laptop - a Dell Alienware 13 - I
use an external LAN Adapter USB to RJ. This run correcty!

I did not notice / understood that the physical network card was managed
.

$ grep alc0 dmesg.txt

alc0 at pci2 dev 0 function 0 "Attansic Technology E2200" rev 0x10:
msi, address 34:e6:d7:1b:7f:14
atphy0 at alc0 phy 0: AR8035 10/100/1000 PHY, rev. 9

But, if I configure inet and inet6 on hostname.alc0 file, either dhcp
or static informations, dmesg filled with "alc0: watchdog timeout" and
/var/log/messages grow up!

Into /var/log/messages, as:
Jun 21 16:13:26 ptb-aw13zou /bsd: alc0: watchdog timeout
Jun 21 16:14:00 ptb-aw13zou /bsd: alc0: watchdog timeout
Jun 21 16:15:56 ptb-aw13zou last message repeated 5 times
Jun 21 16:25:39 ptb-aw13zou last message repeated 20 times
Jun 21 16:35:34 ptb-aw13zou last message repeated 21 times
Jun 21 16:45:57 ptb-aw13zou last message repeated 22 times
Jun 21 16:55:56 ptb-aw13zou last message repeated 19 times
Jun 21 17:05:46 ptb-aw13zou last message repeated 22 times
Jun 21 17:15:37 ptb-aw13zou last message repeated 22 times
Jun 21 17:25:30 ptb-aw13zou last message repeated 22 times
Jun 21 17:27:54 ptb-aw13zou last message repeated 4 times

With 'dhcp', the system reply: "no lease".

Someone can explain-me the reason (simply), please?!
(and, perhaps, found a solution…)

----

My dmesg:
OpenBSD 6.5 (GENERIC.MP) #0: Wed Apr 24 23:38:54 CEST 2019

[hidden email]:/usr/src/sys/arch/amd64/compile/GENER
IC.MP
real mem = 8487260160 (8094MB)
avail mem = 8220405760 (7839MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xec580 (74 entries)
bios0: vendor Alienware version "A08" date 01/25/2018
bios0: Alienware Alienware 13
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET SSDT UEFI SSDT ASF!
SLIC SSDT SSDT SSDT SSDT CSRT SSDT
acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4)
PEG2(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4)
PXSX(S4) RP04(S4) RP05(S4) PEGP(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 799.46 MHz, 06-45-01
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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOV
BE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAH
F,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIB
P,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 799.31 MHz, 06-45-01
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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOV
BE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAH
F,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIB
P,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 799.31 MHz, 06-45-01
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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOV
BE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAH
F,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIB
P,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 799.31 MHz, 06-45-01
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,SSE3,PCLMUL,DTES64,MWAIT,
DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOV
BE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAH
F,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIB
P,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 40 pins
acpimadt0: bogus nmi for apid 0
acpimadt0: bogus nmi for apid 2
acpimcfg0 at acpi0
acpimcfg0: addr 0xf8000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus -1 (PEG2)
acpiprt4 at acpi0: bus -1 (RP01)
acpiprt5 at acpi0: bus -1 (RP02)
acpiprt6 at acpi0: bus 1 (RP03)
acpiprt7 at acpi0: bus 2 (RP04)
acpiprt8 at acpi0: bus 3 (RP05)
acpiprt9 at acpi0: bus -1 (RP06)
acpiprt10 at acpi0: bus -1 (RP07)
acpiprt11 at acpi0: bus -1 (RP08)
acpiec0 at acpi0: not present
acpiec1 at acpi0
acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1)
acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1)
acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1)
acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1)
acpipwrres0 at acpi0: PG00, resource for PEG0
acpipwrres1 at acpi0: PG01, resource for PEG1
acpipwrres2 at acpi0: PG02, resource for PEG2
acpipwrres3 at acpi0: PC05, resource for RP05
acpitz0 at acpi0: critical temperature is 105 degC
acpitz1 at acpi0: critical temperature is 105 degC
acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
acpicmos0 at acpi0
"INT3403" at acpi0 not configured
acpibat0 at acpi0: BAT1 model "PABAS0241231" serial 0x75d1 type Li-Ion
oem "TOSHIBA"
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
"INT33C7" at acpi0 not configured
"INTL9C60" at acpi0 not configured
dwiic0 at acpi0 I2C1 addr 0xfe105000/0x1000 irq 7
iic0 at dwiic0
ihidev0 at iic0 addr 0x2cdwiic0: timed out reading remaining 29
, failed fetching initial HID descriptor
"SMO8810" at acpi0 not configured
"INT3402" at acpi0 not configured
"PNP0C14" at acpi0 not configured
acpibtn1 at acpi0: PWRB
"PNP0C14" at acpi0 not configured
"DELLABCE" at acpi0 not configured
"PNP0C32" at acpi0 not configured
"PNP0C32" at acpi0 not configured
"PNP0C32" at acpi0 not configured
"CPL0002" at acpi0 not configured
"INT3400" at acpi0 not configured
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x0b
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x0b
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1920x1080, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x0b: msi
azalia0: No codecs found
"Intel Core 4G Thermal" rev 0x0b at pci0 dev 4 function 0 not configured
xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x04: msi,
xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
3.00/1.00 addr 1
"Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x04: ms
i
azalia1: codecs: Realtek/0x0255
audio0 at azalia1
ppb0 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xe4: msi
pci1 at ppb0 bus 1
vendor "Atheros", unknown product 0x003e (class network subclass
miscellaneous, rev 0x20) at pci1 dev 0 function 0 not configured
ppb1 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xe4: msi
pci2 at ppb1 bus 2
alc0 at pci2 dev 0 function 0 "Attansic Technology E2200" rev 0x10:
msi, address 34:e6:d7:1b:7f:14
atphy0 at alc0 phy 0: AR8035 10/100/1000 PHY, rev. 9
ppb2 at pci0 dev 28 function 4 "Intel 8 Series PCIE" rev 0xe4: msi
pci3 at ppb2 bus 3
vendor "NVIDIA", unknown product 0x1392 (class display subclass 3D,
rev 0xa2) at pci3 dev 0 function 0 not configured
ehci0 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x04: apic 2
int 23
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev
2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel 8 Series LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x04: msi,
AHCI 1.3
ahci0: port 0: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD5000BPKX-0, 01.0> SCSI3
0/direct fixed naa.50014ee6aefdae07
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x04:
apic 2 int 18
iic1 at ichiic0
iic1: addr 0x29 07=ff 0f=33 10=08 11=05 12=8f 13=54 14=a0 15=31 16=28
17=1f 18=22 19=b9 1a=60 1b=65 1c=c0 1e=20 20=7f 22=40 27=ff 29=eb
2d=44 2f=20 30=95 31=26 32=0e 33=10 87=ff 8f=33 90=08 91=05 92=8f
93=54 94=a0 95=31 96=28 97=1f 98=22 99=b9 9a=60 9b=65 9c=c0 9e=20
a0=7f a2=40 a7=ff a9=f2 ab=fa ad=39 af=20 b0=95 b1=25 b2=0e b3=10
words 00=0000 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=ffff
spdmem0 at iic1 addr 0x50: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
spdmem1 at iic1 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
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, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Synaptics clickpad, firmware 8.1, 0x1e2b1 0x840300
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
axe0 at uhub0 port 1 configuration 1 interface 0 "ASIX Electronics
AX88772" rev 2.00/0.01 addr 2
axe0: AX88772, address 00:19:fd:4d:f3:7d
ukphy0 at axe0 phy 16: Generic IEEE 802.3u media interface, rev. 1:
OUI 0x000ec6, model 0x0001
uhidev0 at uhub0 port 3 configuration 1 interface 0 "E-Signal USB
Gaming Mouse" rev 2.00/1.42 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 5 buttons, Z and W dir
wsmouse1 at ums0 mux 0
uhidev1 at uhub0 port 3 configuration 1 interface 1 "E-Signal USB
Gaming Mouse" rev 2.00/1.42 addr 3
uhidev1: iclass 3/0, 6 report ids
ukbd0 at uhidev1 reportid 1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=2, output=0, feature=0
uhid2 at uhidev1 reportid 6: input=3, output=0, feature=0
uhidev2 at uhub0 port 3 configuration 1 interface 2 "E-Signal USB
Gaming Mouse" rev 2.00/1.42 addr 3
uhidev2: iclass 3/0
uhid3 at uhidev2: input=32, output=32, feature=8
uvideo0 at uhub0 port 6 configuration 1 interface 0
"CN036P597248751HABEMA00 Integrated_Webcam_FHD" rev 2.00/47.18 addr 4
video0 at uvideo0
uhidev3 at uhub0 port 7 configuration 1 interface 0 "Alienware AW13"
rev 0.02/0.00 addr 5
uhidev3: iclass 3/0, 2 report ids
uhid4 at uhidev3 reportid 1: input=8, output=0, feature=0
uhid5 at uhidev3 reportid 2: input=0, output=8, feature=0
ugen0 at uhub0 port 8 "Atheros Communications product 0x3004" rev
1.10/0.01 addr 6
uhub2 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
Hub" rev 2.00/0.04 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (ef1ea0f909e0b8d8.a) swap on sd0b dump on sd0b


--
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
----
<me>Stephane HUC as PengouinBSD or CIOTBSD</me>
<mail>[hidden email]</mail>

Reply | Threaded
Open this post in threaded view
|

Re: alc0 watchdog timeout

Stephane HUC "PengouinBSD"

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi, Brad.

With -current, it seems run correctly.

dhclient: ok

statics inet4 and inet6 seem to good.

Do you want some tests?

On 6/21/19 11:24 PM, Brad Smith wrote:
> Can you please try -current and let me know if it works any better? > > On 6/21/2019 3:44 PM, Stephane HUC "PengouinBSD" wrote: >> HI, >>
>> To communicate on Internet, with my laptop - a Dell Alienware 13 - I
>> use an external LAN Adapter USB to RJ. This run correcty! >> >> I did
not notice / understood that the physical network card was managed >> .
>> >> $ grep alc0 dmesg.txt >> >> alc0 at pci2 dev 0 function 0
"Attansic Technology E2200" rev 0x10: >> msi, address 34:e6:d7:1b:7f:14
>> atphy0 at alc0 phy 0: AR8035 10/100/1000 PHY, rev. 9 >> >> But, if I
configure inet and inet6 on hostname.alc0 file, either dhcp >> or static
informations, dmesg filled with "alc0: watchdog timeout" and >>
/var/log/messages grow up! >> >> Into /var/log/messages, as: >> Jun 21
16:13:26 ptb-aw13zou /bsd: alc0: watchdog timeout >> Jun 21 16:14:00
ptb-aw13zou /bsd: alc0: watchdog timeout >> Jun 21 16:15:56 ptb-aw13zou
last message repeated 5 times >> Jun 21 16:25:39 ptb-aw13zou last
message repeated 20 times >> Jun 21 16:35:34 ptb-aw13zou last message
repeated 21 times >> Jun 21 16:45:57 ptb-aw13zou last message repeated
22 times >> Jun 21 16:55:56 ptb-aw13zou last message repeated 19 times
>> Jun 21 17:05:46 ptb-aw13zou last message repeated 22 times >> Jun 21
17:15:37 ptb-aw13zou last message repeated 22 times >> Jun 21 17:25:30
ptb-aw13zou last message repeated 22 times >> Jun 21 17:27:54
ptb-aw13zou last message repeated 4 times >> >> With 'dhcp', the system
reply: "no lease". >> >> Someone can explain-me the reason (simply),
please?! >> (and, perhaps, found a solution…) >> >> ---- >> >> My dmesg:
>> OpenBSD 6.5 (GENERIC.MP) #0: Wed Apr 24 23:38:54 CEST 2019 >> >>
[hidden email]:/usr/src/sys/arch/amd64/compile/GENER
>> IC.MP >> real mem = 8487260160 (8094MB) >> avail mem = 8220405760
(7839MB) >> mpath0 at root >> scsibus0 at mpath0: 256 targets >>
mainbus0 at root >> bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xec580 (74
entries) >> bios0: vendor Alienware version "A08" date 01/25/2018 >>
bios0: Alienware Alienware 13 >> acpi0 at bios0: rev 2 >> acpi0: sleep
states S0 S3 S4 S5 >> acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET
SSDT UEFI SSDT ASF! >> SLIC SSDT SSDT SSDT SSDT CSRT SSDT >> acpi0:
wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) >> PEG2(S4)
PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) >> PXSX(S4)
RP04(S4) RP05(S4) PEGP(S4) [...] >> acpitimer0 at acpi0: 3579545 Hz, 24
bits >> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat >> cpu0 at
mainbus0: apid 0 (boot processor) >> cpu0: Intel(R) Core(TM) i5-4210U
CPU @ 1.70GHz, 799.46 MHz, 06-45-01 >> 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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOV
>>
BE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAH
>>
F,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIB
>> P,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN >> cpu0: 256KB 64b/line
8-way L2 cache >> cpu0: smt 0, core 0, package 0 >> mtrr: Pentium Pro
MTRR support, 10 var ranges, 88 fixed ranges >> cpu0: apic clock running
at 99MHz >> cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
>> cpu1 at mainbus0: apid 2 (application processor) >> cpu1: Intel(R)
Core(TM) i5-4210U CPU @ 1.70GHz, 799.31 MHz, 06-45-01 >> 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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOV
>>
BE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAH
>>
F,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIB
>> P,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN >> cpu1: 256KB 64b/line
8-way L2 cache >> cpu1: smt 0, core 1, package 0 >> cpu2 at mainbus0:
apid 1 (application processor) >> cpu2: Intel(R) Core(TM) i5-4210U CPU @
1.70GHz, 799.31 MHz, 06-45-01 >> 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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOV
>>
BE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAH
>>
F,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIB
>> P,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN >> cpu2: 256KB 64b/line
8-way L2 cache >> cpu2: smt 1, core 0, package 0 >> cpu3 at mainbus0:
apid 3 (application processor) >> cpu3: Intel(R) Core(TM) i5-4210U CPU @
1.70GHz, 799.31 MHz, 06-45-01 >> 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,SSE3,PCLMUL,DTES64,MWAIT,
>>
DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOV
>>
BE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAH
>>
F,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIB
>> P,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN >> cpu3: 256KB 64b/line
8-way L2 cache >> cpu3: smt 1, core 1, package 0 >> ioapic0 at mainbus0:
apid 2 pa 0xfec00000, version 20, 40 pins >> acpimadt0: bogus nmi for
apid 0 >> acpimadt0: bogus nmi for apid 2 >> acpimcfg0 at acpi0 >>
acpimcfg0: addr 0xf8000000, bus 0-63 >> acpihpet0 at acpi0: 14318179 Hz
>> acpiprt0 at acpi0: bus 0 (PCI0) >> acpiprt1 at acpi0: bus -1 (PEG0)
>> acpiprt2 at acpi0: bus -1 (PEG1) >> acpiprt3 at acpi0: bus -1 (PEG2)
>> acpiprt4 at acpi0: bus -1 (RP01) >> acpiprt5 at acpi0: bus -1 (RP02)
>> acpiprt6 at acpi0: bus 1 (RP03) >> acpiprt7 at acpi0: bus 2 (RP04) >>
acpiprt8 at acpi0: bus 3 (RP05) >> acpiprt9 at acpi0: bus -1 (RP06) >>
acpiprt10 at acpi0: bus -1 (RP07) >> acpiprt11 at acpi0: bus -1 (RP08)
>> acpiec0 at acpi0: not present >> acpiec1 at acpi0 >> acpicpu0 at
acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1) >> acpicpu1 at
acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1) >> acpicpu2 at
acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1) >> acpicpu3 at
acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1) >> acpipwrres0 at
acpi0: PG00, resource for PEG0 >> acpipwrres1 at acpi0: PG01, resource
for PEG1 >> acpipwrres2 at acpi0: PG02, resource for PEG2 >> acpipwrres3
at acpi0: PC05, resource for RP05 >> acpitz0 at acpi0: critical
temperature is 105 degC >> acpitz1 at acpi0: critical temperature is 105
degC >> acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001 >>
acpicmos0 at acpi0 >> "INT3403" at acpi0 not configured >> acpibat0 at
acpi0: BAT1 model "PABAS0241231" serial 0x75d1 type Li-Ion >> oem
"TOSHIBA" >> acpiac0 at acpi0: AC unit online >> acpibtn0 at acpi0: LID0
>> "INT33C7" at acpi0 not configured >> "INTL9C60" at acpi0 not
configured >> dwiic0 at acpi0 I2C1 addr 0xfe105000/0x1000 irq 7 >> iic0
at dwiic0 >> ihidev0 at iic0 addr 0x2cdwiic0: timed out reading
remaining 29 >> , failed fetching initial HID descriptor >> "SMO8810" at
acpi0 not configured >> "INT3402" at acpi0 not configured >> "PNP0C14"
at acpi0 not configured >> acpibtn1 at acpi0: PWRB >> "PNP0C14" at acpi0
not configured >> "DELLABCE" at acpi0 not configured >> "PNP0C32" at
acpi0 not configured >> "PNP0C32" at acpi0 not configured >> "PNP0C32"
at acpi0 not configured >> "CPL0002" at acpi0 not configured >>
"INT3400" at acpi0 not configured >> acpivideo0 at acpi0: GFX0 >>
acpivout0 at acpivideo0: DD1F >> pci0 at mainbus0 bus 0 >> pchb0 at pci0
dev 0 function 0 "Intel Core 4G Host" rev 0x0b >> inteldrm0 at pci0 dev
2 function 0 "Intel HD Graphics" rev 0x0b >> drm0 at inteldrm0 >>
inteldrm0: msi >> inteldrm0: 1920x1080, 32bpp >> wsdisplay0 at inteldrm0
mux 1: console (std, vt100 emulation) >> wsdisplay0: screen 1-5 added
(std, vt100 emulation) >> azalia0 at pci0 dev 3 function 0 "Intel Core
4G HD Audio" rev 0x0b: msi >> azalia0: No codecs found >> "Intel Core 4G
Thermal" rev 0x0b at pci0 dev 4 function 0 not configured >> xhci0 at
pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x04: msi, >> xHCI 1.0
>> usb0 at xhci0: USB revision 3.0 >> uhub0 at usb0 configuration 1
interface 0 "Intel xHCI root hub" rev >> 3.00/1.00 addr 1 >> "Intel 8
Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured >> azalia1
at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x04: ms >> i >>
azalia1: codecs: Realtek/0x0255 >> audio0 at azalia1 >> ppb0 at pci0 dev
28 function 0 "Intel 8 Series PCIE" rev 0xe4: msi >> pci1 at ppb0 bus 1
>> vendor "Atheros", unknown product 0x003e (class network subclass >>
miscellaneous, rev 0x20) at pci1 dev 0 function 0 not configured >> ppb1
at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xe4: msi >> pci2 at
ppb1 bus 2 >> alc0 at pci2 dev 0 function 0 "Attansic Technology E2200"
rev 0x10: >> msi, address 34:e6:d7:1b:7f:14 >> atphy0 at alc0 phy 0:
AR8035 10/100/1000 PHY, rev. 9 >> ppb2 at pci0 dev 28 function 4 "Intel
8 Series PCIE" rev 0xe4: msi >> pci3 at ppb2 bus 3 >> vendor "NVIDIA",
unknown product 0x1392 (class display subclass 3D, >> rev 0xa2) at pci3
dev 0 function 0 not configured >> ehci0 at pci0 dev 29 function 0
"Intel 8 Series USB" rev 0x04: apic 2 >> int 23 >> usb1 at ehci0: USB
revision 2.0 >> uhub1 at usb1 configuration 1 interface 0 "Intel EHCI
root hub" rev >> 2.00/1.00 addr 1 >> pcib0 at pci0 dev 31 function 0
"Intel 8 Series LPC" rev 0x04 >> ahci0 at pci0 dev 31 function 2 "Intel
8 Series AHCI" rev 0x04: msi, >> AHCI 1.3 >> ahci0: port 0: 6.0Gb/s >>
scsibus1 at ahci0: 32 targets >> sd0 at scsibus1 targ 0 lun 0: <ATA, WDC
WD5000BPKX-0, 01.0> SCSI3 >> 0/direct fixed naa.50014ee6aefdae07 >> sd0:
476940MB, 512 bytes/sector, 976773168 sectors >> ichiic0 at pci0 dev 31
function 3 "Intel 8 Series SMBus" rev 0x04: >> apic 2 int 18 >> iic1 at
ichiic0 >> iic1: addr 0x29 07=ff 0f=33 10=08 11=05 12=8f 13=54 14=a0
15=31 16=28 >> 17=1f 18=22 19=b9 1a=60 1b=65 1c=c0 1e=20 20=7f 22=40
27=ff 29=eb >> 2d=44 2f=20 30=95 31=26 32=0e 33=10 87=ff 8f=33 90=08
91=05 92=8f >> 93=54 94=a0 95=31 96=28 97=1f 98=22 99=b9 9a=60 9b=65
9c=c0 9e=20 >> a0=7f a2=40 a7=ff a9=f2 ab=fa ad=39 af=20 b0=95 b1=25
b2=0e b3=10 >> words 00=0000 01=0000 02=0000 03=0000 04=0000 05=0000
06=0000 07=ffff >> spdmem0 at iic1 addr 0x50: 4GB DDR3 SDRAM PC3-12800
SO-DIMM >> spdmem1 at iic1 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
>> 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, using wsdisplay0 >> pms0 at pckbc0 (aux slot) >> wsmouse0 at
pms0 mux 0 >> pms0: Synaptics clickpad, firmware 8.1, 0x1e2b1 0x840300
>> pcppi0 at isa0 port 0x61 >> spkr0 at pcppi0 >> vmm0 at mainbus0:
VMX/EPT >> axe0 at uhub0 port 1 configuration 1 interface 0 "ASIX
Electronics >> AX88772" rev 2.00/0.01 addr 2 >> axe0: AX88772, address
00:19:fd:4d:f3:7d >> ukphy0 at axe0 phy 16: Generic IEEE 802.3u media
interface, rev. 1: >> OUI 0x000ec6, model 0x0001 >> uhidev0 at uhub0
port 3 configuration 1 interface 0 "E-Signal USB >> Gaming Mouse" rev
2.00/1.42 addr 3 >> uhidev0: iclass 3/1 >> ums0 at uhidev0: 5 buttons, Z
and W dir >> wsmouse1 at ums0 mux 0 >> uhidev1 at uhub0 port 3
configuration 1 interface 1 "E-Signal USB >> Gaming Mouse" rev 2.00/1.42
addr 3 >> uhidev1: iclass 3/0, 6 report ids >> ukbd0 at uhidev1 reportid
1: 8 variable keys, 6 key codes >> wskbd1 at ukbd0 mux 1 >> wskbd1:
connecting to wsdisplay0 >> uhid0 at uhidev1 reportid 2: input=1,
output=0, feature=0 >> uhid1 at uhidev1 reportid 3: input=2, output=0,
feature=0 >> uhid2 at uhidev1 reportid 6: input=3, output=0, feature=0
>> uhidev2 at uhub0 port 3 configuration 1 interface 2 "E-Signal USB >>
Gaming Mouse" rev 2.00/1.42 addr 3 >> uhidev2: iclass 3/0 >> uhid3 at
uhidev2: input=32, output=32, feature=8 >> uvideo0 at uhub0 port 6
configuration 1 interface 0 >> "CN036P597248751HABEMA00
Integrated_Webcam_FHD" rev 2.00/47.18 addr 4 >> video0 at uvideo0 >>
uhidev3 at uhub0 port 7 configuration 1 interface 0 "Alienware AW13" >>
rev 0.02/0.00 addr 5 >> uhidev3: iclass 3/0, 2 report ids >> uhid4 at
uhidev3 reportid 1: input=8, output=0, feature=0 >> uhid5 at uhidev3
reportid 2: input=0, output=8, feature=0 >> ugen0 at uhub0 port 8
"Atheros Communications product 0x3004" rev >> 1.10/0.01 addr 6 >> uhub2
at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching >> Hub"
rev 2.00/0.04 addr 2 >> vscsi0 at root >> scsibus2 at vscsi0: 256
targets >> softraid0 at root >> scsibus3 at softraid0: 256 targets >>
root on sd0a (ef1ea0f909e0b8d8.a) swap on sd0b dump on sd0b >> >>
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXQ1sJwAKCRATq98t3AMG
7035AQC084d3EZlv6aouXaUJm3jtuFucwjzb9WXZMooQkpMNfwD+PkUPDkfhEYYr
aJtTaaETibunBKNzFDBMbi2L8mOm8gg=
=kRoK
-----END PGP SIGNATURE-----

Reply | Threaded
Open this post in threaded view
|

Re: alc0 watchdog timeout

Kevin Lo
In reply to this post by Stephane HUC "PengouinBSD"
On Fri, Jun 21, 2019 at 09:44:12PM +0200, Stephane HUC "PengouinBSD" wrote:
>
> HI,

Hi,

> To communicate on Internet, with my laptop - a Dell Alienware 13 - I
> use an external LAN Adapter USB to RJ. This run correcty!
>
> I did not notice / understood that the physical network card was managed
> .
>
> $ grep alc0 dmesg.txt
>
> alc0 at pci2 dev 0 function 0 "Attansic Technology E2200" rev 0x10:
> msi, address 34:e6:d7:1b:7f:14
> atphy0 at alc0 phy 0: AR8035 10/100/1000 PHY, rev. 9
>
> But, if I configure inet and inet6 on hostname.alc0 file, either dhcp
> or static informations, dmesg filled with "alc0: watchdog timeout" and
> /var/log/messages grow up!
>
> Into /var/log/messages, as:
> Jun 21 16:13:26 ptb-aw13zou /bsd: alc0: watchdog timeout
> Jun 21 16:14:00 ptb-aw13zou /bsd: alc0: watchdog timeout
> Jun 21 16:15:56 ptb-aw13zou last message repeated 5 times
> Jun 21 16:25:39 ptb-aw13zou last message repeated 20 times
> Jun 21 16:35:34 ptb-aw13zou last message repeated 21 times
> Jun 21 16:45:57 ptb-aw13zou last message repeated 22 times
> Jun 21 16:55:56 ptb-aw13zou last message repeated 19 times
> Jun 21 17:05:46 ptb-aw13zou last message repeated 22 times
> Jun 21 17:15:37 ptb-aw13zou last message repeated 22 times
> Jun 21 17:25:30 ptb-aw13zou last message repeated 22 times
> Jun 21 17:27:54 ptb-aw13zou last message repeated 4 times
>
> With 'dhcp', the system reply: "no lease".
>
> Someone can explain-me the reason (simply), please?!
> (and, perhaps, found a solution…)

I think this bug has been fixed in r1.48.  Please try -current, thanks.

Reply | Threaded
Open this post in threaded view
|

Re: alc0 watchdog timeout

Stephane HUC "PengouinBSD"
HI

On 6.5-current:

As I wrote @ 1:46 AM, it seems OK!

But, I experiment some troubles on my connexion:

- unwanted SSH disconnections

- on X, with Firefox, tabs crashed always in same time.

Perhaps, for Firefox, it's a problem with pledge?

I see thoses messages in /var/log/messages - egual on 'dmesg':

Jun 22 11:21:21 ptb-z /bsd: firefox[19999]: pledge "flock", syscall 92
Jun 22 11:21:21 ptb-z /bsd: firefox[17962]: pledge "flock", syscall 92
Jun 22 11:21:22 ptb-z /bsd: firefox[47501]: pledge "flock", syscall 92

(...)

firefox[68021]: pledge "flock", syscall 92
firefox[22469]: pledge "flock", syscall 92
firefox[41244]: pledge "flock", syscall 92

???

On 6/22/19 6:27 AM, Kevin Lo wrote:

> On Fri, Jun 21, 2019 at 09:44:12PM +0200, Stephane HUC "PengouinBSD" wrote:
>> HI,
> Hi,
>
>> To communicate on Internet, with my laptop - a Dell Alienware 13 - I
>> use an external LAN Adapter USB to RJ. This run correcty!
>>
>> I did not notice / understood that the physical network card was managed
>> .
>>
>> $ grep alc0 dmesg.txt
>>
>> alc0 at pci2 dev 0 function 0 "Attansic Technology E2200" rev 0x10:
>> msi, address 34:e6:d7:1b:7f:14
>> atphy0 at alc0 phy 0: AR8035 10/100/1000 PHY, rev. 9
>>
>> But, if I configure inet and inet6 on hostname.alc0 file, either dhcp
>> or static informations, dmesg filled with "alc0: watchdog timeout" and
>> /var/log/messages grow up!
>>
>> Into /var/log/messages, as:
>> Jun 21 16:13:26 ptb-aw13zou /bsd: alc0: watchdog timeout
>> Jun 21 16:14:00 ptb-aw13zou /bsd: alc0: watchdog timeout
>> Jun 21 16:15:56 ptb-aw13zou last message repeated 5 times
>> Jun 21 16:25:39 ptb-aw13zou last message repeated 20 times
>> Jun 21 16:35:34 ptb-aw13zou last message repeated 21 times
>> Jun 21 16:45:57 ptb-aw13zou last message repeated 22 times
>> Jun 21 16:55:56 ptb-aw13zou last message repeated 19 times
>> Jun 21 17:05:46 ptb-aw13zou last message repeated 22 times
>> Jun 21 17:15:37 ptb-aw13zou last message repeated 22 times
>> Jun 21 17:25:30 ptb-aw13zou last message repeated 22 times
>> Jun 21 17:27:54 ptb-aw13zou last message repeated 4 times
>>
>> With 'dhcp', the system reply: "no lease".
>>
>> Someone can explain-me the reason (simply), please?!
>> (and, perhaps, found a solution…)
> I think this bug has been fixed in r1.48.  Please try -current, thanks.
>

Reply | Threaded
Open this post in threaded view
|

Re: alc0 watchdog timeout

Todd Mortimer
On Sat, Jun 22, 2019 at 12:25:30PM +0200, Stephane HUC "PengouinBSD" wrote:

> HI
>
> On 6.5-current:
>
> As I wrote @ 1:46 AM, it seems OK!
>
> But, I experiment some troubles on my connexion:
>
> - unwanted SSH disconnections
>
> - on X, with Firefox, tabs crashed always in same time.
>
> Perhaps, for Firefox, it's a problem with pledge?
>
> I see thoses messages in /var/log/messages - egual on 'dmesg':
>
> Jun 22 11:21:21 ptb-z /bsd: firefox[19999]: pledge "flock", syscall 92
> Jun 22 11:21:21 ptb-z /bsd: firefox[17962]: pledge "flock", syscall 92
> Jun 22 11:21:22 ptb-z /bsd: firefox[47501]: pledge "flock", syscall 92
>
> (...)
>
> firefox[68021]: pledge "flock", syscall 92
> firefox[22469]: pledge "flock", syscall 92
> firefox[41244]: pledge "flock", syscall 92
>
> ???

This happens sometimes when firefox is calling into some library that
hits these syscalls, and those syscalls are not in the firefox pledge.
In my experience this is often some uncommon code path through X,
usually related to which graphics driver you are using, but it could be
anything. When I have this happen to me, it is always on specific
websites that trigger some rendering codepath through X that uses some
unusual way to allocate memory or something. In your case, it could also
be some extension you have loaded.

You can pretty easily see what is going wrong:

When a firefox tab crashes you should have a firefox.core file lying
around (usually in your $HOME, but it will be wherever you launched
firefox from). Run gdb on /usr/local/bin/firefox, and then load up the
core file. It will drop you into the spot where firefox was killed, and
you can check the backtrace to see what code path took you to the system
call that hasn't been pledged.

In this instance, firefox is calling fcntl, which is covered by the
"flock" pledge. You can add "flock" to the
security.sandbox.pledge.content line in about:config and see if that
makes it work for you. If you have at all modified the firefox content
or main pledges from their defaults, you should check to see if
reverting to their defaults helps ("flock" is in the main pledge by
default, but not in the content pledge).

Hope this helps.

Reply | Threaded
Open this post in threaded view
|

Core firefox, was: (Re: alc0 watchdog timeout)

Stephane HUC "PengouinBSD"
On 6/22/19 5:32 PM, Todd Mortimer wrote:
> On Sat, Jun 22, 2019 at 12:25:30PM +0200, Stephane HUC "PengouinBSD" wrote: >> (...) >> >> Perhaps, for Firefox, it's a problem with pledge? >> >>
I see thoses messages in /var/log/messages - egual on 'dmesg': >> >> Jun
22 11:21:21 ptb-z /bsd: firefox[19999]: pledge "flock", syscall 92 >>
Jun 22 11:21:21 ptb-z /bsd: firefox[17962]: pledge "flock", syscall 92
>> Jun 22 11:21:22 ptb-z /bsd: firefox[47501]: pledge "flock", syscall
92 >> >> (...) >> >> firefox[68021]: pledge "flock", syscall 92 >>
firefox[22469]: pledge "flock", syscall 92 >> firefox[41244]: pledge
"flock", syscall 92 >> >> ??? > > This happens sometimes when firefox is
calling into some library that > hits these syscalls, and those syscalls
are not in the firefox pledge. > In my experience this is often some
uncommon code path through X, > usually related to which graphics driver
you are using, but it could be > anything. When I have this happen to
me, it is always on specific > websites that trigger some rendering
codepath through X that uses some > unusual way to allocate memory or
something. In your case, it could also > be some extension you have
loaded. > > You can pretty easily see what is going wrong: > > When a
firefox tab crashes you should have a firefox.core file lying > around
(usually in your $HOME, but it will be wherever you launched > firefox
from). Run gdb on /usr/local/bin/firefox, and then load up the > core
file. It will drop you into the spot where firefox was killed, and > you
can check the backtrace to see what code path took you to the system >
call that hasn't been pledged. > > In this instance, firefox is calling
fcntl, which is covered by the > "flock" pledge. You can add "flock" to
the > security.sandbox.pledge.content line in about:config and see if
that > makes it work for you. If you have at all modified the firefox
content > or main pledges from their defaults, you should check to see
if > reverting to their defaults helps ("flock" is in the main pledge by
> default, but not in the content pledge). > > Hope this helps.
Hi,

Now, Firefox tab crash; as you wrote, I try gdb:

$ gdb /usr/local/bin/firefox
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd6.5"...(no debugging
symbols found)

(gdb) core-file firefox.core
warning: Couldn't find general-purpose registers in core file.

warning: Couldn't find general-purpose registers in core file.

#0  0x0000000000000000 in ?? ()
(gdb) backtrace
#0  0x0000000000000000 in ?? ()
Cannot access memory at address 0x0
(gdb) q

What do you want another?


--
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
----
<me>Stephane HUC as PengouinBSD or CIOTBSD</me>
<mail>[hidden email]</mail>


Reply | Threaded
Open this post in threaded view
|

Re: Core firefox, was: (Re: alc0 watchdog timeout)

Stephane HUC "PengouinBSD"
I installed few days ago gdb:

(query is a personal alias for pkg_info -Q)
$ query gdb | grep installed
gdb-7.12.1p5 (installed)

$ gdb --version
GNU gdb 6.3

If I try with egdb:

$ egdb /usr/local/bin/firefox
firefox.core                                                                                           

GNU gdb (GDB) 7.12.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-openbsd6.5".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/firefox...(no debugging symbols
found)...done.

warning: Couldn't find general-purpose registers in core file.

warning: Couldn't find general-purpose registers in core file.
#0  <unavailable> in ?? ()
(gdb) bt
#0  <unavailable> in ?? ()
Backtrace stopped: not enough registers or memory available to unwind
further
(gdb) thread 1
[Switching to thread 1 (process 1)]
#0  <unavailable> in ?? ()
(gdb) thread 2
Unknown thread 2.
(gdb) thread 0
Invalid thread ID: 0
(gdb) q

No help more! :(


On 6/26/19 9:37 PM, Todd Mortimer wrote:

> Hmm. That’s obviously not very helpful.
>
> Perhaps try ports gdb? It will install as egdb.
>
>> On Jun 26, 2019, at 21:33, Stéphane HUC PengouinBSD <[hidden email]> wrote:
>>
>>> On 6/22/19 5:32 PM, Todd Mortimer wrote:
>>> On Sat, Jun 22, 2019 at 12:25:30PM +0200, Stephane HUC "PengouinBSD" wrote: >> (...) >> >> Perhaps, for Firefox, it's a problem with pledge? >> >>
>> I see thoses messages in /var/log/messages - egual on 'dmesg': >> >> Jun
>> 22 11:21:21 ptb-z /bsd: firefox[19999]: pledge "flock", syscall 92 >>
>> Jun 22 11:21:21 ptb-z /bsd: firefox[17962]: pledge "flock", syscall 92
>>>> Jun 22 11:21:22 ptb-z /bsd: firefox[47501]: pledge "flock", syscall
>> 92 >> >> (...) >> >> firefox[68021]: pledge "flock", syscall 92 >>
>> firefox[22469]: pledge "flock", syscall 92 >> firefox[41244]: pledge
>> "flock", syscall 92 >> >> ??? > > This happens sometimes when firefox is
>> calling into some library that > hits these syscalls, and those syscalls
>> are not in the firefox pledge. > In my experience this is often some
>> uncommon code path through X, > usually related to which graphics driver
>> you are using, but it could be > anything. When I have this happen to
>> me, it is always on specific > websites that trigger some rendering
>> codepath through X that uses some > unusual way to allocate memory or
>> something. In your case, it could also > be some extension you have
>> loaded. > > You can pretty easily see what is going wrong: > > When a
>> firefox tab crashes you should have a firefox.core file lying > around
>> (usually in your $HOME, but it will be wherever you launched > firefox
>> from). Run gdb on /usr/local/bin/firefox, and then load up the > core
>> file. It will drop you into the spot where firefox was killed, and > you
>> can check the backtrace to see what code path took you to the system >
>> call that hasn't been pledged. > > In this instance, firefox is calling
>> fcntl, which is covered by the > "flock" pledge. You can add "flock" to
>> the > security.sandbox.pledge.content line in about:config and see if
>> that > makes it work for you. If you have at all modified the firefox
>> content > or main pledges from their defaults, you should check to see
>> if > reverting to their defaults helps ("flock" is in the main pledge by
>>> default, but not in the content pledge). > > Hope this helps.
>> Hi,
>>
>> Now, Firefox tab crash; as you wrote, I try gdb:
>>
>> $ gdb /usr/local/bin/firefox
>> GNU gdb 6.3
>> Copyright 2004 Free Software Foundation, Inc.
>> GDB is free software, covered by the GNU General Public License, and you are
>> welcome to change it and/or distribute copies of it under certain
>> conditions.
>> Type "show copying" to see the conditions.
>> There is absolutely no warranty for GDB.  Type "show warranty" for details.
>> This GDB was configured as "amd64-unknown-openbsd6.5"...(no debugging
>> symbols found)
>>
>> (gdb) core-file firefox.core
>> warning: Couldn't find general-purpose registers in core file.
>>
>> warning: Couldn't find general-purpose registers in core file.
>>
>> #0  0x0000000000000000 in ?? ()
>> (gdb) backtrace
>> #0  0x0000000000000000 in ?? ()
>> Cannot access memory at address 0x0
>> (gdb) q
>>
>> What do you want another?
>>
>>
>> --
>> ~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
>> ----
>> <me>Stephane HUC as PengouinBSD or CIOTBSD</me>
>> <mail>[hidden email]</mail>
>>
>>
--
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
----
<me>Stephane HUC as PengouinBSD or CIOTBSD</me>
<mail>[hidden email]</mail>