mmap bug

1999-08-11 Thread Oleg Derevenetz
Oh, I'm sorry, I made a mistake when posting code. I posted incorrectly patched version... This version correct : #include #include #include #include #include #include #include main(int argc, char *argv[]) { int fd; int i; int len=1024*1024*10; /*ie 10Mbytes*/ caddr_t ad

Is there any plan to newbuslize for 3-stable?

1999-08-11 Thread MIHIRA Sanpei Yoshiro
Hi. I have a question about new-bus code. Currently device style of FreeBSD-4-current is changing to newbus. But is there any plan to newbuslize for 3-stable? If my patch for pcm/ESS sound chip apply to FreeBSD, may I send-pr with old-config style? Yes, current pcm sound driver is old-c

Re: changing root device to ...

1999-08-11 Thread eT
Cillian Sharkey wrote: > > but in the boot up, the message, "changing root device to wd0s1" keeps > > appearing and keeps > > failing. in my /etc/fstab i have the following entry: > > > /dev/sd0s1a/ufs rw11 > > > does anyone have any ideas. > > > the sd0 is probed and a

Re: libcompat proposition

1999-08-11 Thread Warner Losh
In message "Brian F. Feldman" writes: : What do you all think about growing a gnu subdirectory in src/lib/libcompat? : Things like a getopt_long implementation (yes, if it will be accepted, : I am volunteering to write it...) would go there, and all sorts of lame : GNU libc cruft that we can try

Re: changing root device to ...

1999-08-11 Thread eT
Cillian Sharkey wrote: > > but in the boot up, the message, "changing root device to wd0s1" keeps appearing >and keeps > > failing. in my /etc/fstab i have the following entry: > > > /dev/sd0s1a/ufs rw11 > > > does anyone have any ideas. > > > the sd0 is probed and att

Re: libcompat proposition

1999-08-11 Thread Warner Losh
In message <[EMAIL PROTECTED]> "Brian F. Feldman" writes: : What do you all think about growing a gnu subdirectory in src/lib/libcompat? : Things like a getopt_long implementation (yes, if it will be accepted, : I am volunteering to write it...) would go there, and all sorts of lame : GNU libc cr

Re: libcompat proposition

1999-08-11 Thread Chris Costello
On Wed, Aug 11, 1999, Brian F. Feldman wrote: > What do you all think about growing a gnu subdirectory in src/lib/libcompat? > Things like a getopt_long implementation (yes, if it will be accepted, > I am volunteering to write it...) would go there, and all sorts of lame > GNU libc cruft that we ca

RE: libcompat proposition

1999-08-11 Thread Daniel O'Connor
On 12-Aug-99 Brian F. Feldman wrote: > What do you all think about growing a gnu subdirectory in src/lib/libcompat? > Things like a getopt_long implementation (yes, if it will be accepted, > I am volunteering to write it...) would go there, and all sorts of lame > GNU libc cruft that we can tr

libcompat proposition

1999-08-11 Thread Brian F. Feldman
What do you all think about growing a gnu subdirectory in src/lib/libcompat? Things like a getopt_long implementation (yes, if it will be accepted, I am volunteering to write it...) would go there, and all sorts of lame GNU libc cruft that we can try to be more compatible with. Brian Fundakowski

Re: libcompat proposition

1999-08-11 Thread Chris Costello
On Wed, Aug 11, 1999, Brian F. Feldman wrote: > What do you all think about growing a gnu subdirectory in src/lib/libcompat? > Things like a getopt_long implementation (yes, if it will be accepted, > I am volunteering to write it...) would go there, and all sorts of lame > GNU libc cruft that we c

RE: libcompat proposition

1999-08-11 Thread Daniel O'Connor
On 12-Aug-99 Brian F. Feldman wrote: > What do you all think about growing a gnu subdirectory in src/lib/libcompat? > Things like a getopt_long implementation (yes, if it will be accepted, > I am volunteering to write it...) would go there, and all sorts of lame > GNU libc cruft that we can t

libcompat proposition

1999-08-11 Thread Brian F. Feldman
What do you all think about growing a gnu subdirectory in src/lib/libcompat? Things like a getopt_long implementation (yes, if it will be accepted, I am volunteering to write it...) would go there, and all sorts of lame GNU libc cruft that we can try to be more compatible with. Brian Fundakowski

Re: BSD-XFS Update

