Re: problems with 'make buildworld' on current

2001-11-23 Thread Hiten Pandya

hi,
how bout removing your old source tree, and replacing
it with the CURRENT one...

thats how i resolved issues with my buildoworld
process.. although this does sound daft... so...

try that...
or.. what you can do is... update your src tree to
4.4, and then update it to CURRENT...

that might work...

thanks...
--- Landon Stewart <[EMAIL PROTECTED]> wrote:
> When I do a "make buildworld" I get an error about
> an incomplete type for 
> field 'inc4_route'.  I've read the /usr/src/UPDATING
> and found no real 
> references to this type of problem.
> 
> Am I jumping too far between 4.3-REL and current?
> Do I need some compile options?
> Do I need the compat4.x.i386 installed?
> Any other ideas?
> 
> # uname -a
> FreeBSD pirahna.awe-full.com 4.3-RELEASE FreeBSD
> 4.3-RELEASE #0: Sat Apr 21 
> 10:54:49 GMT 2001
> [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC 
> i386
> 
> ===> usr.bin/systat
> cc -nostdinc -O -pipe
> -I/usr/obj/usr/src/i386/usr/include  -c 
> /usr/src/usr.bin/systat/cmds.c
> ...  ...
> cc -nostdinc -O -pipe
> -I/usr/obj/usr/src/i386/usr/include  -c 
> /usr/src/usr.bin/systat/tcp.c
> In file included from
>
/usr/obj/usr/src/i386/usr/include/netinet/tcp_var.h:40,
>   from
> /usr/src/usr.bin/systat/tcp.c:56:
>
/usr/obj/usr/src/i386/usr/include/netinet/in_pcb.h:106:
> field `inc4_route' 
> has incomplete type
> *** Error code 1
> 
> 4 error codes follow this one, all the same, and
> then a "stop in /usr/src".
> 
> 


=
regards,
Hiten Pandya
<[EMAIL PROTECTED]>


Guys!... stay away from Einstein Junior!


__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Syncache breaks NEWBUS ep iface [Was: Re: cvs commit: src/sys/conf files src/sys/net route.h src/sys/netinet in_pcb.c in_pcb.h tcp_input.c tcp_output.c tcp_subr.c tcp_syncache.c tcp_usrreq.c tcp_var.h src/sys/netinet6 tcp6_var.h]

2001-11-23 Thread Andrea Campi

Don't ask me why or how, but this commit breaks detection of my 3Com 3C589
pccard (NEWBUS). I am 100%, having done binary search; only reverting this
change gives me back my ep0.

Normal dmesg fragment:

[...]
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
 cstsevent occures, 0x3510
 pwrevent occures, 0x3510
acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%
ad0: 5729MB  [12416/15/63] at ata0-master UDMA33
ad2: 19077MB  [38760/16/63] at ata1-master UDMA33
Mounting root from ufs:/dev/ad2s2a
pccbb0: card inserted: event=0x, state=3510
pccard0: chip_socket_enable
pccbb_pcic_socket_enable:
[...]

After this commit:

[...]
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
 cstsevent occures, 0x3510
 pwrevent occures, 0x3510
acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%
ad0: 5729MB  [12416/15/63] at ata0-master UDMA33
ad2: 19077MB  [38760/16/63] at ata1-master UDMA33
Mounting root from ufs:/dev/ad2s2a
Entropy harvesting: interrupts ethernet point_to_point.
[...]

No idea how a network commit might break hardware detection, so I'm stuck.

Bye,
Andrea

On Wed, Nov 21, 2001 at 08:50:44PM -0800, Jonathan Lemon wrote:
> jlemon  2001/11/21 20:50:44 PST
> 
>   Modified files:
> sys/conf files 
> sys/net  route.h 
> sys/netinet  in_pcb.c in_pcb.h tcp_input.c 
>  tcp_output.c tcp_subr.c tcp_usrreq.c 
>  tcp_var.h 
> sys/netinet6 tcp6_var.h 
>   Added files:
> sys/netinet  tcp_syncache.c 
>   Log:
>   Introduce a syncache, which enables FreeBSD to withstand a SYN flood
>   DoS in an improved fashion over the existing code.
>   
>   Reviewed by: silby  (in a previous iteration)
>   Sponsored by: DARPA, NAI Labs
>   
>   Revision  ChangesPath
>   1.583 +1 -0  src/sys/conf/files
>   1.42  +1 -1  src/sys/net/route.h
>   1.94  +2 -17 src/sys/netinet/in_pcb.c
>   1.41  +63 -28src/sys/netinet/in_pcb.h
>   1.143 +261 -470  src/sys/netinet/tcp_input.c
>   1.54  +2 -2  src/sys/netinet/tcp_output.c
>   1.118 +42 -36src/sys/netinet/tcp_subr.c
>   1.1   +1161 -0   src/sys/netinet/tcp_syncache.c (new)
>   1.68  +3 -3  src/sys/netinet/tcp_usrreq.c
>   1.74  +76 -8 src/sys/netinet/tcp_var.h
>   1.5   +3 -3  src/sys/netinet6/tcp6_var.h
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe cvs-all" in the body of the message

-- 
   It's not a bug, it's tradition!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Hoe to boot diskless without PXE ?

2001-11-23 Thread Holm Tiffe

Hi,

it is the time again for me to investigate how diskless booting -current
is working today.

I've got a german Telekom TDSL line und must convert from my oldish
I4B diskless router (386/40) to a new one, that's capable to handle
the DSL speed at 768K/sec.

Since there are now to many differences between my -current workstation at
home and the 4.1-stable that's my i4B router boots diskless, I've decided
to run -current on the new router also and I wish to share the / and the
/usr filesystems between the two.

I have an 10base5 Network at home and the DSL modem comes with an 10baseT
interface.

The Network cards I wish to use are some oldish WD8013 with an etherboot
rom and dhcp and for the DSL side an 3C509.

What ist the way to boot , eg. which file I have to load with dhcp?
The cards doesn't support pxe.

Please point me in the right direction...

THX,

Holm
-- 
FreibergNet Systemhaus GbR  Holm Tiffe  * Administration, Development
Systemhaus für Daten- und Netzwerktechnik   phone +49 3731 781279
Unternehmensgruppe Liebscher & Partnerfax +49 3731 781377
D-09599 Freiberg * Am St. Niclas Schacht 13 http://www.freibergnet.de


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Still panic() with userland binary on CURRENT

2001-11-23 Thread Martin Blapp


Hi DES, John,

It does not lock the box completly, but it still panics. Sorry.

DDB over serial connection:

#./unilockd

lock order reversal
 1st 0xc04a8e80 sched lock @ /usr/src/sys/kern/kern_mutex.c:319
 2nd 0xc049d8a0 sio @ /usr/src/sys/dev/sio/sio.c:2958
kernel trap 12 with interrupts disabled

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x123423bd
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc024d74a
stack pointer   = 0x10:0xcdc4dc70
frame pointer   = 0x10:0xcdc4dc7c
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, IOPL = 0
current process = 12 (swi6: tty:sio clock)
kernel: type 12 trap, code=0
Stopped at  _mtx_lock_sleep+0x14e:  movb0x45(%eax),%al
db> trace
_mtx_lock_sleep(cf610f10,0,c03c7966,27b) at _mtx_lock_sleep+0x14e
_mtx_lock_flags(cf610f10,0,c03c7966,27b,6) at _mtx_lock_flags+0x79
realitexpire(cf610d04) at realitexpire+0x24
softclock(0) at softclock+0x136
ithread_loop(c24ced00,cdc4dd48,c24ced00,c02470b8,0) at ithread_loop+0x12a
fork_exit(c02470b8,c24ced00,cdc4dd48) at fork_exit+0x58
fork_t

Martin

Martin Blapp, [EMAIL PROTECTED]
--
Improware AG, UNIX solution and service provider
Zurlindenstrasse 29, 4133 Pratteln, Switzerland
Phone: +41 061 826 93 00: +41 61 826 93 01
PGP Fingerprint: 57E 7CCD 2769 E7AC C5FA  DF2C 19C6 DCD1 1B3A EC9C
--


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message