Re: mixerctl outputs.master.mute=on doesn't mute inputs.beep

2013-04-06 Thread James Griffin
Fri  5.Apr'13 at 23:32:30 + Ted Unangst
 On Fri, Apr 05, 2013 at 23:36, Zé Loff wrote:
  On Sat, Apr 06, 2013 at 12:17:03AM +0300, Ville Valkonen wrote:
  Hello,
 
  what says wsconsctl keyboard.bell.volume ? Have you tried to turn it to 0?
  
  That mutes it, thanks. It's not nearly as convenient as hitting the
  'mute button', but I guess I can live with it. At least I won't get the
  stink-eye when working at the public library or the like...
  
  Although, I'm still left with a question: shouldn't mixerctl handle
  this?
 
 The pc speaker may or may not be wired up through your sound card.

I had that problem with some older hardware I was using last year.

-- 
James Griffin:  jmz at kontrol.kode5.net 
jmzgriffin at gmail.com

A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38



Re: Advice on adding com2 to (amd64) GENERIC; enabling easier IPMI SOL with SuperMicro boards

2013-04-06 Thread Rogier Krieger
On Sat, Apr 6, 2013 at 1:35 AM, Ted Unangst t...@tedunangst.com wrote:
 I guess you missed the subsequent put back yesterday. :)

Guilty as charged.


 [...] com2 renumbers any other pci attached com ports from the likes of
puc.

I suppose for those running tools such as conserver, this would mean
changing the config lines that carry the 'baseport' values. In case it's
helpful, I've added the following snippet for faq/current.html to warn
unsuspecting serial users.

Regards,

Rogier



Index: current.html
===
RCS file: /cvs/www/faq/current.html,v
retrieving revision 1.373
diff -u -r1.373 current.html
--- current.html 28 Mar 2013 21:49:08 - 1.373
+++ current.html 6 Apr 2013 09:01:26 -
@@ -54,6 +54,7 @@
 lia href=#201303102013/03/10 - fontconfig update/a
 lia href=#201303112013/03/11 - pf translation counter added/a
 lia href=#201303252013/03/25 - Perl update/a
+lia href=#201304052013/04/05 - amd64 adds com2 and com3 to
GENERIC/a

 !-- New additions go on the bottom, please --
 /ul
@@ -562,6 +563,15 @@
 of this being committed and rely on such packages, you might like to wait
 for updated packages to become available to save the trouble of building
 them yourself.
+
+p
+a name=20130405/a
+h32013/04/05 - amd64 adds com2 and com3 to GENERIC/h3
+OpenBSD/amd64 GENERIC and GENERIC.MP kernels now include the com2 (COM3)
+and com3 (disabled by default) devices that were commented out before. This
+may cause the renumbering of serial ports on other devices such as puc(4).
+Users of the conserver port may want to use the 'portbase' and
'devicesubst'
+settings to easily adjust their configuration.

 hr
 a href= index.htmlimg height= 24 width= 24 src=
../images/back.gif border= 0 alt=[back]/a



Re: dwm random config

2013-04-06 Thread Dmitrij D. Czarkoff
On Thu, Apr 04, 2013 at 07:00:19PM -0400, Ted Unangst wrote:
 This patch picks random colors for dwm. Nothing too garish, the
 choices are constrained to be in the neighborhood of the existing
 defaults, but instead of all gray, you may see just a touch of green
 or red in the status bar.

There used to be a patch for updating lookfeel settings of dwb via
Xresources. I believe the fork of dwb including this feature is x11/echinus.

-- 
Dmitrij D. Czarkoff



Re: httpd.conf problem with defaults

2013-04-06 Thread John Tate
Removed all the NameVirtualHost lines and it still isn't working. I can't
make sense of it everything looks fine, I get some errors about _default_
VirtualHost.

# apachectl startssl
[Sat Apr  6 02:53:57 2013] [warn] module mod_php5.c is already added,
skipping
[Sat Apr  6 02:53:57 2013] [warn] module php5_module is already loaded,
skipping
[Sat Apr  6 02:53:57 2013] [warn] _default_ VirtualHost overlap on port 80,
the first has precedence
[Sat Apr  6 02:53:57 2013] [warn] _default_ VirtualHost overlap on port 80,
the first has precedence



