Re: pkg_mgr, ntfs_3g, sudo, partition access.

2016-04-23 Thread Paul Irofti
> 2. I installed ntfs_3g but still I can not write over ntfs flash usb! How
> can I do that?

Are you using the mount(8) command? Do not! Use ntfs-3g(8).



Re: Octeon snapshots

2015-12-09 Thread Paul Irofti
> [1]: https://www.mail-archive.com/tech%40openbsd.org/msg26048.html

You have to use the octeon native objcopy by building the cross
compiler:

  # cd /usr/src
  # make -f Makefile.cross TARGET=octeon cross-gcc

And then use the objcopy from

  /usr/cross/octeon/usr/mips64-unknown-openbsd5.8/bin/objcopy



Re: Lenovo x250 with current

2015-11-05 Thread Paul Irofti
On Wed, Nov 04, 2015 at 09:21:44AM -0600, lists wrote:
> Hi Misc,
> 
> Is anyone running the Lenovo x250 with current? If so, I have some
> question about screen brightness adjustment.
> 
> Thanks,
> 
> Jim

Don't ask if you can ask, just ask!



Re: 5.5/i386 acpitz0: _AL0[0] _PR0 failed

2014-05-07 Thread Paul Irofti
Hi Shawn,

This report needs more information.

First, could you upgrade to -current and see if the behaviour is
preserved?

Second, please share the acpidump on that machine, the apm performance
adjustment mode, the present fans and their status when this happens.

Thanks for the report,
Paul



Re: acpitz3: critical temperature exceeded with HP nc6320 Laptop

2014-04-12 Thread Paul Irofti
Steve,

can you test this diff for me and tell me if it fixes anything for you.

I'll also be attending BSDCan to give a talk, see you there! 


Index: dsdt.c
===
RCS file: /cvs/src/sys/dev/acpi/dsdt.c,v
retrieving revision 1.205
diff -u -p -r1.205 dsdt.c
--- dsdt.c  12 Dec 2013 20:56:01 -  1.205
+++ dsdt.c  12 Apr 2014 10:45:02 -
@@ -736,72 +736,58 @@ static long global_lock_count = 0;
 void
 acpi_glk_enter(void)
 {
-   acpi_acquire_glk(acpi_softc-sc_facs-global_lock);
-}
-
-void
-acpi_glk_leave(void)
-{
-   int x;
-
-   if (acpi_release_glk(acpi_softc-sc_facs-global_lock)) {
-   /*
-* If pending, notify the BIOS that the lock was released
-* by the OSPM. No locking is needed because nobody outside
-* the ACPI thread is touching this register.
-*/
-   x = acpi_read_pmreg(acpi_softc, ACPIREG_PM1_CNT, 0);
-   x |= ACPI_PM1_GBL_RLS;
-   acpi_write_pmreg(acpi_softc, ACPIREG_PM1_CNT, 0, x);
-   }
-}
-
-void
-aml_lockfield(struct aml_scope *scope, struct aml_value *field)
-{
int st = 0;
 
-   if (AML_FIELD_LOCK(field-v_field.flags) != AML_FIELD_LOCK_ON)
-   return;
-
-   /* If lock is already ours, just continue */
+   /* If lock is already ours, just continue. */
if (global_lock_count++)
return;
 
-   /* Spin to acquire lock */
+   /* Spin to acquire the lock. */
while (!st) {
st = acpi_acquire_glk(acpi_softc-sc_facs-global_lock);
/* XXX - yield/delay? */
}
-
-   return;
 }
 
 void
