choppy video playback

2006-06-03 Thread Simon Morgan
I'm getting choppy video playback with both Ogle and mplayer on an AMD
Athlon XP 2000 with 1GB of RAM. I am thinking it is possibly an X
problem but can't imagine what is causing it.

If anybody could offer some suggestions on how to start getting to the
root of the problem I would appreciate it. Thanks.

OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(TM) XP 2000+ (AuthenticAMD 686-class, 256KB L2 cache) 1.66 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
cpu0: AMD Powernow: TS
real mem  = 1073307648 (1048152K)
avail mem = 972660736 (949864K)
using 4278 buffers containing 53768192 bytes (52508K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(bf) BIOS, date 04/21/04, BIOS32 rev. 0 @ 0xf1aa0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xd000 0xd/0x6000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA VT8377 PCI rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8235 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon 9200 PRO rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ATI Radeon 9200 PRO Sec rev 0x01 at pci1 dev 0 function 1 not configured
bce0 at pci0 dev 9 function 0 Broadcom BCM4401 rev 0x01: irq 4, address 
00:e0:18:a1:31:f0
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
cmpci0 at pci0 dev 11 function 0 C-Media Electronics CMI8738/C3DX Audio rev 
0x10: irq 3
audio0 at cmpci0
ral0 at pci0 dev 14 function 0 Ralink RT2560 rev 0x01: irq 10, address 
00:0e:2e:5c:2d:0f
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x80: irq 7
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 0x80: irq 7
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 0x80: irq 7
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
ehci0 at pci0 dev 16 function 3 VIA VT6202 USB rev 0x82: irq 7
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
viapm0 at pci0 dev 17 function 0 VIA VT8235 ISA rev 0x00
iic0 at viapm0
unknown at iic0 addr 0x18 not configured
asbtm0 at iic0 addr 0x2d
lm1 at iic0 addr 0x2f: W83791D
pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: IC35L060AVVA07-0
wd0: 16-sector PIO, LBA, 58644MB, 120103200 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: PIONEER, DVD-RW DVR-108, 1.20 SCSI0 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x50: irq 6
ac97: codec id 0x414c4720 (Avance Logic ALC650)
ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
audio1 at auvia0
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
biomask fba5 netmask ffb5 ttymask ffb7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
uhidev0 at uhub1 port 2 configuration 1 interface 0
uhidev0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 1.10/3.00, 
addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

X-Video Extension version 2.2
screen #0
  Adaptor #0: ATI Radeon Video Overlay
number of ports: 1
port base: 65
operations supported: PutImage 
supported visuals:
  depth 16, visualID 0x23
  depth 16, visualID 0x24
  depth 16, visualID 0x25
  depth 16, visualID 0x26
  depth 16, visualID 0x27
  depth 16, visualID 0x28
  depth 16, visualID 0x29
  depth 16, visualID 0x2a
number of attributes: 22
  XV_DEVICE_ID (range 0 to -1)
  client gettable attribute (current value is 108)
  XV_LOCATION_ID (range 0 to -1)
  client gettable attribute (current value is 109)
  XV_INSTANCE_ID (range 0 to -1)
  client gettable attribute 

poor cmpci sound quality

2006-06-03 Thread Simon Morgan
I have a HitPoint HCMI-5.1CH-OF which uses the cmpci chipset. I am not
an audiophile type (64kbps vorbis sounds good to me) but the sound
quality is particularly bad in that there is a lot of hissing in the
background even though I'm listening at a nominal volume. I would be
inclined to think it was a hardware problem if it weren't for the fact
that the sound quality is fine under Linux. Does anybody have any idea
what the problem could be? Are there any settings that might make a
difference (I've tried muting all the other channels)?

Thank.

OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(TM) XP 2000+ (AuthenticAMD 686-class, 256KB L2 cache) 1.66 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
cpu0: AMD Powernow: TS
real mem  = 1073307648 (1048152K)
avail mem = 972660736 (949864K)
using 4278 buffers containing 53768192 bytes (52508K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(bf) BIOS, date 04/21/04, BIOS32 rev. 0 @ 0xf1aa0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xd000 0xd/0x6000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA VT8377 PCI rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8235 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon 9200 PRO rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ATI Radeon 9200 PRO Sec rev 0x01 at pci1 dev 0 function 1 not configured
bce0 at pci0 dev 9 function 0 Broadcom BCM4401 rev 0x01: irq 4, address 
00:e0:18:a1:31:f0
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
cmpci0 at pci0 dev 11 function 0 C-Media Electronics CMI8738/C3DX Audio rev 
0x10: irq 3
audio0 at cmpci0
ral0 at pci0 dev 14 function 0 Ralink RT2560 rev 0x01: irq 10, address 
00:0e:2e:5c:2d:0f
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x80: irq 7
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 0x80: irq 7
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 0x80: irq 7
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
ehci0 at pci0 dev 16 function 3 VIA VT6202 USB rev 0x82: irq 7
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
viapm0 at pci0 dev 17 function 0 VIA VT8235 ISA rev 0x00
iic0 at viapm0
unknown at iic0 addr 0x18 not configured
asbtm0 at iic0 addr 0x2d
lm1 at iic0 addr 0x2f: W83791D
pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: IC35L060AVVA07-0
wd0: 16-sector PIO, LBA, 58644MB, 120103200 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: PIONEER, DVD-RW DVR-108, 1.20 SCSI0 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x50: irq 6
ac97: codec id 0x414c4720 (Avance Logic ALC650)
ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
audio1 at auvia0
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
biomask fba5 netmask ffb5 ttymask ffb7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
uhidev0 at uhub1 port 2 configuration 1 interface 0
uhidev0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 1.10/3.00, 
addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

-- 
The bigger the theory the better.



Re: poor cmpci sound quality

2006-06-03 Thread Simon Morgan
On Sat, Jun 03, 2006 at 03:14:09PM +0100, Simon Morgan wrote:
 I have a HitPoint HCMI-5.1CH-OF which uses the cmpci chipset. I am not
 an audiophile type (64kbps vorbis sounds good to me) but the sound
 quality is particularly bad in that there is a lot of hissing in the
 background even though I'm listening at a nominal volume. I would be
 inclined to think it was a hardware problem if it weren't for the fact
 that the sound quality is fine under Linux. Does anybody have any idea
 what the problem could be? Are there any settings that might make a
 difference (I've tried muting all the other channels)?

After playing around a bit this only seems to happen with DVDs. CDs and
MP3s are OK. I am guessing this might have something to do with the fact
that DVD sound is encoded at 48KHz. Does this help?

-- 
Campus sidewalks never exist as the straightest line between two
points.
-- M. M. Johnston



Re: poor cmpci sound quality

2006-06-03 Thread Simon Morgan
TeXitoi guillaume.pinot at tremplin-utc.net writes:
 Simon Morgan simon at 16hz.net writes:
  auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x50: irq 6
  ac97: codec id 0x414c4720 (Avance Logic ALC650)
  ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
  audio1 at auvia0
 
 read this thread:
 http://www.monkey.org/openbsd/archive/misc/0409/msg00337.html
 
 It could be great to say that auvia can have problems with non-48000Hz
 sounds in the auvia man page.

Yes, but it's cmpci that I'm having problems with.

It's funny you should mention auvia because up until today I couldn't get it 
working at all, I had to disable the card just to get the machine to boot (I 
bought the cmpci card because of this). However, now that I have got it working 
(thanks to a number of people), the sound quality is fine playing both 48KHz 
and 
41KHz audio. Ugh!



Re: sound card woes

2006-06-01 Thread Simon Morgan
On Thu, Jun 01, 2006 at 03:23:59PM +0300, laurent FANIS wrote:
 Did you try http://www.openbsd.org/i386.html
 I have a cmpci cheap card (6/7 USD).Works fine.

Of course. But that only gives a list of chipsets and doesn't actually
tell you what cards use them which is the information I am looking for.
I understand that idiotic vendors have a habit of randomly changing
their chipsets so I don't expect this kind of information to be listed
there.

Only 1 other person has replied since I posted my request but luckily I
found:

http://www.arch.cam.ac.uk/~dir21/OpenBSD/sound.html

I've since bought that card and although it works the sound quality is
pretty poor, there is a lot of hissing which I don't get in Linux. On
top of that mplayer is still unusably slow for playing DVDs (Athlon XP
2000+), this was also the case when I installed OpenBSD 3.8 on an AMD64
3200 last year. I have to note that this was a completely different
system to the one I'm using now and yet it had the exact same problem,
does nobody watch DVDs using OpenBSD or something?

I will try again to find a solution to these problems on the mailing list
but I don't hold up much hope given my experiences and will probably
switch back.

Thanks anyway.

-- 
Conscience is the inner voice that warns us somebody is looking.
-- H. L. Mencken, A Mencken Chrestomathy



sound card woes

2006-05-30 Thread Simon Morgan
Hi,

I have a few questions regarding sound cards and OpenBSD, in particular
the Dell Sound Blaster Live! I seem to have been lumped with.

Is it really completely unsupported as this[1] post seems to indicate?
If it's unsupported why does the kernel seem to think that it is? Bug?
The card was actually bought as a replacement for my motherboards
built-in card (auvea) which hasn't worked as long as i can remember and
doesn't look like it's going to be fixed anytime soon[2]. Is anybody
aware of any (basic) sound card I can buy and be reasonably confident it
will work?

Please CC any replies as I'm not subscribed.

Thanks.

[1]: http://marc.theaimsgroup.com/?l=openbsd-miscm=112253665203552
[2]: http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=4504

OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(TM) XP 2000+ (AuthenticAMD 686-class, 256KB L2 cache) 1.66 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
cpu0: AMD Powernow: TS
real mem  = 1073307648 (1048152K)
avail mem = 972660736 (949864K)
using 4278 buffers containing 53768192 bytes (52508K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(bf) BIOS, date 04/21/04, BIOS32 rev. 0 @ 0xf1aa0
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/0x2162
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf2080/224 (12 entries)
pcibios0: PCI Interrupt Router at 000:17:0 (VIA VT82C586 ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xd000 0xd/0x6000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA VT8377 PCI rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8235 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon 9200 PRO rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ATI Radeon 9200 PRO Sec rev 0x01 at pci1 dev 0 function 1 not configured
bce0 at pci0 dev 9 function 0 Broadcom BCM4401 rev 0x01: irq 4, address 
00:e0:18:a1:31:f0
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
emu0 at pci0 dev 11 function 0 Creative Labs SoundBlaster Live (Dell) rev 
0x00: irq 3
ac97: codec id 0x83847608 (SigmaTel STAC9708/11)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at emu0
Creative Labs PCI Gameport Joystick rev 0x00 at pci0 dev 11 function 1 not 
configured
ral0 at pci0 dev 14 function 0 Ralink RT2560 rev 0x01: irq 10, address 
00:0e:2e:5c:2d:0f
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x80: irq 7
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 0x80: irq 7
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 0x80: irq 7
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
ehci0 at pci0 dev 16 function 3 VIA VT6202 USB rev 0x82: irq 7
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
viapm0 at pci0 dev 17 function 0 VIA VT8235 ISA rev 0x00
iic0 at viapm0
unknown at iic0 addr 0x18 not configured
asbtm0 at iic0 addr 0x2d
lm1 at iic0 addr 0x2f: W83791D
pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: IC35L060AVVA07-0
wd0: 16-sector PIO, LBA, 58644MB, 120103200 sectors
wd1 at pciide0 channel 0 drive 1: WDC WD2000JB-00GVA0
wd1: 16-sector PIO, LBA48, 190782MB, 390721968 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: PIONEER, DVD-RW DVR-108, 1.20 SCSI0 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
biomask fbe5 netmask fff5 ttymask fff7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
uhidev0 at uhub1 port 2 configuration 1 interface 0
uhidev0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 1.10/3.00, 
addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
dkcsum: wd0 

laptop external drive enclosures

2006-04-01 Thread Simon Morgan
I'm toying with the idea of ditching my desktop PC and getting a laptop to
replace it. One of the main things holding me back is that I have a bunch of IDE
and SATA drives that I'd like to use. Can anybody recommend any supported
hardware to allow me to do this? I'm aware of those external USB enclosures but
have no experience with them and would like to make sure that this stuff a)
works and b) doesn't suck before purchasing.

Laptop recommendations would also be good. I've already checked the list on the
website but the more input the better.

Thanks.



Strange Reboots

2006-01-28 Thread Simon Morgan
Hi,

This morning my server started rebooting itself constantly for about 15
minutes. Although the last log seems to indicate that at least 1 crash
occured, no core dumps are to be found in /var/crash and I couldn't
find anything pertinent in the system logs. I'm thinking flaky hardware
but, short of plugging in a monitor and sitting watching it, is there
anything I can do to trace the source of the problem? I ran memtest86+
on the machine not too long ago and I'll do so again in the meantime.

Thanks.

$ last|head
root  ttyC0 Sat Jan 28 07:57   still logged in
reboot~ Sat Jan 28 07:57
simon ttyp0bainbridge.16hz.net  Sat Jan 28 07:55 - crash  (00:02)
reboot~ Sat Jan 28 07:54
reboot~ Sat Jan 28 07:47
reboot~ Sat Jan 28 07:42
$ ls -l /var/crash/
total 4
-rw-r--r--  1 root  wheel  5 Sep 10 22:15 minfree
$ dmesg
OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD-K6(tm) 3D processor (AuthenticAMD 586-class) 501 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
real mem  = 402223104 (392796K)
avail mem = 359772160 (351340K)
using 4278 buffers containing 20213760 bytes (19740K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(c2) BIOS, date 05/02/02, BIOS32 rev. 0 @ 0xf06f0
apm0 at bios0: Power Management spec V1.2 (BIOS mgmt disabled)
apm0: APM power management enable: unrecognized device ID (9)
apm0: APM engage (device 1): power management disabled (1)
apm0: AC on, battery charge unknown
apm0: flags b0102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xda2
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf0d00/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (Acer Labs M1533 ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Acer Labs M1541 PCI rev 0x04
ppb0 at pci0 dev 1 function 0 Acer Labs M5243 AGP/PCI-PCI rev 0x04
pci1 at ppb0 bus 1
ohci0 at pci0 dev 2 function 0 Acer Labs M5237 USB rev 0x03: irq 12, version 
1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Acer Labs M7101 Power rev 0x00 at pci0 dev 3 function 0 not configured
pcib0 at pci0 dev 7 function 0 Acer Labs M1533 ISA rev 0xc3
de0 at pci0 dev 10 function 0 DEC 21140 rev 0x22: irq 5
de0:  pass 2.2 address 00:80:c8:64:20:47
vga1 at pci0 dev 12 function 0 3DFX Interactive Voodoo3 rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
rl0 at pci0 dev 13 function 0 Realtek 8139 rev 0x10: irq 10 address 
00:50:bf:ea:31:9f
rlphy0 at rl0 phy 0: RTL internal phy
pciide0 at pci0 dev 15 function 0 Acer Labs M5229 UDMA IDE rev 0xc1: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: Maxtor 92041U4
wd0: 16-sector PIO, LBA, 19541MB, 40020624 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MITSUMI, CR-4802TE, 2.1D SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 3, DMA mode 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83781D
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask fb45 netmask ff65 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: K6-family MTRR support (2 registers)
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted
wd0a: DMA error reading fsbn 41984 of 41984-42015 (wd0 bn 42047; cn 41 tn 11 sn 
26), retrying
wd0: soft error (corrected)
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1
wd0a: DMA error reading fsbn 41824 of 41824-41855 (wd0 bn 41887; cn 41 tn 8 sn 
55), retrying
wd0: soft error (corrected)

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?



Re: Skull Bones cursor in KDE

2006-01-01 Thread Simon Morgan
On 01/01/06, Dave Feustel [EMAIL PROTECTED] wrote:
 Is sudden appearance of a skull  bones cursor on the
 kde desktop associated with any exploits against kde?

You probably ran xkill by mistake. Not everything is a fucking KDE/X
security hole. Ever considered that your need to constantly flood this
list with stupid questions would indicate that you're not really
qualified to come to such conclusions? Just a thought.



Re: A Little Tip for OpenBSD Users of KDE

2005-12-26 Thread Simon Morgan
On 26/12/05, Tobias Ulmer [EMAIL PROTECTED] wrote:
 On Mon, Dec 26, 2005 at 11:39:22AM -0500, Dave Feustel wrote:
  Don't use sudo in any konsole session.

 Dave, either you tell us _why_ you think it's bad, or keep your tips to
 yourself and stop causing confusion.

I assume:

http://marc.theaimsgroup.com/?t=11349940351



Re: htpasswd

2005-12-25 Thread Simon Morgan
On 25/12/05, Rico [EMAIL PROTECTED] wrote:
 I am managing some sites which has some parts password protected by a
 simple .htaccess file.

 On obsd 3.7 I have always used the htpasswd tool to generate the
 password files.

 Today I had to update a site, and I used htpasswd on obsd 3.8, but I am
 having some problems with that.

 When I compare a file generated on 3.7 with one generated on 3.8 there
 is a difference.

 For the test I have used:

 Username: test
 Password: test2006

 In 3.7 the result is:
 test:LNjeMUyoDbkjs

 In 3.8 the result is:
 test:$2a$06$BP.dFVlnGwb2kE28/M2QtOzXg06fPfy8nFE7x5rNPXSDC7b2RPd2y

 On both I did:
 htpasswd -c .passwd test

 I have looked in the man page and I can't find any changes from 3.7 to
 3.8. I have also looked on the changes page for 3.8.

 Is it me overlooking anything?

http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/httpd/src/support/htpasswd.c

support blowfish encryption in the password files and use it by default
From: Sergey Smitienko [EMAIL PROTECTED], markus ok



Re: Xwindows Security Hole in OpenBSD 3.8

2005-12-24 Thread Simon Morgan
On 24/12/05, Matthew Closson [EMAIL PROTECTED] wrote:
 On Sat, 24 Dec 2005, Dave Feustel wrote:

  I hate to send this Christmas present to misc,
  but there is definitely a security hole in Xwindows
  which permits exploits to be committed at least
  with user permissions, if not root permissions.
  Since the problem appears to be in Xwindows,
  using KDE may be inadviseable. I'm considering
  going back totally to console mode now that
  I'm aware of the problem.

 And do you care to share this monumental discovery of yours?
 Also if your flaw is in X then what does KDE have to do with that?
 Merry Christmas,

What? You want proof as well? Is his word alone not good enough? I for
one shall be torching my machine and running for the hills.



Re: Xwindows Security Hole in OpenBSD 3.8

2005-12-24 Thread Simon Morgan
On 24/12/05, Rico [EMAIL PROTECTED] wrote:
 What kind of post is this?

 Dave Feustel wrote:
  I hate to send this Christmas present to misc,
  but there is definitely a security hole in Xwindows
  which permits exploits to be committed at least
  with user permissions, if not root permissions.
  Since the problem appears to be in Xwindows,
  using KDE may be inadviseable. I'm considering
  going back totally to console mode now that
  I'm aware of the problem.

The stupid kind?

It's probably something to do with
http://groups.google.co.uk/group/lucky.openbsd.misc/browse_thread/thread/5a1c60d75b905f9e/b7d91d68b5b21117



Re: disklabel and ext3 partitions on amd64

2005-12-19 Thread Simon Morgan
On 18/12/05, steven mestdagh [EMAIL PROTECTED] wrote:
 I see the same happening on 3.8-release vs. 3.8-current on i386 for
 systems with foreign filesystems. Not sure why.

Think it could be a bug?



Re: OpenBSD beep

2005-12-19 Thread Simon Morgan
On 19/12/05, dimaz [EMAIL PROTECTED] wrote:
 I'll look in case, but I don't think that it's only hardvare, openbsd is
 impact on this, because in past, when my mini-server were running on
 linux there were no such beeps...

Why do you think Daniel said wear out? Things wear out over time
(fans being a prime example, especially the cheap shit ones that seem
to be par of the course these days), not because of the transition
from one operating system to another.



disklabel and ext3 partitions on amd64

2005-12-16 Thread Simon Morgan
I'm currently running OpenBSD/i386 3.8 on an AMD64 machine and just went to
install the latest AMD64 snapshot. The hard drive I'm installing to has a
number of ext3 partitions contained in an extended partition.

When I installed OpenBSD/i386 3.8 on this machine I issued the D command
during the disklabel stage to start with a clean label and although all the
BSD partitions were removed, all the ext3 partitions remained. When I tried
the same with the amd64 snapshot, the ext3 partitions were not kept and the
only thing remaining was the c partition. Obviously I didn't want to go
ahead with the installation for fear of data loss so I would just like to
know if this is normal, whether it's a change in behaviour between 3.8 and
the snapshot or if it's an i386/amd64 thing. If it makes any difference, the
label I reset when installing 3.8 was left over from a FreeBSD install.

I've had a look through the latest disklabel man page and it says:

  Note that when a disk has no real BSD disklabel, the kernel creates a de-
  fault label so that the disk can be used.  This default label will in-
  clude other partitions found on the disk if they are supported on your
  architecture.  For example, on systems that support fdisk(8) partitions
  the default label will also include DOS and Linux partitions.

I'm assuming this behaviour also applies to the D command, in which case
does this mean that ext2/3 isn't supported on AMD64 machines? If I proceed
with the install, will the ext3 partitions still be there afterwards (even
if OpenBSD can't see them)?

Thanks.

Simon



Re: Recommendations for another POP3/IMAP/SMTP mail reader client?

2005-12-14 Thread Simon Morgan
On 14/12/05, Simon Dassow [EMAIL PROTECTED] wrote:
 On Wed, Dec 14, 2005 at 09:35:36AM -0700, Jack Woehr wrote:
  Recommendations for another POP3/IMAP/SMTP mail reader client (if one
  exists) other than Mozilla?

 mutt+msmtp: sucks less and avoids sendmail usage ;-)

Correct me if I'm wrong but don't you still need to use something like
fetchmail to download your mail, and doesn't that rely on an MTA of
some sort?

I recommend Sylpheed Claws. BTW I hope you filed a bug report for that crash. :)




Re: browser security

2005-12-14 Thread Simon Morgan
On 14/12/05, J.C. Roberts [EMAIL PROTECTED] wrote:
 When you think about all the crap a graphical browser needs just to run
 (fonts, mime types, library dependencies, plugins, cache, user
 preferences, ...), it will probably be a major pain to chroot the beast
 because you'll be duplicating tons of stuff into your chroot. At that
 point, you have only gained a copy of your file system rather than any
 real security.

 Worse yet many browsers are actually dual purpose and function as the
 system file manager within the windowing environment (windows/MSIE,
 KDE/konqueror, gnome/?, and so on...). If you actually manage to
 successfully chroot all your browsers to prevent accidentally clicking
 on a bad link, you suddenly don't have a file manager and have lost a
 lot of usability.

I've just had the most awesome idea: chroot the entire operating system!



Re: browser security

2005-12-14 Thread Simon Morgan
On 14/12/05, J. C. Roberts [EMAIL PROTECTED] wrote:
 On Wed, 14 Dec 2005 19:32:18 +, Simon Morgan [EMAIL PROTECTED]
 wrote:
 I've just had the most awesome idea: chroot the entire operating system!

 It seems your mother never warned you that such levels of sarcasm
 usually results in permanent scarring...

 Let me guess, you're British (or at least somewhere in the UK). ;-)

I'm impressed.



Re: GNOME PANEL unexpectedly quits

2005-12-14 Thread Simon Morgan
On 14/12/05, Simon Slaytor [EMAIL PROTECTED] wrote:
 Does anyones else have this issue and if so is there a workaround?

Yeah, use a different GUI. If you must insist on use buggy pieces of
crap like GNOME then your only real option is to file a bug. If you're
lucky and they don't ignore you it might get fixed in a few months.



Re: browser security

2005-12-14 Thread Simon Morgan
On 14/12/05, Fletch [EMAIL PROTECTED] wrote:
 Isn't this a mute point.  I mean, unless you are surfing the web as
 root, any remote browser exploit would only effect the user and a logoff
 and login again would sort out *most* problems associated with remote
 exploits.

Once a remote attacker has access to your machine just think of all
those lovely local exploits he can now run to bump up his privileges.
I could say that *all* remote exploits are root exploits, but that
sounds very sensationalist so I won't.

 Bareing in mind, that most remote browser exploits require
 you to be running windows as it is the windows / browser intergration
 which contains bugs.

Not AFAIK. Remove a piece of shit from a turd and you're still left
with a heap of shit.



Re: Recommendations for another POP3/IMAP/SMTP mail reader client?

2005-12-14 Thread Simon Morgan
On 14/12/05, Chris Cappuccio [EMAIL PROTECTED] wrote:
 mutt works with imap based folders
 you just type in an imap url instead of a folder name when you hit C

I was thinking more of POP3.



Re: OT : Subject lines and threads

2005-12-13 Thread Simon Morgan
On 13/12/05, Sam Hart [EMAIL PROTECTED] wrote:
 I seem to have put a few peoples noses of of joint

Not me, I couldn't agree more.

Reading the lists using most web archives is a pain in the arse thanks
to people using broken mail clients, changing the subject field and/or
not properly referencing the message they're replying to.



Re: mplayer-1.0pre7p5

2005-12-13 Thread Simon Morgan
On 14/12/05, Jolan Luff [EMAIL PROTECTED] wrote:
 On Mon, Dec 12, 2005 at 11:33:39PM -0800, Jacob Meuser wrote:
  yes.  amd64, Radeon 9200 SE.
 yes.  amd64, geforce2 mx 400.

If anybody wants to contribute info to the bug report I've filed, it
can be found at http://bugzilla.mplayerhq.hu/show_bug.cgi?id=417



Re: mplayer-1.0pre7p5

2005-12-13 Thread Simon Morgan
On 14/12/05, Simon Morgan [EMAIL PROTECTED] wrote:
 If anybody wants to contribute info to the bug report I've filed, it
 can be found at http://bugzilla.mplayerhq.hu/show_bug.cgi?id=417

Sorry, wrong list.



Re: Part 2: What it be helpful if...

2005-12-12 Thread Simon Morgan
Joachim Schipper j.schipper at math.uu.nl writes:
 Now, this does not mean I agree with the original poster - but he wrote
 something sensible and even mostly grammatically correct, which merits
 at least a sensible response.

Were you under the influence of drugs while reading it because it seemed
like a stream of incoherent gibberish to me?



Re: Part 2: What it be helpful if...

2005-12-12 Thread Simon Morgan
Michael Steinfeld mikeisgreat at gmail.com writes:
 SImon Morgan is a comlete waste of life.. to let his curisng
 intimidate you for speaking your mind, as he is aloowed to spam this
 list with vulgarity like a 7 year old how just learned a four letter
 word, you are free to speak your mind as well.

Get a grip. It was meant as a joke and Joachim seems to have taken it
in the manner it was intended.



Re: Part 2: Would it be helpful if...

2005-12-11 Thread Simon Morgan
Michael Steinfeld mikeisgreat at gmail.com writes:
 I as not aware I was making excuses...? Please elaborate. I am well
 versed in the english vernacular, and can still understand when people
 are unclear or even obscure, yet there does need to be appropriate
 content to deduce what point is being expressed.

I'm assuming:

I have to admit that I suffer slightly from ADD, so reading large
amounts of documentation to me can be very challenging.

For somebody with ADD you sure are spending a lot of time and effort
on this thread. However, just because you have the time and inclination
to write 700 word manifestos doesn't mean others want to read them so
please do everyone a favour and stop posting this OT crap to the list.

Thanks.



Re: disklabel unused partition warnings

2005-12-04 Thread Simon Morgan
J.D. Bronson jbronson at wixb.com writes:
 I think if I zero'd the drive 2x before install OBSD, this problem 
 wouldnt have happened.

Thanks for the tip but I have other operating systems and partitions
on the drive which I want to keep.

I shouldn't need to do this should I? I mean, shouldn't fdisk and
disklabel make sure that the partitions are in a sane state? Should
I file this as a bug?



Re: disklabel unused partition warnings

2005-12-04 Thread Simon Morgan
On 04/12/05, Nick Holland [EMAIL PROTECTED] wrote:
 It looks like you had FreeBSD on this system, removed it, put OpenBSD on
 the same partition, and OpenBSD saw and tried to use the FreeBSD
 disklabel, and choked on some of it.

 If that's the case, using the 'D' command of disklabel in the '-E' mode
 (mini-editor) before installing OpenBSD should resolve the problem
 nicely by nuking any existing label and starting from scratch.  However,
 if you have started to use the OpenBSD partition, the above disklabel
 -e wd0 suggestion still stands.  Just edit out the cruft.

Thanks for your help, Nick. You were right on the money. Problem now
solved.

Simon



disklabel unused partition warnings

2005-12-03 Thread Simon Morgan
Hi,

When I run disklabel wd0 I get the following warnings:

disklabel: warning, unused partition i: size 1413615339 offset -2147417768
disklabel: warning, unused partition j: size -196918 offset 402701520
disklabel: warning, unused partition k: size 503365533 offset 1463353529
disklabel: warning, unused partition l: size -1407327343 offset -1382830702
disklabel: warning, unused partition m: size -2013104760 offset -1065155243
disklabel: warning, unused partition n: size 402998726 offset 268977606
disklabel: warning, unused partition o: size -400023365 offset 17760443
disklabel: warning, unused partition p: size 1723867151 offset 251775107

I made no attempt to create the above partitions during the installation.

I've read faq4 and the fdisk man page, searched google and the mailing
list archives and still don't seem to be able to solve the problem so
was hoping that somebody with a bit more experience might be able to
spot something that I can't. I've tried reinstalling a few times now
and as far as I'm aware I'm doing everything right but this clearly
isn't the case.

Thanks.

Disk: wd0   geometry: 9729/255/63 [156296385 Sectors]
Offset: 0   Signature: 0xAA55
 Starting   Ending   LBA Info:
 #: idC   H  S -C   H  S [   start:  size   ]

 0: A60   1  1 - 4627 254 62 [  63:74348756 ] OpenBSD
 1: 0F 4628   0  1 - 9728 254 63 [74348820:81947565 ] Extended LBA
 2: 000   0  0 -0   0  0 [   0:   0 ] unused
 3: 000   0  0 -0   0  0 [   0:   0 ] unused
Offset: 74348820Signature: 0xAA55
 Starting   Ending   LBA Info:
 #: idC   H  S -C   H  S [   start:  size   ]

 0: 83 4628   1  1 - 7177 254 63 [74348883:40965687 ] Linux files*
 1: 05 7178   0  1 - 9662 254 63 [   115314570:39921525 ] Extended DOS
 2: 000   0  0 -0   0  0 [   0:   0 ] unused
 3: 000   0  0 -0   0  0 [   0:   0 ] unused
Offset: 115314570   Signature: 0xAA55
 Starting   Ending   LBA Info:
 #: idC   H  S -C   H  S [   start:  size   ]

 0: 83 7178   1  1 - 9662 254 63 [   115314633:39921462 ] Linux files*
 1: 05 9663   0  1 - 9728 254 63 [   155236095: 1060290 ] Extended DOS
 2: 000   0  0 -0   0  0 [   0:   0 ] unused
 3: 000   0  0 -0   0  0 [   0:   0 ] unused
Offset: 155236095   Signature: 0xAA55
 Starting   Ending   LBA Info:
 #: idC   H  S -C   H  S [   start:  size   ]

 0: 82 9663   1  1 - 9728 254 63 [   155236158: 1060227 ] Linux swap
 1: 000   0  0 -0   0  0 [   0:   0 ] unused
 2: 000   0  0 -0   0  0 [   0:   0 ] unused
 3: 000   0  0 -0   0  0 [   0:   0 ] unused

# Inside MBR partition 0: type A6 start 63 size 74348756
# /dev/rwd0c:
type: ESDI
disk: ad4s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 9729
total sectors: 156301488
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

8 partitions:
# sizeoffset  fstype [fsize bsize  cpg]
  a:   104857663  4.2BSD   2048 16384   66 # Cyl 0*-65*
  b:   4141712   1048639swap   # Cyl65*-   323*
  c:  7434875763  unused  0 0  # Cyl 0*-  4627
  d:   1042869   5190351  4.2BSD   2048 16384   64 # Cyl   323*-   387
  e:240975   6233220  4.2BSD   2048 16384   15 # Cyl   388 -   402
  f:   8385930   6474195  4.2BSD   2048 16384  328 # Cyl   403 -   924
  g:  59488695  14860125  4.2BSD   2048 16384  328 # Cyl   925 -  4627
disklabel: warning, unused partition i: size 1413615339 offset -2147417768
disklabel: warning, unused partition j: size -196918 offset 402701520
disklabel: warning, unused partition k: size 503365533 offset 1463353529
disklabel: warning, unused partition l: size -1407327343 offset -1382830702
disklabel: warning, unused partition m: size -2013104760 offset -1065155243
disklabel: warning, unused partition n: size 402998726 offset 268977606
disklabel: warning, unused partition o: size -400023365 offset 17760443
disklabel: warning, unused partition p: size 1723867151 offset 251775107

OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) 64 Processor 3200+ (AuthenticAMD 686-class,
512KB L2 cache) 2.01 GHz
cpu0: 

Re: disklabel unused partition warnings

2005-12-03 Thread Simon Morgan
Jacob Meuser jakemsr at jakemsr.com writes:
 is this an installation on a previously unused disk, or was there
 something on it?

It's had all kinds of different operating systems installed on it
at various times.



Re: disklabel unused partition warnings

2005-12-03 Thread Simon Morgan
Simon Morgan sjmorgan at gmail.com writes:
 It's had all kinds of different operating systems installed on it
 at various times.

Strange. I just ran the same command on a completely different machine
and got the exact same warnings:

# Inside MBR partition 3: type A6 start 63 size 40017852
# /dev/rwd0c:
type: ESDI
disk: ad0s1
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 39703
total sectors: 40020624
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

8 partitions:
# sizeoffset  fstype [fsize bsize  cpg]
  a:30737763  4.2BSD   2048 16384  304 # Cyl 0*-   304 
  b:614880307440swap   # Cyl   305 -   914 
  c:  4002056163  unused  0 0  # Cyl 0*- 39702 
  d:245952922320  4.2BSD   2048 16384  244 # Cyl   915 -  1158 
  e:164304   1168272  4.2BSD   2048 16384  164 # Cyl  1159 -  1321 
  f:   8388576   1332576  4.2BSD   2048 16384  328 # Cyl  1322 -  9643 
  g:  30299472   9721152  4.2BSD   2048 16384  328 # Cyl  9644 - 39702 
disklabel: warning, unused partition i: size 1413615339 offset -2147417768
disklabel: warning, unused partition j: size -196918 offset 402701520
disklabel: warning, unused partition k: size 503365533 offset 1463353529
disklabel: warning, unused partition l: size -1407327343 offset -1382830702
disklabel: warning, unused partition m: size -2013104760 offset -1065155243
disklabel: warning, unused partition n: size 402998726 offset 268977606
disklabel: warning, unused partition o: size -400023365 offset 17760443
disklabel: warning, unused partition p: size 1723867151 offset 251775107



Re: HOTO Write bad documentation

2005-11-27 Thread Simon Morgan
Sime Ramov hello at coastaldisturbance.com writes:
 I agree. Just look at the code of my site, now, OpenBSD needs exactly
 that! :) No, I'm not sarcastic, I'm serious, it would match OpenBSD
 perfectly.

Can you people please shut the fuck up about the website. It's been
stated numerous times before that it isn't going to be changed any
time soon. I have a sneaking suspicion that the only people who
keep raising this are i know what's best HTML programmers who
have nothing interesting or worthwhile to contribute or discuss but
feel the overwhelming need to nitpick, bitch and moan regardless.

 They write great C code (I beleive, heaven't looked yet)

Suspicion confirmed.



Re: HOTO Write bad documentation

2005-11-27 Thread Simon Morgan
Sime Ramov hello at coastaldisturbance.com writes:
 Many programmers write code and think that it's the only thing that
 matters. Well, web site of the product is also very important.

Matters to who? Idiots who can't read man pages and are constantly
polluting this mailing list with their idiotic ramblings? You sound
like one of those people so I guess it matters to you. That doesn't
mean it matters all that much to people who have a clue what they're
doing.

Hackers like interesting problems. Pretty HTML and a nice website
layout is not an interesting problem. Stop wasting peoples time
with it. The website has its purpose and does a perfectly good
job of serving it.

 Also, *every* contribution is welcome, so in this case, you can
 shut the f*uck up.

You're not contributing anything.



Re: auvia UKC parameters on SONY VAIO PCG-FX77Z_BP(J)

2005-11-25 Thread Simon Morgan
Vladas Urbonas vladas.urbonas at gmail.com writes:

 Have to 'disable auvia' in UKC to boot up 3.8 GENERIC on my SONY VAIO
 PCG-FX77Z_BP(J).

This is a fairly well known bug.

 The same keeps on happening from 3.1 so -current problably will not help.

Your logic is flawed but regardless AFAIK the bug isn't fixed in -current.

 I would be grateful if anyone of you would be so kind to give me basic
 directions
 on how to know which devices, functions and flags to use in UKC according to
 dmesg from FreeBSD, FreeSBIE or Slack where VT82C686A and AC'97 works fine.

Even unsupported devices shouldn't prevent the kernel from booting. Like I
say, it's a bug.



Re: Enable Solaris Compatibility Mode in version 3.8

2005-11-23 Thread Simon Morgan
Tom Pfeifer tpfeifer at tela.com writes:
 I'd like to know how to enable Solaris Compatibility Mode in version 
 3.8.  I've searched the FAQ's and all man pages and don't seem to be 
 able to find the correct information.

$ man 8 compat_sunos

I assume that's what you want.



Re: Motherboard brands

2005-11-20 Thread Simon Morgan
Tim tyskdisciplin at yahoo.se writes:
 Hello
 
 I read in an earlier thread some criticism of a brand I thought was
 reliable/quality with OpenBSD and in general: ASUS.
 
   So what motherboard brand can you rely on for a desktop then?

Asus have a good track record and generally build good stuff. It seems
that guy just had a bad experience.



Re: OpenBSD 3.8 X.org on Sun Blade 100

2005-11-17 Thread Simon Morgan
On 17/11/05, Brian A. Seklecki [EMAIL PROTECTED] wrote:
 Wait...1280x1024 or 1600x1200 w/ 8MB of RAM?  Is that right? Onboard
 video only occupies 8MB?

1280x1024. I should have mentioned in my original post that I'm using
a Sony TFT and its maximum/optimum resolution is 1280x1024.

 (II) ATI(0): Using Block 1 MMIO aperture at 0x00426000.
 (II) ATI(0): MMIO write caching enabled.
 (--) ATI(0): 8192 kB of SDRAM (1:1) detected (using 8191 kB).
 (WW) ATI(0): Cannot shadow an accelerated frame buffer.
 (II) ATI(0): Engine XCLK 115.000 MHz;  Refresh rate code 10.
 (--) ATI(0): Internal programmable clock generator detected.
 (--) ATI(0): Reference clock 29.500 MHz.

 Try adding DefaultDepth24  to your Screen section?

I added that along with Modes 1280x1024 (which I've added before at
various stages) and now, instead of an error from my monitor, I just
get a black screen. I've uploaded the latest copies of xorg.conf and
Xorg.0.log for anyone that may be interested.

Another thing I should have mentioned originally is that when I run
startx and I get an error from my monitor or the black screen or
whatever and I look at the process list from within an SSH session, X
is nowhere to be found. This would seem to indicate why Ctrl+Alt+Del
do nothing and thus the need to shutdown the machine.



Re: OpenBSD 3.8 X.org on Sun Blade 100

2005-11-17 Thread Simon Morgan
On 17/11/05, Brian A. Seklecki [EMAIL PROTECTED] wrote:
 Wait...1280x1024 or 1600x1200 w/ 8MB of RAM?  Is that right? Onboard
 video only occupies 8MB?

Sorry, yes. AFAIK the onboard video is 8MB.



Re: OpenBSD 3.8 X.org on Sun Blade 100

2005-11-17 Thread Simon Morgan
On 17/11/05, Paul Heinlein [EMAIL PROTECTED] wrote:
 I haven't used OpenBSD for some time (can't seem to get around to
 unsubscribing from the list...), but I'm interested to know what
 version of X.org you're using.

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: OpenBSD 3.8 sparc64 [ELF]
Current Operating System: OpenBSD SunBlade100.16hz.net 3.8 GENERIC#607 sparc64
Build Date: 02 September 2005

 There's an unresolved bug in 6.8.2 that affects a number of ATI cards. I
 know it impacts the Radeon series, but I'm unsure whether Rage users
 have reported similar symptoms. Take a look at ticket #170008 at
 bugzilla.redhat.com for some background.

I'm assuming that since I've got a display up that I'm unaffected by this bug.



Re: OpenBSD 3.8 X.org on Sun Blade 100

2005-11-17 Thread Simon Morgan
On 17/11/05, Brian A. Seklecki [EMAIL PROTECTED] wrote:
 Errr jumped the gun...was it the resolution at 1152 something...or was it
 something else?

http://16hz.net/~simon/SunBlade100/xorg.conf

It's not exactly pushing my monitor to its limits but it works and
theres not much poing tweeking it until I get the mouse sorted.



Re: OpenBSD 3.8 X.org on Sun Blade 100

2005-11-17 Thread Simon Morgan
On 17/11/05, Brian A. Seklecki [EMAIL PROTECTED] wrote:

 I had a U5 270? 330? Mhz for a year or two; the only way to get into
 1280x1024 (the max res of the monitor that it shipped with) was to drop
 into 8bpp.  At 16/24 bpp, with the 8mb integrated ATI Rage 64 something
 something garbag, you had to use m64config(8) and put the frambuffer in
 ...1152x1024?  1152x768? Something like that.  Your X.log shows those
 available...try them.

 I just dont see 8mb video cards making it to 1280x1024 at 24/16bpp

I've now managed to get a display up. Many thanks to you and everyone
else who offered advice. Unfortunately the mouse is still completely
non-functional. I don't suppose you or anybody else have any ideas?
Latest conf and log in usual place.

 Also, doe the log really stop at:

 (EE) xf86OpenSerial: Cannot open device /dev/mouse
 Operation not permitted.
 (EE) Mouse0: cannot open input device
 (EE) PreInit failed for input device Mouse0

Yup, before I tried your allowNonLocalModInDev and allowMouseOpenFail
suggestions it would stop right at that point.

 ...is it possible X is crashing/core'ing at this state?  Normally it will
 passively fail to open the mouse device, but who knows.

I really wouldn't be suprised seeing as it left the monitor in a
messed up state and a bunch of dot files in /tmp that prevented X from
starting until you rm'd them. Once I get X fully functional I will
attempt to look into it further.

 Also 2:

 (--) Using wscons driver
 _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be
 created.
 _XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed, errno =
 2
 _XSERVTransMakeAllCOTSServerListeners: failed to create listener for local

 Is /tmp mounted MFS or so?  Is it mode 777?

$ mount | grep tmp
/dev/wd0d on /tmp type ffs (local, nodev, nosuid)
$ ls -ld /tmp/
drwxrwxrwt  2 root  wheel  512 Nov 17 14:59 /tmp/



Re: OpenBSD 3.8 X.org on Sun Blade 100

2005-11-17 Thread Simon Morgan
On 17/11/05, Matthieu Herrb [EMAIL PROTECTED] wrote:
 You did read /usr/X11R6/README, did you ? use

Evidently not. I do remember reading about that file (I did read the
FAQ) but got a bit sidetracked and forgot about it. Sorry.

 Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  Option  Protocol wsmouse
  Option  Device /dev/wsmouse0
 EndSection

The mouse is working now. Thanks.



OpenBSD 3.8 X.org on Sun Blade 100

2005-11-16 Thread Simon Morgan
Hi,

I have a Sun Blade 100 and have just installed OpenBSD 3.8 on it and so far I'm
very impressed. NetBSD, the supposed king of multi-platform, doesn't
even support the keyboard! This is 5 year old hardware!

Anyway, the problem I'm having is with X.org. Whenever I try and run it my
monitor spits out an out of sync error and the only way (AFAIK to regain a
usable console is to shutdown the machine and boot it up again. Depending
on the settings I use I'll either get a sub-error bitching about the frequencies
or about the resolution (it complains that it's  1280x1024, which it isn't).

I've trawled the mailing list archives and tried all the suggestions (mainly
setting reference_clock) to no avail and was hoping that somebody here who
knows more about X and/or Sun hardware could offer some insight.

I've uploaded my xorg.conf and Xorg.0.log to
http://16hz.net/~simon/SunBlade100/ in the hope that it will be of some use.
If I've neglected to mention any pertinent information then please do say
and I'll be happy to give it.

Many thanks.

Simon



Re: Motherboard Recommendation

2005-10-15 Thread Simon Morgan
On Fri, Oct 14, 2005 at 01:25:59PM -0500, Francisco Valladolid wrote:
 Abit A8XV Pro work fine.

Thanks to everyone for their recommendations. I've had 3 for the A8V
series of motherboards so I went and bought one. Although the
installation boots fine, when it comes time to copy files across I get a
bunch of:

cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x28
SENSE KEY: Hardware Error
 ASC/ASCQ: ASC 0x08 ASCQ 0x03

errors. I don't suppose anybody has any ideas? I'm assuming it's not the
IDE chipset which only leaves the drive itself which has worked
perfectly in all other situations.

-- 
A mathematician named Hall
Has a hexahedronical ball,
And the cube of its weight
Times his pecker's, plus eight
Is his phone number -- give him a call.



Re: Motherboard Recommendation

2005-10-15 Thread Simon Morgan
On Sat, Oct 15, 2005 at 10:11:08AM +0100, Simon Morgan wrote:
 cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x28
 SENSE KEY: Hardware Error
  ASC/ASCQ: ASC 0x08 ASCQ 0x03

Fixed by switching normal IDE cable for 80-conductor Ultra DMA cable.

-- 
Weinberg's Principle:
An expert is a person who avoids the small errors while
sweeping on to the grand fallacy.



Re: squid-2.5.STABLE11.tgz

2005-09-30 Thread Simon Morgan
On Fri, Sep 30, 2005 at 11:35:42AM -0700, Joe S wrote:
 Where can I find more information about security updates for packages,
 other than checking the FTP server?

http://www.openbsd.org/pkg-stable.html

-- 
Ubi non accusator, ibi non judex.

(Where there is no police, there is no speed limit.)
-- Roman Law, trans. Petr Beckmann (1971)



Re: Which SATA controller to purchase

2005-09-27 Thread Simon Morgan
On Mon, Sep 26, 2005 at 10:01:29PM -0800, Szechuan Death wrote:
 Do not whine about your users not buying CDs if you're in the
 business of writing free software, because nobody wants to hear
 it

Free from restrictions, not monetary cost. Just because this makes it
easy for you to download and install it for free doesn't mean you aren't
being a cheap bastard and it sure as hell doesn't give you the right to
tell the main developer not to whine about it.

-- 
HOW YOU CAN TELL THAT IT'S GOING TO BE A ROTTEN DAY:
#1040 Your income tax refund cheque bounces.



Re: rc.local / tclsh help

2005-09-17 Thread Simon Morgan
On Sat, Sep 17, 2005 at 09:16:00AM -0400, Sean Kiewiet wrote:
 The following line in rc.local; gives the error can't find tclsh when I
 boot up.
 
 
 if [ -x /usr/local/src/sguil/server/sguild ]; then
 echo -n ' starting squil...'
 /usr/local/src/sguil/server/sguild -a /etc/sguild/autocat.conf
 -c /etc/sguild/sguild.conf 
 fi

/usr/local/bin isn't in rc's $PATH.

-- 
A reactionary is a man whose political opinions always manage to keep
up with yesterday.



procmail DROPPRIVS and relaydb

2005-09-08 Thread Simon Morgan
I'm using a spam blocking setup utilizing procmail, relaydb,
spamd-setup and pf.

The problem is that if I specify DROPPRIVS in my /etc/procmailrc:

DROPPRIVS=yes

:0fw
| /usr/local/bin/spamc

:0c
* ^X-Spam-Status: Yes
| /usr/local/bin/relaydb -b
:0:
* ^X-Spam-Status: Yes
in-x-spam

:0c
| /usr/local/bin/relaydb -w

then relaydb seems to create a .relaydb for the user that the mail was
delivered for so that when spamd-setup is called (which uses relaydb as
one of its inputs) it doesn't find any of them because it's ran as root.

Now obviously I could just get rid of DROPPRIVS but spamd doesn't seem
to like this:

Sep  8 11:07:37 bollo spamd[4493]: info: setuid to root succeeded
Sep  8 11:07:37 bollo spamd[4493]: Still running as root: user not
specified with -u, not found, or set to root.  Fall back to nobody.

and it's obviously not ideal from a security standpoint. So my question
is does anybody have any solutions or suggestions on how to work around
this?

Many thanks.

Simon

-- 
I am the mother of all things, and all things should wear a sweater.



Re: BSD PPPoA Hardware

2005-08-27 Thread Simon Morgan
On 8/15/05, Simon Morgan [EMAIL PROTECTED] wrote:

 Does anyone have any suggestions? Any advice is welcome.

To anyone who might be reading this in the future (Hi! Do you have robots
and flying cars yet?), I've given up looking for a native solution. The
state of ADSL hardware support under BSD as well as Linux is shockingly
bad and simply isn't worth bothering with. The Sangoma S518 looked pretty
promising but last I checked there still weren't any available to purchase
in the UK and the shipment from their manufacturer keeps on getting
delayed. I can only hope their engineers are more competent.

I bought a Sagem [EMAIL PROTECTED] 800 to use with the ueagle driver and have 
had
nothing but trouble with it in the 4 days I've been using it. It seems to
work fine under Windows so I can only assume the driver is to blame.

So that leaves cheap and nasty combination modem and routers or Cisco
hardware. I've ordered a Cisco SOHO 97.

Thanks to everyone who replied.



Re: BSD PPPoA Hardware

2005-08-27 Thread Simon Morgan
On 8/27/05, poncenby [EMAIL PROTECTED] wrote:
 i've been using an Alcatel Speedtouch usb modem with openbsd 3.7 with no
 problems. take a look...http://www.speedtouchdsl.com/prod330.htm

How stable has it been?

 i have a few documents which explains how to get it working, if you want
 them mail me.

I'd appreciate that, thanks.



BSD PPPoA Hardware

2005-08-15 Thread Simon Morgan
Hi,

I have a PPPoA ADSL connection and would like to use FreeBSD or OpenBSD
as a gateway/server and am looking for compatible hardware that would
facilitate this. I'm specifically looking to avoid combination modem
+ routers and NAT and port forwarding in particular. This will be
a pure routed IP setup. Obviously stability is very important (So
far I've been using a SpeedTouch 330 with Linux which hasn't been
fun).

Does anyone have any suggestions? Any advice is welcome.

Thanks.

Simon