1999-08-11 Thread Jason Thorpe
On Wed, 11 Aug 1999 16:46:46 -0500 "Alton, Matthew" wrote: > I am currently researching methods for implementing the 64-bit > syscalls stat64(), fstat64(), lseek64() &etc. delineated in the > SGI design doc _64 Bit File Access_ by Adam Sweeney. ...which, of course, is completely unnecessa

Re: ignoretime in login.conf??

1999-08-11 Thread Doug
Dag-Erling Smorgrav wrote: > > Doug writes: > > Also, the 'boolean' option is essentially undocumented in the > > login.conf man page. It's mentioned once, but there is no example of how > > it works or the fact that the @ sign is the symbol for it. The info is in > > login_cap(3), but it's

Re: BSD-XFS Update

1999-08-11 Thread Jason Thorpe
On Wed, 11 Aug 1999 16:46:46 -0500 "Alton, Matthew" <[EMAIL PROTECTED]> wrote: > I am currently researching methods for implementing the 64-bit > syscalls stat64(), fstat64(), lseek64() &etc. delineated in the > SGI design doc _64 Bit File Access_ by Adam Sweeney. ...which, of course, is

Re: Using legacy sysinstall to upgrade live system

1999-08-11 Thread Sheldon Hearn
On Wed, 11 Aug 1999 20:34:59 -0400, Tim Vanderhoek wrote: > I suggest that it would be beneficial for you to let them shoot off > their feet... I have used legacy sysinstall to upgrade a live > multiuser system before and will probably do so again. Hair-raising. :-) Anyway, I've snuffled arou

Re: ignoretime in login.conf??

1999-08-11 Thread Doug
Dag-Erling Smorgrav wrote: > > Doug <[EMAIL PROTECTED]> writes: > > Also, the 'boolean' option is essentially undocumented in the > > login.conf man page. It's mentioned once, but there is no example of how > > it works or the fact that the @ sign is the symbol for it. The info is in > > lo

Re: Using legacy sysinstall to upgrade live system

1999-08-11 Thread Sheldon Hearn
On Wed, 11 Aug 1999 20:34:59 -0400, Tim Vanderhoek wrote: > I suggest that it would be beneficial for you to let them shoot off > their feet... I have used legacy sysinstall to upgrade a live > multiuser system before and will probably do so again. Hair-raising. :-) Anyway, I've snuffled aro

Re: mmap bug

1999-08-11 Thread Matthew Dillon
:If the latter mmap.c is allowed to fill up filesystem, -current hangs in : :/kernel: pid 2 (pagedaemon), uid 0 on /: file system full :/kernel: vnode_pager_putpages: I/O error 28 :/kernel: vnode_pager_putpages: residual I/O 16384 at 880 : :...repeating the last two lines, gradually increasing pind

Re: Using legacy sysinstall to upgrade live system

1999-08-11 Thread Tim Vanderhoek
On Thu, Aug 12, 1999 at 01:10:44AM +0200, Sheldon Hearn wrote: > > I'll feel more comfortable about letting them shoot their feet off if > you can point out _any_ way in which it might be beneficial for them to > do so. :-) I suggest that it would be beneficial for you to let them shoot off their

Re: mmap bug

1999-08-11 Thread Matthew Dillon
:If the latter mmap.c is allowed to fill up filesystem, -current hangs in : :/kernel: pid 2 (pagedaemon), uid 0 on /: file system full :/kernel: vnode_pager_putpages: I/O error 28 :/kernel: vnode_pager_putpages: residual I/O 16384 at 880 : :...repeating the last two lines, gradually increasing pin

Re: Using legacy sysinstall to upgrade live system

1999-08-11 Thread Tim Vanderhoek
On Thu, Aug 12, 1999 at 01:10:44AM +0200, Sheldon Hearn wrote: > > I'll feel more comfortable about letting them shoot their feet off if > you can point out _any_ way in which it might be beneficial for them to > do so. :-) I suggest that it would be beneficial for you to let them shoot off thei

Re: Using legacy sysinstall to upgrade live system

1999-08-11 Thread Sheldon Hearn
On Wed, 11 Aug 1999 17:08:10 CST, Wes Peters wrote: > It's OK to let the users shoot their feet off, but they may not know > they're about to shoot their feet off. Giving them an alert would be > polite. I'll feel more comfortable about letting them shoot their feet off if you can point out _a

Re: Using legacy sysinstall to upgrade live system

1999-08-11 Thread Wes Peters
Sheldon Hearn wrote: > > On Wed, 11 Aug 1999 00:07:41 MST, "Jordan K. Hubbard" wrote: > > > Nonetheless, for the expected installation experience one is > > encouraged to boot the desired OS release's installation media and > > select an upgrade instead of a new install. > > Gotcha. > > So you'