-aml_unlockfield(struct aml_scope *scope, struct aml_value *field)
+acpi_glk_leave(void)
 {
-   int st, x, s;
+   int st, x;
 
-   if (AML_FIELD_LOCK(field-v_field.flags) != AML_FIELD_LOCK_ON)
-   return;
-
-   /* If we are the last ones, turn out the lights */
+   /* If we are the last one, turn out the lights. */
if (--global_lock_count)
return;
 
-   /* Release lock */
st = acpi_release_glk(acpi_softc-sc_facs-global_lock);
if (!st)
return;
 
-   /* Signal others if someone waiting */
-   s = spltty();
+   /*
+* If pending, notify the BIOS that the lock was released by
+* OSPM.  No locking is needed because nobody outside the ACPI
+* thread is supposed to touch this register.
+*/
x = acpi_read_pmreg(acpi_softc, ACPIREG_PM1_CNT, 0);
x |= ACPI_PM1_GBL_RLS;
acpi_write_pmreg(acpi_softc, ACPIREG_PM1_CNT, 0, x);
-   splx(s);
+}
+
+void
+aml_lockfield(struct aml_scope *scope, struct aml_value *field)
+{
+   if (AML_FIELD_LOCK(field-v_field.flags) != AML_FIELD_LOCK_ON)
+   return;
+
+   acpi_glk_enter();
+}
+
+void
+aml_unlockfield(struct aml_scope *scope, struct aml_value *field)
+{
+   if (AML_FIELD_LOCK(field-v_field.flags) != AML_FIELD_LOCK_ON)
+   return;
 
-   return;
+   acpi_glk_leave();
 }
 
 /*
Index: acpiec.c
===
RCS file: /cvs/src/sys/dev/acpi/acpiec.c,v
retrieving revision 1.48
diff -u -p -r1.48 acpiec.c
--- acpiec.c2 Jul 2013 18:37:47 -   1.48
+++ acpiec.c12 Apr 2014 10:45:03 -
@@ -34,6 +34,7 @@
 
 intacpiec_match(struct device *, void *, void *);
 void   acpiec_attach(struct device *, struct device *, void *);
+intacpiec_activate(struct device *, int);
 
 u_int8_t   acpiec_status(struct acpiec_softc *);
 u_int8_t   acpiec_read_data(struct acpiec_softc *);
@@ -54,6 +55,7 @@ int   acpiec_getregister(const u_int8_t *
 
 void   acpiec_wait(struct acpiec_softc *, u_int8_t, u_int8_t);
 void   acpiec_sci_event(struct acpiec_softc *);
+void   acpiec_clear_events(struct acpiec_softc *);
 
 void   acpiec_get_events(struct acpiec_softc *);
 
@@ -82,7 +84,8 @@ void  acpiec_unlock(struct acpiec_softc 
 intacpiec_reg(struct acpiec_softc *);
 
 struct cfattach acpiec_ca = {
-   sizeof(struct acpiec_softc), acpiec_match, acpiec_attach
+   sizeof(struct acpiec_softc), acpiec_match, acpiec_attach,
+   NULL, acpiec_activate
 };
 
 struct cfdriver acpiec_cd = {
@@ -296,6 +299,8 @@ acpiec_attach(struct device *parent, str
acpi_set_gpehandler(sc-sc_acpi, sc-sc_gpe, acpiec_gpehandler,
sc, 1);
 #endif
+
+   acpiec_clear_events(sc);

if (aml_evalname(sc-sc_acpi, sc-sc_devnode, _GLK, 0, NULL, res))
sc-sc_glk = 0;
@@ -307,6 +312,20 @@ acpiec_attach(struct device *parent, str
printf(\n);
 }
 
+int
+acpiec_activate(struct device *self, int act)
+{
+   struct acpiec_softc *sc = (struct acpiec_softc *)self;
+
+
+   switch (act) {
+   case DVACT_RESUME:
+   

Re: Dual booting OpenBSD and Windows 8.1

2013-11-15 Thread Paul Irofti
 Oh really ? you've never managed to put an OS out of commission by trying
 to multiboot ? you've never had a so-called install program just reclaim
 all of your hard-drive ?
 
 esp. with Windows where it can be *very* tiresome and difficult to track
 all the pieces you need to reinstall (especially with recent OEM stuff
 which does not even provide you with any boot media!)
 
 
 I'll put it another way: STOP SCARING NEWCOMERS FROM ASKING LEGITIMATE
 QUESTIONS!
 
 If it's in the faq, and easy to find, then *FINE*, flame away.
 
 But if it's not, SHUT THE FUCK UP, or go improve the faq.
 
 I want to be able to keep skimming over misc@ and figure out
 difficulties newcomers will have because our 
 faq/manpages/cross-reference system is not 100% foolproof.
 
 You guys who say windows 8.1 is easy are *all welcome* to write
 the necessary information for the FAQ.
 
 Dealing with:
 - UDFI and legacy mode
 - UPT
 - correct boots
 - other gotcha besides the windows by default switches to gfx mode.
 
 I see about ZIP about all that in the current FAQ.

Marc has a really good point here.

Please stop this pointless debate and instead spend your time
contributing to our documentation or helping in other ways.



Re: [OT] Loongson hardware in Europe

2013-11-13 Thread Paul Irofti
On Wed, Nov 13, 2013 at 10:03:58AM -0500, Brian Callahan wrote:
 On 11/13/2013 9:56 AM, Christian Weisgerber wrote:
 ropers rop...@gmail.com wrote:
 
 Having long wanted to run http://www.openbsd.org/loongson.html, I've
 just seen that the main EU vendor of Loongson/Lemote/Yeeloong has
 finally -temporarily, they say- significantly cut the hitherto
 relatively high cost of these machines.
 I'm not going to spam the URL, but if this interests you and you can't
 figure out who this is (it's not Wim; it's the other guys), then drop
 me a line.
 
 What a stupid game.  Are you talking about tekmote.nl?
 
 
 He is. I was just donated a Loongson-3A laptop from that sale.

For the same price as of a low-end amd64 laptop you get:

 Processor: LoongSon 3A, 900MHz
 [...]
 Battery duration: 2,5 hours after recharging

And then the motto:
 Apple in Linux hardware!

What a joke...

Thanks to this thread I remembered the disappointment when the 3A
was announced.



Re: ACPI support on HP laptop

2013-07-08 Thread Paul Irofti
On Sun, Jul 07, 2013 at 10:42:57PM +0200, Riccardo Mottola wrote:
 Hi Paul,
 
 Paul Irofti wrote:
 A/C adapter state: not connected
 Does this change if the A/C is plugged in? Was it really unplugged when
 you ran apm? That might explain the low frequency CPU setting.
 Yes. The laptop was unplugged. APM information about AC adapter
 status is correct.
 
 If I boot the laptop when it is connected to AC power, it will boot
 at full CPU frequency and stay high. However if booted while on
 battery it remains low.
 Performance adjustment mode: manual (599 MHz)
 
 Interesting is that the CPU is not running at full speed, which is 1600Mhz.
 What's your setperf set to? (sysctl hw.setperf)
 Right now, on battery but booted while on AC power, I do get:
 
 $ sysctl hw.setperf
 hw.setperf=99

What's the setperf value when you boot on battery and you have the CPU
set at 600MHz? If it less than 100 try and crank it up and see if the
frequency changes. If it works try different apm adjustment modes.



Re: ACPI support on HP laptop

2013-07-08 Thread Paul Irofti
On Mon, Jul 08, 2013 at 08:15:51AM +, Alexey E. Suslikov wrote:
 Paul Irofti paul at irofti.net writes:
 
   $ sysctl hw.setperf
   hw.setperf=99
  
  What's the setperf value when you boot on battery and you have the CPU
  set at 600MHz? If it less than 100 try and crank it up and see if the
  frequency changes. If it works try different apm adjustment modes.
 
 Dunno if it really matters, I always do
 
 hw.setperf=0
 hw.setperf=100
 
 in my sysctl.conf on my old Intel Atom (because it
 still boots at 99).

Not sure I follow, does it work when you crank it up?
What's the setperf value you get when you boot w/o the AC plugged in?
Without any hacks in your sysctl or whatever.



Re: ACPI support on HP laptop

2013-07-07 Thread Paul Irofti
 A/C adapter state: not connected

Does this change if the A/C is plugged in? Was it really unplugged when
you ran apm? That might explain the low frequency CPU setting.

 Performance adjustment mode: manual (599 MHz)
 
 Interesting is that the CPU is not running at full speed, which is 1600Mhz.

What's your setperf set to? (sysctl hw.setperf)

 I suppose this is part of the problem:
 $ dmesg | grep acpi
 acpi at bios0 function 0x0 not configured

This is an APM machine. Not an ACPI one.

A bunch of HP fixes went in. If you feel like experimenting more you can
update to current and disable apm at boot and enable acpi. See what
happens.

 OpenBSD 5.2 (GENERIC) #278: Wed Aug  1 10:04:16 MDT 2012
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Pentium(R) M processor 1.60GHz (GenuineIntel
 686-class) 599 MHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
 real mem  = 536211456 (511MB)
 avail mem = 516587520 (492MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 06/23/05, BIOS32 rev. 0 @
 0xf, SMBIOS rev. 2.3 @ 0xfa1ee (31 entries)
 bios0: vendor Hewlett-Packard version 68BDD Ver. F.14 date 06/23/2005
 bios0: Hewlett-Packard HP Compaq nc6000 (DU447EA#ABZ)
 apm0 at bios0: Power Management spec V1.2 (BIOS managing devices)
 acpi at bios0 function 0x0 not configured
 pcibios0 at bios0: rev 2.1 @ 0xf/0x2000
 
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf0840/160 (8 entries)
 pcibios0: bad IRQ table checksum
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf6360/160 (8 entries)
 pcibios0: PCI Exclusive IRQs: 5 10 11
 pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801DBM LPC rev 0x00)
 pcibios0: PCI bus #5 is the last bus
 bios0: ROM list: 0xc/0x1
 cpu0 at mainbus0: (uniprocessor)
 cpu0: Enhanced SpeedStep 599 MHz: speeds: 1600, 1400, 1200, 1000,
 800, 600 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03
 intelagp0 at pchb0
 agp0 at intelagp0: aperture at 0xb000, size 0x1000
 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M10 rev 0x00
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 radeondrm0 at vga1: irq 10
 drm0 at radeondrm0
 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x03: irq 10
 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x03: irq 10
 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x03: irq 10
 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x03: irq 10
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x83
 pci2 at ppb1 bus 2
 ath0 at pci2 dev 4 function 0 Atheros AR5212 rev 0x01: irq 11
 ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, WOR0W, address
 00:12:79:3d:3d:9c
 cbb0 at pci2 dev 6 function 0 O2 Micro OZ711E0 CardBus rev 0x00: irq 10
 cbb1 at pci2 dev 6 function 1 O2 Micro OZ711E0 CardBus rev 0x00: irq 10
 O2 Micro OZ711Mx Misc rev 0x00 at pci2 dev 6 function 2 not configured
 cbb2 at pci2 dev 6 function 3 O2 Micro OZ711E0 CardBus rev 0x00: irq 10
 bge0 at pci2 dev 14 function 0 Broadcom BCM5705M Alt rev 0x03,
 BCM5705 A3 (0x3003): irq 11, address 00:08:02:e9:14:06
 
 brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 2
 cardslot0 at cbb0 slot 0 flags 0
 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0x20
 pcmcia0 at cardslot0
 cardslot1 at cbb1 slot 1 flags 0
 cardbus1 at cardslot1: bus 4 device 0 cacheline 0x0, lattimer 0x20
 pcmcia1 at cardslot1
 cardslot2 at cbb2 slot 2 flags 0
 cardbus2 at cardslot2: bus 5 device 0 cacheline 0x0, lattimer 0x20
 pcmcia2 at cardslot2
 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x03:
 24-bit timer at 3579545Hz
 pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x03:
 DMA, channel 0 configured to compatibility, channel 1 configured to
 compatibility
 wd0 at pciide0 channel 0 drive 0: IBM-DJSA-210
 wd0: 16-sector PIO, LBA, 5729MB, 11733120 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: TEAC, DW-224E-A, A.2F ATAPI 5/cdrom
 removable
 cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x03: irq
 11, ICH4 AC97
 ac97: codec id 0x41445374 (Analog Devices AD1981B)
 ac97: codec features headphone, 20 bit DAC, No 3D Stereo
 audio0 at auich0
 Intel 82801DB Modem rev 0x03 at pci0 dev 31 function 6 not configured
 usb1 at uhci0: USB revision 1.0
 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb2 at uhci1: USB revision 1.0
 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb3 at uhci2: USB revision 1.0
 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
 isa0 

Re: Utility to evaluate AML (disable discrete vga) ?

2013-06-18 Thread Paul Irofti
On Tue, Jun 18, 2013 at 02:40:22AM +0200, Tori Mus wrote:
 Hello,
 
 first I've to admit I'm really excited with OpenBSD. Today finished a fresh
 install, most things do work out of a box, sane defaults, excellent
 documentation, impression of consistent design and smooth experience so
 far. Deserted from Linux world because things get constantly breaking
 (repeated kernel regressions, system inits, devices management, userland
 instead of system solutions like networking or power handling, etc. etc.).
 
 Sorry for the above intro but I'm very pleased to just found what I've been
 (hopefully) looking for.
 
 To significantly reduce power consumption on a notebook, I'd need yet to
 disable the discrete nvidia graphics adapter to a fully satisfaction.
 After some investigation of acpidump output I have the proper AML to be
 sent/evaluated to take an effect of turning off this card. Is there some
 tool or similar way how to evaluate/send this AML ? Or do I have to write
 my own code by `9 aml_evalnode' man page ? Did tested on FreeBSD with
 acpi_control and did worked reliably.
 
 Any idea ?

We don't have a proxy like that in userland. Not even for testing
or development. So your best bet is to either write your own tool
(which would probably be the fastest method) or find a place for your
work in the kernel and submit a patch (cleanest method but also hard
to get right and hard to generalize for more than your model).

If you chose the later look at specialized devices such as acpisony(4),
acpiasus(4), acpithinkpad(4) and others in sys/dev/acpi.

We don't really support nvidia graphic cards so this will be
interesting.



Re: Suspend/Resume on Lemote Yeeloong netbook

2013-06-13 Thread Paul Irofti
On Wed, Jun 12, 2013 at 11:01:37AM +0100, Garry Taylor wrote:
 Just bumping this issue. I've got a Lemote netbook which will sleep, but
 not resume. I need this to work, or I just won't be able to use the device.
 
 If I can confirm that it's not going to work properly in the foreseeable
 future, then I can offload it.

dmesg or it didn't happen!



Re: reboot after panic: pool_do_put

2013-02-10 Thread Paul Irofti
Can you reproduce this consitently?

It would make it easier to debug for me.



Re: GENERIC-kernel hangs at acpivout, ASUS N55SF laptop

2012-10-30 Thread Paul Irofti
On Tue, Oct 30, 2012 at 06:47:15AM +0400, Mike Korbakov wrote:
 Hi, Group!
 
 GENERIC kernel from OpenBSD5.1 to current hangs at boot,
 trace pointed to acpivout. I've commented acpivout in kernel config,
 kernel boots successfully, but X seems unstable and CPU runs
 at lowest speed.
 This laptop has hybrid videocard Intel HD Graphics 3000 and
 NVIDIA® GeForce® GT 555M 2GB DDR3 VRAM
 Linux (Ubuntu-12.04) has problems with this video too (especially proprietary 
 drivers)
 

Can you please send the acpidump, the panic and the trace?

You can copy the panic and the trace on a piece of paper first if you
don't have a serial connection.

You can fetch the acpidump from the shell when running your custom kernel.



Re: Fn keyboard issue on lenovo ideapad

2012-06-29 Thread Paul Irofti
On Thu, Jun 28, 2012 at 08:24:46PM +0200, frantisek holop wrote:
 hi there,
 
 it seems that the Fn key on my netbook is a bit too eager.
 it seems to work at first glance all right, fn+volume up/down,
 fn+brightness works, though fn+rfkill does not.

This is bugs@ material.

Can you put the acpidump somewhere?
Curious that acpithinkpad doesn't attach.



Re: Romanian layout in OpenBSD

2012-06-28 Thread Paul Irofti
On Wed, Jun 27, 2012 at 09:07:53PM +0300, Claudiu Tanaselia wrote:
 Hi Paul,
 
 Nice to see other gyp^H^H^HRomanians around here.

Come, have a sit. Warm your bones beside the fire...

 I don't know why I chose UTF-16, it was just to make sure everybody
 knew what characters I was referring to. Could have been UTF-8 as
 well, just a bad pick from my part.
 
 Thanks for your input, I'll need some time to digest and understand
 all your settings (still testing things out and still learning).

Feel free to email me in private if you need further native explanations.

 For the time being, I'm using Xfce with its own keyboard layout
 options and works great for my Office-like text editor needs, but if
 I'll ever change my desktop manager, I'll have to find some more
 general approaches, like you suggested. Thought as wscons as the most
 general approach to Romanian special characters, but you're right,
 it's not like someone's using them outside X anyway.

Don't get me wrong, it would be nice to have them in wscons as well.
I was just presenting a practical approach until then.



Re: Romanian layout in OpenBSD

2012-06-26 Thread Paul Irofti
On Tue, Jun 26, 2012 at 03:03:11PM +0300, Claudiu Tanaselia wrote:
 Hello,
 
 I wasn't surprised to find out that Romanian keyboard layout is not
 supported by default OpenBSD installation. However, I think this

That's because gysies use dvorak layout.

 problem is fixable (at least locally if not in future releases), but
 I'll need your help, since I'm new to OpenBSD.

I do the following:

LC_CTYPE=ro_RO.UTF-8

in my .profile and then

XTerm*Font: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
XTerm*eightBitInput: true
XTerm*locale: true
XTerm*utf8: 1

in my .Xdefaults and then my XCompose looks like this:

#include %L

Multi_key period: ă   U0103
Multi_key greater   : Ă   U0102
Multi_key a : â   UE2
Multi_key A : Â   UC2
Multi_key i : î   UEE
Multi_key I : Î   UCE

# Cedilla versions
#Multi_key t: ţ   U0163
#Multi_key T: Ţ   U0162
#Multi_key s: ş   U015F
#Multi_key S: Ş   U015E

# Comma versions
Multi_key t : ț   U021B
Multi_key T : Ț   U021A
Multi_key s : ș   U0219
Multi_key S : Ș   U0218


After you set-up all of this start a new xterm and cat .XCompose.

You should see the proper characters for both cedilla and comma
versions.

 Probably I have to start with wsconsctl, but I'm not sure how to use
 this tool to remap my keyboard. Basically, the following characters
 addition and adjustment of the us layout is needed (encoding is
 UTF-16):

Hahahah, right... UTF-16 hahahaha. Forget about that.
That's a Windowsism that even the Microsoft fans want to get rid of.

UTF-8 is the standard in the rest of the civilised world.

I'm not sure what's the state with wscons and terms, miod might shed
some light into that. But I don't think you want to use those in a non-X
environment and for that my tricks above should suffice.



Re: OpenBSD forked

2012-06-21 Thread Paul Irofti
On Thu, Jun 21, 2012 at 08:26:31AM -0400, Kenneth R Westerback wrote:
 On Wed, Jun 20, 2012 at 09:16:24PM +0200, Otto Moerbeek wrote:
  On Wed, Jun 20, 2012 at 11:39:44AM -0500, John wrote:
  
   On Wed, Jun 20, 2012 at 08:28:22AM +0530, Jay Patel wrote:
Hi all users,

I am users too.  Thanks cody. I am learning C too. from C primus
plus any thoughts from devs. which we should read?
   
   You may want to give this a try:
   http://c.learncodethehardway.org/book/learn-c-the-hard-way.html
   
   
   John
  
  IMO tHe most valuable book is Kernighan  Ritchie The C Programming
  Language. 
  
  -Otto
 
 +1

Pff... that's so 80's...
Cool kids these days want ``C in 21 days'' or some crap like that.



Re: Gnome under OpenBSD 5.1

2012-06-14 Thread Paul Irofti
On Sun, Jun 10, 2012 at 06:07:01PM +0200, Antoine Jacoutot wrote:
 On Sun, Jun 10, 2012 at 04:27:22PM +0200, Francois Pussault wrote:
  This is strange.
  Gnome 2.x works fine on same machine ?
  But for sure, it is already strange to need a gnome running on BSD box 
  instead of a window manager.
 
 Why exactly?
 My daughter is very happy with her GNOME running on OpenBSD.

Indeed.  My sister is very happy as well!



Re: Kernel without INET6 error on pipex.c

2011-11-24 Thread Paul Irofti
On Thu, Nov 24, 2011 at 10:09:31AM +, Julien Crapovich wrote:
 Hello.
 Absolutely, but compiling without INET6 is not supposed to generate error.
 I've just disabled INET6 on GENERIC file, not other hack.

This is indeed a bug. Other people should stop bashing.



Re: Latest ThinkPad model fully compatible with OpenBSD out of the box?

2011-09-22 Thread Paul Irofti
On Thu, Sep 22, 2011 at 09:12:11AM -0700, James Hozier wrote:
 What's the latest ThinkPad that OpenBSD can be installed on, and have 
 everything functional without having to tweak any special settings within 
 OpenBSD?
 

x61s



Re: Lemote Leeyong 8101B dmesg

2011-05-26 Thread Paul Irofti
On Fri, May 20, 2011 at 02:24:17AM +0200, Gilbert Fernandes wrote:
  Forwarded Message 
 From: David Vasek va...@fido.cz
 Subject: Re: Lemote Leeyong 8101B pr0n
 Date: Thu, 19 May 2011 18:34:08 +0200 (CEST)
 
 Thanks. I think you should post the dmesg (from your own) to @misc too, 
 once you'll have the OS installed.
  Forwarded Message 
 
 Here it is :

Yes yes, but does it suspend? :-)



Re: dmesg for notebooks useful?

2011-05-25 Thread Paul Irofti
On Wed, May 25, 2011 at 10:51:14AM +1200, Paul M wrote:
[--snip--]
 I have supplied d...@do-that.com with the dump for the K52F. I would

Thanks for feeding the spambots!



Re: Asus acpi panic on boot ( was: dmesg for notebooks useful?)

2011-05-22 Thread Paul Irofti
On Sun, May 22, 2011 at 11:56:20AM +1200, Paul M wrote:
 On 21/05/2011, at 8:01 PM, Stuart Henderson wrote:
 
 I've tried such a laptop, booting from usb stick does indeed fail as
 you describe, however booting from the install cd (4.9 release) works
 just fine.
 
 Disabling acpi will allow the system to boot from the usb stick.
 
 Thanks for the info.  I'll try disabling ACPI the next time I
 encounter
 one of these.
 
 You need the information in the panic message and trace.
 If you want to help get the problems with those machines tracked
 down, you need to get that information, maybe take a photo and
 type it in from there.
 
 If the panic message itself has scrolled off show panic
 should show it again.
 
 The only way disabling ACPI is helpful, is if the machine saves the
 dmesg buffer between boots, then you may be able to get the panic,
 boot -c, disable acpi, and save the information.
 
 Turns out it does, so here it is:

Could you try a recent kernel on that machine and see if it works? If it
doesn't please send the same information, but from the new kernel.

Better yet, use sendbug(1) and attach the AML as well.

Thanks!



Re: Citrix ICAclient hangs whole PC with latest i386 PC

2011-04-18 Thread Paul Irofti
Try this, let me know what happens.

Index: linux_exec.c
===
RCS file: /cvs/src/sys/compat/linux/linux_exec.c,v
retrieving revision 1.33
diff -u -p -r1.33 linux_exec.c
--- linux_exec.c5 Apr 2011 15:44:40 -   1.33
+++ linux_exec.c18 Apr 2011 13:50:37 -
@@ -197,14 +197,17 @@ linux_e_proc_exit(struct proc *p)
 void
 linux_e_proc_fork(struct proc *p, struct proc *parent)
 {
-   struct linux_emuldata *emul = p-p_emuldata;
-   struct linux_emuldata *p_emul = parent-p_emuldata;
+   struct linux_emuldata *emul;
+   struct linux_emuldata *p_emul;
 
/* Allocate new emuldata for the new process. */
p-p_emuldata = NULL;
 
