Re: Kernel-Crash when working with ubt0

2019-08-30 Thread Maksim Yevmenkin
[trimming the list of recipients] On Fri, Aug 30, 2019 at 12:08 PM Miranda Maria Sophie Van den Breukelingen wrote: > > works for me as far as pairing concernes (with patch -C > .diff.txt > > option LOCK_PROFILING > option WITNESS > > is on in kern.config. My problem presists in

Re: Kernel-Crash when working with ubt0

2019-08-30 Thread Maksim Yevmenkin
>> > patch -p1 worked for me to apply it. >> > >> > And it worked just fine for everything once I rebooted. The patch looked >> > fine to my eye. >> >> thanks Warner >> >> please find attached (more complete) patch that should address issue >> of holding lock over copyin/out (or so i claim). > >

Re: Kernel-Crash when working with ubt0

2019-08-29 Thread Maksim Yevmenkin
On Wed, Aug 28, 2019 at 6:48 PM Warner Losh wrote: > patch -p1 worked for me to apply it. > > And it worked just fine for everything once I rebooted. The patch looked fine > to my eye. thanks Warner please find attached (more complete) patch that should address issue of holding lock over

Re: Kernel-Crash when working with ubt0

2019-08-28 Thread Maksim Yevmenkin
> > > Hmm... interesting > > > > > > I only took a brief look at it. I suppose I can ensure user space address > > > is wired and then copyout() can be called with mutex held > > > > >No, you cannot do this, at least without making the kernel to panic. > > User might unmap the wired mapping

Re: Kernel-Crash when working with ubt0

2019-08-27 Thread Maksim Yevmenkin
> > Hmm... interesting > > > > I only took a brief look at it. I suppose I can ensure user space address > > is wired and then copyout() can be called with mutex held > > >No, you cannot do this, at least without making the kernel to panic. > User might unmap the wired mapping at any time

Re: Kernel-Crash when working with ubt0

2019-08-26 Thread maksim yevmenkin
> On Aug 26, 2019, at 9:14 AM, Warner Losh wrote: > > Is it from read_connection_list? If so I have a 'patch' that I'm using but > haven't committed because it's just too gross: drop the lock before the > copyout and pick it up again after... > Hmm... interesting I only took a brief

Re: bluetooth not working in recent current

2016-05-26 Thread Maksim Yevmenkin
Graham, > Last night I updated to the latest -current source and did a build of world > and kernel. The problem seems to have disappeared! So, either there was > something broken in the source when I did my previous update, or something > went wrong in my last build/install. Either way, it's all

Re: bluetooth not working in recent current

2016-05-26 Thread Maksim Yevmenkin
Graham, can you also please try to start it manually and see where it stops? i.e. something like # sh -x /etc/rc.d/bluetooth start ubt0 >>> >>> Thanks for responding. The output of that command is below. I'll do some >>> more diagnosis when I get home tonight. >> >> +

Re: bluetooth not working in recent current

2016-05-25 Thread Maksim Yevmenkin
Graham, >> can you also please try to start it manually and see where it stops? >> i.e. something like >> >> # sh -x /etc/rc.d/bluetooth start ubt0 > > Thanks for responding. The output of that command is below. I'll do some > more diagnosis when I get home tonight. thanks a lot [...] > +

Re: bluetooth not working in recent current

2016-05-25 Thread Maksim Yevmenkin
Hi Graham On Tue, May 24, 2016 at 1:31 AM, Graham Menhennitt wrote: > I've been running 11-current AMD64 on this machine for about a year. It > has a bluetooth dongle that has worked correctly up until a week ago. I > updated to the latest source around then, so I

Re: obtaining a minidump from panic() called from NMI handler

2015-06-12 Thread Maksim Yevmenkin
Andriy, i have a question about obtaining minidump as result of panic() being called from nmi handler. basically, i have a way to trigger nmi, and, i would like to panic() system and obtain a minidump. i have modified isa_nmi() to appropriately inspect bits and return non-zero return code.

obtaining a minidump from panic() called from NMI handler

2015-06-10 Thread Maksim Yevmenkin
hello, i have a question about obtaining minidump as result of panic() being called from nmi handler. basically, i have a way to trigger nmi, and, i would like to panic() system and obtain a minidump. i have modified isa_nmi() to appropriately inspect bits and return non-zero return code. i have

Re: [PATCH] Convert bluetooth from timeout(9) to callout(9)

2014-09-19 Thread Maksim Yevmenkin
On Fri, Sep 19, 2014 at 1:18 PM, John Baldwin j...@freebsd.org wrote: This patch converts the netgraph bluetooth codee from timeout(9) to callout(9). The patch is against HEAD but probably applies to 9 and 10 as well. http://people.freebsd.org/~jhb/patches/bluetooth_callout.patch looks fine

Re: [rfc] /dev/devstat permissions patch

2014-03-20 Thread Maksim Yevmenkin
On Thu, Mar 20, 2014 at 7:05 AM, John Baldwin j...@freebsd.org wrote: On Tuesday, March 18, 2014 3:29:32 pm Maksim Yevmenkin wrote: hello, would anyone object to the following patch? I think this is fine. While you are at it, can you test this patch to remove D_NEEDGIANT? Index

[rfc] /dev/devstat permissions patch

2014-03-18 Thread Maksim Yevmenkin
hello, would anyone object to the following patch? == Index: subr_devstat.c === --- subr_devstat.c (revision 263311) +++ subr_devstat.c (working copy) @@ -503,7 +503,7 @@ mtx_assert(devstat_mutex, MA_NOTOWNED); if (!once) {

[rfc] [patch] do not stop watchdog on shutdown

2013-12-17 Thread Maksim Yevmenkin
hello, would anyone object to this patch? max Index: src/etc/rc.d/watchdogd === --- src/etc/rc.d/watchdogd (revision 2999) +++ src/etc/rc.d/watchdogd (working copy) @@ -39,4 +39,7 @@ pidfile=/var/run/${name}.pid

Re: [rfc] [patch] do not stop watchdog on shutdown

2013-12-17 Thread Maksim Yevmenkin
Hello Aleksandr would anyone object to this patch? It is good idea, but sometimes shutdown sequence longer than some H/W watchdogs even support. I have one board which can do only 20sec maximum time. yes. its up to the user to configure appropriate watchdog timeout. this features is mostly

Re: [rfc] [patch] do not stop watchdog on shutdown

2013-12-17 Thread Maksim Yevmenkin
Hello Allan I've been seeing an issue where sometimes my system seems to hang after the shutdown. where not stopping the watchdog might help. I wonder if it would be best to make some kind of rc.conf variable to allow the user to opt for one or the other, keeping the current behaviour for

Re: [rfc] [patch] do not stop watchdog on shutdown

2013-12-17 Thread Maksim Yevmenkin
On Tue, Dec 17, 2013 at 2:00 PM, Andriy Gapon a...@freebsd.org wrote: on 17/12/2013 20:53 Maksim Yevmenkin said the following: hello, would anyone object to this patch? max Index: src/etc/rc.d/watchdogd === --- src/etc/rc.d

Re: [rfc] small bioq patch

2013-10-15 Thread Maksim Yevmenkin
On Fri, Oct 11, 2013 at 5:14 PM, John-Mark Gurney j...@funkthat.com wrote: Maksim Yevmenkin wrote this message on Fri, Oct 11, 2013 at 15:39 -0700: On Oct 11, 2013, at 2:52 PM, John-Mark Gurney j...@funkthat.com wrote: Maksim Yevmenkin wrote this message on Fri, Oct 11, 2013 at 11:17 -0700

[rfc] small bioq patch

2013-10-11 Thread Maksim Yevmenkin
hello, i would like to submit the attached bioq patch for review and comments. this is proof of concept. it helps with smoothing disk read service times and arrear to eliminates outliers. please see attached pictures (about a week worth of data) - c034 control unmodified system - c044 patched

Re: [rfc] small bioq patch

2013-10-11 Thread Maksim Yevmenkin
On Fri, Oct 11, 2013 at 12:25 PM, Eric van Gyzen e...@vangyzen.net wrote: Maksim, The graphs were not attached. Perhaps the list stripped them. Could you post them on the web instead? err... sorry about it.. please try http://people.freebsd.org/~emax/c034.png

Re: [rfc] small bioq patch

2013-10-11 Thread Maksim Yevmenkin
On Oct 11, 2013, at 2:52 PM, John-Mark Gurney j...@funkthat.com wrote: Maksim Yevmenkin wrote this message on Fri, Oct 11, 2013 at 11:17 -0700: i would like to submit the attached bioq patch for review and comments. this is proof of concept. it helps with smoothing disk read service times

Re: Patch ath3kfw to accept other device ids; blacklist ath bluetooth devices

2013-04-03 Thread maksim yevmenkin
Hi Adrian ! Thank you for your work. I briefly looked at it and it seems fine to me. I'm not able to give it a proper review as I'm traveling internationally currently. Having said all that, I think it would be reasonable to commit it as is into head. Thanks, Max On Apr 3, 2013, at 10:52

Re: Patch ath3kfw to accept other device ids; blacklist ath bluetooth devices

2013-04-02 Thread Maksim Yevmenkin
Hi Adrian, Please find a patch which does two things: patch was lost, apparently :) thanks max ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to

Re: [RFC] vfs.read_min proposal

2013-03-29 Thread Maksim Yevmenkin
On Fri, Mar 29, 2013 at 1:58 PM, Konstantin Belousov kostik...@gmail.com wrote: On Thu, Mar 28, 2013 at 10:11:25AM -0700, Maksim Yevmenkin wrote: On Thu, Mar 28, 2013 at 12:52 AM, Konstantin Belousov kostik...@gmail.com wrote: i would like to get some reviews, opinions and/or comments

[RFC] vfs.read_min proposal

2013-03-27 Thread Maksim Yevmenkin
Hello, i would like to get some reviews, opinions and/or comments on the patch below. a little bit background, as far as i understand, cluster_read() can initiate two disk i/o's: one for exact amount of data being requested (rounded up to a filesystem block size) and another for a configurable

[RFC] small VM patch to review

2013-03-20 Thread Maksim Yevmenkin
hello, would anyone object to the following small patch? == Index: vm_pageout.c === --- vm_pageout.c(revision 248560) +++ vm_pageout.c(working copy) @@ -882,14 +882,17 @@ vm_pageout_init_marker(marker,

Re: [RFC] how to get real ifi_baudrate from network interface

2012-09-20 Thread Maksim Yevmenkin
On Thu, Sep 20, 2012 at 1:34 AM, Konstantin Belousov kostik...@gmail.com wrote: On Thu, Sep 20, 2012 at 06:15:54AM +0400, Gleb Smirnoff wrote: On Wed, Sep 19, 2012 at 02:16:17PM -0700, Maksim Yevmenkin wrote: M hello, M M for sometime now i've been repeatedly annoyed by the fact that 10G M

[RFC] how to get real ifi_baudrate from network interface

2012-09-19 Thread Maksim Yevmenkin
hello, for sometime now i've been repeatedly annoyed by the fact that 10G interfaces lie about their ifi_baudrate. i would like to propose simple (hopefuly) change to address this. quick summary of the problem: struct if_data { ... u_char ifi_spare_char1;/* spare byte */

Re: geom mirror now rebuilding on every reboot?

2012-08-06 Thread Maksim Yevmenkin
Michael, Something in -current and recently MFC'd to -stable is causing all of my gmirror drives to rebuild on reboot :-( Being remote and these being production machines, I suspect SVN r237929 and r237930 in -current and SVN r238500 to -stable but haven't yet been able to prove it. Is

Re: geom mirror now rebuilding on every reboot?

2012-08-06 Thread Maksim Yevmenkin
On Mon, Aug 6, 2012 at 9:23 AM, Garrett Cooper yaneg...@gmail.com wrote: On Mon, Aug 6, 2012 at 8:34 AM, Maksim Yevmenkin maksim.yevmen...@gmail.com wrote: Michael, Something in -current and recently MFC'd to -stable is causing all of my gmirror drives to rebuild on reboot :-( Being remote

Re: geom mirror now rebuilding on every reboot?

2012-08-06 Thread Maksim Yevmenkin
On Mon, Aug 6, 2012 at 9:33 AM, Kevin Oberman kob6...@gmail.com wrote: On Mon, Aug 6, 2012 at 9:26 AM, Maksim Yevmenkin maksim.yevmen...@gmail.com wrote: On Mon, Aug 6, 2012 at 9:23 AM, Garrett Cooper yaneg...@gmail.com wrote: On Mon, Aug 6, 2012 at 8:34 AM, Maksim Yevmenkin maksim.yevmen

[patch] rfc: bsnmpd does not count ipv6 tcp connections in tcpCurrEstab

2012-05-29 Thread Maksim Yevmenkin
hello, any objections to the following patch? === Index: mibII_tcp.c === --- mibII_tcp.c (revision 236265) +++ mibII_tcp.c (working copy) @@ -109,10 +109,12 @@ ptr = (struct xinpgen *)(void *)((char *)ptr +

RFC: [PATCH] disabling buckets under low memory

2012-05-23 Thread Maksim Yevmenkin
hello, would anyone object to the following patch? === Index: uma_core.c === --- uma_core.c (revision 616) +++ uma_core.c (working copy) @@ -267,10 +267,7 @@ static void bucket_enable(void) { - if (cnt.v_free_count

[patch]: RFC changing order for khelp modules

2012-05-03 Thread Maksim Yevmenkin
hello, would anyone object to the following patch? == --- sys/module_khelp.h (revision 582) +++ sys/module_khelp.h (working copy) @@ -83,7 +83,7 @@ .priv = kmd_##hname\ };

calling all fs experts

2011-12-10 Thread Maksim Yevmenkin
Hello, i have a question for fs wizards. suppose i can persuade modern spinning disk to do large reads (say 512K to 1M) at a time. also, suppose file system on such modern spinning drive is used to store large files (tens to hundreds of megabytes). is there any way i can tweak the file system

maxio is not exported by mps(4)

2011-12-08 Thread Maksim Yevmenkin
Dear -hackers, can someone please enlighten me as to why maxio is not set by mps(4), and, what would be a reasonable number to set it to if i felt inclined to do so? default DFLTPHYS of 64K seems a bit low to me. thanks, max ___

Re: [RFC] ahci(4) patch

2011-11-17 Thread Maksim Yevmenkin
On Thu, Nov 17, 2011 at 8:09 AM, Alexander Motin m...@freebsd.org wrote: On 11/17/11 01:08, Maksim Yevmenkin wrote: On Wed, Nov 16, 2011 at 2:59 PM, Alexander Motin m...@freebsd.org wrote: On 17.11.2011 00:44, Maksim Yevmenkin wrote: On Wed, Nov 16, 2011 at 2:35 PM, Alexander Motinm

Re: [RFC] ahci(4) patch

2011-11-17 Thread Maksim Yevmenkin
On Thu, Nov 17, 2011 at 9:02 AM, Alexander Motin m...@freebsd.org wrote: On 11/17/11 18:35, Maksim Yevmenkin wrote: On Thu, Nov 17, 2011 at 8:09 AM, Alexander Motin m...@freebsd.org wrote: On 11/17/11 01:08, Maksim Yevmenkin wrote: On Wed, Nov 16, 2011 at 2:59 PM, Alexander Motin m

Re: [RFC] ahci(4) patch

2011-11-17 Thread Maksim Yevmenkin
On Thu, Nov 17, 2011 at 9:36 AM, Alexander Motin m...@freebsd.org wrote: On 11/17/11 19:02, Alexander Motin wrote: On 11/17/11 18:35, Maksim Yevmenkin wrote: On Thu, Nov 17, 2011 at 8:09 AM, Alexander Motin m...@freebsd.org wrote: On 11/17/11 01:08, Maksim Yevmenkin wrote: On Wed, Nov 16

[RFC] ahci(4) patch

2011-11-16 Thread Maksim Yevmenkin
hello, would anyone object to the following ahci(4) patch? == --- ahci.c.orig 2011-11-16 21:35:26.0 + +++ ahci.c 2011-11-16 21:35:41.0 + @@ -500,7 +500,7 @@ for (unit = 0; unit ctlr-channels; unit++) { if ((ctlr-ichannels (1 unit)) == 0)

Re: [RFC] ahci(4) patch

2011-11-16 Thread Maksim Yevmenkin
On Wed, Nov 16, 2011 at 2:35 PM, Alexander Motin m...@freebsd.org wrote: Hi. On 16.11.2011 23:59, Maksim Yevmenkin wrote: would anyone object to the following ahci(4) patch? == --- ahci.c.orig 2011-11-16 21:35:26.0 + +++ ahci.c      2011-11-16 21:35:41.0 +

Re: [RFC] ahci(4) patch

2011-11-16 Thread Maksim Yevmenkin
On Wed, Nov 16, 2011 at 2:59 PM, Alexander Motin m...@freebsd.org wrote: On 17.11.2011 00:44, Maksim Yevmenkin wrote: On Wed, Nov 16, 2011 at 2:35 PM, Alexander Motinm...@freebsd.org  wrote: On 16.11.2011 23:59, Maksim Yevmenkin wrote: would anyone object to the following ahci(4) patch

Re: Dell 370 bluetooth minicard

2011-02-21 Thread Maksim Yevmenkin
Hello, On a Dell E6400 the bluetooth wireless minicard (Dell 370 = BCM2046B1 if i am right) does not attach to any driver. Is this ship supported by the btbcmfw driver? Any comment would be helpfull. did you try to load ng_ubt(4) driver? also freebsd-bluetooth@ is probably more appropriate

Re: Atheros bluetooth unrecognizable 0cf3:3002

2010-11-11 Thread maksim yevmenkin
Please try fw dowloader from Http://people.freebsd.org/~emax/ath3kfw.tar.gz Thanks, Max On Nov 11, 2010, at 11:31 AM, Marek Salwerowicz marek_...@wp.pl wrote: Hi, I have built-in bluetooth atheros. On ubuntu linux it is shown as (lsusb): Bus 003 Device 006: ID 0cf3:3002 Atheros

Re: silly libusbhid question

2010-09-09 Thread Maksim Yevmenkin
On Wed, Sep 8, 2010 at 11:59 PM, Hans Petter Selasky hsela...@c2i.net wrote: In kernel and userspace this is currently a feature in the HID libraries. And I agree that maybe this should be changed. Before changing anything please grep the kernel sources for this function and check that no

silly libusbhid question

2010-09-08 Thread Maksim Yevmenkin
hello, [trying current@ first to get wider audience :)] so, i have a somewhat silly question about libusbhid. please consider the following code hid_data_t d; hid_item_t h; for (d = hid_start_parse(desc, 1 hid_input, -1); hid_get_item(d, h) 0; ) { ... } hid_end_parse(d); the idea

LOR

2003-11-03 Thread Maksim Yevmenkin
Dear Hackers, got this LOR this morning. sorry if already known/fixed. beetle% uname -a FreeBSD beetle.digisle.com 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Nov 1 00:35:49 PST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BEETLE i386 beetle% lock order reversal 1st 0xc1ea534c inp (inp) @

Re: /etc/bluetooth and /usr/share/examples/netgraph/bluetooth(breaks installworld)

2003-10-26 Thread Maksim Yevmenkin
Hello Warner, Oops, my bad. Please review attched patch. If there are no objections I will commit it in a few hours. Also if someone else could commit it sooner it would be nice :) thanks, max --- Matt Smith [EMAIL PROTECTED] wrote: Matt Smith wrote: Maksim, I have just done a

[PATCH] connect bluetooth configs and examples to the build

2003-10-21 Thread Maksim Yevmenkin
Hi Guys, i'd like to commit attached patch. the purpose is to connect etc/bluetooth and share/examples/netgraph/bluetooth to the build. please review and let me know if i missed anything. thanks, max __ Do you Yahoo!? The New Yahoo! Shopping - with improved

Re: [PATCH] connect bluetooth configs and examples to the build

2003-10-21 Thread Maksim Yevmenkin
Simon, i'd like to commit attached patch. the purpose is to connect etc/bluetooth and share/examples/netgraph/bluetooth to the build. please review and let me know if i missed anything. Index: src/etc/bluetooth/Makefile

Re: Darwin/OSX Bluetooth code

2003-10-17 Thread Maksim Yevmenkin
Peter, I'm currently thinking about un-Netgraph'ing FreeBSD code to make it portable to other BSD style systems. I'm trying to look at other implementations and learn as much as i can. In particular i'm trying to figure out how to minimize OS dependent code and what is the right

Darwin/OSX Bluetooth code

2003-10-16 Thread Maksim Yevmenkin
Dear Hackers, Does anyone know if Apple has released Darwin/OSX Bluetooth code to the public? Quick look at http://www.opensource.apple.com/ did not reveal anything particularly useful (although i did not try really hard :) I'm currently thinking about un-Netgraph'ing FreeBSD code to make it

HEADSUP: Bluetooth patch is about to be committed

2003-10-12 Thread Maksim Yevmenkin
Dear Hackers, In the next few hours i will be committing Bluetooth patch. The patch was reviewed by M. Warner Losh [EMAIL PROTECTED] and John Hay [EMAIL PROTECTED] After commit i will re-cvsup my system and will do a full buildworld (could take 4-6 hours) to make sure everything works. Expect

Re: Bluetooth patch

2003-09-30 Thread Maksim Yevmenkin
John, [...] : Julian and Ruslan are busy at the moment. M. Warner Losh has sent e-mail : to core@ and asked for commit bit for me. in the mean time i'd like to : commit this and resolve all issues in time for 5.2-RELEASE. : : I can give it a go if no one else wants to do it.

Re: Bluetooth patch

2003-09-29 Thread Maksim Yevmenkin
Hi John, I have prepared Bluetooth mega patch for FreeBSD source tree. This patch updates FreeBSD sources to the most recent snapshot. [...] The patch could be downloaded from http://www.geocities.com/m_evmenkin/patch/bluetooth20030914.diff.gz I had a look at the patch and here is

Bluetooth patch

2003-09-23 Thread Maksim Yevmenkin
Dear Hackers, I have prepared Bluetooth mega patch for FreeBSD source tree. This patch updates FreeBSD sources to the most recent snapshot. The patch is quite extensive - it adds two new libraries (libbluetooth and libsdp) as well as puts some files into /etc/bluetooth and modifies quite a few

Re: ubt0, Bluetooth and kernel memory leaking

2003-09-20 Thread Maksim Yevmenkin
Hello Gary, It seems when using rfcomm_pppd (at least) as a Bluetooth - LAN gateway there is a fairly large memory leak which eventually crashes the box running the ppp server. To track down where, I recorded the output of kern.malloc every minute until the box crashed. At the start of

Re: FreeBSD as bluetooth gateway for a PDA

2003-09-12 Thread Maksim Yevmenkin
[cc'd to [EMAIL PROTECTED] for archive purposes ] Hello Victor, I hope you don't mind me asking you directly: maybe the -current mailing list is more appropriate? no, i do not mind, but cc to -current or -net is a good idea. I'm trying to use a FreeBSD PC (5.1-CURRENT, with the bluetooth

Re: Bluetooth stack for FreeBSD (Netgraph)

2003-09-09 Thread Maksim Yevmenkin
Tobias, After a very long delay (sorry!) I'm pleased to announce that I'm still around and new a snapshot can be downloaded from kickass! I will try it out later today :) Here is the list of things I'm planing to do next: o Prepare patches for FreeBSD source tree o Write SDP

Bluetooth stack for FreeBSD (Netgraph)

2003-09-08 Thread Maksim Yevmenkin
Dear Hackers, After a very long delay (sorry!) I'm pleased to announce that I'm still around and new a snapshot can be downloaded from http://www.geocities.com/m_evmenkin/ngbt-fbsd-20030908.tar.gz Here is quick summary: o ng_hci(4) and ng_l2cap(4) kernel modules were changed to fix issue with

Re: MS Bluetooth mouse on 5.1-release

2003-08-22 Thread Maksim Yevmenkin
Brent, Does anyone know if it's possible to use a Microsoft Bluetooth mouse 5.1? you need to have Bluetooth HID (Human Interface Device) support. someone wrote me an e-mail a while ago asking the same question. i tried to explain Bluetooth HID and how it works. its not a rocket science - you

Re: bluetooth on 5.1-release or -current ?

2003-08-17 Thread Maksim Yevmenkin
Hello Kim, Trying to get Max Yevmenkin's bluetooth stack running on 5.1-release. This with ngbt-fbsd-20030501.tar.gz from http://www.geocities.com/m_evmenkin/ first of all - all kernel modules and user space tools were committed to -current. so you do not have to use snapshots. all kernel

Re: bluetooth working on 5.1-release

2003-08-17 Thread Maksim Yevmenkin
Hello Kim, Have bluetooth almost working on 5.1-release, thank you Max. [...] The device is a Belkin F8T001, at plugin it logs: Aug 17 16:43:01 radio kernel: ubt0: Broadcom Corp. BCM2033, rev 1.01/0.a0, addr 2 Aug 17 16:43:01 radio kernel: ubt0: Interface 0 endpoints: interrupt=0x81,

Re: [-CURRENT tinderbox] failure on i386/i386

2003-06-24 Thread Maksim Yevmenkin
Hello, please disconnect usr.bin/bluetooth and usr.sbin/bluetooth from the build for now. i'm working on the patch to fix this. sorry about this. thanks, max TB --- 2003-06-24 17:27:15 - starting CURRENT tinderbox run for i386/i386 TB --- 2003-06-24 17:27:15 - checking out the source tree

Re: IBM T30 bluetooth - success

2003-06-16 Thread Maksim Yevmenkin
Tobias, I just wanted to let you know that I got the integrated bluetooth device in my IBM T30 to work (yes, I am sending this mail from my T30 via bluetooth via my Ericsson T68i and GPRS cool :) i'm glad you made it working :) Thanks to Pav and Max for all the fabulous work and help!

Re: bluetooth 20030604 and 5.1 release

2003-06-14 Thread Maksim Yevmenkin
Hello, --- User Toyboy [EMAIL PROTECTED] wrote: Thanks for the information, I can now surf the internet from my laptop via bluetooth. I will put up a page on how to do it, even though there are i'm very glad it works for you :) already a few pages on it already. The problem with my setup

Re: bluetooth 20030604 and 5.1 release

2003-06-13 Thread Maksim Yevmenkin
Hello, --- User Toyboy [EMAIL PROTECTED] wrote: Hello again, all information you have given me has been very helpful. ButI have messed up somewhere while setting up the rcfomm_pppd section and I don't know where the problem is. I have setup my ppp.conf like this: [section skipped] please

Re: bluetooth 20030604 and 5.1 release

2003-06-12 Thread Maksim Yevmenkin
Hello, Did you download firmware into the device? Broadcom BCM2033 chip based device will not work without firmware. The snapshot comes with firmware download driver ubtbcmfw(4) and firmware download utility bcmfw(8). In order to make Broadcom device work you need to 1) load ubtbcmfw.ko module

Re: bluetooth 20030604 and 5.1 release

2003-06-10 Thread Maksim Yevmenkin
Hello, Hello, I downloaded the latest bluetooth stack from 20030604 and I am running 5.1 release which was also tagged on 20030604 and I followed the steps to compile bluetooth which was make depend make make install make cleandir in src/usr.bin/bluetooth/ but it fails at make with: ===

Re: bluetooth 20030604 and 5.1 release

2003-06-10 Thread Maksim Yevmenkin
Hello, --- User Toyboy [EMAIL PROTECTED] wrote: Thanks for that help, it worked, I have one more question, Is it possible to share my internet connection on my FreeBSd box that has bluetooth on it with other devices with bluetooth like my laptop? I looked at

[PATCH] hcsecd(8) Bluetooth link keys/PIN codes management daemon

2003-06-06 Thread Maksim Yevmenkin
Dear Hackers, please find attached patch for the hcsecd(8) Bluetooth link keys/PIN codes management daemon. this patch is against the latest release http://www.geocities.com/m_evmenkin/ngbt-fbsd-20030604.tar.gz hcsecd(8) is now able to cache link keys that were generated from the PIN codes. to

Bluetooth stack for FreeBSD

2003-06-05 Thread Maksim Yevmenkin
Dear Hackers, Another release is available for download at http://www.geocities.com/m_evmenkin/ngbt-fbsd-20030604.tar.gz I am regret to announce that this is probably the last release. My company has announced that they will pull out of USA and i will most likely loose my job. Unless i find

Re: Polishing touch

2003-06-02 Thread Maksim Yevmenkin
Hello, just in case re@ or a maintainer finds this worhtwhile : from my /etc/rc.conf : ifconfig_tap0=lladdr 00:90:27:3f:12:9f apm_enable=YES apmd_enable=YES This gives me in dmesg-a (today's CVS) : 1)

Re: IBM T30 USB issue: kernel: uhub2: device problem, disabling

2003-04-02 Thread Maksim Yevmenkin
Dear Hackers, [ for archive purposes ] all the USB stack debug traces are available at http://www.geocities.com/m_evmenkin/usb/ i also managed to get USB dumps from W2K that runs on the same laptop. http://www.geocities.com/m_evmenkin/usb/USB_HUB.LOG trace when W2K attach the second hub

Re: Bluetooth on IBM T30 (USB device problem)

2003-03-26 Thread Maksim Yevmenkin
Lee, Kernel recompiled and now no more _mtx_assert undefined errors. Continuing with the directions at http://www.oook.cz/bsd/bluetooth.html: When I press the T30's bluetooth button I get the known USB problem, but never see the ubt0 device defined. Instead of getting ubt0: vendor 0x0a12

Re: Bluetooth on IBM T30 (USB device problem)

2003-03-26 Thread Maksim Yevmenkin
Hello Lee, I'm playing with Bluetooth on my T30 as well. I've activated legacy USB support in BIOS, but still get Mar 26 08:41:03 tylendel kernel: uhub2: device problem, disabling port 1 maybe 45-60 seconds after pressing the Bluetooth button. I'm running a kernel and world sup'd yesterday

Re: Bluetooth on IBM T30 (USB device problem)

2003-03-25 Thread Maksim Yevmenkin
Tobias, yes it is a CSR chip based device. can you tell if its a USB device? yes, it is usb. windows clearly states it as usb. good. then you will most likely get it to work. if you get it to attach (see below). 1) at loader prompt type (without quotes) boot -v 2) do not press the Bluetooth

Re: Bluetooth on IBM T30 (USB device problem)

2003-03-25 Thread Maksim Yevmenkin
Larry, [...] Mar 25 21:59:36 angel5 kernel: uhub2: device problem, disabling port 1 I had a similar (USB) issue on my Fujitsu Laptop, until I **ENABLED** the USB Floppy option in my BIOS. Don't ask me why that fixed it, but ANY USB device I plugged in would garner the above response without

What is the proper handling for USB IOERRORs

2003-03-19 Thread Maksim Yevmenkin
Dear Hackers, Does anyone know what is the proper handling for USB IOERROR status in USB transfer callback? here is my problem. the driver opens bulk pipe and submits incoming USB bulk transfer. the USB device is detached while the transfer is still pending and pipe is still open. USB transfer

Re: bluetooth BW-BH02U reset failure

2003-03-18 Thread Maksim Yevmenkin
Hello Takahiko, [...] well, i did some research on that. it turns out Broadcom Bluetooth chip based devices require firmware download. in particular the device you have (Vendor ID 0x0a5c/Product ID 0x2033) uses special procedure to download firmware file, i.e. you have to download mini-driver

RE: bluetooth BW-BH02U reset failure

2003-03-16 Thread Maksim Yevmenkin
Hello Takahiko, [...] OK, I checked my copy of 2003-03-05. It only has sys. I'd download latest 2003-03-05 on your directory. I've rebuild environment. good [...] ugen0: Broadcom product 0x2033, rev 1.01/0.a0, addr 2 I just mistake device name, it not BW-BH02U. true name is

RE: bluetooth BW-BH02U reset failure

2003-03-12 Thread Maksim Yevmenkin
Hello Takahiko, At first, I installed 5-CURRENT on P3 machine and sync with cvsup to latest. and overwrite 2003-03-05 maksim's bluetooth modules. please verify that tarball you have downloaded has both kernel and userland stuff, i.e. you have sys, share, usr.bin and usr.sbin in the

Re: Bluetooth stack for FreeBSD

2003-03-06 Thread Maksim Yevmenkin
Hello Christian, [...] Are there any undertakings on the way to update the bluetooth code in -CURRENT to a newer snapshot? As soon as I get at least few positive feedbacks from the testers Julian will commit it :) I do not feel comfortable to commit the code that has only been tested on the

Re: bluetooth device ID

2003-03-05 Thread Maksim Yevmenkin
Hello Pav, [ CC'ed to [EMAIL PROTECTED] ] To all FreeBSD Bluetooth users Please do not hesitate to ask questions! No question is too dumb. When asking questions please CC to one of the FreeBSD mailing lists. mobile@, net@ and [EMAIL PROTECTED] seems like a good choice. This way your

Bluetooth stack for FreeBSD

2003-03-05 Thread Maksim Yevmenkin
Dear Hackers, I'm very pleased to announce that another release is available for download at http://www.geocities.com/m_evmenkin/ngbt-fbsd-20030305.tar.gz The Bluetooth sockets layer has been cleaned up. People should not see any WITNESS complains with new code. Locking issues have been

Re: FreeBSD Bluetooth stuff

2003-03-03 Thread Maksim Yevmenkin
Hello Dustin, 1) compile and install hcidump from the snapshot's ports/ directory Recompiled and reinstalled. All went fine. good 2) make sure you have clean setup, i.e. - run # rc.bluetooth stop device - disconnect the device from the PC - reset mouse - connect device back to PC -

Re: FreeBSD Bluetooth stuff

2003-03-03 Thread Maksim Yevmenkin
Dustin, This is probably where I'm going to have to stop for the week to make sure I get my classwork done, you've been a wonderful guide. I can't wait to get started working on this some more. no problem. thanks for your time :) [...] bottom line: baseband + L2CAP works. you can talk to your

RE: HEADSUP: Driver mega-commit ahead.

2003-03-02 Thread Maksim Yevmenkin
Dear Poul-Henning, i think the following is not correct RCS file: /home/ncvs/src/sys/netgraph/ng_device.c,v retrieving revision 1.2 diff -u -r1.2 ng_device.c --- netgraph/ng_device.c2 Feb 2003 13:30:00 - 1.2 +++ netgraph/ng_device.c2 Mar 2003 19:48:38 - -66,7 +66,7

RE: PATCH: typo in socreate() or i'm missing something

2003-03-02 Thread Maksim Yevmenkin
Dear Hackers, On Sat, 1 Mar 2003 22:18:12 +1100 (EST), Bruce Evans [EMAIL PROTECTED] said: Interestingly, socreate() in Lite2 always does a can-wait malloc() so our current soalloc(M_NOWAIT) does the same thing as Lite2 and is only wrong if the FreeBSD change from can-wait to can-wait-if p

Re: PATCH: typo in socreate() or i'm missing something

2003-02-28 Thread Maksim Yevmenkin
Bruce, Please find the attached patch for socreate() in uipc_socket.c. I think the code was supposed to call soalloc(0) rather then soalloc(M_NOWAIT). Note M_NOWAIT defined as 1. Is that a real typo or i'm missing something here? soalloc(1) was intended (and was obtained by misspelling 1 as

PATCH: typo in socreate() or i'm missing something

2003-02-27 Thread Maksim Yevmenkin
Dear Hackets, Please find the attached patch for socreate() in uipc_socket.c. I think the code was supposed to call soalloc(0) rather then soalloc(M_NOWAIT). Note M_NOWAIT defined as 1. Is that a real typo or i'm missing something here? thanks, max --- uipc_socket.c.orig Thu Feb 27 15:24:52

Need an expert's advise on WITNESS problem(?) (very long)

2003-02-16 Thread Maksim Yevmenkin
Dear Hackers, I need an expert's advice on the small locking/WITNESS problem (if this is a real problem of course). It basically boils down to the following: Consider three (3) MTX_DEF mutexes: A, B1 and B2. Mutex A has a name mutex_A and type type_A. Mutex B1 has a name mutex_B1 and mutex B2

WITNESS questions

2003-02-11 Thread Maksim Yevmenkin
Dear Hackers, Does WITNESS keeps track of particular mutex instance or just places where particular mutex type was acquired and released? Is it even possible to keep track of individual instance of the particular mutex type? Here is my problem. In my code (Bluetooth sockets layers) each

Bluetooth stack for FreeBSD

2003-02-10 Thread Maksim Yevmenkin
Dear Hackers, I'm very pleased to announce that another engineering release is available for download at http://www.geocities.com/m_evmenkin/ngbt-fbsd-20030210.tar.gz Note: This release has new tree layout that matches FreeBSD source tree. Quick summary of changes - New in-kernel RFCOMM

panic: ip_output: no HDR

2003-01-27 Thread Maksim Yevmenkin
Dear Hackers, During the testing process for the new in-kernel RFCOMM Bluetooth code my not so -current panic()ed with the trace below. This panic happend while ~2MB FTP transfer (PPP over new RFCOMM over Bluetooth). A little detail - new RFCOMM code opens L2CAP sockets from inside kernel (very

NEWCARD, devd, sio and PCCARD_FUNCTION_SERIAL cards

2002-12-21 Thread Maksim Yevmenkin
Dear Warner and Hackers, Is there any way (on -current with NEWCARD) devd can prevent sio driver from attaching to *ANY* pc-card that has PCCARD_FUNCTION_SERIAL? From what i understand devd can load driver modules, but it only comes to play when card is not recognized, right? The particular

Re: NEWCARD, devd, sio and PCCARD_FUNCTION_SERIAL cards

2002-12-21 Thread Maksim Yevmenkin
Dear Warner and Hackers, --- M. Warner Losh [EMAIL PROTECTED] wrote: In message: [EMAIL PROTECTED] Maksim Yevmenkin [EMAIL PROTECTED] writes: : Dear Warner and Hackers, : : Is there any way (on -current with NEWCARD) devd can : prevent sio driver from attaching to *ANY* pc-card

Re: NEWCARD, devd, sio and PCCARD_FUNCTION_SERIAL cards

2002-12-21 Thread Maksim Yevmenkin
Dear Warner and Hackers, --- M. Warner Losh [EMAIL PROTECTED] wrote: In message: [EMAIL PROTECTED] Maksim Yevmenkin [EMAIL PROTECTED] writes: : : : : Is there any way (on -current with NEWCARD) devd can : : prevent sio driver from attaching to *ANY* pc-card : : that has

  1   2   >