RE: BSD-XFS Update

1999-08-11 Thread Alton, Matthew
Quite so. Thank you. I initially only looked at things like: 19 COMPAT POSIX { long lseek(int fd, long offset, int whence); } from /usr/src/sys/kern/syscalls.master and assumed a 32-bit long int. The easy way to deal with this is to change the calls in the XFS code. The syscall part is m

Re: Various Questions

1999-08-11 Thread Cillian Sharkey
> > > when a network interface is put into promiscuous mode, a kernel > > > message is logged ie. "ep0: promiscuous mode enabled" are there plans > > > to log the reverse of this message ie. "ep0: promiscuous mode > > > disabled"..I think this was suggested before in the mailing-lists but > > > did

Re: BSD-XFS Update

1999-08-11 Thread Julian Elischer
stat, fstat, lseek are all already 64 bits in freebsd. On Wed, 11 Aug 1999, Alton, Matthew wrote: > SGI has released a portion of the XFS source code under the GPL: > > http://oss.sgi.com/projects/xfs/download/ > > the source file is xfs_log.tar.gz. > > Of greater interest at this stage a

Re: Using legacy sysinstall to upgrade live system

1999-08-11 Thread Sheldon Hearn
On Wed, 11 Aug 1999 17:08:10 CST, Wes Peters wrote: > It's OK to let the users shoot their feet off, but they may not know > they're about to shoot their feet off. Giving them an alert would be > polite. I'll feel more comfortable about letting them shoot their feet off if you can point out _

Re: Using legacy sysinstall to upgrade live system

1999-08-11 Thread Wes Peters
Sheldon Hearn wrote: > > On Wed, 11 Aug 1999 00:07:41 MST, "Jordan K. Hubbard" wrote: > > > Nonetheless, for the expected installation experience one is > > encouraged to boot the desired OS release's installation media and > > select an upgrade instead of a new install. > > Gotcha. > > So you

RE: BSD-XFS Update

1999-08-11 Thread Alton, Matthew
Quite so. Thank you. I initially only looked at things like: 19 COMPAT POSIX { long lseek(int fd, long offset, int whence); } from /usr/src/sys/kern/syscalls.master and assumed a 32-bit long int. The easy way to deal with this is to change the calls in the XFS code. The syscall part is

Re: Various Questions

1999-08-11 Thread Cillian Sharkey
> > > when a network interface is put into promiscuous mode, a kernel > > > message is logged ie. "ep0: promiscuous mode enabled" are there plans > > > to log the reverse of this message ie. "ep0: promiscuous mode > > > disabled"..I think this was suggested before in the mailing-lists but > > > di

BSD-XFS Update

1999-08-11 Thread Alton, Matthew
SGI has released a portion of the XFS source code under the GPL: http://oss.sgi.com/projects/xfs/download/ the source file is xfs_log.tar.gz. Of greater interest at this stage are the documents in: http://oss.sgi.com/projects/xfs/design_docs/ I am currently researching methods for implementing

Re: mmap bug

1999-08-11 Thread Matthew Dillon
:If the latter mmap.c is allowed to fill up filesystem, -current hangs in : :/kernel: pid 2 (pagedaemon), uid 0 on /: file system full :/kernel: vnode_pager_putpages: I/O error 28 :/kernel: vnode_pager_putpages: residual I/O 16384 at 880 : :...repeating the last two lines, gradually increasing pind

Re: BSD-XFS Update

1999-08-11 Thread Julian Elischer
stat, fstat, lseek are all already 64 bits in freebsd. On Wed, 11 Aug 1999, Alton, Matthew wrote: > SGI has released a portion of the XFS source code under the GPL: > > http://oss.sgi.com/projects/xfs/download/ > > the source file is xfs_log.tar.gz. > > Of greater interest at this stage

Re: mmap bug

1999-08-11 Thread Juha Nurmela
If the latter mmap.c is allowed to fill up filesystem, -current hangs in /kernel: pid 2 (pagedaemon), uid 0 on /: file system full /kernel: vnode_pager_putpages: I/O error 28 /kernel: vnode_pager_putpages: residual I/O 16384 at 880 ...repeating the last two lines, gradually increasing pindex, re

Re: mmap bug

