Re: Azalia problem: no sound
Thanks for this, this worked fine. Although now for some reason whilst using xmix, I turned the volume up but it won't let me turn the volume down now. It is just playing full volume. And I cant seem to use the mouse to use the scroll bar in XTerm, although Shift+PgUp & PgDwn allows me to operate the scroll bar. These seem to be the only other problems I'm having with this laptop, oh and except for Firefox freezing up a bit here and there. Your help is much appreciated. On Sun, Jan 31, 2010 at 2:42 PM, Jacob Meuser wrote: > On Sun, Jan 31, 2010 at 09:31:16AM +1300, Matthew Currington wrote: > > I am having a very similar problem with a Toshiba Satellite. How do I > apply > > this patch you guys have written? > > I'm not so sure that's your problem. notice that you have 2 azalia > devices. the first one is HDMI (which doesn't work), and the second is > your real device. so you need to use /dev/{audio,audioctl,mixer,sound}1. > > you can do the following to make it easier: > > # ln -sf /dev/audio1 /dev/audio > # ln -sf /dev/audioctl1 /dev/audioctl > # ln -sf /dev/mixer1 /dev/mixer > # ln -sf /dev/sound1 /dev/sound > > HDMI codecs are disabled in -current (and will be in 4.7) to avoid this > issue. > > > azalia0 at pci1 dev 0 function 1 "ATI RS690M HD Audio" rev 0x00: apic 1 > int > > 17 (irq 11) > > azalia0: codecs: ATI/0xaa01 > > audio0 at azalia0 > > > azalia1 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: apic > 1 > > int 22 (irq 10) > > azalia1: codecs: Realtek ALC268, AT&T/Lucent/0x1040, using Realtek ALC268 > > audio1 at azalia1 > > -- > jake...@sdf.lonestar.org > SDF Public Access UNIX System - http://sdf.lonestar.org
Re: iSCSI status
On 30/01/2010, at 10:34 PM, Claudio Jeker wrote: > On Tue, Jan 19, 2010 at 08:08:51PM +1000, David Gwynne wrote: >> On 19/01/2010, at 7:04 PM, Michael Lechtermann wrote: >> >>> Hi, >>> >>> Is it already possible to mount iSCSI devices with OpenBSD(-current)? >> >> no. >> > > You're such a pessimist, dlg. so prove me wrong :)
smtpd alias entries: delivery trouble
i've got a machine that is running RT from packages and am having trouble getting smtpd to pass mail to RT. this is usually done with sendmail but i figured it should be no huge leap to use smtpd here. the config that works with sendmail has local aliases like so rt_queuename:"|/usr/local/bin/rt-mailgate --queue 'Queue Name' --action correspond --url https://rt.domain.com/"; where there is an alias like this for each queue. let me know if this sort of thing is not supported. what i do see from running smtpd -vd is ... command: RCPT TOargs: lka_resolve_node: node is filter: "|/usr/local/bin/rt-mailgate --queue 'Queue Name' --action correspond --url https://rt.domain.com/"; smtp_dispatch_queue: queue acknowledged message submission command: DATA args: (null) smtp_dispatch_queue: queue handled message creation smtp_dispatch_queue: queue acknowledged message submission 1264909788.hB74N4PO6lKzS8MR: from=, size=1080, nrcpts=1, proto=ESMTP, relay= [10.137.0.10] command: QUIT args: (null) session_destroy: killing client: 0x204aa in batch dispatch 1264909788.hB74N4PO6lKzS8MR: getpwnam: : user does not exist 1264909788.hB74N4PO6lKzS8MR: to=<@>, delay=1, stat=MdaPermError in batch dispatch smtp_new: incoming client on listener: 0x83fec0 session_pickup: greeting client ... at which point i get a DSN message stating Hi ! This is the MAILER-DAEMON, please DO NOT REPLY to this e-mail. An error has occurred while attempting to deliver a message. Recipient: @ Reason: so afaict smtpd is not grokking the alias line. clues as to what is going on here are welcome. cheers, jake
I AM INTERESTED IN YOU
You are invited to "I AM INTERESTED IN YOU". By your host Fati Mbogo: Date: Sunday January 31, 2010 Time: 5:00 am - 6:00 am (GMT +02:00 Egypt) Street:My name is Fati Mbogo,i saw your contact today and became intrested in you.Iam good looking and caring. i will also like to know you better, i want you to send an email to me so that i can send you my picture for you to know whom i am also tell you more about me. i believe we can move from here.In life we need someone whose presence can add colours to a dull day.I am waiting for your mail,Fati. Will you attend? RSVP to this invitation at: http://calendar.yahoo.com/fatimbogo24?v=126&a1=0&iid=6hEj%40r7dbJtx%40a2CMxe7us%40%40KGVqAo6H&igid=%40xan6sj%40HMA5awLVmhJnYwl%40vRdsANwGvpbdpx%40%40 Copyright ) 2010 All Rights Reserved www.yahoo.com Privacy Policy: http://privacy.yahoo.com/privacy/us Terms of Service: http://docs.yahoo.com/info/terms/
Re: Azalia problem: no sound
On Sun, Jan 31, 2010 at 01:53:50AM +, Jacob Meuser wrote: > On Sat, Jan 30, 2010 at 07:22:35PM +0100, Holger Mikolon wrote: > > Hi, > > > > a similar fix works for my Dell Studio 1555 (details below). > > I only had to adjust the subid. > > I guess this should probably apply to all Dell with IDT 92HD73* codecs. > that seems to be what linux is doing. please test this if you have a Dell machine with an azalia with an IDT codec. -- 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.139 diff -u -p azalia_codec.c --- azalia_codec.c 3 Nov 2009 17:31:30 - 1.139 +++ azalia_codec.c 31 Jan 2010 02:57:39 - @@ -166,6 +166,9 @@ azalia_codec_init_vtbl(codec_t *this) break; case 0x111d7675: this->name = "IDT 92HD73C1";/* aka 92HDW74C1 */ + if ((this->subid & 0x) == 0x1028) { /* DELL */ + this->qrks |= AZ_QRK_GPIO_UNMUTE_0; + } break; case 0x111d7676: this->name = "IDT 92HD73E1";/* aka 92HDW74E1 */ @@ -175,10 +178,7 @@ azalia_codec_init_vtbl(codec_t *this) break; case 0x111d76b2: this->name = "IDT 92HD71B7"; - if (this->subid == 0x02631028 ||/* DELL_E5500 */ - this->subid == 0x02501028 ||/* DELL_M4400 */ - this->subid == 0x02331028 ||/* DELL_E6400 */ - this->subid == 0x024f1028) {/* DELL_E6500 */ + if ((this->subid & 0x) == 0x1028) { /* DELL */ this->qrks |= AZ_QRK_GPIO_UNMUTE_0; } break;
reminder: your azalia should be working
yes, your azalia devices (except those on video cards) should be working. if they aren't, say something, now. -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: Azalia problem: no sound
On Sat, Jan 30, 2010 at 07:22:35PM +0100, Holger Mikolon wrote: > Hi, > > a similar fix works for my Dell Studio 1555 (details below). > I only had to adjust the subid. I guess this should probably apply to all Dell with IDT 92HD73* codecs. that seems to be what linux is doing. the use of GPIO in azalia is stupid. azalia is "fully discoverable" - except for GPIO. aparently (as I understand from reading linux code), Hewlitt Packard makes the GPIO setting available in some BIOS string. does anyone know if Dell does something similar, or if they publish information regarding GPIO settings in the HDA codecs? -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: Azalia problem: no sound
On Sat, Jan 30, 2010 at 04:35:30PM -0800, Brian wrote: > Azalia codec problem as well with my new ATI card: > > azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 4000 HD Audio" rev 0x00: apic > 8 int 17 (irq 10) > azalia0: no supported codecs > azalia0: initialization failure, detaching that's not a problem. that is reality. the HDMI codecs aren't supported at this time. -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: Azalia problem: no sound
On Sun, Jan 31, 2010 at 09:31:16AM +1300, Matthew Currington wrote: > I am having a very similar problem with a Toshiba Satellite. How do I apply > this patch you guys have written? I'm not so sure that's your problem. notice that you have 2 azalia devices. the first one is HDMI (which doesn't work), and the second is your real device. so you need to use /dev/{audio,audioctl,mixer,sound}1. you can do the following to make it easier: # ln -sf /dev/audio1 /dev/audio # ln -sf /dev/audioctl1 /dev/audioctl # ln -sf /dev/mixer1 /dev/mixer # ln -sf /dev/sound1 /dev/sound HDMI codecs are disabled in -current (and will be in 4.7) to avoid this issue. > azalia0 at pci1 dev 0 function 1 "ATI RS690M HD Audio" rev 0x00: apic 1 int > 17 (irq 11) > azalia0: codecs: ATI/0xaa01 > audio0 at azalia0 > azalia1 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: apic 1 > int 22 (irq 10) > azalia1: codecs: Realtek ALC268, AT&T/Lucent/0x1040, using Realtek ALC268 > audio1 at azalia1 -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: Azalia problem: no sound
Azalia codec problem as well with my new ATI card: azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 4000 HD Audio" rev 0x00: apic 8 int 17 (irq 10) azalia0: no supported codecs azalia0: initialization failure, detaching full dmesg below: OpenBSD 4.7-beta (GENERIC.MP) #78: Wed Jan 27 19:29:21 MST 2010 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2644086784 (2521MB) avail mem = 2565267456 (2446MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9f6a4000 (62 entries) bios0: vendor Intel Corp. version "S3420GP.86B.01.00.0027.091120091739" date 09/11/2009 bios0: Intel Corporation S3420GP acpi0 at bios0: rev 2 acpi0: tables DSDT FACP APIC MCFG HPET SLIT SPCR WDDT SSDT SSDT HEST BERT ERST EINJ acpi0: wakeup devices MRP1(S5) MRP2(S5) MRP3(S4) MRP4(S4) ILAN(S5) EHC2(S5) PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) PEX6(S5) PEX7(S5) EHC1(S5) IP2P(S5) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz, 2533.65 MHz cpu0: FPU,VME,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,SMX,EST,TM2,CX16,xTPR,NXE,LONG cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz, 2533.30 MHz cpu1: FPU,VME,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,SMX,EST,TM2,CX16,xTPR,NXE,LONG cpu1: 256KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz, 2533.30 MHz cpu2: FPU,VME,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,SMX,EST,TM2,CX16,xTPR,NXE,LONG cpu2: 256KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz, 2533.30 MHz cpu3: FPU,VME,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,SMX,EST,TM2,CX16,xTPR,NXE,LONG cpu3: 256KB 64b/line 8-way L2 cache cpu4 at mainbus0: apid 1 (application processor) cpu4: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz, 2533.30 MHz cpu4: FPU,VME,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,SMX,EST,TM2,CX16,xTPR,NXE,LONG cpu4: 256KB 64b/line 8-way L2 cache cpu5 at mainbus0: apid 3 (application processor) cpu5: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz, 2533.30 MHz cpu5: FPU,VME,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,SMX,EST,TM2,CX16,xTPR,NXE,LONG cpu5: 256KB 64b/line 8-way L2 cache cpu6 at mainbus0: apid 5 (application processor) cpu6: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz, 2533.30 MHz cpu6: FPU,VME,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,SMX,EST,TM2,CX16,xTPR,NXE,LONG cpu6: 256KB 64b/line 8-way L2 cache cpu7 at mainbus0: apid 7 (application processor) cpu7: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz, 2533.30 MHz cpu7: FPU,VME,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,SMX,EST,TM2,CX16,xTPR,NXE,LONG cpu7: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (MRP1) acpiprt2 at acpi0: bus 1 (MRP3) acpiprt3 at acpi0: bus 2 (PEX0) acpiprt4 at acpi0: bus 3 (PEX4) acpiprt5 at acpi0: bus 4 (PEX6) acpiprt6 at acpi0: bus 6 (IP2P) acpicpu0 at acpi0: C3, C1, PSS acpicpu1 at acpi0: C3, C1, PSS acpicpu2 at acpi0: C3, C1, PSS acpicpu3 at acpi0: C3, C1, PSS acpicpu4 at acpi0: C3, C1, PSS acpicpu5 at acpi0: C3, C1, PSS acpicpu6 at acpi0: C3, C1, PSS acpicpu7 at acpi0: C3, C1, PSS acpibtn0 at acpi0: SLPB ipmi at mainbus0 not configured cpu0: unknown i686 model 0x1e, can't get bus clock cpu0: EST: PSS not yet available for this processor pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core DMI" rev 0x11 ppb0 at pci0 dev 5 function 0 "Intel Core PCIE" rev 0x11: apic 8 int 16 (irq 11) pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Radeon HD 4650" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 4000 HD Audio" rev 0x00: apic 8 int 17 (irq 10) azalia0: no supported codecs azalia0: initialization failure, detaching "Intel Core Management" rev 0x11 at pci0 dev 8 function 0 not configured "Intel Core Scratch" rev 0x11 at pci0 dev 8 function 1 not configured "Intel Core Cont
Re: The insecurity of OpenBSD
The author of the linked article kind of lost me at "as soon as a service is enabled or software from the ports tree is installed." Well SHEEIII, who knew. I better run out right now and replace all my firewalls with iLinux. I had no idea that it was up to me to understand/mitigate the risks in using ports and services. How dare I not get my hand held. I don't see much different in this point then saying Windows is secure only until you plug in the ethernet cable.
Re: umts need help
This is for the archives. '' 'ATE1' Turns out this is neither needed to debug the chat script nor needed in the final script: TIMEOUT 30 '' AT+CFUN=1\r\d\c # wait until the modem echoes '+PACSP0' '+PACSP0' # chat(8) says '/d' '/c' not valid for 'expect' Here is a better way to work around this: TIMEOUT 5 ABORT 'NO CARRIER' ABORT ERROR ABORT 'NO DIALTONE' ABORT BUSY ABORT 'NO ANSWER' TIMEOUT 30 '' AT+CFUN=1 T+CFUN=1 # just "eat up" all 'expect' '' OK # '' '' '+PACSP0'# '' 'AT+CGDCONT=1,"IP","isp.cingular"' OK\r\n 'ATDT*99***1#' # straight from chat(8) \r\n\c # '' CONNECT \c # ''
Re: Azalia problem: no sound
I am having a very similar problem with a Toshiba Satellite. How do I apply this patch you guys have written? OpenBSD 4.6 (GENERIC.MP) #89: Thu Jul 9 21:32:39 MDT 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 Duo CPU T5450 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 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,EST,TM2,CX16,xTPR real mem = 2145808384 (2046MB) avail mem = 2066083840 (1970MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/15/07, BIOS32 rev. 0 @ 0xfdbd0, SMBIOS rev. 2.4 @ 0xdc010 (22 entries) bios0: vendor TOSHIBA version "V1.40" date 06/15/2007 bios0: TOSHIBA Satellite P200 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP APIC HPET MCFG TCPA TMOR SLIC OSFR APIC BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices HDEF(S3) PXSX(S3) PXSX(S0) PXSX(S0) USB1(S3) USB2(S3) USB3(S3) USB5(S3) EHC1(S3) EHC2(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T5450 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 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,EST,TM2,CX16,xTPR 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 (PEGP) acpiprt2 at acpi0: bus 2 (RP01) acpiprt3 at acpi0: bus 4 (RP02) acpiprt4 at acpi0: bus 5 (RP03) acpiprt5 at acpi0: bus 6 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus -1 (RP06) acpiprt8 at acpi0: bus 12 (PCIB) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT1 model "PA3536U " serial 3658Q type Li-Ion oem "TOSHIBA" acpivideo0 at acpi0: VGA_ acpivout0 at acpivideo0: CRT_ acpivout1 at acpivideo0: LCD_ acpivout2 at acpivideo0: TV__ acpivout3 at acpivideo0: DVI_ acpivideo1 at acpi0: GFX0 bios0: ROM list: 0xc/0xf200 0xcf800/0x1000 0xdc000/0x4000! 0xe/0x1800! cpu0: Enhanced SpeedStep 1663 MHz: speeds: 1667, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c ppb0 at pci0 dev 1 function 0 "Intel GM965 PCIE" rev 0x0c: apic 1 int 16 (irq 10) pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Mobility Radeon HD 2400" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci1 dev 0 function 1 "ATI RS690M HD Audio" rev 0x00: apic 1 int 17 (irq 11) azalia0: codecs: ATI/0xaa01 audio0 at azalia0 uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 16 (irq 10) uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 21 (irq 11) ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 18 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia1 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: apic 1 int 22 (irq 10) azalia1: codecs: Realtek ALC268, AT&T/Lucent/0x1040, using Realtek ALC268 audio1 at azalia1 ppb1 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: apic 1 int 17 (irq 11) pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: apic 1 int 16 (irq 10) pci3 at ppb2 bus 4 re0 at pci3 dev 0 function 0 "Realtek 8101E" rev 0x01: RTL8101E (0x3400), apic 1 int 17 (irq 11), address 00:1b:38:19:1f:c4 rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1 ppb3 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x03: apic 1 int 18 (irq 11) pci4 at ppb3 bus 5 wpi0 at pci4 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: apic 1 int 18 (irq 11)wpi0: timeout waiting for clock stabilization : could not power ON adapter ppb4 at pci0 dev 28 function 3 "Intel 82801H PCIE" rev 0x03: apic 1 int 19 (irq 10) pci5 at ppb4 bus 6 uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 23 (irq 5) uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 19 (irq 10) uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: apic 1 int 18 (irq 11) ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 23 (irq 5) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3 pci6 at ppb5 bus 12 cbb0 at pci6 dev 4 function 0 "TI PCIXX12 CardBus" rev 0x00: apic 1 int 16 (irq 10) "TI PCIXX12 FireWire" rev 0x00 at pci6 dev 4 function 1 not configured "TI PCIXX12 Multimedia Card Reader" rev 0x00 at pci6 dev 4 function 2 not confi
Re: USB voltmeter or DAQ module, small, inexpensive, with OpenBSD support
On Thu, 28 Jan 2010 22:28:45 -0800 Raymond Lillard wrote: > Ralph Becker-Szendy wrote: > > For one of my OpenBSD machines, I need to be able to measure a few > > analog voltages, and act on them in a control process. The > > requirements are quite simple compared to typical data acquisition: > > I absolutely need two voltage inputs, either 0-20V or 0-100mV; > > doesn't have to be differential, acquisition can be slow (1s is > > fine), and resolution can be as small as 10-12 bits (1% accuracy is > > more than good enough). A few extra input channels, more > > accuracy/resolution, and a few digital IOs wouldn't hurt, but are > > not necessary. DIN rail mounting and connection breakout would be > > nice, but can be improvised. > > > > On the software side, there will be OpenBSD, with ad-hoc monitoring > > and control scripts. With a little programming and script-writing, > > I can adapt anything that the OS can reasonably access. > > > > Now come the issues: I can't use PCI cards, only external units, > > most likely connected via USB (as Ethernet and serial are expensive > > or rare). And it needs to have some software support under OpenBSD > > - a Windows- or Linux-only solution doesn't work. And this > > application is not worth spending thousands of $$$. For Windows > > and LabView, solutions are easy to find (for example EMant300, > > DAQPodMX, a variety of Omega products). Does anyone now of a > > solution that would work with OpenBSD? > > > > Ralph, > > http://www.netburner.com/embedded_control.html > > The PK70 with the analog board will give you everything you > asked for and quite a bit more at a hardware cost of US$400. > > This may be over-kill, and you will need to write a bit of > code to run on the PK70. You will also need to add a voltage > divider if you want to go the 20V route. > > The development environment is GCC based but unfortunately > hosted on Windows :-(. I have rolled my own cross-compilers > for other NB products on Linux, OpenBSD would probably be > possible. The development environment is not needed once > you have downloaded your code to flash on the PK70.It is > probably not worth the trouble as your requirements are small, > even though it's hard to be productive while holding your nose > with one hand while typing with the other. > > I am assuming this is a hobby project and your time is > free (as in beer). > > I have been using products from this company in volume for > a decade. They are good guys with very solid products. > I have no financial interest in the Netburner company. > > I notice you are local to me. Contact me by off-line by > email if you want to talk about it by phone. > > Ray > Small world... --I'm also in Los Gatos, so if you want to give me a ring, contact me off list. I'm guessing GPIB would be over-kill for your situation? I've got one National Instruments GPIB card for Sun (sbus) and a second for x86 (ISA). I think I might even have a NI PCI GPIB card around here somewhere. I believe I have I GPIB/Ethernet and GPIB/Serial bridges. I've always thought it might be fun to write OpenBSD drivers for the NI cards. GPIB might be old, but it's extremely useful. >From what you wrote, I'd also guess you want to keep things *very* simple, so I doubt you'll be getting into driving lots of equipment in a manufacturing/test environment? --The only hint you gave to the contrary was the desire for DIN rail mounting? Depending on distance/environment requirements, serial can be a viable option for you, and is often less complex and less expensive than USB. -Jon
Re: Azalia problem: no sound
Hi, a similar fix works for my Dell Studio 1555 (details below). I only had to adjust the subid. Regards, Holger Index: azalia_codec.c === RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v retrieving revision 1.139 diff -u azalia_codec.c --- azalia_codec.c 3 Nov 2009 17:31:30 - 1.139 +++ azalia_codec.c 30 Jan 2010 18:11:34 - @@ -166,6 +166,9 @@ break; case 0x111d7675: this->name = "IDT 92HD73C1"; /* aka 92HDW74C1 */ + if (this->subid == 0x02be1028) { /* DELL_STUDIO_1555 */ + this->qrks |= AZ_QRK_GPIO_UNMUTE_0; + } break; case 0x111d7676: this->name = "IDT 92HD73E1"; /* aka 92HDW74E1 */ dmesg: OpenBSD 4.7-beta (GENERIC.MP) #2: Sat Jan 30 19:54:35 CET 2010 r...@sit.charlotte.net:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 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,SMX,EST,TM2,CX16,xTPR real mem = 3149168640 (3003MB) avail mem = 3058302976 (2916MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/28/09, BIOS32 rev. 0 @ 0xfdbc0, SMBIOS rev. 2.5 @ 0xf0fb0 (51 entries) bios0: vendor Dell Inc. version "A09" date 12/28/2009 bios0: Dell Inc. Studio 1555 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP HPET MCFG APIC BOOT SLIC OSFR SSDT SSDT SSDT SSDT acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S0) USB1(S0) EHC1(S3) EHC2(S3) PXSX(S4) RP01(S4) PSL1(S3) PXSX(S4) RP03(S4) RP04(S3) PXSX(S4) RP06(S4) LID0(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 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,SMX,EST,TM2,CX16,xTPR ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 9 (P0P1) acpiprt2 at acpi0: bus 2 (RP01) acpiprt3 at acpi0: bus 4 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus 6 (RP04) acpiprt6 at acpi0: bus 8 (RP06) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature 100 degC acpitz1 at acpi0: critical temperature 100 degC acpitz2 at acpi0acpitz2: TZ02: failed to read _TMP acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpibtn2 at acpi0: LID0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model "Dell" serial 45043 type LION oem "SDI" acpivideo0 at acpi0: M86_ acpivout0 at acpivideo0: CRT_ acpivout1 at acpivideo0: LCD_ acpivout2 at acpivideo0: HDTV acpivideo1 at acpi0: GFX0 acpivout3 at acpivideo1: LCD_ bios0: ROM list: 0xc/0xfe00! 0xd/0x1e00 cpu0: Enhanced SpeedStep 2395 MHz: speeds: 2401, 2400, 1600, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07 vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1: apic 2 int 16 (irq 5) drm0 at inteldrm0 "Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 2 int 16 (irq 5) uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 2 int 21 (irq 11) uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 2 int 19 (irq 10) ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 2 int 19 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: apic 2 int 22 (irq 11) azalia0: codecs: IDT 92HD73C1, Intel/0x2802, using IDT 92HD73C1 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 2 int 17 (irq 10) pci1 at ppb0 bus 2 ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: apic 2 int 16 (irq 5) pci2 at ppb1 bus 4 iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5300" rev 0x00: apic 2 int 17 (irq 10), MIMO 3T3R, MoW, address 00:21:6a:56:2b:36 ppb2 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x03: apic 2 int 19 (irq 10) pci3 at ppb2 bus 6 ppb3 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x03: apic 2 int 16 (irq 5) pci4 at ppb3 bus 8 bge0 at pci4 dev 0 function 0 "Broadcom BCM5784" rev 0x10, BCM5784 A1 (0x5784100): apic 2 int 17 (irq 10), address 00:22:
From Esther
You're invited to "From Esther". By your host Esther Williams: Date: Saturday 30 January 2010 Time: 5:00 PM - 6:00 PM (GMT +00:00) Street:I am Esther Williams, tall, slim, fair and a very good looking girl that loves travelling and dancing, a student, that loves to be loved, kindly i am compelled to contact you via this medium for obvious reasons which you will understand when we discuss details of my proposition. Pls I will like you to reply to me through this mail so that we will know each other very well,Esther Williams Will you attend? RSVP to this invitation at: http://calendar.yahoo.com/esther_williams21?v=126&a1=0&iid=ehAFkNdcOJOxAfPSNxp5Qpd%40Xdaban3IuxBtPk7d6av%40&igid=mx4W82h%40s6kyae7BRxB7a%40pdkrYs%40kx0FxawCjb%40vBsl%40vmC Copyright B) 2010 All Rights Reserved www.yahoo.co.in Privacy Policy: http://privacy.yahoo.com/privacy/in Terms of Service: http://in.docs.yahoo.com/info/terms/
Re: pkg_delete
> And I don't care about jumping from 3.9 to 4.6. pkg tools changed a > lot between 4.6 and 4.7-beta. I won't tweak things based on your > experience of 4.6, since 4.7-beta is vastly improved compared to 4.6. I'll second that. The pkg tools have gone from strength to strength IMAO. -current is marvelous. -- Edward Ahlsen-Girard Ft Walton Beach, FL
Demande d'assistance
Bonsoir ` vous, Je suis Mr EL FAIDI ABDELMOULA, je suis de nationaliti marocaine. Je travaille pour le croissant rouge et depuis juillet 2004, je traverse un horrible cauchemar. Jai iti affecti en Irak, pour y exercer mes fonctions humanitaires, ` Baghdad depuis le 23 mars 2001 et jai pu ` proprement parler rencontrer plusieurs personnalitis de ce pays. Je ne suis pas fier de vous dire ce qui suit mais je sais quaucun homme sur cette Terre nest parfait et Allah nous fait grbce lorsque nous reconnaissons nos tords. Je souhaite vivement que nous ivitions les critiques et les jugements pricipitis sur mes actions car nul ne sait lavenir. Jai iti en affaire avec un responsable du gouvernement de transition Irakien en loccurrence Mr ABDEL ZARHA OSMANE MOHAMMAD. Jai pu blanchir quelques unes de ces transactions monitaires et cest l` que riside mon arrestation ici ` Baghdad avec certains citoyens dont jignore les activitis. Depuis le 22 juillet 2004, nous avons iti arrjtis et mis en risidence surveillie. Je suis victime certes de cette guerre inutile mais ayant des reproches ` me faire, je ne veux que ni le croissant rouge, ni les medias, et surtout les autoritis irakiennes ne sachent cette affaire. Jai effectui le diptt dans une sociiti de consignation diplomatique de biens privis que jutilisais pour les dites transactions, comme jen avais lhabitude, une malle qui contenait de l'argent et des documents de grandes valeurs. Je vous envoie ce message afin que nous puissions ensembles retirer cette malle car jai toutes les informations et les documents qui prouvent l'existence de ce bien. Soyez en rassuri que cette affaire nest connue de personne et je vous serais gri de ne pas en faire la publiciti en tant que personne de devoir et par bonne foi. Je sais que ce bien nest pas ` moi, mais Mr ABDEL OSMANE itant mort dans un attenta en mai 2004, jaimerais bien men servir pour fuir dici car je risques la prison ` vie et je ne souhaite vraiment pas moisir ici et que ma famille le sache. Mon souci est que vous puissiez entrer en contact avec la sociiti et retirer la malle afin de men envoyer une petite somme pour payer des passeurs qui maideront ` fuir ce pays. Pour des raisons de sicuriti, jaimerais que vous soyez concis et pricis dans vos riponses car je nai pas toujours acchs ` cet ordinateur et jefface automatiquement mes messages. Jesphre que vous comprenez ma dimarche et que vous mesurez combien la discrition sur cette affaire est importante ; alors pour plus de sicuriti et de discrition je souhaiterais que vous me contactiez pour linstant par message ilectronique. Jattends votre riponse et sachez quelle est vivement attendue. Peu mimporte ce que vous me demanderez comme contrepartie, pour vu que vous me sortiez de ce problhme.
Re: MPD-0.15.7 will not do httpd streamingi on my system.
Hi Sarah- On Fri, Jan 29, 2010 at 08:05:46PM -0500, s.casw...@protocol6.com wrote: [...] > audio_output { >type"httpd" >name"My HTTP Stream" >encoder "vorbis"# optional, vorbis or lame >port"8000" > # quality "5.0" # do not define if bitrate is >bitrate "128" # do not define if quality is >format "44100:16:1" > } > > All this makes the control port 6600 show up (in netstat), but I can't > for the life of me get port 8000 to be open - thus no streaming. I've > tried to start mpd via "sudo mpd" and that still doesn't help. Try starting the daemon with --verbose --no-daemon --stdout and watching the messages on the console (or looking at the server logs). I use something similar to your config snippet (with 44100:16:2 as the format) with no problems. -- o--{ Will Maier }--o | web:...http://www.lfod.us/ | email.willma...@ml1.net | *-[ BSD: Live Free or Die ]*
Re: Inconsistency between IPv6 and IPv4 announces between eBGP peers hooked through an iBGP session (OpenBGPd)
On 30/01/2010 14:59, Laurent CARON wrote: My last test was with current as of 20100119. I did tests with 20091201 and 20091202 because the problem did appear just between those 2 dates and is reproductible. I'll try to upgrade to current and see if it helps. Since no commits were done on bgpd since 20100113 and my last test was from 20100119 with current from 20100119, I think the issue is still there. Thanks
NOUVEAUX supports de communication et materiels de tri des dechets innovants
[demime 1.01d removed an attachment of type application/pdf which had a name of DOCproduitsFB3I.pdf]
Re: Inconsistency between IPv6 and IPv4 announces between eBGP peers hooked through an iBGP session (OpenBGPd)
On 30/01/2010 13:49, Claudio Jeker wrote: I'll have a look at this. Please make sure you test against a -current bgpd instead of the 20091202 version since I already fixed a few issues with regard to the AF, AFI/SAFI -> AID commit that was done between 20091201 and 20091202. Currently I have the strange feeling that for some reason the IPv6 routes are skipped when doing the initial table dump. I know I tried this during n2k10 and could not reproduce it so there must be some difference between your setup and my test. Hi Claudio, My last test was with current as of 20100119. I did tests with 20091201 and 20091202 because the problem did appear just between those 2 dates and is reproductible. I'll try to upgrade to current and see if it helps. Thanks Laurent
Re: bgpctl reload, refuse to load configuration
On Thu, Jan 28, 2010 at 06:14:10PM +0700, leonardo fabian wrote: > Hi misc, > > After fixing error in bgpd.conf (OpenBSD 4.6), > bgpctl reload, refuse to load new configuration. > from /var/log/messages: > > Jan 27 06:55:43 acbgp bgpd[31029]: /etc/bgpd.conf:114: rib > "Adj-RIB-In" allready exists. > Jan 27 06:55:43 acbgp bgpd[31029]: /etc/bgpd.conf:114: rib "Loc-RIB" > allready exists. > > line 114 is the end of file. > > you can not load new configuration without kill bgpd process. > > below is portion of bgpd.conf > > # global configuration > AS $our_as > router-id xx.xx.xx.xx > fib-update no > > neighbor $dist_peer { > remote-as $our_as > announceall > descr "Dist" > } > > there are several neighbor configuration, but all configured in the same way. > the difference is in the $dist_peer macro. > It happened in all bgp router, be it IBGP or EBGP. > Is there a way to reload new configuration (after fixing error) > without bringing down bgpd? > Known issue in the 4.6 release, compile a -current bgpd/bgpctl on 4.6 works fine though. Sorry. -- :wq Claudio
Re: tcp window scale in ISP
On Fri, Jan 22, 2010 at 11:17:47AM +, Stuart Henderson wrote: > On 2010-01-22, leonardo fabian wrote: > > Hi all, > > > > As an internet service provider, we have bgp peering with customers. > > they also have bgp peering with other isp. > > > > the problem is if they use tcp window scaling and > > have different path for incoming and outgoing connection. > > they only use our connection for incoming traffic. > > > > how do pf handle this kind of traffic? > > should i disable pf? > > you can't reliably use stateful pf rules unless you see both > sides of the connection. this is particularly noticable if window > scaling is used (i.e. tcp window size of 65536 and up). > > you could disable pf, or you could use stateless rules ("flags any > no state") to pass traffic to other machines (stateful rules will be > ok to protect traffic to the router itself). > Or use sloppy states... I generally do not filter on core routers because of the asymetric routing. Stateless filtering works OK to block the martians and other unwanted traffic at the boarder but keep the ruleset as minimal as possible. -- :wq Claudio
Re: Inconsistency between IPv6 and IPv4 announces between eBGP peers hooked through an iBGP session (OpenBGPd)
On Thu, Jan 21, 2010 at 10:50:21AM +0100, Laurent CARON wrote: > On 19/01/2010 14:03, Laurent CARON wrote: > >On 19/01/2010 13:23, Sebastian Spies wrote: > >>Seems, that the Cisco doesn't send the initial Keepalive. Could you > >>please provide a longer caption using -s 4096 and the OPEN messages of > >>20091201 > > > >$ tcpdump -s 4096 -w /tmp/bgpd_20091201_4096 -i bge0 host > >2001:7A8:1:9FF2::1 > >$ tcpdump -s 4096 -w /tmp/bgpd_20091202_4096 -i bge0 host > >2001:7A8:1:9FF2::1 > > > >http://zenon.apartia.fr/stuff/bgpd_20091201_4096 <=> Working announces > >http://zenon.apartia.fr/stuff/bgpd_20091202_4096 <=> Non-Working announces > > > > Hi, > > Do you have a clue about this problem ? > I'll have a look at this. Please make sure you test against a -current bgpd instead of the 20091202 version since I already fixed a few issues with regard to the AF, AFI/SAFI -> AID commit that was done between 20091201 and 20091202. Currently I have the strange feeling that for some reason the IPv6 routes are skipped when doing the initial table dump. I know I tried this during n2k10 and could not reproduce it so there must be some difference between your setup and my test. -- :wq Claudio
Re: iSCSI status
On Tue, Jan 19, 2010 at 08:08:51PM +1000, David Gwynne wrote: > On 19/01/2010, at 7:04 PM, Michael Lechtermann wrote: > > > Hi, > > > > Is it already possible to mount iSCSI devices with OpenBSD(-current)? > > no. > You're such a pessimist, dlg. -- :wq Claudio
Re: MPD-0.15.7 will not do httpd streamingi on my system.
On Sat, Jan 30, 2010 at 3:06 AM, Aaron Stellman wrote: > On Fri, Jan 29, 2010 at 08:05:46PM -0500, s.casw...@protocol6.com wrote: >> Hi. >> >> I'm at my wits end with httpd streaming from mpd-0.15.7. >> >> I installed the latest mpd package from snapshots and its installs fine on >> my Openbsd -current system. >> >> I modified the /etc/mpd.conf file by adding my music directory and set the >> bind_to_address to "any" > > Is that the only audio_output that's defined? When I had two defined, > only the first one worked. Still using previous mpd here, but i have 3 outputs, and they all work fine. OP: did you enable the http output after launching mpd ? 'mpc outputs' will tell you so. Landry
Re: pkg_delete
On Fri, Jan 29, 2010 at 11:03:28PM +0100, Maxim Bourmistrov wrote: > Yeah, stepping from 3.9 to 4.6 might be a big change, but > I still want this "-F force"-flag in place. :) Nope, won't happen like this. Especially since you're not giving me complete information. You should actually send proper bug-reports. That is, tell what you have installed on your box, what you do, what you expect, and what you get. As things go, you just give us a very fuzzy image of what you expect to happen, and you get disappointed that the tools do not do what you want. I expect you're very confused in your head as well. The tools try very hard to avoid mistakes. If you understand the structure of /var/db/pkg, it's very easy to force stuff without rm -rf /. In your case, I suspect you played some dirty tricks, or that your box got corrupted, so that the info in /var/db/pkg is not accurate. But if you don't give me actual info, I won't help. And I don't care about jumping from 3.9 to 4.6. pkg tools changed a lot between 4.6 and 4.7-beta. I won't tweak things based on your experience of 4.6, since 4.7-beta is vastly improved compared to 4.6.
Re: 300 simultaneous TCP connections possible with OpenBSD??
On Wed, Jan 20, 2010 at 01:01:37AM -0500, Ted Unangst wrote: > On Tue, Jan 19, 2010 at 6:33 PM, chefren wrote: > > Network defaults in OpenBSD 4.6 (i386 & amd64): > > kern.maxclusters = 6144 > > net.inet.tcp.recvspace = 16 KiB > > > > > > A) From skimming the OpenBSD kernel source code we get the impression > > that this will allow, very roughly: > > > >6144 mbuf-clusters > >* 1460 Ethernet-bytes/mbuf-cluster > >/ 16 KiB/connection > >= roughly 550 fully-buffered TCP connections. > > > > i.e. after +- 550 connections, further TCP connections can get refused. > > It doesn't quite work like that. Connections and mbufs aren't really > connected. My understanding is you're more likely to have 2000 > connections with only a little bit buffered in each one, unless you > are deliberately refusing to read the data. > While receive side buffers are normaly empty the send side ones are normally filled. The send buffers will fill to around the delay * bandwith product. Servers with many TCP connections will hit the limit of kern.maxclusters (there is a warning in dmesg for this case) and if the box has enough memory (and kvm) it is save to increase the maxclusters. So unless you hit the limit I would not fiddle with the sysctl but if you hit it you should increase the number and use netstat -m to figure out the sweet spot. -- :wq Claudio
Curso de Machover (Dibujo de la Figura Humana)
SERVICIOS VISISN HUMANA Visión Humana (Consultoría en Recursos Humanos) tiene el agrado de invitarlo al curso "TÉCNICA DE LA FIGURA HUMANA DE KAREN MACHOVER aplicada a la Evaluación de Personal en R.H."que se llevará a cabo en el mes de Febrero de 2010. OBJETIVO: Conocer y saber aplicar correctamente la técnica de Machover par la evaluación de personal, así como realizar una adecuada interpretación del dibujo. El ejecutivo que tome este curso podrá aplicar dicha evaluación tanto para selección de personal como para evaluación de personal activo. DIRIGIDO A: Encargados y Jefes de Recursos Humanos, Consultores y en general a toda persona que esté interesada en conocer la materia. TEMARIO: Introducción Antecedentes Aplicación Interpretación Posición del dibujo respecto a la hoja El tema y la edad Simetría Tamaño y colocación Tipo de Línea Presión del Trazo La cabeza La cara La boca Los ojos El cuello Brazos y Manos Piernas y Pies Tronco Hombros Indicadores Emocionales (Inseguridad, Ansiedad, Timidez y Agresión) Reporte de Resultados Ejercicios GRUPOS REDUCIDOS Incluye: XManual de cada curso XConstancia emitida por agente capacitador registrado ante la STPS XCoffee Break GRUPO 1 VIERNES 5 DE FEBRERO DE 2010 9:00 A 17:00 HRS. COSTO NORMAL $1,500 MÁS IVA PROMOCIÓN CON PRONTO PAGO HASTA EL DÍA 3 DE FEBRERO $1,000 MÁS IVA SEDE: Visión Humana Dr. Barragán Nº 560 Despacho 5 Col. Narvarte, México D.F. Tels. 4633 7752 (llamada local en el D.F.) Fax: 3548 1624 (llamada local en el D.F.) capacitac...@serviciosvisionhumana.com.mx OTROS CURSOS: Reclutamiento y Selección de Personal Curso Práctico de Nómina 2010 Entrevista por Competencias Reformas Fiscales 2010 Evaluación del Desempeño Curso de Pruebas Psicológicas Administración de Recursos Humanos Introducción a la Grafología en R.H. SERVICIOS Reclutamiento y Selección de Personal Evaluaciones Psicológicas Estudios Socioeconómicos Desarrollo de Sistemas de Evaluación Maquila de Nómina CONTACTO capacitac...@serviciosvisionhumana.com.mx www.serviciosvisionhumana.com.mx Tel: (0155) 4633 7752 Fax: (0155) 3548 1624 ACEPTAMOS TODAS LAS TARJETAS DE CRÉDITO Y DÉBITO (Excepto American Express) Recuerde que esta informacisn le puede ser ztil en un futuro. Para darse de baja responder con el tmtulo BORRAR.
Re: vsftpd
On Sat, Jan 30, 2010 at 10:08:50AM +0100, Jean-Francois wrote: > Le jeudi 28 janvier 2010 21:05:08, Robert a icrit : > > On Thu, 28 Jan 2010 20:04:25 +0100 > > > > Jean-Frangois SIMON wrote: > > > Hi List, > > > > > > I am using vsftpd as ftp daemon. I actually launch this service as > > > root (sudo /usr/...) because this is the only way it actually starts. > > > Is this normal way or do I miss something ? > > > I don't see that it drops its privileges, through "top", I see it > > > running as root. > > > > > > Regards > > > > ftp uses port 20 and 21. > > ports below 1024 need root priviliges to bind to. > > so yes, that is "normal". > > sane applications that need those ports drop the root privs or > > use different processes for different stuff, read privilege seperation. > > vsftpd implements that. > > > > - Robert > > > Does information below teels that process did not drop privileges ? If not how > to check this ? > > PID USERNAME PRI NICE SIZE RES STATEWAIT TIMECPU COMMAND > 1467 root 2 0 512K 1256K idle netcon0:00 0.00% vsftpd > > Regards It could drop privs the moment a connection arrives and after the fork. If you e.g. want to change to a non-anon user you need root until that has happened. -Otto
Re: vsftpd
Le jeudi 28 janvier 2010 21:05:08, Robert a icrit : > On Thu, 28 Jan 2010 20:04:25 +0100 > > Jean-Frangois SIMON wrote: > > Hi List, > > > > I am using vsftpd as ftp daemon. I actually launch this service as > > root (sudo /usr/...) because this is the only way it actually starts. > > Is this normal way or do I miss something ? > > I don't see that it drops its privileges, through "top", I see it > > running as root. > > > > Regards > > ftp uses port 20 and 21. > ports below 1024 need root priviliges to bind to. > so yes, that is "normal". > sane applications that need those ports drop the root privs or > use different processes for different stuff, read privilege seperation. > vsftpd implements that. > > - Robert > Does information below teels that process did not drop privileges ? If not how to check this ? PID USERNAME PRI NICE SIZE RES STATEWAIT TIMECPU COMMAND 1467 root 2 0 512K 1256K idle netcon0:00 0.00% vsftpd Regards