On Fri, Apr 5, 2013 at 7:25 PM, Stuart Henderson s...@spacehopper.orgwrote:

 On 2013-04-05, John Tate j...@johntate.org wrote:
  NameVirtualHost 127.0.0.1:443
  NameVirtualHost 208.79.92.130:443
  NameVirtualHost 127.0.0.1:80
  NameVirtualHost 127.0.0.1:80
  NameVirtualHost 127.0.0.1:80
  NameVirtualHost 208.79.92.130:80
  NameVirtualHost 208.79.92.130:80
  NameVirtualHost 208.79.92.130:80

 remove the duplicate lines and see if it helps.




-- 
www.johntate.org



Re: preparing for installation with dual boot considerations

2013-04-06 Thread James Griffin
Fri  5.Apr'13 at 18:45:25 +0200 Peter J. Philipp
 On 04/05/13 18:04, Andrew Gould wrote:
 I am a new to OpenBSD.  (I have installed OpenBSD 5.2 once on an old
 computer with xdm and xfce enabled.)  I would like to install OpenBSD on a
 laptop that already has an active partition setup by Windows 7 and a
 partition containing Windows 7.  I have successfully upgraded the hard
 drive, so approximately 500GB are available at the end of the drive.
 
 1. I have read the installation and dual booting sections of the FAQ.  I am
 unsure about installing OpenBSD without altering the existing MBR.  Is it
 simply a matter of not marking the new partitions as active?
 
 2. easybcd forum suggests that easybcd can find OpenBSD if OpenBSD's
 bootloader is installed on the partition MBR.  Does anyone have any advice
 on whether easybcd should be used?  If so, how would I install the
 bootloader to the partition MBR?
 
 Thanks,
 
 Andrew Gould
 
 
 Hi Andrew,
 
 I installed 5.2 on a netbook by first shrinking the windows 7
 partition inside windows and then installing OpenBSD with the FAQ as
 my guide.  If properly read, which I luckily did, it should just work
 as it is  written.  It's generally a wise idea to make backups first,
 but to be totally honest I don't think I did as my data was
 expendible if it screwed up somewhere.  What you may want to have
 handy though is a memstick to transfer the PBR from the OpenBSD
 install to the Windows partition, which you need it to boot OpenBSD
 on hd.
 
 AFAIK you don't touch the MBR at all, I don't remember whether that
 was an option in the installer but if there was I said no, don't
 install or similar.  I remember however I was very nervous initially
 until I did it and it turned out to work.

I did this recently, it's easy to do. The most important thing is
creating the openbsd.pbr file, using dd(1) as described on the FAQ.

You can copy that to a memstick as Peter said; what I did/have is a
separate partition of FAT32 file system. I mount this from OpenBSD now
using /etc/fstab but at first you can just mount it during the install
process and copy the file to that. Then boot into Windows and follow the
instructions and copy the openbsd.pbr file from the FAT32 partition into
C: drive on Windows. It also has the benefit of being able to share some
files between the two OS's. Every time I upgrade a snapshot I just re-do
the dd if=/dev/rsd0a of=/mnt/mnt/MSDOS/openbsd.pbr bs=512 count=1  --
although I've not needed to copy it over in Windows so far. The upgrades
just go through as normal. But I do it just in case.

When you come out of the OpenBSD installation you may need to put in
your Windows 7 cd and go into the fix section to recreate the MBR, as
you'll be using Windows' boot manager to select what OS you boot into.


-- 
James Griffin:  jmz at kontrol.kode5.net 
jmzgriffin at gmail.com

A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38



Scrolling the terminal is slow on -current

2013-04-06 Thread Michal Mazurek
I upgraded my system to the latest snapshot with bsd.rd yesterday. I
noticed the terminal (ctrl+alt+F1) font has changed. It also became very
slow, but only when Xenocara is running. By slow I mean cating a file to
stdout produces very jumpy output, the music playback is jumpy as well.
Killing Xenocara returns it to normal.