1999-08-11 Thread Matthew Dillon
:> :>He's trying to ask if this is a problem with the code in question or 3.2R's :>mmap. : : That's better. It appears to be a classic resource related deadlock that :is caused by the VFS code needing pages in order to page things out (and thus :free up pages), but is unable to since no memory is

BSD-XFS Update

1999-08-11 Thread Alton, Matthew
SGI has released a portion of the XFS source code under the GPL: http://oss.sgi.com/projects/xfs/download/ the source file is xfs_log.tar.gz. Of greater interest at this stage are the documents in: http://oss.sgi.com/projects/xfs/design_docs/ I am currently researching methods for implementin

Re: mmap bug

1999-08-11 Thread Matthew Dillon
:If the latter mmap.c is allowed to fill up filesystem, -current hangs in : :/kernel: pid 2 (pagedaemon), uid 0 on /: file system full :/kernel: vnode_pager_putpages: I/O error 28 :/kernel: vnode_pager_putpages: residual I/O 16384 at 880 : :...repeating the last two lines, gradually increasing pin

Re: mmap bug

1999-08-11 Thread Juha Nurmela
If the latter mmap.c is allowed to fill up filesystem, -current hangs in /kernel: pid 2 (pagedaemon), uid 0 on /: file system full /kernel: vnode_pager_putpages: I/O error 28 /kernel: vnode_pager_putpages: residual I/O 16384 at 880 ...repeating the last two lines, gradually increasing pindex, r

Re: mmap bug

1999-08-11 Thread Matthew Dillon
:> :>He's trying to ask if this is a problem with the code in question or 3.2R's :>mmap. : : That's better. It appears to be a classic resource related deadlock that :is caused by the VFS code needing pages in order to page things out (and thus :free up pages), but is unable to since no memory i

Re: BSD XFS Port & BSD VFS Rewrite

1999-08-11 Thread Tony Finch
Kenny Drobnack wrote: > >This may be a stupid question, but what's to keep from putting xfs in >FreeBSD? Is there something in the licenses that says you can't use >GPL'ed software and software under the BSD License together? Yes. The BSD licence requirement for acknowledging UCB in any advertis

Re: BSD XFS Port & BSD VFS Rewrite

1999-08-11 Thread Tony Finch
Kenny Drobnack <[EMAIL PROTECTED]> wrote: > >This may be a stupid question, but what's to keep from putting xfs in >FreeBSD? Is there something in the licenses that says you can't use >GPL'ed software and software under the BSD License together? Yes. The BSD licence requirement for acknowledging

Recreating LKM

1999-08-11 Thread Jung, Michael
Ok How does one recreate /dev/lkm for 4.0-Current? It is no longer in /dev/MAKEDEV. Thanks --mikej Michael Jung(502) 315-2457 Voice Senior Network Specialist (502) 315-2815 Facsimile National Processing Company, Inc. mj...@npc.net 1231 Durrett Lane

Re: mmap bug

1999-08-11 Thread Jake Burkholder
> >He's trying to ask if this is a problem with the code in question or 3.2R's > >mmap. > >That's better. It appears to be a classic resource related deadlock that > is caused by the VFS code needing pages in order to page things out (and thus > free up pages), but is unable to since no memory

Re: mmap bug

1999-08-11 Thread David Greenman
>Looks like Oleg made a mistake in posting the code. I saw an earlier version >of this in freebsd-questions and followed up with him. > >I've appended the version I think he meant to include. > >He's reporting this behavior with 3.2R. Runs fine with 'mmap -u', appears to >hang the machine on the se

Re: New Joystick driver?

1999-08-11 Thread Mitsuru IWASAKI
Hi, > > Well, I was going to try to roll my own for this, but it's always nice to > > know someone's already done it for me. :) I'm gone though for the next > > couple weeks though, so that'll be a nice thing to get back home to. Many > > thanks! > > > > Where will I be able to get it? > > > > -

RE: mmap bug

1999-08-11 Thread Charles Randall
Looks like Oleg made a mistake in posting the code. I saw an earlier version of this in freebsd-questions and followed up with him. I've appended the version I think he meant to include. He's reporting this behavior with 3.2R. Runs fine with 'mmap -u', appears to hang the machine on the second it

Scaleable Coherent Interface drivers

1999-08-11 Thread Ronald G. Minnich
I'm making them available on my web page, www.acl.lanl.gov/~rminnich Thanks to Dolphin for allowing this release. Questions to me. it's not the greatest driver on the planet. If you want to write a better one you can use mine as a model. I'm probably done with SCI for now, but I'll take bug fixe

