[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kfreebsd restarts when using command poweroff



Umarzuki Mochlis wrote:
> Whenever i run the command poweroff, it reboot instead of shutdown.
> this kFreeBSD installation is running on a VMware Player 3.0.1
> 
> # uname -r
> 7.3-1-686
> 
> # cat /etc/debian_version
> squeeze/sid

On kvm I get the same with the 7.3-1-686.kernel.
However, with the 8.0-1-686 kernel the system does power off.
It could be related to that when this system uses the 7.3-1-686 kernel
it can't load modules including on boot, /var/log/dmesg:
[snip]
#0 Tue Jun  8 15:33:39 UTC 2010 i386
link_elf: symbol __stack_chk_fail undefined
KLD file acpi.ko - could not finalize loading
[then acpi's not mentioned again]

# kldload pf
kldload: can't load pf: No such file or directory

Whereas in 8.0-1-686 kernel, /var/log/dmesg:
[snip until first mention of acpi]
ACPI APIC Table: <QEMU   QEMUAPIC>
ioapic0: Changing APIC ID to 1
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <QEMU QEMURSDT> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
[acpi continues to be mentioned]

# kldstat | grep pf
# kldload pf
# kldstat | grep pf
 2    1 0xc41e1000 38000    pf.ko

> During bootup, I saw these messages:
> ERROR: no hit for procs_running
> ERROR: no hit for procs_blocked

In kvm I get this for the 8.0-1-686 and the 7.3-1-686 kernel.

> Is this a known issue or simply because I'm using VMware?

Try the 8.0-1-686 kernel and see what you get.
# apt-get install kfreebsd-image-8-686

I'd like to know if others are experiencing these issues.

While we are this subject, on kvm I get this message repeated over and over:
acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x20 ascq=0x00
It was reported as a bug but the submitter couldn't reproduce it after
updates (I can reproduce it every time!):
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565550
The error message isn't limited to kFreeBSD:
http://forums.freebsd.org/showthread.php?t=4928
Does the problem lie with kvm or kfreebsd?

Another problem I have is that if I reboot then on booting again the
system (7.3 or 8.0 kernel) has trouble with usbus0:
Root mount waiting for: usbus0
And then gives "ROOT MOUNT ERROR" and drops to "mountroot>".
Is this a kvm bug and/or something that can be fixed in kfreebsd?

Regards,
Mike.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: