freebsd-current mailing list

FromSubjectsort iconDate
Alexander Motin
Re: Event based scheduling and USB.
I haven't noticed that issue and it is surely not expected for me. I will try to reproduce it. Most likely you should be able to avoid interrupt sharing using some I can't say about USB, but you may try this patch to optimize some other Surely it is. I was even thinking about possibility to port one from OpenSolaris, but other work distracted me. You may take it, it you wish. -- Alexander Motin _______________________________________________ freebsd-current@freebsd.org mailing ...
Oct 26, 12:57 pm 2010
Takanori Watanabe
Event based scheduling and USB.
I updated my FreeBSD tree on laptop, to the current as of 18 Oct.2010, it works fine with CPU C3 state enabled, I think this is your achievement of event time scheduler, thanks! But when USB driver is enabled, the load average is considerablly high (0.6 to 1.0) if sysctl oid kern.eventtimer.periodic is set to 0. Then kern.eventtimer.periodic is set to 1, the load average goes to 0 quickly as before, but almost never transit to C3. Is this behavior expected, or something wrong? I noticed ...
Oct 26, 12:04 pm 2010
Nate Lawson
Re: Event based scheduling and USB.
The USB controller often keeps the bus mastering bit set. This keeps the system out of C3. The way to fix this is to implement global suspend. Put a device in suspend mode and then turn off power to the USB port it This seems silly. The whole point of APIC is to avoid clustering on a It seems worth doing the internals new, but maybe outputting information in a compatible format for reporting tools. -- Nate _______________________________________________ freebsd-current@freebsd.org ...
Oct 26, 3:44 pm 2010
Matthew Fleming
intr_event_destroy(9)
It looks like a bug in intr_event_destroy(9): I'm trying to unload a new driver being developed internally for NVRAM, and I get this WITNESS warning and hang: # kldunload rnv Sleeping on "ithdty" with the following non-sleepable locks held: exclusive sleep mutex intr event list (intr event list) r = 0 (0xffffffff806f9560) locked @ /data/sb/BR_BONNEVILLE_HW/src/sys/kern/kern_intr.c:404 KDB: stack backtrace: [ffffffff801a544d] db_trace_self_wrapper+0x3d [ffffffff802e7b26] ...
Oct 26, 8:55 am 2010
John Baldwin
Re: intr_event_destroy(9)
No, it's actually on purpose I think as the other bits under notyet destroy the thread when the last handler for it goes away. However, ithread_destroy() does not block in any of 7.x or later: static void ithread_destroy(struct intr_thread *ithread) { struct thread *td; CTR2(KTR_INTR, "%s: killing %s", __func__, ithread->it_event->ie_name); td = ithread->it_thread; thread_lock(td); ithread->it_flags |= IT_DEAD; if (TD_AWAITING_INTR(td)) { TD_CLR_IWAIT(td); sched_add(td, ...
Oct 26, 9:46 am 2010
Matthew Fleming
Re: intr_event_destroy(9)
Gah, yes, it looks like a local change we can probably do without. And as it turns out the driver can pass NULL to siw_add() and skip the intr_event_destroy() anyways. Thanks for the help! Sorry for the noise. matthew _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Oct 26, 9:56 am 2010
Xin LI
[PATCH] top(1) inverse display of table header
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, Here is a patch that makes top(1) to inverse its table header (PID USERNAME THR, etc). Cheers, - -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 ...
Oct 25, 5:42 pm 2010
Garrett Cooper
Re: [PATCH] top(1) inverse display of table header
Huh? I'm not quite sure what are you trying to achieve; a before and after snapshot would help. Thanks! -Garrett _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Oct 25, 5:48 pm 2010
Xin LI
Re: [RFC] More meaningful information about ENOEXEC for ...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 I'm thinking about the attached patch which turns printf(9) to uprintf(9) call. Cheers, - -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 ...
Oct 25, 6:06 pm 2010
Garrett Cooper
Re: [RFC] More meaningful information about ENOEXEC for ...
Well.. I'm not saying the current output is the best, but I just don't want to dig a deeper hole that will further confuse people, as Wouldn't noting this in the manpage be sufficient? I ran into this `item' (:)..) today after a power outage because nvidia-driver was built against different kernel headers, and it prints out the error clear as day on /dev/console, so I'm tempted to say that documenting the behavior is enough as long as it's clear that that is in fact the behavior ...
Oct 25, 5:53 pm 2010
Garrett Cooper
Re: [RFC] More meaningful information about ENOEXEC for ...
Err... that would cause problems if someone was reading the syslog output as it would no longer be logged (from uprintf(9)): The uprintf() function outputs to the current process' controlling tty, while printf() writes to the console as well as to the logging facility. I personally like reading syslog output more than I do like reading the console because messages can get lost on the console quicker :/... Is there a hybrid ...
Oct 25, 6:34 pm 2010
Ivan Voras
Re: [RFC] More meaningful information about ENOEXEC for ...
Luckily in your case, it happened *before* starting X :) _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Oct 26, 3:11 am 2010
John Baldwin
Re: [RFC] More meaningful information about ENOEXEC for ...
The reason I vote know is that ENOEXEC can mean several things. I thought you had a patch to catch the actual kernel error message and pass it back to userland. That would be a useful feature, but this message doesn't really help and can point people in the wrong direction if their error is due to a different problem. If you want to help the user, then I think a more useful approach would be to tell the user to check dmesg for error messages when kldload(2) fails with ENOEXEC. -- ...
Oct 26, 6:26 am 2010
Doug Barton
Re: [RFC] More meaningful information about ENOEXEC for ...
I think _also_ adding it to the man page would be appropriate. IMO this is an area where we have to try and think more like users, and less like developers. Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ _______________________________________________ freebsd-current@freebsd.org mailing ...
Oct 25, 11:35 pm 2010
Paul B Mahol
Re: Broadcom BCM4310 USB Controller (Wifi)
Sharing you experience would help (if you are not on amd64). _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Oct 26, 7:09 am 2010
Alberto Villa
Re: Broadcom BCM4310 USB Controller (Wifi)
i have the same problem with a BCM43225. there is a linux driver: is anyone going to port it in the near future? would a donation help the i've tried ndis without success... -- Alberto Villa, FreeBSD committer <avilla@FreeBSD.org> http://people.FreeBSD.org/~avilla _______________________________________________ freebsd-current@freebsd.org mailing list