Recreating LKM

1999-08-11 Thread Jung, Michael
Ok How does one recreate /dev/lkm for 4.0-Current? It is no longer in /dev/MAKEDEV. Thanks --mikej Michael Jung(502) 315-2457 Voice Senior Network Specialist (502) 315-2815 Facsimile National Processing Company, Inc. [EMAIL PROTECTED] 1231 Durrett Lan

Re: mmap bug

1999-08-11 Thread Jake Burkholder
> >He's trying to ask if this is a problem with the code in question or 3.2R's > >mmap. > >That's better. It appears to be a classic resource related deadlock that > is caused by the VFS code needing pages in order to page things out (and thus > free up pages), but is unable to since no memor

Re: BSD XFS Port & BSD VFS Rewrite

1999-08-11 Thread Warner Losh
In message Kenny Drobnack writes: : This may be a stupid question, but what's to keep from putting xfs in : FreeBSD? Is there something in the licenses that says you can't use : GPL'ed software and software under the BSD License together? The BSD license allows binary only applications, while t

Re: mmap bug

1999-08-11 Thread David Greenman
This report seems to be severely lacking in details. First, I don't understand why it is called "mmap" since it doesn't do an mmap and the "addr" that is being frobbed with isn't even initialized. Second, I get a core dump when I run it on a -stable machine: [speedy:tmp9] mmap unlink files? NO

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Warner Losh
In message Dag-Erling Smorgrav writes: : superblock (or one of its backup copies), you can determine the offset : and size of the FS. It won't tell you anything about *other* : partitions though. It will give a fairly strong hint, however. If you know what is taken up by this partition, you can

Re: mmap bug

1999-08-11 Thread Andy Doran
Um, just where do you call mmap(2) in this code? - ad Oleg Derevenetz wrote: > This small program, running as 'mmap', not 'mmap -u', can hang my machine. > Is this a known bug in FreeBSD's kernel, or it is my fantasy ? > Thank you for answer. > > #include > #include > #include > #include >

Re: mmap bug

1999-08-11 Thread David Greenman
>Looks like Oleg made a mistake in posting the code. I saw an earlier version >of this in freebsd-questions and followed up with him. > >I've appended the version I think he meant to include. > >He's reporting this behavior with 3.2R. Runs fine with 'mmap -u', appears to >hang the machine on the s

Re: mmap bug

1999-08-11 Thread Bosko Milekic
Are you running this as root? <- - - . . Bosko Milekic http://www.dsuper.net/~bmilekic/ Network Operations - Delphi SuperNet, an Internet Direct company +1.514.281.7500 (vox) / +1.514.281.6599 (fax) / http://www.dsuper.net/

Re: New Joystick driver?

1999-08-11 Thread Mitsuru IWASAKI
Hi, > > Well, I was going to try to roll my own for this, but it's always nice to > > know someone's already done it for me. :) I'm gone though for the next > > couple weeks though, so that'll be a nice thing to get back home to. Many > > thanks! > > > > Where will I be able to get it? > > > >

Re: mmap bug

1999-08-11 Thread Jason Thorpe
On Wed, 11 Aug 1999 20:48:08 +0400 (MSD) Oleg Derevenetz wrote: > This small program, running as 'mmap', not 'mmap -u', can hang my machine. > Is this a known bug in FreeBSD's kernel, or it is my fantasy ? > Thank you for answer. If it hangs your system, must be a bug in FreeBSD. Here is

RE: mmap bug

1999-08-11 Thread Charles Randall
Looks like Oleg made a mistake in posting the code. I saw an earlier version of this in freebsd-questions and followed up with him. I've appended the version I think he meant to include. He's reporting this behavior with 3.2R. Runs fine with 'mmap -u', appears to hang the machine on the second i

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Josef Karthauser
On Wed, Aug 11, 1999 at 06:46:51PM +0200, Dag-Erling Smorgrav wrote: > Josef Karthauser writes: > > On Wed, Aug 11, 1999 at 06:23:24PM +0200, Dag-Erling Smorgrav wrote: > > > Josef Karthauser writes: > > > > Ahha - of course. Ok, let me re-phrase the question then. By looking > > > > at the con

Re: changing root device to ...

1999-08-11 Thread Cillian Sharkey
> but in the boot up, the message, "changing root device to wd0s1" keeps > appearing and keeps > failing. in my /etc/fstab i have the following entry: > /dev/sd0s1a/ufs rw11 > does anyone have any ideas. > the sd0 is probed and attached successfully during startup, bu

