Re: Can't boot scsi drive from floppy boot prompt?

2009-06-12 Thread Eric d'Alibut
On Sat, Jun 13, 2009 at 12:30 AM, Eric d'Alibut wrote:

>> Might want to try the boot floppy, and if you have an issue using a
>> boot floppy, try cdemu45.iso (it emulate a boot floppy, so has the
>> boot floppy's /boot).

> Ok, I'll give that a whirl.

No joy. Same behavior.

I went into the BIOS of the machine and turned off the first IDE
drive, which made the SCSI  'hd0'. No joy. I'm starting to think that
old IBM 4.5 g may not be *quite* as  healthy as I thought it was,
although apart from this booting issue it seems to be acting fine.

Did I mention that if I set the machine BIOS to boot from the SCSI,
that I get a "No O/S found" message?



-- 
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?



Listing Packages Installed From Source

2009-06-12 Thread Michael R. Littlejohn
First, I apologize if this is a dumb question.  I need to know how to
list packages, just as you would with pkg_info, that have been
installed from source.  Any software that I have run "make install"
to install it into the system does not show up with "pkg_info", or
at least not that I have been able to find.  I have been
researching this for a couple of days, and the only thing I can find
is a program called "paco".  I can't seem to find any other information
that will help me accomplish my goal.  I want to be able to have
full control over installation and uninstallation of source compiled
packages.



Re: Can't boot scsi drive from floppy boot prompt?

2009-06-12 Thread Eric d'Alibut
On Fri, Jun 12, 2009 at 11:58 PM, Nick
Holland wrote:

> Booting  from a CD? Not the floppy of the subject: line?

I made a couple of CD's, from the cd45.iso and install45.iso images,
following a suggestion earlier in the thread. So far, with several
re-installs, both from network and CD, I get identical results trying
to boot,using those two CD's and fa floppy45.fs floppy.
CDROM before).
> Might want to try the boot floppy, and if you have an issue using a
> boot floppy, try cdemu45.iso (it emulate a boot floppy, so has the
> boot floppy's /boot).

Ok, I'll give that a whirl.

> heh. B today, I found a couple brand new (New Old Stock, in auto
> restoration terms) 2940UWs, and was excited for a moment about
> finding a pair of high end SCSI cards..then realized just how old
> they were...

New?! Wow. Do you want to reveal your source for those? I would even
accept a private email  containing such information!!


Best,

--
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?



Re: Sun Ultra 5/10 installation problems

2009-06-12 Thread Nick Holland
Philippe Meunier wrote:
> Hello,
> 
> I recently rescued an unused Sun Ultra 5/10 that was going to end up
> in the trash and I've been trying for several hours now to install
> OpenBSD on it with no success whatsoever.  It's a headless machine
> with one internal disk, a CD drive, a floppy drive, and what looks
> like a PCI card with two external VHDCI connectors.  It's running
> Solaris 2.7, and I'm connected to it through its serial port from a PC
> running -current.

...

> Then I downloaded OpenBSD/snapshots/sparc64/install45.iso from a mirror,
> burned it to a CD-RW (using an OpenBSD laptop) by following the

don't use CD-RWs on old computers.  They don't like 'em.

> instructions from faq13.html#burnCD, then tried to boot the Ultra
> from the CD:
> 
> 
> ok boot cdrom
> Resetting ... 
> 
> 
> Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 300MHz), No Keyboard
> OpenBoot 3.31, 256 MB (60 ns) memory installed, Serial #10409842.
> Ethernet address 8:0:20:9e:d7:72, Host ID: 809ed772.
> 
> 
> 
> Rebooting with command: boot cdrom
> Boot device: /p...@1f,0/p...@1,1/i...@3/cd...@2,0:f  File and args: 
> Can't read disk label.
> Can't open disk label package
> Evaluating: boot cdrom
> 
> Can't open boot device
> 

well, I've certainly booted an Ultra5 with a -current of a very
few weeks ago.  It worked.

So:
1) your CDROM drive couldn't read the CDRW you used.
2) your CDROM drive is old and doesn't work well
3) Something broke as a result of the hackathon that just
finished.

That's the order I suspect.  #3 is a distant third behind 1 and 2.


> Trying to mount the CD using Solaris (after killing vold) failed as
> well:
> 
> 
> # mount -F hsfs -o ro /dev/dsk/c0t2d0s0 /mnt
> mount: /dev/dsk/c0t2d0s0 no such device
> 

that REALLY points at #1 or #2.
(My solaris foo is a bit weak, so I'm just assuming your mount line
was valid.  It may be your solaris foo is weak, too. :)

> Now I happen to have an old Solaris 2.6 installation CD around and I
> can both mount it (using the exact same command as above) or boot from
> it without problem.