/* fork, use parent's vmspace (our vmspace may not be setup yet) */
linux_e_proc_init(p, parent-p_vmspace);
+
+   emul = p-p_emuldata;
+   p_emul = parent-p_emuldata;
 
emul-my_set_tid = p_emul-child_set_tid;
emul-my_clear_tid = p_emul-child_clear_tid;



Re: Citrix ICAclient hangs whole PC with latest i386 PC

2011-04-11 Thread Paul Irofti
On Mon, Apr 11, 2011 at 09:24:30AM +0200, Tomas Bodzar wrote:
 Hi all,
 
 I have:
 
 $ ./wfica -version
 Citrix Receiver for Linux
 Version 11.100.158406
 Copyright 1998-2010 Citrix Systems, Inc. All rights reserved.
 Copyright (c) 1986-1997 RSA Security, Inc. All rights reserved.
 $ pwd
 /emul/linux/usr/local/ICAClient
 $
 
 on:
 
 $ sysctl kern.version
 kern.version=OpenBSD 4.9-current (GENERIC.MP) #12: Sat Apr  9 19:09:41 MDT 
 2011
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
 
 $
 
 Previous snapshots were running without issues, but now every time I
 start some Citrix app my computer completely hangs (no keyboard or
 mouse response, no chance to reset X and so on) so I need to turn it
 off with Power button (so fsck after boot of course). I suspect recent
 changes in Linux emul, but can't be sure or provide more info as there
 are no messages left in any log. PC just hangs. Is there a way how can
 I get some debug messages from Linux emul layer?

The issue is known and I'll investigate it in a couple of days when I
get home. Until then a ktrace would be useful (if it surrvives the
hang). My bets are on the clone() changes.



Re: 2-3 General Question

2010-09-22 Thread Paul Irofti
On Wed, Sep 22, 2010 at 11:24:00AM -0500, L. V. Lammert wrote:
 On Wed, 22 Sep 2010, Stuart Henderson wrote:
 
  On 2010-09-22, LOL elvis4...@gmail.com wrote:
   Does openBSD have a tools that search packages ? The only way I found it's
   by installing ports tree but I think it's a bit stupid to have all the 
   tree
   just to a search.
 
  pkg_add pkg_mgr
 
 
 For *packages*, it's much simpler to create a pkg_find alias (originaly
 from Matt Van Mater):
 
 export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/`uname -a | cut -d  -f
 3`/packages/`uname -a | cut -d  -f 5`/

That's ugly: uname -r and arch -s should be used there. That's if you're
using -release/-stable. otherwise just use current.



Re: undeadly article

2010-08-17 Thread Paul Irofti
jcr, please forgive my fellow romanian as us gypsies don't get to travel
much and don't know the mysteries of these flying birds and their inner
workings.



Re: c-style for emacs according to style(9)

2010-07-14 Thread Paul Irofti
On Wed, Jul 14, 2010 at 02:43:42PM -0300, Christiano F. Haesbaert wrote:
 I've ended up rolling my own with some help from n...@freenode (not
 nicm@) some years ago, it works *fine* for almost everything.

Just so you know, they're one and the same.



Re: Toshiba L505D-S5983 ACPI

2010-05-24 Thread Paul Irofti
On Mon, May 24, 2010 at 11:29:51AM -0400, Michael Seney wrote:
 I have to disable ACPI in order to boot OpenBSD 4.7 on this laptop. I
 don't really mind but can this harm the hardware?
 

Why do you have to disable it? What's the panic/problem etc.

dmesg, acpidump...



Re: softraid video

2010-04-19 Thread Paul Irofti
See first post for all videos:
http://undeadly.org/cgi?action=articlesid=20100322204337

The softraid one:
http://ustream.vo.llnwd.net/pd2/0/1/5/5430/5430117/1_3201831_5430117.flv



Re: Web Browsers

2009-12-23 Thread Paul Irofti
On Wed, Dec 23, 2009 at 02:39:58PM -0500, nixlists wrote:
 On 12/20/09, Robert Bronsdon reash...@gmail.com wrote:
  Google are clearly clever enough to know that upsetting the 'tin-foiled'
  geeks, by 'spying' on them would be enough to disrupt its browser.
  Especially given its lowly market share, just a little bad press would
  stop this thing ever taking off.
 
 I highly doubt that. I think the browser will be adopted quickly and
 overtake the market. Neither the majority of browser users nor Google
 care about privacy or anonymity. Google also wants the browser to be
 used by businesses - so there will be many features similar to those
 IE has in the Windows version. There's a reason why Chromium/Chrome
 uses Windows' proxy crap on Windows, and the developers are refusing
 to change that despite many requests.
 
 http://code.google.com/p/chromium/issues/detail?id=266

Stop paying attention to shit. The amount of energy spend in that thread
is amazing. 100+ angry posts for a stupid browser. I'm sorry but people
seem to never learn...



