Re: Apple Trackpad driver

2014-01-31 Thread Hans Petter Selasky
On 02/01/14 08:07, Hans Petter Selasky wrote: On 01/31/14 21:30, Danilo E. Gondolfo wrote: I noticed that your driver is based on the Linux driver [1] and some pieces of code are copied, are you sure that we won't have any problems with license? Hi, Hence Huang has only copied so-c

Re: Apple Trackpad driver

2014-02-04 Thread Hans Petter Selasky
On 02/01/14 08:18, Hans Petter Selasky wrote: On 02/01/14 08:07, Hans Petter Selasky wrote: On 01/31/14 21:30, Danilo E. Gondolfo wrote: I noticed that your driver is based on the Linux driver [1] and some pieces of code are copied, are you sure that we won't have any problems with li

[HEADS UP] MacBooks and Apple Trackpads

2014-02-07 Thread Hans Petter Selasky
Hi, A new driver for the Apple Trackpad named "wsp" has been committed and MFC'ed to 9-stable and 10-stable from -current. The trackpad will appear non-working in X.org until HAL is recompiled with support for "wsp" devices. This happens when I MFC "etc/usb.conf" to 9-stable and 10-stable wh

Re: urtwn driver for Edimax EW-7811U WLAN nano USB Adapter

2014-02-10 Thread Hans Petter Selasky
On 02/10/14 13:21, Alexey Dokuchaev wrote: On Tue, Oct 15, 2013 at 11:13:56PM -0700, Rui Paulo wrote: On 8 Oct 2013, at 10:41, Julian H. Stacey wrote: I too am seeing urtwn0: timeout waiting for checksum report Sorry, this is a know problem that I haven't been able to figure out... I

Re: usb_compat_linux.h errors

2014-02-11 Thread Hans Petter Selasky
On 02/11/14 02:05, Joe Nosay wrote: Referencing at https://forums.freebsd.org/viewtopic.php?f=39&t=44691#p249459 I'm wondering if the problem is in my system or not. Hi, 1 warning generated. /usr/local/bin/clang -I. -I. -I./../Programs -I../Programs -I./.. -I.. -DHAVE_CONFIG_H -g -O2 -st

Google Chromebook C720

2014-02-11 Thread Hans Petter Selasky
Hi, Anyone subscribed here that can do some USB tests using FreeBSD on a Google Chromebook, C720? --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-c

Re: Google Chromebook C720

2014-02-11 Thread Hans Petter Selasky
On 02/12/14 08:19, Matthias Apitz wrote: El día Wednesday, February 12, 2014 a las 08:13:40AM +0100, Hans Petter Selasky escribió: Hi, Anyone subscribed here that can do some USB tests using FreeBSD on a Google Chromebook, C720? Does FreeBSD run on Google Chromebook at all

Re: Google Chromebook C720

2014-02-12 Thread Hans Petter Selasky
Hi, Here is at least one patch for USB fixup and there might be more coming. A need someone to test this patch. The issue of problem has been identified thanks to Mattew Dillon at DragonFlyBSD. On 02/12/14 08:51, Adrian Chadd wrote: Yeah, we need: * usb fixed up http://svnweb.freebsd.org/

RE: Build failed in Jenkins: FreeBSD_HEAD #176

2014-02-25 Thread Hans Petter Selasky
Hi, The build failure should be fixed yesterday: http://svnweb.freebsd.org/base?view=revision&revision=262454 I forgot to test using "clang" compiler before committing. --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mail

Re: kqueue for usb_dev

2014-02-26 Thread Hans Petter Selasky
On 02/27/14 07:02, John-Mark Gurney wrote: 2) Why do you try to start read/write transfers in the _filter? You should just check to see if data is available and not do work.. This is also important since kqueue calls the filter just before delivering the knote to userland to verify that there i

Re: kqueue for usb_dev

2014-02-26 Thread Hans Petter Selasky
On 02/27/14 08:13, Kohji Okuno wrote: Hi John-Mark, Thank you for you comment. From: John-Mark Gurney Kohji Okuno wrote this message on Thu, Feb 27, 2014 at 14:26 +0900: I tried add kqueue I/F to usb_dev.c. I attached my patch. What do you think about my patch? A few comments... 1) You sh

Re: kqueue for usb_dev

2014-02-27 Thread Hans Petter Selasky
On 02/27/14 08:42, Kohji Okuno wrote: From: Hans Petter Selasky On 02/27/14 08:13, Kohji Okuno wrote: Hi John-Mark, Thank you for you comment. From: John-Mark Gurney Kohji Okuno wrote this message on Thu, Feb 27, 2014 at 14:26 +0900: I tried add kqueue I/F to usb_dev.c. I attached my

Re: kqueue for usb_dev

2014-02-27 Thread Hans Petter Selasky
Hi Kohji, Can you verify this commit: http://svnweb.freebsd.org/changeset/base/262550 Please test using both read and write direction. For example you can use the ULPT driver or a /dev/usb/X.X.X node which supports both read and write. Thank you! --HPS __

