Hello,
Here is a patch for cdcontrol(1) to allow set maximum CD drive speed.
It comes from kern/35512. Are there any comments/objections?
Index: cdcontrol.1
===
RCS file: /home/ncvs/src/usr.sbin/cdcontrol/cdcontrol.1,v
retrieving r
In article <[EMAIL PROTECTED]> you wrote:
> Here is a patch for cdcontrol(1) to allow set maximum CD drive speed.
> It comes from kern/35512. Are there any comments/objections?
> Index: cdcontrol.1
> ===
> RCS file: /home/ncvs/src/
Dear Sirs,
Perl has very useful "split" function, it "split"s a string according
arbitrary regular expression. Is there's such a C function ?
I'm moving few programs from Perl to C.
Regards, (îÁÉÌÕÞÛÉÅ ÐÏÖÅÌÁÎÉÑ)
Ilia Chipitsine (éÌØÑ ûÉÐÉÃÉÎ)
To Unsubscribe: send mail to [EMAIL PROTECTED]
wit
Bruce A. Mah writes:
>
> I was discussing this with some of my cow-orkers, as we've had a similar
> situation (cluster mbufs getting temporarily depleted on a
> 4.5-RELEASE-p2 NFS server with Linux and FreeBSD clients, but no kernel
> panics). Shouldn't the net.inet.ip.maxfragpackets sysct
It seems Philipp Mergenthaler wrote:
> > @@ -24,6 +24,7 @@
> > #endif /* not lint */
>
> > #include
> > +#include
>
> Jörg Wunsch commented that adding "include " would be
> wrong and that this ioctl should be moved to sys/cdio.h instead.
> (I guess then it should be renamed to CDIOCREADSPEE
On Fri, Apr 05, 2002 at 07:56:53PM +0600, Ilia Chipitsine wrote:
> Dear Sirs,
>
> Perl has very useful "split" function, it "split"s a string according
> arbitrary regular expression. Is there's such a C function ?
> I'm moving few programs from Perl to C.
strsep(3)
Especially the exmaple in the
Salut, Bernd Walter !
On Fri, 5 Apr 2002, Bernd Walter wrote:
> On Fri, Apr 05, 2002 at 07:56:53PM +0600, Ilia Chipitsine wrote:
> > Dear Sirs,
> >
> > Perl has very useful "split" function, it "split"s a string according
> > arbitrary regular expression. Is there's such a C function ?
> > I
On Fri, Apr 05, 2002 at 09:14:46PM +0600, Ilia Chipitsine wrote:
> Salut, Bernd Walter !
>
>
> On Fri, 5 Apr 2002, Bernd Walter wrote:
>
> > On Fri, Apr 05, 2002 at 07:56:53PM +0600, Ilia Chipitsine wrote:
> > > Dear Sirs,
> > >
> > > Perl has very useful "split" function, it "split"s a stri
Ilia Chipitsine wrote:
>
> Salut, Bernd Walter !
>
> On Fri, 5 Apr 2002, Bernd Walter wrote:
>
> > On Fri, Apr 05, 2002 at 07:56:53PM +0600, Ilia Chipitsine wrote:
> > > Dear Sirs,
> > >
> > > Perl has very useful "split" function, it "split"s a string according
> > > arbitrary regular expressi
In the last episode (Apr 05), Maxim Konovalov said:
>
> Hello,
>
> Here is a patch for cdcontrol(1) to allow set maximum CD drive speed.
> It comes from kern/35512. Are there any comments/objections?
>
> Index: cdcontrol.1
...
> +.It Cm speed Ar s
> +Set the highest speed that the drive should
Philipp Mergenthaler wrote:
> > +.It Cm speed Ar s
> > +Set the highest speed that the drive should use. This command is currently
> > +only supported on ATAPI drives.
>
> Maybe we should mention the unit for speed here, i.e. "kB/s" or
> "multiples of single speed", but that depends on whether ke
Andrew Gallatin wrote:
> The problem is that ip_maxfragpackets is:
> "Maximum number of IPv4 fragment reassembly queue entries"
>
> You (& I, & most people probably) took that number to mean the cap on
> the number of mbufs sitting on reassembly queues. However, its really
> a cap on the number
Terry Lambert writes:
> Andrew Gallatin wrote:
> > The problem is that ip_maxfragpackets is:
> > "Maximum number of IPv4 fragment reassembly queue entries"
> >
> > You (& I, & most people probably) took that number to mean the cap on
> > the number of mbufs sitting on reassembly queues. H
> For drivers which must be active in the boot path, it is
> generally necessary to embed the firmware in the driver as
> data. This is what FreeBSD does for the Adaptec SCSI
> drivers.
>
> For drivers that need to be active after boot time, but before
> the mi_startup() is complete, you can loa
Or maybe make it only come out of screensaver if there is a console
message (i.e.: kernel messages, etc...), but stay there during tty
activity.
--
coleman
On Fri, Apr 05, 2002 at 12:18:28AM -0800, Alfred Perlstein wrote:
> Can someone (for the love of god) make it an option for the
> syscons sc
I have a FreeBSD 4.5-RELEASE box that I recently installed gcc-3.0.4. Is
there any support for compiling 64-bit source code on this 32-bit set-up?
(ie, a sort of emulation mode in that if the compiler sees a "long long
int", it creates 2 32-bit registers for it instead of a 64-bit register).
Curr
Hello!
Well, the subj says more or less all.. ;-)
On 4.x-STABLE systems, a kernel compiled with "options DDB" and
"makeoptions DEBUG=-g" is, at execution, slower than one compiled
without that two settings ?
Or is it "only" bigger on disk and, maybe, in memory ?
I ask you this because I'm evalu
* Coleman Kane <[EMAIL PROTECTED]> [020405 11:06] wrote:
> Or maybe make it only come out of screensaver if there is a console
> message (i.e.: kernel messages, etc...), but stay there during tty
> activity.
That would be nice also, but I'm more interested in having the
screen saver work like a r
* Alessandro de Manzano <[EMAIL PROTECTED]> [020405 11:57] wrote:
> Hello!
>
> Well, the subj says more or less all.. ;-)
>
> On 4.x-STABLE systems, a kernel compiled with "options DDB" and
> "makeoptions DEBUG=-g" is, at execution, slower than one compiled
> without that two settings ?
> Or is
This is gcc question, you can also try [EMAIL PROTECTED]
main()
{
long long ll;
ll = 1234567890123456LL;
printf("%lld\n", ll);
}
% ./a.out
1234567890123456
I looked at the assembly dump, it looks OK:
main:
pushl %ebp
movl %esp,%ebp
subl $8,%esp
movl $101572
On Fri, Apr 05, 2002 at 12:00:05PM -0800, Alfred Perlstein wrote:
Wow, thanks for the super-fast answer! :))
> > on my production servers' kernel so in the very rare case of crash I'll
> > got a crash dump ( I'ld use also options DDB_UNATTENDED) and could
> > immediately have a backtrace report
On Fri, Apr 05, 2002 at 02:36:41PM -0500, Jason Borkowsky wrote:
>
> I have a FreeBSD 4.5-RELEASE box that I recently installed gcc-3.0.4. Is
> there any support for compiling 64-bit source code on this 32-bit set-up?
> (ie, a sort of emulation mode in that if the compiler sees a "long long
> int
* Alessandro de Manzano <[EMAIL PROTECTED]> [020405 12:08] wrote:
> On Fri, Apr 05, 2002 at 12:00:05PM -0800, Alfred Perlstein wrote:
>
> Wow, thanks for the super-fast answer! :))
>
>
> > > on my production servers' kernel so in the very rare case of crash I'll
> > > got a crash dump ( I'ld us
Hi,
Here is a small patch to re-add the hw.syscons.saver.timeout using SYSCTL_PROC as
suggested by jhb.
It adds a CONS_SAVER_KBD_ONLY ioctl too that does the same that the
hw.syscons.saver.keybonly.
--- /sys/dev/syscons/syscons.c Fri Apr 5 20:17:49 2002
+++ /root/syscons.c Fri Apr 5
Thanks for the answer. I thought this was a FreeBSD gcc interaction
question, but it turns out it was just a coding question. Thanks though!
> This is gcc question, you can also try [EMAIL PROTECTED]
>
> main()
> {
> long long ll;
> ll = 1234567890123456LL;
> printf("%lld\n", ll);
> }
>
>
[Moving to -net]
If memory serves me right, Andrew Gallatin wrote:
> > Alternately, it would be a good idea to have a "ip_maxpacketfrags"
> > instead of an "ip_maxfragpackets", to put a hard limit on the
> > number of mbufs that can be consumed by the fragment reassembly
> > process.
>
> I
On Fri, 5 Apr 2002, Alessandro de Manzano wrote:
> On Fri, Apr 05, 2002 at 12:00:05PM -0800, Alfred Perlstein wrote:
>
> Wow, thanks for the super-fast answer! :))
>
>
> > > on my production servers' kernel so in the very rare case of crash I'll
> > > got a crash dump ( I'ld use also options DDB_
Michael Smith wrote:
> > For drivers which must be active in the boot path, it is
> > generally necessary to embed the firmware in the driver as
> > data. This is what FreeBSD does for the Adaptec SCSI
> > drivers.
> >
> > For drivers that need to be active after boot time, but before
> > the mi_
system: 4.2-release, generic kernel
src tree: -stable via cvsup, 4.5-release via sysinstall...same
problem:
snip
===> gnu/usr.bin/binutils/gdbserver
".depend", line 23: Need an operator
".depend", line 282: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code
On Friday, 5 April 2002 at 14:18:38 -0800, Doug White wrote:
> On Fri, 5 Apr 2002, Alessandro de Manzano wrote:
>
>> On Fri, Apr 05, 2002 at 12:00:05PM -0800, Alfred Perlstein wrote:
>>
>> Wow, thanks for the super-fast answer! :))
>>
>>
on my production servers' kernel so in the very rare c
Nice. Perhaps it might be better to make an ioctl/sysctl that took a list
of the types of activity to wake on (e.g. tty output, kernel print, writes
to dev console, mouse movement, and keypress).
Olivier Houchard [[EMAIL PROTECTED]] wrote :
> Hi,
> Here is a small patch to re-add the hw.syscon
31 matches
Mail list logo