Re: Open Source hardware (Re: can't get vesa @ 1280x800 or nv)

2009-12-06 Thread Paul Irofti
Oh, we have another troll on the lists! Welcome rhubbell!

May ignorance be with you and stupidity always guide your emails, amen!



Re: ACPI question

2009-11-26 Thread Paul Irofti
On Wed, Nov 25, 2009 at 11:12:10PM -0500, STeve Andre' wrote:
Is it reasonable to start playing with suspend/resume yet,
 or are things developing enough that comments will only be
 annoying?

Wait until we send a mail for you to start testing, things are crazy at
the moment and changes are happening really really fast.



Re: thanks for 4.6!

2009-10-22 Thread Paul Irofti
On Thu, Oct 22, 2009 at 10:01:47AM -0500, Marco Peereboom wrote:
 On Thu, Oct 22, 2009 at 07:22:27AM +0200, Matthias Kilian wrote:
  On Wed, Oct 21, 2009 at 10:00:28PM -0700, patrick keshishian wrote:
Funny, I always disliked CTRL-A being taken by screen, since it was
so handy to go back to the beginning of the command line in ksh.
But then, I make a lot of typing errors at the beginning of command
lines, I guess. :)
   
   I agree. C-a always annoyed me in screen for the same reason as you
   bring up: positioning to the beginning of the shell command. C-b is
   almost as annoying in vi when i want to page up ;) ...
  
  Some people should really give vi-mode in ksh a try ;-)
 
 As a vi user I can't deal with it
 
 The reason being that you have to use j k to go up and down in the
 history.  Life would be bliss if one could reassign the arrow keys.

Weird, its that which I miss most when I get to an unconfigured shell.
First thing is shoot set -o vi and enjoy.

And before you shout dvorak, I also used this on qwerty-days :-)



Re: thanks for 4.6!

2009-10-22 Thread Paul Irofti
On Thu, Oct 22, 2009 at 10:04:53PM +, Miod Vallat wrote:
  dvorak is make belief benefit.
 
 Tell that to my hands tendinitis... but maybe you're not writing enough
 code for your hands to suffer, Marco.
 
 And `j' and `k' are next to each other on dvorak keyboards anyway.
 

miod++

I don't use it for gaining more speed or whatever the usual
keyboard/editors/os/religion/etc stupid wars are all about. I'm using it
for _my_ _own_ confort which _for_ _me_ has been quite visible since I
switched.

But have no fear, kili will rescue your arrows so that you can stretch
and twitch your fingers even more :-)



Re: ACPI suspend/ resume on IBM T60 not working

2009-06-14 Thread Paul Irofti
On Sun, Jun 14, 2009 at 10:28:44PM +1000, Chris wrote:
 I'm using the latest snapshot on an IBM T60 laptop; suspend / resume
 don't seem to be working.  Typing apmd and then apm -z from my
 window manager's xterm tells me System will enter suspend mode
 momentarily. and nothing happens. Typing zzz tells me Suspending
 system... but nothing really happens.
 
 Here is my dmesg. Thanks for any help.

Suspend / resume isn't ready yet and we never said it is. Usually when
you report ACPI stuff you should include an acpidump as well. Or more
easily, since you're up to date, you could use sendbug for that. But
keep in mind that this is not a supported feature, its work in progress.



Re: When ACPI systems fail to boot or act weirdly

2009-06-07 Thread Paul Irofti
On Sun, Jun 07, 2009 at 01:02:57AM -0400, STeve Andre' wrote:
I recently tested a Neutrino netbook and sent the dmesg data in.
 I had to boot with -c and disable acpi in order to do that.  It now
 occurs to me that it might be useful if I sent the contents of both
 acpidump and pcidump.  Is there a place to do that?  Do the folks
 doing acpi development want stuff like this?  I can't find anything
 about this.
 

Thanks to ray@ and deraadt@ the sendbug in current does just that. And
yes, we'd love to see those too.



Re: misc@ list spam

2009-06-06 Thread Paul Irofti
On Sat, Jun 06, 2009 at 06:56:13PM -0400, x x wrote:
 The spam we seem to be getting as being part of this mailing list, is it
 just an unfortunate thing have to live with? Is there someway to make
 sure only get legit discussions/questions?

There is no way because the problem is not turing-complete.



Re: acpivideo kills display on/off switch for compaq nc6000

2009-06-04 Thread Paul Irofti
On Thu, Jun 04, 2009 at 10:48:35AM +0300, Denis Doroshenko wrote:
 hi,
 until the recent additions to acpi it worked, now even when i close
 the lid, the lights are still on and it seems there is no way i can
 have the display powered off (except for disabling acpivideo in the
 kernel). btw the display.brightness didn't show up... i'll provide
 acpidump'ed stuff to any one interested...

that would be pretty interesting, not necessarily for the acpivideo, but
it seems you have 9 (nine) power resources, that beats zombie!

So just mail it to me or put it up somewhere. I'm sorry but i'm just
working at output switching now, so until it's ready maybe you should disable
acpivideo. Don't know why it breaks your stuff though.



Re: rt.fm ftp server dumps core

2009-04-24 Thread Paul Irofti
On Thu, Apr 23, 2009 at 03:37:00PM -0600, Jeff Ross wrote:
 Hi,

 For a while now I've been getting segmentation faults when I try to 
 download snapshots from rt.fm

 ftp mget *tgz
 mget base45.tgz? all
 Prompting off for duration of mget.
 local: base45.tgz remote: base45.tgz
 150 Opening BINARY mode data connection for 'base45.tgz' (48267043 bytes).
 100% |**| 47135 KB00:41
 226 Transfer complete.
 48267043 bytes received in 41.35 seconds (1.11 MB/s)
 local: comp45.tgz remote: comp45.tgz
 150 Opening BINARY mode data connection for 'comp45.tgz' (90067409 bytes).
 100% |**| 87956 KB01:12
 421 Service not available, remote server has closed connection.
 Segmentation fault (core dumped)

I'm running a similar command now on pub/OpenBSD/snapshots/i386. Is that
what you're doing? Also, it would've been nice to include a trace from
the core.



Re: RadiusClient

2009-04-24 Thread Paul Irofti
On Fri, Apr 24, 2009 at 09:05:32AM -0300, Bruno Galindro da Costa wrote:
 Hi all
 
 What is the radius client packge for OpenBSD? What I need to do is
 provide pptpd auth with radius. My Radius Server is a Windows Server 2003.
 On Ubuntu and Debian tha name of package is radiusclient downloadable via
 apt-get.

$ pkg_info -Q radius



Re: Some issues with OpenBSD 4.5 on Dell E6400

2009-04-16 Thread Paul Irofti
On Thu, Apr 16, 2009 at 02:46:22PM +, Jacob Meuser wrote:
 On Thu, Apr 16, 2009 at 11:39:01AM +0200, Tom?? Bod??r wrote:
  And last one(for now) are plugins for Firefox.On OpenBSD 4.4 -stable
  if I install gnash I have plugins for many multimedia formats in
  Firefox 2.0.0.6,
  but here I have only swf plugin even when other codecs are
  installed.Am I doing something bad or there isn't integration for
  other codecs yet?
 
 huh?  gnash is only for flash.

I think he's looking for mplayerplug-in.



Re: Ideas for Getting MATLAB/Mathematica to utilize sparc64 ram that runs openbsd

2009-03-26 Thread Paul Irofti
On Wed, Mar 25, 2009 at 06:43:54PM -0700, Vivek Ayer wrote:
 Yes please. I'd love to take a look at the code.

My laptop and everything else is packed because I'm leaving in a few
hours so you'll have to do with an archive link.

http://marc.info/?l=openbsd-portsm=119480513327121w=2



Re: Ideas for Getting MATLAB/Mathematica to utilize sparc64 ram that runs openbsd

2009-03-25 Thread Paul Irofti
On Wed, Mar 25, 2009 at 02:34:37PM -0700, Vivek Ayer wrote:
 I guess what this will come down to is whether I can install MPICH2 on
 OpenBSD/sparc64. Alan Watson has a howto for OpenBSD/i386 at
 http://www.crya.unam.mx/~alan/openbsd-mpich2.html.en

I had a working port of that at some point. But at p2k8 I discoveret
some fs struct member changed and I did not have the time to properly
investigate since.

If you're interested I can send you the port.



Re: Weird behavior of find on ntfs partition

2009-03-24 Thread Paul Irofti
On Tue, Mar 24, 2009 at 01:14:51PM +0530, Amarendra Godbole wrote:
 I saw find behaving inconsistently while finding files on an ntfs
 partition. 

Is this GENERIC?



Re: Where is Secure by default ?

2009-03-09 Thread Paul Irofti
On Mon, Mar 09, 2009 at 04:36:47PM +0200, irix wrote:
 Hello Misc,
 
   In  www.openbsd.org  wrote  Only  two  remote  holes in the default
   install,  in  more  than  10 years!, this not true. I using OpenBSD
   like customer, not like administrator. And my OpenBSD were attacked,
   by simple MiTM attack in arp protocol. How then can we talk about the  
 security by default 
   For example, FreeBSD is decided very simply, with this patch 
 http://freecap.ru/if_ether.c.patch
   When  this  is introduced in OpenBSD, so you can say with confidence
   that the system really Secure by default ?
 

Hello Mr. Troll, thanks for flaming by. Have a good day!



Re: user-friendliness and netbsd

2009-02-24 Thread Paul Irofti
On Mon, Feb 23, 2009 at 10:11:17PM +0100, Marc Espie wrote:
 On Mon, Feb 23, 2009 at 09:56:18PM +0100, Matthias Kilian wrote:
  Next time when I'm in a condition similar to that in vienna after
  p2k8, I'll test *all* installers of *all* existing operation systems.
  I'm sure I'd managed to do a perfect installation of OpenBSD; but
  pirofti@ may disagree ;-)
 
 Isn't that, like, his job in life ? (to disagree with everything most of the
 time). ;-P

I disagree!



Re: ifconfig -M on OpenBSD current.

2008-11-03 Thread Paul Irofti
On Mon, Nov 03, 2008 at 10:14:12AM -0300, Jo?o Salvatti wrote:
 Hi misc,
 
 I have already installed OpenBSD current on my laptop, but the
 ifconfig command doesn't support -M option. Knowing this, how can I
 scan the wireless networks on current?
 
 Thanks in advance.
 

RTFA and RTFM.
-- 
Everything is simple, we're stupid.
gopher://sdf.lonestar.org/1/users/bulibuta



Re: root acount unable to mail gmail.com

2008-10-10 Thread Paul Irofti
On Fri, Oct 10, 2008 at 12:44:21AM +0200, Jesus Sanchez wrote:
 Hi, using a clean install of OpenBSD 4.3, after doing some changes, the
 /etc/rc.conf sendmail_flags uses /etc/mail/sendmail.cf as config file.
 popa3d runs OK and network also, but I have a problem. When I send mail
 as a regular user, mail goes to the account but if I login as root and
 then send a mail to a wellknown gmail.com account (this acount,
 [EMAIL PROTECTED], for example) mail never comes. This is a gmail.com
 problem?

 didn't found anything about restrictions on root acount and sendmail.


I had trouble sending mails to big mail providers (gmail included). But this was
a few years ago and it was due to the fact that my ISP didn't offer reverse DNS.
You could test sending to a less popular mail provider (i.e. not so strict and
spam infected), it worked for me at that time.

-- 
Everything is simple, we're stupid.
gopher://sdf.lonestar.org/1/users/bulibuta



vi(1) and tab-completion

2008-09-03 Thread Paul Irofti
For those using vi from base and using ESC as filec and cedit, or
whatever, because TAB doesn't seem to work:

set cedit=Control-VControl-VControl-VTab
-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: firefox3 weird rendering

2008-09-03 Thread Paul Irofti
I can confirm this on -current with both intel and radeon with and
without drm enabled. 

-- 
Everything is simple, we're stupid.
gopher://sdf.lonestar.org/1/users/bulibuta