Pressed CDs are the easiest things for CD drives to read, apparently.
As they age, CD-RWs are the first thing to not work (IF they ever
worked...and a lot of old drives just couldn't handle them).  CD-R's
fail next (selectively -- sometimes brand X works, brand Y doesn't.
I've got a small stack of CDR blanks that work in a certain iMac I
have that can't read newer CDR blanks...failing drive).

> So my guess is that the machine has a cheap and/or old CD drive that
> has problems reading CD-RWs...

ya.

> Next I tried to install OpenBSD from Solaris, using one of the
> existing partitions:
...

> I used Solaris's newfs to re-create the file system on
> /dev/rdsk/c0t0d0s4 (bye bye /home), mounted it on /mnt, downloaded
> bootblk, ofwboot, bsd, bsd.rd, base45.tgz, and etc45.tgz to /root
> (through the serial port, after tar-ing and uuencode-ing the whole
> thing; the Ultra is not connected to the network), copied bootblk and
> ofwboot to /mnt, used Solaris's installboot to install bootblk on
> /dev/rdsk/c0t0d0s4, copied bsd and bsd.rd to /mnt, unpacked base45.tgz
> and etc45.tgz there, and then rebooted:

ouch.  I'm sure it is possible to make an OpenBSD bootable partition
from Solaris, but I doubt you can do it with standard Solaris tools.

I believe OpenBSD/sparc64 has a "must boot from 'a' partition, and
that partition must start at sector 0" limitation, so this wouldn't
work even if it was a possible trick.

> 
> ok boot disk:e bsd
> [...]
> Boot device: /p...@1f,0/p...@1,1/i...@3/d...@0,0:e  File and args: bsd
> OpenBSD IEEE 1275 Bootblock 1.1
> ..>> OpenBSD BOOT 1.3
> Memory Address not Aligned
> ok Data Access Exception
> ok Data Access Exception
> ok Data Access Exception
> ok Data Access Exception
> ok Data Access Exception
> [...]
> 

(I'm actually surprised you got as far as you did in that boot
process, which may show how wrong my "Can't do this from Solaris"
is...)
...

> Next I tried to go the miniroot way, just in case I had somehow messed
> up while trying to install from Solaris.  So I downloaded
> miniroot45.fs to the machine, used Solaris's dd to write it to the
> same partition as before and then tried to boot from it:
> 
> 
> # dd if=miniroot45.fs of=/dev/rdsk/c0t0d0s4 bs=64b
> 80+0 records in
> 80+0 records out
> # reboot
> [...]
> ok boot disk:e
> [...]
> Rebooting with command: boot disk:e   
> Boot device: /p...@1f,0/p...@1,1/i...@3/d...@0,0:e  File and args: 
> OpenBSD IEEE 1275 Bootb

Re: Can't boot scsi drive from floppy boot prompt?

2009-06-12 Thread Nick Holland
Eric d'Alibut wrote:
> On Thu, Jun 11, 2009 at 10:52 PM, Nick
> Holland wrote:
> 
>> If you look early on at the boot messages, you probably see something
>> like:
>> B  disk: fd0 hd0*+ hd1+
> 
> Exactly that. (Only, since I am now booting from the install CD, there
> is a 'cd0' appended.)

Booting from a CD?  Not the floppy of the subject: line?

>> So, you would probably want "boot hd1a:/bsd".
> 
> No joy:
> 
> "booting hd1a:/bsd:  open hd1a:/bsd: Invalid argument
>failed(22). will try /4.5/i386/bsd.rd"

I know there are some limitations on the cd boot loader that don't
exist on the floppy boot loader, like "ls" doesn't work on the CD
boot loader.  (that was the case, haven't tried in a long time, it
might have got fixed when I wasn't looking).  It is POSSIBLE the
cd boot loader may have difficulty booting from a second hard disk
(I'm pretty sure I've booted the first hard disk from a CDROM before).
Might want to try the boot floppy, and if you have an issue using a
boot floppy, try cdemu45.iso (it emulate a boot floppy, so has the
boot floppy's /boot).

>> Note: IF your SCSI disk is attached to something with no boot ROM (like
>> some Sun cards), or an invalid boot ROM (like a Mac SCSI card in a PC),
>> or a disabled boot ROM, this won't work, as there will be no BIOS
>> support for your system, and thus no way to boot OpenBSD to get
>> OpenBSD's support for your system.
> 
> This is some older hardware: the ancient and honorable Adaptec AHA2940
> and an equally old IBM huge scsi drive -- 4.5gig. I believe both
> thiese items are still in good enough shape to be put aboard the next
> Mars rover. IAC, the 2940 dutifully, and rather too excitedly,replies
> at boot: "Bios successfully installed!"

heh.  today, I found a couple brand new (New Old Stock, in auto
restoration terms) 2940UWs, and was excited for a moment about
finding a pair of high end SCSI cards..then realized just how old
they were...

Nick.



Re: CD-ROM doesn't play

2009-06-12 Thread Chris Bennett

merlyn wrote:

Hi all,
I'm trying to play music CD-ROM on my Lenovo ThinkPad SL400 with OpenBSD 4.5, 
but unsuccessfully. It seems to play, but no sound sounds.

I've tried cdio and kscd.
Mixerctl inputs.cd.* isn't here.
CD is ok, I have tried it in the cd player.
Thanks for any help,
Milan Bartos

  
I've had the same problem for a long time now. Started a good while back 
after a certain -current.
Don't remember which, was months ago. Suddenly noticed one day that cdio 
play didn't work anymore.


Had no idea about cdio cdplay. That really solves my problem, almost 
good enough, but it would be better to understand problem, I don't think 
its a hardware problem.


$ mixerctl -va
outputs.master=255,255 volume
outputs.master.mute=off  [ off on ]
outputs.mono=255 volume
outputs.mono.mute=on  [ off on ]
outputs.mono.source=mixerout  [ mixerout mic ]
outputs.hp=255,255 volume
outputs.hp.mute=off  [ off on ]
inputs.spkr=255 volume
inputs.spkr.mute=off  [ off on ]
inputs.phone=191 volume
inputs.phone.mute=off  [ off on ]
inputs.mic=191 volume
inputs.mic.mute=off  [ off on ]
inputs.mic.preamp=off  [ off on ]
inputs.mic.source=mic0  [ mic0 mic1 ]
inputs.line=191,191 volume
inputs.line.mute=off  [ off on ]
inputs.cd=191,191 volume
inputs.cd.mute=off  [ off on ]
inputs.video=191,191 volume
inputs.video.mute=off  [ off on ]
inputs.aux=191,191 volume
inputs.aux.mute=off  [ off on ]
inputs.dac=191,191 volume
inputs.dac.mute=off  [ off on ]
record.source=mic  [ mic cd video aux line mixero
ut mixeroutmono phone ]
record.volume=255,255 volume
record.volume.mute=off  [ off on ]
outputs.spatial=off  [ off on ]
outputs.spatial.center=0 volume
outputs.spatial.depth=0 volume
outputs.extamp=off  [ off on ]
outputs.spdif=off  [ off on ]

$ audioctl
name=Audigy2
version=0x04
config=emuxki
encodings=ulinear:8,mulaw:8*,alaw:8*,slinear:8*,slinear_le:16,ulinear_le:16*,slinear_be:16*,ulinear_be:16*
properties=full_duplex,mmap,independent
full_duplex=1
fullduplex=1
blocksize=8192
hiwat=2
lowat=1
output_muted=0
monitor_gain=0
mode=play,record
play.rate=44100
play.channels=2
play.precision=16
play.encoding=slinear_le
play.gain=255
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=16384
play.samples=176898048
play.eof=0
play.pause=0
play.error=1
play.waiting=0
play.open=1
play.active=1
play.buffer_size=65536
play.block_size=8192
play.errors=2048
record.rate=44100
record.channels=2
record.precision=16
record.encoding=slinear_le
record.gain=191
record.balance=32
record.port=0x1
record.avail_ports=0x7
record.seek=0
record.samples=176906240
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=1
record.active=1
record.buffer_size=65536
record.block_size=8192
record.errors=0

$ dmesg
OpenBSD 4.5-current (GENERIC) #133: Tue May  5 21:30:15 MDT 2009
   dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class, 128KB L2 cache) 899 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

real mem  = 536375296 (511MB)
avail mem = 510324736 (486MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/19/01, BIOS32 rev. 0 @ 0xfb0c0, 
SMBIOS rev. 2.3 @ 0xf0800 (38 entries)
bios0: vendor Award Software International, Inc. version "6.00 PG" date 
12/19/2001

bios0: LEGEND.QDI(R) SynactiX5EP
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0xb540
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfded0/192 (10 entries)
pcibios0: PCI Exclusive IRQs: 5 9 11 12
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371SB ISA" rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xd000 0xd/0x4000!
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
extent `pciio' (0x0 - 0x), flags=0
0xa000 - 0xd01f
0xd800 - 0xd81f
0xf000 - 0xf00f
0x1 - 0x
extent `pcimem' (0x0 - 0x), flags=0
0x0 - 0x9
0xf - 0x1fff
0xd000 - 0xe8ff
0xffb0 - 0x
pchb0 at pci0 dev 0 function 0 "Intel 82815 Host" rev 0x04
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xe000, size 0x240
ppb0 at pci0 dev 1 function 0 "Intel 82815 AGP" rev 0x04
pci1 at ppb0 bus 1
extent `ppb0 pciio' (0x0 - 0x), flags=0
0x0 - 0xc0ff
0xd000 - 0x
extent `ppb0 pcimem' (0x0 - 0x), flags=0
0x0 - 0xe3ff
0xe500 - 0xe501
0xe600 - 0x
vga1 at pci1 dev 0 function 0 "ATI Radeon 9500/9700" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: irq 5
drm0 at radeondrm0
"ATI Radeon 9500/9700 Sec" rev 0x00 at pci1 dev 0 function 1 not configured
ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x05
pci2 at ppb1 bus 2
extent `ppb1 pciio' (0x0 - 0x), flags=0
0x0 - 0xb03

Re: CD-ROM doesn't play

2009-06-12 Thread Jesus Sanchez

may sound stupid but have your checked with
other OS? in theese situations better to get sure,
i hope any other can help you more than me, good luck


merlyn escribis:

Hi all,
I'm trying to play music CD-ROM on my Lenovo ThinkPad SL400 with OpenBSD 4.5, 
but unsuccessfully. It seems to play, but no sound sounds.

I've tried cdio and kscd.
Mixerctl inputs.cd.* isn't here.
CD is ok, I have tried it in the cd player.
Thanks for any help,
Milan Bartos

(some maybe usefull info followes)

 audioctl ---
name=HD-Audio
version=1.0
config=azalia0
encodings=slinear_le:16,slinear_le:20,slinear_le:24
properties=full_duplex,independent
full_duplex=0
fullduplex=0
blocksize=9600
hiwat=6
lowat=1
output_muted=0
monitor_gain=0
mode=
play.rate=48000
play.channels=2
play.precision=16
play.encoding=slinear_le
play.gain=171
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=0
play.samples=0
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
play.block_size=9600
play.errors=0
record.rate=48000
record.channels=2
record.precision=16
record.encoding=slinear_le
record.gain=100
record.balance=32
record.port=0x0
record.avail_ports=0x0
record.seek=0
record.samples=278400
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.block_size=9600
record.errors=0




--- mixerctl -
inputs.dac=171,171
inputs.dac2=126,126
inputs.beep=0
record.adc2_source=mic2
record.adc2=99,99
record.adc_source=mic
record.adc=99,99
outputs.hp_source=dac
outputs.hp_boost=off
inputs.mic=126,126
outputs.mic_dir=input-vr80
outputs.spkr_source=dac
outputs.spkr_eapd=on
inputs.mic2=252,252
outputs.hp_sense=unplugged
outputs.mic_sense=unplugged
outputs.master=171,171
outputs.master.mute=off
outputs.master.slaves=dac
record.volume=100,100
record.volume.mute=off
record.volume.slaves=adc2,adc
-



--- dmesg 
OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz ("GenuineIntel" 686-class) 2 
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,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR

real mem  = 2111070208 (2013MB)
avail mem = 2032967680 (1938MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/05/08, BIOS32 rev. 0 @ 0xf0010, 
SMBIOS rev. 2.5 @ 0xfd770 (38 entries)

bios0: vendor LENOVO version "6AET46WW" date 09/05/2008
bios0: LENOVO. INVALID
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC MCFG SLIC ECDT DBGP BOOT OEMB HPET GSCI ATKG SSDT
acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB5(S3) EUSB(S3) USB3(S3) 
USB4(S3) USB6(S3) USBE(S3) HDAC(S3) GBE_(S4) P0P1(S4) P0P2(S3) P0P3(S3) 
WLAN(S3) P0P4(S3) P0P6(S4) GLAN(S4) P0P8(S3) SLPB(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 2 (P0P3)
acpiprt3 at acpi0: bus 3 (P0P4)
acpiprt4 at acpi0: bus 12 (P0P6)
acpiprt5 at acpi0: bus 13 (P0P8)
acpiec0 at acpi0
acpicpu0 at acpi0: C2
acpitz0 at acpi0: critical temperature 110 degC
acpiac0 at acpi0: AC unit in unknown state
acpibat0 at acpi0: BAT0 not present
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xf800!
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06170a2506000a25
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2000 MHz (1292 mV): speeds: 2000, 1200 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 2 int 16 (irq 10)
drm0 at inteldrm0
"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 2 int 16 
(irq 10)
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 2 int 21 
(irq 7)
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 2 int 19 
(irq 3)
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 2 int 18 
(irq 6)

usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: apic 2 int 
22 (irq 4)

azalia0: codecs: Conexant CX20561, Intel/0

Re: CD-ROM doesn't play

2009-06-12 Thread Predrag Punosevac
Sorry for typo in my previous message. I ment 

cdio cdplay

of course



Re: CD-ROM doesn't play

2009-06-12 Thread Predrag Punosevac
> Hi all,
> I'm trying to play music CD-ROM on my Lenovo ThinkPad SL400 with OpenBSD 4.5,
> but unsuccessfully. It seems to play, but no sound sounds.
> I've tried cdio and kscd.
> Mixerctl inputs.cd.* isn't here.
> CD is ok, I have tried it in the cd player.
> Thanks for any help,
> Milan Bartos
What happens when you do 

cdip cdplay

Can you hear anything? If you can, I suspect that CD is not connected 
physicaly to audio device. I had a laptop DeLL Latitude D830 which
had a same problem. 

Cheers,
Predrag



Credito Fiscal

2009-06-12 Thread Lazaro Jimenez
 Credito Fiscal - Comprobantes C - ( Empresas Verificables ) - Absoluta
Reserva -



Re: CD-ROM doesn't play

2009-06-12 Thread patrick keshishian
On Fri, Jun 12, 2009 at 3:17 PM, merlyn wrote:
> Hi all,
> I'm trying to play music CD-ROM on my Lenovo ThinkPad SL400 with OpenBSD 4.5,
> but unsuccessfully. It seems to play, but no sound sounds.
> I've tried cdio and kscd.
> Mixerctl inputs.cd.* isn't here.
> CD is ok, I have tried it in the cd player.
> Thanks for any help,
> Milan Bartos


> (some maybe usefull info followes)
>
>  audioctl ---
> name=HD-Audio
> version=1.0
> config=azalia0
> encodings=slinear_le:16,slinear_le:20,slinear_le:24
> properties=full_duplex,independent
> full_duplex=0
> fullduplex=0
> blocksize=9600
> hiwat=6
> lowat=1
> output_muted=0
> monitor_gain=0
> mode=
> play.rate=48000
> play.channels=2
> play.precision=16
> play.encoding=slinear_le
> play.gain=171
> play.balance=32
> play.port=0x0
> play.avail_ports=0x0
> play.seek=0
> play.samples=0
> play.eof=0
> play.pause=0
> play.error=0
> play.waiting=0
> play.open=0
> play.active=0
> play.buffer_size=65536
> play.block_size=9600
> play.errors=0
> record.rate=48000
> record.channels=2
> record.precision=16
> record.encoding=slinear_le
> record.gain=100
> record.balance=32
> record.port=0x0
> record.avail_ports=0x0
> record.seek=0
> record.samples=278400
> record.eof=0
> record.pause=0
> record.error=0
> record.waiting=0
> record.open=0
> record.active=0
> record.buffer_size=65536
> record.block_size=9600
> record.errors=0
> 
>
>
>
> --- mixerctl -
> inputs.dac=171,171
> inputs.dac2=126,126
> inputs.beep=0
> record.adc2_source=mic2
> record.adc2=99,99
> record.adc_source=mic
> record.adc=99,99
> outputs.hp_source=dac
> outputs.hp_boost=off
> inputs.mic=126,126
> outputs.mic_dir=input-vr80
> outputs.spkr_source=dac
> outputs.spkr_eapd=on
> inputs.mic2=252,252
> outputs.hp_sense=unplugged
> outputs.mic_sense=unplugged
> outputs.master=171,171
> outputs.master.mute=off
> outputs.master.slaves=dac
> record.volume=100,100
> record.volume.mute=off
> record.volume.slaves=adc2,adc
> -

you want to send output from 'mixerctl -v'

as a workaround, you can use 'cdio cdplay'.

--patrick



CD-ROM doesn't play

2009-06-12 Thread merlyn
Hi all,
I'm trying to play music CD-ROM on my Lenovo ThinkPad SL400 with OpenBSD 4.5, 
but unsuccessfully. It seems to play, but no sound sounds.
I've tried cdio and kscd.
Mixerctl inputs.cd.* isn't here.
CD is ok, I have tried it in the cd player.
Thanks for any help,
Milan Bartos

(some maybe usefull info followes)

 audioctl ---
name=HD-Audio
version=1.0
config=azalia0
encodings=slinear_le:16,slinear_le:20,slinear_le:24
properties=full_duplex,independent
full_duplex=0
fullduplex=0
blocksize=9600
hiwat=6
lowat=1
output_muted=0
monitor_gain=0
mode=
play.rate=48000
play.channels=2
play.precision=16
play.encoding=slinear_le
play.gain=171
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=0
play.samples=0
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
play.block_size=9600
play.errors=0
record.rate=48000
record.channels=2
record.precision=16
record.encoding=slinear_le
record.gain=100
record.balance=32
record.port=0x0
record.avail_ports=0x0
record.seek=0
record.samples=278400
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.block_size=9600
record.errors=0




--- mixerctl -
inputs.dac=171,171
inputs.dac2=126,126
inputs.beep=0
record.adc2_source=mic2
record.adc2=99,99
record.adc_source=mic
record.adc=99,99
outputs.hp_source=dac
outputs.hp_boost=off
inputs.mic=126,126
outputs.mic_dir=input-vr80
outputs.spkr_source=dac
outputs.spkr_eapd=on
inputs.mic2=252,252
outputs.hp_sense=unplugged
outputs.mic_sense=unplugged
outputs.master=171,171
outputs.master.mute=off
outputs.master.slaves=dac
record.volume=100,100
record.volume.mute=off
record.volume.slaves=adc2,adc
-



--- dmesg 
OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz ("GenuineIntel" 686-class) 2 
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,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR
real mem  = 2111070208 (2013MB)
avail mem = 2032967680 (1938MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/05/08, BIOS32 rev. 0 @ 0xf0010, 
SMBIOS rev. 2.5 @ 0xfd770 (38 entries)
bios0: vendor LENOVO version "6AET46WW" date 09/05/2008
bios0: LENOVO. INVALID
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC MCFG SLIC ECDT DBGP BOOT OEMB HPET GSCI ATKG SSDT
acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB5(S3) EUSB(S3) USB3(S3) 
USB4(S3) USB6(S3) USBE(S3) HDAC(S3) GBE_(S4) P0P1(S4) P0P2(S3) P0P3(S3) 
WLAN(S3) P0P4(S3) P0P6(S4) GLAN(S4) P0P8(S3) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 2 (P0P3)
acpiprt3 at acpi0: bus 3 (P0P4)
acpiprt4 at acpi0: bus 12 (P0P6)
acpiprt5 at acpi0: bus 13 (P0P8)
acpiec0 at acpi0
acpicpu0 at acpi0: C2
acpitz0 at acpi0: critical temperature 110 degC
acpiac0 at acpi0: AC unit in unknown state
acpibat0 at acpi0: BAT0 not present
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xf800!
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06170a2506000a25
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2000 MHz (1292 mV): speeds: 2000, 1200 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 2 int 16 (irq 10)
drm0 at inteldrm0
"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 2 int 16 
(irq 10)
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 2 int 21 
(irq 7)
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 2 int 19 
(irq 3)
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 2 int 18 
(irq 6)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: apic 2 int 
22 (irq 4)
azalia0: codecs: Conexant CX20561, Intel/0x2802, using Conexant CX20561
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE

Je sur comptable a la banque BCB je vais virée $12.million sui votre compte

2009-06-12 Thread Kito Waziri
Invitation : "Je sur comptable a la banque BCB je vais virie $12.million 
sui votre compte".


Par votre htte Kito Waziri:


 Date:  vendredi 12 juin 2009

 Heure: 20h 00 - 21h 00 (GMT+00:00)
 Lieu:  Cher Ami Salut, Je suis MR, Kito Waziri comptable a la 
BANQUE COMERCIALE DU BURKINA (BCB), je vais virie $12.million (usd) sui votre 
compte ci ga vous intersse je vous enverrons tous les ditails sur la fagon dont 
on va fait le demache et igalement noter que vous aurez 30% du montant indiqui 
.si vous jtes d'accord pour m'aider ` exicuter cette transaction. reponne moi 
rapidement et s.v.p ces un propossition confidentielle merci

Invitis:

 * ninie...@hotmail.fr
 * erikax...@hotmail.fr
 * rockinki...@hotmail.fr
 * nini.bissar...@hotmail.fr
 * -...@hotmail.fr.cente
 * mareau.ed...@hotmail.fr
 * hi...@hotmail.fr
 * konan_...@hotmail.com
 * mouna...@hotmail.com
 * nico210...@hotmail.com
 * ninalori...@hotmail.com
 * n...@hotmail.com
 * ninie...@hotmail.com
 * sicil...@hotmail.fr
 * clementine...@hotmail.fr
 * dj_pok...@hotmail.fr
 * domr...@hotmail.fr
 * baby-lynd...@hotmail.fr
 * flemma...@hotmail.fr
 * metis...@hotmail.fr
 * britloans2...@live.com
 * brr-cheikhbe...@care2.com
 * brr_cheikhbe...@yahoo.ca
 * bsje...@hotmail.com
 * wyosecretaryc...@gmail.com
 * zannou.ben...@yahoo.fr
 * andreloui...@yahoo.fr
 * charli...@videotron.ca
 * benoit.ga...@yahoo.fr
 * tc...@isq.pt
 * op_...@yahoo.fr
 * mt...@yahoo.com
 * pkg-phototools-de...@lists.alioth.debian.org
 * bujoldgen...@hotmail.com
 * benoit.j...@sympatico.ca
 * chantalm...@yahoo.ca
 * ni...@yahoo.ca
 * lefebvrej...@yahoo.ca
 * misc@openbsd.org
 * amel...@yahoo.ca
 * x...@sympatico.ca
 * xxns...@yahoo.ca
 * xxlid...@yahoo.ca
 * yves.math...@radio-canada.ca
 * o...@sympatico.ca
 * andre.belan...@genivar.com
 * quebecor...@hotmail.com
 * bgib...@yahoo.ca
 * max@cyberus.ca
 * benoit_lapie...@polysphere.yahoo.ca
 * brieg.moi...@polysphere.polymtl.ca
 * gagnon.ben...@hydro.qc.ca
 * nathg...@yahoo.fr
 * nisav...@yahoo.ca
 * lefebvrejoha...@yahoo.ca
 * pierre_dant...@yahoo.fr
 * benoit.fred...@gmail.com
 * pink_emi...@yahoo.ca
 * bensk...@total.net
 * sec1.st-franc...@yahoo.ca
 * pastorale.st-janv...@videotron.ca
 * benoit.sitt...@landespflege.uni-freiburg.de
 * logementstlaur...@yahoo.ca
 * r...@qc.aira.comaboucher
 * waxmandorval.combrouillardbibeaugari...@yahoo.camemichelboudreault
 * bernard_gerv...@videotron.ca
 * williamdia...@yahoo.ca
 * r...@sympatico.ca
 * sdmbenev...@yahoo.fr
 * les_2_santinai...@yahoo.ca
 * laverdierebenoit...@yahoo.ca
 * delphine.benoi...@ulaval.ca
 * benoittremb...@conceptair.com
 * gillesturcotte1...@yahoo.ca
 * foggymoi2...@yahoo.ca
 * dcampb...@videotron.ca
 * mar.s...@videotron.ca
 * drmikep2...@yahoo.ca
 * val...@shaw.ca
 * flye...@yahoo.ca

invitation_add_to_your_yahoo_calendar:

 
http://fr.calendar.yahoo.com//?v=60&ST=20090612T20%2B&TITLE=Je+sur+comptable+a+la+banque+BCB+je+vais+vir%c3%a9e+$12.million+sui+votre+compte&DUR=0100&VIEW=d&in_loc=Cher+Ami+Salut,+Je+suis+MR,+Kito+Waziri+comptable+a+la+BANQUE+COMERCIALE+DU+BURKINA+(BCB),+je+vais+vir%c3%a9e+$12.million+(usd)+sui+votre+compte+ci+%c3%a7a+vous+intersse+je+vous+enverrons+tous+les+d%c3%a9tails+sur+la+fa%c3%a7on+dont+on+va+fait+le+demache+et+%c3%a9galement+noter+que+vous+aurez+30%25+du+montant+indiqu%c3%a9+.si+vous+%c3%aates+d%27accord+pour+m%27aider+%c3%a0+ex%c3%a9cuter+cette+transaction.+reponne+moi+rapidement+et+s.v.p+ces+un+propossition+confidentielle+merci&TYPE=10


Copyright ) 2009 Tous droits riservis.
 www.yahoo.fr

Donnies personnelles:
 http://privacy.yahoo.com/privacy/us

Conditions d'utilisation:
 http://docs.yahoo.com/info/terms/



Re: Anyone working with netbeans 5.5?

2009-06-12 Thread ropers
I see. If you were still interested in me testing shit with Ubuntu,
you'd have to tell me exactly what source code file to download and
open and compile in order to reliably reproduce. (Me writing Java
code? Fuggedaboutit.) But I guess you're already checked out that
angle with Gentoo and FreeBSD, so you may not need me to do that. The
only thing I thought, in terms of the bug's behaviour, are we sure
it's not just a missing font or two? I did note that when I installed
netbeans on Ubuntu, it required me to install these additional fonts:

ttf-bengali-fonts ttf-kannada-fonts ttf-oriya-fonts ttf-telugu-fonts
ttf-wqy-zenhei

Of course, if you're happy to leave it and just use Eclipse, then
well, I guess that also settles things.

regards,
--ropers

2009/6/12 MANI :
> I tried netbeans 5.5 and 6.0 on Gentoo and FreeBSD previously with no
> problem, So I guess it's a OPENBSD issue with netbeans, also searching in
> Google about "netbeans ouput font problem" only returns result with
OpenBSD.
> I didn't try to reproduce problems on another machine but for me steps were
> like this:
> 1- using -current on i386
> 2- sudo pkg_add -v jdk-1.7.0.00b43p0
> 3- sudo pkg_add -v netbeans
> 4- create a java project on netbeans and edit and compile few times.
>
> But problems with netbeans seems to be growing, after few hours of working
> It's very slow and hangs when I try to delete files from project, also
> starting netbeans with my default project takes 3 to 5 minutes!  (In
loading
> Modules ... )
> I guess I have to use eclipse.
>
>
> On Fri, Jun 12, 2009 at 8:56 PM, ropers  wrote:
>>
>> > MANI wrote:
>> >>I'm running -current i386 with netbeans 5.5 and jdk 1.7 from packages,
>> >>everything works fine except Netbeans output window, it shows some
>> >>characters in square when I compile sources in output window, for
>> >> example:
>> > [...]
>> >>I found these two unsolved threads in mailing lists with the same
>> >> problem:
>>
>> 2009/6/12 Philippe Meunier :
>> > Yes, apparently several people have the same problem.  I do too.  My
>> > guess is that it's not a font problem but probably something like a
>> > race condition somewhere, because in my case I've seen from time to
>> > time part of the output being printed correctly.
>> >
>> > For your information, about two weeks ago I compiled netbeans 6.5.1
>> > (directly from the source code, not from ports) and jdk 1.5 (from
>> > ports) on -current and the same problem was there too.
>>
>> Ok, so the problem exists in netbeans 6.5.1 on OpenBSD just like in
>> OpenBSD's netbeans 5.5 port. The next question would be, is it present
>> on other OSes as well? For  shits and giggles, I've just installed
>> netbeans 6.5 on Ubuntu. I've never used netbeans and I'm not a
>> programmer, but if you told me a series of tubes^W steps that
>> reproduces this issue under OpenBSD, then I could try the same steps
>> and see if I can reproduce on Ubuntu 9.04, i.e. if it's in any way
>> OpenBSD's "fault" or it netbeans is just fucked somehow.
>>
>> regards,
>> --ropers



Re: Anyone working with netbeans 5.5?

2009-06-12 Thread MANI
I tried netbeans 5.5 and 6.0 on Gentoo and FreeBSD previously with no
problem, So I guess it's a OPENBSD issue with netbeans, also searching in
Google about "netbeans ouput font problem" only returns result with OpenBSD.
I didn't try to reproduce problems on another machine but for me steps were
like this:
1- using -current on i386
2- sudo pkg_add -v jdk-1.7.0.00b43p0
3- sudo pkg_add -v netbeans
4- create a java project on netbeans and edit and compile few times.

But problems with netbeans seems to be growing, after few hours of working
It's very slow and hangs when I try to delete files from project, also
starting netbeans with my default project takes 3 to 5 minutes!  (In loading
Modules ... )
I guess I have to use eclipse.


On Fri, Jun 12, 2009 at 8:56 PM, ropers  wrote:

> > MANI wrote:
> >>I'm running -current i386 with netbeans 5.5 and jdk 1.7 from packages,
> >>everything works fine except Netbeans output window, it shows some
> >>characters in square when I compile sources in output window, for
> example:
> > [...]
> >>I found these two unsolved threads in mailing lists with the same
> problem:
>
> 2009/6/12 Philippe Meunier :
> > Yes, apparently several people have the same problem.  I do too.  My
> > guess is that it's not a font problem but probably something like a
> > race condition somewhere, because in my case I've seen from time to
> > time part of the output being printed correctly.
> >
> > For your information, about two weeks ago I compiled netbeans 6.5.1
> > (directly from the source code, not from ports) and jdk 1.5 (from
> > ports) on -current and the same problem was there too.
>
> Ok, so the problem exists in netbeans 6.5.1 on OpenBSD just like in
> OpenBSD's netbeans 5.5 port. The next question would be, is it present
> on other OSes as well? For  shits and giggles, I've just installed
> netbeans 6.5 on Ubuntu. I've never used netbeans and I'm not a
> programmer, but if you told me a series of tubes^W steps that
> reproduces this issue under OpenBSD, then I could try the same steps
> and see if I can reproduce on Ubuntu 9.04, i.e. if it's in any way
> OpenBSD's "fault" or it netbeans is just fucked somehow.
>
> regards,
> --ropers



Re: Anyone working with netbeans 5.5?

2009-06-12 Thread ropers
> MANI wrote:
>>I'm running -current i386 with netbeans 5.5 and jdk 1.7 from packages,
>>everything works fine except Netbeans output window, it shows some
>>characters in square when I compile sources in output window, for example:
> [...]
>>I found these two unsolved threads in mailing lists with the same problem:

2009/6/12 Philippe Meunier :
> Yes, apparently several people have the same problem.  I do too.  My
> guess is that it's not a font problem but probably something like a
> race condition somewhere, because in my case I've seen from time to
> time part of the output being printed correctly.
>
> For your information, about two weeks ago I compiled netbeans 6.5.1
> (directly from the source code, not from ports) and jdk 1.5 (from
> ports) on -current and the same problem was there too.

Ok, so the problem exists in netbeans 6.5.1 on OpenBSD just like in
OpenBSD's netbeans 5.5 port. The next question would be, is it present
on other OSes as well? For  shits and giggles, I've just installed
netbeans 6.5 on Ubuntu. I've never used netbeans and I'm not a
programmer, but if you told me a series of tubes^W steps that
reproduces this issue under OpenBSD, then I could try the same steps
and see if I can reproduce on Ubuntu 9.04, i.e. if it's in any way
OpenBSD's "fault" or it netbeans is just fucked somehow.

regards,
--ropers



Re: apc ups daemon - SUCCESS

2009-06-12 Thread Kirill Bychkov
Hi.

On Fri, June 12, 2009 17:43, Thomas Pfaff wrote:
> On Fri, 12 Jun 2009 14:21:32 +0100
> Stuart Henderson  wrote:
>> In gmane.os.openbsd.misc, Thomas Pfaff wrote:
>> > A port of this has already been posted a couple of times but,
>> > as someone said, it needs more work.  The GUI tool fails for
>> > me on amd64 so that needs to be fixed.

Thomas, I'll try to test GUI next week on amd64.

>> > There were also some
>> > discussion if it should replace apc-upsd or not.  It never
>> > got any further than that.
>> >
>> > Anyone with commit access, is there anything else that needs to
>> > be fixed in this port for it to be included?
>>
>> Those are the only things I know of. I'm strongly of the opinion it
>> should replace the existing port, and the pkgname stem should stay the
>> same so old users can get upgraded with pkg_add -u, even though the
>> upstream name changed slightly and it's been largely rewritten.

I agree. My answer is still the same: apc-upsd should be removed.

>
> I tend to agree, but I'm a bit concerned that apcupsd won't work
> with the same devices that apc-upsd does.  The configuration files
> are also very different.
>
>> I can test on an SU RM via serial and possibly also Symmetra via
>> SNMP but don't have time to do the rest of the work, I'm mainly using
>> NUT anyway.
>
> Perhaps we could drop the GUI part of the package for now?  At
> least then we have a package that works (from the test reports
> received so far).
>
Latest apcupsd-3.14.6 in attachment.

[demime 1.01d removed an attachment of type application/gzip which had a name 
of apcupsd.tar.gz]



Re: apc ups daemon - SUCCESS

2009-06-12 Thread Stuart Henderson
reply-to's set.

In gmane.os.openbsd.misc, Thomas Pfaff wrote:
> On Thu, 11 Jun 2009 03:43:08 +0300
> Thanasis  wrote:
>> I downloaded the latest version of apcupsd from http://www.apcupsd.com
>> (http://sourceforge.net/project/showfiles.php?group_id=54413)
>> and compiled and installed with gmake. Straightfoward.
>> Communication with the UPS perfect from the first trial.
>
> A port of this has already been posted a couple of times but,
> as someone said, it needs more work.  The GUI tool fails for
> me on amd64 so that needs to be fixed.  There were also some
> discussion if it should replace apc-upsd or not.  It never
> got any further than that.
>
> Anyone with commit access, is there anything else that needs to
> be fixed in this port for it to be included?
>
>

Those are the only things I know of. I'm strongly of the opinion it
should replace the existing port, and the pkgname stem should stay the
same so old users can get upgraded with pkg_add -u, even though the
upstream name changed slightly and it's been largely rewritten.

I can test on an SU RM via serial and possibly also Symmetra via
SNMP but don't have time to do the rest of the work, I'm mainly using
NUT anyway.



Re: Memory problems on 4.5

2009-06-12 Thread Wade, Daniel
> -Original Message-
> From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On
> Behalf Of Lars Kotthoff
> Sent: Saturday, June 06, 2009 9:17 AM
> To: misc@openbsd.org
> Subject: Memory problems on 4.5
>
> Hi all,
>
>  after upgrading to 4.5, I've had problems with the memory usage of
> the box
> increasing continuously until if starts to swap and performance
> becomes so bad
> that I have to reboot the box. This does not seem to be related to
> a specific
> program, at least the usual tools don't indicate that one process
> uses a lot of
> memory or that its memory usage increases steadily.
>
> Here's a picture of what I'm talking about --
> http://www.larsko.net/mem.jpg
> As you can see, memory usage increases quite significantly. The Wed
> to Sat part
> is what it's like now, in the part before there was some other
> stuff going on as
> well. This didn't occur with 4.4.
>
> Does anybody have any suggestions what could cause this and how to
> fix it? Dmesg
> below.
>



I get similar problems on my computer after a few weeks of uptime.  Where it's
swapping continually and I can't even log in on the console.  I only have 32MB
of RAM so I think the effects are more pronounced for me.  I also have some
output from ddb if that would be helpful.  I'll post a dmesg later but I'm
running a snapshot from early May I think, and have been seeing this problem
for a few months.



Re: Is it possible to build OpenBSD from source using GCC 4.x from port or packages?

2009-06-12 Thread Stuart Henderson
On 2009-06-12, Peter N. M. Hansteen  wrote:
>   Using the separately packaged compilers to
> build the base system was never the intended purpose, you can of
> course try if you're feeling adventurous, but you most likely will
> find that when it breaks, you get to keep the pieces. 

If you do this and manage to glue those pieces back together again
(in such a way that you don't break the build for GCC3 or GCC2),
send diff.



Re: state key linking mismatch w/GRE, since 4.5

2009-06-12 Thread Pascal Lalonde
On Fri, Jun 12, 2009 at 05:56:43AM +0200, Henning Brauer wrote:
> * Pascal Lalonde  [2009-06-12 00:28]:
> > Jun 11 18:08:19 celeborn /bsd: pf: state key linking mismatch! dir=OUT,
> > if=bge0, stored af=2, a0: 10.136.192.199:30285, a1: 10.216.8.1:22,
> > proto=6, found af=2, a0: AAA.AAA.AAA.AAA, a1: BBB.BBB.BBB.BBB, proto=47.
> > Jun 11 18:08:21 celeborn /bsd: pf: state key linking mismatch! dir=OUT,
> > if=bge0, stored af=2, a0: 10.136.248.119:42137, a1: 10.137.0.130:993,
> > proto=6, found af=2, a0: AAA.AAA.AAA.AAA, a1: BBB.BBB.BBB.BBB, proto=47.
> 
> fixed in -current and no need to worry really

Good to hear!

Many thanks,
-- 
Pascal



Re: Is it possible to build OpenBSD from source using GCC 4.x from port or packages?

2009-06-12 Thread Ted Unangst
On Fri, Jun 12, 2009 at 2:45 AM, Tito Mari Francis
Escaqo wrote:
> The problem I have in mind is that if the base system has compXX.tgz to
> contain the compiler and build tools, what's the purpose or use of the
> gcc-*.tgz, g++-*.tgz and gobjc-*.tgz from the package list?
> Can you please advise me on this? Thanks!

webkit only compiles with gcc 4.  the kernel only compiles with gcc 3.



Re: Is it possible to build OpenBSD from source using GCC 4.x from port or packages?

2009-06-12 Thread Tito Mari Francis Escaño
Thanks for this clarification. Now I understand better.

On Fri, Jun 12, 2009 at 6:08 PM, Peter N. M. Hansteen wrote:

> On Fri, Jun 12, 2009 at 05:52:37PM +0800, Tito Mari Francis Esca??o wrote:
> > What's the purpose for those packages then?
>
> Some packages (ports) need compiler (mis)features of other GCC
> versions than the one OpenBSD uses as its system compiler.  In order
> to build those packages, developers needed to make the required tools
> available, and so forth.  Using the separately packaged compilers to
> build the base system was never the intended purpose, you can of
> course try if you're feeling adventurous, but you most likely will
> find that when it breaks, you get to keep the pieces.
>
> - P
> --
> Peter N. M. Hansteen, member of the first RFC 1149 implementation team
> http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
> "Remember to set the evil bit on all malicious network traffic"
> delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
>
>


--
Tito Mari Francis H. EscaC1o
Computer Engineer and Free Software Proponent



Re: apc ups daemon - SUCCESS

2009-06-12 Thread Thomas Pfaff
On Thu, 11 Jun 2009 03:43:08 +0300
Thanasis  wrote:
> I downloaded the latest version of apcupsd from http://www.apcupsd.com
> (http://sourceforge.net/project/showfiles.php?group_id=54413)
> and compiled and installed with gmake. Straightfoward.
> Communication with the UPS perfect from the first trial.

A port of this has already been posted a couple of times but,
as someone said, it needs more work.  The GUI tool fails for
me on amd64 so that needs to be fixed.  There were also some
discussion if it should replace apc-upsd or not.  It never
got any further than that.

Anyone with commit access, is there anything else that needs to
be fixed in this port for it to be included?



Personal invitation from Rajneesh Shetty

2009-06-12 Thread Rajneesh Shetty
Hi,

On 5/29/2009 11:07:05 PM, you were invited to join Rajneesh 
Shetty's UNYK address book so he/she would always have access to your contact 
info and you to his/hers.

To accept his/her request, Click here.
http://www.unyk.com/ml/65/5/?i=88e2a5196d9d449fa3eb44249c2559dc


UNYK is a smart and simple way to manage your contacts so you never 
lose anyones contact information again.

No more worrying about your contacts' info. From now on, let them 
do it for you. By changing their information in UNYK.com, you address book will 
be automatically updated. By changing your information in UNYK.com, their 
address book will be automatically updated.

Its so simple and its free... Already 10 million users.



Click here if you no longer wish to receive invitations 
from Rajneesh Shetty to try UNYK!

http://www.unyk.com/ml/245/74/unsubscribe.asp?mid=9E95A7A8827C88A2&email=misc%40openbsd%2Eorg&remove=2&s=14549855
Click here if you no longer wish to receive invitations 
to try UNYK!

http://www.unyk.com/ml/65/6/unsubscribe.asp?i=88e2a5196d9d449fa3eb44249c2559dc



UNYK, the first smart address book that updates itself!



Re: Is it possible to build OpenBSD from source using GCC 4.x from port or packages?

2009-06-12 Thread Peter N. M. Hansteen
On Fri, Jun 12, 2009 at 05:52:37PM +0800, Tito Mari Francis Esca??o wrote:
> What's the purpose for those packages then?

Some packages (ports) need compiler (mis)features of other GCC
versions than the one OpenBSD uses as its system compiler.  In order
to build those packages, developers needed to make the required tools
available, and so forth.  Using the separately packaged compilers to
build the base system was never the intended purpose, you can of
course try if you're feeling adventurous, but you most likely will
find that when it breaks, you get to keep the pieces. 

- P
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: Is it possible to build OpenBSD from source using GCC 4.x from port or packages?

2009-06-12 Thread Tito Mari Francis Escaño
What's the purpose for those packages then?

On Fri, Jun 12, 2009 at 3:12 PM, Edho P Arief  wrote:

> On Fri, Jun 12, 2009 at 2:08 PM, Tito Mari Francis
> EscaC1o wrote:
> > Does it mean it will exactly fit the purpose of the compXX.tgz package
> > provided tools?
> >
>
> different package, different purpose
>
>
> --
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
>



--
Tito Mari Francis H. EscaC1o
Computer Engineer and Free Software Proponent



Re: Recovering a RAID0 volume on faulty controller

2009-06-12 Thread Manuel Ravasio
Just a detail I didn't clarify in my email.
The FastTrack is the typical ultracheap windows-only RAID controller.
I used it as a completely stupid PATA controller, then I created the RAID 
volume using softraid.
That's why I hope I can just switch to another controller...

Thank you anyway,
Manuel


 --
Hana wa sakuragi, hito wa bushi


> Since the RAID controller can do whatever it likes to the data, I'm not
> sure such a command exists (certainly, no *generic* version of such a
> command exists). On the other hand, it's quite likely that it just
> writes the first n bytes to the first disk, the second n bytes to the
> second disk, etc. You may want to dd the first so-many bytes off the
> RAID and check them against the disk with some low-level tool.
> 
> This is likely to be quite a bit of work, and anything that doesn't
> start with making a low-level copy of both disks via something other
> than the RAID controller is probably a bad idea from a data-recovery
> standpoint. (OTOH, data recovery is not really the objective.)
> 
> Joachim



Re: Anyone working with netbeans 5.5?

2009-06-12 Thread Philippe Meunier
MANI wrote:
>I'm running -current i386 with netbeans 5.5 and jdk 1.7 from packages,
>everything works fine except Netbeans output window, it shows some
>characters in square when I compile sources in output window, for example:
[...]
>I found these two unsolved threads in mailing lists with the same problem:

Yes, apparently several people have the same problem.  I do too.  My
guess is that it's not a font problem but probably something like a
race condition somewhere, because in my case I've seen from time to
time part of the output being printed correctly.

For your information, about two weeks ago I compiled netbeans 6.5.1
(directly from the source code, not from ports) and jdk 1.5 (from
ports) on -current and the same problem was there too.

Philippe



Re: Sun Ultra 5/10 installation problems

2009-06-12 Thread Philippe Meunier
Philippe Meunier wrote:
>Someone wrote to me directly:
>>I don't see the HW entry for a CD in the above dmsg are you sure the
>>internal cables are connected?
>
>I don't know why the CD doesn't appear explicitely in the dmesg, I can
>only assume that that's the way Solaris works (I'm no Solaris expert,
>so maybe someone else will be nice enough to comment on that), but the
>CD drive is definitely connected (see below).

Replying to myself...  Solaris does indeed show the CD drive (sd32, at
the bottom of the listing) when booting with the -v option:

ok boot -v
Boot device: /p...@1f,0/p...@1,1/i...@3/d...@0,0  File and args: -v
Size: 314284+93248+121472 Bytes
cpu0: SUNW,UltraSPARC-IIi (upaid 0 impl 0x12 ver 0x13 clock 300 MHz)
SunOS Release 5.7 Version Generic 64-bit [UNIX(R) System V Release 4.0]
Copyright (c) 1983-1998, Sun Microsystems, Inc.
mem = 262144K (0x1000)
avail mem = 252256256
Ethernet address = 8:0:20:9e:d7:72
root nexus = Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 300MHz)
pci0 at root: UPA 0x1f 0x0
pci0 is /p...@1f,0
PCI-device: p...@1,1, simba0
PCI-device: p...@1, simba1
PCI-device: i...@3, uata0
dad0 at pci1095,6460 target 0 lun 0
dad0 is /p...@1f,0/p...@1,1/i...@3/d...@0,0

root on /p...@1f,0/p...@1,1/i...@3/d...@0,0:a fstype ufs
PCI-device: e...@1, ebus0
su0 at ebus0: offset 14,3083f8
su0 is /p...@1f,0/p...@1,1/e...@1/s...@14,3083f8
su1 at ebus0: offset 14,3062f8
su1 is /p...@1f,0/p...@1,1/e...@1/s...@14,3062f8
keyboard is  major <37> minor <0>
mouse is  major <37> minor <1>
se0 at ebus0: offset 14,40
se0 is /p...@1f,0/p...@1,1/e...@1/s...@14,40
stdin is  major <20> minor <0>
stdout is  major <20> minor <0>
SUNW,hme0: CheerIO 2.0 (Rev Id = c1) Found
PCI-device: netw...@1,1, hme0
hme0 is /p...@1f,0/p...@1,1/netw...@1,1
pseudo-device: pm0
pm0 is /pseudo/p...@0
PCI-device: SUNW,m...@2, m640
m640 is /p...@1f,0/p...@1,1/SUNW,m...@2
m64#0: 1152x900, 2M mappable, rev 4754.9a
pseudo-device: tod0
tod0 is /pseudo/t...@0
power0 at ebus0: offset 14,724000
power0 is /p...@1f,0/p...@1,1/e...@1/po...@14,724000
pseudo-device: vol0
vol0 is /pseudo/v...@0
/p...@1f,0/p...@1/s...@1 (glm0):
Rev. 5 Symbios 53c875 found.
PCI-device: s...@1, glm0
glm0 is /p...@1f,0/p...@1/s...@1
/p...@1f,0/p...@1/s...@1,1 (glm1):
Rev. 5 Symbios 53c875 found.
PCI-device: s...@1,1, glm1
glm1 is /p...@1f,0/p...@1/s...@1,1
sd32 at uata0: target 2 lun 0
sd32 is /p...@1f,0/p...@1,1/i...@3/s...@2,0
fd0 at ebus0: offset 14,3023f0
fd0 is /p...@1f,0/p...@1,1/e...@1/fdth...@14,3023f0

Philippe



IPSEC problem after upgrading one side to 4.5

2009-06-12 Thread Toni Mueller
Hi,

I have a VPN running which looks like a hub-and-spoke configuration.
For the remainder of the discussion, the spokes are OpenBSD 4.4. Since
I've upgraded the hub to 4.5, a connection to one of the spoke starts
to fail. After running for well over a week, the connection was not
automatically renegotiated. I first reset the spoke, but to no avail. I
could see the connection going just up to INFO_PROT encrypted, and then
the hub stopped responding to that spoke. Things only returned to
normal after I said "echo R > /var/run/isakmpd.fifo" on the hub.

How do I debug this, please?


TIA!


Kind regards,
--Toni++



Re: ipsec config with x509 certificates

2009-06-12 Thread Toni Mueller
Hi Eric,

On Fri, 13.03.2009 at 19:16:32 +0100, Eric Belhomme 
 wrote:
> - copying my host private key on /etc/isakmpd/private/local.key
> - copying my host public key on /etc/isakmpd/keynote//credentials

I was so far unable to get this keynote-credentials stuff working.
Therefore I set up X.509 authentication like this:

With the x509 cert consisting of the two parts cert.crt and cert.key, I
place the cert.key file in /etc/isakmpd/private and the cert.crt file
in /etcisakmpd/certs. The cert has to be issued by a CA a cert of which
is present in /etc/isakmpd/ca, and the name of the files has to
correspond to the value of the SubjectAlternativeName section, which I
mention in my isakmpd.conf and isakmpd.policy files.

> The thing I can't figure is HOW the x509 certificates are handled,
> because I'm not sure I did the right things :

On OpenBSD, you can watch the negotiation using this command (assuming
that fxp0 is your Internet-facing NIC:

# tcpdump -s1500 -vvv -ni fxp0 host  and \( port 500 or port 4500 or 
esp \)



Kind regards,
--Toni++



Re: Anyone working with netbeans 5.5?

2009-06-12 Thread MANI
thanks, here is the screenshot: http://imgur.com/oXUHE.png

On Thu, Jun 11, 2009 at 5:53 PM, ropers  wrote:

> 2009/6/11 MANI :
> > OK!  I didn't know this mailing list doesn't accept attachements, I don't
> > have otaccess to a web server at the moment for linking to screenshot
> image so
> > forget about it, it's just bunch of squares in output window of netbeans,
> > instead of error messages or warnings.
>
> http://imgur.com/



Re: controlling the fan?

2009-06-12 Thread Jukka Ruohonen
On Wed, Jun 10, 2009 at 11:53:39AM +0200, Jan Stary wrote:
> it could be quiter. Is there a way to control the fan RPM from the OS?
> (Unsurprisingly, hw.sensors.adt0.fan0 is readonly.)

Some laptops provide means to control a fan via somewhat primitive
ACPI-interface (a.k.a. PNP0C0B). If you are into kernel development, writing
such a driver shouldn't take more than a hour or so. You have to probably
examine the DSDT to find out if this is possible; see acpidump(8) for
details.

- Jukka.



Re: Sun Ultra 5/10 installation problems

2009-06-12 Thread Philippe Meunier
Huy Nguyen wrote:
>why don't you install from the network?

Yes, that's the last boot method I have to try before giving up
completely...  I'll give it a try next week once I have a bit more
spare time.

Bryan Irvine wrote:
>Grab OpenBSD/4.5/sparc64/cd45.iso and see if you fair better.

No luck, I get:

Can't read disk label.
Can't open disk label package
Evaluating: boot cdrom
Can't open boot device

just like when I tried using the latest install45.iso.

Someone wrote to me directly:
>I don't see the HW entry for a CD in the above dmsg are you sure the
>internal cables are connected?

I don't know why the CD doesn't appear explicitely in the dmesg, I can
only assume that that's the way Solaris works (I'm no Solaris expert,
so maybe someone else will be nice enough to comment on that), but the
CD drive is definitely connected (see below).

>Can you boot from a Solaris CD?

Yes, I can boot from a Solaris 2.6 installation CD I have around, and
I can also mount the same CD (using the same mount command as in my
previous email) after booting Solaris from the disk.

>try typing probe-ide at the PROM OK prompt and make sure the cdrom drive
>is attached where the PROM is looking for it.

probe-ide gives:

  Device 0  ( Primary Master )
  ATA Model: ST34342A

  Device 1  ( Primary Slave )
 Not Present

  Device 2  ( Secondary Master )
 Removable ATAPI Model: CRD-8240B

  Device 3  ( Secondary Slave )
 Not Present

and while I was at it, obdiag (after a reset-all) gives:

stdin: fffe1e08 
stdout: fffe1e10 
loading code into: /p...@1f,0/p...@1,1/e...@1
loading code into: /p...@1f,0/p...@1,1/e...@1/eep...@14,0
loading code into: /p...@1f,0/p...@1,1/e...@1/e...@14,3043bc
loading code into: /p...@1f,0/p...@1,1/e...@1/s...@14,3062f8
loading code into: /p...@1f,0/p...@1,1/e...@1/s...@14,40
loading code into: /p...@1f,0/p...@1,1/netw...@1,1
loading code into: /p...@1f,0/p...@1,1/e...@1/fdth...@14,3023f0
loading code into: /p...@1f,0/p...@1,1/e...@1/SUNW,cs4...@14,20
loading code into: /p...@1f,0/p...@1,1/i...@3
loading code into: /p...@1f,0/p...@1,1/i...@3/disk
loading code into: /p...@1f,0/p...@1,1/i...@3/cdrom
loading code into: /p...@1f,0/p...@1,1/SUNW,m...@2
Debugging enabled

>Having the cdrom drive go bad is very common on these system and its near
>10 years old. Just try a different drive or make a little network
>(crossover from a laptop will do) and net install it.

Yes, I'll try the net boot next.

Thanks a lot,

Philippe



ftp-proxy remote addr

2009-06-12 Thread Holger Glaess
hi

i have a small problem with the ftp-proxy.

i run the the ftp-proxy for an incoming ftp-server .

he works very well but i diden see the remote ip addr in the ftp log,
just the ip from the firewall .

i think it is similar to the https frowarded-for think.

how can make the remote ip visible on my ftp server ?

i run the ftp-proxy with
ftp-proxy -b 127.0.0.1 -p 8122 -a 195.xx.xxx.xx -R 10.10.223.38

if i drop the -a option i see the private 10.10. addr from the firewall.

thanks

holger



Re: Is it possible to build OpenBSD from source using GCC 4.x from port or packages?

2009-06-12 Thread Edho P Arief
On Fri, Jun 12, 2009 at 2:08 PM, Tito Mari Francis
EscaC1o wrote:
> Does it mean it will exactly fit the purpose of the compXX.tgz package
> provided tools?
>

different package, different purpose


--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org



Re: Is it possible to build OpenBSD from source using GCC 4.x from port or packages?

2009-06-12 Thread Tito Mari Francis Escaño
Does it mean it will exactly fit the purpose of the compXX.tgz package
provided tools?

On Fri, Jun 12, 2009 at 3:05 PM, Edho P Arief  wrote:

> On Fri, Jun 12, 2009 at 1:45 PM, Tito Mari Francis
> EscaC1o wrote:
> > The problem I have in mind is that if the base system has compXX.tgz to
> > contain the compiler and build tools, what's the purpose or use of the
> > gcc-*.tgz, g++-*.tgz and gobjc-*.tgz from the package list?
> > Can you please advise me on this? Thanks!
> >
> >
>
> different version
>
> --
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
>



--
Tito Mari Francis H. EscaC1o
Computer Engineer and Free Software Proponent



Re: Is it possible to build OpenBSD from source using GCC 4.x from port or packages?

2009-06-12 Thread Edho P Arief
On Fri, Jun 12, 2009 at 1:45 PM, Tito Mari Francis
EscaC1o wrote:
> The problem I have in mind is that if the base system has compXX.tgz to
> contain the compiler and build tools, what's the purpose or use of the
> gcc-*.tgz, g++-*.tgz and gobjc-*.tgz from the package list?
> Can you please advise me on this? Thanks!
>
>

different version

--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org