ATAPICAM for ATA-MKIII

2005-03-31 Thread Scott Long
Thomas, Attached are patches for atapicam for ATA-MKIII. I've only done light testing, but they seem to work as expected. They work both as a module and compiled into the kernel. Scott Index: ata-all.c === RCS file:

Re: So, who makes this one run FreeBSD? ;-)

2005-03-31 Thread Bernd Walter
On Thu, Mar 31, 2005 at 03:43:12AM +0200, Wilko Bulte wrote: http://linuxdevices.com/news/NS8386088053.html As others already said - to small to run FreeBSD. No MMU, very tight RAM and code space. Note that they are not based on Linux, but on uCLinux, which is something different. RTEMS should

Re: So, who makes this one run FreeBSD? ;-)

2005-03-31 Thread Scott Long
Bernd Walter wrote: On Thu, Mar 31, 2005 at 03:43:12AM +0200, Wilko Bulte wrote: http://linuxdevices.com/news/NS8386088053.html As others already said - to small to run FreeBSD. No MMU, very tight RAM and code space. Note that they are not based on Linux, but on uCLinux, which is something

Re: Fwd: 5-STABLE kernel build with icc broken

2005-03-31 Thread Peter Jeremy
On Thu, 2005-Mar-31 17:17:58 +1000, Bruce Evans wrote: On the i386 (and probably most other CPUs), you can place the FPU into am unavailable state. This means that any attempt to use it will trigger a trap. The kernel will then restore FPU state and return. On a normal system call, if the FPU

Re: So, who makes this one run FreeBSD? ;-)

2005-03-31 Thread Bernd Walter
On Thu, Mar 31, 2005 at 03:41:42AM -0700, Scott Long wrote: Bernd Walter wrote: On Thu, Mar 31, 2005 at 03:43:12AM +0200, Wilko Bulte wrote: http://linuxdevices.com/news/NS8386088053.html As others already said - to small to run FreeBSD. No MMU, very tight RAM and code space. Note that

Comments about vm_fault, vm_map_lookup and user-wired memory, part 1

2005-03-31 Thread Andrey Simonenko
Greetings, I have two questions or comments about of user-wired memory (system 5.3). First question. If memory is user-wired, read-only and COW, then it is impossible to change protection for this memory: 1. mprotect() calls vm_map_protect(), which change entry-protection to writeable. 2.

Comments about vm_fault, vm_map_lookup and user-wired memory, part 2

2005-03-31 Thread Andrey Simonenko
Greetings, Second question. Consider following code (listing is given at the end of this letter): mmap() anonymous private read-only memory, fork() and mlock() this memory only in one process. Here we have: COW, NEEDS_COPY, read-only memory in both processes, but in one process it is

Re: So, who makes this one run FreeBSD? ;-)

2005-03-31 Thread Kamal R. Prasad
--- Scott Long [EMAIL PROTECTED] wrote: [snip] An MMU-less port of any BSD would be very worthwhile, even if it requires a radical divergence from the original codebase. I was woudn''t it be rather inefficient (in the BEST case) -handling numerous memory contextx -1 per process? hoping

MNT_NOEXEC on root filesystem with diskless PXE boot?

2005-03-31 Thread Tom Alsberg
Perhaps this should go to -STABLE, I just couldn't be sure. We are trying out FreeBSD 5.4-PRERELEASE on diskless clients. I noticed one problem, being that when setting the LD_LIBRARY_PATH (or for that matter, LD_PRELOAD, and LD_LIBMAP_DISABLE) environment variables, nothing will run, as

Re: So, who makes this one run FreeBSD? ;-)

2005-03-31 Thread Christoph Hellwig
On Thu, Mar 31, 2005 at 12:36:15PM +0200, Bernd Walter wrote: Note that they are not based on Linux, but on uCLinux, which is something different. Not really. It's just a linux kernel compiled without support for MMUs. Which compiles out most of the linux VM code and adds some smart stubs

Re: So, who makes this one run FreeBSD? ;-)

2005-03-31 Thread Bernd Walter
On Thu, Mar 31, 2005 at 03:13:07AM -0800, Kamal R. Prasad wrote: --- Scott Long [EMAIL PROTECTED] wrote: [snip] An MMU-less port of any BSD would be very worthwhile, even if it requires a radical divergence from the original codebase. I was woudn''t it be rather inefficient (in

subtracting days from localtime problem

2005-03-31 Thread Ganbold
Hi hackers, I have problem subtracting days from current date using test program. We have daylight saving occured on 2AM of March 26, 2005. As you can see below, there is missing March 26th line from program output. And all lines after 27th March are wrong. Instead of 25th March it should be 26th

Re: organization

2005-03-31 Thread David Schultz
On Wed, Mar 30, 2005, David Leimbach wrote: Yes, procfs rules! Procfs is from linux? I thought it was from Plan 9... along with rfork :). Nope. It was first implemented by Sun's Roger Faulkner in SVR4, well before Linux or Plan 9 existed. Actually, someone wrote a prototype for Unix

Re: organization