Re: make build fails for OPENBSD_4_4 on i386

2008-08-08 Thread Paul Irofti
On Fri, Aug 08, 2008 at 07:28:03AM -0400, Ted Unangst wrote:
 There is no 4.4.
 
There is no spoon either.
-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: OT: Dissertation ideas for my degree

2008-06-20 Thread Paul Irofti
On Fri, Jun 20, 2008 at 06:33:21AM +, Jacob Meuser wrote:
 On Fri, Jun 20, 2008 at 08:19:00AM +0200, Harald Dunkel wrote:
  Paul Irofti wrote:
 
  Do the CLI SIP Phone! I wanted to code that for so long, but the SIP
  protocol and its friends tend to go so far as time just wasn't enough.
  But it would be pretty cool to have that.
 
 
  http://www.pjsip.org/pjsua.htm ?
 
 ports/telephony/pjsua
 

Hey, that wasn't there a few years ago!

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: OT: Dissertation ideas for my degree

2008-06-20 Thread Paul Irofti
On Fri, Jun 20, 2008 at 04:47:18PM +, Matthew Szudzik wrote:
  - A good TeX to html convertor (extensible)
  - A good TeX gui
 
 There's a pretty good chance that TeX is going to become obsolete.

I just finished writing my paper, my presentation and what not in LaTeX
for getting my University diploma. Everybody from IEEE is using it, all
the professors  from the Mathematics, Signal Processing et al. are
using. It's as alive as it gets baby!
-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: OT: Dissertation ideas for my degree

2008-06-19 Thread Paul Irofti
On Wed, Jun 18, 2008 at 10:15:54PM +0100, Edd Barrett wrote:
 Hi,

 As it seems my last two project ideas for my degree have fallen through,  
 I wonder if anyone here has any ideas for software projects which are:

 a) Useful
 b) Conceptually new

 Ideas need not be OpenBSD based, but it's a bonus if it is.

 Usually a project consists of a software build and a write up.


Do the CLI SIP Phone! I wanted to code that for so long, but the SIP
protocol and its friends tend to go so far as time just wasn't enough.
But it would be pretty cool to have that.

Or a cli music database collection, that scans your media with given
regexp and scans for ID3 Tags and what not, with minimal user
interaction.

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: OT: Dissertation ideas for my degree

2008-06-19 Thread Paul Irofti
On Wed, Jun 18, 2008 at 11:53:33PM +0100, Edd Barrett wrote:
 Paul Irofti wrote:
 Or a cli music database collection, that scans your media with given
 regexp and scans for ID3 Tags and what not, with minimal user
 interaction.


 mpd + ncmpc? In ports :)

I know them, I use them. But what about external media like DVDs and
CDs? Or even memory sticks. Once removed, they'll be foobared by the
next C-S-U.
-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: cwm keybindings misbehavior

2008-06-13 Thread Paul Irofti
On Thu, Jun 12, 2008 at 08:44:56PM +0200, Pierre Riteau wrote:
 On Thu, Jun 12, 2008 at 01:13:05PM -0300, Daniel B. wrote:
  Hi,
  
  I can't get the response desired to some of the default keybindings in
  cwm.
  
  Some of them: M-/, C-/, M-?. With the first and the third, I just hear a
  beep (or a Wuff!! in screen). The second delete my window if not in
  screen, or just Wuff!! in screen.
  
  Any hints? Thank you.
  
 
 non-US keyboard layout?
 
I use dvorak, its not language based, but the keys differ. And cwm works
like a charm for me ever since it was imported in the tree.

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Window Manager

2008-05-06 Thread Paul Irofti
On Sun, May 04, 2008 at 09:29:42PM -0300, Gonzalo Lionel Rodriguez wrote:
 I dont know if it is the place to ask it, but that window manager uses? And
 why?
 
I use cwm (its in base)



Re: Environment variables

