Re: Upgrade to 5.2?

2012-11-01 Thread Anders Trobäck
Den Thu, 1 Nov 2012 08:11:26 +
skrev Jamie Paul Griffin :

> / Tyler Morgan wrote on Wed 31.Oct'12 at 20:04:11 -0700 /
> 
> > Don't do it! Seriously, the upgrade process is easy, and is worth
> > becoming familiar with. At least give it a shot since you're
> > planning on reinstalling anyway. I think you'll be pleasantly
> > surprised!
> 
> Just out of curiosity, do you think the easiest method is to use the
> bds.rd method or should I use a CD to do the upgrade, is one method
> preferred or easier over the other?

I always (well almost, I have some systems where I do the tar thing) use
bsd.rd and it has worked perfect for me every time so far! I don't know
if it's the official preferred way but it's the way I prefer!:-)



Re: Upgrade to 5.2?

2012-11-01 Thread Anders Trobäck
Den Thu, 1 Nov 2012 09:34:50 +0100
skrev Anders Trobäck :

> Den Thu, 1 Nov 2012 08:11:26 +
> skrev Jamie Paul Griffin :
> 
> > / Tyler Morgan wrote on Wed 31.Oct'12 at 20:04:11 -0700 /
> > 
> > > Don't do it! Seriously, the upgrade process is easy, and is worth
> > > becoming familiar with. At least give it a shot since you're
> > > planning on reinstalling anyway. I think you'll be pleasantly
> > > surprised!
> > 
> > Just out of curiosity, do you think the easiest method is to use the
> > bds.rd method or should I use a CD to do the upgrade, is one method
> > preferred or easier over the other?
> 
> I always (well almost, I have some systems where I do the tar thing)
> use bsd.rd and it has worked perfect for me every time so far! I
> don't know if it's the official preferred way but it's the way I
> prefer!:-)

Don't forget to buy something else or donate to support the project;-)



afsd?

2012-11-12 Thread Anders Trobäck
Hi,

is afsd working in 5.2?

If yes, where can I read about the error "arla[13196]:
kern_open /dev/nnpfs0: Operation not supported by device" besides
in /var/log/daemon?

If no, where can I read about why?

Thanks!


Br/Anders



Re: afsd?

2012-11-12 Thread Anders Trobäck
Den Mon, 12 Nov 2012 17:52:17 +0100
skrev Janne Johansson :

> nnpfs (ie arla) has been discontinued in openbsd.
> 
> 2012/11/12 Anders Trobäck :
> > Hi,
> >
> > is afsd working in 5.2?
> >
> > If yes, where can I read about the error "arla[13196]:
> > kern_open /dev/nnpfs0: Operation not supported by device" besides
> > in /var/log/daemon?
> >
> > If no, where can I read about why?
> >
> > Thanks!
> >
> >
> > Br/Anders
> >
> 
> 
> 

So now it's just net/openafs for afs support?



Re: moving postgresql files to seperate mount

2016-06-01 Thread Anders Trobäck

Den 2016-06-01 kl. 09:45, skrev Markus Rosjat:

Hi there,

just need some kind of acknowledgement for my workflow :)

a naive approach would be:

 - extend the virtual disk
 - create a partition /var/postgresql (thats the folder under var 
right now)

 - move the files to the new partition
 - hope it works :-P

So hope someone with experience in such scenario can give me a hint or 
too


Thanks and regards


Hi,