Scaleable Coherent Interface drivers

1999-08-11 Thread Ronald G. Minnich
I'm making them available on my web page, www.acl.lanl.gov/~rminnich Thanks to Dolphin for allowing this release. Questions to me. it's not the greatest driver on the planet. If you want to write a better one you can use mine as a model. I'm probably done with SCI for now, but I'll take bug fix

Re: BSD XFS Port & BSD VFS Rewrite

1999-08-11 Thread Kenny Drobnack
This may be a stupid question, but what's to keep from putting xfs in FreeBSD? Is there something in the licenses that says you can't use GPL'ed software and software under the BSD License together? > > This is why people should start emailing asking for a dual-license that > > would support i

mmap bug

1999-08-11 Thread Oleg Derevenetz
This small program, running as 'mmap', not 'mmap -u', can hang my machine. Is this a known bug in FreeBSD's kernel, or it is my fantasy ? Thank you for answer. #include #include #include #include #include #include #include main(int argc, char *argv[]) { int fd; int i; i

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Dag-Erling Smorgrav
Josef Karthauser writes: > On Wed, Aug 11, 1999 at 06:23:24PM +0200, Dag-Erling Smorgrav wrote: > > Josef Karthauser writes: > > > Ahha - of course. Ok, let me re-phrase the question then. By looking > > > at the contents of the superblocks on a UFS file system it's possible to > > > reconstruc

Re: BSD XFS Port & BSD VFS Rewrite

1999-08-11 Thread Warner Losh
In message <[EMAIL PROTECTED]> Kenny Drobnack writes: : This may be a stupid question, but what's to keep from putting xfs in : FreeBSD? Is there something in the licenses that says you can't use : GPL'ed software and software under the BSD License together? The BSD license allows binary only a

Re: mmap bug

1999-08-11 Thread David Greenman
This report seems to be severely lacking in details. First, I don't understand why it is called "mmap" since it doesn't do an mmap and the "addr" that is being frobbed with isn't even initialized. Second, I get a core dump when I run it on a -stable machine: [speedy:tmp9] mmap unlink files? NO

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Warner Losh
In message <[EMAIL PROTECTED]> Dag-Erling Smorgrav writes: : superblock (or one of its backup copies), you can determine the offset : and size of the FS. It won't tell you anything about *other* : partitions though. It will give a fairly strong hint, however. If you know what is taken up by this

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Josef Karthauser
On Wed, Aug 11, 1999 at 06:23:24PM +0200, Dag-Erling Smorgrav wrote: > Josef Karthauser writes: > > Ahha - of course. Ok, let me re-phrase the question then. By looking > > at the contents of the superblocks on a UFS file system it's possible to > > reconstruct a disklabel for a slice. > > Well

Re: mmap bug

1999-08-11 Thread Andy Doran
Um, just where do you call mmap(2) in this code? - ad Oleg Derevenetz wrote: > This small program, running as 'mmap', not 'mmap -u', can hang my machine. > Is this a known bug in FreeBSD's kernel, or it is my fantasy ? > Thank you for answer. > > #include > #include > #include > #include >

Re: mmap bug

1999-08-11 Thread Bosko Milekic
Are you running this as root? <- - - . . Bosko Milekic <[EMAIL PROTECTED]> http://www.dsuper.net/~bmilekic/ Network Operations - Delphi SuperNet, an Internet Direct company +1.514.281.7500 (vox) / +1.514.281.6599 (fax) / http://www.dsuper.net/

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Dag-Erling Smorgrav
Josef Karthauser writes: > Ahha - of course. Ok, let me re-phrase the question then. By looking > at the contents of the superblocks on a UFS file system it's possible to > reconstruct a disklabel for a slice. Well, it's possible to reconstruct the label information for *that particular UFS fil

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Josef Karthauser
On Wed, Aug 11, 1999 at 03:38:05PM +0200, Dag-Erling Smorgrav wrote: > Josef Karthauser writes: > > If so, what extra work is required to make it work with non UFS file > > systems - is 'disklabel' used on non UFS fs's? > > Disklabel doesn't work at the fs level, it works at the slice level - > d

Re: mmap bug