2008-04-20 Thread Paul Irofti
On Fri, Apr 18, 2008 at 09:28:24PM -0400, Ted Unangst wrote:
 On Apr 18, 2008, at 1:47 PM, Paul Irofti [EMAIL PROTECTED] wrote:

 On Fri, Apr 18, 2008 at 03:20:56PM +0200, Jurjen Oskam wrote:


 #include stdio.h
 #include errno.h
 #include stdlib.h

 int main(int argc, char **argv)
 {
 char *var1  = FOO=TESTING;

 A bit OT but you should really alloc that or use a static.

 Why?

Mainly because its bad practice and expanding the code would probably
lead to at least a couple of bugs related to string manipulation.



Re: Environment variables

2008-04-18 Thread Paul Irofti
On Fri, Apr 18, 2008 at 03:20:56PM +0200, Jurjen Oskam wrote:
 Hi there,
 
 I'm seeing something I don't quite understand concerning environment
 variables. (This is on an OpenBSD 4.2 amd64 system) I hope someone here
 can explain.
 
 Given the following C-program:
 
 #include stdio.h
 #include errno.h
 #include stdlib.h
 
 int main(int argc, char **argv)
 {
  char *var1  = FOO=TESTING;

A bit OT but you should really alloc that or use a static.



Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Paul Irofti
On Tue, Feb 19, 2008 at 11:25:09AM +, Stuart Henderson wrote:
 On 2008/02/19 11:56, Daniel Andersson wrote:
  I tried OpenBSD last autumn but had some trouble running rtorrent.
  Quoting a post I made at a forum:
  
  Every now and then it Freezes. I can't access it through ssh or
  physically.
 
 ..
  
  Is there is a fix for it yet?
 
 No, but it has been reported that if the system is doing other things
 at the same time, the chance of freezing is much less. (specifically
 freezes were seen with rtorrent+top, they were not seen when logging
 vmstat output at the same time).
 
 We also have transmission in ports, which works nicely, btw - command
 line, GUI, and there's a nice DHTML webinterface (clutch) available
 too (clutch is not in ports yet but I have a nearly-finished port for
 it).
 

Speaking of transmission, there's a grammar error/typo in DESCR-main:

``This is the command line and daemon clients.''

I think it should be:

``These are the command line and daemon clients.''

And to the OP:

I've been using rtorrent for more than a year now and it never
stopped/blocked/froze/etc.



Re: OpenBSD in the webcomic XKCD

2007-11-26 Thread Paul Irofti
On Mon, Nov 26, 2007 at 10:57:28AM +, Edd Barrett wrote:
 On 26/11/2007, Richard Wilson [EMAIL PROTECTED] wrote:
  http://www.xkcd.com/349/
 
  Observe the ALT text on the comic.
 
  Haven't seen a PR on that one...
 
 
 
 What do they mean by this?
 
 
Its a joke, I think everyone experienced at least once to some extent 
installing another OS and ending up in a mess. OpenBSD is used only for
the ``only security issue'' part hinting at our slogan.

xkcd is one of the best comics that I am aware of.



Re: 5.1 sound card recommendation

2007-11-22 Thread Paul Irofti
On Wed, Nov 21, 2007 at 09:23:52PM +0300, Nickolay A. Burkov wrote:
 Hello everyone!
 
 Do somebody have success with 5.1 sound ?
 If so, please recommend PCI Sound Card to work with OpenBSD 4.2(-CURRENT).
 
 I have MARC'ed a bit but similar messages were  1 year ago.
 I'd like to think that something have been changed..
 
 Thank you for your time.
 
Short answer, get another OS. Windows would be best for amateur sound
recording/processing/listening. I don't think the BSDs nor Linux we'll
see real 5.1 support for a good period of time. ALSA is trying something
at the moment but its very specific and broken most of the time, a
hassle really.



Re: win32-codecs, avi and amd64 question

2007-11-14 Thread Paul Irofti
On Wed, Nov 14, 2007 at 08:41:22AM +0100, Didier Wiroth wrote:
 Hello,
 
 I'm currently running current i386 on my amd64 processor.
 I'm considering to move to the amd64 distribution but I noticed that the
 win32-codecs package is only for i386.
 
 Is there currently a win32-codecs alternative for amd64 or is it possible to
 watch avi (+/- all codecs) movies on amd64?
 
I've been using mplayer on amd64 for more than a year now and played
various formats and encodings. The only problems I encountered were with
newer wmf formats (which is usually poor quality anyway and quite often
some `funny clip' you receive from your local oha user group).



Re: When will OpenBSD support UTF8?

2007-11-02 Thread Paul Irofti
On Thu, Nov 01, 2007 at 11:22:53AM -0400, Nick Guenther wrote:
 On 11/1/07, Juan Miscaro [EMAIL PROTECTED] wrote:
  Hi gang.
 
  Is there any priority for having OpenBSD support UTF8?
 
  // peter
 
 utf-8 isn't an OS-level thing. You need to do it in every app.
 Googling, the first result brings up
 http://osdir.com/ml/os.openbsd.ports/2004-02/msg00376.html as an
 example.
 

The sad thing is that the man pages don't mention that OpenBSD's libc
doesn't quite support locale, multibyte/wide char conversions thus
Unicode.

E.g. if you look at mbstowcs(3) you'd say: okay, I can use that... but
looking at the code behind it you'll see its a pure stab that does a
simple memcpy from chars to ints (or wchar_ts as they modernly call it
in C99).



troubles with pkg_add -u

2007-06-25 Thread Paul Irofti
Since the Hackathon every time I update to the latest snapshots and run
a pkg_add -iuv I get fatal errors with random package updates.

I usually have to remove by hand (pkg_delete fails) and reinstall the
given package.

The errors I get are along the lines of:

qt3-mt-3.7p5 (deleting): complete
Undefined subroutine
OpenBSD::PackingElement::FileBase::rename_file_to_temp calledRead
[...]
/usr/sbin/pkg_add: Deinstallation of qt3-mt-3.7p5 failed, partial
installation recorded as partial-qt3-mt-3.7p5.1

And then I get two partial pkgs in /var/db/pkg:

$ cat /var/db/pkg/partial-qt3-mt-3.7p5
partial-qt3-mt-3.7p5.1/  partial-qt3-mt-3.7p5/

When I try to remove those I get:

$ sudo pkg_delete /var/db/pkg/partial-qt3-mt-3.7p5*
partial-qt3-mt-3.7p5.1: complete
   
Warning: couldn't read packing-list from installed package
partial-qt3-mt-3.7p5  
File /var/db/pkg/partial-qt3-mt-3.7p5/+CONTENTS does not exist
/usr/sbin/pkg_delete: Bad package

And I'm left with:
/var/db/pkg/partial-qt3-mt-3.7p5/+DESC

Which I usually have to rm by hand. Also I have the original qt package
still in the list which can't be upgraded and, if attempted, sends me
back to step 1.

This is not package specific. It happened with different packages before
I decided to write about it here.



Re: troubles with pkg_add -u

2007-06-25 Thread Paul Irofti
Forgot to mention that this repros on two i386 machines and an amd64.



Re: troubles with pkg_add -u

2007-06-25 Thread Paul Irofti
On Mon, Jun 25, 2007 at 11:08:48AM +0200, Marc Espie wrote:
 On Mon, Jun 25, 2007 at 11:36:24AM +0300, Paul Irofti wrote:
  Since the Hackathon every time I update to the latest snapshots and run
  a pkg_add -iuv I get fatal errors with random package updates.
  
  I usually have to remove by hand (pkg_delete fails) and reinstall the
  given package.
  
  The errors I get are along the lines of:
  
  qt3-mt-3.7p5 (deleting): complete
  Undefined subroutine
  OpenBSD::PackingElement::FileBase::rename_file_to_temp calledRead
  [...]
  /usr/sbin/pkg_add: Deinstallation of qt3-mt-3.7p5 failed, partial
  installation recorded as partial-qt3-mt-3.7p5.1
  
 
 And you haven't tried updating pkg_add itself since then ?
 

Well (as I said above) getting the latest snapshot before running 
pkg_add implies ``updating'' it. Right?



Re: troubles with pkg_add -u

2007-06-25 Thread Paul Irofti
And here are the dmesgs before and after the latest snapshot update. 
OpenBSD 4.1-current (GENERIC) #1122: Wed Jun 20 22:10:55 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1073016832 (1023MB)
avail mem = 1030762496 (983MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0730 (59 entries)
bios0: ASUSTeK Computer INC. P5VDC-MX
acpi at mainbus0 not configured
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz, 2793.47 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,TM2,CNXT-ID,CX16,xTPR,NXE,LONG
cpu0: 1MB 64b/line 8-way L2 cache
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 VIA CN700 Host rev 0x00
pchb1 at pci0 dev 0 function 1 VIA CN700 Host rev 0x00
pchb2 at pci0 dev 0 function 2 VIA CN700 Host rev 0x00
pchb3 at pci0 dev 0 function 3 VIA PT890 Host rev 0x00
pchb4 at pci0 dev 0 function 4 VIA CN700 Host rev 0x00
pchb5 at pci0 dev 0 function 7 VIA CN700 Host rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8377 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce FX 5200 rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pciide0 at pci0 dev 15 function 0 VIA VT8251 SATA rev 0x00: DMA
pciide0: using irq 10 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: WDC WD800JD-00LSA0
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide1 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x07: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TOSHIBA, CD/DVDW SDR5472D, TU00 SCSI0 5/cdrom 
removable
cd0(pciide1:0:0): using PIO mode 4, DMA mode 2
pciide1: channel 1 disabled (no drives)
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x90: irq 11
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x90: irq 5
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x90: irq 10
uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x90: irq 3
ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x90: irq 5
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: VIA EHCI root hub, rev 2.00/1.00, addr 1
viapm0 at pci0 dev 17 function 0 VIA VT8251 ISA rev 0x00
iic0 at viapm0
pchb6 at pci0 dev 17 function 7 VIA VT8251 VLINK rev 0x00
vr0 at pci0 dev 18 function 0 VIA RhineII-2 rev 0x7c: irq 11, address 
00:e0:12:34:56:78
rlphy0 at vr0 phy 1: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 19 function 0 VIA VT8251 PCIE rev 0x00
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 VIA VT8251 PCIE rev 0x00
pci3 at ppb2 bus 3
ppb3 at pci2 dev 0 function 1 VIA VT8251 PCIE rev 0x00
pci4 at ppb3 bus 4
ppb4 at pci0 dev 19 function 1 VIA VT8251 PCI rev 0x00
pci5 at ppb4 bus 5
cmpci0 at pci5 dev 9 function 0 C-Media Electronics CMI8738/C3DX Audio rev 
0x10: irq 5
audio0 at cmpci0
opl at cmpci0 not configured
mpu at cmpci0 not configured
usb1 at uhci0: USB revision 1.0
uhub1 at usb1: VIA UHCI root hub, rev 1.00/1.00, addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2: VIA UHCI root hub, rev 1.00/1.00, addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3: VIA UHCI root hub, rev 1.00/1.00, addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4: VIA UHCI root hub, rev 1.00/1.00, addr 1
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: 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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it2 at isa0 port 0xd00/8: IT87
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a swap on wd0b dump on wd0b
/dev/wd0k: file system not clean; please fsck(8)
OpenBSD 4.1-current (GENERIC) #1122: Wed Jun 20 22:10:55 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1073016832 (1023MB)
avail mem = 1030762496 (983MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0730 (59 entries)
bios0: ASUSTeK Computer INC. P5VDC-MX
acpi at mainbus0 not configured
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz, 2793.47 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,TM2,CNXT-ID,CX16,xTPR,NXE,LONG
cpu0: 1MB 64b/line 8-way L2 cache
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 VIA CN700 Host rev 0x00
pchb1 at pci0 dev 0 function 1 VIA CN700 Host rev 0x00
pchb2 at pci0 dev 0 function 2 VIA CN700 Host rev 0x00
pchb3 at pci0 dev 0 

new X sets problems

2007-04-03 Thread Paul Irofti
Since I've updated to the latest snapshot my i386 box keeps freezing
on every second boot, i.e. the first boot runs correctly but
after a reboot or halt and later boot-up xdm freezes and I must do a
forced reboot.

Also I noticed that binary packages are missing for all platforms. Today
I saw that i386 is back... so I think the other arches will be refilled
soon.
OpenBSD 4.1-current (GENERIC) #1458: Sun Apr  1 00:43:56 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPT 1.80GHz (GenuineIntel 686-class) 1.82 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE26,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real mem  = 528027648 (515652K)
avail mem = 47$075136 (462964K)
using 4278 buffers containing 26525696 bytes (25904K) of memory
-ainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date  4/02/03, BIOS32 rev. 0 @ 0xb1df0, SMBIOS 
rev. 2.3 @ 0xf0040 \^H44 entries)
bios0: ASUSTeK Competer INC. P4BGL,VM
apm0 at bios0: Power Management spec V1.2
a0m0: AC on, battery charge unknown
apm0: flags 30102 $obusy 0 doidle 1
pcibioS0 at bios0: rev 2.1 @ 0xf/0x2432
pcibios0:\^PCI IRQ Rouping Table rev 1.0 @ 0xf2390/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PAI bus #1 is the last bus
bios0: ROM list: 0xc\^O0xb000! 0xcc000/0x400\^P!
acpi @t mainbus0 not configured
c0u0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 fufction 0 Intel 82805G/GL rev 0x01
vga1 at pci0 dev 2 function 0 Intel 82845G/GL Video rav 0h01: aperture at 
0xf000, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 eMulation)
wsdisplay0: screen1-5 added (80x25, vt100 emulAtion)
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB ref 0801: irq 9
thci2 at pci0 dev 29 function 2 Intel 82801\^DB USB rev 0x01: irq 4
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 9
usb0 at ehci0: USB revisiOn 2.0
uhub0 at usb0
uhub0: Intel EHCI root hub, pev 2.00/1.00, addr 1
uhub0: 6 ports with 6 removable, self poweRed
ppb\^P at pci0 dev 30 functiol 0 Intel 82801BA AGP rev 0x81
pci1 at ppb0 bus 1
dc0 at pci1 dev 11 function 0 DEC 21142/3 rev 0x41: irq 9, address 
00:40:f4836:52:89
sqphy0 at dc0 phy 17: See1 84220 10/100 PHY, rev. 0
ichpcib0 at pci0 dev 31 function 0 Intel 82801DB LPC rev 0x01: 24-bid timer 
at 3579545Hz
pciide0 at pci0 dev 31 fulction 1 Intel 82801DB IDE rev 0x01: DMA, channel 0 
configured tk compatibility, channel 1 configured to compatibility
w`0 at pciide0 channel 0 drive 0: ST340016A
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectoRs
wD0(pciide0:0:0): using PIO mode 4, Ultba-DMA mode 5
at!piscsi0 at pciide0 cha.nel 1 drive 1
scsibus0 at atapiccsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TEAC, CD-552E, T016 SCSI0 5/cdrom removable
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
auhch0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x00\^Z irq 10, IAH4 
AC97
ac97: codeb id 0x434d4941 (C%Media Electronics CMI9738)
audiO0 at auich0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
usb2 at uhci1: USB revision 1.0
uhub2 at usB2
uhub2: Intal UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, seLf powered
usb3 at uhci2: USB revision 0.0
uhub3 at usb3
uhub3: Iltel UHCI root hub, rev 1.00/1.00, addr 1
t`ub3: 2 ports with 2 removable, self poweRed
isa0 at ichpcib0
iradma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd 3lot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: usilg irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speakdr
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pcaom0 at isa0 port 0x3f8/8 irq 4: Ns16550a, 16 byte fifo
pccom1 at isa0 po2t 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask eb65 netmask eb65 ttymask fbe7
pctr: user-leved c9cle counter enabled
djcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
/dev/wd0k: file systel not clean; please fsck(8)
OpenBSD 4.1-current (GENERIC) #1458: Sun Apr  1 00:43:56 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 1.80GHz (GenuineIntel 686-class) 1.82 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
real mem  = 528027648 (515652K)
avail mem = 474075136 (462964K)
using 4278 buffers containing 26525696 bytes (25904K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 04/02/03, BIOS32 rev. 0 @ 0xf1df0, SMBIOS 
rev. 2.3 @ 0xf0040 (44 entries)
bios0: ASUSTeK Computer INC. 

Re: new X sets problems

2007-04-03 Thread Paul Irofti
On Tue, Apr 03, 2007 at 11:12:17AM +0200, Tasmanian Devil wrote:
 2007/4/3, Dimitry Andric [EMAIL PROTECTED]:
 Paul Irofti wrote:
  Since I've updated to the latest snapshot my i386 box keeps freezing
  on every second boot, i.e. the first boot runs correctly but
  after a reboot or halt and later boot-up xdm freezes and I must do a
  forced reboot.
 ...
  acpi @t mainbus0 not configured
  c0u0 at mainbus0
  pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
  pchb0 at pci0 dev 0 fufction 0 Intel 82805G/GL rev 0x01
  vga1 at pci0 dev 2 function 0 Intel 82845G/GL Video rav 0h01: aperture 
 at 0xf000, size 0x800
  wsdisplay0 at vga1 mux 1: console (80x25, vt100 eMulation)
  wsdisplay0: screen1-5 added (80x25, vt100 emulAtion)
  uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11
  uhci1 at pci0 dev 29 function 1 Intel 82801DB USB ref 0801: irq 9
  thci2 at pci0 dev 29 function 2 Intel 82801\^DB USB rev 0x01: irq 4
 
 If I see this many bits falling over, and it's not typed by hand, then
 there's something seriously wrong somewhere in your machine.  Better
 check your RAM, CPU, motherboard etc etc.
 
 ...and compare the MD5 checksums of the kernels and archives with the
 contents of the MD5 file (I had not matching checksums yesterday on
 files downloaded from a german mirror, fixed there already today).
 

Updated to the latest snapshots and checked their md5 hash. Everything
seems fine now.

I've attached the new dmesg.
ception 16
pcaom0 at isa0 port 0x3f8/8 irq 4: Ns16550a, 16 byte fifo
pccom1 at isa0 po2t 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask eb65 netmask eb65 ttymask fbe7
pctr: user-leved c9cle counter enabled
djcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
/dev/wd0k: file systel not clean; please fsck(8)
OpenBSD 4.1-current (GENERIC) #1458: Sun Apr  1 00:43:56 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 1.80GHz (GenuineIntel 686-class) 1.82 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
real mem  = 528027648 (515652K)
avail mem = 474075136 (462964K)
using 4278 buffers containing 26525696 bytes (25904K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 04/02/03, BIOS32 rev. 0 @ 0xf1df0, SMBIOS 
rev. 2.3 @ 0xf0040 (44 entries)
bios0: ASUSTeK Computer INC. P4BGL-VM
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x2432
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf2390/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xb000! 0xcc000/0x4000!
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82845G/GL rev 0x01
vga1 at pci0 dev 2 function 0 Intel 82845G/GL Video rev 0x01: aperture at 
0xf000, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 9
uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 5
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 9
usb0 at ehci0: USB revision 2.0
uhub0 at usb0
uhub0: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub0: 6 ports with 6 removable, self powered
ppb0 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0x81
pci1 at ppb0 bus 1
dc0 at pci1 dev 11 function 0 DEC 21142/3 rev 0x41: irq 9, address 
00:40:f4:36:52:89
sqphy0 at dc0 phy 17: Seeq 84220 10/100 PHY, rev. 0
ichpcib0 at pci0 dev 31 function 0 Intel 82801DB LPC rev 0x01: 24-bit timer 
at 3579545Hz
pciide0 at pci0 dev 31 function 1 Intel 82801DB IDE rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: ST340016A
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TEAC, CD-552E, T016 SCSI0 5/cdrom removable
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 10, ICH4 
AC97
ac97: codec id 0x434d4941 (C-Media Electronics CMI9738)
audio0 at auich0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
usb2 at uhci1: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
usb3 at uhci2: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev

Re: Does anyone know a good file manager for OpenBSD?

2007-03-21 Thread Paul Irofti
On Wed, Mar 21, 2007 at 05:50:56AM -0500, Marco Peereboom wrote:
 Anyone saying this has not used openbsd's ftp.
 
I've seen many people mentioning ftp as a good download manager. I'm a
bit confused on this issue:
  - a download manager is supposed to be generic no matter what protocol
is used (of course amongst the popular ones: ftp, http, smb etc.)
  - also, a download manager should interactively handle multiple 
  connections and downloads
  - the fact that ftp can handle http makes me ponder what happened to 
  the KISS principle?



Re: vr(4) speed problems

2007-02-21 Thread Paul Irofti
On Wed, Feb 21, 2007 at 09:39:56AM +0200, Paul Irofti wrote:
 I'll send a new dmesg and notify if anything has changed when I get
 back.

Got back, it was the graphics card not the mobo, but I did ask him to
test my NIC too and he said it ran just fine (of course I asked for a
specific duplex test, but he just tested a network install of Windows so
this is not conclusive either).

I was thinking I could do some extra tests with snort..any suggestions?



Re: vr(4) speed problems

2007-02-20 Thread Paul Irofti
Strange, the dmesg I submitted (and the one dmesg shows:) both point to
my configuration before the snapshot update. But the login informs me
that I'm running ``OpenBSD 4.1-beta (GENERIC) #847'' and uname says the
same:

$ uname -rsv
OpenBSD 4.1 GENERIC#847



vr(4) speed problems

2007-02-20 Thread Paul Irofti
I've received a new mobo with a vr(4) NIC. Ever since I installed it I'm
getting very slow transfer speeds (i.e. from 7-8 mb/s to 0.3-0.4 mb/s).
I've googled and stfa and found some complaints on the freebsd mailing
lists but wasn't able to find a solution. Is this a known bug? Should I
just buy another NIC and get it over with?

$ ifconfig vr0
vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  lladdr 00:e0:12:34:56:78
  groups: egress
  media: Ethernet autoselect (100baseTX full-duplex)
  status: active
  inet6 fe80::2e0:12ff:fe34:5678%vr0 prefixlen 64 scopeid 0x1
  inet 192.168.1.64 netmask 0xff00 broadcast 192.168.1.255

As ifconfig shows this should be running just fine at fast ethernet with
full-duplex...

Attached is my dmesg (just updated to the latest snapshot).
OpenBSD 4.0-current (GENERIC) #822: Sun Feb  4 04:09:47 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1005907968 (982332K)
avail mem = 849092608 (829192K)
using 22937 buffers containing 100798464 bytes (98436K) of memory
mainbus0 (root)
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0730 (59 entries)
bios0: ASUSTeK Computer INC. P5VDC-MX
acpi at mainbus0 not configured
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz, 2793.49 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,NXE,LONG
cpu0: 1MB 64b/line 8-way L2 cache
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 VIA CN700 Host rev 0x00
pchb1 at pci0 dev 0 function 1 VIA CN700 Host rev 0x00
pchb2 at pci0 dev 0 function 2 VIA CN700 Host rev 0x00
pchb3 at pci0 dev 0 function 3 VIA PT890 Host rev 0x00
pchb4 at pci0 dev 0 function 4 VIA CN700 Host rev 0x00
pchb5 at pci0 dev 0 function 7 VIA CN700 Host rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8377 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 VIA S3 Unichrome PRO IGP rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pciide0 at pci0 dev 15 function 0 VIA VT8251 SATA rev 0x00: DMA
pciide0: using irq 10 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: WDC WD800JD-00LSA0
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide1 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x07: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TOSHIBA, CD/DVDW SDR5472D, TU00 SCSI0 5/cdrom 
removable
cd0(pciide1:0:0): using PIO mode 4, DMA mode 2
pciide1: channel 1 disabled (no drives)
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x90: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x90: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x90: irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x90: irq 3
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x90: irq 5
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib0 at pci0 dev 17 function 0 VIA VT8251 ISA rev 0x00
pchb6 at pci0 dev 17 function 7 VIA VT8251 VLINK rev 0x00
vr0 at pci0 dev 18 function 0 VIA RhineII-2 rev 0x7c: irq 11, address 
00:e0:12:34:56:78
rlphy0 at vr0 phy 1: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 19 function 0 VIA VT8251 PCIE rev 0x00
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 VIA VT8251 PCIE rev 0x00
pci3 at ppb2 bus 3
ppb3 at pci2 dev 0 function 1 VIA VT8251 PCIE rev 0x00
pci4 at ppb3 bus 4
ppb4 at pci0 dev 19 function 1 VIA VT8251 PCI rev 0x00
pci5 at ppb4 bus 5
cmpci0 at pci5 dev 9 function 0 C-Media Electronics CMI8738/C3DX Audio rev 
0x10: irq 5
audio0 at cmpci0
opl at cmpci0 not configured
mpu at cmpci0 not configured
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: 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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it2 at isa0 port 0xd00/8: IT87
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 

Re: vr(4) speed problems

2007-02-20 Thread Paul Irofti
On Tue, Feb 20, 2007 at 11:00:07PM +0200, Paul Irofti wrote:
 Strange, the dmesg I submitted (and the one dmesg shows:) both point to
 my configuration before the snapshot update. But the login informs me
 that I'm running ``OpenBSD 4.1-beta (GENERIC) #847'' and uname says the
 same:
 
 $ uname -rsv
 OpenBSD 4.1 GENERIC#847

After a reboot /var/run/dmesg.boot is a mess...well at least it shows
the right version (a couple of times), an incorrect one and some garbage
at the beginning. Attached.
unction 3 VIA PT890 Host rev 0x00
pchb4 at pci0 dev 0 function 4 VIA CN700 Host rev 0x00
pchb5 at pci0 dev 0 function 7 VIA CN700 Host rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8377 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 VIA S3 Unichrome PRO IGP rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pciide0 at pci0 dev 15 function 0 VIA VT8251 SATA rev 0x00: DMA
pciide0: using irq 10 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: WDC WD800JD-00LSA0
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide1 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x07: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TOSHIBA, CD/DVDW SDR5472D, TU00 SCSI0 5/cdrom 
removable
cd0(pciide1:0:0): using PIO mode 4, DMA mode 2
pciide1: channel 1 disabled (no drives)
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x90: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x90: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x90: irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x90: irq 3
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x90: irq 5
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib0 at pci0 dev 17 function 0 VIA VT8251 ISA rev 0x00
pchb6 at pci0 dev 17 function 7 VIA VT8251 VLINK rev 0x00
vr0 at pci0 dev 18 function 0 VIA RhineII-2 rev 0x7c: irq 11, address 
00:e0:12:34:56:78
rlphy0 at vr0 phy 1: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 19 function 0 VIA VT8251 PCIE rev 0x00
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 VIA VT8251 PCIE rev 0x00
pci3 at ppb2 bus 3
ppb3 at pci2 dev 0 function 1 VIA VT8251 PCIE rev 0x00
pci4 at ppb3 bus 4
ppb4 at pci0 dev 19 function 1 VIA VT8251 PCI rev 0x00
pci5 at ppb4 bus 5
cmpci0 at pci5 dev 9 function 0 C-Media Electronics CMI8738/C3DX Audio rev 
0x10: irq 5
audio0 at cmpci0
opl at cmpci0 not configured
mpu at cmpci0 not configured
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: 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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it2 at isa0 port 0xd00/8: IT87
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
/dev/wd0k: file system not clean; please fsck(8)
syncing disks... 
OpenBSD 4.1-beta (RAMDISK_CD) #1028: Mon Feb 19 18:15:32 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 1005907968 (982332K)
avail mem = 850620416 (830684K)
using 22937 buffers containing 100798464 bytes (98436K) of memory
mainbus0 (root)
acpi at mainbus0 not configured
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz, 2793.48 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,TM2,CNXT-ID,CX16,xTPR,NXE,LONG
cpu0: 1MB 64b/line 8-way L2 cache
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 VIA CN700 Host rev 0x00
pchb1 at pci0 dev 0 function 1 VIA CN700 Host rev 0x00
pchb2 at pci0 dev 0 function 2 VIA CN700 Host rev 0x00
pchb3 at pci0 dev 0 function 3 VIA PT890 Host rev 0x00
pchb4 at pci0 dev 0 function 4 VIA CN700 Host rev 0x00
pchb5 at pci0 dev 0 function 7 VIA CN700 Host rev 0x00
ppb0 at pci0 dev 1 function 0 VIA

Re: vr(4) speed problems

2007-02-20 Thread Paul Irofti
On Tue, Feb 20, 2007 at 09:59:49PM -0500, Nick Holland wrote:
 First of all, regarding your dmesg: that's a feature, not a bug.  The
 system attempts to store multiple dmesgs in RAM and keep them after a
 reboot.  This can be very handy at times, but disconcerting to those
 not expecting it.  The last one is the one you want.

Thanks for clearing that up for me.

 Yours is a different revision, but I suspect your problem isn't with
 the NIC.  Most network performance problems boil down to:
   * Duplex issues
I'd put my money on this, but I don't know how to test in order to be
certain.
   * b/B confusion (bits vs. Bytes per second)
Not the case.
   * bad cables
Tested with multiple cables, to no avail.
   * bad switches (ok, maybe that's just been my luck)
I have a TE100-S8P TRENDNet switch. It worked fine for me for years now,
and the only machine that has these sort of problems is the new one with
the vr(4) in it. Others at proper speeds like they used to.
 
 If you really believe it isn't any of the above, tell us how your
 machine is hooked up, what you tested, what you expected, what you
 saw, etc.  Simply saying it's slow doesn't help us track it down
 much, you understand...
 
I know just saying it's slow doesn't help. Don't know exactly how to
test this issue. Let me tell you my config and what I've tested so far.

This is a computer inside my home LAN. All the computers in my house are
connected, via the switch menitoned above, to an OpenBSD server. The NIC
is configured via DHCP. It's a common setup. I run OpenBSD exclusively
on my machines so I can't test if the NIC works well on another OS
(although I know/saw it ran just fine on Windows 2003 Server, the OS
that the ex-owner used with this compie).

My test have been pretty simple actually:
  - looking at ifconfig for proper duplex
  - investigating the server's pf.conf for quirks
  - ``ping -f''-ing, all went fine 0.00% loss
  - tcpdump-ing, nothing strange there either
  - changing the cable and it's position in the switch

If you need the output of any tests just ask. Same if additional are
required.

I'm going to warranty with this mobo today (it's an integrated NIC) due
to non NIC related issues (the AGP slot is broken). They'll probably
supply me with another mobo. Maybe that will fix this too. Or not.

I'll send a new dmesg and notify if anything has changed when I get
back.

Paul.



Re: IP change trouble

2007-01-23 Thread Paul Irofti
On Mon, Jan 22, 2007 at 09:22:27PM -0500, Nick Holland wrote:
 Wrap your lines, please...
 
 Paul Irofti wrote:
  I have changed one of my workstation's IP with:
  
  $ sudo ifconfig vr0 inet 192.168.1.64
  
  Afterwards some applications (trn, rtorrent, gaim) acknowledged the
  change and worked on the fly. Others, such as irssi, worked on a
  random basis (i.e. restarting it would lead to connecting or not to
  the servers). Firefox, mutt, snownews, lynx didn't even bother.
  
  I did modify the /etc/hostname.vr0 and /etc/hosts files before
  executing the command.
  
  I couldn't find any solution to this. Is it something I'm missing?
  I felt pretty dumb having to reboot my machine in order to solve
  this.
 
 Why's that?
 
 Ok, sure, we laugh our selves silly about everything we do in Windows
 requiring a reboot, however, it is easy to forget, sometimes (in fact,
 often!) one really SHOULD reboot a machine.

Don't worry I'm not an uptime maniac, it means nothing to me. I just had
something compiling and didn't want to reboot.

 
 I've seen this happen way too often, and done it a few times myself:
   1) Make changes on the fly
   2) Change config files
   3) ...do nothing...for months...
   4) reboot the server
   5) Find out the changes done in step 2 were done improperly...or
 forgotten to be done.
   6) Spend way too long trying to restore proper operation, as you no
 longer recall the what or the 
 
 If you reconfigure a machine, you need to reboot it to make sure you
 didn't fat-finger something in the process, and make sure it comes up
 on its own, even if you aren't doing that right this moment.
 

I agree.

 Yeah, that hurts your uptime.  That's ok, uptime is only significant
 to people who come from a Windows background anyway...virtually every
 other OS (including MSDOS) ran from when you start them to when you
 shut them down (or until an app crashed 'em)...and proper maintenance
 requires shutting them down from time to time.
 
 The actual answer to your question as asked would require much more
 information about what you did and what actually happened, but I think
 your question is wrong, so this is the answer I'm giving you.   Can
 you reconfig things on the fly?  In theory, yes.  Should you?  No, at
 least if you aren't reading the script files to understand how it all
 works together, and even then, schedule that reboot SOON so you can
 check for fat-fingering...
 
 Nick.
 

I just edited those files and ran that command. Nothing more, nothing
less. It was a simple IP change operation.



Re: IP change trouble

2007-01-23 Thread Paul Irofti
On Tue, Jan 23, 2007 at 10:02:38AM -0500, Eric Furman wrote:
 On Tue, 23 Jan 2007 00:05:56 +0200, Paul Irofti [EMAIL PROTECTED]
 said:
  I have changed one of my workstation's IP with:
  
  $ sudo ifconfig vr0 inet 192.168.1.64
  
 
 OK, I'll ask a dumb question and I apologize if this seems too obvious.
 Did you first bring the interface 'down', before changing the IP
 address? And then bring it back 'up', afterwords? Changing the IP 
 address on the fly can result in a number of unexpected things
 happening.

Heh, that must've been it. Reading your message I realized I don't
remember marking it as down before issuing the command. I remember doing
a bunch of ups and downs afterwards, but not before.

Thanks, I think that explains it. I've done this multiple times and
never had any trouble until last night. I was sure there was something
dumb I did (-:



IP change trouble

2007-01-22 Thread Paul Irofti
I have changed one of my workstation's IP with:

$ sudo ifconfig vr0 inet 192.168.1.64

Afterwards some applications (trn, rtorrent, gaim) acknowledged the change and 
worked on the fly. Others, such as irssi, worked on a random basis (i.e. 
restarting it would lead to connecting or not to the servers). Firefox, mutt, 
snownews, lynx didn't even bother.

I did modify the /etc/hostname.vr0 and /etc/hosts files before executing the 
command. 

I couldn't find any solution to this. Is it something I'm missing? I felt 
pretty dumb having to reboot my machine in order to solve this.

OpenBSD 4.0-current (GENERIC) #810: Tue Jan  9 11:36:49 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC



[OT] sparc64 CPU specifications: pipelines

2006-10-31 Thread Paul Irofti
I'm interested in the pipeline implementation of the sparc64 architecture, I
noticed there are quite a few sparc users on this list and I was wondering
if they could point me to a document describing the chip's architecture.

So far Google and Wikipedia didn't help much, all I was able to retrive were
some wierd docs from
(http://www.sparc.org/standards.html) that were poorly writen and quite
un-usefull, an OpenSPARC T1 pdf
(
http://opensparc-t1.sunsource.net/specs/UST1-UASuppl-current-draft-P-EXT.pdf)
that was more orientated twords development rather than hardware description
and some sort of presentation that was more related to performance with
multiple threads (
http://www.rz.rwth-aachen.de/computing/events/2006/sunhpc_2006/03_Tirumalai.pdf
).

So any specific links (maybe similar to intel documentation regarding it's
Pentium chips) are most apreciated.



Re: [OT] sparc64 CPU specifications: pipelines

2006-10-31 Thread Paul Irofti
Thanks, but I'm interested in specfic details regarding sparc, not generic
concepts and fundamentals.



Re: your mail which lacked a subject

2006-10-31 Thread Paul Irofti
On Tuesday 31 October 2006 21:40, Mark Zimmerman wrote:
 On Tue, Oct 31, 2006 at 01:19:09PM -0500, John Kintzele wrote:
  Hello,
 
  OpenBSD 4.0 installed from official CD (i386). No problems. In
  trying to install various Gnome apps (e.g., gedit), I'm running
  into a missing lib problem, and while I've people who've had the
  same problem on Google, I haven't found a clear response that seems
  to have fixed the problem.  (I am performing this pkg_add via FTP).
  In a nutshell, here is what I'm seeing from pkg_add:
 
  
 
  Can't install gnome-vfs2-2.10.1p0: lib not found crypto.12.0
  Even by looking in dependency tree... etc.
  Maybe it's in a dependent... etc.
  Can't install gnome-vfs2-2.10.1p0: lib not found ssl.10.0
  etc.
 
  
 
  Any suggestions?

 You mean, besides wait for 4.0 to be released? No, not really.

 ftp://ftp.openbsd.org/pub/OpenBSD/4.0 still looks empty to me. The
 place from which you are FTPing packages for 4.0 is almost certainly
 the wrong place. Installing packages that do not match your installed
 version leads to chaos, and sometimes public ridicule.

 5.5 hours to go until 01 Nov 2006 00:00:00 UTC. (The release may be
 later or earlier than this, at Theo's pleasure.)

 -- Mark

He said official CD, so you might reconsider your answer ;)



Re: blobs are bad

2006-10-18 Thread Paul Irofti
On Wednesday 18 October 2006 16:56, ICMan wrote:
 I have read this thread, and I don't get it.  Doesn't it benefit card
 companies to have open source communities making their drivers
 better? 

You're looking at it all wrong.. making drivers implies putting out 
docs. Docs will describe the actual hardware as well, maybe go a little 
into electronics too. 

Do you know how buggy the actual hardware is? Do you know how many chips 
with _experimental_ hardware NVIDIA has put on the market? For example 
a hole series of graphic cards were released that implemented a big set 
of 3D functions. The specifications didn't mention anything about it. 
But they were there, ready for you to enable them if you knew the magic 
combo...

I'm guessing the main restrain (as far as docs are implied) are the 
design flaws found in their hardware. This can destroy a reputation 
faster than a minor exploit that people don't really care about 
because It could never affect me, what are the chances? By the way 
have you seen my l33t XGL configuration?!?!



Re: Launching the Internet

2006-09-15 Thread Paul Irofti
 Launching the Internet

rolf! omg! lmao! Oh man, thanks.. I haven't laughed so hard for weeks 
now... ahahahahahha thank you!



chroot into Linux image

2006-09-13 Thread Paul Irofti
Hi misc,

I've been trying for the last 3 days to chroot (from OpenBSD) to a Linux 
image, such as /emul/linux.

The problem is that all I get is my date being set back to 1970.

Basicly what I try/do is:

# export SHELL=/bin/sh
# mount -t procfs proc /emul/linux/proc
# chroot /emul/linux

What happens next is that I get:

#
#
#cursor here

And my date is 1 Jan 1970... fun eh?:)

Any tips are more than welcomed.

Thanks,
Paul.



Re: chroot into Linux image

2006-09-13 Thread Paul Irofti
fyi NicM is a genius! thumbs up for this guy!!! :)

a symlink to /emul/linux in /emul/linux/emul fixed this!!

quote
NicM it just occurred to me now that once you have chrooted, the 
kernel will sitll be automatically prefixing /emul/linux to linux 
binaries
NicM and libraries
NicM so, the first attempt to open libc will try to open, 
eg, /emul/linux/lib/libc
NicM but you are chrooted
NicM so that becomes /emul/linux/emul/linux/lib/libc
NicM which doesn't exist
NicM so it falls back on native emul, which tries to run it, suceeds 
with what ot thinks is gettimeofday to set the time to 0
NicM and then exits
NicM 'cos it hits something else
NicM i'm not replying to misc@, you can reply :-)
/quote



Re: chroot into Linux image

2006-09-13 Thread Paul Irofti
On Wednesday 13 September 2006 22:45, Paul Irofti wrote:
 fyi NicM is a genius! thumbs up for this guy!!! :)

 a symlink to /emul/linux in /emul/linux/emul fixed this!!


erm, what I meant is symlink to / in /emul/linux/emul

i.e. # mkdir /emul/linux/emul  ln -s / /emul/linux/emul/linux



Re: 5.1 sound card support in OpenBSD

2006-09-05 Thread Paul Irofti
On Monday 04 September 2006 09:13, you wrote:
   Hi misc,

 I can't find informations on 5.1 sound card support in OpenBSD. I
 know OpenBSD sound system relies on SunAudio, but I'm not aware of
 its capabilities.

 Best regards,

 Bruno.

The best I could achive with OpenBSD is 4.1 :) I can't create output 
through center.

see mixerctl(1), basicly you have to enable rear speakers (off by 
default) and a few other things.