Re: getpwnam_r() missing on OpenBSD 4.3
On Wed, Jul 02, 2008 at 02:42:35PM -0400, (private) HKS wrote: Backporting this is beyond my meager C abilities (and time to learn, at the moment). Considering where the getpwnam_r comes from, backporting it would be more or less equivalent to running -current anyways, since getpwnam_r comes as a *minor* side-effect of a HUGE revamp of the related lookup code.
Re: Thinkpad + Audio
Gonzalo Lionel Rodriguez wrote: Hi everyone, i have a problem with my Thinkpad T42 (1.5GB ram and a new Hitachi hdd 120GB), when I am using X (awesome) and listening to music with mp3blaster (for example) when change tabs in Firefox (or load a web), music stop and continuous (lag (?)), any idea? Try something with a configurable buffer like mpd + ncmpc. If it skips, increase the buffer size. Thanks
Re: Iwi, wireless bad behavior
Hi, Pau wrote: I have a similar problem. If you look at /var/log/messages, you'll see that this seems to be related to the firmware. I also have noetd that I do not have that problem on my thinkpad t41 laptop, where I have an ath0. With that card I do not get any problem. 2008/7/3 Matthew Dempsky [EMAIL PROTECTED]: On Wed, Jul 2, 2008 at 10:23 PM, Nick Guenther [EMAIL PROTECTED] wrote: Have you tried pulling it out? I think iwi(4) is only Mini-PCI, so removing it's not any easier than rebooting. :-) The card is built in to a thinkpad r50e. I note that solaris-express seems to know something we dont abount this card, as does ubuntu linux. These two platforms use the gnome gui and allow you to get things wrong and still use the card afterwards. Is Damien aware of this?
Re: How can the bootprompt be removed from the bootloader on an amd64 system?
Jason Crawford wrote: On Wed, Jul 2, 2008 at 6:36 PM, Jon [EMAIL PROTECTED] wrote: I would like the bootloader to accept no user input and do nothing but load the kernel. man boot.conf look for timeout Another possibility, from man boot, section EXAMPLES: Remove the 5 second pause at boot-time permanently, causing boot to load the kernel immediately without prompting: # echo boot /etc/boot.conf Note that for 4.3 and older systems, boof.conf can be overridden (i.e. not processed) by pressing and holding Contrl when booting. Looking at it now, I see that it's been removed from the -current manpage, so I guess maybe it's not available anymore. /Alexander
Re: How can the bootprompt be removed from the bootloader on an amd64 system?
On Thu, Jul 03, 2008 at 02:41:11PM +0200, Alexander Hall wrote: Jason Crawford wrote: On Wed, Jul 2, 2008 at 6:36 PM, Jon [EMAIL PROTECTED] wrote: I would like the bootloader to accept no user input and do nothing but load the kernel. man boot.conf look for timeout Another possibility, from man boot, section EXAMPLES: Remove the 5 second pause at boot-time permanently, causing boot to load the kernel immediately without prompting: # echo boot /etc/boot.conf Note that for 4.3 and older systems, boof.conf can be overridden (i.e. not processed) by pressing and holding Contrl when booting. Looking at it now, I see that it's been removed from the -current manpage, so I guess maybe it's not available anymore. First, this functionality appeared in 4.2, so you won't find it in every older system. Secondly, it is still in -current man page and the feature is still here. /Alexander
Re: Kernel Panic on AMD64 24 June snapshot
* Insan Praja SW [EMAIL PROTECTED] [2008-06-24 18:32]: Hi Misc@, I currently caught a kernel panic that says: uvm_fault(0x 80b7b0e0, 0x0, 0, 1) - e kernel : page fault trap, code=0 Stopped at pf_state_tree_RB_REMOVE_COLOR + 0x1C0: cmpl $0x1,0x40(%rsi) ddb {0} trace this problem has been reported by a few people, but so far we're unable to track it down or even reproduce. it would help enourmously if we knew WHEN this was introduced. so if someone who can reproduce this can compile kernels going backwards day by day (cvs -D) and then ideally even spot the commit that introduced it, that would help a LOT. yes, it is a lot of work :( in short, it seems some element of the pf state table (which is an RB tree, pf_state_tree) gets freed or overwritten before being removed from the RB tree, or something tries to remove it before it was inserted. Ryan and I have been reading the code up and down without being able to spot such a case yet. -- Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam
Re: Routing on source
* Daniel Anderson [EMAIL PROTECTED] [2008-06-25 06:39]: The mechanism you seek is the route-to and reply-to. using a seperate routing table (route -T 1 add default 1.2.3.4) and pf to assing packet to that (pass from foo rtable 1) is way cleaner. -- Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam
Re: How can the bootprompt be removed from the bootloader on an amd64 system?
Pierre Riteau wrote: On Thu, Jul 03, 2008 at 02:41:11PM +0200, Alexander Hall wrote: Jason Crawford wrote: On Wed, Jul 2, 2008 at 6:36 PM, Jon [EMAIL PROTECTED] wrote: I would like the bootloader to accept no user input and do nothing but load the kernel. man boot.conf look for timeout Another possibility, from man boot, section EXAMPLES: Remove the 5 second pause at boot-time permanently, causing boot to load the kernel immediately without prompting: # echo boot /etc/boot.conf Note that for 4.3 and older systems, boof.conf can be overridden (i.e. not processed) by pressing and holding Contrl when booting. Looking at it now, I see that it's been removed from the -current manpage, so I guess maybe it's not available anymore. First, this functionality appeared in 4.2, so you won't find it in every older system. Ok, I wasn't sure about that. I thought it'd been along for longer. (I obviously have not used it a lot). Secondly, it is still in -current man page and the feature is still here. Oops. I see now that http://www.openbsd.org/cgi-bin/man.cgi?query=bootarch=i386 actually gave me the SOCPPC manpage... And I cannot seem to find the i386 one through man.cgi at all... Sorry for the misinformation and thanks for the clarifications. /Alexander
Re: Kernel Panic on AMD64 24 June snapshot
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Henning Brauer Sent: Thursday, July 03, 2008 9:04 AM To: misc@openbsd.org Subject: Re: Kernel Panic on AMD64 24 June snapshot * Insan Praja SW [EMAIL PROTECTED] [2008-06-24 18:32]: Hi Misc@, I currently caught a kernel panic that says: uvm_fault(0x 80b7b0e0, 0x0, 0, 1) - e kernel : page fault trap, code=0 Stopped at pf_state_tree_RB_REMOVE_COLOR + 0x1C0: cmpl $0x1,0x40(%rsi) ddb {0} trace this problem has been reported by a few people, but so far we're unable to track it down or even reproduce. it would help enourmously if we knew WHEN this was introduced. so if someone who can reproduce this can compile kernels going backwards day by day (cvs -D) and then ideally even spot the commit that introduced it, that would help a LOT. yes, it is a lot of work :( in short, it seems some element of the pf state table (which is an RB tree, pf_state_tree) gets freed or overwritten before being removed from the RB tree, or something tries to remove it before it was inserted. Ryan and I have been reading the code up and down without being able to spot such a case yet. -- Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam I hit this with OpenBSD 4.3-current (GENERIC) #935: Sun Jun 15 19:31:26 MDT 2008 So at least that far back
Re: modulate state not working with snapshot from 01.07.2008 on i386
Hi, Ryan McBride schrieb: Well, with a bug report as detailed as this all I can say is it's probably been fixed, try a new snapshot. Well, this is the last available snapshot... having the issue on my X41 and also inside qemu. tcpdump shows that the connection gets pass'ed, but nothing happens. Already had the same behavior once before on a Dell PE2950 with bnx NICs when TCP offload was enabled. It got fixed in Sep. 2007 though. OpenBSD 4.3-current (GENERIC.MP) #776: Sun Jun 29 11:34:39 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Pentium(R) M processor 1.60GHz (GenuineIntel 686-class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2 real mem = 1600548864 (1526MB) avail mem = 1538347008 (1467MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/14/06, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (59 entries) bios0: vendor IBM version 74ET64WW (2.09 ) date 12/14/2006 bios0: IBM 2525FAG apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 99% apm0: AC on, battery charge high acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/240 (13 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc/0xf600! 0xcf800/0x1600 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) cpu0: Enhanced SpeedStep 1600 MHz (1116 mV): speeds: 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: aperture at 0xc000, size 0x1000 Intel 82915GM Video rev 0x03 at pci0 dev 2 function 1 not configured ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03: irq 11 pci1 at ppb0 bus 2 bge0 at pci1 dev 0 function 0 Broadcom BCM5751M rev 0x11, BCM5750 B1 (0x4101): irq 11, address 00:16:d3:29:ce:76 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: irq 11 uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: irq 11 ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd3 pci2 at ppb1 bus 4 cbb0 at pci2 dev 0 function 0 Ricoh 5C476 CardBus rev 0x8d: irq 11 sdhc0 at pci2 dev 0 function 1 Ricoh 5C822 SD/MMC rev 0x13: irq 11 sdmmc0 at sdhc0 iwi0 at pci2 dev 2 function 0 Intel PRO/Wireless 2915ABG rev 0x05: irq 11, address 00:16:6f:b2:30:c7 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 5 device 0 cacheline 0x0, lattimer 0xb0 pcmcia0 at cardslot0 auich0 at pci0 dev 30 function 2 Intel 82801FB AC97 rev 0x03: irq 11, ICH6 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 Intel 82801FB Modem rev 0x03 at pci0 dev 30 function 3 not configured ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x03: PM disabled pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x03: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: HTC426060G9AT00 wd0: 16-sector PIO, LBA, 57231MB, 117210240 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1 at pciide0 channel 1 drive 0: ST9160821A wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 Intel 82801FB SMBus rev 0x03: irq 11 iic0 at ichiic0 spdmem0 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-4200CL5 SO-DIMM usb1 at uhci0: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt2 at isa0 port 0x3bc/4: polled aps0
Re: How can the bootprompt be removed from the bootloader on an amd64 system?
On Thu, Jul 03, 2008 at 03:17:13PM +0200, Alexander Hall wrote: Pierre Riteau wrote: On Thu, Jul 03, 2008 at 02:41:11PM +0200, Alexander Hall wrote: Jason Crawford wrote: On Wed, Jul 2, 2008 at 6:36 PM, Jon [EMAIL PROTECTED] wrote: I would like the bootloader to accept no user input and do nothing but load the kernel. man boot.conf look for timeout Another possibility, from man boot, section EXAMPLES: Remove the 5 second pause at boot-time permanently, causing boot to load the kernel immediately without prompting: # echo boot /etc/boot.conf Note that for 4.3 and older systems, boof.conf can be overridden (i.e. not processed) by pressing and holding Contrl when booting. Looking at it now, I see that it's been removed from the -current manpage, so I guess maybe it's not available anymore. First, this functionality appeared in 4.2, so you won't find it in every older system. Ok, I wasn't sure about that. I thought it'd been along for longer. (I obviously have not used it a lot). Secondly, it is still in -current man page and the feature is still here. Oops. I see now that http://www.openbsd.org/cgi-bin/man.cgi?query=bootarch=i386 actually gave me the SOCPPC manpage... And I cannot seem to find the i386 one through man.cgi at all... Sorry for the misinformation and thanks for the clarifications. /Alexander That's because there was a timeframe when socppc boot.conf manpage was installed as a machine independent manpage (this has been fixed a few weeks ago). Unfortunately, in the manpages web interface, deleted pages are kept around and that's why you get the socppc manpage (for example you can still find the vpn man page which was removed more than 2 years ago). CC:ing Bob who seems to be in charge of this manpage web interface. Pierre Riteau
Re: about dhcpd and carp device
Hi! (private) HKS wrote: Your carp interface won't be doing much for you if it doesn't have an IP address configured. Yes, i think so, too and i have carp device configured ip aadress. To present my case more clearly here is my little experiment. CASE ONE, dhcpd is bound to physical interface, everything works as expected dchpserver# ifconfig rl0 rl0: ... inet 10.0.10.250 netmask 0xff00 broadcast 10.0.10.255 dhcpclient# dhclient -d rl0 DHCPREQUEST on rl0 to 255.255.255.255 port 67 DHCPACK from 10.0.10.250 bound to 10.0.10.32 -- renewal in 21600 seconds. dhcpserver# dhcpd -d rl0 DHCPREQUEST for 10.0.10.32 from 00:c0:26:27:4d:fe via rl0 DHCPACK on 10.0.10.32 to 00:c0:26:27:4d:fe via rl0 dhcpserver# tcpdump -nettti rl0 not proto carp tcpdump: listening on rl0, link-type EN10MB Apr 24 06:35:01.251249 00:c0:26:27:4d:fe ff:ff:ff:ff:ff:ff 0800 342: 10.0.10.32.68 255.255.255.255.67: xid:0x9d19635d [|bootp] [tos 0x10] Apr 24 06:35:01.252596 00:e0:4c:02:89:18 00:c0:26:27:4d:fe 0800 342: 10.0.10.250.67 10.0.10.32.68: xid:0x9d19635d Y:10.0.10.32 S:10.0.10.250 [|bootp] [tos 0x10] Apr 24 06:35:01.267923 00:c0:26:27:4d:fe ff:ff:ff:ff:ff:ff 0806 60: arp who-has 10.0.10.32 tell 10.0.10.32 CASE TWO, dhcpd is bound to carp device (which runs on rl0 which doesnt ip address configured any more), client isnt getting an answer dchpserver# ifconfig carp4 carp4: ... inet 10.0.10.250 netmask 0xff00 broadcast 10.0.10.255 dhcpclient# dhclient -d rl0 DHCPREQUEST on rl0 to 255.255.255.255 port 67 DHCPREQUEST on rl0 to 255.255.255.255 port 67 DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 3 DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 13 dhcpserver# dhcpd -d carp4 dhcpserver# tcpdump -nettti rl0 not proto carp tcpdump: listening on rl0, link-type EN10MB Apr 24 06:43:57.758341 00:c0:26:27:4d:fe ff:ff:ff:ff:ff:ff 0800 342: 10.0.10.32.68 255.255.255.255.67: xid:0x7a3c2ff [|bootp] [tos 0x10] Apr 24 06:44:05.764199 00:c0:26:27:4d:fe ff:ff:ff:ff:ff:ff 0800 342: 10.0.10.32.68 255.255.255.255.67: xid:0x7a3c2ff secs:8 [|bootp] [tos 0x10] Apr 24 06:44:13.774456 00:c0:26:27:4d:fe ff:ff:ff:ff:ff:ff 0800 342: 0.0.0.0.68 255.255.255.255.67: xid:0x5e5dc1b3 [|bootp] [tos 0x10] Apr 24 06:44:16.784416 00:c0:26:27:4d:fe ff:ff:ff:ff:ff:ff 0800 342: 0.0.0.0.68 255.255.255.255.67: xid:0x5e5dc1b3 secs:3 [|bootp] [tos 0x10] Apr 24 06:44:22.794616 00:c0:26:27:4d:fe ff:ff:ff:ff:ff:ff 0800 342: 0.0.0.0.68 255.255.255.255.67: xid:0x5e5dc1b3 secs:9 [|bootp] [tos 0x10] # tcpdump -nettti carp4 not proto carp tcpdump: listening on carp4, link-type EN10MB And dhcpserver and dhcpclient both have pf disabled. If somebody could confirm that this is expected behavior with carp device and dhcpd i would be very glad to know! Imre You should be able to run dhcpd off carp1 without any trouble, though I can't speak from experience. -HKS On Mon, Jun 30, 2008 at 3:54 PM, Imre Oolberg [EMAIL PROTECTED] wrote: Hallo! I have been using for some time now carp failover and i am very content with it, thank you! I run some tests and i just wanted to confirm that in order to run dhcpd service one has to run it on a physical interface (which has ip address configured) like # dhcpd fxp0 and not on a carp device which in turn uses fxp0 like that, right? # dhcpd carp1 Best regards, Imre PS I learned from the archives that dhcp v.3 has so to say master and slave functionality but this is not an issue yet for me how to sync leases database and etc.
Re: Iwi, wireless bad behavior
Edd Barrett [EMAIL PROTECTED] wrote: If you get the wep key (or network name) wrong when configuring iwi network drivers the card becomes useless until you reboot. Is there a way of resetting the card altogether? I don't use WEP, so this may not be applicable, but when the card becomes stuck in normal operation--somewhere between every few hours and every minute, depending on network traffic and the phase of the moon--running an access point scan with ifconfig -M iwi0 usually resets it for me. -- Christian naddy Weisgerber [EMAIL PROTECTED]
Re: Routing on source
* Henning Brauer [EMAIL PROTECTED] [2008-07-03 15:18]: * Daniel Anderson [EMAIL PROTECTED] [2008-06-25 06:39]: The mechanism you seek is the route-to and reply-to. using a seperate routing table (route -T 1 add default 1.2.3.4) and pf to assing packet to that (pass from foo rtable 1) is way cleaner. to assign packets to that rtable, that is. -- Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam
Re: Thinkpad + Audio
Gonzalo Lionel Rodriguez [EMAIL PROTECTED] wrote: or are you saying the audio is contiuously messed up after changing tabs in firefox? No, a moment of silence. Any idea to fix the problem? I have a T42 with less RAM and a slower CPU. FWIW, this does not occur for me while playing music or xvid video+audio. I typically play mp3 or xvid with mplayer. Chris -- If you don't turn on to politics, politics will turn on you - Ralph Nader
Kernel panic with wpa (wpa2-personal)
Yes I know its experimental... ;-) I bought a ASUS WL-130N, installed the latest snapshot (from July 2nd) and tried WPA I build the pre-shared key # wpa-psk ZELDA start123 0x763b94d25e9800f80f926fcc26d7fdf52b3b565209456bd0aa31973fbd8d5ce2 and put it in my /etc/hostname.ral0 # cat /etc/hostname.ral0 inet 192.168.22.1 255.255.255.252 NONE media autoselect mediaopt hostap nwid ZELDA wpa wpapsk 0x763b94d25e9800f80f926fcc26d7fdf52b3b565209456bd0aa31973fbd8d5ce2 chan 11 description WLAN WPA I started the network an took my laptop (ubuntu 8.04) and made the following configuration: Network name (ESSID): ZELDA Password type: WPA Personal Network password: start123 I started and everything was fine. (Oh my god, wifi can be that easy?!? ;-) ) Then I tried with WPA2 Personal and boom: the kernel panics. (It can be reproduced without problems) Here are the panic message output from trace and ps and the dmesg. Maybe someone else but me understands that. guido panic: pool_do_get(mbpl): free list modified: magic=1b7448e5; page 0xd685b000; item addr 0xd685b500 Stopped at Debugger+0x4: leave RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION! ddb trace Debugger(f10c0210,9d404f57,d68a4600,d685b500,d080fa60) at Debugger+0x4 panic(d06caee0,d06ccc04,1b7448e5,d685b000,d685b500) at panic+0x55 pool_do_get(d080fa60,0,0,d68a4600,7) at pool_do_get+0x2ea pool_get(d080fa60,0,12,60) at pool_get+0x1e m_gethdr(1,1,0,d9d2ad48,0) at m_gethdr+0x30 vr_encap(d10ba000,d10babd0,d685bb00,0) at vr_encap+0x18 vr_start(d10ba034,0,d68a4600,d678b0d8,0) at vr_start+0x90 nettxintr(23d6,0,d678b0d8,d037177b,0) at nettxintr+0x4e Xsoftnet() at Xsoftnet+0x6e --- interrupt --- 0x1: ddb ps PID PPID PGRPUID S FLAGS WAIT COMMAND 28305 21587 6778 1000 3 0x4082 ttyin more 21587 6778 6778 1000 3 0x4082 pause sh 6778 13844 6778 1000 3 0x4082 wait man 13844 22477 13844 1000 3 0x4082 pause ksh 22477 9376 9376 1000 3 0x180 selectsshd 9376 10701 9376 0 3 0x4180 netio sshd 23605 1 23605 0 3 0x40180 selectsendmail 21625 27808 27808 0 3 0x181 pause smbd 22674 1 22674 0 3 0x4082 ttyin ksh 6025 1 6025 0 3 0x4082 ttyin getty 29778 1 29778 0 3 0x4082 ttyin getty 9080 1 9080 0 3 0x4082 ttyin getty 10148 1 10148 0 3 0x4082 ttyin getty 16765 1 16765 0 3 0x4082 ttyin getty 28761 1 28761 0 30x80 selectcron 27808 1 27808 0 3 0x181 selectsmbd 17237 1 17237 0 30x81 selectnmbd 10701 1 10701 0 30x80 selectsshd 21179 1 21179 0 3 0x180 selectinetd 16226 1 16226 77 3 0x180 poll dhcpd 3955 8063 8063 83 3 0x180 poll ntpd 8063 1 8063 0 30x80 poll ntpd * 6753 18595 18595 70 7 0x100named 18595 1 18595 0 3 0x180 netio named 13456 5248 5248 74 3 0x180 bpf pflogd 5248 1 5248 0 30x80 netio pflogd 15110 1759 1759 73 3 0x180 poll syslogd 1759 1 1759 0 30x88 netio syslogd 18 0 0 0 30x100200 bored crypto 17 0 0 0 30x100200 aiodoned aiodoned 16 0 0 0 30x100200 syncerupdate 15 0 0 0 30x100200 cleaner cleaner 14 0 0 0 30x100200 reaperreaper 13 0 0 0 30x100200 pgdaemon pagedaemon 12 0 0 0 30x100200 pftm pfpurge 11 0 0 0 30x100200 usbevtusb4 10 0 0 0 30x100200 usbevtusb3 9 0 0 0 30x100200 usbevtusb2 8 0 0 0 30x100200 usbevtusb1 7 0 0 0 30x100200 usbtskusbtask 6 0 0 0 30x100200 usbevtusb0 5 0 0 0 30x100200 apmev apm0 4 0 0 0 30x100200 bored syswq 3 0 0 0 30x100200idle0 2 0 0 0 30x100200 kmalloc kmthread 1 0 1 0 3 0x4080 wait init 0 -1 0 0 3 0x80200 scheduler swapper dmesg: boot booting hd0a:/bsd: 6041600+1009204 [52+314832+297292]=0x74eef8 entry point at 0x200120 [ using
bundling the speed of two ADSL lines with OpenBSD
Hi, I'd like to know, whether it is possible to bundle two ADSL interfaces, just like trunking ethernet cards. I know it is not that hard to use two or more lines for outgoing traffic, and just route source or destination based via pf. I'd need to the doubled speed for incoming traffic. The ADSL lines would be from the same ISP, and the IP addresses will be static. The two DSL modems would be connected to one host via ethernet cables, so the OpenBSD host does not need to care about PPPOE. I don't know, whether carp arpbalance would work here on such interfaces? while researching, I found this interesting article about wanpipe and using sangoma cards. But the changelog of the wanpipe driver ends in 2006, and in the documentation, they only talk about some older and slower cards. Is there sth. more modern like this available, but for 2x16MBit ADSL? kind regards Sebastian
Re: Iwi, wireless bad behavior
Edd, yes, I have seen this and also wondered. my experience with centrino is: 1) Damien's drivers work better than anything linux. If you get the connection, you have and keep it 2) But... if you want to change to another access point, cat /var/log/messages will show messages like fatal firmware error, or similar on iwi0! Not on ath0 So that the question is: Is the firmware in obsd different to the one you get with those linuxies? I guess not. So, what's the problem? 2008/7/3 Christian Weisgerber [EMAIL PROTECTED]: Edd Barrett [EMAIL PROTECTED] wrote: If you get the wep key (or network name) wrong when configuring iwi network drivers the card becomes useless until you reboot. Is there a way of resetting the card altogether? I don't use WEP, so this may not be applicable, but when the card becomes stuck in normal operation--somewhere between every few hours and every minute, depending on network traffic and the phase of the moon--running an access point scan with ifconfig -M iwi0 usually resets it for me. -- Christian naddy Weisgerber [EMAIL PROTECTED]
Re: bundling the speed of two ADSL lines with OpenBSD
On 2008-07-03, Sebastian Reitenbach [EMAIL PROTECTED] wrote: I'd need to the doubled speed for incoming traffic. The ADSL lines would be from the same ISP, and the IP addresses will be static. For a single TCP connection, you mean? I think that would either have to involve the ISP (though most won't touch this sort of thing), or a colo box and creative use of tunnels and multipath routing.
Cronolog Apache?
Seems like Cronolog would be a good solution for rotating Apache logs when running Chroot'd, as it eliminates the need for stopping/restarting Apache. Can't seem to find any info on configuring, .. is anyone using it? Or, is there a better way to rotate logs without stopping Apache? Lee
Re: Cronolog Apache?
--- L. V. Lammert [Thu, Jul 03, 2008 at 01:54:45PM -0500]: --- Seems like Cronolog would be a good solution for rotating Apache logs when running Chroot'd, as it eliminates the need for stopping/restarting Apache. rotatelogs(8) works fine for me with the default chroot configuration. i'm sure i don't exercise it to the fullest, but i haven't found any particular shortcomings.
Re: Kernel panic with wpa (wpa2-personal)
giovanni schrieb: well, I'm not alone same behaviour as stated in: http://marc.info/?l=openbsd-miscm=121396323512149w=2 moreover if I do not use any wpa it does not panic. did you try this? Hi Giovanni, no, I did not really tested it, I only tried out wpa and saw that it worked with wpa at client site and crashed with wpa2 at client site. The crash with wpa2 directly occured when using it, with wpa I was able to surf the net and no crash happend. At the weekend I will configure it for daily use (firewall, dhcpd etc.). Then we will see if it also crashes with wpa1. BTW, as long as wpa2 leads to crashes I will disable it within ifconfig to avoid a possible Denial of service ;-) (option wpaprotos wpa1) guido
Re: Cronolog Apache?
On Thu, Jul 03, 2008 at 01:54:45PM -0500, L. V. Lammert wrote: Seems like Cronolog would be a good solution for rotating Apache logs when running Chroot'd, as it eliminates the need for stopping/restarting Apache. Can't seem to find any info on configuring, .. is anyone using it? Or, is there a better way to rotate logs without stopping Apache? rotatelogs(8) ? -- Jason Dixon DixonGroup Consulting http://www.dixongroup.net/
Re: about dhcpd and carp device
Oops, i forgot to Cc the list! Imre Oolberg wrote: Hi! (private) HKS wrote: Your carp interface won't be doing much for you if it doesn't have an IP address configured. Yes, i think so, too and i have carp device configured ip aadress. To present my case more clearly here is my little experiment. CASE ONE, dhcpd is bound to physical interface, everything works as expected dchpserver# ifconfig rl0 rl0: ... inet 10.0.10.250 netmask 0xff00 broadcast 10.0.10.255 dhcpclient# dhclient -d rl0 DHCPREQUEST on rl0 to 255.255.255.255 port 67 DHCPACK from 10.0.10.250 bound to 10.0.10.32 -- renewal in 21600 seconds. dhcpserver# dhcpd -d rl0 DHCPREQUEST for 10.0.10.32 from 00:c0:26:27:4d:fe via rl0 DHCPACK on 10.0.10.32 to 00:c0:26:27:4d:fe via rl0 dhcpserver# tcpdump -nettti rl0 not proto carp tcpdump: listening on rl0, link-type EN10MB Apr 24 06:35:01.251249 00:c0:26:27:4d:fe ff:ff:ff:ff:ff:ff 0800 342: 10.0.10.32.68 255.255.255.255.67: xid:0x9d19635d [|bootp] [tos 0x10] Apr 24 06:35:01.252596 00:e0:4c:02:89:18 00:c0:26:27:4d:fe 0800 342: 10.0.10.250.67 10.0.10.32.68: xid:0x9d19635d Y:10.0.10.32 S:10.0.10.250 [|bootp] [tos 0x10] Apr 24 06:35:01.267923 00:c0:26:27:4d:fe ff:ff:ff:ff:ff:ff 0806 60: arp who-has 10.0.10.32 tell 10.0.10.32 CASE TWO, dhcpd is bound to carp device (which runs on rl0 which doesnt ip address configured any more), client isnt getting an answer dchpserver# ifconfig carp4 carp4: ... inet 10.0.10.250 netmask 0xff00 broadcast 10.0.10.255 dhcpclient# dhclient -d rl0 DHCPREQUEST on rl0 to 255.255.255.255 port 67 DHCPREQUEST on rl0 to 255.255.255.255 port 67 DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 3 DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 13 dhcpserver# dhcpd -d carp4 dhcpserver# tcpdump -nettti rl0 not proto carp tcpdump: listening on rl0, link-type EN10MB Apr 24 06:43:57.758341 00:c0:26:27:4d:fe ff:ff:ff:ff:ff:ff 0800 342: 10.0.10.32.68 255.255.255.255.67: xid:0x7a3c2ff [|bootp] [tos 0x10] Apr 24 06:44:05.764199 00:c0:26:27:4d:fe ff:ff:ff:ff:ff:ff 0800 342: 10.0.10.32.68 255.255.255.255.67: xid:0x7a3c2ff secs:8 [|bootp] [tos 0x10] Apr 24 06:44:13.774456 00:c0:26:27:4d:fe ff:ff:ff:ff:ff:ff 0800 342: 0.0.0.0.68 255.255.255.255.67: xid:0x5e5dc1b3 [|bootp] [tos 0x10] Apr 24 06:44:16.784416 00:c0:26:27:4d:fe ff:ff:ff:ff:ff:ff 0800 342: 0.0.0.0.68 255.255.255.255.67: xid:0x5e5dc1b3 secs:3 [|bootp] [tos 0x10] Apr 24 06:44:22.794616 00:c0:26:27:4d:fe ff:ff:ff:ff:ff:ff 0800 342: 0.0.0.0.68 255.255.255.255.67: xid:0x5e5dc1b3 secs:9 [|bootp] [tos 0x10] # tcpdump -nettti carp4 not proto carp tcpdump: listening on carp4, link-type EN10MB And dhcpserver and dhcpclient both have pf disabled. If somebody could confirm that this is expected behavior with carp device and dhcpd i would be very glad to know! I cannot confirm that this is expected behaviour, but i observed the same. For some reason, carp devices do not see broadcast (255.255.255.255) packets. You have to assign an address to the physical device and have dhcpd(8) work on that one. Regards, Heinrich
queueing
Hey There List, i want to do some bandwidth normalization at my home gateway. Here's the relavant setup: altq on xl0 cbq bandwidth 1Mb queue { main } queue main bandwidth 100% { www, ssh, other } queue www bandwidth 20% queue ssh bandwidth 40% queue other bandwidth 40% cbq(default,borrow) . . . pass out on $ext_if inet proto tcp from any to any port $outgoing_tcp_services modulate state pass out on $ext_if inet proto tcp from any to any port www modulate state queue www pass out on $ext_if inet proto tcp from any to any port ssh modulate state queue ssh When i start to upload something to an ftp it runs width full bandwidth, and thats okay because of the borrow option. But when i begin browsing and using ssh the ftp still runs at full speed and the other connections are too slow. -- Gabri Mate [EMAIL PROTECTED] [demime 1.01d removed an attachment of type application/pgp-signature]
Re: ATTENTION: anyone using the the X driver for any ati card
The mirrors are taking a bit to get caught up. You want to look for snaps dated June 2, 17:00 or later .. another way to verify the newer ati driver is included is if mach64_drv.so is in xbase44.tgz. Thanks, -- Todd Fries .. [EMAIL PROTECTED] _ | \ 1.636.410.0632 (voice) | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | ..in support of free software solutions. \ 250797 (FWD) | \ \\ 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A http://todd.fries.net/pgp.txt Penned by Owain Ainsworth on 20080703 1:18.16, we have: | As a warning, the any X snapshot that hits a mirror around the time of | this email (they're currently copying out) will contain an update to the | radeon driver to 6.9.0. The r128 and mach64 drivers have been split out | in this release, but the ati wrapper should take care of that. | | Now, there's some changes in this driver update that you may wish to be | aware of: | | macpcc users: | if you use any quirks for your macbook, or have a mac, you may | want to check man 4 radeon and look at the MacModel option | if you have any trouble. The old mac quirk option (the name of | which escapes me right now), has been removed. | | dual head users: | If you used MergedFb, i warn you that this has also gone, | superceded by xrandr 1.2. so if you use this in your setup, i | recommend you look into migrating. while intel specific, the | following page has some generally useful information: | |http://www.intellinuxgraphics.org/dualhead.html | | EXA acceleration: | this driver makes the EXA acceleration method the default (the | snaps also have a change to make intel default since bugs in it | have been fixed with the xserver update). Sometimes this | acceleration method is still a little slow (or quite slow in | some cases), so if you find the driver to be acting slower than | you're used to, first try: | | Option MigrationHeuristic greedy | | in xorg.conf. We may make this default until we update to | xserver 1.5, which needs to wait for it to be finalised and | released. | | If it's still too slow, then instead you can revert to XAA | acceleration for 2d using: | | Option AccelMethod XAA | A note on newer cards: | This new version of the radeon driver also supports newer cards | normally treated by the radeonhd driver, if you normally use | that driver, feel free to try this one if you're having any | trouble. | | That should be all the gotchas. If you notice any regressions, please | notify myself (oga@) and Matthieu Herrb (matthieu@) | | Cheers, | | -0- | -- | Don't take life too seriously -- you'll never get out of it alive.
Re: Cronolog Apache?
On Thu, Jul 03, 2008 at 01:54:45PM -0500, [EMAIL PROTECTED] wrote: Seems like Cronolog would be a good solution for rotating Apache logs when running Chroot'd, as it eliminates the need for stopping/restarting Apache. Can't seem to find any info on configuring, .. is anyone using it? Or, is Yes, what's missing in cronolog(1) ? -- Olivier Cherrier mailto:[EMAIL PROTECTED]
Re: Kernel Panic on AMD64 24 June snapshot
Any chance of giving some info about how your PF is used, that I might set up a similar box in the hope of reproducing it? On Thu, 2008-07-03 at 09:20 -0400, Wade, Daniel wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Henning Brauer Sent: Thursday, July 03, 2008 9:04 AM To: misc@openbsd.org Subject: Re: Kernel Panic on AMD64 24 June snapshot * Insan Praja SW [EMAIL PROTECTED] [2008-06-24 18:32]: Hi Misc@, I currently caught a kernel panic that says: uvm_fault(0x 80b7b0e0, 0x0, 0, 1) - e kernel : page fault trap, code=0 Stopped at pf_state_tree_RB_REMOVE_COLOR + 0x1C0: cmpl $0x1,0x40(%rsi) ddb {0} trace this problem has been reported by a few people, but so far we're unable to track it down or even reproduce. it would help enourmously if we knew WHEN this was introduced. so if someone who can reproduce this can compile kernels going backwards day by day (cvs -D) and then ideally even spot the commit that introduced it, that would help a LOT. yes, it is a lot of work :( in short, it seems some element of the pf state table (which is an RB tree, pf_state_tree) gets freed or overwritten before being removed from the RB tree, or something tries to remove it before it was inserted. Ryan and I have been reading the code up and down without being able to spot such a case yet. -- Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam I hit this with OpenBSD 4.3-current (GENERIC) #935: Sun Jun 15 19:31:26 MDT 2008 So at least that far back
Re: queueing
Gabri Mate escreveu: Hey There List, i want to do some bandwidth normalization at my home gateway. Here's the relavant setup: altq on xl0 cbq bandwidth 1Mb queue { main } queue main bandwidth 100% { www, ssh, other } queue www bandwidth 20% queue ssh bandwidth 40% queue other bandwidth 40% cbq(default,borrow) . . . pass out on $ext_if inet proto tcp from any to any port $outgoing_tcp_services modulate state pass out on $ext_if inet proto tcp from any to any port www modulate state queue www pass out on $ext_if inet proto tcp from any to any port ssh modulate state queue ssh When i start to upload something to an ftp it runs width full bandwidth, and thats okay because of the borrow option. But when i begin browsing and using ssh the ftp still runs at full speed and the other connections are too slow. -- Gabri Mate [EMAIL PROTECTED] [demime 1.01d removed an attachment of type application/pgp-signature] Don't know your full ruleset but, from what i saw, you have to use the ftp-proxy -q switch. It assigns all the created rules to a specific queue. This should solve your problem. Take a look at ftp-proxy man's page to understand better. My regards, -- Giancarlo Razzolini http://lock.razzolini.adm.br Linux User 172199 Red Hat Certified Engineer no:804006389722501 Verify:https://www.redhat.com/certification/rhce/current/ Moleque Sem Conteudo Numero #002 OpenBSD Stable Ubuntu 8.04 Hardy Herom 4386 2A6F FFD4 4D5F 5842 6EA0 7ABE BBAB 9C0E 6B85
Re: Kernel Panic on AMD64 24 June snapshot
Not an AMD64 specific thing then? On Thu, 2008-07-03 at 15:03 +0200, Henning Brauer wrote: * Insan Praja SW [EMAIL PROTECTED] [2008-06-24 18:32]: Hi Misc@, I currently caught a kernel panic that says: uvm_fault(0x 80b7b0e0, 0x0, 0, 1) - e kernel : page fault trap, code=0 Stopped at pf_state_tree_RB_REMOVE_COLOR + 0x1C0: cmpl $0x1,0x40(%rsi) ddb {0} trace this problem has been reported by a few people, but so far we're unable to track it down or even reproduce. it would help enourmously if we knew WHEN this was introduced. so if someone who can reproduce this can compile kernels going backwards day by day (cvs -D) and then ideally even spot the commit that introduced it, that would help a LOT. yes, it is a lot of work :( in short, it seems some element of the pf state table (which is an RB tree, pf_state_tree) gets freed or overwritten before being removed from the RB tree, or something tries to remove it before it was inserted. Ryan and I have been reading the code up and down without being able to spot such a case yet.
Re: Kernel Panic on AMD64 24 June snapshot
* Insan Praja SW [EMAIL PROTECTED] [2008-06-24 18:32]: Stopped at pf_state_tree_RB_REMOVE_COLOR + 0x1C0: cmpl $0x1,0x40(%rsi) sometimes it takes a few reads until things are obvious. please try this diff. Index: pf.c === RCS file: /cvs/src/sys/net/pf.c,v retrieving revision 1.604 diff -u -r1.604 pf.c --- pf.c3 Jul 2008 15:46:23 - 1.604 +++ pf.c4 Jul 2008 00:04:27 - @@ -687,8 +685,8 @@ } pool_put(pf_state_key_pl, sk); s-key[idx] = cur; - } - s-key[idx] = sk; + } else + s-key[idx] = sk; if ((si = pool_get(pf_state_item_pl, PR_NOWAIT)) == NULL) { pf_state_key_detach(s, idx); -- Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam
Re: bundling the speed of two ADSL lines with OpenBSD
Hi, It's possible using multipath, take a look at http://www.openbsd.org/faq/faq6.html#Multipath please. But I needed to use some pf route-to rules to re-route the packets between the multiple gateways. It takes some work to make right, but i know it works if done correctly. Remember that you will be splitting the outgoing connections between the two gateways (adsl lines in your case), so a single connection will have the bandwidth of only one of the adsl, in this case the speed advantage will be on multiple connections (like multiple users behind a NAT, or download managers to split a downloading in multiple simultaneous parts). HTH, Vinicius Sebastian Reitenbach wrote: Hi, I'd like to know, whether it is possible to bundle two ADSL interfaces, just like trunking ethernet cards. I know it is not that hard to use two or more lines for outgoing traffic, and just route source or destination based via pf. I'd need to the doubled speed for incoming traffic. The ADSL lines would be from the same ISP, and the IP addresses will be static. The two DSL modems would be connected to one host via ethernet cables, so the OpenBSD host does not need to care about PPPOE. I don't know, whether carp arpbalance would work here on such interfaces? while researching, I found this interesting article about wanpipe and using sangoma cards. But the changelog of the wanpipe driver ends in 2006, and in the documentation, they only talk about some older and slower cards. Is there sth. more modern like this available, but for 2x16MBit ADSL? kind regards Sebastian
wi(4) device timeouts on macppc and zaurus 4.4-beta
Hi, Both my G3 ibook and Zaurus SL-C3200 are getting device timeouts using wi(4) (built-in airport card and a compact flash Netgear MA701 respectively) whenever I try to do anything eg, dhclient wi0 or ifconfig -M wi0. They both get errors like this: wi0: wi_start: xmit failed wi0: device timeout wi0: init failed wi0: failed to allocate 1594 bytes on NIC wi0: tx buffer allocation failed wi0: failed to allocate 1594 bytes on NIC wi0: mgmt. buffer allocation failed In retrospect these problems began in mid-April on both platforms however they've been intermitten on the macppc. I've installed snapshots every couple of weeks on the ibook and most of the time wireless worked (and it did on a 4.3-current from last week). I booted into MacOS today and the airport works fine there so it's not a problem with the card (which is what I originally suspected). I don't have anywhere else but the Zaurus to test the CF card. ibook dmesg is below. Won't be able to send one for the Zaurus until tomorrow (but FWIW it's running the latest snapshot). Thanks, Marius [ using 407152 bytes of bsd ELF symbol table ] console out [ATY,Fall_A]console in [keyboard] , using ADB using parent ATY,FallParent:: memaddr 9800 size 800, : consaddr 9c008000, : ioaddr 9002, size 2: memtag 8000, iotag 8000: width 1024 linebytes 1024 height 768 depth 8 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2008 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.4-beta (GENERIC) #1815: Tue Jul 1 21:28:04 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/macppc/compile/GENERIC real mem = 268435456 (256MB) avail mem = 248164352 (236MB) mainbus0 at root: model PowerBook4,3 cpu0 at mainbus0: 750FX (Revision 0x112): 600 MHz: 512KB L2 cache mem0 at mainbus0 spdmem0 at mem0: no EEPROM found spdmem1 at mem0: 128MB SDRAM non-parity PC133CL2 memc0 at mainbus0: uni-n kiic0 at memc0 offset 0xf8001000 iic0 at kiic0 admtmp0 at iic0 addr 0xac mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff pci0 at mpcpcibr0 bus 0 pchb0 at pci0 dev 11 function 0 Apple Pangea AGP rev 0x00 vgafb0 at pci0 dev 16 function 0 ATI Radeon Mobility M6 LY rev 0x00, mmio wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation) mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x0 pci1 at mpcpcibr1 bus 0 pchb1 at pci1 dev 11 function 0 Apple Pangea rev 0x00 macobio0 at pci1 dev 23 function 0 Apple Pangea Macio rev 0x00 openpic0 at macobio0 offset 0x4: version 0x4614 little endian macgpio0 at macobio0 offset 0x50 macgpio1 at macgpio0 offset 0x9 irq 47 programmer-switch at macgpio0 offset 0x11 not configured firewire-linkon at macgpio0 offset 0x5b not configured cpu-vcore-select at macgpio0 offset 0x6b not configured extint-gpio4 at macgpio0 offset 0x5c not configured gpio9 at macgpio0 offset 0x73 not configured extint-gpio12 at macgpio0 offset 0x64 not configured escc-legacy at macobio0 offset 0x12000 not configured zsc0 at macobio0 offset 0x13000: irq 22,23 zstty0 at zsc0 channel 0 zstty1 at zsc0 channel 1 snapper0 at macobio0 offset 0x1: irq 30,1,2 timer at macobio0 offset 0x15000 not configured adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 3 targets akbd0 at adb0 addr 2: PowerBook G4 keyboard (Inverted T) wskbd0 at akbd0: console keyboard, using wsdisplay0 ams0 at adb0 addr 3: EMP trackpad tpad 2-button, 400 dpi wsmouse0 at ams0 mux 0 abtn0 at adb0 addr 7: brightness/volume/eject buttons apm0 at adb0: battery flags 0x5, 99% charged piic0 at adb0 iic1 at piic0 battery at macobio0 offset 0x0 not configured backlight at macobio0 offset 0xf300 not configured kiic1 at macobio0 offset 0x18000 iic2 at kiic1 wdc0 at macobio0 offset 0x1f000 irq 19: DMA wd0 at wdc0 channel 0 drive 0: IBM-IC25N020ATCS04-0 wd0: 16-sector PIO, LBA, 19077MB, 39070080 sectors atapiscsi0 at wdc0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets, initiator 7 cd0 at scsibus0 targ 0 lun 0: LG, CD-ROM CRN-8245B, AHT9 ATAPI 5/cdrom removable wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 cd0(wdc0:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 wi0 at macobio0 offset 0x3 irq 57: wi0: Firmware 8.70 variant 1, address 00:30:65:aa:aa:aa audio0 at snapper0 ohci0 at pci1 dev 24 function 0 Apple Pangea USB rev 0x00: irq 27, version 1.0 ohci1 at pci1 dev 25 function 0 Apple Pangea USB rev 0x00: irq 28, version 1.0 usb0 at ohci0: USB revision 1.0 uhub0 at usb0 Apple OHCI root hub rev 1.00/1.00 addr 1 usb1 at ohci1: USB revision 1.0 uhub1 at usb1 Apple OHCI root hub rev 1.00/1.00 addr 1 mpcpcibr2 at mainbus0 pci: uni-north, Revision 0x6 pci2 at mpcpcibr2 bus 0 pchb2 at pci2 dev 11 function 0 Apple Pangea PCI rev 0x00 Apple Pangea FireWire rev 0x00 at pci2 dev 14 function 0 not configured gem0 at pci2 dev 15 function 0 Apple Pangea GMAC rev 0x00: irq 41, address 00:03:93:aa:aa:aa bmtphy0 at gem0 phy 0: BCM5221 100baseTX PHY, rev. 4 softraid0 at root bootpath: /[EMAIL
Re: bundling the speed of two ADSL lines with OpenBSD
Hi, Stuart Henderson [EMAIL PROTECTED] wrote: On 2008-07-03, Sebastian Reitenbach [EMAIL PROTECTED] wrote: I'd need to the doubled speed for incoming traffic. The ADSL lines would be from the same ISP, and the IP addresses will be static. For a single TCP connection, you mean? I think that would either have to involve the ISP (though most won't touch this sort of thing), or a colo box and creative use of tunnels and multipath routing. yep, I'll have more or less a single connection. Do I can setup two ipsec tunnels between two openbsd boxes, each one per DSL line, any hint on how to get the routing working? Or two openvpn tunnels, between two openbsd boxes, and would it then be possible to trunk tun0 and tun1 interface with loadbalance? kind regards Sebastian
Re: bundling the speed of two ADSL lines with OpenBSD
Hi, Vinicius Vianna [EMAIL PROTECTED] wrote: Hi, It's possible using multipath, take a look at http://www.openbsd.org/faq/faq6.html#Multipath please. But I needed to use some pf route-to rules to re-route the packets between the multiple gateways. It takes some work to make right, but i know it works if done correctly. thanks, I need to read up that chapter. Remember that you will be splitting the outgoing connections between the two gateways (adsl lines in your case), so a single connection will have the bandwidth of only one of the adsl, in this case the speed advantage will be on multiple connections (like multiple users behind a NAT, or download managers to split a downloading in multiple simultaneous parts). actually, I more or less, have one connection. And when I watch from my side, its an incoming connection. Otherwise, its more or less a point-to-point connection, so I have the possibility to setup OpenBSD boxes on both sides, and I need to see, whether I can split the transfer in smaller chunks, to be able to use both routes. Someone else also suggested to use VPN tunnels between the two endpoints, and on my side, one tunnel per DSL line, and then route the traffic via some kind of multipath routing, what I need to read up, between the two hosts. Or maybe I could just add a trunk interface on top of tun0 and tun1 interfaces? thanks Sebastian HTH, Vinicius Sebastian Reitenbach wrote: Hi, I'd like to know, whether it is possible to bundle two ADSL interfaces, just like trunking ethernet cards. I know it is not that hard to use two or more lines for outgoing traffic, and just route source or destination based via pf. I'd need to the doubled speed for incoming traffic. The ADSL lines would be from the same ISP, and the IP addresses will be static. The two DSL modems would be connected to one host via ethernet cables, so the OpenBSD host does not need to care about PPPOE. I don't know, whether carp arpbalance would work here on such interfaces? while researching, I found this interesting article about wanpipe and using sangoma cards. But the changelog of the wanpipe driver ends in 2006, and in the documentation, they only talk about some older and slower cards. Is there sth. more modern like this available, but for 2x16MBit ADSL? kind regards Sebastian
perldoc -r and paths under /usr/local
Hi, If I run 'perldoc -r Long' I get an error like the ones below because certain directories under /usr/local that were compiled into @INC don't exist. Is this a bug in base or would creating those directories just be one of those things a user or administrator would be expected to do him or herself to clear something like this up? $ perldoc -r Long Can't opendir /usr/local/libdata/perl5/powerpc-openbsd/5.8.8: No such file or directory at /usr/libdata/perl5/Pod/Perldoc.pm line 1556. $ sudo mkdir -p /usr/local/libdata/perl5/powerpc-openbsd/5.8.8 $ perldoc -r Long Can't opendir /usr/local/lib/perl5/site_perl: No such file or directory at /usr/libdata/perl5/Pod/Perldoc.pm line 1556. $ sudo mkdir -p /usr/local/lib/perl5/site_perl $ perldoc -r Long Getopt::Long(3)User Contributed Perl DocumentationGetopt::Long(3) NAME . . . -- Mike Small [EMAIL PROTECTED]
4.3 constantly hangs on MS Virtual Server
Hi all, I'm trying to setup 4.3 release on MS Virtual Server 1.1.603.0 EE R2 SP1. Booting from cd-rom,but I always stop on: ahc0: at pci0 dev11 function 0 Adaptec AIC-7870 rev 0x02: irq 11 ahc0: Host Adapter Bios disabled. Using default SCSI device parameters Using VMRCplus 1.6.0.0 for communication with MS VS. I can't go in BIOS - no reactions on Del key. Amibios 2001 BIOS Date: 02/22/06 Ver: 08.00.02 Adaptec SCSI BIOS V3.10 There are two other problems in dmesg: acpi at bios0 function 0x0 not configured pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xc/0xc000! 0xcc000/0x800 . . . Intel 82371AB Power rev 0x02 at pci0 dev 7 function 3 not configured Don't depend if HDD is on SCSI or IDE.CDROM is set on IDE,but in dmesg is on scsibus0. PC running MS Virtual Server is : Vista Enterprise 64bit SP1 Intel Core2 Quad CPU Q6600 2.4GHz 8GB RAM DDR HDD 250GB ST3250410AS nVidia GeForce 7300 GT CD/DVD RW SH-S203D LAN Realtek RTL8168B/8111B Gigabit Just curios if someone use same horrible configuration with MS VS as I must :-) I'm trying to convert to Vmware,but it's long run. There are a lot of people positive on Windows :-) Thx TB PS:I can recommend for all to go faraway from MS VS.It's very bad thing. Even if you are running Win on it :-)