1999-08-11 Thread Jason Thorpe
On Wed, 11 Aug 1999 20:48:08 +0400 (MSD) Oleg Derevenetz <[EMAIL PROTECTED]> wrote: > This small program, running as 'mmap', not 'mmap -u', can hang my machine. > Is this a known bug in FreeBSD's kernel, or it is my fantasy ? > Thank you for answer. If it hangs your system, must be a bug

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Josef Karthauser
On Wed, Aug 11, 1999 at 06:46:51PM +0200, Dag-Erling Smorgrav wrote: > Josef Karthauser <[EMAIL PROTECTED]> writes: > > On Wed, Aug 11, 1999 at 06:23:24PM +0200, Dag-Erling Smorgrav wrote: > > > Josef Karthauser <[EMAIL PROTECTED]> writes: > > > > Ahha - of course. Ok, let me re-phrase the questi

Re: changing root device to ...

1999-08-11 Thread Cillian Sharkey
> but in the boot up, the message, "changing root device to wd0s1" keeps appearing and >keeps > failing. in my /etc/fstab i have the following entry: > /dev/sd0s1a/ufs rw11 > does anyone have any ideas. > the sd0 is probed and attached successfully during startup, bu

Re: BSD XFS Port & BSD VFS Rewrite

1999-08-11 Thread Mark Tinguely
> This is why people should start emailing asking for a dual-license that > would support incorporation into FreeBSD. good luck, the SGI crowd are very Linux-oriented. --mark. To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message

Re: BSD XFS Port & BSD VFS Rewrite

1999-08-11 Thread Kenny Drobnack
This may be a stupid question, but what's to keep from putting xfs in FreeBSD? Is there something in the licenses that says you can't use GPL'ed software and software under the BSD License together? > > This is why people should start emailing asking for a dual-license that > > would support

mmap bug

1999-08-11 Thread Oleg Derevenetz
This small program, running as 'mmap', not 'mmap -u', can hang my machine. Is this a known bug in FreeBSD's kernel, or it is my fantasy ? Thank you for answer. #include #include #include #include #include #include #include main(int argc, char *argv[]) { int fd; int i;

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Dag-Erling Smorgrav
Josef Karthauser <[EMAIL PROTECTED]> writes: > On Wed, Aug 11, 1999 at 06:23:24PM +0200, Dag-Erling Smorgrav wrote: > > Josef Karthauser <[EMAIL PROTECTED]> writes: > > > Ahha - of course. Ok, let me re-phrase the question then. By looking > > > at the contents of the superblocks on a UFS file s

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Josef Karthauser
On Wed, Aug 11, 1999 at 06:23:24PM +0200, Dag-Erling Smorgrav wrote: > Josef Karthauser <[EMAIL PROTECTED]> writes: > > Ahha - of course. Ok, let me re-phrase the question then. By looking > > at the contents of the superblocks on a UFS file system it's possible to > > reconstruct a disklabel fo

Re: Question

1999-08-11 Thread Ben Rosengart
On Wed, 11 Aug 1999, Gutov Grigory wrote: > I have a question. I buy 6 MegaRAID Ultra PCI SCSI Disk Array Controller's > and want to use they in FreeBSD, but not found driver. I wrote to > supp...@ami.com and they siad that no driver for FreeBSD. I found driver for > Linux and want use it in FreeB

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Dag-Erling Smorgrav
Josef Karthauser <[EMAIL PROTECTED]> writes: > Ahha - of course. Ok, let me re-phrase the question then. By looking > at the contents of the superblocks on a UFS file system it's possible to > reconstruct a disklabel for a slice. Well, it's possible to reconstruct the label information for *tha

Re: Unsafe code in libc in 3.0-RELEASE FreeBSD i386

1999-08-11 Thread Dag-Erling Smorgrav
Archie Cobbs writes: > Igor Gousarov writes: > > The source file for setlocale function > > (/usr/src/lib/libc/locale/setlocale.c) > > contains the line which might put libc into infinite loop: > > [...] > Please file a PR to make sure that this doesn't "slip through > the cracks"... It seems to

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Josef Karthauser
On Wed, Aug 11, 1999 at 03:38:05PM +0200, Dag-Erling Smorgrav wrote: > Josef Karthauser <[EMAIL PROTECTED]> writes: > > If so, what extra work is required to make it work with non UFS file > > systems - is 'disklabel' used on non UFS fs's? > > Disklabel doesn't work at the fs level, it works at t

Re: BSD XFS Port & BSD VFS Rewrite

1999-08-11 Thread Mark Tinguely
> This is why people should start emailing asking for a dual-license that > would support incorporation into FreeBSD. good luck, the SGI crowd are very Linux-oriented. --mark. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Question

