usb keyboard attach crashes process usb0 (under FreeBSD4.11)

2007-04-03 Thread Norbert Koch
Hello. First of all, I understand that there is no interest here in solving FreeBSD 4.11 problems. I only post this because there may be a chance that this could be a problem in CURRENT too. (If no, may be someone likes to dive into ancient software bugs ;-) I am running an embedded system

Re: usb keyboard attach crashes process usb0 (under FreeBSD4.11)

2007-04-03 Thread Norbert Koch
Eugene Grosbein schrieb: On Tue, Apr 03, 2007 at 09:31:05AM +, Norbert Koch wrote: First of all, I understand that there is no interest here in solving FreeBSD 4.11 problems. I only post this because there may be a chance that this could be a problem in CURRENT too. (If no, may be

Re: usb keyboard attach crashes process usb0 (under FreeBSD4.11)

2007-04-03 Thread Eugene Grosbein
On Tue, Apr 03, 2007 at 09:31:05AM +, Norbert Koch wrote: First of all, I understand that there is no interest here in solving FreeBSD 4.11 problems. I only post this because there may be a chance that this could be a problem in CURRENT too. (If no, may be someone likes to dive into

kevent and unix dgram socket problem

2007-04-03 Thread Jason Carroll
Hi everyone-- I'm working on an application that is attempting to use kqueues to detect data arriving at a unix domain datagram socket, but kevents don't appear to get delivered when a datagram arrives. Using poll() for the same purpose appears to work fine. Also, if I switch the socket to the

Re: usb keyboard attach crashes process usb0 (under FreeBSD4.11)

2007-04-03 Thread Norbert Koch
Eugene Grosbein schrieb: On Tue, Apr 03, 2007 at 11:37:31AM +, Norbert Koch wrote: You didn't mention are you running 4.11-RELEASE or 4.11-STABLE. If you are using RELEASE then you definitely should try latest 4.11-STABLE, because there were lots of anti-panic fixes to RELENG_4 for

Re: kevent and unix dgram socket problem

2007-04-03 Thread Robert Watson
On Tue, 3 Apr 2007, Jason Carroll wrote: // create the local address, bind listen struct sockaddr_un addr; memset(addr, 0, sizeof(addr)); addr.sun_family = AF_LOCAL; strncpy(addr.sun_path, usock, UN_PATH_LEN - 1); assert(bind(fd, (sockaddr*) addr, sizeof(sockaddr_un)) == 0);

Re: usb keyboard attach crashes process usb0 (under FreeBSD4.11)

2007-04-03 Thread Eugene Grosbein
On Tue, Apr 03, 2007 at 11:37:31AM +, Norbert Koch wrote: You didn't mention are you running 4.11-RELEASE or 4.11-STABLE. If you are using RELEASE then you definitely should try latest 4.11-STABLE, because there were lots of anti-panic fixes to RELENG_4 for USB subsystem aftere

Re: Any recent news on Xen support for FreeBSD?

2007-04-03 Thread Coleman Kane
On 4/2/07, Kip Macy [EMAIL PROTECTED] wrote: Rink has made some progress. I'm cc'ing him. -Kip On 4/2/07, Jaye Mathisen [EMAIL PROTECTED] wrote: The fsmware page is significantly dated, and I just am not sure what's going on. I was just curious if there was a better or updated

strange bit-shifting

2007-04-03 Thread Andriy Gapon
$ cat test_shl.c #include stdint.h #include stdio.h int main() { uint64_t l; l = 0; l--; printf(%.16lX\n, l); l = 64; printf(%.16lX\n, l); return 0; } $ cc test_shl.c -o test_shl test_shl.c: In function `main': test_shl.c:11: warning:

Re: Any recent news on Xen support for FreeBSD?

2007-04-03 Thread Sam Fourman Jr.
For what it is worth I check the lists on a weekly basis for Xen Support in FreeBSD as well as xorg 7.2 actually hitting the ports tree. both Xen and Xorg 7.2 are very highly anticipated in my opinion Sam Fourman Jr. On 4/3/07, Coleman Kane [EMAIL PROTECTED] wrote: On 4/2/07, Kip Macy [EMAIL

Re: strange bit-shifting

2007-04-03 Thread Eric Anderson
On 04/03/07 12:22, Andriy Gapon wrote: $ cat test_shl.c #include stdint.h #include stdio.h int main() { uint64_t l; l = 0; l--; printf(%.16lX\n, l); l = 64; printf(%.16lX\n, l); return 0; } $ cc test_shl.c -o test_shl test_shl.c: In

Re: Any recent news on Xen support for FreeBSD?

2007-04-03 Thread Coleman Kane
I have actually switched to using the ModularXorg ports tree which is a slightly delayed tree that merges the modular X.org 7.2 parts into it. I have been using that on a regular basis for my workstation and it has been great. If you're interested in X.org 7.2, check out:

Re: 32/64bit KSE issues?

2007-04-03 Thread Doug Ambrisko
Daniel Eischen writes: | On Sat, 31 Mar 2007, John Baldwin wrote: | On Saturday 31 March 2007 03:16, Andriy Gapon wrote: | on 31/03/2007 05:23 Daniel Eischen said the following: | On Fri, 30 Mar 2007, David E. Cross wrote: | | I recently ran into a problem where the 32bit JVM won't run on a

Re: strange bit-shifting

2007-04-03 Thread Stefan Farfeleder
On Tue, Apr 03, 2007 at 08:22:15PM +0300, Andriy Gapon wrote: $ cat test_shl.c #include stdint.h #include stdio.h int main() { uint64_t l; l = 0; l--; printf(%.16lX\n, l); l = 64; printf(%.16lX\n, l); return 0; } $ cc

kqueue (9)

2007-04-03 Thread Kevin Sanders
Hello all, I'm trying to gain a better understanding of how kqueue's work from the driver side. I've managed to glean enough information from the source of other drivers, but I'm having a problem in my own kernel module when it is unloaded. Specifically, when my module is unloaded and there