Re: NetBSD/i386 8.0 RC1 Vs. VIA C3

Andrius V <[email protected]>
Newsgroups gmane.os.netbsd.ports.i386
Message-ID <CAFO4NkpBd+kuZ2TNSrFMEVMVYHo9mDOWF6ezyLRp8cLbq=iz7w@mail.gmail.com>
Hi,

Tested more thoroughly:

apm -S hangs the system with the only message "acpi0: entering state
S0" visible.

apm -z crashes.

If S1&S3 mode in BIOS:

acpi0: entering state S3
Flushing disk caches: 1 done
fatal page fault in supervisor mode
trap type 6 code 0 eip 0xc04fcab9 cs 0x8 eflags 0x210206 cr2 0x7d
ilevel 0x6 esp 0xc0dd70e0
curlwp 0xc3155d20 pid 0 lid 2 lowest kstack 0xdaaf02c0
panic: trap
cpu0: Begin traceback...
vpanic(c0c05a8b,dab22e68,dab22ee4,c012091f,c0c05a8b,dab22ef0,dab22ef0,2,daaf02c0,210206)
at netbsd:vpanic+0x121
snprintf(c0c05a8b,dab22ef0,dab22ef0,2,daaf02c0,210206,7d,6,c0dd70e0,dab22ed0)
at netbsd:snprintf
trap() at netbsd:trap+0xc80
--- trap (number 6) ---
pckbcintr(c35d3308,e46769,0,c35d81c0,c01045c5,c326f438,daaf1ee8,0,0,0)
at netbsd:pckbcintr+0x6e
intr_biglock_wrapper(c326f438,daaf1ee8,0,0,0,0,0,0,0,0) at
netbsd:intr_biglock_wrapper+0x1f
--- switch to interrupt stack ---
Xintr_ioapic_edge9() at netbsd:Xintr_ioapic_edge9+0xb5
--- interrupt ---
x86_stihlt(1,1,c36c45a8,0,c3155d20,c36c4000,c36c45a8,c0dd6840,daaf1f70,c0131cea)
at netbsd:x86_stihlt+0x5
acpicpu_cstate_idle_enter(c36c45a8,5457981b,daaf1f70,c3153d40,c3155d20,daaf1f8c,c0852d96,c3155d20,0,c3155d20)
at netbsd:acpicpu_cstate_idle_enter+0xdf
acpicpu_cstate_idle(c3155d20,0,c3155d20,c0852ca0,c3155d20,0,c0100411,c3155d20,1067000,1070000)
at netbsd:acpicpu_cstate_idle+0xa8
idle_loop(c3155d20,1067000,1070000,0,c01003f8,0,0,0,0,0) at
netbsd:idle_loop+0xf6
cpu0: End traceback...

---------------------------------------

If S3 only enabled in BIOS:

acpi0: entering state S3
Flushing disk caches: done
fatal protection fault in supervisor mode
trap type 4 code 0 eip 0xc012dc8b cs 0x8 eflags 0x210046 cr2
0xdafc35b2 ilevel 0x8 esp 0xc3292800
curlwp 0xc3269540 pid 0 lid 17 lowest kstack 0xdab272c0
panic: trap
cpu1: Begin traceback...
vpanic(c0c05a8b,dab4de68,dab4dee4,c012091f,c0c05a8b,dab4def0,dab4def0,11,dab272c0,210046)
at netbsd:vpanic+0x121
snprintf(c0c05a8b,dab4def0,dab4def0,11,dab272c0,210046,dafc35b2,8,c3292800,0)
at netbsd:snprintf
trap() at netbsd:trap+0xc80
--- trap (number 4) ---
acpi_md_sleep_prepare(c3292800,0,0,c3269540,c3292800,dab28f60,c0101125,dab28f10,0,0)
at netbsd:acpi_md_sleep_prepare+0x37
x86_ipi_handler(dab28f10,0,0,0,0,0,0,0,0,0) at netbsd:x86_ipi_handler+0x59
DDB lost frame for netbsd:Xresume_lapic_ipi+0x25, trying 0xdab4df78
Xresume_lapic_ipi() at netbsd:Xresume_lapic_ipi+0x25
--- interrupt ---
0:
cpu1: End traceback...

And vge0 (integrated intel 1GBit NIC) starts to spit "vge0: setting
CAM filter failed error" until I completely turn off power from the
PC.

On Wed, Jun 6, 2018 at 10:57 AM, Andrius V <[email protected]> wrote:
> Hi,
>
> S1 state can be possibly enabled in BIOS?  VT310-DP has an options to
> enable S1, S3 or S1&S3. I tried apm -z on my system  (VT310-DP), it
> ended up with system crash... However, I have never tried to use
> suspend before, possibly the issue is not new. Will try apm -S later
> on.
>
> On Tue, Jun 5, 2018 at 12:00 AM, Andy Ball <[email protected]> wrote:
>>
>> Hello,
>>
>>     Today I tried NetBSD/i386 8.0 RC1 on a VIA EPIA M10000
>> mainboard (1 GHz C3 Nehemiah, 1GB RAM, 40 GB disk).  Sleep
>> and suspend don't work...
>>
>>   $apm -S
>>   spkr0 at audio0: PC Speaker (synthesized)
>>   acpi0: entering state S1
>>   acpi0: sleep state S1 is not available
>>
>> ...host continues to operate.
>>
>>   $apm -z
>>   System will enter suspend mode in a moment.
>>   spkr0 at audio0: PC Speaker (synthesized)
>>   acpi0: entering state S3
>>   Flushing disk caches: done
>>
>> ...disk spins down, host fails to enter standby state and
>> hangs.  I have to cycle power to bring the host back up.
>>
>> - Andy Ball.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.