Does pfsync support failover of pf 'route-to' state? (on CARP failover)
Short question: does pfsync currently support fluent failover of a pf established 'route-to' state, when a CARP failover happens? Reason for the question: CARP, pfsync, and route-to all seem to work nicely in our OpenBSD load balancer (LB) setup, except: fluent failover of established TCP connections doesn't work for us. When an external client establishes a TCP connection, via our primary LB, to one of our servers, and then we induce a CARP failover to our secondary LB, and then the external client sends the next packet on the established TCP connection, the new LB doesn't foward (route) that packet to our server like the original LB would do; instead, the new LB sends a TCP RST back to the client. Sketch of our setup: # Load balancer A: ifconfig pcn0 192.168.1.50 netmask 255.255.255.0 ifconfig carp1 vhid 1 carpdev pcn0 inet 192.168.1.100 netmask 255.255.255.0 ifconfig pfsync0 syncdev pcn1 relayd.conf: table servers { 192.168.1.231 192.168.1.232 } redirect server { listen on 192.168.1.100 port 1234 interface pcn0 route to servers mode roundrobin } # Load balancer B: ifconfig pcn0 192.168.1.51 netmask 255.255.255.0 Rest identical to Firewall B, except higher advskew # Server C: ifconfig pcn0 192.168.1.231 netmask 255.255.255.0 ifconfig lo0 alias 192.168.1.100 In our test, the load balancers, servers. and test client are all on the same 192.168.1.0/24 network on the same Ethernet segment. Note: Why not 'rdr-to' or 'nat-to'? Because our servers need to see the real destination IP to know which SSL certificate to present to the client, and because our servers need to see the real source IP to check it against the client's SSL Subject CN. Note: Isn't 'sloppy' keep state on the 'route-to' rule of the load balancers a security risk? We think that risk is tolerable, because the (also OpenBSD) servers already have strict pf firewalls. The load balancers are not used as firewalls, they are not expected to add security. Note: Why are the servers on the same Internet-facing Ethernet segment as the load balancers? Part of the reason is to allow direct access to individual servers even when the load balancers are not active. Sketch of our test: # Disable all servers expect Server C # On server C: nc -l 192.168.1.100 1234 # On test client: ifconfig pcn0 192.168.1.10 nc -v 192.168.1.100 1234# Result: connected, can exchange messages # On BACKUP load balancer: pfctl -s state | egrep 1234# Result: shows the ESTABLISHED connection # On MASTER load balancer: ifconfig -g carp carpdemote 128# Result: CARP failover # On test client: type next line in 'nc'.# Result: disconnect. # 'tcpdump' shows TCP RST from load balancer to test client. +++chefren
Re: MAC address filtering
On Mon, Nov 08, 2010 at 02:07:20PM +0700, Insan Praja SW wrote: Dear Misc@, Sorry on the previous message, wrong button pressed. to be continue, I will setup a bridge with only an interface that facing my office, and tag it in accordance to ifconfig(8). In pf I'll simply pass this. Can I do that? It could work. I think the needed bridge_filterrule() calls are in the right place so that local traffic is tagged as well. If a bridge with a single interface fails, you could try one with vether(4). -- :wq Claudio
Re: gprs/3g : modem : huawei : k3565 : openbsd : 4.7 : support?
On Wed 27/10/10 13:56, David Coppa dco...@gmail.com wrote: On Wed, 27 Oct 2010, Mayuresh Kathe wrote: would like to know if my modem is supported under 4.7, if not, what about 4.8, if not what assistance can i provide the person/people who have the capability to add in support? if supported, can someone please provide me the chat-script? i have tacked in the dmesg (while the modem was plugged in) below. umsm0 at uhub0 port 5 configuration 1 interface 0 HUAWEI Technology HUAWEI Mobile rev 2.00/0.00 addr 2 umsm0: umass only mode. need to reattach umsm0 detached umsm0 at uhub0 port 5 configuration 1 interface 0 HUAWEI Technology HUAWEI Mobile rev 2.00/0.00 addr 2 ucom0 at umsm0 umsm1 at uhub0 port 5 configuration 1 interface 1 HUAWEI Technology HUAWEI Mobile rev 2.00/0.00 addr 2 ucom1 at umsm1 umsm2 at uhub0 port 5 configuration 1 interface 2 HUAWEI Technology HUAWEI Mobile rev 2.00/0.00 addr 2 ucom2 at umsm2 umsm3 at uhub0 port 5 configuration 1 interface 3 HUAWEI Technology HUAWEI Mobile rev 2.00/0.00 addr 2 umsm4 at uhub0 port 5 configuration 1 interface 4 HUAWEI Technology HUAWEI Mobile rev 2.00/0.00 addr 2 Your modem is already supported. You just need to find what is the port that accepts AT commands and create two scripts under /etc/ppp/peers. use cu(1) to test the port: # cu -l cuaU0 Connected AT OK Then you can start the connection using the following commands: # ifconfig ppp0 create pppd file /etc/ppp/peers/vodafone These are the scripts I use with Vodafone Italia, e.g.: $ cat /etc/ppp/peers/vodafone /dev/cuaU0 debug crtscts 921600 defaultroute noauth :10.64.64.64 connect '/usr/sbin/chat -v -f /etc/ppp/peers/vodafone.chat' $ cat /etc/ppp/peers/vodafone.chat ABORT NO CARRIER ABORT NO DIALTONE ABORT ERROR ABORT NO ANSWER ABORT BUSY ABORT Username/Password Incorrect TIMEOUT 15 ATZ OK ATE1 OK ATQ0V1E1S0=0C1D2+FCLASS=0 OK 'AT+CGDCONT=1,IP,web.omnitel.it' OK ATDT*99***1# TIMEOUT 30 CONNECT \d\c CCing also the other guy who was asking a similar question... Cheers, David Hello David, I've tried almost everything I could but still couldn't get the connection to work, I even spoke with the Vodafone guys but their junior level people are all about Windows and Mac OS X. Is there any other way to get this connection working? Could you tell me what are the names of the variables in your chat scripts such that I can get my requests forwarded to the senior level people at Vodafone (technical support)? I would like to know what the following (in your scripts) are called; 1. web.omnitel.it 2. ATDT*99***1# 3. :10.64.64.64 From where I look at the scripts, these are the variables which should be changeable from place to place :-) Best.
Re: Bridge frame reassembly over gif/ipsec
On Mon, Nov 08, 2010 at 12:31:51AM +0100, Vladimir Ostrovskiy wrote: Hi, 1. as far as my knowledge goes pure mpls packet should not be fragmented Right, there is no way to fragment a MPLS packet on ethernet, since L2 does not implement such a thing. But gif(4) is L3 and therefor the traffic over gif can be fragmented. 2. i am unuware of IPSec encap of MPLS, maybe in GRE first? but once such encap is done there is DF bit set. You can encap the IP packet, since IPSec always comes with an IP header. 3. maybe it will be easier to put additional routers on both endpoints with interfaces set with an IP MTU, small enough? I don't think this is needed. In short, gif(4) will fragment packets just fine (actually it is the normal IP fragmenting in ip_output()). So in theory you could forward jumbo frames over a link with less then 1500 bytes by using a big MTU gif(4) on a bridge. This works just fine as long as there is only very little packet loss. There are a few people that use vether(4) + bridge(4) + gif/ipsec to build L2 tunnels with full MTU, it works astoundingly well. The bridge(4) IP fragmenting is mostly untested and only works for IPv4. I would not build anything on top of that feature. On Sun, Nov 7, 2010 at 11:02 PM, Doug Clements dcleme...@gmail.com wrote: Hi, From the man page for bridge (4): If an IP packet is too large for the outgoing interface, the bridge will perform IP fragmentation. This can happen when bridge members have different MTUs or when IP fragments are reassembled by pf. Non-IP packets which are too large for the outgoing interface will be dropped. Is it somehow possible (maybe with different features?) to fragment a layer2 frame for reassembly on the other side of a bridge? This would be for use with MPLS, so using pf's scrub directive would not be applicable. The desired behavior would be to take in 1500 bytes of IP payload with an added MPLS label and transport this inside a gif/ipsec tunnel over the internet (with a wan-link MTU of 1500). --Doug -- :wq Claudio
Re: MAC address filtering
On Mon, 08 Nov 2010 15:29:28 +0700, Claudio Jeker cje...@diehard.n-r-g.com wrote: On Mon, Nov 08, 2010 at 02:07:20PM +0700, Insan Praja SW wrote: Dear Misc@, Sorry on the previous message, wrong button pressed. to be continue, I will setup a bridge with only an interface that facing my office, and tag it in accordance to ifconfig(8). In pf I'll simply pass this. Can I do that? It could work. I think the needed bridge_filterrule() calls are in the right place so that local traffic is tagged as well. If a bridge with a single interface fails, you could try one with vether(4). Thanks Claudio, OTOH, why not simply make hostname.ifname has hostname.bridgename capability to tags packet? But this is entirely up to the devs, and I'm happy enough to use bridge to do this. Best Regards, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: SCM SCR335 SmartCard reader works OK with GnuPG 2 (was Re: [New] gnupg2)
On Sun, Nov 07, 2010 at 10:15:54PM +1100, Olivier Mehani wrote: Ahoy, On Wed, Nov 03, 2010 at 07:31:38AM +0100, David Coppa wrote: It could be fun if someone could test this port with a gnupg smartcard. Hum, I actually have a card reader that I just set up under Linux [0]. My 4.7 is on a remote machine, but I'll try to track down a spare machine and put a fresh 4.8 on it to try it all. It doesn't work. At least the OpenPGP SmartCard V2 I have. This card requires pcsc-lite and ccid. I've ported both and they worked. My work stopped trying to make scdaemon working: threading issues made me give up. I just found time, over the week end, to install 4.8 on said spare machine. My SCM SCR335 USB reader works nicely out of the box with just gnupg-2-0-15. No need for pcsc-lite nor ccid. After starting the GPG agent, I could list and use the keys, both for signing, decryption AND remote SSH login. I jotted down some doc here [0]. Next step is trying to see how to do system auth as well! (; [0] https://www.narf.ssji.net/~shtrom/wiki/tips/openpgpsmartcard#doing_the_same_with_openbsd_48 Nice :) Thanks for your report. Regards, -- Pierre-Emmanuel Andri pea at raveland.org GPG key: 0x7AE329DC
Re: gre mpls packet decapsulation (4.8/i386)
On Fri, Nov 05, 2010 at 06:22:07PM +0100, Vladimir Ostrovskiy wrote: tcpdump -nvi vic1 -X ip proto 47 18:20:27.697032 gre 10.163.0.8 10.163.0.162: [] gre-proto-0x8847 (DF) (ttl 255, id 276, len 130) : 4500 0082 0114 4000 ff2f 6449 0aa3 0008 e.@./dI.#.. 0010: 0aa3 00a2 8847 032c 91ff 0016 4d40 .#G.,...M@ 0020: 17f3 0050 5601 009e 8100 05e6 0800 4500 .s.PV..f..E. 0030: 0054 6891 ff01 3d28 0aa3 00a2 0aa3 .Th....=(.#..# 0040: 0008 0800 17dc c975 4cd4 3cdb 000a .\Iu..LT[.. 0050: a1f1 0809 0a0b 0c0d 0e0f 1011 1213 1415 !q.. 0060: 1617 1819 1a1b .. tcpdump -nvi gre0 -X 18:20:27.697069 MPLS(label 13001, exp 0, ttl 255) : 032c 91ff 0016 4d40 17f3 0050 5601 009e .,....@.s.pv... 0010: 8100 05e6 0800 4500 0054 6891 ff01 ...f..E..Th.... 0020: 3d28 0aa3 00a2 0aa3 0008 0800 17dc c975 =(.#..#.\Iu 0030: 4cd4 3cdb 000a a1f1 0809 0a0b 0c0d ..LT[..!q.. 0040: 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 0050: 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d .. !#$%'()*+,- 0060: 2e2f 3031 3233 3435 3637 ./01234567 OK, those packets look like PWE3 encapsulated ethernet frames. mpe(4) only supports L3 IP/IPv6 traffic for now. So the only way out here is to use a L3 MPLS VPN. On Fri, Nov 5, 2010 at 6:13 PM, Stuart Henderson s...@spacehopper.orgwrote: In gmane.os.openbsd.misc, you wrote: see pcap's attached, On Fri, Nov 5, 2010 at 4:08 PM, Claudio Jeker cje...@diehard.n-r-g.com wrote: On Fri, Nov 05, 2010 at 03:43:07PM +0100, Vladimir Ostrovskiy wrote: Hello All, a question: Please just include tcpdump -nvi vic1 -X and tcpdump -nvi gre0 -X output. Tcpdump is in base for a reason. Include route -n show -mpls as well please. AF 33 is MPLS and gre(4) so that seems to be OK. -- :wq Claudio [demime 1.01d removed an attachment of type application/octet-stream which had a name of gre0-capture.pcap] [demime 1.01d removed an attachment of type application/octet-stream which had a name of vic1-capture.pcap] Just include the output from the commands Claudio showed, pasted into the email body (i.e. in-line text, not as an attachment). -- :wq Claudio
Re: gre mpls packet decapsulation (4.8/i386)
that's how this service is designed (what you see as pseudowire) is there a roadmap for L2/pseudowire support? cheers! Vladimir On Mon, Nov 8, 2010 at 10:08 AM, Claudio Jeker cje...@diehard.n-r-g.comwrote: OK, those packets look like PWE3 encapsulated ethernet frames. mpe(4) only supports L3 IP/IPv6 traffic for now. So the only way out here is to use a L3 MPLS VPN. :wq Claudio
Re: Bridge frame reassembly over gif/ipsec
On 2010-11-08, Claudio Jeker cje...@diehard.n-r-g.com wrote: On Mon, Nov 08, 2010 at 12:31:51AM +0100, Vladimir Ostrovskiy wrote: Hi, 1. as far as my knowledge goes pure mpls packet should not be fragmented Right, there is no way to fragment a MPLS packet on ethernet, since L2 does not implement such a thing. But gif(4) is L3 and therefor the traffic over gif can be fragmented. 2. i am unuware of IPSec encap of MPLS, maybe in GRE first? but once such encap is done there is DF bit set. You can encap the IP packet, since IPSec always comes with an IP header. 3. maybe it will be easier to put additional routers on both endpoints with interfaces set with an IP MTU, small enough? I don't think this is needed. In short, gif(4) will fragment packets just fine (actually it is the normal IP fragmenting in ip_output()). So in theory you could forward jumbo frames over a link with less then 1500 bytes by using a big MTU gif(4) on a bridge. This works just fine as long as there is only very little packet loss. There are a few people that use vether(4) + bridge(4) + gif/ipsec to build L2 tunnels with full MTU, it works astoundingly well. I know of one situation where an additional router might be needed: if you try ethernet - vether/bridge/gif - pppoe, the ethernet-connected side also needs to have MTU 1492. Since this affects non-tunnelled traffic too, sometimes it's not acceptable on the main router, so you'd need an extra one. (There is the option of 'route add $endpoint $gateway -mtu 1492' but obviously this only helps if static routing is ok).
Madinaty
_ _ _ YYYX2Y X/ YY X'YYX9YYYX'X* X'YX1X,X'X! X'YX'X*X5X'Y X(YX1X9YX' YY X/X(Y YX'X*Y :YY)Y#Y' YYY( Y)Y'Y!Y$ YX'YX3 :Y)Y)Y$Y) YYY Y)Y'Y!Y$ X.YYY :Y'Y'Y$Y' Y)Y!Y! Y)Y'Y!Y%Y X'YYYYX/X3/ YX-YX/ YX5X7YY [demime 1.01d removed an attachment of type image/jpeg which had a name of madinaty6.jpg]
Re: gre mpls packet decapsulation (4.8/i386)
On Mon, Nov 08, 2010 at 10:37:19AM +0100, Vladimir Ostrovskiy wrote: that's how this service is designed (what you see as pseudowire) is there a roadmap for L2/pseudowire support? Hopefully there will be support in 4.9. It is on my list of things to look at. -- :wq Claudio
Re: OpenBSD 4.8: is diskmap(4) missing ?
Joel, thanks for your clarification.
help
help
Re: help
On 8 November 2010 10:46, steve st...@crs.com wrote: help I need somebody.
Re: help
On 8 Nov 2010, at 11:33, Joe Warren-Meeks wrote: On 8 November 2010 10:46, steve st...@crs.com wrote: help I need somebody. help... -- When I die I want to go peacefully in my sleep like my Grandfather, not screaming in terror like his passengers. http://playr.co.uk/
Re: help
On 11/08/10 06:40, Gaby Vanhegan wrote: On 8 Nov 2010, at 11:33, Joe Warren-Meeks wrote: On 8 November 2010 10:46, stevest...@crs.com wrote: help I need somebody. help... Not just anybody.
Re: help
On 11/08/2010 12:49 PM, Scott McEachern wrote: On 11/08/10 06:40, Gaby Vanhegan wrote: On 8 Nov 2010, at 11:33, Joe Warren-Meeks wrote: On 8 November 2010 10:46, stevest...@crs.com wrote: help I need somebody. help... Not just anybody. help..
Re: help
From: Armando arma () lamortenera ! it Date: 2010-11-08 12:00:56 On 11/08/2010 12:49 PM, Scott McEachern wrote: On 11/08/10 06:40, Gaby Vanhegan wrote: On 8 Nov 2010, at 11:33, Joe Warren-Meeks wrote: On 8 November 2010 10:46, stevest...@crs.com wrote: help I need somebody. help... Not just anybody. help.. You know I need someone -- Edward Ahlsen-Girard Ft Walton Beach, FL
openbsd suspend to disk
this is a request for help enabling suspend to disk (hibernate). the only reference to this in faq (that i have found) is the 4.5.3 setting up disks section which mentions that a separate partition is needed for setting up suspend to disk. dmesg OpenBSD 4.8 (GENERIC.MP) #359: Mon Aug 16 09:16:26 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT real mem = 1998659584 (1906MB) avail mem = 1955979264 (1865MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/23/10, BIOS32 rev. 0 @ 0xfdbe0, SMBIOS rev. 2.6 @ 0xe0010 (78 entries) bios0: vendor LENOVO version 6QET52WW (1.22 ) date 08/23/2010 bios0: LENOVO 3323BTG acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT TCPA SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu2: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT cpu3 at mainbus0: apid 5 (application processor) cpu3: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu3: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 13 (EXP1) cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT real mem = 1998659584 (1906MB) avail mem = 1955979264 (1865MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/23/10, BIOS32 rev. 0 @ 0xfdbe0, SMBIOS rev. 2.6 @ 0xe0010 (78 entries) bios0: vendor LENOVO version 6QET52WW (1.22 ) date 08/23/2010 bios0: LENOVO 3323BTG acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT TCPA SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu2: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT cpu3 at mainbus0: apid 5 (application processor) cpu3: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu3: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 13 (EXP1) acpiprt3 at acpi0: bus -1 (EXP2) acpiprt4 at acpi0: bus -1 (EXP3) acpiprt5 at acpi0: bus 5 (EXP4) acpiprt6 at acpi0: bus 2 (EXP5) acpicpu0 at acpi0: C3, C1, PSS acpicpu1 at acpi0: C3, C1, PSS acpicpu2 at acpi0: C3, C1, PSS acpicpu3
Re: help
help Lifebuoy thrown ... -- bEsT rEgArDs| Confidence is what you have before you tomasz dereszynski | understand the problem. -- Woody Allen | Spes confisa Deo| In theory, theory and practice are much numquam confusa recedit | the same. In practice they are very | different. -- Albert Einstein
Re: Bridge frame reassembly over gif/ipsec
On Mon, Nov 8, 2010 at 3:44 AM, Claudio Jeker cje...@diehard.n-r-g.com wrote: In short, gif(4) will fragment packets just fine (actually it is the normal IP fragmenting in ip_output()). So in theory you could forward jumbo frames over a link with less then 1500 bytes by using a big MTU gif(4) on a bridge. This works just fine as long as there is only very little packet loss. There are a few people that use vether(4) + bridge(4) + gif/ipsec to build L2 tunnels with full MTU, it works astoundingly well. The bridge(4) IP fragmenting is mostly untested and only works for IPv4. I would not build anything on top of that feature. I don't understand the utility of vether(4). Would that be used to bridge a non-ethernet layer2 like ATM or PPP? I would expect not to have to use vether for a regular old ethernet network, and use just bridge+gif/ipsec. --Doug
Re: openbsd suspend to disk
We don't do that yet. Mlarkin has a diff but it needs a lot more love. On Nov 8, 2010, at 6:32, patrick kristensen kristensenpatri...@gmail.com wrote: this is a request for help enabling suspend to disk (hibernate). the only reference to this in faq (that i have found) is the 4.5.3 setting up disks section which mentions that a separate partition is needed for setting up suspend to disk. dmesg OpenBSD 4.8 (GENERIC.MP) #359: Mon Aug 16 09:16:26 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT real mem = 1998659584 (1906MB) avail mem = 1955979264 (1865MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/23/10, BIOS32 rev. 0 @ 0xfdbe0, SMBIOS rev. 2.6 @ 0xe0010 (78 entries) bios0: vendor LENOVO version 6QET52WW (1.22 ) date 08/23/2010 bios0: LENOVO 3323BTG acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT TCPA SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu2: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT cpu3 at mainbus0: apid 5 (application processor) cpu3: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu3: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 13 (EXP1) cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT real mem = 1998659584 (1906MB) avail mem = 1955979264 (1865MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/23/10, BIOS32 rev. 0 @ 0xfdbe0, SMBIOS rev. 2.6 @ 0xe0010 (78 entries) bios0: vendor LENOVO version 6QET52WW (1.22 ) date 08/23/2010 bios0: LENOVO 3323BTG acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT TCPA SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu2: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT cpu3 at mainbus0: apid 5 (application processor) cpu3: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu3: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus
Re: Enough is enough!
El 07/11/2010 20:33, bsdmas...@hushmail.com escribiC3: On Sun, 07 Nov 2010 13:52:19 -0400 Steve Shockley steve.shock...@shockley.net wrote: On 11/2/2010 3:13 PM, bsdmas...@hushmail.com wrote: You've been warned. That's awesome! I'm going to end all my messages with that now, no matter what the subject. You've been warned. I'm quite flattered that you appreciate the quality of my work. Everything I do, I do it for people like you. True gentlemen who know genius when they see it. Respectfuly, bsdmaster +1 Completely amazing. You're my new hero. You've been warned.
What do fifth entry of `ls -ld /` implies ?
Hi, I'm wondering what is the fifth entry of long format with ls -ld , which i've never cared much about. ls -ld /usr/bin drwxr-xr-x 2 root wheel 6656 Nov 3 02:21 /usr/bin What does 6656 implies here ? Many thanks ! -- Best Regards, Aaron Lewis - PGP: 0xDFE6C29E Key Server: http://keyserver.veridis.com Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E
(4.8) quagga and tcp-md5 signature
Hello, Do you know if Quagga in OpenBSD 4.8 implements the tcp-md5 signature (for BGP) ? Looks like it does not work. Thanks, regards.
Re: (4.8) quagga and tcp-md5 signature
On Mon, Nov 8, 2010 at 3:03 PM, Patrick Lamaiziere patf...@davenulle.org wrote: Hello, Do you know if Quagga in OpenBSD 4.8 implements the tcp-md5 signature (for BGP) ? Looks like it does not work. Why using quagga when you have bgpd (which is in the tree and supports md5 signatures as well)?
Re: (4.8) quagga and tcp-md5 signature
Le Mon, 8 Nov 2010 15:14:49 +0100, David Coppa dco...@gmail.com a icrit : Do you know if Quagga in OpenBSD 4.8 implements the tcp-md5 signature (for BGP) ? Looks like it does not work. Why using quagga when you have bgpd (which is in the tree and supports md5 signatures as well)? Because: http://www.mail-archive.com/misc@openbsd.org/msg96725.html I would prefer to use OpenBGP.
Re: What do fifth entry of `ls -ld /` implies ?
Monday 08 Nov 2010 ` 21:59 (+0800), Aaron Lewis a icrit : I'm wondering what is the fifth entry of long format with ls -ld , which i've never cared much about. Please read ls(1). -- Vivien MOREAU
Re: What do fifth entry of `ls -ld /` implies ?
On Mon, Nov 08, 2010 at 09:59:25PM +0800, Aaron Lewis wrote: Hi, I'm wondering what is the fifth entry of long format with ls -ld , which i've never cared much about. ls -ld /usr/bin drwxr-xr-x 2 root wheel 6656 Nov 3 02:21 /usr/bin What does 6656 implies here ? It does impy that you did not read the manpage. -Otto
Re: What do fifth entry of `ls -ld /` implies ?
On Mon, Nov 08, 2010 at 09:59:25PM +0800, Aaron Lewis wrote: Hi, I'm wondering what is the fifth entry of long format with ls -ld , which i've never cared much about. ls -ld /usr/bin drwxr-xr-x 2 root wheel 6656 Nov 3 02:21 /usr/bin What does 6656 implies here ? That's the size needed to store the directory node. Andreas
Re: help
guys, i know it is hard to resist, but please, to keep this list readable, refrain from replying to any bullshit that shows up. -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting
Re: (4.8) OpenBGPd sometimes does not send the routes to the peer.
On Wed, Nov 03, 2010 at 03:29:37PM +0100, Patrick Lamaiziere wrote: (4.8/amd64) Hello, I'm doing some tests with OpenBGPd and sometimes (but often), when I restart bgpd it does not send anymore the routes to the peer. The routes are static and configured into bgpd.conf How to repeat: # bgpd -d -v wait until the routes are sent to the peer. ^D shoot again Hmm ^D^H does not kill bgpd, but I guess a simple ^C does it as well. After few tests (around 5), bgpd does not send the routes : # bgpctl sh rib out nei RenaterV4 flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin - Have you checked if the networks were actaully added to the RIB? It would help massivly to know if this is the case. I have the feeling there could be a race condition when starting up. I will try to reproduce. -- :wq Claudio
Re: (4.8) OpenBGPd sometimes does not send the routes to the peer.
Le Mon, 8 Nov 2010 16:07:06 +0100, Claudio Jeker cje...@diehard.n-r-g.com a icrit : Have you checked if the networks were actaully added to the RIB? Do you mean bgpctl show rib ? No. Well, it takes some time but I'm able to reproduce this: # bgpctl show rib flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin AI* 129.20.0.0/160.0.0.0100 0 i AI* 148.60.0.0/160.0.0.0100 0 i * 192.168.1.0/24 193.51.184.26 100 0 2200 i AI* 193.52.12.0/24 0.0.0.0100 0 i AI* 193.52.37.0/24 0.0.0.0100 0 i AI* 193.52.56.0/24 0.0.0.0100 0 i AI* 193.52.60.0/24 0.0.0.0100 0 i AI* 195.220.94.0/24 0.0.0.0100 0 i AI* 2001:660:7307::/48 :: 100 0 i * 2001:660:7310:10::/80 2001:660:7300:1005:0:38:0:2200100 0 2200 i -- And there is nothing announced in show rib out neig PEER Ok for incomming routes : # bgpctl show rib in neig RenaterV4 flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin * 192.168.1.0/24 193.51.184.26 100 0 2200 i The peer (running OpenBGPd but on FreeBSD) does not receive any route I keep the BGP session up if you need more informations. Thanks, regards.
How to convert .img to .iso
Since there are apparently is no software for this kind of conversion, by what other means or methods are there to do this on OpenBSD? I cannot mount .img at all with either vnconfig or '-o loop'. $ file file.img file.img: DOS floppy 1440k, x86 hard disk boot sector $ Is there a way to either mount .img or do I have to figure out a way to convert it?
Re: help
On Mon, Nov 08, 2010 at 03:53:39PM +0100, Henning Brauer wrote: guys, i know it is hard to resist, but please, to keep this list readable, refrain from replying to any bullshit that shows up. -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting This should mean no replys to bsdmasters posts! youv'e been warned
help
I apologize for posting a general computer problem but I am using OpenBSD as a computer. Here is my problem: I try to use cvs and my port number is overridden buy my ssh port. I am not sure where this is coming from or how to fix it. the port is say 2224 and I am getting the error cvs -qd anon...@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_4_8 -P src ssh: connect to host anoncvs.ca.openbsd.org port 2224: Connection timed out cvs [checkout aborted]: end of file from server (consult above messages if any) does anyone know why I am getting this error. Thanks and much respect
Re: How to convert .img to .iso
On Mon, Nov 08, 2010 at 08:22:13AM -0800, James Hozier wrote: Since there are apparently is no software for this kind of conversion, by what other means or methods are there to do this on OpenBSD? I cannot mount .img at all with either vnconfig or '-o loop'. Just FYI re: 'mount -o loop' $ man mount | grep -c the 73 $ man mount | grep -c loop 0 $ file file.img file.img: DOS floppy 1440k, x86 hard disk boot sector $ Is there a way to either mount .img or do I have to figure out a way to convert it?
VNCONFIG encrypted file 4.7 to 4.8
Hi all, I have an encrypted file that was made on 4.7. Here are the steps I took. 1. Created around a 22G file zero'd out. # dd if=/dev/zero of=/path/encrypted_file bs=512 count=109113984 2. Created a salt file. # dd if=/dev/arandom of=/etc/salt/secure.salt count=1 3. Associated svnd1 with 'encrypted_file' (and entered my password). # vnconfig -v -c -K 1440 -S /etc/salt/secure.salt svnd1 /path/encrypted_file 4. Partitioned and formatted the virtual device with one 'a' partition. # fdisk -i svnd1 # disklabel -E svnd1 # newfs /dev/rsvnd1a However, I'm having trouble opening the 'encrypted_file' on 4.8. Here's the steps I'm taking. 1. Associated svnd1 with 'encrypted_file' (and entered my password). # vnconfig -v -c -K 1440 -S /etc/salt/secure.salt svnd1 /path/encrypted_file The following is a comparison between 4.7 and 4.8 fdisk svnd1. OpenBSD 4.7 # fdisk svnd1 Disk: svnd1 geometry: 464230/1/100 [46423072 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start:size ] --- 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused *3: A6 1 0 29 - 464229 0 100 [ 128:46422872 ] OpenBSD OpenBSD 4.8 # fdisk svnd1 Starting Ending LBA Info: #: id C H S - C H S [ start:size ] --- 0: EF 11848640 0 83 - 29058358 0 66 [ 1184864082: 1720971784 ] EFI Sys 1: 9C 32141118 0 39 - 29854738 0 95 [ 3214111838: 4066329353 ] Unknown ID 2: 3D 1033132 0 22 - 26888558 0 19 [ 103313221: 2585542598 ] Unknown ID 3: AC 39002669 0 86 - 16827162 0 4 [ 3900266985: 2077416515 ] Unknown ID The partitions are un-aligned. And I'm unable to mount the 'a' partition that I made in 4.7. Anyone have any ideas what the problem might be?? Thanks all for your time, Mike
Re: How to convert .img to .iso
On Mon, Nov 8, 2010 at 8:22 AM, James Hozier guitars...@yahoo.com wrote: Since there are apparently is no software for this kind of conversion, by what other means or methods are there to do this on OpenBSD? I cannot mount .img at all with either vnconfig or '-o loop'. -t msdos?
Il portale dei professionisti del Turismo
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- BedVacanze.it, Il Sito per organizzare le tue vacanze - www.bedvacanze.it -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- Anno I - numero 75 - 8 Novembre 2010 Gestisci un agriturismo, bed breakfast, casa vacanze, campeggio, villaggio turistico, albergo, hotel o un'altra struttura per vacanze? Visita il sito www.bedvacanze.it e iscrivi la tua struttura. Ti aspettiamo # Abbiamo attivato il nuovo spazio dedicato alle offerte speciali e ai lastminute, cosa aspetti, vai su Bedvacanze.it # Le rammentiamo che lbofferta banner C( attiva fino al 30 novembre, la potrC consultare alla seguente pagina http://www.bedvacanze.it/promozione-iscrizione-al-portale.html # Se ha ricevuto questa mail per sbaglio, lo comunichi rispondendo a questo stesso messaggio, provvederemo a rimuovere l'indirizzo. Cambia la tua sottoscrizione ( http://www.bedvacanze.it/index.php?option=com_acajoomItemid=999act=changesubscriber=54611cle=c7d9c7344f641c6f217a5e76a292e29blistid=34 ) Cancellati ( http://www.bedvacanze.it/index.php?option=com_acajoomItemid=999act=unsubscribesubscriber=54611cle=c7d9c7344f641c6f217a5e76a292e29blistid=34 ) Powered by Joobi ( http://www.ijoobi.com )
Re: How to test if sound is working?
From: Jacob Meuser jake...@sdf.lonestar.org Subject: Re: How to test if sound is working? To: misc@openbsd.org Date: Monday, November 8, 2010, 4:36 AM it appears you don't get any sound because the outputs are controlled by gpio pins. see if the following fixes it. 1. save this mail as a plain text file somewhere. 2. make sure you have kernel sources installed. (see the faq if necessary) 3. cd /sys/dev/pci patch -p 0 path to this file 4. build and install kernel. (see faq if necessary) 5. reboot -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org Index: azalia_codec.c === RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v retrieving revision 1.151 diff -u -p azalia_codec.c --- azalia_codec.c10 Sep 2010 15:11:23 - 1.151 +++ azalia_codec.c8 Nov 2010 04:29:59 - @@ -64,6 +64,13 @@ azalia_codec_init_vtbl(codec_t *this) this-name = NULL; this-qrks = AZ_QRK_NONE; switch (this-vid) { +case 0x10134206: +this-name = Cirrus Logic CS4206; +if (this-subid == 0x106b4d00) {/* APPLE_MBP55 */ + this-qrks |= AZ_QRK_GPIO_UNMUTE_1 | + AZ_QRK_GPIO_UNMUTE_3; +} +break; case 0x10ec0260: this-name = Realtek ALC260; break; Just rebooted, tweaked mixerctl settings several times, and nothing. Same results as before... For what it's worth, when I patched azalia_codec, this is what it said: Hmm... Looks like a unified diff to me... The text leading up to this was: -- |Index: azalia_codec.c |=== |RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v |retrieving revision 1.151 |diff -u -p azalia_codec.c |--- azalia_codec.c10 Sep 2010 15:11:23 - 1.151 |+++ azalia_codec.c8 Nov 2010 04:29:59 - -- Patching file azalia_codec.c using Plan A... Hunk #1 failed at 64. 1 out of 1 hunks failed--saving rejects to azalia_codec.c.rej done Dunno if that means anything. Here is my current mixerctl settings: $ mixerctl -v inputs.dac-0:1_mute=off [ off on ] inputs.dac-0:1=250,250 inputs.dac-2:3_mute=off [ off on ] inputs.dac-2:3=250,250 record.adc-0:1_source=mic [ mic ] record.adc-0:1_mute=off [ off on ] record.adc-0:1=248,248 outputs.hp_source=dac-0:1 [ dac-0:1 ] outputs.hp_boost=on [ off on ] outputs.spkr_source= [ ] outputs.spkr2_source=dac-2:3 [ dac-2:3 ] inputs.mic=170,170 outputs.mic_dir=input-vr80 [ none input input-vr0 input-vr50 input-vr80 ] outputs.SPDIF_source=dig-dac-0:1 [ dig-dac-0:1 ] outputs.hp_sense=plugged [ unplugged plugged ] outputs.spkr2_muters=hp { hp } outputs.master=250,250 outputs.master.mute=off [ off on ] outputs.master.slaves=dac-0:1,dac-2:3 { dac-0:1 dac-2:3 } record.volume=250,250 record.volume.mute=off [ off on ] record.volume.slaves=adc-0:1 { adc-0:1 mic } outputs.mode=analog [ analog digital ] I change it up with different combos and restart my music player each time to test.
Cannot fill hard drive with /dev/random
# dd if=/dev/random of=/dev/sd1c dd: /dev/random: Input/output error 0+0 records in 0+0 records out 0 bytes transferred in 0.000 secs (0 bytes/sec) # But /dev/urandom (dd if=/dev/urandom of=/dev/sd1c ) works fine. Is /dev/random not supposed to be used for some reason or something?
Re: (4.8) OpenBGPd sometimes does not send the routes to the peer.
On Mon, Nov 08, 2010 at 05:18:50PM +0100, Patrick Lamaiziere wrote: Le Mon, 8 Nov 2010 16:07:06 +0100, Claudio Jeker cje...@diehard.n-r-g.com a icrit : Have you checked if the networks were actaully added to the RIB? Do you mean bgpctl show rib ? No. Well, it takes some time but I'm able to reproduce this: # bgpctl show rib flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin AI* 129.20.0.0/160.0.0.0100 0 i AI* 148.60.0.0/160.0.0.0100 0 i * 192.168.1.0/24 193.51.184.26 100 0 2200 i AI* 193.52.12.0/24 0.0.0.0100 0 i AI* 193.52.37.0/24 0.0.0.0100 0 i AI* 193.52.56.0/24 0.0.0.0100 0 i AI* 193.52.60.0/24 0.0.0.0100 0 i AI* 195.220.94.0/24 0.0.0.0100 0 i AI* 2001:660:7307::/48 :: 100 0 i * 2001:660:7310:10::/80 2001:660:7300:1005:0:38:0:2200100 0 2200 i -- And there is nothing announced in show rib out neig PEER Ok for incomming routes : # bgpctl show rib in neig RenaterV4 flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin * 192.168.1.0/24 193.51.184.26 100 0 2200 i The peer (running OpenBGPd but on FreeBSD) does not receive any route I keep the BGP session up if you need more informations. Can you run a bgpctl show rib detail 129.20.0.0/16 and a bgpctl show table. For some reason none of the above routes got selected and so nothing is redistributed. It looks like the decision process is turned off. So it is not what I first thought the problem is. -- :wq Claudio
Re: Cannot fill hard drive with /dev/random
On Mon, Nov 8, 2010 at 11:23 AM, James Hozier guitars...@yahoo.com wrote: # dd if=/dev/random of=/dev/sd1c dd: /dev/random: Input/output error 0+0 records in 0+0 records out 0 bytes transferred in 0.000 secs (0 bytes/sec) # But /dev/urandom (dd if=/dev/urandom of=/dev/sd1c ) works fine. Is /dev/random not supposed to be used for some reason or something? man(4): /dev/randomThis device is reserved for future support of hardware random generators.
Re: Cannot fill hard drive with /dev/random
On Mon, Nov 8, 2010 at 6:23 PM, James Hozier guitars...@yahoo.com wrote: # dd if=/dev/random of=/dev/sd1c dd: /dev/random: Input/output error 0+0 records in 0+0 records out 0 bytes transferred in 0.000 secs (0 bytes/sec) # But /dev/urandom (dd if=/dev/urandom of=/dev/sd1c ) works fine. Is /dev/random not supposed to be used for some reason or something? man urandom http://www.openbsd.org/cgi-bin/man.cgi?query=urandomapropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html /dev/randomThis device is reserved for future support of hardware random generators.
Re: Architeture Choose
On Fri, 2010-11-05 at 14:30 -0400, Joe McDonagh wrote: If your Sun fails -- that's a big IF. It's approaching a possibility of 0 in my experience. If performance isn't an issue and stability is your chief goal, none of this hardware is as stable as a Sun. Not quite my experience. In 2001 I worked at a place with a lot of used Sun hardware courtesy of Fujitsu layoffs (Sparc 20s, Ultra 5s). Entirely too many fried ethernet ports on the sparc 20s. And it took too many iterations to find a sparc 20 that wouldn't crash and burn while building OpenBSD from source. A fidgety developer kicking an ultra 5 from a | orientation to a _ orientation would reliably destroy the power supply and harddrives. On the bright side, I could repair the ultra 5s with power supply and drives scavenged from eMachines with ALI motherboards with the wonderful DMA that shoved garbage into memory for every OS we tried on them. I thought the Micro Channel based RS/6Ks (Before the horrid SMP ones designed by Group Bull) were a bit more bullet proof, with the only dead hardware I'd experience being. 1) Rats pissing on the system boards, because the customer refused to keep the covers on their systems in manufacturing. 2) A ladybird beetle invasion. The RT PC was pretty reliable too. I had one manufactured in 1987 that was still trundling along in 2006 when I gave it away.
Re: Architeture Choose
On Mon, Nov 8, 2010 at 9:44 AM, Christopher Dukes pak...@pr.neotoma.org wrote: On Fri, 2010-11-05 at 14:30 -0400, Joe McDonagh wrote: If your Sun fails -- that's a big IF. It's approaching a possibility of 0 in my experience. If performance isn't an issue and stability is your chief goal, none of this hardware is as stable as a Sun. Not quite my experience. In 2001 I worked at a place with a lot of used Sun hardware courtesy of Fujitsu layoffs (Sparc 20s, Ultra 5s). Entirely too many fried ethernet ports on the sparc 20s. And it took too many iterations to find a sparc 20 that wouldn't crash and burn while building OpenBSD from source. A fidgety developer kicking an ultra 5 from a | orientation to a _ orientation would reliably destroy the power supply and harddrives. On the bright side, I could repair the ultra 5s with power supply and drives scavenged from eMachines with ALI motherboards with the wonderful DMA that shoved garbage into memory for every OS we tried on them. I had a U10 with a Gig of ram that would crash during building. It turned out to be a bad RAM module. I'm with Henning though. I've yet to see a dead Netra, stacks and stacks of e220r/e420r's that haven't ever had any issues. I used to have a bunch of the e220r series that had like 4 years (maybe more) worth of dmesg's in the output because they were never powered off, only restarted for upgrades. -B
Re: Cannot fill hard drive with /dev/random
On Mon, Nov 8, 2010 at 11:30 AM, Abel Abraham Camarillo Ojeda acam...@verlet.org wrote: On Mon, Nov 8, 2010 at 11:23 AM, James Hozier guitars...@yahoo.com wrote: # dd if=/dev/random of=/dev/sd1c dd: /dev/random: Input/output error 0+0 records in 0+0 records out 0 bytes transferred in 0.000 secs (0 bytes/sec) # But /dev/urandom (dd if=/dev/urandom of=/dev/sd1c ) works fine. Is /dev/random not supposed to be used for some reason or something? man(4): B B /dev/random B B This device is reserved for future support of hardware B B B B B B B B B B random generators. Duh, meant random(4)...
Re: (4.8) OpenBGPd sometimes does not send the routes to the peer.
On Mon, Nov 08, 2010 at 06:24:48PM +0100, Claudio Jeker wrote: On Mon, Nov 08, 2010 at 05:18:50PM +0100, Patrick Lamaiziere wrote: Le Mon, 8 Nov 2010 16:07:06 +0100, Claudio Jeker cje...@diehard.n-r-g.com a icrit : Have you checked if the networks were actaully added to the RIB? Do you mean bgpctl show rib ? No. Well, it takes some time but I'm able to reproduce this: # bgpctl show rib flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin AI* 129.20.0.0/160.0.0.0100 0 i AI* 148.60.0.0/160.0.0.0100 0 i * 192.168.1.0/24 193.51.184.26 100 0 2200 i AI* 193.52.12.0/24 0.0.0.0100 0 i AI* 193.52.37.0/24 0.0.0.0100 0 i AI* 193.52.56.0/24 0.0.0.0100 0 i AI* 193.52.60.0/24 0.0.0.0100 0 i AI* 195.220.94.0/24 0.0.0.0100 0 i AI* 2001:660:7307::/48 :: 100 0 i * 2001:660:7310:10::/80 2001:660:7300:1005:0:38:0:2200100 0 2200 i -- And there is nothing announced in show rib out neig PEER Ok for incomming routes : # bgpctl show rib in neig RenaterV4 flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin * 192.168.1.0/24 193.51.184.26 100 0 2200 i The peer (running OpenBGPd but on FreeBSD) does not receive any route I keep the BGP session up if you need more informations. Can you run a bgpctl show rib detail 129.20.0.0/16 and a bgpctl show table. For some reason none of the above routes got selected and so nothing is redistributed. It looks like the decision process is turned off. So it is not what I first thought the problem is. Doh! I should read the log more carefully, the hint is there: new ktable rdomain_0 for rtableid 0 listening on 0.0.0.0 change to/from route-collector mode ignored RDE reconfigured In other words the daemon came up in route-collector mode and so no pathes are validated. Figured it out at the airport by just looking at the code and swearing. Diff is untested but I guess everyone agrees that a bit more memory inizialisation could help. -- :wq Claudio Index: rde.c === RCS file: /cvs/src/usr.sbin/bgpd/rde.c,v retrieving revision 1.299 diff -u -p -r1.299 rde.c --- rde.c 15 Oct 2010 07:43:02 - 1.299 +++ rde.c 8 Nov 2010 18:43:16 - @@ -227,7 +227,7 @@ rde_main(int pipe_m2r[2], int pipe_s2r[2 if (rdomains_l == NULL) fatal(NULL); SIMPLEQ_INIT(rdomains_l); - if ((conf = malloc(sizeof(struct bgpd_config))) == NULL) + if ((conf = calloc(1, sizeof(struct bgpd_config))) == NULL) fatal(NULL); log_info(route decision engine ready); Index: session.c === RCS file: /cvs/src/usr.sbin/bgpd/session.c,v retrieving revision 1.312 diff -u -p -r1.312 session.c --- session.c 15 Oct 2010 07:45:32 - 1.312 +++ session.c 8 Nov 2010 18:25:09 - @@ -247,7 +247,7 @@ session_main(int pipe_m2s[2], int pipe_s peer_cnt = 0; ctl_cnt = 0; - if ((conf = malloc(sizeof(struct bgpd_config))) == NULL) + if ((conf = calloc(1, sizeof(struct bgpd_config))) == NULL) fatal(NULL); if ((conf-listen_addrs = calloc(1, sizeof(struct listen_addrs))) == NULL)
Re: help
On 11/8/10 4:29 AM, Ed Ahlsen-Girard wrote: From: Armandoarma () lamortenera ! it Date: 2010-11-08 12:00:56 On 11/08/2010 12:49 PM, Scott McEachern wrote: On 11/08/10 06:40, Gaby Vanhegan wrote: On 8 Nov 2010, at 11:33, Joe Warren-Meeks wrote: On 8 November 2010 10:46, stevest...@crs.com wrote: help I need somebody. help... Not just anybody. help.. You know I need someone Help me if you can
Re: Certificate Authority / OpenSSL GUI for Managing VPN X.509 Certs
On Tue, Nov 02, 2010 at 07:36:52PM -0500, dontek wrote: Hey all, I am looking for those of you who use some type of GUI for managing your OpenBSD CA / VPN Certs. What do you use? Why do you like it? What do you view as its advantages / disadvantages over other options? I have found a few options and have experience with none, so I am just looking for some experienced opinions on what's out there. don.. Hi, i'm using xca (http://xca.sourceforge.net/). Allthough there is no OpenBSD port it can be installed from source if you fix the -l directives for the compiler. (The configure script does not set the compiler flags correct.) I think it offers a more user-friendly setup when it comes to certificate extensions and the like compared to other OpenSSL tools / guis. But that's just my opinion. Kai
PROJEK MEGA
NampakRebutBelajarBuat...confirm buat $$$... Buat apa nak pening2 untuk berubah... patutnya kita pening knpe lah kita tetap duduk di situasi yg sama dan x nak pening2 lagi DAFTAR PERCUMA DAHULU/UPGRADE KE VIP MEMBER http://www.AleaCorp.com/?ref=syaza http://www.AleaCorp.com/?ref=syaza InsyaAllah saya tunjukkan jalannya.. BERTINDAKLAH CEPAT SEBELUM TERLAMBAT.. U do the same , U `ll get the same KAMI AKAN BUKTIKAN ANDA JUGA BOLEH BERJAYA Lihat Rakaman Preview penerangan plan Aleacorp.com(hayati vedio ini satu persatu): http://www.youtube.com/watch?v=VzMfoFY4djgfeature=player_embedded http://www.youtube.com/watch?v=F20as0aGntMfeature=player_embedded http://www.youtube.com/watch?v=mu7W_lnJ1vofeature=player_embedded http://www.youtube.com/watch?v=8XGlveYZ56sfeature=player_embedded http://www.youtube.com/watch?v=8qMWk8kbp_wfeature=player_embedded jgn balas email ni, sms atau call shj DAFTAR PERCUMA DAHULU UTK INFO syaza TEAM LEADER ALEACORP 0107075405
Current fails to build
Hi, I'm trying to build current as of 2010 11 08. The build fails with: c cc -I/usr/src/usr.sbin/bind/obj -I. -I/usr/src/usr.sbin/bind/obj/lib/dns/include -I/usr/src/usr.sbin/bind/lib/dns/include -I/usr/src/usr.sbin/bind/obj/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc -I/usr/src/usr.sbin/bind/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc/unix/include -I/usr/src/usr.sbin/bind/lib/isc/nothreads/include -I/usr/src/usr.sbin/bind/lib/isc/x86_32/include -I/usr/src/usr.sbin/bind/obj/lib/isccc/include -I/usr/src/usr.sbin/bind/lib/isccc/include -O2 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c /usr/src/usr.sbin/bind/lib/isccc/lib.c cc -I/usr/src/usr.sbin/bind/obj -I. -I/usr/src/usr.sbin/bind/obj/lib/dns/include -I/usr/src/usr.sbin/bind/lib/dns/include -I/usr/src/usr.sbin/bind/obj/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc -I/usr/src/usr.sbin/bind/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc/unix/include -I/usr/src/usr.sbin/bind/lib/isc/nothreads/include -I/usr/src/usr.sbin/bind/lib/isc/x86_32/include -I/usr/src/usr.sbin/bind/obj/lib/isccc/include -I/usr/src/usr.sbin/bind/lib/isccc/include -O2 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c /usr/src/usr.sbin/bind/lib/isccc/result.c cc -I/usr/src/usr.sbin/bind/obj -I. -I/usr/src/usr.sbin/bind/obj/lib/dns/include -I/usr/src/usr.sbin/bind/lib/dns/include -I/usr/src/usr.sbin/bind/obj/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc -I/usr/src/usr.sbin/bind/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc/unix/include -I/usr/src/usr.sbin/bind/lib/isc/nothreads/include -I/usr/src/usr.sbin/bind/lib/isc/x86_32/include -I/usr/src/usr.sbin/bind/obj/lib/isccc/include -I/usr/src/usr.sbin/bind/lib/isccc/include -O2 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c /usr/src/usr.sbin/bind/lib/isccc/sexpr.c cc -I/usr/src/usr.sbin/bind/obj -I. -I/usr/src/usr.sbin/bind/obj/lib/dns/include -I/usr/src/usr.sbin/bind/lib/dns/include -I/usr/src/usr.sbin/bind/obj/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc -I/usr/src/usr.sbin/bind/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc/unix/include -I/usr/src/usr.sbin/bind/lib/isc/nothreads/include -I/usr/src/usr.sbin/bind/lib/isc/x86_32/include -I/usr/src/usr.sbin/bind/obj/lib/isccc/include -I/usr/src/usr.sbin/bind/lib/isccc/include -O2 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c /usr/src/usr.sbin/bind/lib/isccc/symtab.c cc -I/usr/src/usr.sbin/bind/obj -I. -I/usr/src/usr.sbin/bind/obj/lib/dns/include -I/usr/src/usr.sbin/bind/lib/dns/include -I/usr/src/usr.sbin/bind/obj/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc -I/usr/src/usr.sbin/bind/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc/unix/include -I/usr/src/usr.sbin/bind/lib/isc/nothreads/include -I/usr/src/usr.sbin/bind/lib/isc/x86_32/include -I/usr/src/usr.sbin/bind/obj/lib/isccc/include -I/usr/src/usr.sbin/bind/lib/isccc/include -O2 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -DVERSION=\9.4.2-P2\ -DLIBINTERFACE=30 -DLIBREVISION=1 -DLIBAGE=0 -c /usr/src/usr.sbin/bind/lib/isccc/version.c /usr/bin/ar cruv libisccc.a alist.o base64.o cc.o ccmsg.o lib.o result.o sexpr.o symtab.o version.o a - alist.o a - base64.o a - cc.o a - ccmsg.o a - lib.o a - result.o a - sexpr.o a - symtab.o a - version.o ranlib libisccc.a touch timestamp making all in /usr/src/usr.sbin/bind/obj/lib/dns cc -O2 -pipe -I/usr/src/usr.sbin/bind/lib/isc/include-o gen /usr/src/usr.sbin/bind/lib/dns/gen.c ./gen -s /usr/src/usr.sbin/bind/lib/dns -t include/dns/enumtype.h Bad system call (core dumped) *** Error code 140 Stop in /usr/src/usr.sbin/bind/obj/lib/dns (line 430 of Makefile). *** Error code 1 Stop in /usr/src/usr.sbin/bind/obj/lib (line 104 of Makefile). *** Error code 1 Stop in /usr/src/usr.sbin/bind/obj (line 102 of Makefile). *** Error code 1 Stop in /usr/src/usr.sbin/bind (line 55 of /usr/src/usr.sbin/bind/Makefile.bsd-wrapper). *** Error code 1 Stop in /usr/src/usr.sbin (line 48 of /usr/share/mk/bsd.subdir.mk). *** Error code 1 Stop in /usr/src (line 48 of /usr/share/mk/bsd.subdir.mk). *** Error code 1 Stop in /usr/src (line 74 of Makefile). # Do any one of you have a clue ? Thanks
machdep.allowaperture=1 radeon 128 vs nvidia
I have a machine that will primarily be used for web surfing but it has a radeon 128 which causes some graphic defects under aperture=1. It looks to me that aperture=2 would be quite a bit more 'evil' than aperture=1 which most machines run fine under and so I'm going to switch it for an nvidia card I have to hand (only reasonable spec one available). I assume the performance will drop. What would you do? Kc
Re: How to convert .img to .iso
On 08/11/2010 17:22, James Hozier wrote: Since there are apparently is no software for this kind of conversion, by what other means or methods are there to do this on OpenBSD? I cannot mount .img at all with either vnconfig or '-o loop'. $ file file.img file.img: DOS floppy 1440k, x86 hard disk boot sector $ Is there a way to either mount .img or do I have to figure out a way to convert it? Hi, you can try this : http://ccd2iso.sourceforge.net Guillaume.
Re: How to convert .img to .iso
James Hozier guitars...@yahoo.com writes: $ file file.img file.img: DOS floppy 1440k, x86 hard disk boot sector $ Is there a way to either mount .img or do I have to figure out a way to convert it? Take another look at the vnconfig man page. The first example should fit your scenario with file system type as the only difference. - Peter -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ Remember to set the evil bit on all malicious network traffic delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Re: How to test if sound is working?
On 8 November 2010 17:10, James Hozier guitars...@yahoo.com wrote: /snipped Patching file azalia_codec.c using Plan A... Hunk #1 failed at 64. 1 out of 1 hunks failed--saving rejects to azalia_codec.c.rej done Dunno if that means anything. The patching of the azailia_codec.c file failed, the code that could not be patched was saved as a hunk to a file called azailia_codec.c.rej - this file will tell what failed... If it had worked it would have given you a message like: Patching file azalia_codec.c using Plan A... Hunk #1 succeeded at 64. Hmm... Ignoring the trailing garbage. done hth Fred
Re: How to test if sound is working?
From: Fred Crowson fred.crow...@gmail.com Subject: Re: How to test if sound is working? To: James Hozier guitars...@yahoo.com Cc: misc@openbsd.org Date: Monday, November 8, 2010, 9:26 PM On 8 November 2010 17:10, James Hozier guitars...@yahoo.com wrote: /snipped Patching file azalia_codec.c using Plan A... Hunk #1 failed at 64. 1 out of 1 hunks failed--saving rejects to azalia_codec.c.rej done Dunno if that means anything. The patching of the azailia_codec.c file failed, the code that could not be patched was saved as a hunk to a file called azailia_codec.c.rej - this file will tell what failed... If it had worked it would have given you a message like: Patching file azalia_codec.c using Plan A... Hunk #1 succeeded at 64. Hmm... Ignoring the trailing garbage. done hth Fred $ cat azalia_codec.c.rej @@ -64,6 +64,13 @@ this-name = NULL; this-qrks = AZ_QRK_NONE; switch (this-vid) { +case 0x10134206: +this-name = Cirrus Logic CS4206; +if (this-subid == 0x106b4d00) {/* APPLE_MBP55 */ + this-qrks |= AZ_QRK_GPIO_UNMUTE_1 | +AZ_QRK_GPIO_UNMUTE_3; + } +break; case 0x10ec0260: this-name = Realtek ALC260; break; What does this mean? It looks like a snippet of code from the original patch file?
Re: Architeture Choose
On 11/08/2010 12:44 PM, Christopher Dukes wrote: On Fri, 2010-11-05 at 14:30 -0400, Joe McDonagh wrote: If your Sun fails-- that's a big IF. It's approaching a possibility of 0 in my experience. If performance isn't an issue and stability is your chief goal, none of this hardware is as stable as a Sun. Not quite my experience. In 2001 I worked at a place with a lot of used Sun hardware courtesy of Fujitsu layoffs (Sparc 20s, Ultra 5s). Entirely too many fried ethernet ports on the sparc 20s. And it took too many iterations to find a sparc 20 that wouldn't crash and burn while building OpenBSD from source. A fidgety developer kicking an ultra 5 from a | orientation to a _ orientation would reliably destroy the power supply and harddrives. On the bright side, I could repair the ultra 5s with power supply and drives scavenged from eMachines with ALI motherboards with the wonderful DMA that shoved garbage into memory for every OS we tried on them. I thought the Micro Channel based RS/6Ks (Before the horrid SMP ones designed by Group Bull) were a bit more bullet proof, with the only dead hardware I'd experience being. 1) Rats pissing on the system boards, because the customer refused to keep the covers on their systems in manufacturing. 2) A ladybird beetle invasion. The RT PC was pretty reliable too. I had one manufactured in 1987 that was still trundling along in 2006 when I gave it away. To be fair, the ultra 5 was sort of an attempt to cut corners and produce 'cheaper' workstations. They also OEM'd their boards at that point (my first Sun was an Ultra 5 board in some kind of no-name chassis). The next iteration, the Blade 100, had a fair amount of problems but generally, you get what you pay for. I'm talking more about their servers in terms of reliability. -- Joe McDonagh AIM: YoosingYoonickz IRC: joe-mac on freenode When the going gets weird, the weird turn pro.
Upgrading to 4.8. Are there issues with softraid?
I have a machine currently running 4.6 and want to upgrade to 4.8. I know you shouldn't skip releases for upgrades, so I'm planning on wiping and installing. Problem is I have some important data on a softraid partition. The root disk is just an IDE drive (wd0), and the softraid partition is a RAID 1 setup of two separate disks (wd1 and wd2). Can I safely wipe everything on the root disk, install 4.8, and just mount the softraid partition?
Lanzamiento Wind Tower- Punta del Este
Si no puede visualizar correctamente este news haga click aqum Disponemos de todo el Mercado en Alquiler y Venta desde Punta Ballena hasta Jose Ignacio. Estimado Propietario tenemos pedidos concretos de Alquiler y Venta en Edificios y Casas de categorma Ixito en ventas, mas de 40 unidades ya vendidas Reserve su unidad antes del aumento !!! Ubicado en parada 7 de la Brava a 100 mts. del mar y con fecha de ocupacisn prevista para Agosto de 2013, Wind Tower se trata de una torre de 24 pisos con apartamentos de 1, 2 y 3 dormitorios, con todos los amenities que requiere un Edificio de esta categorma: 3 piscinas exteriores, piscina cerrada climatizada in out, 6 barbacoas, sauna, micro cine, gimnasio, sala de juegos, ciber sala, sala de lecturas, seguridad 24 hs, garajes, y cocheras, etc. Del piso 1 al 4 se ubican unidades de 1 y 2 dormitorios y del piso 5 al 22 unidades de 2 y 3 dormitorios, el piso 23 sera de unidades de 3 dormitorios y el piso 24 con dos pent houses de 4 dormitorios. En el Proyecto Wind Tower no queda ningzn detalle librado al azar, se destacan su gran lobby donde a la entrada estara una fuente con una gran cascada dandole un toque de frescura y elegancia como esta acostumbrado a desarrollar el Grupo Betania, vanguardistas en Argentina en la zona de Csrdoba con mas de 25 torres, algunas actualmente en construccisn. Wind Tower va dirigido a los clientes mas exigentes, se conjuga la mejor relacisn precio- producto y ademas tiene una excelente ubicacisn y construccisn con los mejores materiales, variedad de areas de esparcimiento y algo muy importante: 30 meses de financiacisn. Wind Tower fue proyectado por el Arq. Eugenio Ferreyra quien ya es un referente en lo que a calidad y estilo se refiere no solo en Argentina sino tambiin en Punta, creador de los exitosos The Forest Tower y Botavara. Hoy Ud. puede integrarse a este proyecto que sera parte de los edificios emblematicos de Punta del Este, no deje pasar esta oportunidad que es irrepetible. PRECIOS DE PREVENTA 1 dormitorio desde u$s 125.984.- Precio por metro u$s 1.268.- 2 dormitorios desde u$s 165.105.- Precio por metro u$s 1.234.- 3 dormitorios desde u$s 260.490.- Precio por metro u$s 1.529.- Estimado Cliente Su propiedad puede incluirse en nuestro Newsletter el cual llega a mas de 25.000 contactos potenciales relacionados con Punta del Este, pautamos las propiedades en portales como Rii , Apuntavamos, Zona Prop, Campaqa en Google , prensa grafica como El Pams, La Nacisn, Zero Hora, La Capital, nuestra propia revista con un tiraje mmnimo de 10.000 ejemplares. Participamos de las ferias Internacionales promocionando nuestra cartera y estrechando vmnculos de fusisn con colegas locales de la regisn. Contamos con un local decorado armoniosamente y con una estitica de primer nivel. Nuestro equipo esta conformado por ejecutivos profesionales en bienes ramces, brindamos asesoramiento jurmdico, notarial y financiero. Nuestra empresa invierte en su propiedad y usted recibe un trato diferencial y znico en Punta. Si busca algo diferente puede elegirnos, y usted solo disfrutar de Punta, de lo contrario seguir con mas de lo mismo. Aprovecho para agradecer y felicitar a los clientes que invirtieron con nosotros, y aquellos que nos confiaron la administracisn de su propiedad en exclusividad. Un afectuoso saludo, Boris Excelenciaâ¦..con nombre propio Ud. se encuentra suscripto a nuestra lista con la direccion: misc@openbsd.org Para CANCELAR su suscripcion haga click aqui o envie un mail a: i...@borisvitale.com.uy [IMAGE]
Re: How to test if sound is working?
On 8 November 2010 22:04, James Hozier guitars...@yahoo.com wrote: $ cat azalia_codec.c.rej @@ -64,6 +64,13 @@ this-name = NULL; this-qrks = AZ_QRK_NONE; switch (this-vid) { +case 0x10134206: +this-name = Cirrus Logic CS4206; +if (this-subid == 0x106b4d00) {/* APPLE_MBP55 */ +this-qrks |= AZ_QRK_GPIO_UNMUTE_1 | +AZ_QRK_GPIO_UNMUTE_3; +} +break; case 0x10ec0260: this-name = Realtek ALC260; break; What does this mean? It looks like a snippet of code from the original patch file? Hi James, For some reason patch(1) did not insert the code into azalia_codec.c - I would guess that the reason was that patch file had some formatting that patch(1) did not like. Have another go at creating and patching the file, or you can either manually add those 7 new lines to azailia_codec.c after line 77 of azaila_codec.c Thus when you rebuilt your kernel - it did not have this new bit of code in. hth Fred
Re: How to test if sound is working?
On 8 November 2010 22:55, Fred Crowson fred.crow...@gmail.com wrote: For some reason patch(1) did not insert the code into azalia_codec.c - I would guess that the reason was that patch file had some formatting that patch(1) did not like. Have another go at creating and patching the file, or you can either manually add those 7 new lines to azailia_codec.c after line 77 of azaila_codec.c Sorry the 7 new lines go in after line 66 of azailia_codec.c (version 1.151 from CVS). Fred
802.11n and Host AP powersaving mode status
Just casually wondering if anyone know if there is any work at all being made on the 802.11 stack to enable 11n features (in particular the extra speed), and if any work is being made on the powersaving functionality in Host AP mode that is currently affecting all the wireless drivers (ral(4) etc.) Both these issues are quite pressing, leaving OpenBSD in the dust on the wireless front, both from it being severely impaired on transfers speeds due being locked down to 20mbps on 802.11g, and because of the troublesome packet loss issue when using OBSD as a wifi ap for clients that refuse to go out of powersaving mode (way more common than I thought) when noticing that the other end (read: OBSD machine) can't do powersaving. Any info on current progress on these two fronts is greatly appreciated. thanks in advance
Re: machdep.allowaperture=1 radeon 128 vs nvidia
On Nov 08 20:43:21, Kevin Chadwick wrote: which causes some graphic defects under aperture=1. What graphic defects? And what makes you think it's due to the radeon, and what makes you think it's du to the aperture=1? It didn't detect the right resolution so I made an xorg.conf at aperture=2 and then set it back to 1. I then noticed at 1 (more obvious at higher resolution and doesn't appear at =2) that the picture was kind of folded with strange shimmering/corruption about 4 inches from the right. I did a search on aperture in the archives and one mail asks if anyone knows of xorg.conf options that might fix corruption on r128. http://www.mail-archive.com/misc@openbsd.org/msg82600.html; It looks to me that aperture=2 would be quite a bit more 'evil' than aperture=1 which most machines run fine under I have allowaperture=2 on all machines where X is installed. What is 'evil' about that? It allows access to the first megabyte of memory. How much worse it is than 1 +exploit, I'm not sure, but it sounds pretty bad to me. and so I'm going to switch for an nvidia card I have to hand nvidia? why? Simply a choice between that another nvidia which last time I tried blew up an agp port and some old 16meg cards. (only reasonable spec one available). what do you mean? Ditto I assume the performance will drop. What performance? Why? Nvidia driver as oppose to ati.
Re: Current fails to build
Hi, On Tue, 09 Nov 2010 03:01:34 +0700, Laurent CARON lca...@unix-scripts.info wrote: Hi, I'm trying to build current as of 2010 11 08. The build fails with: c cc -I/usr/src/usr.sbin/bind/obj -I. -I/usr/src/usr.sbin/bind/obj/lib/dns/include -I/usr/src/usr.sbin/bind/lib/dns/include -I/usr/src/usr.sbin/bind/obj/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc -I/usr/src/usr.sbin/bind/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc/unix/include -I/usr/src/usr.sbin/bind/lib/isc/nothreads/include -I/usr/src/usr.sbin/bind/lib/isc/x86_32/include -I/usr/src/usr.sbin/bind/obj/lib/isccc/include -I/usr/src/usr.sbin/bind/lib/isccc/include -O2 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c /usr/src/usr.sbin/bind/lib/isccc/lib.c cc -I/usr/src/usr.sbin/bind/obj -I. -I/usr/src/usr.sbin/bind/obj/lib/dns/include -I/usr/src/usr.sbin/bind/lib/dns/include -I/usr/src/usr.sbin/bind/obj/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc -I/usr/src/usr.sbin/bind/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc/unix/include -I/usr/src/usr.sbin/bind/lib/isc/nothreads/include -I/usr/src/usr.sbin/bind/lib/isc/x86_32/include -I/usr/src/usr.sbin/bind/obj/lib/isccc/include -I/usr/src/usr.sbin/bind/lib/isccc/include -O2 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c /usr/src/usr.sbin/bind/lib/isccc/result.c cc -I/usr/src/usr.sbin/bind/obj -I. -I/usr/src/usr.sbin/bind/obj/lib/dns/include -I/usr/src/usr.sbin/bind/lib/dns/include -I/usr/src/usr.sbin/bind/obj/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc -I/usr/src/usr.sbin/bind/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc/unix/include -I/usr/src/usr.sbin/bind/lib/isc/nothreads/include -I/usr/src/usr.sbin/bind/lib/isc/x86_32/include -I/usr/src/usr.sbin/bind/obj/lib/isccc/include -I/usr/src/usr.sbin/bind/lib/isccc/include -O2 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c /usr/src/usr.sbin/bind/lib/isccc/sexpr.c cc -I/usr/src/usr.sbin/bind/obj -I. -I/usr/src/usr.sbin/bind/obj/lib/dns/include -I/usr/src/usr.sbin/bind/lib/dns/include -I/usr/src/usr.sbin/bind/obj/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc -I/usr/src/usr.sbin/bind/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc/unix/include -I/usr/src/usr.sbin/bind/lib/isc/nothreads/include -I/usr/src/usr.sbin/bind/lib/isc/x86_32/include -I/usr/src/usr.sbin/bind/obj/lib/isccc/include -I/usr/src/usr.sbin/bind/lib/isccc/include -O2 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c /usr/src/usr.sbin/bind/lib/isccc/symtab.c cc -I/usr/src/usr.sbin/bind/obj -I. -I/usr/src/usr.sbin/bind/obj/lib/dns/include -I/usr/src/usr.sbin/bind/lib/dns/include -I/usr/src/usr.sbin/bind/obj/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc -I/usr/src/usr.sbin/bind/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc/unix/include -I/usr/src/usr.sbin/bind/lib/isc/nothreads/include -I/usr/src/usr.sbin/bind/lib/isc/x86_32/include -I/usr/src/usr.sbin/bind/obj/lib/isccc/include -I/usr/src/usr.sbin/bind/lib/isccc/include -O2 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -DVERSION=\9.4.2-P2\ -DLIBINTERFACE=30 -DLIBREVISION=1 -DLIBAGE=0 -c /usr/src/usr.sbin/bind/lib/isccc/version.c /usr/bin/ar cruv libisccc.a alist.o base64.o cc.o ccmsg.o lib.o result.o sexpr.o symtab.o version.o a - alist.o a - base64.o a - cc.o a - ccmsg.o a - lib.o a - result.o a - sexpr.o a - symtab.o a - version.o ranlib libisccc.a touch timestamp making all in /usr/src/usr.sbin/bind/obj/lib/dns cc -O2 -pipe -I/usr/src/usr.sbin/bind/lib/isc/include-o gen /usr/src/usr.sbin/bind/lib/dns/gen.c ./gen -s /usr/src/usr.sbin/bind/lib/dns -t include/dns/enumtype.h Bad system call (core dumped) *** Error code 140 Stop in /usr/src/usr.sbin/bind/obj/lib/dns (line 430 of Makefile). *** Error code 1 Stop in /usr/src/usr.sbin/bind/obj/lib (line 104 of Makefile). *** Error code 1 Stop in /usr/src/usr.sbin/bind/obj (line 102 of Makefile). *** Error code 1 Stop in /usr/src/usr.sbin/bind (line 55 of /usr/src/usr.sbin/bind/Makefile.bsd-wrapper). *** Error code 1 Stop in /usr/src/usr.sbin (line 48 of /usr/share/mk/bsd.subdir.mk). *** Error code 1 Stop in /usr/src (line 48 of /usr/share/mk/bsd.subdir.mk). *** Error code 1 Stop in /usr/src (line 74 of Makefile). # Do any one of you have a clue ? Compile kernel first, then reboot and than build. Thanks HTH Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
4.8 acpi on Acer AOA110 (Aspire One)
Hello, I installed 4.8 on this 'netbook' as soon as my CD set arrived -- thought I'd give it a go what with the new ACPI work that's been done -- and, aside from an AR5424-based ath wireless adapter that doesn't want to connect to any network available to me, everything else seems to be working well. I'll tinker with my ath problems some more before resorting to list help, however... My question now is: is there something special I have to do, or something obvious I have (clearly) missed, to permit the system to act on acpi related kqueue events? I ask because my dmesg seems to indicate that many and varied acpi buttons, ports, and sleep states have been detected, but closing the lid (acpibtn1 apparently) doesn't seem to trigger any of these sleep states. I can almost hear the knuckles being cracked in readiness to type a severe castigation for not reading one or other relevant man page. Sorry if that's the case. I have actually tried to work this out for myself :) Thanks for 4.8 and all the hard work from committers.. Included is my acpidump (link to tar.gz), sysctl, and dmesg output. Cheers, Mark acpidump files: https://mchtmp.s3.amazonaws.com/mch_A110_acpidump.tar.gz kern.ostype=OpenBSD kern.osrelease=4.8 kern.osrevision=201011 kern.version=OpenBSD 4.8 (GENERIC.MP) #359: Mon Aug 16 09:16:26 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP kern.maxvnodes=2963 kern.maxproc=1310 kern.maxfiles=7030 kern.argmax=262144 kern.securelevel=1 kern.hostname=ace.localdomain kern.hostid=0 kern.clockrate=tick = 1, tickadj = 40, hz = 100, profhz = 100, stathz = 100 kern.posix1version=199009 kern.ngroups=16 kern.job_control=1 kern.saved_ids=1 kern.boottime=Tue Nov 9 11:12:32 2010 kern.domainname= kern.maxpartitions=16 kern.rawpartition=2 kern.osversion=GENERIC.MP#359 kern.somaxconn=128 kern.sominconn=80 kern.usermount=0 kern.random=66061 534208 0 342832 5 1280 0 0 0 0 0 0 14635 8632 0 113 8481 30 45 151 121 222 364 544 786 1028 377 240 198 276 281 424 334 163 122 111 130 77 50 26 11 19 11 6 5 2 0 0 0 8423 0 2317 3532 363 0 0 0 0 0 29202 30583 6302 0 0 kern.nosuidcoredump=1 kern.fsync=1 kern.sysvmsg=1 kern.sysvsem=1 kern.sysvshm=1 kern.arandom=2773922996 kern.msgbufsize=16364 kern.malloc.buckets=16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,6553 6,131072,262144,524288 kern.malloc.bucket.16=(calls = 15380 total_allocated = 3072 total_free = 1282 elements = 256 high watermark = 1280 could_free = 279) kern.malloc.bucket.32=(calls = 9087 total_allocated = 384 total_free = 156 elements = 128 high watermark = 640 could_free = 0) kern.malloc.bucket.64=(calls = 96607 total_allocated = 4288 total_free = 416 elements = 64 high watermark = 320 could_free = 12) kern.malloc.bucket.128=(calls = 1547 total_allocated = 320 total_free = 28 elements = 32 high watermark = 160 could_free = 0) kern.malloc.bucket.256=(calls = 3944 total_allocated = 288 total_free = 22 elements = 16 high watermark = 80 could_free = 0) kern.malloc.bucket.512=(calls = 877 total_allocated = 256 total_free = 15 elements = 8 high watermark = 40 could_free = 0) kern.malloc.bucket.1024=(calls = 456 total_allocated = 252 total_free = 8 elements = 4 high watermark = 20 could_free = 0) kern.malloc.bucket.2048=(calls = 64 total_allocated = 32 total_free = 4 elements = 2 high watermark = 10 could_free = 0) kern.malloc.bucket.4096=(calls = 803 total_allocated = 94 total_free = 1 elements = 1 high watermark = 5 could_free = 0) kern.malloc.bucket.8192=(calls = 2250 total_allocated = 8 total_free = 1 elements = 1 high watermark = 5 could_free = 0) kern.malloc.bucket.16384=(calls = 6 total_allocated = 5 total_free = 0 elements = 1 high watermark = 5 could_free = 0) kern.malloc.bucket.32768=(calls = 158 total_allocated = 6 total_free = 0 elements = 1 high watermark = 5 could_free = 0) kern.malloc.bucket.65536=(calls = 4 total_allocated = 1 total_free = 0 elements = 1 high watermark = 5 could_free = 0) kern.malloc.bucket.131072=(calls = 0 total_allocated = 0 total_free = 0 elements = 1 high watermark = 5 could_free = 0) kern.malloc.bucket.262144=(calls = 1 total_allocated = 1 total_free = 0 elements = 1 high watermark = 5 could_free = 0) kern.malloc.bucket.524288=(calls = 1 total_allocated = 1 total_free = 0 elements = 1 high watermark = 5 could_free = 0) kern.malloc.kmemnames=free,,devbuf,debug,pcb,routetbl,,fragtbl,,ifaddr,soopts ,sysctl,,,ioctlops,iov,mount,,NFS_req,NFS_mount,,vnodes,namecache,UFS_quo ta,UFS_mount,shm,VM_map,sem,dirhash,ACPI,VM_pmapfile,file_desc,,proc,subp roc,VFS_cluster,,,MFS_node,,,Export_Host,NFS_srvsock,,NFS_daemon,ip_moptions, in_multi,ether_multi,mrt,ISOFS_mount,ISOFS_node,MSDOSFS_mount,MSDOSFS_fat,MSD OSFS_node,ttys,exec,miscfs_mount,,pfkey_data,tdb,xform_data,,pagedep, inodedep,newblk,,,indirdep,VM_swap,RAIDframe_data,UVM_amap,UVM_ao bj,,USB,USB_device,USB_HC,,memdesc,,,crypto_data,,IPsec_creds,packet_tags,,,e
Re: Current fails to build
On Mon, Nov 8, 2010 at 18:07, Insan Praja SW insan.pr...@gmail.com wrote: Compile kernel first, then reboot and than build. Thanks HTH Yea, I had that same issue, I compiled userland, then kernel, rebooted, and the X built just fine.
Banca inviato una notifica che e necessario completare
Cari Gruppo BCC membri, per la sicurezza del tuo account abbiamo bisogno di un aggiornamento del profilo. Si prega di scaricare il file allegato a questa email. NOTA: Il tuo account puo essere automaticamente sospeso fino in caso di fallimento di aggiornare il tuo profilo. Si prega di provvedere immediatamente. Per l'assistenza ai Servizi via internet puo contattare il numero verde 800-086.531, gratuito anche da cellulare. Cordiali saluti. Servizio Banca di Credito Cooperativo Online --- Questo e un messaggio automatico. Per disabilitare il servizio puo utilizzare la funzione Modifica abilitazioni (Comunicazioni Estratto conto e documentazione). Copyright ) Banca di Credito Cooperativo S.p.A [demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a name of Conto Corrente Bancario.27219DEFANGED-html]
Attenzione! L'utente � stato bloccato!
Gentile Cliente, Attenzione! L'utente h stato bloccato! Sono stati effettuati un numero di tentativi superiore a quello concesso! Per sbloccare l'utenza clicca qui per accedere a Servizi Online. Cordiali Saluti Gruppo Banca Carige - Banca CARIGE S.p.A. ) 2008-2010
Use of DEL, HOME, END keys on i386
Hello folks, I'm day by day loving more and more openbsd and also trying to polish my experience in it. It's been a long period I'd been wishing to use Del, Home and End keys of my keyboard on CLI instad of crtl-D, ctrl-A, ctrl-E. I got this problem only in the shell, as in appz (like nano for instance) everything works correctly. Maybe this has been asked a zillion times, but after endless googling the most sensible clue I was able to find was fiddling with termcap sequences, as of this page: http://old.nabble.com/termcap-terminfo-replacement-for-vt220-on-OpenBSD-td21271342.html Does it make sense? Is there an easier/more correct way to obtain the result on i386 without such unsupported scripts? Would a solution apply also to other arches, especially to sparc64? Right now my terms are all wsvt25 based. Thanks in advance and sorry for da noise.
Re: Architeture Choose
Thanks everybodu for the tips... For now, tending to i386/amd64... Found a Sun Fire V20z, 2xOpteron cheaper than the V100... Current candidate for my next server... []'s! On Mon, Nov 8, 2010 at 8:08 PM, Joe McDonagh joseph.e.mcdon...@gmail.comwrote: On 11/08/2010 12:44 PM, Christopher Dukes wrote: On Fri, 2010-11-05 at 14:30 -0400, Joe McDonagh wrote: If your Sun fails-- that's a big IF. It's approaching a possibility of 0 in my experience. If performance isn't an issue and stability is your chief goal, none of this hardware is as stable as a Sun. Not quite my experience. In 2001 I worked at a place with a lot of used Sun hardware courtesy of Fujitsu layoffs (Sparc 20s, Ultra 5s). Entirely too many fried ethernet ports on the sparc 20s. And it took too many iterations to find a sparc 20 that wouldn't crash and burn while building OpenBSD from source. A fidgety developer kicking an ultra 5 from a | orientation to a _ orientation would reliably destroy the power supply and harddrives. On the bright side, I could repair the ultra 5s with power supply and drives scavenged from eMachines with ALI motherboards with the wonderful DMA that shoved garbage into memory for every OS we tried on them. I thought the Micro Channel based RS/6Ks (Before the horrid SMP ones designed by Group Bull) were a bit more bullet proof, with the only dead hardware I'd experience being. 1) Rats pissing on the system boards, because the customer refused to keep the covers on their systems in manufacturing. 2) A ladybird beetle invasion. The RT PC was pretty reliable too. I had one manufactured in 1987 that was still trundling along in 2006 when I gave it away. To be fair, the ultra 5 was sort of an attempt to cut corners and produce 'cheaper' workstations. They also OEM'd their boards at that point (my first Sun was an Ultra 5 board in some kind of no-name chassis). The next iteration, the Blade 100, had a fair amount of problems but generally, you get what you pay for. I'm talking more about their servers in terms of reliability. -- Joe McDonagh AIM: YoosingYoonickz IRC: joe-mac on freenode When the going gets weird, the weird turn pro.
Cross BSD instalation
Dears, Is possible to install an OpenBSD if the machine was booted by a FreeBSD (no flames please) LiveCD/netboot? This question are based by this: A German DC supports FreeBSD, and provide a FreeBSD rescue system (diskless, network based). I would like to now IF there is some compatibility through the file system, that is: Can I newfs a slice on FBSD and install the base.tgz and kernel on it and boot the new system? Thanks for any answer. Rodrigo Mosconi
Re: How to test if sound is working?
From: Fred Crowson fred.crow...@gmail.com Subject: Re: How to test if sound is working? To: James Hozier guitars...@yahoo.com Cc: misc@openbsd.org Date: Monday, November 8, 2010, 10:55 PM On 8 November 2010 22:04, James Hozier guitars...@yahoo.com wrote: $ cat azalia_codec.c.rej @@ -64,6 +64,13 @@ this-name = NULL; this-qrks = AZ_QRK_NONE; switch (this-vid) { +case 0x10134206: +this-name = Cirrus Logic CS4206; +if (this-subid == 0x106b4d00) {/* APPLE_MBP55 */ + this-qrks |= AZ_QRK_GPIO_UNMUTE_1 | + AZ_QRK_GPIO_UNMUTE_3; +} +break; case 0x10ec0260: this-name = Realtek ALC260; break; What does this mean? It looks like a snippet of code from the original patch file? Hi James, For some reason patch(1) did not insert the code into azalia_codec.c - I would guess that the reason was that patch file had some formatting that patch(1) did not like. Have another go at creating and patching the file, or you can either manually add those 7 new lines to azailia_codec.c after line 77 of azaila_codec.c Thus when you rebuilt your kernel - it did not have this new bit of code in. hth Fred Hmm...added those lines to azalia_codec.c after line 66 (without the + signs in front of the lines), re-compiled and rebooted but still nothing. I guess it's something else, then...but I'm curious as to why the patch didn't work.
24grammata e-Magazine (Language - History - Culture)
24N3O,NNN1ON1. http://www.24grammata.com/ /NN;N5N:OON?N=N9N:L ON5ON9N?N4N9N:L N3N9N1 ON7 *N*N;NOON1, ON7N= *N*OON?O/N1 N:N1N9 ON?N= *N *N?N;N9ON9ONL./ *N N;-NN7 ON7O N5N2N4N?N,N4N1O* *N1OL ON1 **24N3O,NNN1ON1 http://www.24grammata.com/ **: *N$N? N5ONN=ONN? *N ,N3N:N1N;N?O* OON?-OON5ON1N9 N1OL ON9O N9ON1N;. N;-NN5N9O *Pane**+**Gallo* (: OON/ + N:LN:N?ON1O), N?N9N:LON7NN? ON7O N?N9N:N?N3-N=N5N9N1O. *N N1ON?OO/N1ON7 NN5 N;/N3N1 N;LN3N9N1:* N$N? N5ONN=ONN? N ,N3N:N1N;N?O -ON5N9 OON=N4N5N8N5/ NN5 ON7 OMN3OON?N=N7 NOON?O/N1 ON7O NN;N;,N4N1O. N N1OON?MO N:N1N9 N5N3N3N?N=LO, N:N1N9 N?N9 N4MN? NN5LN4O ON?N9, N:ON2-ON=N7ON1N= N:N1N9 N:ON2N5ON=N?MN= ON?MON? ON?N= N$LON?. N N?N;N;N?/, /OOO, N=N1 N8N5O ON?MN= LON9 ON? N5ONN=ONN? N ,N3N:N1N;N?O OON=N4-N5ON1N9 NN5 ON? N1OON1/N? N5N;N;N7N=N9N:L N5O/N8N5ON? bO,N3N:N1N;N?Ob (: ON1N=-NN?OON?O). N#ON7N= OON1N3NN1ON9N:LON7ON1, LNOO, N? N1N=ON9OOLN5N4ON?O ON7O NON2-ON=N7ON7O N:. NN5LN4O ON?O N ,N3N:N1N;N?O N?ON5/N;N5N9 ON? LN=N?NN1 ON?O OON9O N9ON1N;N9N:-O N;-NN5N9O *pane**+**gallus** *(NOO: OON/ N:N1N9 N:LN:N?ON1O), ON1 N?ON?/N1 .ON1N= N6O N3ON1ON9ON-N=N1 OON? N?N9N:LON7NN? ON7O N9OON?ON9N:.O N?N9N:N?N3-N=N5N9N1O OO N= N N1N3N:,N;ON= N1OL ON7N= N-N1 (OON1 24grammata.com NON?ON5/ON5 N=N1 N4N5/ON5 N:N1N9 ON? N?N9N:LON7NN? ON7O N?N9N:N?N3-N=N5N9N1O). N N9OON?ON9N:. N?N9N:N?N3-N=N5N9N1 N4N9N1N:O/N=N5ON1N9 OON7N= N5N;N;N7N=N9N:. N9OON?O/N1 N1OL ON? 16N? N1N9NN=N1 [NON;N?ON9N:,, OON?NN5N=N9N:-O OON7ON5O/N5O OON7 NN1N;N;/N1, OONNN5ON?O. ON?O NN9O,N;N7 N ,N3N:N1N;N?O OON7N= ON?N;N9N?ON:/N1 ON7O NN:OLON?N;N7O (1821), NN5LN4O ON?O N ,N3N:N1N;N?O: N5ON9ON5N;,OON7O ON7O N#OON1ON9,O ON7O NN9N:O,O NO/N1O (1922) N:.,.] (NN9NON3N?O NN1NN9N1N=LO) NN9N1 ON5ON9OOLON5ON1 OON?: *24**grammata**.**com* http://24grammata.com/ /NOO. ON7N= N5N2N4N?N,N4N1 N3O,ON?ON= N?N9: NN7N.OON7O N N;N?ONO/N4N7O, NOO, N$N1N;N5NO, NN=N1OO,ON9N?O N#N1N;N1O,ON1O, N#ON5ON3N9LON?ON;N?O NNOON1O, NN9,N=N=N7O NO N2N1/N?O, NN1N=,ON7O NN1ON1N;.O, N#O,N8N7O NO,N;N9N1O, NN8N1N=,ON9N?O N$OOO-N=N?O, N#N5N2N1OO. //X//N1N2N9,ON1-//K//N1ON1O,N;N9N?O, NN9O.N=N7 NN1ON1N3N:LN6N7, N#,ON7 NN7NN?ON?MN;N?O, N#O O.ON7O NN8N7N=N1/N?O, NN9NON3N?O NN1NN9N1N=LO./ B7 */NMN8ONN7 NOON?O/N1: /* http://www.24grammata.com/ */N. /*/NN=N?N9OO. N5ON9OON?N;. OON?O ON?N= N:. NN5LN4OON? N ,N3N:N1N;N? N=N1 OON1NN1O.ON5N9 ON9O N5ON3-N=N5N9N5O N:N1N9 N=N1 N1N:N?N;N?ON8.ON5N9 ON? ON1O,N4N5N9N3NN1 ON?O N%ON?OON3N?M N#O. N#O,N7 (ON:LOO ON5, ON? 1904, ON5 NN?N=N?NN1O/N1 ON?N= ON?N;N9ON9N:L N1N=O/ON1N;N? ON?O)/ */N./*/ NN5ON5N:N;N?N3N9N:, N3N9N?OON1ONN1ON1 (OON1 1900): OOOON?MON1N= ON5N=N5N:-N4N5O -NO N1OL ON1 OO/ON9N1 N7OON7N-N=O N=/ B7 */NN?N3N?ON5ON=/N1:/* http://www.24grammata.com/ /NN9 ON?ON?/ ON?O NON?NN?N:N1ON5N9N?O: *N3.* *NN9ON1.N; NN7OO,N:N7O*/ B7 */NOON?O/N1 ON?O N1OON?N:N9N=.ON?O:/* http://www.24grammata.com/ /NN9N1O/ NN9N;,NN5 N3N9N1 /OON?OO N:N1N9 ,N;N?N3N1 OON7 NN7ON1N=N?N;N?N3/N1;/ B7 */NO.NN1N=ON1 OO,N3NN1ON1:/* http://www.24grammata.com/ /N NN?ON/N4N7O N:N1N9 N7 N7 NOON?O/N1 ON?O N:N1O- OON7N= NN;N;,N4N1/ B7 */NOON?O/N1 ON?O N1OLN4N7NN?O N5N;N;N7N=N9ONN?M:/* http://www.24grammata.com/ NN=O ON9N/N1 NN5 ON7 ON7NN9ON-N=N7 N#ON?N;. N#NN'NN$N (N5N;N;N7N=N9N:L OON?N;N5/N? OON7 N. NOON9N:.). *N:N1N9 ,N;N;N1 550 ,ON8ON1 OON7N= N5N;N;N7N=N9N:., N1N3N3N;N9N:., N3N1N;N;N9N:., N3N5ONN1N=N9N:. N:N1N9 N9ON1N;N9N:. N3N;NOON1* NN5/ON5 LN;N? ON? N1OON5/N? N1OL ON7N= b*/N;-NN7 ON7O N5N2N4N?N,N4N1Ob/* N1N;N;, N:N1N9 ,N;N;N1 N5N=N4N9N1O-ON?N=ON1 ,ON8ON1 OON7 N4N9N5MN8ON=ON7 *www**.24**grammata**.**com* http://www.24grammata.com/ . NON?ON5/ON5 N=N1 N5N3N3ON1ON5/ON5 N3N9N1 N=N1 N5N=N7NN5ONN=N5OON5 N3N9N1 ON7N= N5N2N4N?NN1N4N9N1/N1 N1N=N1N=-O ON7 N1OL ON1 24N3ON1NNN1ON1, OON7 N4N9N5MN8ON=ON7 http://24grammata.com/?page_id=6 . NN= N4N5N= N5ON9N8ONN5/ON5 N=N1 N;N1NN2,N=N5ON5 N5N=N7NN5OO ON9N:, NN7N=MNN1ON1, NON?ON5/ON5 N=N1 N5ON9N2N5N2N1N9NON5ON5 LON9 N8-N;N5ON5 N=N1 N1ON1N9O-ON5ON5 ON? e-mail ON1O N1OL ON7N= N5N=N7NN5OOON9N:. N;/OON1 OO-N;N=N?N=ON1O -N=N1 e-mail OON? unsubscr...@24grammata.com mailto:unsubscr...@24grammata.com NN5 O/ON;N? bNN9N1N3ON1O.b . bUnsubscribeb. 24N3ON1NNN1ON1) 2010. NN5 ON7N= N5ON9OMN;N1NN7 ON1N=OLO N4N9N:N1N9NNN1ON?O. NN=,OOONN7 N1OL ON1 24N3ON1NNN1ON1 -- Powered by PHPlist, www.phplist.com --
Re: Use of DEL, HOME, END keys on i386
On Mon, Nov 8, 2010 at 9:15 PM, Paolo Aglialoro paol...@gmail.com wrote: It's been a long period I'd been wishing to use Del, Home and End keys of my keyboard on CLI instad of crtl-D, ctrl-A, ctrl-E. I got this problem only in the shell, as in appz (like nano for instance) everything works correctly. man ksh. /bind bind ^XF=end-of-line bind ^XH=beginning-of-line bind '^[[3'=prefix-2 bind '^[[3~'=delete-char-forward
Re: 4.8 acpi on Acer AOA110 (Aspire One)
On 11/08/10 20:01, mark hellewell wrote: Hello, I installed 4.8 on this 'netbook' as soon as my CD set arrived -- thought I'd give it a go what with the new ACPI work that's been done -- and, aside from an AR5424-based ath wireless adapter that doesn't want to connect to any network available to me, everything else seems to be working well. I'll tinker with my ath problems some more before resorting to list help, however... My question now is: is there something special I have to do, or something obvious I have (clearly) missed, to permit the system to act on acpi related kqueue events? I ask because my dmesg seems to indicate that many and varied acpi buttons, ports, and sleep states have been detected, but closing the lid (acpibtn1 apparently) doesn't seem to trigger any of these sleep states. I can almost hear the knuckles being cracked in readiness to type a severe castigation for not reading one or other relevant man page. Sorry if that's the case. I have actually tried to work this out for myself :) naw, not entirely sure where you are supposed to find this one, but what you want is this: machdep.lidsuspend=0 changed to 1. Works slick if your Aspire One is like mine. One of these days, I should memorize the model of mine. :) Nick.
Re: Upgrading to 4.8. Are there issues with softraid?
On 11/08/10 17:19, stupidmail4me wrote: I have a machine currently running 4.6 and want to upgrade to 4.8. I know you shouldn't skip releases for upgrades, so I'm planning on wiping and installing. heh. you COULD just put 4.7 in the middle, you know. Problem is I have some important data on a softraid partition. The root disk is just an IDE drive (wd0), and the softraid partition is a RAID 1 setup of two separate disks (wd1 and wd2). Can I safely wipe everything on the root disk, install 4.8, and just mount the softraid partition? See the upgrade guides, they give you the story on softraid for 4.6-4.7 and 4.7-4.8. However, you have the perfect config for testing...grab an old, small disk, load 4.8 on it, see if it sees your RAID set (it will). Nick.
Re: 4.8 acpi on Acer AOA110 (Aspire One)
On 9 November 2010 14:39, Nick Holland n...@holland-consulting.net wrote: I can almost hear the knuckles being cracked in readiness to type a severe castigation for not reading one or other relevant man page. Sorry if that's the case. I have actually tried to work this out for myself :) naw, not entirely sure where you are supposed to find this one, but what you want is this: machdep.lidsuspend=0 changed to 1. Ahha, thanks; it was right there in the sysctl.conf comments - oops :) Works slick if your Aspire One is like mine. One of these days, I should memorize the model of mine. :) Seems to work fine here as long as there's no card in the SDHC slot at suspend time! I have to re-plug my USB keyboard, too, but no big deal. BTW, on your Aspire One does your (built-in) keyboard occasionally fail to work after booting? Cheers, Mark Nick.
Re: How to test if sound is working?
On Mon, Nov 08, 2010 at 06:55:59PM -0800, James Hozier wrote: From: Fred Crowson fred.crow...@gmail.com Subject: Re: How to test if sound is working? To: James Hozier guitars...@yahoo.com Cc: misc@openbsd.org Date: Monday, November 8, 2010, 10:55 PM On 8 November 2010 22:04, James Hozier guitars...@yahoo.com wrote: $ cat azalia_codec.c.rej @@ -64,6 +64,13 @@ this-name = NULL; this-qrks = AZ_QRK_NONE; switch (this-vid) { +case 0x10134206: +this-name = Cirrus Logic CS4206; +if (this-subid == 0x106b4d00) {/* APPLE_MBP55 */ + this-qrks |= AZ_QRK_GPIO_UNMUTE_1 | + AZ_QRK_GPIO_UNMUTE_3; +} +break; case 0x10ec0260: this-name = Realtek ALC260; break; What does this mean? It looks like a snippet of code from the original patch file? Hi James, For some reason patch(1) did not insert the code into azalia_codec.c - I would guess that the reason was that patch file had some formatting that patch(1) did not like. Have another go at creating and patching the file, or you can either manually add those 7 new lines to azailia_codec.c after line 77 of azaila_codec.c Thus when you rebuilt your kernel - it did not have this new bit of code in. hth Fred Hmm...added those lines to azalia_codec.c after line 66 (without the + signs in front of the lines), re-compiled and rebooted but still nothing. I guess it's something else, then...but I'm curious as to why the patch didn't work. judging by the formatting of your emails, the patch got mangled by your mailer. inlining patches in email messages (as opposed to MIME attachments) is part of OpenBSD culture. -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: Cross BSD instalation
Am 11/09/10 03:50, schrieb Rodrigo Mosconi: Dears, Is possible to install an OpenBSD if the machine was booted by a FreeBSD (no flames please) LiveCD/netboot? This question are based by this: A German DC supports FreeBSD, and provide a FreeBSD rescue system (diskless, network based). I would like to now IF there is some compatibility through the file system, that is: Can I newfs a slice on FBSD and install the base.tgz and kernel on it and boot the new system? I don't know, but if the rescue system provides QEMU you can install OpenBSD through QEMU. See Lhttp://wiki.hetzner.de/index.php/OpenBSD for an example (in German). Note that you can put files into a RAM disk, e.g. /dev/shm on Debian instead of a temporary partition. Also, there's no need to use VNC if you enable QEMU's curses interface. Furthermore, I'd use softraid(4) instead of raid(4). Alternatively, there is Yaifo, which worked very well for me. See Lhttp://erdelynet.com/?s=yaifo.