Re: kqueue for usb_dev

2014-02-27 Thread Hans Petter Selasky
On 02/27/14 10:00, Hans Petter Selasky wrote: Hi Kohji, Can you verify this commit: http://svnweb.freebsd.org/changeset/base/262550 Please test using both read and write direction. For example you can use the ULPT driver or a /dev/usb/X.X.X node which supports both read and write. Thank you

Re: kqueue for usb_dev

2014-02-27 Thread Hans Petter Selasky
On 02/27/14 11:39, Kohji Okuno wrote: Hi HPS and John-Mark, After I changed as the following, the kernel panic does not happen. What do you think about this change? + knlist_clear(&f->selinfo.si_note, 0); knlist_destroy(&f->selinfo.si_note); Regards, Kohji Okuno Can you try

Re: kqueue for KBD.

2014-02-27 Thread Hans Petter Selasky
On 02/27/14 11:59, Kohji Okuno wrote: + sc = kbd->kb_dev->si_drv1; + knlist_clear(&sc->gkb_rsel.si_note, 0); + knlist_destroy(&sc->gkb_rsel.si_note); + free(kbd->kb_dev->si_drv1, M_DEVBUF); destroy_dev(kbd->kb_dev); Hi, You should put the "knlist_destroy()" af

Re: PANIC: freebsd-10-stable - acquiring blockable sleep lock with spinlock or critical section held (sleep mutex) Giant @ /usr/src/sys/dev/usb/input/ukbd.c:1929

2014-03-10 Thread Hans Petter Selasky
On 03/10/14 00:45, Oliver Pinter wrote: critical section held Hi, Can you try this patch: http://svnweb.freebsd.org/changeset/base/262972 I suppose this happens if SCROLL LOCK LED is set while rebooting. Thank you! --HPS ___ freebsd-current@freeb

Re: MacPro 2009 again

2014-03-12 Thread Hans Petter Selasky
On 03/12/14 09:25, Nicolas Kozic wrote: Hello all, I come back on FreeBSD. I tried for a couple of months macports, fink on macosx on Mavericks version but it is not the same. On Mavericks we can have X via XQuartz but I miss some softwares and X from FreeBSD is different. So my actual solutio

Re: Leaving the Desktop Market

2014-04-01 Thread Hans Petter Selasky
Hi, On 04/01/14 07:46, Eitan Adler wrote: Hi all, Some of you may have seen my posts entitled "Story of a Laptop User" and "Story of a Desktop User". For those of you who did not, it can be a worthwhile read to see what life is like when using FreeBSD as a desktop. In short, it is an educatio

panic: resource_list_add: resource entry is busy

2014-05-16 Thread Hans Petter Selasky
Hi, I see the following panic: panic: resource_list_add: resource entry is busy When trying to kldload an older pccard driver. The call comes from the driver_added bus method somewhere down the tree. Loading the module before the kernel boots fixes the problem temporarily. Any bells ringing

Re: panic: resource_list_add: resource entry is busy

2014-05-18 Thread Hans Petter Selasky
On 05/17/14 14:14, John Baldwin wrote: On 5/16/14, 12:21 PM, Hans Petter Selasky wrote: Hi, I see the following panic: panic: resource_list_add: resource entry is busy When trying to kldload an older pccard driver. The call comes from the driver_added bus method somewhere down the tree

Re: panic: resource_list_add: resource entry is busy

2014-05-18 Thread Hans Petter Selasky
Hi, First call: resource_list_add: KDB: stack backtrace: #0 0x8089e5f6 at kdb_backtrace+0x66 #1 0x808960f0 at resource_list_add+0x50 #2 0x805ea939 at pccard_function_init+0x279 #3 0x805ebede at pccard_probe_and_attach_child+0x7e #4 0x805ec6ce at pccard_dri

Re: panic: resource_list_add: resource entry is busy

2014-05-19 Thread Hans Petter Selasky
On 05/18/14 23:03, Hans Petter Selasky wrote: Hi, First call: resource_list_add: Hi, It appears that the /dev/pccard.X is opened and reading some CIS data from the device before any driver has been attached. The attached patch solves the panic I've seen. Not sure if the patch is co

Re: Thinkpad T410: resume broken

2014-05-21 Thread Hans Petter Selasky
On 05/21/14 21:16, Jan Henrik Sylvester wrote: Unfortunately, my USB mouse does not work anymore: After the first resume, it took a few seconds until it worked again (the build in touchpad was back immediately). After the second resume, it would not work anymore at all, even after reconnecting it

Patch for Linux Futexes

2014-05-22 Thread Hans Petter Selasky
Hi, When using the Linux Skype client under FreeBSD I sometimes see that the Audio disappears in the one direction. When I check "ps auxw" I see skype is stuck on a so-called Futex. I looked into the Linux futex code and see that wakeup_one() is used instead of wakeup(). Maybe others can test

Re: Patch for Linux Futexes

2014-05-22 Thread Hans Petter Selasky
On 05/22/14 14:18, Chagin Dmitry wrote: On Thu, May 22, 2014 at 01:06:22PM +0200, Hans Petter Selasky wrote: Hi, When using the Linux Skype client under FreeBSD I sometimes see that the Audio disappears in the one direction. When I check "ps auxw" I see skype is stuck on a so-calle

Re: Patch for Linux Futexes

2014-05-22 Thread Hans Petter Selasky
On 05/22/14 20:23, Chagin Dmitry wrote: On Thu, May 22, 2014 at 01:06:22PM +0200, Hans Petter Selasky wrote: Hi, When using the Linux Skype client under FreeBSD I sometimes see that the Audio disappears in the one direction. When I check "ps auxw" I see skype is stuck on a so-calle

Re: About the type of physaddr in struct usb_page.

2014-06-02 Thread Hans Petter Selasky
On 06/02/14 03:22, Kohji Okuno wrote: Hi HPS, I think the type of physaddr in struct usb_page is incorrect. We shuld use bus_addr_t for physaddr. What do you think about this? 60 * The following structure defines physical and non kernel virtual 61 * address of a memory page having s

Re: Change for the worse in rsu wireless driver

2014-06-02 Thread Hans Petter Selasky
On 06/02/14 07:30, Thomas Mueller wrote: I sent this message, without this top part, over an hour ago, and notice wlan0 is still up. I intended but forgot to CC to freebsd-current. But I am in newcons, having not started X so far this boot session. Maybe something rotten with Xorg, or inter

Re: Change for the worse in rsu wireless driver

2014-06-03 Thread Hans Petter Selasky
On 06/03/14 12:15, Thomas Mueller wrote: from Idwer Vollering : I have a patch for that: Index: head/sys/dev/usb/wlan/if_rsu.c === --- head/sys/dev/usb/wlan/if_rsu.c (revision 266970) +++ head/sys/dev/usb/wlan/if_rsu.c (w

Re: Change for the worse in rsu wireless driver

2014-06-03 Thread Hans Petter Selasky
On 06/04/14 04:13, Thomas Mueller wrote: Yes, please apply by hand. I'll see if I can do some testing myself. I happen to have one of these adapters too and the link is very unstable :-) --HPS Sometimes Hiro H50191 USB-stick wireless adapter works well in FreeBSD, sometimes, like now and th

Re: Change for the worse in rsu wireless driver

2014-06-04 Thread Hans Petter Selasky
On 06/04/14 08:53, Hans Petter Selasky wrote: On 06/04/14 04:13, Thomas Mueller wrote: Yes, please apply by hand. I'll see if I can do some testing myself. I happen to have one of these adapters too and the link is very unstable :-) --HPS Hi, Please test the following patch, appli

Re: ohci bricks a amd64 system

2014-06-09 Thread Hans Petter Selasky
On 06/09/14 22:34, Steve Kargl wrote: I updated my FreeBSD-current system from an April 9th kernel/world (r264280M, which was running fine) to today sources (r267284), and have successfully turned the system into a brick if I include the USB ohci device in my kernel. During the verbose boot proce

Re: usb issues on OLD USB 1.0 machine...

2014-06-12 Thread Hans Petter Selasky
On 06/12/14 20:52, John-Mark Gurney wrote: So, I'm trying to get USB functional on an old i386 machine that only supports USB 1.0... It works, but when I try to plug in a hub I get the following: uhub0: 2 ports with 2 removable, self powered Root mount waiting for: usbus0 usb_alloc_device: set a

Re: usb issues on OLD USB 1.0 machine...

2014-06-12 Thread Hans Petter Selasky
On 06/13/14 05:44, Thomas Mueller wrote: Possibly increase the timing variables under: sysctl hw.usb.timings If they are not there, possibly the USB_DEBUG option has been removed from the kernel config. Can you check that? --HPS What are the units for sysctl.hw.usb.timings? Seconds? Mi

[RFC] Huge sysctl patch for the kernel coming - work in progress

2014-06-18 Thread Hans Petter Selasky
Hi, Sometimes sysctl's default value needs to be setup at boot time and not when the rc.d/sysctl is running. Currently this is done by having two statements in the kernel: TUNABLE_INT("net.graph.mppe.log_max_rekey", &mppe_log_max_rekey); SYSCTL_INT(_net_graph_mppe, OID_AUTO, log_max_rekey, CT

Re: [RFC] Huge sysctl patch for the kernel coming - work in progress

2014-06-18 Thread Hans Petter Selasky
On 06/18/14 15:44, John Baldwin wrote: On Wednesday, June 18, 2014 7:36:53 am Hans Petter Selasky wrote: Hi, Sometimes sysctl's default value needs to be setup at boot time and not when the rc.d/sysctl is running. Currently this is done by having two statements in the kernel: TUNABL

Re: [RFC] Huge sysctl patch for the kernel coming - work in progress

2014-06-18 Thread Hans Petter Selasky
On 06/18/14 23:13, John Baldwin wrote: On Wednesday, June 18, 2014 4:36:24 pm Hans Petter Selasky wrote: On 06/18/14 15:44, John Baldwin wrote: On Wednesday, June 18, 2014 7:36:53 am Hans Petter Selasky wrote: Hi, I'll probably put it into the tree next week. I think having CTLFLA

Re: ucom_free Fatal trap on shutdown / module unload

2014-06-20 Thread Hans Petter Selasky
On 06/20/14 04:25, Lundberg, Johannes wrote: Hi I'm getting this error on 11-CURRENT amd64 (snapshot from June). (see attached image) Worked fine with 10 I think.. The ucom module is loaded as a dependency by the uhso module. Any clues? -- Johannes Lundberg [image: Inline image 1] Hi, Po

Re: ucom_free Fatal trap on shutdown / module unload

2014-06-22 Thread Hans Petter Selasky
On 06/23/14 03:30, Lundberg, Johannes wrote: Hi I tried replacing DRIVER_MODULE(uhso, uhub, uhso_driver, uhso_devclass, uhso_driver_loaded, 0); with DRIVER_MODULE_ORDERED(uhso, uhub, uhso_driver, uhso_devclass, uhso_driver_loaded, 0, SI_ORDER_ANY); but makes no difference.. Don't know if its re

Re: Latest -current panic in uaudio_detach() / bus_dmamem_free()

2014-06-22 Thread Hans Petter Selasky
On 06/23/14 04:46, Alexander Kabaev wrote: On Mon, 23 Jun 2014 06:04:20 +0400 Andrey Chernov wrote: Always happens at shutdown after all buffers are synced, see screenshot: http://i.imgur.com/8WXTMPj.png -- http://ache.vniz.net/ Hi Andrey, there's not to much to go on from the screenshoot

Re: ucom_free Fatal trap on shutdown / module unload

2014-06-23 Thread Hans Petter Selasky
On 06/23/14 07:34, Lundberg, Johannes wrote: I added some logging to see what is going on and this is what I got (none of the proposed solution solved the problem) uhso_detach gets called 7 times (for oid 0-6). It crashes the 2nd time on the call usbd_transfer_unsetup(sc->sc_xfer, 3); Hi, Yo

Re: [RFC] Huge sysctl patch for the kernel coming - work in progress

2014-06-26 Thread Hans Petter Selasky
Hi, I've updated my patch according to all comments received: Please review and test before it hits the tree. http://home.selasky.org:8192/sysctl_tunable.diff --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: rsu wireless driver crapshoot

2014-06-26 Thread Hans Petter Selasky
On 06/27/14 06:39, Thomas Mueller wrote: My Internet connection on this computer is very iffy at best, not running as I type this. Motherboard is MSI Z77 MPOWER. Ethernet is Realtek (re): good with NetBSD, Linux and Haiku, (Free,Open and DragonFly)BSD bug out. Only Internet connection for Fr

Re: sysctl: Cannot allocate memory after r267961

2014-06-27 Thread Hans Petter Selasky
On 06/27/14 20:51, Danilo Egea wrote: Hello folks, I've just updated my system (current) and now I'm getting this message: [danilo src$] uname -a uname: sysctl: Cannot allocate memory Some programs are failing due this, like portmaster and chromium. This commit (r267961) has a lot of changes

Re: sysctl: Cannot allocate memory after r267961

2014-06-27 Thread Hans Petter Selasky
On 06/27/14 20:51, Danilo Egea wrote: Hello folks, I've just updated my system (current) and now I'm getting this message: [danilo src$] uname -a uname: sysctl: Cannot allocate memory Some programs are failing due this, like portmaster and chromium. This commit (r267961) has a lot of changes

Re: sysctl: Cannot allocate memory after r267961

2014-06-27 Thread Hans Petter Selasky
On 06/28/14 05:42, Hans Petter Selasky wrote: On 06/27/14 20:51, Danilo Egea wrote: Hello folks, I've just updated my system (current) and now I'm getting this message: [danilo src$] uname -a uname: sysctl: Cannot allocate memory Some programs are failing due this, like port

Re: [head tinderbox] failure on sparc64/sparc64

2014-06-28 Thread Hans Petter Selasky
On 06/28/14 14:49, FreeBSD Tinderbox wrote: TB --- 2014-06-28 11:31:03 - tinderbox 2.22 running on freebsd-current.sentex.ca TB --- 2014-06-28 11:31:03 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 d...@freebsd-current.sentex.ca:/

Re: [head tinderbox] failure on arm/arm

2014-06-28 Thread Hans Petter Selasky
TB --- 2014-06-28 16:10:48 - /usr/bin/make -B buildkernel KERNCONF=LINT I'm fixing this one shortly and a few others. Just waiting for my "make universe" to complete. --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailm

Re: ucom_free Fatal trap on shutdown / module unload

2014-06-29 Thread Hans Petter Selasky
On 06/30/14 06:01, Lundberg, Johannes wrote: As I mention in earlier mail, it is when I comment out following lines it works # For full debugger support use (turn off in stable branch): options DDB # Support DDB. options GDB # Support remot

Re: ucom_free Fatal trap on shutdown / module unload

2014-06-30 Thread Hans Petter Selasky
Hi, Try the attached patch. Does it make any difference? --HPS === uhso.c == --- uhso.c (revision 268059) +++ uhso.c (local) @@ -559,8 +559,6 @@ mtx_init(&sc->sc_mtx, "uhso", NULL, MTX_DEF); ucom_ref(&sc->sc_super_ucom); - sc-

Re: ucom_free Fatal trap on shutdown / module unload

2014-07-01 Thread Hans Petter Selasky
Hi Johannes, Thank you for your patience! http://svnweb.freebsd.org/changeset/base/268078 --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-un

[HEADS-UP] Problem with clang in 9-stable [was: r268244 (stable/9) seems to break "sysctl hw.ncpu"]

2014-07-04 Thread Hans Petter Selasky
Hi, Can you try to reproduce this: Checkout 9-stable's src/sbin/sysctl only. cd /usr/9-stable/src/sbin/sysctl env CC=clang make clean all ./sysctl -n hw.ncpu Then: env CC=gcc make clean all ./sysctl -n hw.ncpu clang --version FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 2012122

Re: [HEADS-UP] Problem with clang in 9-stable [was: r268244 (stable/9) seems to break "sysctl hw.ncpu"]

2014-07-04 Thread Hans Petter Selasky
Hi, I've reverted the MFC of r267960: http://svnweb.freebsd.org/changeset/base/268263 I did some checking and the patch makes access to a non-initialized variable, due to other missing patches prior to mine, probably making compiler differences show up on my side. It appears the patch cannot b

Re: ZFS ARC max sort of not working?

2014-07-04 Thread Hans Petter Selasky
On 07/05/14 02:01, Steven Hartland wrote: Related to the global sysctl changes recently perhaps? I'll have a look. The global tunables only support integers and strings, no human shortcuts. This should be easy to fix though. --HPS ___ freebsd-cur

Re: ZFS ARC max sort of not working?

2014-07-04 Thread Hans Petter Selasky
On 07/05/14 07:40, Hans Petter Selasky wrote: On 07/05/14 02:01, Steven Hartland wrote: Related to the global sysctl changes recently perhaps? I'll have a look. The global tunables only support integers and strings, no human shortcuts. This should be easy to fix though. Hi, The foll

[RFC] Allow m_dup() to use JUMBO clusters

2014-07-07 Thread Hans Petter Selasky
Hi, I'm asking for some input on the attached m_dup() patch, so that existing functionality or dependencies are not broken. The background for the change is to allow m_dup() to defrag long mbuf chains that doesn't fit into a specific hardware's scatter gather entries, typically when doing TSO

Re: [RFC] Allow m_dup() to use JUMBO clusters

2014-07-07 Thread Hans Petter Selasky
On 07/08/14 04:14, Yonghyeon PYUN wrote: On Mon, Jul 07, 2014 at 10:12:07AM +0200, Hans Petter Selasky wrote: Hi, I'm asking for some input on the attached m_dup() patch, so that existing functionality or dependencies are not broken. The background for the change is to allow m_dup() to d

Re: [RFC] Allow m_dup() to use JUMBO clusters

2014-07-08 Thread Hans Petter Selasky
Hi, Would it be better if my patch used the PAGE_SIZE clusters instead of the 16K ones? Then it should not be affected by memory defragmentation. Thanks for shedding some light into this area? --HPS Hi, Updated patch attached. --HPS === sys/kern/uipc_mbuf.c

[RFC] Add support for changing the flow ID of TCP connections

2014-07-08 Thread Hans Petter Selasky
Hi, I'm working on a new feature which will allow TCP connections to be timing controlled by the ethernet hardware driver, actually the mlxen driver. The main missing piece in the kernel is to allow the mbuf's flowid value to be overwritten in "struct inpcb" once the connection is established

Re: [RFC] Add support for changing the flow ID of TCP connections

2014-07-09 Thread Hans Petter Selasky
On 07/08/14 21:17, Navdeep Parhar wrote: On 07/08/14 10:46, Hans Petter Selasky wrote: Hi, I'm working on a new feature which will allow TCP connections to be timing controlled by the ethernet hardware driver, actually the mlxen driver. The main missing piece in the kernel is to allo

bsd.sys.mk [-Wno-uninitialized]

2014-07-15 Thread Hans Petter Selasky
On 07/05/14 15:10, David Chisnall wrote: On 5 Jul 2014, at 14:07, Dimitry Andric wrote: Interestingly, -Wno-uninitialized has been in bsd.sys.mk since r76861, and the accompanying comment ("XXX Delete -Wuninitialized by default for now -- the compiler doesn't always get it right") has never be

Re: [RFC] Add support for changing the flow ID of TCP connections

2014-07-15 Thread Hans Petter Selasky
On 07/09/14 18:31, Navdeep Parhar wrote: On Wed, Jul 09, 2014 at 04:36:53PM +0200, Hans Petter Selasky wrote: On 07/08/14 21:17, Navdeep Parhar wrote: ... I think we need to design this to be as generic as possible. I have quite a bit of code that does this stuff but I haven't push

Re: USB 2.0 webcam in virtualbox on CURRENT not working!

2014-07-16 Thread Hans Petter Selasky
On 07/16/14 13:40, Maciej Milewski wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16.07.2014 13:28, O. Hartmann wrote: I desperately need to have a SKYPE based chat with an offshore department. Since Skype is not a native port, I try to use a virtual box running Windows 7. And here th

Re:

2014-08-10 Thread Hans Petter Selasky
On 08/10/14 08:05, Garrett Cooper wrote: Hi, As a heads up, it appears that some sysctl output is broken on CURRENT... please see this bug for more details: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192544 . Thank you! -Garrett Hi, Should be fixed now. This is a bug in the networ

[RFC] Add support for hardware transmit rate limiting queues [WAS: Add support for changing the flow ID of TCP connections]

2014-08-20 Thread Hans Petter Selasky
Hi, A month has passed since the last e-mail on this topic, and in the meanwhile some new patches have been created and tested: Basically the approach has been changed a little bit: - The creation of hardware transmit rings has been made independent of the TCP stack. This allows firewall app

Re: [RFC] Add support for hardware transmit rate limiting queues [WAS: Add support for changing the flow ID of TCP connections]

2014-08-20 Thread Hans Petter Selasky
Hi Luigi, On 08/20/14 11:32, Luigi Rizzo wrote: On Wed, Aug 20, 2014 at 9:34 AM, Hans Petter Selasky wrote: Hi, A month has passed since the last e-mail on this topic, and in the meanwhile some new patches have been created and tested: Basically the approach has been changed a little bit

Re: RFC: Remove pty(4)

2014-08-20 Thread Hans Petter Selasky
On 08/20/14 20:00, Davide Italiano wrote: One of my personal goals for 11 is to get rid of cloning mechanism entirely, and pty(4) is one of the few in-kernel drivers still relying on such mechanism. It's not possible, at least to my understanding, converting pty(4) to cdevpriv(9) as happened with

Re: [RFC] Add support for hardware transmit rate limiting queues [WAS: Add support for changing the flow ID of TCP connections]

2014-08-20 Thread Hans Petter Selasky
On 08/20/14 20:44, Navdeep Parhar wrote: On 08/20/14 00:34, Hans Petter Selasky wrote: Hi, A month has passed since the last e-mail on this topic, and in the meanwhile some new patches have been created and tested: Basically the approach has been changed a little bit: - The creation of

[RFC] Patch to improve TSO limitation formula in general

2014-09-05 Thread Hans Petter Selasky
Hi, I've tested the attached patch with success and would like to have some feedback from other FreeBSD network developers. The problem is that the current TSO limitation only limits the number of bytes that can be transferred in a TSO packet and not the number of mbuf's. The current solutio

Re: [RFC] Patch to improve TSO limitation formula in general

2014-09-05 Thread Hans Petter Selasky
On 09/05/14 23:19, Eric Joyner wrote: There are some concerns if we use this with devices that ixl supports: - The maximum fragment size is 16KB-1, which isn't a power of 2. Hi Eric, Multiplying by powers of two are more fast, than non-powers of two. So in this case you would have to use 8K

Re: [RFC] Patch to improve TSO limitation formula in general

2014-09-05 Thread Hans Petter Selasky
On 09/06/14 00:09, Rick Macklem wrote: Hans Petter Selesky wrote: On 09/05/14 23:19, Eric Joyner wrote: There are some concerns if we use this with devices that ixl supports: - The maximum fragment size is 16KB-1, which isn't a power of 2. Hi Eric, Multiplying by powers of two are more fas

Re: [RFC] Patch to improve TSO limitation formula in general

2014-09-07 Thread Hans Petter Selasky
On 09/06/14 00:09, Rick Macklem wrote: Hans Petter Selesky wrote: On 09/05/14 23:19, Eric Joyner wrote: There are some concerns if we use this with devices that ixl supports: - The maximum fragment size is 16KB-1, which isn't a power of 2. Hi Eric, Multiplying by powers of two are more fas

Re: [RFC] Patch to improve TSO limitation formula in general

2014-09-11 Thread Hans Petter Selasky
Hi Rick, Did you get a chance to look further at my patch? Is this something we can commit? --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-

Re: CDC-WDM driver (4G modems)

2014-09-11 Thread Hans Petter Selasky
On 09/11/14 15:23, Nick Hibma wrote: Folks, Hans-Petter, Is anyone aware of an effort to create support for QMI based 4G modems? The following parts need to be implemented I think: - CDC-WDM support - Wrapper driver to access QMI devices as WDM? - libqmi port to FreeBSD

Re: [RFC] Patch to improve TSO limitation formula in general

2014-09-13 Thread Hans Petter Selasky
Hi Rick, I've collected all input from this discussion and committed the following patch to -current. I would like to MFC this to 10-stable before the coming 10-branchout. Sorry I'm rushing this a bit, hence there is only 2 weeks left until the branching happens. http://svnweb.freebsd.org/ch

Re: Supermicro 6027R-N3RF+head, usb trouble

2013-04-21 Thread Hans Petter Selasky
On 04/21/13 21:38, Sergey V. Dyatko wrote: Hi, Can anybody explain why USB keyboard (and keyboard from integrated IPKVM) doesn't work when I boot with 'C606 chipset Dual 4-Port SATA/SAS Storage Control Unit' enabled in bios? Also I can't boot that box from usb memstick and FreeBSD-10.0-CURRENT

Re: Supermicro 6027R-N3RF+head, usb trouble

2013-04-22 Thread Hans Petter Selasky
Hi, how I can do that ? Hi, vmstat -m There is also an interactive command in the debugger! --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-cu

Re: 10-CURRENT i386 memstick snapshots broken?

2013-06-07 Thread Hans Petter Selasky
On 06/07/13 22:51, Jimmy wrote: Greetings - I had originally started playing with the 10-CURRENT amd64 release a couple of months ago (no complaints here - keep up the good work!) and had used the memstick snapshot to set things up back then with no problems. Now I'd like to wipe everything and

Re: USB Keyboard not worked on current (r251681)

2013-06-14 Thread Hans Petter Selasky
On 06/14/13 10:50, Vitalij Satanivskij wrote: Hello There is system - CPU: Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz (2400.05-MHz K8-class CPU) real memory = 137438953472 (131072 MB) avail memory = 132517056512 (126378 MB) motherboard - X9DR3-F Keyboard is Logitech, identified as ugen1.2:

Re: USB Keyboard not worked on current (r251681)

2013-06-14 Thread Hans Petter Selasky
See this thread and solution "Supermicro 6027R-N3RF+head, usb trouble" --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org

RE: USB Keyboard not worked on current (r251681)

2013-06-15 Thread Hans Petter Selasky
i, Jun 14, 2013 at 12:41:28PM +0300, Sergey V. Dyatko wrote: > > On Fri, 14 Jun 2013 11:36:56 +0200 > > Hans Petter Selasky wrote: > > > > > See this thread and solution "Supermicro 6027R-N3RF+head, usb trouble" > > > > > It was 'fixed

RE: USB Keyboard not worked on current (r251681)

2013-06-15 Thread Hans Petter Selasky
Hi, sys/dev/usb/usb_busdma.c Just add error printf() there in all cases. Should be trivial. Probably also something is printed by: sysctl hw.usb.debug=15 --HPS -Original message- > From:Konstantin Belousov > Sent: Saturday 15th June 2013 12:24 > To: Hans Petter Selasky >

Re: usb ACM device doesn't work

2013-06-22 Thread Hans Petter Selasky
On 06/22/13 20:54, Ian FREISLICH wrote: "Daniel O'Connor" wrote: On 22/06/2013, at 4:10, Ian FREISLICH wrote: I bought a relay control board that has a USB interface. It presents a serial port to Linux on /dev/ttyACMx. However when I plug it into my FreeBSD host, it detects as follows: uge

NULL pointer crash in exit1() when running certain Linux binaries

2013-06-22 Thread Hans Petter Selasky
Hi, The following crash has been observed using FreeBSD 9-stable amd64: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x20 fault code = supervisor read data, page not present instruction pointer = 0x20:0x81765bb6 stack p

Re: usb ACM device doesn't work

2013-06-23 Thread Hans Petter Selasky
On 06/23/13 10:33, Ian FREISLICH wrote: status 0xea1a1 10:29:19.904434 usbus0.2 SUBM-BULK-EP=0002,SPD=FULL,NFR=1,SLEN=4,IVAL=0 frame[0] WRITE 1 bytes 6F -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |o | flags 0x9 status 0x4a023 If you don't get a DONE-BU

Re: USB gadget examples

2013-07-22 Thread Hans Petter Selasky
On 07/22/13 17:15, Alie Tan wrote: Hi, May I know what is this USB gadget examples for? http://svnweb.freebsd.org/base?view=revision&revision=253544 http://svnweb.freebsd.org/base?view=revision&revision=253546 Regards, Alie T Hi, These examples are for implementing a real USB device, I.E. no

Re: Panic at USB drive plugging in

2013-07-23 Thread Hans Petter Selasky
On 07/23/13 17:12, Jia-Shiun Li wrote: Hi all, as personal preference I compiled kernel with drivers as module as possible. Recently I found that plugging in USB drives causes kernel to panic. But it does not happen when booting with GENERIC kernel which has USB drivers compiled in. panic scree

FYI: Advanced USB compliance testing tool now in the tree (10-current only)

2013-08-09 Thread Hans Petter Selasky
Hi, For those of you that want to make sure your USB mass storage device behaves correctly when using FreeBSD, typically for critical applications, I've just added an advanced USB testing tool to the FreeBSD source tree. It can be used to stress your USB mass storage device in ways that are b

Re: FYI: Advanced USB compliance testing tool now in the tree (10-current only)

2013-08-11 Thread Hans Petter Selasky
On 08/10/13 23:34, Kevin Oberman wrote: On Fri, Aug 9, 2013 at 1:33 PM, Hans Petter Selasky wrote: Hi, For those of you that want to make sure your USB mass storage device behaves correctly when using FreeBSD, typically for critical applications, I've just added an advanced USB testing

Re: USB no proper work

2013-08-16 Thread Hans Petter Selasky
On 08/16/13 22:05, Alexander Panyushkin wrote: uname -a FreeBSD scorpion.kiev.ua 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r254417M: Fri Aug 16 21:53:47 EEST 2013 r...@scorpion.kiev.ua:/usr/obj/usr/src/sys/Kernel amd64 After first attach USB Flash drive - is good mount. After detach and attach again

Re: USB no proper work

2013-08-16 Thread Hans Petter Selasky
On 08/16/13 22:38, Alexander Panyushkin wrote: This deatach== Aug 16 23:24:05 scorpion kernel: ugen1.2: at usbus1 (disconnected) Aug 16 23:24:05 scorpion kernel: umass0: at uhub0, port 4, addr 2 (disconnected) Aug 16 23:24:05 scorpion kernel: (da0:umass-sim0:0:0:0): lost device -

Re: USB no proper work

2013-08-17 Thread Hans Petter Selasky
On 08/17/13 23:55, Alexander Panyushkin wrote: 17.08.2013 19:41, Alexander Motin пишет: On 17.08.2013 09:22, Hans Petter Selasky wrote: On USB device FAT-32 file system. When I removed flash drive, the file system has been unmounted. Hi, The problem might be in the GELI module then

Re: USB no proper work

2013-08-19 Thread Hans Petter Selasky
On 08/19/13 21:54, Alexander Panyushkin wrote: 18.08.2013 01:04, Hans Petter Selasky пишет: On 08/17/13 23:55, Alexander Panyushkin wrote: 17.08.2013 19:41, Alexander Motin пишет: On 17.08.2013 09:22, Hans Petter Selasky wrote: On USB device FAT-32 file system. When I removed flash

Re: ulpt can't attach Lexmark E120

2013-08-22 Thread Hans Petter Selasky
On 08/22/13 13:24, George Mitchell wrote: As I was saying a few minutes ago ... On 01/27/13 17:32, George Mitchell wrote: On 01/27/13 14:07, Hans Petter Selasky wrote: [...] I need output when hw.usb.ulpt.debug=15 to say exactly. Could you ask the provider of the binaries to compile having

Re: ulpt can't attach Lexmark E120

2013-08-22 Thread Hans Petter Selasky
On 08/23/13 02:29, George Mitchell wrote: On 08/22/13 07:34, Hans Petter Selasky wrote: Here's the result: root@pi:/ # usbdump -i usbus0 -f 4 -s 65536 00:26:01.592494 usbus0.4 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=0 00:26:01.593117 usbus0.4 DONE-CTRL-EP=,SPD=FULL,

Re: ulpt can't attach Lexmark E120

2013-08-23 Thread Hans Petter Selasky
On 08/24/13 02:44, George Mitchell wrote: On 08/23/13 07:11, George Mitchell wrote: On 08/23/13 02:18, Hans Petter Selasky wrote: On 08/23/13 02:29, George Mitchell wrote: On 08/22/13 07:34, Hans Petter Selasky wrote: Give that the printer works fine with the same code on my amd64

Re: devel/gettext build error in jail i386 environment on amd64 host

2013-08-24 Thread Hans Petter Selasky
On 08/23/13 23:14, Ivan Klymenko wrote: wing error: http://privatepaste.com/46f9477022 Not sure if this helps: https://wiki.freebsd.org/PkgPrimer Using portbuilder inside a jail When building 9-stable ports in a 9-stable jail under -current you might want to set the UNAME_r enviroment varia

Re: ulpt can't attach Lexmark E120

2013-08-25 Thread Hans Petter Selasky
On 08/24/13 20:21, George Mitchell wrote: Setting hw.usb.dwc_otg.debug to any value greater than 0 generates an unending stream of debug output and effectively locks up the chip scrolling the output on the display. Perhaps there are some specific debug messages I could put in ...

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-26 Thread Hans Petter Selasky
On 08/26/13 17:55, Lundberg, Johannes wrote: Just looked through the PR mail that came today and found possible duplicates. o usb/180726 usbXHCI umass support breaks between r248085 and r252560 o usb/179342 usbFreebsd 10.0-current USB 3.0 not working (xhci_do_coma Hi, Wha

<    2   3   4   5   6   7   8   9   10   11   >