Re: CARP on 9.0 (was no subject)

2011-09-08 Thread Gerard van Essen
On Fri, Aug 26, 2011 at 10:00 PM, Johan Hendriks  wrote:

> SOLVED!
>
> Was a typo in /etc/sysctl.conf
> Sorry for the noise
>
> and thanks for your time.
>
> regards
> Johan
> 
> Van: owner-freebsd-curr...@freebsd.org [owner-freebsd-curr...@freebsd.org]
> namens Johan Hendriks [jo...@double-l.nl]
> Verzonden: vrijdag 26 augustus 2011 20:22
> Aan: Brian Seklecki (Mobile); freebsd-questions@freebsd.org
> CC: freebsd-curr...@freebsd.org
> Onderwerp: RE: CARP on 9.0 (was no subject)
>
> >How about:
>
> >%sudo netstat -s carp
>
> >...on both machines.
>
> >A few years ago I submitted (or maybe it was Steve Polyack) a patch to add
> >debugging to CARP, not sure if it ever got commited.
>
> >Need-more-Cisco'sih-Debugging.
>
> >~BAS
>
>
> >On Fri, 26 Aug 2011, Patrick Lamaiziere wrote:
>
> >> Le Fri, 26 Aug 2011 15:26:28 +,
> >> Johan Hendriks  a ?crit :
> >>
> >>> I am trying to set up CARP under 9.0
> >>
> >> ...
> >>
> >>> Also with a higer value like advskew 200 or 254 the role of the
> >>> servers stays the same.
> >>
> >> Ok, there is something wrong so.
> >>
> >> Did you check that the sysctl net.inet.carp.suppress_preempt is equal
> >> to zero ? If yes, I don't have any more idea.
> >>
> >> Regards.
>
> Hello
> first off all thanks for your time.
>
> sysctl -a | grep carp on both machines give me the following output
>
> sysctl -a | grep carp
> device  carp
> net.inet.ip.same_prefix_carp_only: 0
> net.inet.carp.allow: 1
> net.inet.carp.preempt: 0
> net.inet.carp.log: 2
> net.inet.carp.arpbalance: 0
> net.inet.carp.suppress_preempt: 0
>
>
> netstat -s on the master
>
> carp:
>260 packets received (IPv4)
>0 packets received (IPv6)
>0 packets discarded for wrong TTL
>0 packets shorter than header
>0 discarded for bad checksums
>0 discarded packets with a bad version
>0 discarded because packet too short
>0 discarded for bad authentication
>0 discarded for bad vhid
>0 discarded because of a bad address list
>11430 packets sent (IPv4)
>0 packets sent (IPv6)
>0 send failed due to mbuf memory error
>
> netstat -s on the slave
>
> carp:
>11735 packets received (IPv4)
>0 packets received (IPv6)
>0 packets discarded for wrong TTL
>0 packets shorter than header
>0 discarded for bad checksums
>0 discarded packets with a bad version
>0 discarded because packet too short
>0 discarded for bad authentication
>0 discarded for bad vhid
>0 discarded because of a bad address list
>448 packets sent (IPv4)
>0 packets sent (IPv6)
>0 send failed due to mbuf memory error
>
> tcpdump -i bge0 on slave
>
> 20:10:48.868200 IP 192.168.50.40 > vrrp.mcast.net: VRRPv2, Advertisement,
> vrid 1, prio 50, authtype none, intvl 1s, length 36
>
> Here the advskew is set to 50, on the slave it is 20.
> So the slave should be the master.
> if i raise the advskew to 254, i see the change in the capture.
>
> Both machines are fresh install with nothing changed on them so far just a
> fresh build from a csup this morning.
> And installed bash as the shell..
>
> for freebsd-current@ the /etc/rc.conf file again
> Master
> ifconfig_bge0="inet 192.168.50.40 netmask 255.255.255.0"
> defaultrouter="192.168.50.150"
> # CARP
> cloned_interfaces="carp0"
> ifconfig_carp0="vhid 1 advskew 10 pass letmepass 192.168.50.45 netmask
> 255.255.255.0"
>
> On the slave i have the following in /etc/rc.conf
> ifconfig_bge0="inet 192.168.50.41 netmask 255.255.255.0"
> defaultrouter="192.168.50.150"
> # CARP
> cloned_interfaces="carp0"
> ifconfig_carp0="vhid 1 advskew 20 pass letmepass 192.168.50.45 netmask
> 255.255.255.0"
>
> regards,
> Johan
>
>
>
> ___
> freebsd-curr...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
> ___
> freebsd-curr...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Help with crash dump