2005-03-31 Thread Christoph Hellwig
On Thu, Mar 31, 2005 at 07:20:13AM -0500, David Schultz wrote: On Wed, Mar 30, 2005, David Leimbach wrote: Yes, procfs rules! Procfs is from linux? I thought it was from Plan 9... along with rfork :). Nope. It was first implemented by Sun's Roger Faulkner in SVR4, well before

burndvd instead of growisofs?

2005-03-31 Thread Eric Anderson
Is anyone working on a 'burndvd'? I have to use growisofs to burn dvd's in FreeBSD, which means I need a port, so the base system doesn't burn dvd's. It's no crisis, but wouldn't it be nice if FreeBSD could burn dvd's without a port, without atapicam, etc? Anyway, I guess this goes in the

Re: the best form to wait the finish of execution of a child...

2005-03-31 Thread Dirk-Willem van Gulik
On Wed, 30 Mar 2005, zean zean wrote: while(childpid != wait(status)) Any aid to obtain the best way is very welcome. If you are waiting for a specific child temrimatingin see 'waitpid(); (or wait4() - man wait4) -- that safes you the while() loop. It allows you to listen for just the child

Re: Fwd: 5-STABLE kernel build with icc broken

2005-03-31 Thread Bruce Evans
On Wed, 30 Mar 2005, David Schultz wrote: On Wed, Mar 30, 2005, Peter Jeremy wrote: On Tue, 2005-Mar-29 22:57:28 -0500, jason henson wrote: Later in that thread they discuss skipping the restore state to make things faster. The minimum buffer size they say this will be good for is between 2-4k.

Re: Fwd: 5-STABLE kernel build with icc broken

2005-03-31 Thread Bruce Evans
On Thu, 31 Mar 2005, Peter Jeremy wrote: On Thu, 2005-Mar-31 17:17:58 +1000, Bruce Evans wrote: I still think fully lazy switching (c2) is the best general method. I think it depends on the FP workload. It's a definite win if there is exactly one FP thread - in this case the FPU state never

Re: enable acpi

2005-03-31 Thread John Baldwin
On Mar 30, 2005, at 11:18 PM, Dinesh Nair wrote: acpi related, but on freebsd 4.11 (cvsupped and built on 24 march). i've compiled with device acpica in the kernel, but i get sporadic page faults as attached. i do know that acpica is experimental and that LINT does warn of kernel panics and

Re: burndvd instead of growisofs?

2005-03-31 Thread Søren Schmidt
Eric Anderson wrote: Is anyone working on a 'burndvd'? I have to use growisofs to burn dvd's in FreeBSD, which means I need a port, so the base system doesn't burn dvd's. It's no crisis, but wouldn't it be nice if FreeBSD could burn dvd's without a port, without atapicam, etc? Anyway, I

Re: ATAPICAM for ATA-MKIII

2005-03-31 Thread Thomas Quinot
* Scott Long, 2005-03-31 : Attached are patches for atapicam for ATA-MKIII. I've only done light testing, but they seem to work as expected. They work both as a module and compiled into the kernel. Thanks Scott, this is immensely helpful. I'll try to test and commit that this weekend.

Re: burndvd instead of growisofs?

2005-03-31 Thread Eric Anderson
Søren Schmidt wrote: Eric Anderson wrote: Is anyone working on a 'burndvd'? I have to use growisofs to burn dvd's in FreeBSD, which means I need a port, so the base system doesn't burn dvd's. It's no crisis, but wouldn't it be nice if FreeBSD could burn dvd's without a port, without

Re: organization

2005-03-31 Thread David Schultz
On Thu, Mar 31, 2005, Christoph Hellwig wrote: On Thu, Mar 31, 2005 at 07:20:13AM -0500, David Schultz wrote: On Wed, Mar 30, 2005, David Leimbach wrote: Yes, procfs rules! Procfs is from linux? I thought it was from Plan 9... along with rfork :). Nope. It was first

Re: subtracting days from localtime problem

2005-03-31 Thread Andrey Simonenko
On Thu, Mar 31, 2005 at 08:53:12PM +0900, Ganbold wrote: I have problem subtracting days from current date using test program. We have daylight saving occured on 2AM of March 26, 2005. As you can see below, there is missing March 26th line from program output. And all lines after 27th March

Re: organization

2005-03-31 Thread Christoph Hellwig
On Thu, Mar 31, 2005 at 08:16:42AM -0500, David Schultz wrote: procfs comes from v8 (research) unix, a direct predecessor of Plan 9, way before SVR4. That's the prototype I was talking about, but I believe it was not an official part of version 8 (to the extent that anything was). It

Re: subtracting days from localtime problem

2005-03-31 Thread ALeine
[EMAIL PROTECTED] wrote: I have problem subtracting days from current date using test program. We have daylight saving occured on 2AM of March 26, 2005. As you can see below, there is missing March 26th line from program output. And all lines after 27th March are wrong. Instead of 25th

FreeBSD 5.3-CURRENT

