Preemption on MV78100 (ARMv5TE)?
MagnusNilsson
magnus.nilsson at gmail.com
Sun Mar 24 18:34:02 UTC 2013
> Can you provide any information about the crashes?
Sorry, "crash" is misleading. Rather, it hangs, almost always during boot.
The latest hangs I saw where at "Entropy harvesting:[hang]" and "Trying to
mount root from ufs:/dev/ad0s1[hang]"
I have tried both SCHED_4BSD and SCHED_ULE, but I don't see any difference.
> something to try that may give you most of the same benefits would be to
> compile with HZ=1000
Thanks, HZ=2000 already. I mainly want to ensure that the crash isn't caused
by some other instability that is tickled by preemption. Basically I want it
working - or I want to know why it doesn't.
These two patches are applied, but with no improvement:
http://www.freebsd.org/cgi/query-pr.cgi?pr=arm/160431
http://www.freebsd.org/cgi/query-pr.cgi?pr=arm/161498
I'll see if I can backport later fixes to 8.2 and see if that helps.
My conf (without "options PREEMPTION") is as follows:
ident DEV
include "../mv/discovery/std.db78xxx"
options SOC_MV_DISCOVERY
makeoptions MODULES_OVERRIDE=""
makeoptions WERROR="-Werror"
options SCHED_ULE #4BSD scheduler
options INET #InterNETworking
options INET6 #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options NFSCLIENT #Network Filesystem Client
options NFSLOCKD #Network Lock Manager
options NFS_ROOT #NFS usable as /, requires NFSCLIENT
options GEOM_PART_BSD
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time
extensions
options MUTEX_NOINLINE
options RWLOCK_NOINLINE
options NO_FFS_SNAPSHOT
options NO_SWAPPING
options ROOTDEVNAME=\"ufs:/dev/ad0s1\"
options HZ=2000
device pci
device loop
device md
device pty
device random
device uart
device ether
device mge # Marvell Gigabit Ethernet
controller
device mii
device e1000phy
device bpf
options USB_DEBUG # enable debug msgs
device usb
device ehci
device umass
device scbus
device pass
device da
device iic
device iicbus
device ds133x
device ata
device atadisk
--
View this message in context: http://freebsd.1045724.n5.nabble.com/Preemption-on-MV78100-ARMv5TE-tp5798411p5798701.html
Sent from the freebsd-arm mailing list archive at Nabble.com.
More information about the freebsd-arm
mailing list