2011-09-08 Thread Andrea Venturoli

Hello.

Anyone can give any hint on this?
I really have no clue.

 bye & Thanks
av.



# uname -a
FreeBSD x..it 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4 #1: Wed Dec 15 
11:53:13 CET 2010 r...@x..it:/usr/obj/usr/src/sys/x  i386
# kgdb kernel.debug /var/crash/vmcore.17
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...

Unread portion of the kernel message buffer:
panic: ffs_write: dir write
cpuid = 3
Uptime: 26d9h4m27s
Physical memory: 2033 MB
Dumping 300 MB: 285 269 253 237 221 205 189 173 157 141 125 109 93 77kernel 
trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 3; apic id = 03
fault virtual address   = 0x14
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc059accb
stack pointer   = 0x28:0xc0c20ccc
frame pointer   = 0x28:0xc0c20cec
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, IOPL = 0
current process = 0 (swapper)
trap number = 12
panic: page fault
cpuid = 3
 61 45 29 13

Reading symbols from /boot/kernel/splash_bmp.ko...Reading symbols from 
/boot/kernel/splash_bmp.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/splash_bmp.ko
Reading symbols from /boot/kernel/geom_stripe.ko...Reading symbols from 
/boot/kernel/geom_stripe.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/geom_stripe.ko
Reading symbols from /boot/kernel/acpi.ko...Reading symbols from 
/boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
#0  doadump () at pcpu.h:196
196 __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0xc0563d48 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc0564025 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc06cd16d in ffs_write (ap=0xe6912a44) at 
/usr/src/sys/ufs/ffs/ffs_vnops.c:667
#4  0xc0740640 in VOP_WRITE_APV (vop=0xc07ba4e0, a=0xe6912a44) at vnode_if.c:691
#5  0xc06fd8d6 in vnode_pager_generic_putpages (vp=0xc672f678, m=0xe6912bb0, 
bytecount=Variable "bytecount" is not available.
) at vnode_if.h:373
#6  0xc05d4a5f in vop_stdputpages (ap=0xe6912ad4) at 
/usr/src/sys/kern/vfs_default.c:540
#7  0xc073faf3 in VOP_PUTPAGES_APV (vop=0xc07ba4e0, a=0xe6912ad4) at 
vnode_if.c:2189
#8  0xc06fda5f in vnode_pager_putpages (object=0xcb14ac80, m=0xe6912bb0, 
count=1, sync=0, rtvals=0xe6912b20) at vnode_if.h:1164
#9  0xc06f730b in vm_pageout_flush (mc=0xe6912bb0, count=1, flags=0) at 
vm_pager.h:148
#10 0xc06f7661 in vm_pageout_clean (m=Variable "m" is not available.
) at /usr/src/sys/vm/vm_pageout.c:403
#11 0xc06f92a2 in vm_pageout () at /usr/src/sys/vm/vm_pageout.c:1017
#12 0xc053e9a1 in fork_exit (callout=0xc06f82d6 , arg=0x0, 
frame=0xe6912d38) at /usr/src/sys/kern/kern_fork.c:811
#13 0xc0718b30 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:271
(kgdb)


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


rel 9.0 i386 boot hangup

2011-09-08 Thread Fbsd8

I installed 9.0 using the bootonly cd over the net.
The new keymap function is causing problems.
What are the steps to boot into single user mode so I can edit rc.conf 
and change the keymap= to different one.
Is the procedure documented in the handbook? If so I was not able to 
locate it.


