freebsd-current mailing list

FromSubjectsort iconDate
Takeshi HASEGAWA
Another virtio drivers for FreeBSD
Hi freebsd-current, I noticed there are some threads about virtio drivers for FreeBSD and NetBSD on this mailing list, so I would like to post my virtio drivers. I've worked on these drivers for a few months to understand para-virtalized drivers. I sent early versions to Rusty Russel, the author of virtio, since I attended to Rusty's virtio session at LinuxCon 2010 Tokyo and decided to work on it. My virtio-net & virtio-blk driver is not complete just now, but it looks working fine. I ...
Jan 3, 8:11 am 2011
dsc fbsd.current
RE: jailing MYSQL error [SOLVED]
Hello, SOLVED ! But the problem was in another place. Host world and kernel were build with src r215329 (patched with head-v28-v2.patch from Martin Matuska), but ezjail buildworld was made using more recent sources with no patch (in fact I was trying to apply the same patch to more recent sources, but it doesn't work ... but that's another issue). Mysql seems to have problems in this case (kernel and world based on different versions of src). But other stuff work just fine. So, first I've ...
Jan 3, 6:20 am 2011
Matthew D. Fuller
Re: Oddities in -current post-eventtimer
On Mon, Jan 03, 2011 at 01:21:10PM +0200 I heard the voice of Shoot, I missed that going by. Sorry for the noise; I guess I've got a good excuse to go upgrade now 8-} -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. _______________________________________________ freebsd-current@freebsd.org mailing ...
Jan 3, 4:58 am 2011
Alexander Motin
Re: Oddities in -current post-eventtimer
Symptoms look very alike to ones fixed at r214597 on 2010-10-31: Fix callout_tickstofirst() behavior after signed integer ticks overflow. This should fix callout precision drop to 1/4s after 25 days of uptime with HZ = 1000. -- Alexander Motin _______________________________________________ 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"
Jan 3, 4:21 am 2011
Matthew D. Fuller
Oddities in -current post-eventtimer
OK, this has happened a couple times now. I'm running a mid-Oct -CURRENT, and at around 25 days uptime (not exact but consistently in that vicinity), things start getting very choppy. It's easily visible in playing videos; things get very jerky and slow, but all sorts of things start acting like they're happening in little chunks of time; keyboard repeats get very slow, things that often take notable time take much more, etc. It's accompanied by a big spat of "calcru: runtime went backwards" ...
Jan 3, 3:28 am 2011
Adam Vande More
Re: [Call for testers] FreeBSD VirtIO Network Driver
Thanks for this work, I'm sure it will be quite useful. I'm testing on a FreeBSD Virtualbox Host/Guest. Guest is CURRENT kern.osrevision: 199506 virtualbox-ose-3.2.10_2 My particular version of Virtualbox isn't optimized yet for virtio I believe, but I did see about 1/3 higher peak bandwidth and a definite reduction in CPU usage. -- Adam Vande More _______________________________________________ freebsd-current@freebsd.org mailing ...
Jan 3, 12:09 am 2011
Edward Tomasz Napierała
Re: No human readable message with g_vfs
I had code that adds strerror() to the kernel in one of my old p4 branches. Error messages like the one above look much better this way, but I didn't have time to push it into the tree, and there is a risk of yet another i18n discussion. If someone is interested - let me know; I'll try to find it. -- If you cut off my head, what would I say? Me and my head, or me and my body? _______________________________________________ freebsd-current@freebsd.org mailing ...
Jan 3, 9:33 am 2011
Matthias Andree
Re: No human readable message with g_vfs
nah, strerror(errno) isn't that much of an effort _______________________________________________ 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"
Jan 3, 6:16 am 2011
Bakul Shah
Re: No human readable message with g_vfs
And you can use grep tricks :-) $ errno '[dD]evice' #define ENXIO 6 /* Device not configured */ #define ENOTBLK 15 /* Block device required */ #define EBUSY 16 /* Device busy */ #define EXDEV 18 /* Cross-device link */ #define ENODEV 19 /* Operation not supported by device */ #define ENOTTY 25 /* Inappropriate ioctl for device */ #define ENOSPC 28 ...
Jan 3, 12:53 pm 2011
Anonymous
Re: No human readable message with g_vfs
perror(1) displays localized messages $ LANG=ja_JP.UTF-8 perror 5 入出力エラーです $ LANG=uk_UA.UTF-8 perror 5 Помилка вводу-виводу but I have to agree that knowing errno macro is useful _______________________________________________ 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"
Jan 3, 12:21 pm 2011
Bakul Shah
Re: No human readable message with g_vfs
I prefer mine: $ errno () { grep "^#.*\\<$*\\>" /usr/include/sys/errno.h } $ errno 5 #define EIO 5 /* Input/output error */ $ errno EIO #define EIO 5 /* Input/output error */ _______________________________________________ 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"
Jan 3, 12:02 pm 2011
Ivan Voras
Re: No human readable message with g_vfs
Would a better message be "WRITE error on da0, offset=34590720. length=65536, errno=5"? _______________________________________________ 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"
Jan 3, 6:14 am 2011
Kostik Belousov
Re: No human readable message with g_vfs
In kernel ? There is no strerror, and there is no great need to import the sys_errlist.
Jan 3, 7:18 am 2011
Garrett Cooper
Re: No human readable message with g_vfs
Some thoughts: - It's a pain to parse (before I just had to scan for an int -- now it's a string?!?) - It slows down printing (slow kernel -> dog slow system). - Fills up logs quicker if a subsystem or piece of hardware is going south and these messages slam syslog, which means I have to scan more logs looking for useful data, the likelihood of messages being lost in various buffers is higher, etc. Why not just provide a more standard sensical printout for the messages and provide a secret ...
Jan 3, 10:55 am 2011
Garrett Cooper
Re: No human readable message with g_vfs
Heh -- didn't realize that someone made a userland app for that libcall already :D... You learn new things everyday I guess :). In that case IMO nothing needs to be done minus (if you're interested) creating a parser that data mines stuff to make it more human readable in a common format, i.e. error: 5 (Input/output error) <subsystem specific information does here> Thanks! -Garrett_______________________________________________ freebsd-current@freebsd.org mailing ...
Jan 3, 11:41 am 2011
Anonymous
Re: No human readable message with g_vfs
Do you mean perror(1)? $ perror 5 _______________________________________________ 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"
Jan 3, 11:20 am 2011
previous daytodaynext day
January 2, 2011January 3, 2011January 4, 2011