Peter,
Attached is the fix wrt your previous email. Again, can be found in
www.watson.org/~arr/fbsd-patches/
Cheers,
Andrew
--- include/pcb.h.orig Wed Sep 19 02:07:48 2001
+++ include/pcb.h Wed Sep 19 02:08:37 2001
@@ -61,7 +61,6 @@
int pcb_dr6;
int pcb_dr7;
"Andrew R. Reiter" wrote:
> On Wed, 19 Sep 2001, Peter Wemm wrote:
> :
> :One comment:
> :
> :-cmpl$0, PCB_USERLDT(%edx) /* if there is one */
> :+movlTD_PROC(%ecx), %eax /* load struct proc from CURTHREAD */
> :+lealP_MD(%eax), %eax/* get mdproc from proc */
>Submitter-Id: current-users
>Originator:Vladimir B. Grebenschikov
>Organization: TSB "Russian Express"
>Confidential: no
>Synopsis: uptime and w utilities lie about real uptime
>Severity: non-critical
>Priority: low
>Category: bin
>Class: sw-bug
>Release:
"Vladimir B.Grebenschikov" wrote:
>
> >Submitter-Id: current-users
> >Originator:Vladimir B. Grebenschikov
> >Organization: TSB "Russian Express"
> >Confidential: no
> >Synopsis: uptime and w utilities lie about real uptime
> >Severity: non-critical
> >Priority: low
> >Categ
Michael Sinz writes:
> > if (sysctl(mib, 2, &boottime, &size, NULL, 0) != -1 &&
> > boottime.tv_sec != 0) {
> > uptime = now - boottime.tv_sec;
> > uptime += 30;
> > == ^
> > days = uptime / 86400;
Jean-Christophe Varaillon wrote:
>
> Hi,
>
> Newbie, I need to understand the differents steps of a booting process
> from the 2 floppies (kern.flp & mfsroot.flp).
>
> How it comes and the FreeBSD machine can understand the fact that it has
> to find kern.flp & mfsroot.flp from the floppy, unco
On Thu, Sep 20, 2001 at 03:21:08PM +0400, Vladimir B.Grebenschikov wrote:
> why utility increases uptime on 30 seconds ??
> Is any real reasons for it ?
It adds 30 because it wants to round the number of minutes to the
nearest minute, instead of rounding down. Unfortunately this isn't
a sensible
Is the tools directory supposed to be missing on the 4.4 CDs?
I downloaded the full disk 1 ISO yesterday and burned it only to
discover that fdimage.exe was nowhere to be found on the CD. This is
not a good thing when you have to create boot floppies because your
BIOS refuses to acknowledge the
It's rounding to minutes when it shouldn't, uptime only displays
seconds for very short uptimes, and then always rounds to minutes.
Your patch causes it to truncate, which is probably the right
thing to do, the alternative would be:
if (uptime > 60) uptime += 30;
That way it won't start roundin
Hello,
I am installing freebsd 4.2 and at the point of configuring the DHCP, it crashes with a Signal 11. Assist please.
Or is there a site I could visit for troubleshooting
Thanks
Desperately yours
damie Get your FREE download of MSN Explorer at http://explorer.msn.com
To Unsubscribe: send
[Please ask questions at the FreeBSD-Questions mailing list. Hackers is
reserved for discussing development.]
damie odessa wrote:
> Hello,
>
> I am installing freebsd 4.2 and at the point of configuring the DHCP,
> it crashes with a Signal 11. Assist please.
>
Did you install from ports? Had yo
On 20-Sep-01 Julian Elischer wrote:
> Peter Wemm wrote:
>>
>> John Baldwin wrote:
>> >
>> > On 19-Sep-01 Peter Wemm wrote:
>> > > The more I think about it, the right place may be the kse, since that
>> > > outlives
>> > > the threads and is per-cpu unlike the process.
>> > >
>> > > Or, we just
Ack. Ok, I realized that I forgot to upload a couple of files to
http://www.freebsd.org/~wpaul/Broadcom/4.x yesterday. The brgphy
driver needs an updated version of the miidevs file, and the
ones generated from it. I have placed these on the web site along
with all the other stuff. In addition to
There is now a -current version of the bge driver at the following
URL: http://www.freebsd.org/~wpaul/Broadcom/5.x
The brgphy driver in -current has already been updated so support
the BCM5401 and BCM5411 PHYs, so no other changes are necessary.
Share and enjoy.
-Bill
To Unsubscribe: send mail
On Tue, Sep 18, 2001 at 08:00:35PM -0500, Hassan Halta wrote:
> Hello,
>
> I hope some person will be able to help in this problem. I have a
> SMP enviorment with 2 CPUs, and things are working just fine, and the
> kernel recognizes everything. But The only problem that's top is
> misbehavi
I tried "questions" for this but no answer.
I am attempting to use ipfw and dummynet to instrument some network
traffic tests. I am running freebsd 4.3 release and have built the
kernel
with ipfirewall, dummynet, and default to enabled. For a simple test, I
added a pipe "ipfw add pipe 1 icmp f
You may want to install FreeBSD-4.4, it was released yesterday, so this means that you
are attempting to install something two
versions behind.
There are security issues with 4.2...
damie odessa wrote:
> Hello,
>
> I am installing freebsd 4.2 and at the point of configuring the DHCP, it
> c
Hi,
I'm trying to write a raw (SYN) packet with sendto. I've opened the socket
with socket(AF_INET, SOCK_RAW, IPPROTO_RAW), the result is checked and it is
unbound. A buffer and a sockaddr_in are formed then sent down the socket with
sendto(sck,pBuffer,40,0,(struct sockaddr *)&sin,sizeof(sin))
* David Preece <[EMAIL PROTECTED]> [010920 17:35] wrote:
> Hi,
>
> I'm trying to write a raw (SYN) packet with sendto. I've opened the socket
> with socket(AF_INET, SOCK_RAW, IPPROTO_RAW), the result is checked and it is
> unbound. A buffer and a sockaddr_in are formed then sent down the socket
On Fri, 21 Sep 2001 10:47, you wrote:
> > the
> > buffer I pass is appended as data on the end of an IP packet with unknown
> > protocol, rather than replacing the IP and TCP headers (i.e. appending
> > the ethernet header) as I had hoped.
> It would help if you'd provided what you think you're s
Thanks for your help, as suggested the combination of IP_HDRINCL and reading
Stevens seems to have me back on the right path. Part of the confusion was
the Linux implementation of IP_HDRINCL appears to need the hardware addresses
writing as well, consequently there are lots of examples of this
MR ANTHONY PETERS
EMAIL:[EMAIL PROTECTED]
DEAR FRIEND,
I AM MR ANTHONY PETERS, A ONE TIME PERSONAL ASSISTANT
TO AN EXPATRIATE DIAMOND ENGINEER IN THE NIMBA COUNTY
MINES OF SIERRA-LEON. I AM SEEKING YOUR ASSISTANCE IN
A BUSINESS THAT WOULD NEED YOUR CONFIDENTIALITY TRUST
AND SUPPORT.
MY BOSS WA
Removed spammer from cc list...
If you found this amusing see:
http://www.buddyweiserman.com/
it's sorta amusing. :)
* Anthony Peters <[EMAIL PROTECTED]> [010920 20:19] wrote:
>
> MR ANTHONY PETERS
> EMAIL:[EMAIL PROTECTED]
>
> DEAR FRIEND,
>
> I AM MR ANTHONY PETERS, A ONE TIME PERSONAL ASS
> pkt.ipbit.ip_sum=in_cksum((unsigned short*)(void*)&pkt,20);
> pkt.tcpbit.th_sum=tcpsum(&pkt.ipbit);
You need to do the TCP checksum first. It changes the payload (the TCP
checksum). The IP checksum includes all data, so must be done after the
payload changes are done.
-Les
--
Les Biffle wrote:
> > pkt.ipbit.ip_sum=in_cksum((unsigned short*)(void*)&pkt,20);
> > pkt.tcpbit.th_sum=tcpsum(&pkt.ipbit);
>
> You need to do the TCP checksum first. It changes the payload (the TCP
> checksum). The IP checksum includes all data, so must be done after the
> payloa
come to think of it... perhaps you are not calculating the tcp checksum
correctly because of the tcp/ip pseudo header. i no longer have the code that
was posted, but thinking back i believe this might be the case.
Matt Finlay wrote:
> Les Biffle wrote:
>
> > > pkt.ipbit.ip_sum=in_cksum((
OK, Apologies for my slowness, it's just been one of those slow days. Y'know
not enough coffee, too much food? Like that. One of our cats didn't help at
about 2am either.
So I get a TCP packet together and send it through (the now correctly
optioned) socket. sendto fails and returns -1, derefe
On Thu, 20 Sep 2001, Jason Andresen wrote:
> Is the tools directory supposed to be missing on the 4.4 CDs?
> I downloaded the full disk 1 ISO yesterday and burned it only to
> discover that fdimage.exe was nowhere to be found on the CD. This is
> not a good thing when you have to create boot fl
On Thu, Sep 20, 2001 at 10:00:03PM -0700, Annelise Anderson wrote:
> On Thu, 20 Sep 2001, Jason Andresen wrote:
>
> > Is the tools directory supposed to be missing on the 4.4 CDs?
> > I downloaded the full disk 1 ISO yesterday and burned it only to
> > discover that fdimage.exe was nowhere to be
> I seem to recall these programs were owned by WCCDROM (then BSDi, then
Naw, I'd long since prunted tools/ to just the stuff that was freely
redistributable. Murray simply forgot to put it on the ISOs he
created. :)
- Jordan
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe fre
On Fri, Sep 21, 2001 at 12:05:20PM +1200, David Preece wrote:
> Thanks for your help, as suggested the combination of IP_HDRINCL and reading
> Stevens seems to have me back on the right path. Part of the confusion was
> the Linux implementation of IP_HDRINCL appears to need the hardware addresse
On Thu, 20 Sep 2001, Kris Kennaway wrote:
> > On Thu, 20 Sep 2001, Jason Andresen wrote:
> >
> > > Is the tools directory supposed to be missing on the 4.4 CDs?
>
> I seem to recall these programs were owned by WCCDROM (then BSDi, then
> WRS), and there may have been problems in putting them
Does anyone know of specific reasons to use m_devget()
to extract received packets from the rx buffer in the "dc"
driver, as opposed to passing up the mbuf and just
replacing it with a fresh one in the controller's queue ?
Other drivers just happily do the latter, including the "de"
driver, so th
33 matches
Mail list logo