2005-03-31 Thread Nexohrion (JeanPaul) (Webmaster AT Shizukana.net)
Hi, I have a problem with a installation of FreeBSD 5.3-CURRENT I installed on my desktop without any problem. But now I want to install freebsd on my server When I want to do it thru ftp I have to configure it first, well i let him find the dhcp, and he gets the ip address of my dhcp (router)

Re: So, who makes this one run FreeBSD? ;-)

2005-03-31 Thread John-Mark Gurney
Bernd Walter wrote this message on Thu, Mar 31, 2005 at 12:36 +0200: But considered the small price distance to the smallest Soekris, which runs FreeBSD, only the size and supply power is an interesting point. Or you can look at the TS-7200 from http://www.embeddedarm.com/ . It's smaller than

Re: A few thoughts..

2005-03-31 Thread H. S.
On Tue, 29 Mar 2005, H. S. wrote: My USERNAME account doesn't have access to /sbin/dmesg, but I uploaded a /sbin/dmesg from a 5.2.1-RELEASE to a 5.3-STABLE box, and then I could have access to this system information. The same goes for systat , vmstat, and all these commands that (most

4BSD Scheduler Problem on 5.3

2005-03-31 Thread William Michael Grim
Hello. I keep having kernel panics every couple weeks on my system. It occurs in the sched_switch() function. There are several other statements in the backtrace involving ??; what are those? I have attached the dump output and system info to this email. Any feedback would be helpful. Thanks

Re: So, who makes this one run FreeBSD? ;-)

2005-03-31 Thread Bernd Walter
On Thu, Mar 31, 2005 at 11:12:05AM -0800, John-Mark Gurney wrote: Bernd Walter wrote this message on Thu, Mar 31, 2005 at 12:36 +0200: But considered the small price distance to the smallest Soekris, which runs FreeBSD, only the size and supply power is an interesting point. Or you can

Re: So, who makes this one run FreeBSD? ;-)

2005-03-31 Thread John-Mark Gurney
Bernd Walter wrote this message on Thu, Mar 31, 2005 at 23:06 +0200: On Thu, Mar 31, 2005 at 11:12:05AM -0800, John-Mark Gurney wrote: Bernd Walter wrote this message on Thu, Mar 31, 2005 at 12:36 +0200: But considered the small price distance to the smallest Soekris, which runs FreeBSD,

Re: So, who makes this one run FreeBSD? ;-)

2005-03-31 Thread Bernd Walter
On Thu, Mar 31, 2005 at 02:33:48PM -0800, John-Mark Gurney wrote: Bernd Walter wrote this message on Thu, Mar 31, 2005 at 23:06 +0200: On Thu, Mar 31, 2005 at 11:12:05AM -0800, John-Mark Gurney wrote: Bernd Walter wrote this message on Thu, Mar 31, 2005 at 12:36 +0200: But considered the

Re: 4BSD Scheduler Problem on 5.3

2005-03-31 Thread John Baldwin
On Thursday 31 March 2005 03:38 pm, William Michael Grim wrote: Hello. I keep having kernel panics every couple weeks on my system. It occurs in the sched_switch() function. There are several other statements in the backtrace involving ??; what are those? I have attached the dump output

Re: MNT_NOEXEC on root filesystem with diskless PXE boot?

2005-03-31 Thread Colin Percival
Tom Alsberg wrote: Perhaps this should go to -STABLE, I just couldn't be sure. It will get more attention on freebsd-stable@, so I'm CCing that list. We are trying out FreeBSD 5.4-PRERELEASE on diskless clients. I noticed one problem, being that when setting the LD_LIBRARY_PATH (or for that

build fails courierpassd-1.1.0-RC1

2005-03-31 Thread Ed Stover
I have been trying to compile courierpassd-1.1.0-RC1 on FreeBSD4.11 I have courier-authlib-0.51 from packages. from my make of courierpassd-1.1.0-RC1 gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c courierpassd.c In file included from courierpassd.c:38: courierpassd.h:24: courierauth.h: No such

Re: 4BSD Scheduler Problem on 5.3

2005-03-31 Thread Robert Watson
On Thu, 31 Mar 2005, John Baldwin wrote: On Thursday 31 March 2005 03:38 pm, William Michael Grim wrote: Hello. I keep having kernel panics every couple weeks on my system. It occurs in the sched_switch() function. There are several other statements in the backtrace involving ??;

Re: So, who makes this one run FreeBSD? ;-)

2005-03-31 Thread John-Mark Gurney
Bernd Walter wrote this message on Fri, Apr 01, 2005 at 00:54 +0200: On Thu, Mar 31, 2005 at 02:33:48PM -0800, John-Mark Gurney wrote: Bernd Walter wrote this message on Thu, Mar 31, 2005 at 23:06 +0200: And the 4526 doesn't need regulated power plus has onboard ata flash. also looks

Re: Fwd: 5-STABLE kernel build with icc broken

2005-03-31 Thread Matthew Dillon
All I really did was implement a comment that DG had made many years ago in the PCB structure about making the FPU save area a pointer rather then hardwiring it into the PCB. This greatly reduces the complexity of work required to allow the kernel to 'borrow' the FPU. It