DESARROLLO PARA ASISTENTES EJECUTIVAS: ÚNICA PRESENTACIÓN OCTUBRE 29 EN PUERTO VALLARTA.
[IMAGE] Duracisn: 10 Horas de entrenamiento. Presentado por nuestro experto consultor: Lic. Gerardo Coronado L. !Promociones Especiales para Grupos! Mayores informes responda este correo electrsnico con los siguientes datos. Empresa: Nombre: Telifono: Email: Nzmero de Interesados: Y en breve le haremos llegar la informacisn completa del evento. O bien comunmquense a nuestros telifonos un ejecutivo con gusto le atendera Tels. (33) 8851-2365, (33)8851-2741. Copyright (C) 2010, PMS Capacitacisn Efectiva de Mixico S.C. Derechos Reservados. PMS de Mixico, El logo de PMS de Mixico son marcas registradas. ADVERTENCIA PMS de Mixico no cuenta con alianzas estratigicas de ningzn tipo dentro de la Republica Mexicana. NO SE DEJE ENGAQAR - DIGA NO A LA PIRATERIA. Todos los logotipos, marcas comerciales e imagenes son propiedad de sus respectivas corporaciones y se utilizan con fines informativos solamente. Este Mensaje ha sido enviado a misc@openbsd.org como usuario de Pms de Mixico o bien un usuario le refiris para recibir este boletmn. Como usuario de Pms de Mixico, en este acto autoriza de manera expresa que Pms de Mixico le puede contactar vma correo electrsnico u otros medios. Si usted ha recibido este mensaje por error, haga caso omiso de el y reporte su cuenta respondiendo este correo con el subject BAJAASISTENTES Unsubscribe to this mailing list, reply a blank message with the subject UNSUBSCRIBE BAJAASISTENTES Tenga en cuenta que la gestisn de nuestras bases de datos es de suma importancia y no es intencisn de la empresa la inconformidad del receptor. [demime 1.01d removed an attachment of type image/jpeg which had a name of asistentes.jpg]
Re: Force passwordcheck in login.conf
On 10/13/10 02:46, Brad Tilley wrote: I was experimenting with a program to meet PCI DSS 1.2 password length and content/complexity requirements and integrating it with login.conf for users who have shell access to OpenBSD systems. It seems to work as expected, but I wanted to run my configuration by misc. I appended the following two lines to the end of both default and staff in login.conf. Look OK? Staff gets it from default, so no point in adding it there too. staff:\ /.../ :tc=default: /Alexander :passwordcheck=/path/to/program:\ :passwordtries=0: I understand that it would be easy (and redundant) to use minpasswordlen to meet the length requirement, but it's easy to check that in the program itself. Brad
Re: OpenBSD on ZAURUS SL-6000L
On Tue, 12 Oct 2010 10:58:20 -0600, Theo de Raadt dera...@cvs.openbsd.org wrote: is it possible to put OpenBSD on the Zaurus SL-6000L model ? On this link I not see it in the list of supported device : ftp://ftp.openbsd.org/pub/OpenBSD/4.7/zaurus/INSTALL.zaurus Or the lack is the space on / ? The file lists all the machines we run on. OpenBSD/zaurus runs on the Sharp Zaurus SL-C3000, SL-C3100 and SL-C3200 PDA. Hi Theo, thanks for your answer. Guillaume.
USB devices don't attach when urtw is under load
Under 05-Oct-2010 snapshot: 1. Plug in urtw device (I have a LevelOne device, don't know model as its plastic body is lost). 2. Start bittorrent client (or ftp or whatever loading urtw device). 3. Plug in any usb device - device doesn't get configured, lines not appended to dmesg, usbdevs hangs, otherwise operating system fully operational. 4. Stop loading urtw device. 5. Plug in and out any usb device - device gets configured, lines appended to dmesg. Couldn't reproduce it with my 3COM 3RUSB10075 as it gets device timeout shortly and stops operating at all. As I have no other usb WiFi devices, can't say whether the problem is urtw-specific, or is valid for any usb WiFi or just urtw (or just my urtw). % usbdevs -dv Controller /dev/usb0: addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x8086), rev 1.00 uhub0 port 1 addr 2: high speed, power 98 mA, config 1, WebCam(0x62c0), Sonix Technology Co., Ltd.(0x0c45), rev 1.00 uvideo0 port 2 powered port 3 powered port 4 powered port 5 addr 3: high speed, power 100 mA, unconfigured, RTL8187(0x8187), Realtek(0x0bda), rev 1.00, iSerialNumber 00116B1604AE urtw0 port 6 powered port 7 powered port 8 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 uhub1 port 1 powered port 2 addr 2: low speed, power 100 mA, config 1, Optical Mouse(0x003a), Genius(0x0458), rev 1.00 uhidev0 Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 uhub2 port 1 powered port 2 powered Controller /dev/usb3: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 uhub3 port 1 powered port 2 powered Controller /dev/usb4: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 uhub4 port 1 powered port 2 powered dmesg (05-Oct-2010 snapshot), notice no dmesg lines between inserting and removing flash usb module: OpenBSD 4.8-current (GENERIC.MP) #456: Tue Oct 5 20:18:06 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error 80clock_battery cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE real mem = 1060163584 (1011MB) avail mem = 1032794112 (984MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 10/06/08, SMBIOS rev. 2.4 @ 0xe91c0 (31 entries) bios0: vendor Acer version v0.3110 date 10/06/2008 bios0: Acer AO531h acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT HPET APIC MCFG ASF! SLIC BOOT acpi0: wakeup devices P32_(S4) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) ECHI(S3) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) AZAL(S0) MODM(S0) 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 133MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 4 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 3 (P32_) acpiprt2 at acpi0: bus 1 (EXP1) acpiprt3 at acpi0: bus -1 (EXP2) acpiprt4 at acpi0: bus -1 (EXP3) acpiprt5 at acpi0: bus 2 (EXP4) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature 95 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: LID0 acpibtn2 at acpi0: SLPB acpibat0 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpivideo0 at acpi0: OVGA acpivout0 at acpivideo0: CRT1 acpivout1 at acpivideo0: DTV1 acpivout2 at acpivideo0: DFP1 acpivout3 at acpivideo0: LCD_ acpivout4 at acpivideo0: DTV2 acpivout5 at acpivideo0: DFP2 bios0: ROM list: 0xc/0xec00! cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1333, 1066, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GME Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GME Video rev 0x03 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 0x4000, size 0x1000 inteldrm0 at vga1: apic 4 int 16 (irq 11) drm0 at inteldrm0 Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 4 int 16 (irq 11) azalia0: codecs: Realtek ALC272 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 4
Re: Why renice not work in OpenBSD?
On Sun, 10 Oct 2010 23:17:37 +0400 Dmitry-T dmitr...@yandex.ru wrote: My test OpenBSD: load from livecd bsdanywhere46-amd64 in different consoles: dd if=/dev/wd0c of=/dev/null bs=1m dd if=/dev/wd0c of=/dev/null bs=1m dd if=/dev/wd0c of=/dev/null bs=1m iostat top run: dd if=/dev/urandom of=/dev/null and disk read speed jump from 22Mb/s to 0.9Mb/s! renice 20 for last dd - throughput not change! renice -20 for first three dd - throughput not change! For check renice, run renice -20 for last dd - OpenBSD froze, even mouse. It is not secure. One script or program may load CPU and database or another servers lost speed in disk operations. In Linux (test on 2.6.35 libre) renice work correct... Why renice not work in OpenBSD? -- Dmitry Telegin I have to admit that I was in the middle of a problem when I looked at this, and got the wrong end of the stick (which process was at -20). The email with the subject insecure scheduler in OpenBSD 4.7 was a much better description. Sorry for that Dmitry. However I do think you would have had a better response if you had said something like OpenBSDs service level gurantee is not as good with regard to disk throughput than repeating openbsd isn't secure. However I'm not sure that this is even the case as I have been unable to repeat this problem on i386 without setting the normal user urandom process to -20, at -5 for example it only uses 50% and the disks stay the same. When all 4 are at 0 they have around 25% cpu each and throughput is not affected. Could this be an issue only for amd64? and possibly other architectures? This test was done with vmplayer as it was quickest to run the test on. Actually I've just noticed, for some reason the dd if=/dev/wd0c of=/dev/null on it's own wants 100% cpu, so probably vmplayer is an unfair test. Does the sheduler scale each process to a percentage of what it wants or calls made? i.e 4 processes wanting 100% to 25% each when they're all at the same nice level. The interrupt is around 20% using wd0c and 5% using rwd0c.
Re: MPlayer man page
On Wed, Oct 13, 2010 at 07:32:53AM +0200, Jan Stary wrote: On Oct 13 04:12:21, Mikle Krutov wrote: On Tue, Oct 12, 2010 at 11:28:19PM +, Jacob Meuser wrote: On Wed, Oct 13, 2010 at 02:18:27AM +, Mikle Krutov wrote: Hello, list! While reading the man page of MPlayer, i've noticed lots of headers of it. That is kind of wrong. Version of MPlayer package is mplayer-20090708p4-sdl With headers i mean: The MPlayer Project 2009-03-25 1 MPlayer(1) The Movie Player MPlayer(1) so, what's wrong? mplayer doesn't update their manual? go tell the mplayer people; reporting that here does nothing. No. i do not mean the outdated version of manual page, but the quantity of headers in man page. It is there almost every, hm, 20 strings or something. Every 20 strings? Nonsense. Show me an example. In my version of the manpage, the header repeats every 60 lines, as usual. Never have seen any manual pages with more than one header. Anyway, this is a mplayer issue. Nothing to do with misc@ On all the other systems (NetBSD and FreeBSD) there is only ONE header in mplayer manual page too, so i don't think it is mplayer issue.. -- Old mercenaries never die. They go to hell and regroup. With best regards, Mikle Krutov, Bercut ltd. Technical Support department
Re: MPlayer man page
On Wed, Oct 13, 2010 at 02:04:19AM +0200, Ingo Schwarze wrote: Hi Jacob, hi Mikle, Jacob Meuser wrote on Tue, Oct 12, 2010 at 11:28:19PM +: On Wed, Oct 13, 2010 at 02:18:27AM +, Mikle Krutov wrote: While reading the man page of MPlayer, i've noticed lots of headers of it. That is kind of wrong. Version of MPlayer package is mplayer-20090708p4-sdl With headers i mean: The MPlayer Project 2009-03-25 1 MPlayer(1) The Movie Player MPlayer(1) so, what's wrong? I guess Mikle tries to say that nroff(1) splits man(7) pages into individual pages of about 60 lines and puts a header line and a footer line on each page, as opposed to putting one header and one footer at the very beginning and end, like mandoc(1) does. mplayer doesn't update their manual? go tell the mplayer people; reporting that here does nothing. I don't think this feature needs fixing right now, it doesn't make that much of a difference. We might or might not change it later, when we have a better control over ports manual formatting in general. Yours, Ingo Thank you for your explanation! -- Old mercenaries never die. They go to hell and regroup. With best regards, Mikle Krutov, Bercut ltd. Technical Support department
Re: USB devices don't attach when urtw is under load
On Wed, Oct 13, 2010 at 10:56:24AM +0200, ??? ??? wrote: Under 05-Oct-2010 snapshot: 1. Plug in urtw device (I have a LevelOne device, don't know model as its plastic body is lost). 2. Start bittorrent client (or ftp or whatever loading urtw device). 3. Plug in any usb device - device doesn't get configured, lines not appended to dmesg, usbdevs hangs, otherwise operating system fully operational. 4. Stop loading urtw device. 5. Plug in and out any usb device - device gets configured, lines appended to dmesg. sounds like the device is messing up the usb task thread. do you see 'usbtask' in 'top -S' or 'ps akx' output? Couldn't reproduce it with my 3COM 3RUSB10075 as it gets device timeout shortly and stops operating at all. As I have no other usb WiFi devices, can't say whether the problem is urtw-specific, or is valid for any usb WiFi or just urtw (or just my urtw). % usbdevs -dv Controller /dev/usb0: addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x8086), rev 1.00 uhub0 port 1 addr 2: high speed, power 98 mA, config 1, WebCam(0x62c0), Sonix Technology Co., Ltd.(0x0c45), rev 1.00 uvideo0 port 2 powered port 3 powered port 4 powered port 5 addr 3: high speed, power 100 mA, unconfigured, RTL8187(0x8187), Realtek(0x0bda), rev 1.00, iSerialNumber 00116B1604AE urtw0 port 6 powered port 7 powered port 8 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 uhub1 port 1 powered port 2 addr 2: low speed, power 100 mA, config 1, Optical Mouse(0x003a), Genius(0x0458), rev 1.00 uhidev0 Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 uhub2 port 1 powered port 2 powered Controller /dev/usb3: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 uhub3 port 1 powered port 2 powered Controller /dev/usb4: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 uhub4 port 1 powered port 2 powered dmesg (05-Oct-2010 snapshot), notice no dmesg lines between inserting and removing flash usb module: OpenBSD 4.8-current (GENERIC.MP) #456: Tue Oct 5 20:18:06 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error 80clock_battery cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE real mem = 1060163584 (1011MB) avail mem = 1032794112 (984MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 10/06/08, SMBIOS rev. 2.4 @ 0xe91c0 (31 entries) bios0: vendor Acer version v0.3110 date 10/06/2008 bios0: Acer AO531h acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT HPET APIC MCFG ASF! SLIC BOOT acpi0: wakeup devices P32_(S4) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) ECHI(S3) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) AZAL(S0) MODM(S0) 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 133MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 4 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 3 (P32_) acpiprt2 at acpi0: bus 1 (EXP1) acpiprt3 at acpi0: bus -1 (EXP2) acpiprt4 at acpi0: bus -1 (EXP3) acpiprt5 at acpi0: bus 2 (EXP4) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature 95 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: LID0 acpibtn2 at acpi0: SLPB acpibat0 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpivideo0 at acpi0: OVGA acpivout0 at acpivideo0: CRT1 acpivout1 at acpivideo0: DTV1 acpivout2 at acpivideo0: DFP1 acpivout3 at acpivideo0: LCD_ acpivout4 at acpivideo0: DTV2 acpivout5 at acpivideo0: DFP2 bios0: ROM list: 0xc/0xec00! cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1333, 1066, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GME Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GME Video rev 0x03 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 0x4000, size 0x1000 inteldrm0 at vga1: apic 4 int 16
fsck not accepting uid
Hi all, I'm using UIDs instead of path to disk devices because sometimes I forget USB sticks plugged in and my softraid crypto commands are confused... So during upgrade from Oct 6th snapshot (i386) I discovered that fsck doesn't accept UID for disks :( Little test bellow, I did this test on other (little older) machine but the case is still the same. jirib ## test.img prepared in past for this test # vnconfig svnd0 /data/test.img # disklabel svnd0 | grep -i uid uid: 9f84b364fccc2ded # bioctl -c C -l 9f84b364fccc2ded.a softraid0 Passphrase: # sysctl hw.disknames hw.disknames=cd0:,sd0:d04e89195e81f448,sd1:fc9d5c24dc40c3d6,vnd0:9f84b364fccc 2ded,sd2:9a9d04faac790b8a # disklabel 9a9d04faac790b8a # /dev/rsd2c: type: SCSI disk: SCSI disk label: SR CRYPTO uid: 9a9d04faac790b8a flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 63 total sectors: 1023473 boundstart: 0 boundend: 1023473 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] a: 10234560 4.2BSD 2048 163841 c: 10234730 unused # fsck -f 9a9d04faac790b8a.a fsck: 9a9d04faac790b8a.a: unknown special file or file system. # fsck -f /dev/sd2a ** /dev/rsd2a ** File system is already clean ** Last Mounted on ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 1 files, 1 used, 250774 free (14 frags, 31345 blocks, 0.0% fragmentation) -- OpenBSD 4.8-current (GENERIC.MP) #402: Wed Sep 29 23:51:39 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU T2600 @ 2.16GHz (GenuineIntel 686-class) 2.17 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI, MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM real mem = 2138468352 (2039MB) avail mem = 2093457408 (1996MB) User Kernel Config UKC disable azpi\^H \^H\^H \^H\^H \^Hcpitz 481 acpitz* disabled UKC exit Continuing... mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/18/08, BIOS32 rev. 0 @ 0xf, SMBIOS rev. 2.4 @ 0xf3abf (23 entries) bios0: vendor Hewlett-Packard version 68MVU Ver. F.07 date 03/18/2008 bios0: Hewlett-Packard HP 530 Notebook PC(KP477AA#AKB) acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SLIC HPET APIC MCFG TCPA SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices C098(S5) C204(S0) C100(S5) C207(S5) 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 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU T2600 @ 2.16GHz (GenuineIntel 686-class) 2.17 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI, MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiprt0 at acpi0: bus 2 (C098) acpiprt1 at acpi0: bus 8 (C100) acpiprt2 at acpi0: bus 16 (C110) acpiprt3 at acpi0: bus 0 (C002) acpiec0 at acpi0 acpicpu0 at acpi0: C2, C1, PSS acpicpu1 at acpi0: C2, C1, PSS acpipwrres0 at acpi0: C1E0 acpipwrres1 at acpi0: C1FE acpipwrres2 at acpi0: C206 acpipwrres3 at acpi0: C2EE acpipwrres4 at acpi0: C2EF acpipwrres5 at acpi0: C2F0 acpipwrres6 at acpi0: C2F1 acpitz at acpi0 not configured acpitz at acpi0 not configured acpitz at acpi0 not configured acpitz at acpi0 not configured acpitz at acpi0 not configured acpibat0 at acpi0: C1AC model Primary serial 40639 2008/01/20 type LIon oem Hewlett-Packard acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: C20B acpibtn1 at acpi0: C20C acpivideo0 at acpi0: C085 acpivout0 at acpivideo0: C133 acpivout1 at acpivideo0: C134 bios0: ROM list: 0xc/0x1! cpu0: Enhanced SpeedStep 2162 MHz: speeds: 2167, 1667, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GME Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GME Video rev 0x03 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 0xe000, size 0x1000 inteldrm0 at vga1: apic 1 int 16 (irq 10) drm0 at inteldrm0 Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01: apic 1 int 16 (irq 10) azalia0: codecs: Conexant CX20549 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: apic 1 int 16 (irq 10) pci1 at ppb0 bus 8 ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01: apic 1 int 17 (irq 10) pci2 at ppb1 bus 16 wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 1 int 17 (irq 10), MoW2,
Re: fsck not accepting uid
On Wed, Oct 13, 2010 at 12:24:52PM +0200, Jiri B. wrote: Hi all, I'm using UIDs instead of path to disk devices because sometimes I forget USB sticks plugged in and my softraid crypto commands are confused... So during upgrade from Oct 6th snapshot (i386) I discovered that fsck doesn't accept UID for disks :( If it is any comfort, sysctl -n hw.disknames can help you. Little test bellow, I did this test on other (little older) machine but the case is still the same. jirib ## test.img prepared in past for this test # vnconfig svnd0 /data/test.img # disklabel svnd0 | grep -i uid uid: 9f84b364fccc2ded # bioctl -c C -l 9f84b364fccc2ded.a softraid0 Passphrase: # sysctl hw.disknames hw.disknames=cd0:,sd0:d04e89195e81f448,sd1:fc9d5c24dc40c3d6,vnd0:9f84b364fccc 2ded,sd2:9a9d04faac790b8a # disklabel 9a9d04faac790b8a # /dev/rsd2c: type: SCSI disk: SCSI disk label: SR CRYPTO uid: 9a9d04faac790b8a flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 63 total sectors: 1023473 boundstart: 0 boundend: 1023473 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] a: 10234560 4.2BSD 2048 163841 c: 10234730 unused # fsck -f 9a9d04faac790b8a.a fsck: 9a9d04faac790b8a.a: unknown special file or file system. # fsck -f /dev/sd2a ** /dev/rsd2a ** File system is already clean ** Last Mounted on ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 1 files, 1 used, 250774 free (14 frags, 31345 blocks, 0.0% fragmentation) -- OpenBSD 4.8-current (GENERIC.MP) #402: Wed Sep 29 23:51:39 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU T2600 @ 2.16GHz (GenuineIntel 686-class) 2.17 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI, MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM real mem = 2138468352 (2039MB) avail mem = 2093457408 (1996MB) User Kernel Config UKC disable azpi\^H \^H\^H \^H\^H \^Hcpitz 481 acpitz* disabled UKC exit Continuing... mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/18/08, BIOS32 rev. 0 @ 0xf, SMBIOS rev. 2.4 @ 0xf3abf (23 entries) bios0: vendor Hewlett-Packard version 68MVU Ver. F.07 date 03/18/2008 bios0: Hewlett-Packard HP 530 Notebook PC(KP477AA#AKB) acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SLIC HPET APIC MCFG TCPA SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices C098(S5) C204(S0) C100(S5) C207(S5) 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 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU T2600 @ 2.16GHz (GenuineIntel 686-class) 2.17 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI, MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiprt0 at acpi0: bus 2 (C098) acpiprt1 at acpi0: bus 8 (C100) acpiprt2 at acpi0: bus 16 (C110) acpiprt3 at acpi0: bus 0 (C002) acpiec0 at acpi0 acpicpu0 at acpi0: C2, C1, PSS acpicpu1 at acpi0: C2, C1, PSS acpipwrres0 at acpi0: C1E0 acpipwrres1 at acpi0: C1FE acpipwrres2 at acpi0: C206 acpipwrres3 at acpi0: C2EE acpipwrres4 at acpi0: C2EF acpipwrres5 at acpi0: C2F0 acpipwrres6 at acpi0: C2F1 acpitz at acpi0 not configured acpitz at acpi0 not configured acpitz at acpi0 not configured acpitz at acpi0 not configured acpitz at acpi0 not configured acpibat0 at acpi0: C1AC model Primary serial 40639 2008/01/20 type LIon oem Hewlett-Packard acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: C20B acpibtn1 at acpi0: C20C acpivideo0 at acpi0: C085 acpivout0 at acpivideo0: C133 acpivout1 at acpivideo0: C134 bios0: ROM list: 0xc/0x1! cpu0: Enhanced SpeedStep 2162 MHz: speeds: 2167, 1667, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GME Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GME Video rev 0x03 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 0xe000, size 0x1000 inteldrm0 at vga1: apic 1 int 16 (irq 10) drm0 at inteldrm0 Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01: apic 1 int 16 (irq 10) azalia0: codecs: Conexant CX20549 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel
Re: fsck not accepting uid
On Wed, Oct 13, 2010 at 03:22:46PM +0200, Raimo Niskanen wrote: On Wed, Oct 13, 2010 at 12:24:52PM +0200, Jiri B. wrote: Hi all, I'm using UIDs instead of path to disk devices because sometimes I forget USB sticks plugged in and my softraid crypto commands are confused... So during upgrade from Oct 6th snapshot (i386) I discovered that fsck doesn't accept UID for disks :( If it is any comfort, sysctl -n hw.disknames can help you. Sorry, too quick answer there... OpenBSD 4.8-current (GENERIC.MP) #456: Tue Oct 5 20:18:06 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP # fsck 53fe8ddd7dc77ff8.a fsck: 53fe8ddd7dc77ff8.a: unknown special file or file system. # fsck_ffs 53fe8ddd7dc77ff8.a ** /dev/sd0a (53fe8ddd7dc77ff8.a) (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 2467 files, 25561 used, 47038 free (22 frags, 5877 blocks, 0.0% fragmentation) It seems the frontend fsck does not accept UIDs, like e.g fsck_msdos does not (I have tried). But the backend (also called by e.g fsck -p) does accept UIDs. Little test bellow, I did this test on other (little older) machine but the case is still the same. jirib ## test.img prepared in past for this test # vnconfig svnd0 /data/test.img # disklabel svnd0 | grep -i uid uid: 9f84b364fccc2ded # bioctl -c C -l 9f84b364fccc2ded.a softraid0 Passphrase: # sysctl hw.disknames hw.disknames=cd0:,sd0:d04e89195e81f448,sd1:fc9d5c24dc40c3d6,vnd0:9f84b364fccc 2ded,sd2:9a9d04faac790b8a # disklabel 9a9d04faac790b8a # /dev/rsd2c: type: SCSI disk: SCSI disk label: SR CRYPTO uid: 9a9d04faac790b8a flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 63 total sectors: 1023473 boundstart: 0 boundend: 1023473 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] a: 10234560 4.2BSD 2048 163841 c: 10234730 unused # fsck -f 9a9d04faac790b8a.a fsck: 9a9d04faac790b8a.a: unknown special file or file system. # fsck -f /dev/sd2a ** /dev/rsd2a ** File system is already clean ** Last Mounted on ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 1 files, 1 used, 250774 free (14 frags, 31345 blocks, 0.0% fragmentation) -- OpenBSD 4.8-current (GENERIC.MP) #402: Wed Sep 29 23:51:39 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU T2600 @ 2.16GHz (GenuineIntel 686-class) 2.17 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI, MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM real mem = 2138468352 (2039MB) avail mem = 2093457408 (1996MB) User Kernel Config UKC disable azpi\^H \^H\^H \^H\^H \^Hcpitz 481 acpitz* disabled UKC exit Continuing... mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/18/08, BIOS32 rev. 0 @ 0xf, SMBIOS rev. 2.4 @ 0xf3abf (23 entries) bios0: vendor Hewlett-Packard version 68MVU Ver. F.07 date 03/18/2008 bios0: Hewlett-Packard HP 530 Notebook PC(KP477AA#AKB) acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SLIC HPET APIC MCFG TCPA SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices C098(S5) C204(S0) C100(S5) C207(S5) 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 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU T2600 @ 2.16GHz (GenuineIntel 686-class) 2.17 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI, MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiprt0 at acpi0: bus 2 (C098) acpiprt1 at acpi0: bus 8 (C100) acpiprt2 at acpi0: bus 16 (C110) acpiprt3 at acpi0: bus 0 (C002) acpiec0 at acpi0 acpicpu0 at acpi0: C2, C1, PSS acpicpu1 at acpi0: C2, C1, PSS acpipwrres0 at acpi0: C1E0 acpipwrres1 at acpi0: C1FE acpipwrres2 at acpi0: C206 acpipwrres3 at acpi0: C2EE acpipwrres4 at acpi0: C2EF acpipwrres5 at acpi0: C2F0 acpipwrres6 at acpi0: C2F1 acpitz at acpi0 not configured acpitz at acpi0 not configured acpitz at acpi0 not configured acpitz at acpi0 not configured acpitz at acpi0 not configured acpibat0 at acpi0: C1AC model Primary serial 40639 2008/01/20 type LIon oem
Re: MPlayer man page
Hi Mikle Jan, Mikle Krutov wrote on Wed, Oct 13, 2010 at 02:02:55PM +: Never have seen any manual pages with more than one header. When wire matrix line printers were common, that was quite handy. Modern groff (e.g. version 1.20) does not do that by default any longer. The ancient groff (1.15) we have in the OpenBSD tree still does it. Anyway, we are going to delete groff from the tree, sooner or later. On Wed, Oct 13, 2010 at 07:32:53AM +0200, Jan Stary wrote: Anyway, this is a mplayer issue. Nothing to do with misc@ No, talking about old groff vs. new groff vs. mandoc issues is perfectly on topic on m...@. These questions are currently being actively worked on in OpenBSD. On all the other systems (NetBSD and FreeBSD) there is only ONE header in mplayer manual page too, so i don't think it is mplayer issue.. Right, these typically have newer groff, and will probably take a bit longer until they delete it from their trees. Yours, Ingo
Re: MPlayer man page
On Oct 13 14:02:55, Mikle Krutov wrote: On Wed, Oct 13, 2010 at 07:32:53AM +0200, Jan Stary wrote: On Oct 13 04:12:21, Mikle Krutov wrote: On Tue, Oct 12, 2010 at 11:28:19PM +, Jacob Meuser wrote: On Wed, Oct 13, 2010 at 02:18:27AM +, Mikle Krutov wrote: Hello, list! While reading the man page of MPlayer, i've noticed lots of headers of it. That is kind of wrong. Version of MPlayer package is mplayer-20090708p4-sdl With headers i mean: The MPlayer Project 2009-03-25 1 MPlayer(1) The Movie Player MPlayer(1) so, what's wrong? mplayer doesn't update their manual? go tell the mplayer people; reporting that here does nothing. No. i do not mean the outdated version of manual page, but the quantity of headers in man page. It is there almost every, hm, 20 strings or something. Every 20 strings? Nonsense. Show me an example. In my version of the manpage, the header repeats every 60 lines, as usual. Never have seen any manual pages with more than one header. Anyway, this is a mplayer issue. Nothing to do with misc@ On all the other systems (NetBSD and FreeBSD) there is only ONE header in mplayer manual page too, so i don't think it is mplayer issue.. The file DOCS/man/en/mplayer.1 from http://www.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2 translates into a one-header version with 'mandoc mplayer.1' and produces the repeating headers with 'groff -man -Tascii mplayer.1' So perhaps this is about how exactly the mplayer port builds its manpage(s) from the mplayer.1; it doesn't: the port seems to simply copy mplayer.1 into man/man1/mplayer.1 Then, 'man mplayer' displayes the manpage with repeated headers. This seems to be the case with all ports I have looked at (firefox, sox, unzip, ...); unlike the system man pages (ls, cp, ...) which have a single header. The difference seems to be that the system manpages are precompiled (with mandoc) into e.g. /usr/share/man/cat1/ls.0 whereas the port manpages are just the groff sources such as /usr/local/man/man1/mplayer.1 that get rendered online (with groff). Perhaps (someone correct me please) man calls groff on the manpage sources, who produces the repeating headers; but mandoc does not.
set block device timeout
Hi All, I'm wondering how I could configure scsi I/O timeout in OpenBSD. I need to fiddle around with that since I'm using OpenBSD at work in some heavy (over)loaded ESX vmware cluster. From to time to the disk backend may response really slow. A stock linux would remount the filesystem read/only, whereas my OpenBSD 4.7 boxes just paniced. (And Solaris 10 just kept on running. Probably some really high scsi i/o timeouts as default). In FreeBSD the sysctl kern.cam.da.default_timeout seems to do the trick. On Linux it's /sys/block/*/device/timeout. Is there an equivilant in OpenBSD? I couldn't find anything while searching the misc@ archives (using gmane.org). thanks in advance, Marian PS.: please keep me CC'd, I'm not subscribed.
Re: Force passwordcheck in login.conf
use passwdqc it is in packages. in login.conf under default I have: :minpasswordlen=12:\ :login-tries=4:\ :passwordtries=3:\ :passwordcheck=/usr/local/libexec/passwdqc -3 12 Mark On Tue, Oct 12, 2010 at 8:46 PM, Brad Tilley b...@16systems.com wrote: I was experimenting with a program to meet PCI DSS 1.2 password length and content/complexity requirements and integrating it with login.conf for users who have shell access to OpenBSD systems. It seems to work as expected, but I wanted to run my configuration by misc. I appended the following two lines to the end of both default and staff in login.conf. Look OK? :passwordcheck=/path/to/program:\ :passwordtries=0: I understand that it would be easy (and redundant) to use minpasswordlen to meet the length requirement, but it's easy to check that in the program itself. Brad
Re: MPlayer man page
Hi Jan, Jan Stary wrote on Wed, Oct 13, 2010 at 03:50:29PM +0200: The file DOCS/man/en/mplayer.1 from http://www.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2 translates into a one-header version with 'mandoc mplayer.1' and produces the repeating headers with 'groff -man -Tascii mplayer.1' So perhaps this is about how exactly the mplayer port builds its manpage(s) from the mplayer.1; it doesn't: the port seems to simply copy mplayer.1 into man/man1/mplayer.1 Then, 'man mplayer' displayes the manpage with repeated headers. Yes: grep _build /etc/man.conf And: man man.conf Hopefully, i will manage to switch the default man.conf from groff to mandoc in time for the 4.9 release. This seems to be the case with all ports I have looked at (firefox, sox, unzip, ...); unlike the system man pages (ls, cp, ...) which have a single header. The difference seems to be that the system manpages are precompiled (with mandoc) into e.g. /usr/share/man/cat1/ls.0 whereas the port manpages are just the groff sources such as /usr/local/man/man1/mplayer.1 that get rendered online (with groff). Yes, for now. In the future, it may happen that those manuals requiring groff to build will be installed precompiled, too. Such that those ports get a groff build dependency, but not a groff run dependency. We shall see. Perhaps (someone correct me please) man calls groff on the manpage sources, who produces the repeating headers; but mandoc does not. Yes, that's what's currently happening. Yours, Ingo
Re: Force passwordcheck in login.conf
Mark Romer wrote: use passwdqc it is in packages. in login.conf under default I have: :minpasswordlen=12:\ :login-tries=4:\ :passwordtries=3:\ :passwordcheck=/usr/local/libexec/passwdqc -3 12 Mark I've heard complaints that it is too stringent (I tend to agree, no offense to Solar). PCI DSS 1.2 only requires numbers and alphabetic chars in the password. So, letmein123 meets the requirement. Brad
Re: Wireless Network GUI
I use this silly script for wireless if someone is interested: http://github.com/haesbaert/scripts/blob/master/wifi
LOG_MAKEPRI
On not seeing some expected log messages, I wrote this test program 'log.c': #include stdlib.h #include syslog.h int main (int argc, char **argv) { openlog(logtest, 0, 0); syslog(LOG_MAKEPRI(LOG_USER, LOG_INFO), hello1: via LOG_MAKPRI.\n); syslog(LOG_INFO | LOG_USER, hello2: via bitwise-or.\n); syslog(LOG_INFO, hello3: via level only.\n); closelog(); return EXIT_SUCCESS; } and compiled it with 'gcc -o log log.c'. On Debian 'Squeeze' all three messages appear in the log. On OpenBSD 4.7 only the last two appear in the log. So it looks like LOG_MAKEPRI and syslogd are not on speaking terms. LOG_MAKEPRI is not documented in syslog(3) but is present in syslog.h. LOG_MAKEPRI doesn't appear in http://www.opengroup.org/onlinepubs/9699919799/. Does LOG_MAKEPRI have any status in terms of standards? Would it be better for it to be removed or redefined to issue a preprocessor error? -- Nick
OpenBSD's cure for insomnia
Dear Theo and Co. Thank you very much for the new ACPI code. Seriously, thank you. My netbook finally sleeps, having sat uselessly in a drawer nearly a year waiting for this day. Thanks for the WPA support too. Time to buy a 4.8 set. Michael
Re: LOG_MAKEPRI
On Wed, Oct 13, 2010 at 12:32 PM, Nick open...@acrasis.net wrote: On not seeing some expected log messages, I wrote this test program 'log.c': #include stdlib.h #include syslog.h int main (int argc, char **argv) { openlog(logtest, 0, 0); syslog(LOG_MAKEPRI(LOG_USER, LOG_INFO), hello1: via LOG_MAKPRI.\n); syslog(LOG_INFO | LOG_USER, hello2: via bitwise-or.\n); syslog(LOG_INFO, hello3: via level only.\n); closelog(); return EXIT_SUCCESS; } and compiled it with 'gcc -o log log.c'. On Debian 'Squeeze' all three messages appear in the log. On OpenBSD 4.7 only the last two appear in the log. So it looks like LOG_MAKEPRI and syslogd are not on speaking terms. LOG_MAKEPRI is not documented in syslog(3) but is present in syslog.h. LOG_MAKEPRI doesn't appear in http://www.opengroup.org/onlinepubs/9699919799/. Does LOG_MAKEPRI have any status in terms of standards? Would it be better for it to be removed or redefined to issue a preprocessor error? It seems a bug. MAKEPRI is shifting the facility argument 3, but all the facility macros are already shifted so that you can just or them in. I'd say MAKEPRI should not be shifting, but I'm not sure where the macro is being used.
computer hangs after varying amount of data is received from network via ssh
I am attempting to copy data from a USB mass storage device formatted with ext2 to an ffs filesystem on a SATA drive. The OpenBSD system containing the target filesystem lacks a USB 2.0 interface, so I am attempting to copy files over the network from a USB 2.0 equipped system running the PartedMagic linux liveCD. Here is the command I am using from the liveCD environment in order to attempt the copy operation: r...@partedmagic:/# tar -c mybook1.5 | ssh 192.168.66.77 'tar -vxf - -C /belongtome/mybook1.5' After hundreds of megabytes are successfully transferred, the following message occurs on the OpenBSD system, effectively halting it: re2: watchdog timeout wd0(pciide0:0:0): timeout type: ata c_bcount: 16384 c_skip: 0 Below is the dmesg output from the OpenBSD system: OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Duron(tm) Processor (AuthenticAMD 686-class, 64KB L2 cache) 808 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real mem = 804794368 (767MB) avail mem = 771067904 (735MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/08/01, BIOS32 rev. 0 @ 0xf0ee0, SMBIOS rev. 2.3 @ 0xf2db0 (46 entries) bios0: vendor Award Software, Inc. version ASUS A7V-E ACPI BIOS Revision 1002D date 03/08/2001 bios0: ASUSTeK Computer INC. A7V-E apm0 at bios0: Power Management spec V1.2 (BIOS management disabled) apm0: APM power management enable: unrecognized device ID (9) apm0: APM engage (device 1): power management disabled (1) apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf/0x1742 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1690/176 (9 entries) pcibios0: PCI Interrupt Router at 000:07:0 (VIA VT82C586 ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x4800 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 VIA VT8363 Host rev 0x03 viaagp0 at pchb0: v2 agp0 at viaagp0: aperture at 0xfc00, size 0x1000 ppb0 at pci0 dev 1 function 0 VIA VT8363 AGP rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 3DFX Interactive Voodoo3 rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 7 function 0 VIA VT82C686 ISA rev 0x40 pciide0 at pci0 dev 7 function 1 VIA VT82C571 IDE rev 0x06: ATA100, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: ST315322A wd0: 16-sector PIO, LBA, 14592MB, 29886400 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: IDE-CD, R/RW 4x4x24, Z024 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 viaenv0 at pci0 dev 7 function 4 VIA VT82C686 SMBus rev 0x40: 24-bit timer at 3579545Hz pciide1 at pci0 dev 11 function 0 CMD Technology SiI3512 SATA rev 0x01: DMA pciide1: using irq 10 for native-PCI interrupt pciide1: port 1: device present, speed: 1.5Gb/s wd1 at pciide1 channel 1 drive 0: ST31500341AS wd1: 16-sector PIO, LBA48, 1430799MB, 2930277168 sectors wd1(pciide1:1:0): using BIOS timings, Ultra-DMA mode 6 re0 at pci0 dev 12 function 0 Realtek 8169 rev 0x10: RTL8169/8110SB (0x1000), irq 10, address 00:14:d1:1d:3b:e8 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 3 re1 at pci0 dev 13 function 0 Realtek 8169 rev 0x10: RTL8169/8110SB (0x1000), irq 11, address 00:14:d1:1d:3b:f4 rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 3 re2 at pci0 dev 14 function 0 Realtek 8169 rev 0x10: RTL8169/8110SB (0x1000), irq 12, address 00:14:d1:1d:39:8a rgephy2 at re2 phy 7: RTL8169S/8110S PHY, rev. 3 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 biomask e765 netmask ff65 ttymask mtrr: Pentium Pro MTRR support vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root root on wd0a swap on wd0b dump on wd0b WARNING: / was not properly unmounted -- Young man, in mathematics you don't understand things, you just get used to them. - John von Neumann
bioctl -P, change passwords on crypto volumes
Hi, I have not been able to figure out how to change password on my softraid crypto disks running -current as of two days. At boot I am doing bioctl -c C -l /dev/wd0k softraid0 and the crypto volume shows up as sd0a. I have tried all combinations of bioctl -P -l /dev/sd0a softraid0, bioctl -P /dev/wd0k, bioctl -P /dev/sd0a, bioctl -P -l /dev/wd0k, bioctl -P -l /dev/sd0a but to no avail. Could it be that it is no longer working? Or am I just not understanding the man page? Regards, /Joakim
Re: bioctl -P, change passwords on crypto volumes
On 10/13/10 20:51, Joakim Anka wrote: Hi, I have not been able to figure out how to change password on my softraid crypto disks running -current as of two days. At boot I am doing bioctl -c C -l /dev/wd0k softraid0 and the crypto volume shows up as sd0a. I have tried all combinations of bioctl -P -l /dev/sd0a softraid0, bioctl -P /dev/wd0k, bioctl -P /dev/sd0a, bioctl -P -l /dev/wd0k, bioctl -P -l /dev/sd0a but to no avail. Could it be that it is no longer working? Or am I just not understanding the man page? Regards, /Joakim $ sudo bioctl -c C -l /dev/sd1a softraid0 Passphrase: scsibus4 at softraid0: 1 targets sd2 at scsibus4 targ 0 lun 0: OPENBSD, SR CRYPTO, 004 SCSI2 0/direct fixed sd2: 237MB, 512 bytes/sec, 487409 sec total $ sudo bioctl -P sd2 Old passphrase: New passphrase: Re-type passphrase: /Markus
Re: USB devices don't attach when urtw is under load
On Wed, Oct 13, 2010 at 12:49 PM, Jacob Meuser jake...@sdf.lonestar.org wrote: On Wed, Oct 13, 2010 at 10:56:24AM +0200, ??? ??? wrote: Under 05-Oct-2010 snapshot: 1. Plug in urtw device (I have a LevelOne device, don't know model as its plastic body is lost). 2. Start bittorrent client (or ftp or whatever loading urtw device). 3. Plug in any usb device - device doesn't get configured, lines not appended to dmesg, usbdevs hangs, otherwise operating system fully operational. 4. Stop loading urtw device. 5. Plug in and out any usb device - device gets configured, lines appended to dmesg. sounds like the device is messing up the usb task thread. B do you see 'usbtask' in 'top -S' or 'ps akx' output? I do: % ps -akx | grep usb 8 ?? DK 0:00.26 (usbtask) 24889 p1 S+ 0:00.01 grep usb -- Dmitrij D. Czarkoff
Re: computer hangs after varying amount of data is received from network via ssh
Hi, You can try a 'fsck' to check your / And you can test to put 4.8 on your laptop to see if the problem persist. Regards, Guillaume Le 13 oct. 2010 C 19:24, Robert Halberg robert.halb...@gmail.com a C)crit : I am attempting to copy data from a USB mass storage device formatted with ext2 to an ffs filesystem on a SATA drive. The OpenBSD system containing the target filesystem lacks a USB 2.0 interface, so I am attempting to copy files over the network from a USB 2.0 equipped system running the PartedMagic linux liveCD. Here is the command I am using from the liveCD environment in order to attempt the copy operation: r...@partedmagic:/# tar -c mybook1.5 | ssh 192.168.66.77 'tar -vxf - -C /belongtome/mybook1.5' After hundreds of megabytes are successfully transferred, the following message occurs on the OpenBSD system, effectively halting it: re2: watchdog timeout wd0(pciide0:0:0): timeout type: ata c_bcount: 16384 c_skip: 0 Below is the dmesg output from the OpenBSD system: OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Duron(tm) Processor (AuthenticAMD 686-class, 64KB L2 cache) 808 MHz cpu0: FPU, V86, DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real mem = 804794368 (767MB) avail mem = 771067904 (735MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/08/01, BIOS32 rev. 0 @ 0xf0ee0, SMBIOS rev. 2.3 @ 0xf2db0 (46 entries) bios0: vendor Award Software, Inc. version ASUS A7V-E ACPI BIOS Revision 1002D date 03/08/2001 bios0: ASUSTeK Computer INC. A7V-E apm0 at bios0: Power Management spec V1.2 (BIOS management disabled) apm0: APM power management enable: unrecognized device ID (9) apm0: APM engage (device 1): power management disabled (1) apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf/0x1742 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1690/176 (9 entries) pcibios0: PCI Interrupt Router at 000:07:0 (VIA VT82C586 ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x4800 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 VIA VT8363 Host rev 0x03 viaagp0 at pchb0: v2 agp0 at viaagp0: aperture at 0xfc00, size 0x1000 ppb0 at pci0 dev 1 function 0 VIA VT8363 AGP rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 3DFX Interactive Voodoo3 rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 7 function 0 VIA VT82C686 ISA rev 0x40 pciide0 at pci0 dev 7 function 1 VIA VT82C571 IDE rev 0x06: ATA100, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: ST315322A wd0: 16-sector PIO, LBA, 14592MB, 29886400 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: IDE-CD, R/RW 4x4x24, Z024 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 viaenv0 at pci0 dev 7 function 4 VIA VT82C686 SMBus rev 0x40: 24-bit timer at 3579545Hz pciide1 at pci0 dev 11 function 0 CMD Technology SiI3512 SATA rev 0x01: DMA pciide1: using irq 10 for native-PCI interrupt pciide1: port 1: device present, speed: 1.5Gb/s wd1 at pciide1 channel 1 drive 0: ST31500341AS wd1: 16-sector PIO, LBA48, 1430799MB, 2930277168 sectors wd1(pciide1:1:0): using BIOS timings, Ultra-DMA mode 6 re0 at pci0 dev 12 function 0 Realtek 8169 rev 0x10: RTL8169/8110SB (0x1000), irq 10, address 00:14:d1:1d:3b:e8 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 3 re1 at pci0 dev 13 function 0 Realtek 8169 rev 0x10: RTL8169/8110SB (0x1000), irq 11, address 00:14:d1:1d:3b:f4 rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 3 re2 at pci0 dev 14 function 0 Realtek 8169 rev 0x10: RTL8169/8110SB (0x1000), irq 12, address 00:14:d1:1d:39:8a rgephy2 at re2 phy 7: RTL8169S/8110S PHY, rev. 3 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 biomask e765 netmask ff65 ttymask mtrr: Pentium Pro MTRR support vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root root on wd0a swap on wd0b dump on wd0b WARNING: / was not properly unmounted -- Young man, in mathematics you don't understand things, you just get used to them. - John von Neumann
Re: computer hangs after varying amount of data is received from network via ssh
I will run fsck against my root when I get a chance. I'll also look into installing 4.8. Thanks 2010/10/13 Guillaume Duali g.du...@otasc.org: Hi, You can try a 'fsck' to check your / And you can test to put 4.8 on your laptop to see if the problem persist. Regards, Guillaume Le 13 oct. 2010 ` 19:24, Robert Halberg robert.halb...@gmail.com a icrit : I am attempting to copy data from a USB mass storage device formatted with ext2 to an ffs filesystem on a SATA drive. The OpenBSD system containing the target filesystem lacks a USB 2.0 interface, so I am attempting to copy files over the network from a USB 2.0 equipped system running the PartedMagic linux liveCD. Here is the command I am using from the liveCD environment in order to attempt the copy operation: r...@partedmagic:/# tar -c mybook1.5 | ssh 192.168.66.77 'tar -vxf - -C /belongtome/mybook1.5' After hundreds of megabytes are successfully transferred, the following message occurs on the OpenBSD system, effectively halting it: re2: watchdog timeout wd0(pciide0:0:0): timeout type: ata c_bcount: 16384 c_skip: 0 Below is the dmesg output from the OpenBSD system: OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Duron(tm) Processor (AuthenticAMD 686-class, 64KB L2 cache) 808 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real mem = 804794368 (767MB) avail mem = 771067904 (735MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/08/01, BIOS32 rev. 0 @ 0xf0ee0, SMBIOS rev. 2.3 @ 0xf2db0 (46 entries) bios0: vendor Award Software, Inc. version ASUS A7V-E ACPI BIOS Revision 1002D date 03/08/2001 bios0: ASUSTeK Computer INC. A7V-E apm0 at bios0: Power Management spec V1.2 (BIOS management disabled) apm0: APM power management enable: unrecognized device ID (9) apm0: APM engage (device 1): power management disabled (1) apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf/0x1742 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1690/176 (9 entries) pcibios0: PCI Interrupt Router at 000:07:0 (VIA VT82C586 ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x4800 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 VIA VT8363 Host rev 0x03 viaagp0 at pchb0: v2 agp0 at viaagp0: aperture at 0xfc00, size 0x1000 ppb0 at pci0 dev 1 function 0 VIA VT8363 AGP rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 3DFX Interactive Voodoo3 rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 7 function 0 VIA VT82C686 ISA rev 0x40 pciide0 at pci0 dev 7 function 1 VIA VT82C571 IDE rev 0x06: ATA100, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: ST315322A wd0: 16-sector PIO, LBA, 14592MB, 29886400 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: IDE-CD, R/RW 4x4x24, Z024 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 viaenv0 at pci0 dev 7 function 4 VIA VT82C686 SMBus rev 0x40: 24-bit timer at 3579545Hz pciide1 at pci0 dev 11 function 0 CMD Technology SiI3512 SATA rev 0x01: DMA pciide1: using irq 10 for native-PCI interrupt pciide1: port 1: device present, speed: 1.5Gb/s wd1 at pciide1 channel 1 drive 0: ST31500341AS wd1: 16-sector PIO, LBA48, 1430799MB, 2930277168 sectors wd1(pciide1:1:0): using BIOS timings, Ultra-DMA mode 6 re0 at pci0 dev 12 function 0 Realtek 8169 rev 0x10: RTL8169/8110SB (0x1000), irq 10, address 00:14:d1:1d:3b:e8 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 3 re1 at pci0 dev 13 function 0 Realtek 8169 rev 0x10: RTL8169/8110SB (0x1000), irq 11, address 00:14:d1:1d:3b:f4 rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 3 re2 at pci0 dev 14 function 0 Realtek 8169 rev 0x10: RTL8169/8110SB (0x1000), irq 12, address 00:14:d1:1d:39:8a rgephy2 at re2 phy 7: RTL8169S/8110S PHY, rev. 3 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 biomask e765 netmask ff65 ttymask mtrr: Pentium Pro MTRR support vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root root on wd0a swap on wd0b dump on wd0b WARNING: / was not
Re: computer hangs after varying amount of data is received from network via ssh
On Wed, Oct 13, 2010 at 1:24 PM, Robert Halberg robert.halb...@gmail.com wrote: After hundreds of megabytes are successfully transferred, the following message occurs on the OpenBSD system, effectively halting it: re2: watchdog timeout wd0(pciide0:0:0): timeout type: ata c_bcount: 16384 c_skip: 0 Your problem isn't really network related, but hardware/driver issues. Since two drivers are affected, it looks more like a pci chipset/bios/whatnot problem than either of them. I'm not sure what can be done about it, and 10 year old quirky PC hardware doesn't attract a of interest...
Looks like my 4.8 CD is in the mail!
I just got this in my inbox: USPS OpenBSD Order:2010/9/10-13:4:42-15337-- Very exciting! -- Jeremy Chase http://twitter.com/jeremychase
Auto Logout Idle Users
I created the file /etc/profile to force sh and ksh to logout users after a certain period of idleness: $ cat /etc/profile # Force sh and ksh to logout idle users after 15 minutes # Prevent normal users from disabling this setting readonly TMOUT=900 export TMOUT That works great. I've tried to do the same to the other default shell in base (csh). I added 'set autologout=15' to /etc/csh.cshrc and then to /etc/csh.login as well (I'm turning knobs like a good clueless user). I then read the csh man page, but saw no mention of autologout. Perhaps the OpenBSD version of csh does not support this? Is there a way to do this with csh? If not, I'll need to remove access to the shell. Thanks Brad P.S. I only mean the local shells, not OpenSSH. I do this when required to autologout idle ssh users: ClientAliveInterval 900 ClientAliveMax 0
Le Concours Art7 de Pears Gallery
Le Concours Art7 de Pears Gallery Pears Gallery organise du 15 octobre juqu'au 15 novembre 2010 un concours riservi aux artistes professionnels frangais (catigories : peintures, estampes, photographies d'art et art numirique). Le jury de Pears Gallery silectionnera 7 oeuvres ( les 3 coups de coeur du jury et une oeuvre par catigorie). Les artistes ricompensis gagneront 3 mois d'exposition gratuite sur le site www.pears-gallery.com (7.000 ` 13.000 visiteurs chaque mois) et les oeuvres seront prisenties dans la Newsletter du site (diffusion ` plus de 10.000 abonnis). La participation ` ce concours est gratuite. Comment participer ? 1. Vous devez vous inscrire (gratuit) sur notre site : http://www.pears-gallery.com/fr/register/register1 2. Un mail de confirmation vous sera envoyi avec un lien de validation. 3. En confirmant votre inscription, vous arrivez dans votre espace privi sur une page tarifs/abonnement. VOUS N'ETES PAS OBLIGE DE VOUS ABONNER. 3. Dans votre espace privi, en cliquant sur l'onglet OEUVRE, vous insirez vos oeuvres (descriptif + photos), nous vous recommandons d'utiliser toutes les fonctions du site et d'y ajouter des photos de ditails. A bienttt. L'Equipe Pears Gallery Disinscription
Re: computer hangs after varying amount of data is received from network via ssh
On Wed, 13 Oct 2010 16:55:18 -0400 Ted Unangst ted.unan...@gmail.com wrote: can be done about it, and 10 year old quirky PC hardware doesn't attract a of interest... As long as it's on [1] I hope it does? I guess I'm not the only one who uses a Pentium 4 (or older stuff) for firewalls and other systems, since they are very cheap to buy and replace, and are more than sufficient (speed) for a lot of tasks. regards, Robert [1] http://www.openbsd.org/i386.html
-current/amd64 @ macbook3,1
This is a fresh upgrade of current/amd64 on a Macbook3,1. Basically, everything works except the wifi and uvideo. The wifi is reported as Wireless Card Type: AirPort Extreme (0x14E4, 0x88) Wireless Card Firmware: Broadcom BCM43xx 1.0 (510.91.21) by the MacOSX 10.5.8 I dualboot at the machine. It does not seem to be mentioned in the dmesg below. Who is the person at Broadcom that I shall scream at / kindly ask for documentation? (I have read the bcw story starting at http://marc.info/?l=linux-wirelessm=117571766928130w=2 which gives me little hope.) I installed the uvideo firmware as documented in uvideo(4). I can capture an image with 'fswebcam image.jpg'; I have problems capturing a video stream with ffmpeg -y -f video4linux2 -s vga -r 25 -i /dev/video0 /tmp/out.mpg (the fps eventually drops to 0 and results in a tiny file containing just a few frames) but I haven't really tried tweaking the format options. X works; sound works; suspend/resume works, including machdep.lidsuspend. However, after the resume, apmd seems to be a bit confused: I use apmd -A, and after a resume, it always jumps to hw.setperf=100 and hw.cpuspeed=2000 (and the fan gets loud) although there is actually nothing much happening, load-wise. A workaround seems to be 'apm -L' followed by 'apm -A' again. That makes 'apmd -A' drop hw.setperf when there is not much work. As a macbook, it has no pgup/pgdn, home/end, delete/insert, etc. (Luckilly, there is a tilda.) Under MacOSX, there are key combinations (Fn+Up = PgUp etc) for these. What are people using under OpenBSD? Someone has a ~/.xmodmaprc figured out nicely? Also, the installer offered the ftp.sh.cvut.cz mirror, which is the university I work at; nice touch, this :-) Thank you very much. Jan OpenBSD 4.8-current (GENERIC.MP) #572: Wed Oct 6 14:22:30 MDT 2010 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2646556672 (2523MB) avail mem = 2562240512 (2443MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe (44 entries) bios0: vendor Apple Inc. version MB31.88Z.008E.B02.0803051832 date 03/05/08 bios0: Apple Inc. MacBook3,1 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices ADP1(S3) LID0(S3) ARPT(S3) GIGE(S3) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) UHC5(S3) EHC1(S3) EHC2(S3) EC__(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: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 1995.34 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG cpu0: 4MB 64b/line 16-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 1995.00 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG cpu1: 4MB 64b/line 16-way L2 cache ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP05) acpiprt2 at acpi0: bus 3 (RP06) acpiprt3 at acpi0: bus 4 (PCIB) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 15253732082930497 type 15253732284385612 oem 15253732284452179 acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: LCD_ acpivout1 at acpivideo0: VGA_ acpivout2 at acpivideo0: TV__ cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2000, 1800, 1600, 1400, 1200, 800 MHz memory map conflict 0xf00f8000/0x1000 memory map conflict 0xfed1c000/0x4000 memory map conflict 0xfffa/0x3 pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x03 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 0xa000, size 0x1000 inteldrm0 at vga1: apic 1 int 16 (irq 11) drm0 at inteldrm0 Intel GM965 Video rev 0x03 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 20 (irq 10) uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 16 (irq 11) ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 21 (irq 9) 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 82801H HD Audio rev 0x03: apic 1 int 20 (irq 10) azalia0: codecs: Realtek ALC885
Re: USB devices don't attach when urtw is under load
On Wed, Oct 13, 2010 at 09:32:59PM +0200, ??? ??? wrote: On Wed, Oct 13, 2010 at 12:49 PM, Jacob Meuser jake...@sdf.lonestar.org wrote: On Wed, Oct 13, 2010 at 10:56:24AM +0200, ??? ??? wrote: Under 05-Oct-2010 snapshot: 1. Plug in urtw device (I have a LevelOne device, don't know model as its plastic body is lost). 2. Start bittorrent client (or ftp or whatever loading urtw device). 3. Plug in any usb device - device doesn't get configured, lines not appended to dmesg, usbdevs hangs, otherwise operating system fully operational. 4. Stop loading urtw device. 5. Plug in and out any usb device - device gets configured, lines appended to dmesg. sounds like the device is messing up the usb task thread. B do you see 'usbtask' in 'top -S' or 'ps akx' output? I do: % ps -akx | grep usb 8 ?? DK 0:00.26 (usbtask) 24889 p1 S+ 0:00.01 grep usb is that while the urtw is causing problems? maybe try 'top -S -n200 | grep usb' too. -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: -current/amd64 @ macbook3,1
On Wed, Oct 13, 2010 at 11:51:47PM +0200, Jan Stary wrote: This is a fresh upgrade of current/amd64 on a Macbook3,1. Basically, everything works except the wifi and uvideo. I installed the uvideo firmware as documented in uvideo(4). I can capture an image with 'fswebcam image.jpg'; I have problems capturing a video stream with ffmpeg -y -f video4linux2 -s vga -r 25 -i /dev/video0 /tmp/out.mpg (the fps eventually drops to 0 and results in a tiny file containing just a few frames) but I haven't really tried tweaking the format options. ffmpeg doesn't work with video(4). frankly, I don't understand why video(4) support is enabled in ffmpeg, giving the the impression it's supposed to work, when it clearly doesn't. -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: -current/amd64 @ macbook3,1
Does it suspend? On Oct 13, 2010, at 16:51, Jan Stary h...@stare.cz wrote: This is a fresh upgrade of current/amd64 on a Macbook3,1. Basically, everything works except the wifi and uvideo. The wifi is reported as Wireless Card Type: AirPort Extreme (0x14E4, 0x88) Wireless Card Firmware: Broadcom BCM43xx 1.0 (510.91.21) by the MacOSX 10.5.8 I dualboot at the machine. It does not seem to be mentioned in the dmesg below. Who is the person at Broadcom that I shall scream at / kindly ask for documentation? (I have read the bcw story starting at http://marc.info/?l=linux-wirelessm=117571766928130w=2 which gives me little hope.) I installed the uvideo firmware as documented in uvideo(4). I can capture an image with 'fswebcam image.jpg'; I have problems capturing a video stream with ffmpeg -y -f video4linux2 -s vga -r 25 -i /dev/video0 /tmp/out.mpg (the fps eventually drops to 0 and results in a tiny file containing just a few frames) but I haven't really tried tweaking the format options. X works; sound works; suspend/resume works, including machdep.lidsuspend. However, after the resume, apmd seems to be a bit confused: I use apmd -A, and after a resume, it always jumps to hw.setperf=100 and hw.cpuspeed=2000 (and the fan gets loud) although there is actually nothing much happening, load-wise. A workaround seems to be 'apm -L' followed by 'apm -A' again. That makes 'apmd -A' drop hw.setperf when there is not much work. As a macbook, it has no pgup/pgdn, home/end, delete/insert, etc. (Luckilly, there is a tilda.) Under MacOSX, there are key combinations (Fn+Up = PgUp etc) for these. What are people using under OpenBSD? Someone has a ~/.xmodmaprc figured out nicely? Also, the installer offered the ftp.sh.cvut.cz mirror, which is the university I work at; nice touch, this :-) Thank you very much. Jan OpenBSD 4.8-current (GENERIC.MP) #572: Wed Oct 6 14:22:30 MDT 2010 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2646556672 (2523MB) avail mem = 2562240512 (2443MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe (44 entries) bios0: vendor Apple Inc. version MB31.88Z.008E.B02.0803051832 date 03/05/08 bios0: Apple Inc. MacBook3,1 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices ADP1(S3) LID0(S3) ARPT(S3) GIGE(S3) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) UHC5(S3) EHC1(S3) EHC2(S3) EC__(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: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 1995.34 MHz cpu0: FPU,VME,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,NXE,LONG cpu0: 4MB 64b/line 16-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 1995.00 MHz cpu1: FPU,VME,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,NXE,LONG cpu1: 4MB 64b/line 16-way L2 cache ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP05) acpiprt2 at acpi0: bus 3 (RP06) acpiprt3 at acpi0: bus 4 (PCIB) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 15253732082930497 type 15253732284385612 oem 15253732284452179 acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: LCD_ acpivout1 at acpivideo0: VGA_ acpivout2 at acpivideo0: TV__ cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2000, 1800, 1600, 1400, 1200, 800 MHz memory map conflict 0xf00f8000/0x1000 memory map conflict 0xfed1c000/0x4000 memory map conflict 0xfffa/0x3 pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x03 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 0xa000, size 0x1000 inteldrm0 at vga1: apic 1 int 16 (irq 11) drm0 at inteldrm0 Intel GM965 Video rev 0x03 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 20 (irq 10) uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 16 (irq 11) ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 21 (irq 9) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI
Re: USB devices don't attach when urtw is under load
On Thu, Oct 14, 2010 at 12:01 AM, Jacob Meuser jake...@sdf.lonestar.org wrote: On Wed, Oct 13, 2010 at 09:32:59PM +0200, ??? ??? wrote: % ps -akx | grep usb B B 8 ?? B DK B B B 0:00.26 (usbtask) 24889 p1 B S+ B B B 0:00.01 grep usb is that while the urtw is causing problems? B maybe try 'top -S -n200 | grep usb' too. After inserting a usb device (3COM WiFi adapter mentioned in the first mail) I get no notice on dmesg and following: % ps -akx | grep usb 8 ?? DK 0:00.26 (usbtask) 7243 p1 S+ 0:00.01 grep usb % top -S -n 200 | grep usb 8 root -600K 19M idle usbsyn0:00 0.00% usbtask -- Dmitrij D. Czarkoff
RESOLVED: segmentation faults during compiling
Hello, A while back I posted that gcc/g++ was segfault consistently while compiling ITK (ITK.org, mixed c c++). It turns out that the stacksize limit is too low. It was 4M by default. While I was in there I also changed the default section in /etc/login.conf to have these limits :datasize-max=768M:\ :memoryuse-max=512M:\ :memorylocked-max=512M:\ :datasize-cur=512M:\ :openfiles-max=768:\ :openfiles-cur=512:\ :stacksize-cur=16M:\ :stacksize-max=64M:\ and the seg faults have gone way down (they have almost disappeared). This machine is old and only one I can install OpenBSD on in our lab (rest of them have an NVIDIA network card NVIDIA graphics card). It is an old Xeon 2.4 Ghz with 1 GB RAM. My question is: when we do an initial/fresh install, are these limits set dynamically or they are hard coded? If I install on another machine do I have to change the limits in /etc/login.conf manually? Thanks
Re: -current/amd64 @ macbook3,1
On Oct 13 17:01:23, Marco Peereboom wrote: Does it suspend? On Oct 13, 2010, at 16:51, Jan Stary h...@stare.cz wrote: suspend/resume works, including machdep.lidsuspend. In fact, I have just done five successfull suspends/resumes; the sixth didn't really resume: the keyboard was unresponsive. But the machine was accessible remotely via ssh, and I rebooted cleanly. However, after the resume, apmd seems to be a bit confused: I use apmd -A, and after a resume, it always jumps to hw.setperf=100 and hw.cpuspeed=2000 (and the fan gets loud) although there is actually nothing much happening, load-wise. A workaround seems to be 'apm -L' followed by 'apm -A' again. That makes 'apmd -A' drop hw.setperf when there is not much work.
Re: -current/amd64 @ macbook3,1
On Oct 13 22:07:27, Jacob Meuser wrote: On Wed, Oct 13, 2010 at 11:51:47PM +0200, Jan Stary wrote: This is a fresh upgrade of current/amd64 on a Macbook3,1. Basically, everything works except the wifi and uvideo. I installed the uvideo firmware as documented in uvideo(4). I can capture an image with 'fswebcam image.jpg'; I have problems capturing a video stream with ffmpeg -y -f video4linux2 -s vga -r 25 -i /dev/video0 /tmp/out.mpg (the fps eventually drops to 0 and results in a tiny file containing just a few frames) but I haven't really tried tweaking the format options. ffmpeg doesn't work with video(4). frankly, I don't understand why video(4) support is enabled in ffmpeg, giving the the impression it's supposed to work, when it clearly doesn't. On another machine (HP EliteBook 8530w running a recent -current) I can capture video(4) just fine - using certain resolutions and frame rates, that is.
Re: Looks like my 4.8 CD is in the mail!
On Wednesday, October 13, 2010, 17:02:12, Jeremy Chase wrote: I just got this in my inbox: USPS OpenBSD Order:2010/9/10-13:4:42-15337-- Ditto USPS OpenBSD Order:2010/9/8-15:0:32-30218: -- r...@polylogics.com The avalanche has already started, it is too Rod Dorman late for the pebbles to vote. - Ambassador Kosh
Re: computer hangs after varying amount of data is received from network via ssh
Robert wrote: On Wed, 13 Oct 2010 16:55:18 -0400 Ted Unangst ted.unan...@gmail.com wrote: can be done about it, and 10 year old quirky PC hardware doesn't attract a of interest... As long as it's on [1] I hope it does? I guess I'm not the only one who uses a Pentium 4 (or older stuff) for firewalls and other systems, since they are very cheap to buy and replace, and are more than sufficient (speed) for a lot of tasks. regards, Robert [1] http://www.openbsd.org/i386.html Well, as already stated, old hardware can be quirky, regardless of actual OS support of it... I noticed that your wd0 is a really old 15 gig ATA clunker, while you also have access to a SATA controller on board with a modern disk attached. The error you're experiencing suggests that either the old drive is failing, the cabling between the drive and the controller is faulty or the controller simply isn't that well supported in the first place (or at all working - there have been buggy IDE/ATA controllers out there). (Or that, like Ted indicated, there are problems with the bios, pci controller, network i/f or with other hardware, or some sort of conflict in between. When I've seen that particular error myself it's been even money between a drive failure and some sort of hw conflict being the culprit.) My first suggestion would be to get rid of the dusty old drive and get a SATA drive as the root volume, eliminating the ATA controller from the equation. Not only would that likely do wonders for your system's MTBF, there is a good chance it actually solves the problem too. Regards, /Benny -- internetlabbet.se / work: +46 8 551 124 80 / Words must Benny Lvfgren/ mobile: +46 70 718 11 90 / be weighed, / fax:+46 8 551 124 89/not counted. /email: benny -at- internetlabbet.se
Re: USB devices don't attach when urtw is under load
On Thu, Oct 14, 2010 at 12:33:34AM +0200, ??? ??? wrote: On Thu, Oct 14, 2010 at 12:01 AM, Jacob Meuser jake...@sdf.lonestar.org wrote: On Wed, Oct 13, 2010 at 09:32:59PM +0200, ??? ??? wrote: % ps -akx | grep usb B B 8 ?? B DK B B B 0:00.26 (usbtask) 24889 p1 B S+ B B B 0:00.01 grep usb is that while the urtw is causing problems? B maybe try 'top -S -n200 | grep usb' too. After inserting a usb device (3COM WiFi adapter mentioned in the first mail) I get no notice on dmesg and following: % ps -akx | grep usb 8 ?? DK 0:00.26 (usbtask) 7243 p1 S+ 0:00.01 grep usb % top -S -n 200 | grep usb 8 root -600K 19M idle usbsyn0:00 0.00% usbtask usbsyn - there's a synchronous usb transfer not finishing. does this recover (i.e. usbtask thread is not waiting in usbsyn) when you remove the device? does this happen with all usb devices? does it happen in all usb ports? -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: -current/amd64 @ macbook3,1
On Thu, Oct 14, 2010 at 12:59:37AM +0200, Jan Stary wrote: On Oct 13 22:07:27, Jacob Meuser wrote: On Wed, Oct 13, 2010 at 11:51:47PM +0200, Jan Stary wrote: This is a fresh upgrade of current/amd64 on a Macbook3,1. Basically, everything works except the wifi and uvideo. I installed the uvideo firmware as documented in uvideo(4). I can capture an image with 'fswebcam image.jpg'; I have problems capturing a video stream with ffmpeg -y -f video4linux2 -s vga -r 25 -i /dev/video0 /tmp/out.mpg (the fps eventually drops to 0 and results in a tiny file containing just a few frames) but I haven't really tried tweaking the format options. ffmpeg doesn't work with video(4). frankly, I don't understand why video(4) support is enabled in ffmpeg, giving the the impression it's supposed to work, when it clearly doesn't. On another machine (HP EliteBook 8530w running a recent -current) I can capture video(4) just fine - using certain resolutions and frame rates, that is. with ffmpeg? can you share your command, I've never gotten it to work. -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: RESOLVED: segmentation faults during compiling
On Wed, Oct 13, 2010 at 6:37 PM, Amit Kulkarni amitk...@gmail.com wrote: My question is: when we do an initial/fresh install, are these limits set dynamically or they are hard coded? If I install on another machine do I have to change the limits in /etc/login.conf manually? login.conf is the same for every install.
Re: RESOLVED: segmentation faults during compiling
My question is: when we do an initial/fresh install, are these limits set dynamically or they are hard coded? If I install on another machine do I have to change the limits in /etc/login.conf manually? Yes, these limits are hardcoded and on a per-architecture basis. For now all of them are using the same values, though. -- Simon Nicolussi, simon.nicolu...@student.uibk.ac.at http://homepage.uibk.ac.at/~csag9583/
Re: computer hangs after varying amount of data is received from network via ssh
On Wed, Oct 13, 2010 at 5:25 PM, Robert info...@die-optimisten.net wrote: On Wed, 13 Oct 2010 16:55:18 -0400 Ted Unangst ted.unan...@gmail.com wrote: can be done about it, and 10 year old quirky PC hardware doesn't attract a of interest... As long as it's on [1] I hope it does? I guess I'm not the only one who uses a Pentium 4 (or older stuff) for firewalls and other systems, since they are very cheap to buy and replace, and are more than sufficient (speed) for a lot of tasks. I'm sorry to say that given the choice between making acpi suspend work on the entire thinkpad line sitting in front of a developer or some random duron system a million miles away, it's not even a choice.
Re: set block device timeout
can you get me a backtrace when the system panics? ive been trying to reproduce this locally without success. cheers, dlg On 13/10/2010, at 11:00 PM, Marian Hettwer wrote: Hi All, I'm wondering how I could configure scsi I/O timeout in OpenBSD. I need to fiddle around with that since I'm using OpenBSD at work in some heavy (over)loaded ESX vmware cluster. From to time to the disk backend may response really slow. A stock linux would remount the filesystem read/only, whereas my OpenBSD 4.7 boxes just paniced. (And Solaris 10 just kept on running. Probably some really high scsi i/o timeouts as default). In FreeBSD the sysctl kern.cam.da.default_timeout seems to do the trick. On Linux it's /sys/block/*/device/timeout. Is there an equivilant in OpenBSD? I couldn't find anything while searching the misc@ archives (using gmane.org). thanks in advance, Marian PS.: please keep me CC'd, I'm not subscribed.
hardware donation
would any of the openbsd devs like a franklin (sprint) u300 wireless card? i'll ship it for free to canada or within the u.s. -scott
Re: RESOLVED: segmentation faults during compiling
On Wed, Oct 13, 2010 at 6:37 PM, Amit Kulkarni amitk...@gmail.com wrote: My question is: when we do an initial/fresh install, are these limits set dynamically or they are hard coded? If I install on another machine do I have to change the limits in /etc/login.conf manually? login.conf is the same for every install. There has been talk about going thourgh /usr/src/etc and building machine-dependent (that means architecture-dependent for those of you who are not on The Team) variations for this. People who dug into this got scared and didn't finish. We'd be willing to look at things other people start for this... and then provide a long series of comments... if someone has the staying power...
Re: computer hangs after varying amount of data is received from network via ssh
On Wed, Oct 13, 2010 at 5:25 PM, Robert info...@die-optimisten.net wrote: On Wed, 13 Oct 2010 16:55:18 -0400 Ted Unangst ted.unan...@gmail.com wrote: can be done about it, and 10 year old quirky PC hardware doesn't attract a of interest... As long as it's on [1] I hope it does? I guess I'm not the only one who uses a Pentium 4 (or older stuff) for firewalls and other systems, since they are very cheap to buy and replace, and are more than sufficient (speed) for a lot of tasks. I'm sorry to say that given the choice between making acpi suspend work on the entire thinkpad line sitting in front of a developer or some random duron system a million miles away, it's not even a choice. Indeed. I've asked for donations of laptops that don't suspend in the past. I'll work on them if I have them. I have one laptop that doesn't suspend, and it has a Geode CPU so don't even think of asking me to get into the details of how many hours I've spent so far. In response to my request, I've received one laptop -- with a broken screen -- that doesn't help much. I guess you get what you pay for.
Re: -current/amd64 @ macbook3,1
On Thu, Oct 14, 2010 at 12:05:09AM +, Jacob Meuser wrote: On Thu, Oct 14, 2010 at 12:59:37AM +0200, Jan Stary wrote: On Oct 13 22:07:27, Jacob Meuser wrote: On Wed, Oct 13, 2010 at 11:51:47PM +0200, Jan Stary wrote: This is a fresh upgrade of current/amd64 on a Macbook3,1. Basically, everything works except the wifi and uvideo. I installed the uvideo firmware as documented in uvideo(4). I can capture an image with 'fswebcam image.jpg'; I have problems capturing a video stream with ffmpeg -y -f video4linux2 -s vga -r 25 -i /dev/video0 /tmp/out.mpg (the fps eventually drops to 0 and results in a tiny file containing just a few frames) but I haven't really tried tweaking the format options. ffmpeg doesn't work with video(4). frankly, I don't understand why video(4) support is enabled in ffmpeg, giving the the impression it's supposed to work, when it clearly doesn't. On another machine (HP EliteBook 8530w running a recent -current) I can capture video(4) just fine - using certain resolutions and frame rates, that is. with ffmpeg? can you share your command, I've never gotten it to work. fwiw, this is what I use, because using ffmpeg to capture directly from video(4) has never worked for me: $ video -f /dev/video1 -e yuy2 -s 640x480 -r 20 -o - | ffmpeg -y \ -f rawvideo -pix_fmt yuyv422 -s 640x480 -r 20 -i - \ -itsoffset 0.5 -f sndio -ar 16000 -ac 1 -i sun:1 out.avi the audio is just slightly ahead (out of sync) without the -itsoffset. the sndio backend in ffmpeg has fairly accurate timestamping; the stamps should represent when the sound actually happened. video(1) otoh is just outputting a stream of raw frames, so ffmpeg assumes the frames' timestamp is when they are read from stdin. apparently on this system with this camera it takes about a half second for images to be captured and sent to stdout. -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: computer hangs after varying amount of data is received from network via ssh
On 10/13/10 17:25, Robert wrote: On Wed, 13 Oct 2010 16:55:18 -0400 Ted Unangst ted.unan...@gmail.com wrote: can be done about it, and 10 year old quirky PC hardware doesn't attract a of interest... As long as it's on [1] I hope it does? I guess I'm not the only one who uses a Pentium 4 (or older stuff) for firewalls and other systems, since they are very cheap to buy and replace, and are more than sufficient (speed) for a lot of tasks. regards, Robert [1] http://www.openbsd.org/i386.html There are big differences between well-designed hardware, poorly designed and implemented hardware, hardware is working properly and hardware that is malfunctioning. A lot of hardware out there was tested with Windows-of-the-Day (and maybe the day before) and that's it. Anything else it works with, great, but it was by luck, not design. A lot of early AMD stuff was junk. I'm not talking about the AMD chips themselves, I'm talking about the REST of the computer. I've got a few AMD K6 systems, and NONE of them can build from source at the rated speed with OpenBSD. They'll run the OS just fine, but they can't build, giving sig11's at random places during the process. Replace the RAM with stuff that has worked well in 133MHz bus machines, same thing. Slow down the bus speed, increase the multiplier, and suddenly they work fine. I don't think that's an OpenBSD problem, and I really don't want developers fighting with that. I have heard reports of these kinds of problems extending well into the Athlon days... In your case, though, yes, I'd look closely at your hardware. Not sure why you have both a 150G disk and a 15G disk...double your chances of disk failure taking your system out...for 10% more storage. I also see re2 is on irq12. That's the PS/2 mouse IRQ. Sure, you don't have a mouse on your machine, maybe you have the mouse port off in the BIOS...but I'd be completely unsurprised if your HW mfg screwed the pooch and didn't really disconnect the PS/2 hardware from IRQ controller, and that could be causing some of your issues there (twist knobs in the system BIOS, you can probably fix this). And I'd not be surprised in the least if BOTH were problems for you... Nick.