Here is the dmesg of the affected system (an old laptop):


OpenBSD 5.3-current (GENERIC) #109: Thu Apr  4 09:59:15 MDT 2013
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 1.40GHz (GenuineIntel 686-class) 1.40 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,NXE,PERF
real mem  = 527822848 (503MB)
avail mem = 50024 (484MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/21/05, BIOS32 rev. 0 @ 0xf, SMBIOS 
rev. 2.3 @ 0xfc68f (23 entries)
bios0: vendor Hewlett-Packard version 68DTD Ver. F.0C date 11/21/2005
bios0: Hewlett-Packard HP Compaq nx6110 (PY536ES#AKD)
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG
acpi0: wakeup devices C068(S5) C0BB(S3) C0C2(S3) C0C3(S3) C0C4(S3) C0C5(S3) 
C0CC(S5) C1CD(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfec01000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 99MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 2 (C068)
acpiprt1 at acpi0: bus 0 (C002)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1
acpipwrres0 at acpi0: C1A6
acpipwrres1 at acpi0: C1AE
acpipwrres2 at acpi0: C1B5
acpipwrres3 at acpi0: C1C5
acpipwrres4 at acpi0: C244
acpipwrres5 at acpi0: C245
acpipwrres6 at acpi0: C246
acpipwrres7 at acpi0: C247
acpitz0 at acpi0: critical temperature is 102 degC
acpitz1 at acpi0: critical temperature is 103 degC
acpitz2 at acpi0: critical temperature is 102 degC
acpitz3 at acpi0: critical temperature is 110 degC
acpibat0 at acpi0: C174 model Primary serial 03121 2005/12/21 type LIon oem 
Hewlett-Packard
acpibat1 at acpi0: C173 not present
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: C1E8
acpibtn1 at acpi0: C1E9
acpivideo0 at acpi0: C055
bios0: ROM list: 0xc/0x1!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x03
intagp0 at vga1
agp0 at intagp0: aperture at 0xc000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: apic 1 int 16
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel 82915GM Video rev 0x03 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: apic 1 int 23
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: apic 1 int 17
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: apic 1 int 18
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: apic 1 int 19
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd3
pci1 at ppb0 bus 2
iwi0 at pci1 dev 4 function 0 Intel PRO/Wireless 2200BG rev 0x05: apic 1 int 
21, address 00:0e:35:41:65:91
cbb0 at pci1 dev 6 function 0 TI PCI7XX1 CardBus rev 0x00: apic 1 int 18
TI PCI7XX1 FireWire rev 0x00 at pci1 dev 6 function 2 not configured
bce0 at pci1 dev 14 function 0 Broadcom BCM4401B1 rev 0x02: apic 1 int 16, 
address 00:14:c2:e5:4a:64
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x10, lattimer 0x20
pcmcia0 at cardslot0
auich0 at pci0 dev 30 function 2 Intel 82801FB AC97 rev 0x03: apic 1 int 21, 
ICH6 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
Intel 82801FB Modem rev 0x03 at pci0 dev 30 function 3 not configured
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801FB IDE rev 0x03: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: TOSHIBA MK4025GAS
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TSSTcorp, CD/DVDW TS-L532M, HR08 ATAPI 5/cdrom 
removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
cd0(pciide0:0:1): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
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: 

Re: Scrolling the terminal is slow on -current

2013-04-06 Thread Otto Moerbeek
On Sat, Apr 06, 2013 at 03:18:55PM +0200, Michal Mazurek wrote:

 I upgraded my system to the latest snapshot with bsd.rd yesterday. I
 noticed the terminal (ctrl+alt+F1) font has changed. It also became very
 slow, but only when Xenocara is running. By slow I mean cating a file to
 stdout produces very jumpy output, the music playback is jumpy as well.
 Killing Xenocara returns it to normal.

What you are seeing is work to get accelarted X on intel graphics
hardware. This has the side effect that the console switched from VGA
text mode to framebuffer style and also that the console only is
accelerated if X is not running.

-Otto

 
 Here is the dmesg of the affected system (an old laptop):
 
 
 OpenBSD 5.3-current (GENERIC) #109: Thu Apr  4 09:59:15 MDT 2013
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Celeron(R) M processor 1.40GHz (GenuineIntel 686-class) 1.40 
 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,NXE,PERF
 real mem  = 527822848 (503MB)
 avail mem = 50024 (484MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 11/21/05, BIOS32 rev. 0 @ 0xf, 
 SMBIOS rev. 2.3 @ 0xfc68f (23 entries)
 bios0: vendor Hewlett-Packard version 68DTD Ver. F.0C date 11/21/2005
 bios0: Hewlett-Packard HP Compaq nx6110 (PY536ES#AKD)
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP APIC MCFG
 acpi0: wakeup devices C068(S5) C0BB(S3) C0C2(S3) C0C3(S3) C0C4(S3) C0C5(S3) 
 C0CC(S5) C1CD(S5)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfec01000: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 99MHz
 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 1
 acpimcfg0 at acpi0 addr 0xe000, bus 0-255
 acpiprt0 at acpi0: bus 2 (C068)
 acpiprt1 at acpi0: bus 0 (C002)
 acpiec0 at acpi0
 acpicpu0 at acpi0: C3, C2, C1
 acpipwrres0 at acpi0: C1A6
 acpipwrres1 at acpi0: C1AE
 acpipwrres2 at acpi0: C1B5
 acpipwrres3 at acpi0: C1C5
 acpipwrres4 at acpi0: C244
 acpipwrres5 at acpi0: C245
 acpipwrres6 at acpi0: C246
 acpipwrres7 at acpi0: C247
 acpitz0 at acpi0: critical temperature is 102 degC
 acpitz1 at acpi0: critical temperature is 103 degC
 acpitz2 at acpi0: critical temperature is 102 degC
 acpitz3 at acpi0: critical temperature is 110 degC
 acpibat0 at acpi0: C174 model Primary serial 03121 2005/12/21 type LIon oem 
 Hewlett-Packard
 acpibat1 at acpi0: C173 not present
 acpiac0 at acpi0: AC unit online
 acpibtn0 at acpi0: C1E8
 acpibtn1 at acpi0: C1E9
 acpivideo0 at acpi0: C055
 bios0: ROM list: 0xc/0x1!
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x03
 vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x03
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xc000, size 0x1000
 inteldrm0 at vga1
 drm0 at inteldrm0
 inteldrm0: apic 1 int 16
 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
 wsdisplay0: screen 1-5 added (std, vt100 emulation)
 Intel 82915GM Video rev 0x03 at pci0 dev 2 function 1 not configured
 uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: apic 1 int 23
 uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: apic 1 int 17
 uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: apic 1 int 18
 uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: apic 1 int 19
 ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: apic 1 int 23
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd3
 pci1 at ppb0 bus 2
 iwi0 at pci1 dev 4 function 0 Intel PRO/Wireless 2200BG rev 0x05: apic 1 
 int 21, address 00:0e:35:41:65:91
 cbb0 at pci1 dev 6 function 0 TI PCI7XX1 CardBus rev 0x00: apic 1 int 18
 TI PCI7XX1 FireWire rev 0x00 at pci1 dev 6 function 2 not configured
 bce0 at pci1 dev 14 function 0 Broadcom BCM4401B1 rev 0x02: apic 1 int 16, 
 address 00:14:c2:e5:4a:64
 bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
 cardslot0 at cbb0 slot 0 flags 0
 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x10, lattimer 0x20
 pcmcia0 at cardslot0
 auich0 at pci0 dev 30 function 2 Intel 82801FB AC97 rev 0x03: apic 1 int 
 21, ICH6 AC97
 ac97: codec id 0x41445374 (Analog Devices AD1981B)
 ac97: codec features headphone, 20 bit DAC, No 3D Stereo
 audio0 at auich0
 Intel 82801FB Modem rev 0x03 at pci0 dev 30 function 3 not configured
 ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x03: PM disabled
 pciide0 at pci0 dev 31 function 1 Intel 82801FB IDE rev 0x03: DMA, channel 
 0 configured to compatibility, channel 1 configured to compatibility
 wd0 at pciide0 channel 0 drive 0: TOSHIBA MK4025GAS
 wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
 atapiscsi0 at pciide0 channel 0 drive 1
 scsibus0 at atapiscsi0: 

Re: httpd.conf problem with defaults

2013-04-06 Thread Nicolai
On Fri, Apr 05, 2013 at 02:18:42PM +1100, John Tate wrote:
 I'm getting these warnings:

What's the output of 'apachectl configtest' ?

Nicolai



Re: softraid mirror I/O error, cannot recover data

2013-04-06 Thread Stuart Henderson
On 2013-04-04, Juha Erkkila j...@turnipsi.no-ip.org wrote:
 Hello misc,

 I am having a problem with a mirroring softraid configuration.
 Every time I try to access a particular partition in softraid
 volume I start to get I/O errors so that softraid totally breaks,
 that is, becomes non-operative.

 Note that it does very much look like that both of these
 disks are actually defective.

 Note that I said that I think both disks are defective.  When
 the system is booted with softraid disabled and then the disks
 (sd0 and sd1) are read with
 dd if=/dev/rsd0c of=/dev/null conv=noerror,sync,
 dd reports several I/O errors (a few such errors every now and then).

You might want to try different cables, though really it sounds
like it's probably time to restore from your backups.



Re: httpd.conf problem with defaults

2013-04-06 Thread Zé Loff
On Sat, Apr 06, 2013 at 08:55:53PM +1100, John Tate wrote:
 Removed all the NameVirtualHost lines and it still isn't working. I can't
 make sense of it everything looks fine, I get some errors about _default_
 VirtualHost.
 
 # apachectl startssl
 [Sat Apr  6 02:53:57 2013] [warn] module mod_php5.c is already added,
 skipping
 [Sat Apr  6 02:53:57 2013] [warn] module php5_module is already loaded,
 skipping
 [Sat Apr  6 02:53:57 2013] [warn] _default_ VirtualHost overlap on port 80,
 the first has precedence
 [Sat Apr  6 02:53:57 2013] [warn] _default_ VirtualHost overlap on port 80,
 the first has precedence
 
 
 
 On Fri, Apr 5, 2013 at 7:25 PM, Stuart Henderson s...@spacehopper.orgwrote:
 
  On 2013-04-05, John Tate j...@johntate.org wrote:
   NameVirtualHost 127.0.0.1:443
   NameVirtualHost 208.79.92.130:443
   NameVirtualHost 127.0.0.1:80
   NameVirtualHost 127.0.0.1:80
   NameVirtualHost 127.0.0.1:80
   NameVirtualHost 208.79.92.130:80
   NameVirtualHost 208.79.92.130:80
   NameVirtualHost 208.79.92.130:80
 
  remove the duplicate lines and see if it helps.
 
 
 
 
 -- 
 www.johntate.org
 

Apache is telling you what is wrong. You have several default VHs, and
the first (for port 80 it's johntate.org) has precedence, so that's why
you always get redirected to it.

Try changing the NameVirtualHost directives to *:80 and *:443. You are
specifying IP addresses on those directives, but then define
virtual hosts on *:80 and *:443, and maybe that's the problem (I've
moved from apache to nginx, so I'm not testing any of this...). Here's
a (very trimmed) known-to-work config:

ServerName www.phistat.com
DocumentRoot /var/www/htdocs
UseCanonicalName On

NameVirtualHost *:80
NameVirtualHost *:443

VirtualHost *:80
ServerAdmin webmas...@zeloff.org
DocumentRoot/var/www/htdocs
ServerName  www.zeloff.org
ErrorLoglogs/error_log
CustomLog   logs/access_log combined
Directory /var/www/htdocs/fdm
Options Multiviews
FollowSymLinks
AllowOverride   None
Order   
allow,deny
Allow from  all
/Directory
/VirtualHost

VirtualHost *:80
ServerAdmin webmas...@phistat.com
DocumentRoot/var/www/htdocs/phiStat
ServerName  www.phistat.com
ErrorLog
logs/www.phistat.com-error_log
CustomLog   
logs/www.phistat.com-access_log combined
/VirtualHost

Additionally you are adding the php modules twice: in your httpd.conf file and
most likely on *.conf files present on the /var/www/conf/modules folder,
which you are including with the Include /var/www/conf/modules/*.conf
line, but this has nothing to do with the redirections.


-- 



Re: httpd.conf problem with defaults

2013-04-06 Thread John Tate
Thanks, that worked.


On Sun, Apr 7, 2013 at 6:45 AM, Zé Loff zel...@zeloff.org wrote:

 On Sat, Apr 06, 2013 at 08:55:53PM +1100, John Tate wrote:
  Removed all the NameVirtualHost lines and it still isn't working. I can't
  make sense of it everything looks fine, I get some errors about _default_
  VirtualHost.
 
  # apachectl startssl
  [Sat Apr  6 02:53:57 2013] [warn] module mod_php5.c is already added,
  skipping
  [Sat Apr  6 02:53:57 2013] [warn] module php5_module is already loaded,
  skipping
  [Sat Apr  6 02:53:57 2013] [warn] _default_ VirtualHost overlap on port
 80,
  the first has precedence
  [Sat Apr  6 02:53:57 2013] [warn] _default_ VirtualHost overlap on port
 80,
  the first has precedence
 
 
 
  On Fri, Apr 5, 2013 at 7:25 PM, Stuart Henderson s...@spacehopper.org
 wrote:
 
   On 2013-04-05, John Tate j...@johntate.org wrote:
NameVirtualHost 127.0.0.1:443
NameVirtualHost 208.79.92.130:443
NameVirtualHost 127.0.0.1:80
NameVirtualHost 127.0.0.1:80
NameVirtualHost 127.0.0.1:80
NameVirtualHost 208.79.92.130:80
NameVirtualHost 208.79.92.130:80
NameVirtualHost 208.79.92.130:80
  
   remove the duplicate lines and see if it helps.
  
  
 
 
  --
  www.johntate.org
 

 Apache is telling you what is wrong. You have several default VHs, and
 the first (for port 80 it's johntate.org) has precedence, so that's why
 you always get redirected to it.

 Try changing the NameVirtualHost directives to *:80 and *:443. You are
 specifying IP addresses on those directives, but then define
 virtual hosts on *:80 and *:443, and maybe that's the problem (I've
 moved from apache to nginx, so I'm not testing any of this...). Here's
 a (very trimmed) known-to-work config:

 ServerName www.phistat.com
 DocumentRoot /var/www/htdocs
 UseCanonicalName On

 NameVirtualHost *:80
 NameVirtualHost *:443

 VirtualHost *:80
 ServerAdmin webmas...@zeloff.org
 DocumentRoot/var/www/htdocs
 ServerName  www.zeloff.org
 ErrorLoglogs/error_log
 CustomLog   logs/access_log combined
 Directory /var/www/htdocs/fdm
 Options Multiviews
 FollowSymLinks
 AllowOverride   None
 Order
   allow,deny
 Allow from  all
 /Directory
 /VirtualHost

 VirtualHost *:80
 ServerAdmin
 webmas...@phistat.com
 DocumentRoot/var/www/htdocs/phiStat
 ServerName  www.phistat.com
 ErrorLog
  logs/www.phistat.com-error_log
 CustomLog
 logs/www.phistat.com-access_log combined
 /VirtualHost

 Additionally you are adding the php modules twice: in your httpd.conf file
 and
 most likely on *.conf files present on the /var/www/conf/modules folder,
 which you are including with the Include /var/www/conf/modules/*.conf
 line, but this has nothing to do with the redirections.


 --




--
www.johntate.org



Re: Scrolling the terminal is slow on -current

2013-04-06 Thread Ted Unangst
On Sat, Apr 06, 2013 at 15:18, Michal Mazurek wrote:
 I upgraded my system to the latest snapshot with bsd.rd yesterday. I
 noticed the terminal (ctrl+alt+F1) font has changed. It also became very
 slow, but only when Xenocara is running. By slow I mean cating a file to
 stdout produces very jumpy output, the music playback is jumpy as well.
 Killing Xenocara returns it to normal.

This is known. Acceleration is turned off while X is running.