Normally it works :-) (don't forget to make a pg_dump of all databases). 
I don't use extend, I just adds a new disk and mounts it temporary some 
where and copies the data and then mounts it on the right folder.


As an alternative you can mount the new file system wherever you like 
and point to in in the config file but I don't like that. Non standard 
places easy creates mistakes.



\\at



Re: xfce4 freeze on Loongson netbook

2012-03-20 Thread Anders Trobäck
What happens if you run a different window manager like fvwm?

Den Tue, 20 Mar 2012 23:41:56 +0800
skrev Alan Cheng :

> Hello List,
> 
> So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without
> any issues, But it will freeze after around 15 minutes, even if I do
> nothing on it. Starting "terminal" will cause it to freeze
> immediately.
> 
> I can still SSH into this netbook after freeze and everything else
> seems to be fine.
> 
> This happens back during 4.9 days. It's the same on 5.0 and current
> snapshot.
> 
> Any insight will be appreciated. and I'll be glad to provide any info
> required to troubleshoot this.
> 
> I'm not sure exactly what info will be needed, so I'll start with
> dmesg. More will be provided as necessary:
> 
> [ using 466480 bytes of bsd ELF symbol table ]
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California.  All rights
> reserved. Copyright (c) 1995-2012 OpenBSD. All rights reserved.
> http://www.OpenBSD.org 
> OpenBSD 5.1 (GENERIC) #93: Sun Feb 12 18:10:05 MST 2012
> dera...@loongson.openbsd.org:/usr/src/sys/arch/loongson/compile/GENERIC
> real mem = 1073741824 (1024MB)
> avail mem = 1059160064 (1010MB)
> mainbus0 at root: Lemote Yeeloong
> cpu0 at mainbus0: STC Loongson2F CPU 796 MHz, STC Loongson2F FPU
> cpu0: cache L1-I 64KB D 64KB 4 way, L2 512KB 4 way
> bonito0 at mainbus0: memory and PCI-X controller, rev 1
> pci0 at bonito0 bus 0
> rl0 at pci0 dev 7 function 0 "Realtek 8139" rev 0x10: irq 5, address
> 00:23:8b:b5:38:eb
> rlphy0 at rl0 phy 0: RTL internal PHY
> smfb0 at pci0 dev 8 function 0 "Silicon Motion LynxEM+" rev 0xb0
> wsdisplay0 at smfb0 mux 1: console (std, vt100 emulation)
> ohci0 at pci0 dev 9 function 0 "NEC USB" rev 0x44: irq 7, version 1.0
> ehci0 at pci0 dev 9 function 1 "NEC USB" rev 0x05: irq 7
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
> glxpcib0 at pci0 dev 14 function 0 "AMD CS5536 ISA" rev 0x03: rev 3,
> 32-bit 3579545Hz timer, watchdog, gpio
> gpio1 at glxpcib0: 32 pins
> pciide0 at pci0 dev 14 function 2 "AMD CS5536 IDE" rev 0x01: DMA,
> channel 0 wired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 drive 0: 
> wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 ignored (disabled)
> auglx0 at pci0 dev 14 function 3 "AMD CS5536 Audio" rev 0x01: isa irq
> 9, CS5536 AC97
> ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
> audio0 at auglx0
> ohci1 at pci0 dev 14 function 4 "AMD CS5536 USB" rev 0x02: isa irq 11,
> version 1.0, legacy support
> ehci1 at pci0 dev 14 function 5 "AMD CS5536 USB" rev 0x02: isa irq 11
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1
> usb2 at ohci0: USB revision 1.0
> uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1
> isa0 at glxpcib0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> mcclock0 at isa0 port 0x70/2: mc146818 or compatible
> ykbec0 at isa0 port 0x381/3
> usb3 at ohci1: USB revision 1.0
> uhub3 at usb3 "AMD OHCI root hub" rev 1.00/1.00 addr 1
> clock0 at mainbus0: ticker on int5 using count register
> apm0 at mainbus0
> rum0 at uhub0 port 2 "Ralink Technology RT2573" rev 2.00/0.01 addr 2
> rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address
> 00:19:e0:81:e1:4e umass0 at uhub1 port 1 configuration 1 interface 0
> "Generic USB2.0-CRW" rev 2.00/58.87 addr 2
> umass0: using SCSI over Bulk-Only
> scsibus0 at umass0: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0:  SCSI0
> 0/direct removable serial.0bda015811417340
> urtw0 at uhub1 port 4 "Realtek RTL8187B" rev 2.00/2.00 addr 3
> urtw0: RTL8187B rev E, address 00:17:c4:3d:33:f9
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> pmon bootpath: /dev/disk/wd0
> boot device: wd0
> root on wd0a (2c517028a6b8deda.a) swap on wd0b dump on wd0b
> apm0: battery high
> 
> thanks,
> Alan



Re: udevadm equivalent

2012-03-30 Thread Anders Trobäck
Den Thu, 29 Mar 2012 00:49:59 -0400
skrev Ted Unangst :

> On Wed, Mar 28, 2012, Beavis wrote:
> > hi,
> > 
> > is there an equivalent to udevadm in OpenBSD or BSD in particular?
> 
> hotplugd maybe.

And maybe sysutils/hotplug-diskmount can help you...



Sendmail ignore the /etc/hosts file!

2012-08-03 Thread Anders Trobäck
Hi!

Can someone please confirm that this method is working:

http://www.openbsd.org/faq/faq10.html#SendmailDNS

Running on 5.1-RELEASE!

Thanks!


Br/Anders



Re: OpenBSD 4.8 can't find CD drive on Dell Latitude E6500

2010-11-10 Thread Anders Trobäck
Den Wed, 10 Nov 2010 09:21:56 +0100
skrev Martin Toft :

> On Wed, Nov 10, 2010 at 08:24:29AM +0100, Leslie Jensen wrote:
> > http://www.eskk.nu/gallery/?album=/bios/&picture=IMAG0115.jpg&fullsize=0
> >
> > Please advise me on what you think would be the best setting.
> > Keeping in mind that I do not want to corrupt data on the hard
> > drive.
> 
> A year ago I used a Dell E6400 for work, and it seems like your E6500
> has the same hard drive options. As far as I remember, I was able to
> install OpenBSD 4.7 (-ish, a snapshot at the time) on its hard drive
> when it was set to use AHCI. However, in AHCI-mode the cdrom drive
> wasn't found. Changing from IRRT to AHCI and trying a install will
> probably corrupt your data.
> 
> I gave up running OpenBSD on the laptop, as there was no X Video
> Extension support for its NVIDIA graphics... Even a somewhat mighty
> Core 2 Duo isn't enough for software scaling.
> 
> Martin

I'm running 4.8 on a E6500 and my cd are working just fine but I'm
using the AHCI mode!

If you change i strongly recommends to backup all the data (but you can
skip the Win7 data, you shouldn't use that any way;-))!


Br/Anders