Re: Porting on FreeBSD 53

2005-05-12 Thread Hervé Kergourlay
Robert Watson a écrit : On Thu, 12 May 2005, Hervé Kergourlay wrote: 2) ACLs I'm using the API acl_get_file and family with success with ACL_TYPE_ACCESS defined in /usr/include/sys/acl.h #define ACL_TYPE_ACCESS 0x #define ACL_TYPE_DEFAULT0x0001 #define ACL_TYPE_AFS

Re: Accessing BIOS memory range

2005-05-12 Thread M. Warner Losh
A trivial driver would fit your needs. Warner ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: upload speed test problem

2005-05-12 Thread Ganbold
Adam, Thanks a lot. You are completely right. I tested it on my modem, turned off and on Modem Compression option and checked the result. I corrected my program using random data. ... URL url = new URL(web_site); URLConnection connection = url.openConnection();

Re: Accessing BIOS memory range

2005-05-12 Thread Bruce M Simpson
On Thu, May 12, 2005 at 09:58:10PM +0200, alexander wrote: > I'm writing a little app in 32 bit x86 (386 minumum) assembly, where I need > to access > some memory in the BIOS range. The real address is 40h:6Ch (virtual = > ((0x40<<4) | 0x6C)). Just use /dev/mem. It will do what you want. Look a

Re: Porting on FreeBSD 53

2005-05-12 Thread Robert Watson
On Thu, 12 May 2005, Hervé Kergourlay wrote: 2) ACLs I'm using the API acl_get_file and family with success with ACL_TYPE_ACCESS defined in /usr/include/sys/acl.h #define ACL_TYPE_ACCESS 0x #define ACL_TYPE_DEFAULT0x0001 #define ACL_TYPE_AFS0x0002 #defi

Re: Porting on FreeBSD 53

2005-05-12 Thread Seán C . Farley
On Thu, 12 May 2005, Seán C. Farley wrote: On Thu, 12 May 2005, Hervé Kergourlay wrote: 4) wait() API 2 problems, the first is a ECHILD error on a wait call after a fork fork The code is generic for most of unix system. Is there any specific problems to manage the fork and wait APIs ? the second p

Re: do-nothing code in sysv_shm.c

2005-05-12 Thread John Baldwin
On Monday 11 April 2005 12:03 pm, Vladislav Shabanov wrote: > I`ve found the following code in sysv_shm.c : > > > static void > shminit() > { > int i; > > TUNABLE_INT_FETCH("kern.ipc.shmmaxpgs", &shminfo.shmall); > for (i = PAGE_SIZE; i > 0; i--) { >

Accessing BIOS memory range

2005-05-12 Thread alexander
Hi there. I'm writing a little app in 32 bit x86 (386 minumum) assembly, where I need to access some memory in the BIOS range. The real address is 40h:6Ch (virtual = ((0x40<<4) | 0x6C)). Gaining access to the I/O ports isn't a big problem (open fd for /dev/io), but I don't know how to gain acc

Re: upload speed test problem

2005-05-12 Thread Zera William Holladay
On Thu, 12 May 2005, Ganbold wrote: > return showSpeed(starttime1,endtime1,"Upload",buffer_len); What does showSpeed() look like? -Zera Holladay ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebs

Re: Porting on FreeBSD 53

2005-05-12 Thread Seán C . Farley
On Thu, 12 May 2005, Hervé Kergourlay wrote: 4) wait() API 2 problems, the first is a ECHILD error on a wait call after a fork fork The code is generic for most of unix system. Is there any specific problems to manage the fork and wait APIs ? the second problem with calls is a blocking wait() cal

Re: Finding out names of mountable devices

2005-05-12 Thread Bernd Walter
On Thu, May 12, 2005 at 04:54:40PM +0300, Juho Vuori wrote: > Tried on freebsd-questions without an answer. I suppose this is not > doable, but I'll ask here anyway. > > If I plug in e.g. a USB thumb drive, which becomes, say, umass0. > Normally something like /dev/da0 will also be created and s

Re: Finding out names of mountable devices

2005-05-12 Thread Brian Fundakowski Feldman
On Thu, May 12, 2005 at 04:54:40PM +0300, Juho Vuori wrote: > Tried on freebsd-questions without an answer. I suppose this is not > doable, but I'll ask here anyway. > > If I plug in e.g. a USB thumb drive, which becomes, say, umass0. > Normally something like /dev/da0 will also be created and s

Finding out names of mountable devices

2005-05-12 Thread Juho Vuori
Tried on freebsd-questions without an answer. I suppose this is not doable, but I'll ask here anyway. If I plug in e.g. a USB thumb drive, which becomes, say, umass0. Normally something like /dev/da0 will also be created and slices of that device may be mounted. But is there a API for finding o

Re: upload speed test problem

2005-05-12 Thread Adam Maloney
On Thu, 12 May 2005, Ganbold wrote: Result is unbelievable, it is something like 500kbps for 56kbps Dial-Up connection, which is completely wrong. It looks like the form data that the client is POSTing is all "a", correct? The modem is probably compressing this data. I wrote a speed test in per

Porting on FreeBSD 53

2005-05-12 Thread Hervé Kergourlay
we are porting our product on FreeBSD 5.3 it's a backup product which is still running on FreeBSD 4.0 here's a list of questions after checking the documentation 1) PAM it's working, the only problem is with the null password users, the answer is allways NO. the nullok doesn't seem active here is

Re: Panic when removing Airprime PC5220 card (usb hub).

2005-05-12 Thread David Andersen
On May 11, 2005, at 11:17 AM, M. Warner Losh wrote: In message: <[EMAIL PROTECTED]> Hans Petter Selasky <[EMAIL PROTECTED]> writes: : On Wednesday 11 May 2005 09:59, David Andersen wrote: : > I'm hacking up a quick and dirty driver for the AirPrime PC5220 (EVDO / : > 1xRTT) card, but I

gmirror problem: DEVFS Overflow table

2005-05-12 Thread Cristiano Deana
Hi, I have a problem with gmirror in a 5.4-STABLE box: > uname -a FreeBSD bsd.mcomm.it 5.4-STABLE FreeBSD 5.4-STABLE #2: Tue May 10 12:41:29 CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FRODO i386 I have a system disk with full system and two scsi disk that i want to mirror. What i did:

upload speed test problem

2005-05-12 Thread Ganbold
Hi hackers, I thought somebody in this list could help me. I looked through Java forums at java.sun.com, and didn't find any solution. I'm writing speed test program in Java, and my upload speed test shows wrong result for Dial-up connection. It uses POST method and sends large data (128k) to Ap