Also want to know what is the keymap defaulted to by previous releases. 
That is the one I want. I have standard 101 keyboard.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: (no subject)

2011-09-08 Thread Steven Friedrich
On Wed, Sep 7, 2011 at 4:07 PM, Mike Hix  wrote:

> On Wed, Sep 7, 2011 at 12:59 PM, Selim  wrote:
>
> >  Am 07.09.2011 21:56, schrieb Mike Hix:
> >
> > On Wed, Sep 7, 2011 at 12:32 PM, Selim  wrote:
> >
> >>  Am 07.09.2011 21:28, schrieb Mike Hix:
> >>
> >> On Wed, Sep 7, 2011 at 7:43 AM, Selim  wrote:
> >>
> >>> hey
> >>> could you please include broadcom bcm4313 drivers to freebsd9.0
> >>> i cant use freebsd just because of that driver..
> >>> ___
> >>> freebsd-questions@freebsd.org mailing list
> >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >>> To unsubscribe, send any mail to "
> >>> freebsd-questions-unsubscr...@freebsd.org"
> >>>
> >>
> >> hey
> >> could you have a look at the man pages for bwn and bwi...
> >>
> >> --
> >> Mike Hix
> >>
> >>   bwn and bwi have no support for bcm43*13*
> >>
> >
> > At least you read them. :)
> >
> > Just in case you've got the bcm43xx number incorrect, what happens when
> you
> > load the bwn or bwi module and it's dependencies?
> >
> > --
> > Mike Hix
> >
> >  i dont want to waste dvds (maybe sounds like its not important for me
> but
> > thats the only reason i cannot use freebsd) it also did not work with the
> > linux drivers supporting other cards except 4313 so i dont think that
> this
> > will work with freebsd but maybe ill try this with a usb image then.. so
> > could you tell me if there will be support for this card in fbsd9.0? or
> is
> > there already support in beta release?
> >
>
> Unfortunately I cannot answer your question about future support for that
> chipset.
>
> --
> Mike Hix
>
Perhaps you could burn FreeBSD9 BETA2 on a RW media and try it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: get rel 9.0 iso

2011-09-08 Thread Thomas Mueller
> On Wed, 07 Sep 2011 20:43:47 -0400, Fbsd8 wrote:
> > No rel 9.0 i386 disc1.iso anywhere. My pc can not boot from memstick.

Polytropon responded:
 
> ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.0/
> ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/ISO-IMAGES/9.0/
 
> A FreeBSD-9.0-BETA2-{i386|amd64}-bootonly.iso and
> FreeBSD-9.0-BETA2-{i386|amd64}-dvd1.iso are available.
 
> Note that this is "just" a BETA, _not_ a RELEASE.
 
> If your system can boot at least from CD, the bootonly should
> be fine (if you can then continue installation via Internet);
> if you don't have a machine connected, the DVD #1 will be a
> good tool (as a DVD-capable drive should be assumed as common
> equipment today).

Is that pc that can't boot from memstick old?  I have an old PC, dating to July 
2001, that can't boot directly from USB, but can boot from USB with the help of 
Plop (http://www.plop.at/) boot manager.

I think dvd1.iso was < 700 MB and would therefore fit on a CD? 

My computer from July 2001 had CD-RW but no DVD.  This was one of the factors 
pushing me to buy parts for a new computer.

Tom

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: (no subject)

2011-09-08 Thread lokada...@gmx.de

On 09/07/11 21:28, Mike Hix wrote:

On Wed, Sep 7, 2011 at 7:43 AM, Selim  wrote:


hey
could you please include broadcom bcm4313 drivers to freebsd9.0
i cant use freebsd just because of that driver..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
freebsd-questions-unsubscr...@freebsd.org"


hey
could you have a look at the man pages for bwn and bwi...


When Adriane have time, he will work on it.
http://lists.freebsd.org/pipermail/freebsd-wireless/2011-August/000448.html
I don't know, if he had worked on it.

Sorry for my english :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"