1999-08-11 Thread Ben Rosengart
On Wed, 11 Aug 1999, Gutov Grigory wrote: > I have a question. I buy 6 MegaRAID Ultra PCI SCSI Disk Array Controller's > and want to use they in FreeBSD, but not found driver. I wrote to > [EMAIL PROTECTED] and they siad that no driver for FreeBSD. I found driver for > Linux and want use it in Fr

Re: Unsafe code in libc in 3.0-RELEASE FreeBSD i386

1999-08-11 Thread Dag-Erling Smorgrav
Archie Cobbs <[EMAIL PROTECTED]> writes: > Igor Gousarov writes: > > The source file for setlocale function (/usr/src/lib/libc/locale/setlocale.c) > > contains the line which might put libc into infinite loop: > > [...] > Please file a PR to make sure that this doesn't "slip through > the cracks".

changing root device to ...

1999-08-11 Thread eT
FreeBSD 2.2.6-RELEASE i have a scsi device and i want to change root to this device during startup. i added the following line in my kernel config file: config kernel root on sd0s1 but in the boot up, the message, "changing root device to wd0s1" keeps appearing and keeps failing. in

Re: Questions on new-bus source code

1999-08-11 Thread Nick Hibma
> (2) I guess that the probe process of all devices on the tree is triggered > by root_bus_configure() in subr_bus.c. It is done from top to bottom, > i.e. the probe process should be propagated down the device tree from > root_bus. Am I right? How does this tree structure achieve the dynamic

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Dag-Erling Smorgrav
Josef Karthauser writes: > If so, what extra work is required to make it work with non UFS file > systems - is 'disklabel' used on non UFS fs's? Disklabel doesn't work at the fs level, it works at the slice level - dividing slices into partitions, in which you can create file systems. DES -- Da

changing root device to ...

1999-08-11 Thread eT
FreeBSD 2.2.6-RELEASE i have a scsi device and i want to change root to this device during startup. i added the following line in my kernel config file: config kernel root on sd0s1 but in the boot up, the message, "changing root device to wd0s1" keeps appearing and keeps failing. in

Re: Questions on new-bus source code

1999-08-11 Thread Nick Hibma
> (2) I guess that the probe process of all devices on the tree is triggered > by root_bus_configure() in subr_bus.c. It is done from top to bottom, > i.e. the probe process should be propagated down the device tree from > root_bus. Am I right? How does this tree structure achieve the dynamic

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Dag-Erling Smorgrav
Josef Karthauser <[EMAIL PROTECTED]> writes: > If so, what extra work is required to make it work with non UFS file > systems - is 'disklabel' used on non UFS fs's? Disklabel doesn't work at the fs level, it works at the slice level - dividing slices into partitions, in which you can create file

Re: Using legacy sysinstall to upgrade live system

1999-08-11 Thread Sheldon Hearn
On Wed, 11 Aug 1999 00:07:41 MST, "Jordan K. Hubbard" wrote: > Nonetheless, for the expected installation experience one is > encouraged to boot the desired OS release's installation media and > select an upgrade instead of a new install. Gotcha. So you'd be interested in diffs that teach sysi

Re: Using legacy sysinstall to upgrade live system

1999-08-11 Thread Sheldon Hearn
On Wed, 11 Aug 1999 00:07:41 MST, "Jordan K. Hubbard" wrote: > Nonetheless, for the expected installation experience one is > encouraged to boot the desired OS release's installation media and > select an upgrade instead of a new install. Gotcha. So you'd be interested in diffs that teach sys

how fast get real/absolute path of file

1999-08-11 Thread Steven Jurczyk
How fast get real / absolute path of specified file. I try use readlink, but this slow (for path /home/web/docs/index.htm must be done 4 or more (if this path have symlinks) readlink's - for /home, /home/web, /home/web/docs and /home/web/docs/index.htm). Is any faster/simpler method for getting

how fast get real/absolute path of file

1999-08-11 Thread Steven Jurczyk
How fast get real / absolute path of specified file. I try use readlink, but this slow (for path /home/web/docs/index.htm must be done 4 or more (if this path have symlinks) readlink's - for /home, /home/web, /home/web/docs and /home/web/docs/index.htm). Is any faster/simpler method for getting

Re: Using legacy sysinstall to upgrade live system

1999-08-11 Thread Jordan K. Hubbard
The use of /stand/sysinstall to do a live upgrade has always been discouraged, though it's not outright disallowed since I believe in every man's right to blow his feet off if he really wants to. Nonetheless, for the expected installation experience one is encouraged to boot the desired OS release