Re: azalia0 on hp nx7300

2008-01-17 Thread Bachman Kharazmi
On 13/01/2008, Deanna Phillips [EMAIL PROTECTED] wrote:
 Please try with -current.

Current installed. Still the same behavior. The mute led on kb is
light, and I can't turn it off. It works to stream with mplayer.. but
no should comes out of the hardware :(

# mixerctl -a
outputs.dac.source=hdaudio
outputs.speaker.source=dac2
outputs.speaker.mute=off
outputs.speaker=124,124
inputs.speaker=0,0
outputs.speaker.dir=output
outputs.speaker.boost=off
outputs.speaker.eapd=off
outputs.headphones.sour=dac2
outputs.headphones.mute=off
outputs.headphones=124,124
outputs.headphones.boos=off
outputs.line.mute=off
outputs.line=132
inputs.mic=0,0
outputs.line2.source=dac2
outputs.line2.mute=off
outputs.line2=124,124
inputs.line2=85,85
outputs.line2.dir=output
inputs.sel.source=dac2
inputs.sel2.source=beep
outputs.sel2.mute=off
outputs.sel2=119
outputs.sel3.mute=off
outputs.sel3=120,120
outputs.sel4.mute=off
outputs.sel4=120,120
outputs.sel5.mute=off
outputs.sel5=120,120
outputs.pow.source=sel2
inputs.sel6.source=mix
outputs.sel6.mute=off
outputs.sel6=119,119
outputs.mic2.source=dac2
outputs.mic2.mute=off
outputs.mic2=124,124
inputs.mic2=85,85
outputs.mic2.dir=output
outputs.sel7.mute=off
outputs.sel7=120,120
outputs.sel8.mute=off
outputs.sel8=120,120
outputs.sel9.mute=off
outputs.sel9=120,120
outputs.sel10.mute=off
outputs.sel10=120,120
outputs.sel11.mute=off
outputs.sel12.mute=off
inputs.usingdac=03

OpenBSD 4.2-current (GENERIC) #646: Wed Jan  9 15:49:30 MST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M CPU 440 @ 1.86GHz (GenuineIntel
686-class) 1.87 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,SSE3,MWAIT,TM2,xTPR
real mem  = 1064726528 (1015MB)
avail mem = 1021624320 (974MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/18/06, BIOS32 rev. 0 @
0xf, SMBIOS rev. 2.4 @ 0xfbbe2 (23 entries)
bios0: vendor Hewlett-Packard version 68YGU Ver. F.0A date 12/18/2006
bios0: Hewlett-Packard HP Compaq nx7300 (GB904ET#AK8)
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SLIC HPET APIC MCFG TCPA SSDT SSDT SSDT SSDT
acpi0: wakeup devices C098(S5) C225(S5) C0FA(S3) C0FB(S3) C0FC(S3)
C0FD(S3) C114(S5) C22F(S5) C11A(S5) C230(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
OpenBSD 4.2-current (GENERIC) #646: Wed Jan  9 15:49:30 MST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M CPU 440 @ 1.86GHz (GenuineIntel
686-class) 1.87 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,SSE3,MWAIT,TM2,xTPR
real mem  = 1064726528 (1015MB)
avail mem = 1021624320 (974MB)
User Kernel Config
UKC disable acpi
414 acpi0 disabled
UKC quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/18/06, BIOS32 rev. 0 @
0xf, SMBIOS rev. 2.4 @ 0xfbbe2 (23 entries)
bios0: vendor Hewlett-Packard version 68YGU Ver. F.0A date 12/18/2006
bios0: Hewlett-Packard HP Compaq nx7300 (GB904ET#AK8)
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0x2000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf07c0/192 (10 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xff880/192 (10 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801FBM LPC rev 0x00)
pcibios0: PCI bus #32 is the last bus
bios0: ROM list: 0xc/0x1!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
agp0 at pchb0: aperture at 0xe000, size 0x1000
vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01: irq 10
azalia0: codec[s]: Analog Devices/0x1981, ATT/Lucent/0x1040, using
Analog Devices/0x1981
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: irq 10
pci1 at ppb0 bus 8
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01: irq 11
pci2 at ppb1 bus 16
bwi0 at pci2 dev 0 function 0 Broadcom BCM4311 rev 0x01: irq 11,
address 00:1a:73:68:86:cf
ppb2 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x01: irq 10
pci3 at ppb2 bus 32
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: irq 10
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: irq 11
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: irq 11
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: irq 10
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe1
pci4 at ppb3 bus 2
cbb0 at pci4 

Re: azalia0 on hp nx7300

2008-01-17 Thread Bachman Kharazmi
yep. the enabled acpi made the laptop reset right after boot prompt.

On 14/01/2008, Pierre Riteau [EMAIL PROTECTED] wrote:
 On Jan 14, 2008 12:38 AM, Bachman Kharazmi [EMAIL PROTECTED] wrote:
 
  On 13/01/2008, Deanna Phillips [EMAIL PROTECTED] wrote:
   Bachman Kharazmi writes:
  
OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
  
   Please try with -current.
  OK, I've spent some time trying with a CURRENT snapshot. Right after
  the boot prompt when the kernel starts executing the laptop reboots.
  bsd.rd does work, so something in bsd trigger a reboot :(
  I don't have any usb/serial dongle at home so I can't debug this at
  the moment. But are there anything you can think of that might cause
  the resets in bsd which can be enabled/disabled?
  /Bachman
 
 

 I would bet on acpi. It is enabled now, it was not enabled in 4.2.
 Try disable acpi after a boot -c.

 --
 Pierre Riteau



Re: azalia0 on hp nx7300

2008-01-17 Thread Bachman Kharazmi
yeay!
outputs.speaker.eapd=off - on
did turn off the mute led. and now I get should ;)

I can adjust level using for example mixerctl outputs.speaker=200,200
but the control in aumix is not adjustable. Are there any tool similar
to aumix I can use?
thanks! /Bachman

On 18/01/2008, Deanna Phillips [EMAIL PROTECTED] wrote:
 Bachman Kharazmi writes:

  outputs.speaker.eapd=off

 Could you try setting that to on?

 And try setting all of the volume levels to 200 or more.  Some
 laptops have very quiet speakers.



azalia0 on hp nx7300

2008-01-13 Thread Bachman Kharazmi
hi
I try to get sound of my hp nx7300, but the device seem to be muted.
I've checked the mixerctl settings. mplayer is playing a stream atm,
but there's no sound :(
The mute led is on at the keyboard, but nothing happens when I press the button.

Is this card unsupported or have I missed anything?

thanks /Bachman

bash-3.2$ mixerctl -a
outputs.dac02.source=hdaudio
outputs.lineout.source=dac03
outputs.lineout.mute=off
outputs.lineout=252,252
outputs.lineout=85,85
outputs.lineout.dir=output
outputs.lineout.boost=off
outputs.hp.source=dac03
outputs.hp.mute=off
outputs.hp=124,124
outputs.hp.boost=off
outputs.mono.mute=off
outputs.mono=124
outputs.mic=170,170
outputs.linein.source=dac03
outputs.linein.mute=off
outputs.linein=124,124
outputs.linein=85,85
outputs.linein.dir=input
inputs.sel0b.source=dac03
inputs.beep.source=beep10
outputs.beep.mute=off
outputs.beep=119
outputs.sel11.mute=off
outputs.sel11=120,120
outputs.sel12.mute=off
outputs.sel12=120,120
outputs.sel13.mute=off
outputs.sel13=120,120
outputs.pow14.source=beep
inputs.sel15.source=mix0c
outputs.sel15.mute=off
outputs.sel15=119,119
outputs.mic2.source=dac03
outputs.mic2.mute=off
outputs.mic2=124,124
outputs.mic2=85,85
outputs.mic2.dir=input
outputs.sel1a.mute=off
outputs.sel1a=120,120
outputs.sel1b.mute=off
outputs.sel1b=120,120
outputs.sel1c.mute=off
outputs.sel1c=120,120
outputs.speaker.mute=off
outputs.speaker=224,224
outputs.sel1e.mute=off
outputs.sel1f.mute=off
inputs.usingdac=03

OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M CPU 440 @ 1.86GHz (GenuineIntel
686-class) 1.87 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,SSE3,MWAIT,TM2,xTPR
real mem  = 1064726528 (1015MB)
avail mem = 1021886464 (974MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/18/06, BIOS32 rev. 0 @
0xf, SMBIOS rev. 2.4 @ 0xfbbe2 (23 entries)
bios0: vendor Hewlett-Packard version 68YGU Ver. F.0A date 12/18/2006
bios0: Hewlett-Packard HP Compaq nx7300 (GB904ET#AK8)
pcibios0 at bios0: rev 2.1 @ 0xf/0x2000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf07c0/192 (10 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xff880/192 (10 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801FBM LPC rev 0x00)
pcibios0: PCI bus #32 is the last bus
bios0: ROM list: 0xc/0x1!
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM MCH rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03: aperture
at 0xe000, size 0x1000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01: irq 10
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Analog Devices AD1981HD (rev. 2.0), HDA version 1.0
azalia0: codec: ATT/Lucent/0x1040 (rev. 2.0), HDA version 1.0
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1]: No audio function groups
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01
pci1 at ppb0 bus 8
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01
pci2 at ppb1 bus 16
Broadcom BCM4311 rev 0x01 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x01
pci3 at ppb2 bus 32
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: irq 10
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: irq 11
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: irq 11
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: irq 10
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe1
pci4 at ppb3 bus 2
cbb0 at pci4 dev 6 function 0 TI PCIXX12 CardBus rev 0x00: irq 11
TI PCIXX12 FireWire rev 0x00 at pci4 dev 6 function 1 not configured
bce0 at pci4 dev 14 function 0 Broadcom BCM4401B1 rev 0x02: irq 10,
address 00:17:a4:e7:c2:e5
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x10, lattimer 0x20
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x01: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TSSTcorp, CD/DVDW TS-L632D, HH17 SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored 

Re: azalia0 on hp nx7300

2008-01-13 Thread Bachman Kharazmi
On 13/01/2008, Deanna Phillips [EMAIL PROTECTED] wrote:
 Bachman Kharazmi writes:

  OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
  [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC

 Please try with -current.
OK, I've spent some time trying with a CURRENT snapshot. Right after
the boot prompt when the kernel starts executing the laptop reboots.
bsd.rd does work, so something in bsd trigger a reboot :(
I don't have any usb/serial dongle at home so I can't debug this at
the moment. But are there anything you can think of that might cause
the resets in bsd which can be enabled/disabled?
/Bachman



Re: OpenBSD 4.0 CDs

2006-11-08 Thread Bachman Kharazmi

Try the cd on a few more cd readers to make sure it isn't a specific
one that has problems. If that's done with no luck, then drop the
sender of the packages a email and describe your problem.

/bkw

On 06/11/06, Gustavo Rios [EMAIL PROTECTED] wrote:

Hey list members,

i have just received my 4.0 CD Set! I am trying to install it on a
third HD i have in my computer. The problem i am facing is that the
i386 CD cannot be seen by the CD DRIVE. It looks like there is no CD
in the disc drive. After i insert it, i see some beeps in fixed
interval of time. Theses beeps occur abuot 3 to 4 times. I tried
booting the already installed openbsd and mount, but what i get is:

$ su -
Password:
Terminal type? [xterm]
# mount /cdr
mount_cd9660: /dev/cd0a on /cdr: Operation not supported by device
# exit
$

I trying reading it on my Windows XP, nothing is showed for drive D:,
just like if there was no CD inside.

Of course, what i need is just before any OS is booted, i.e., i would
like to boot the CD for a brand new installation.

Thanks in advance.

PS: Of course, i am doing all that on the same hardware: Dell
Precision Workstation 370

Here is my dmesg:
OpenBSD 3.9-stable (GENERIC) #1: Mon Nov  6 16:13:12 BRST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
LUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
real mem  = 534925312 (522388K)
avail mem = 481079296 (469804K)
using 4278 buffers containing 26849280 bytes (26220K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 03/16/05, BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.2
apm0: APM get power status: unknown error code? (83)
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfeb00/224 (12 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801FB LPC rev 0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0xc000 0xcc000/0x1800! 0xcd800/0x2800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82925X MCH Host rev 0x04
ppb0 at pci0 dev 1 function 0 Intel 82925X PCIE rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA Quadro FX 330 rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 Broadcom BCM5751 rev 0x01, BCM5750 A1 (0x4001):
irq 11, address 00:11:11:e3:92:7e
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x03
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: irq 3
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: irq 10
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: irq 9
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb3 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xd3
pci4 at ppb3 bus 4
auich0 at pci0 dev 30 function 2 Intel 82801FB AC97 rev 0x03: irq 10, ICH6 AC9
7
ac97: codec id 0x41445370 (Analog Devices AD1980)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
ichpcib0 at pci0 dev 31 function 0 Intel 82801FB LPC rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801FB IDE rev 0x03: DMA, channel 0 c
onfigured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: PHILIPS, DVD+-RW DVD8631, CD21 SCSI0 5/cdrom rem
ovable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 31 function 2 Intel 82801FR SATA rev 0x03: DMA, channel 0
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 5 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: ST3808110AS
wd0: 16-sector PIO, LBA48, 76293MB, 15625 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide1 channel 

Re: Redundant over two ethernet switches

2006-10-12 Thread Bachman Kharazmi

I've used trunk to make redundancy possible between two switches on
the same subnet (single shared virtual IP, and no STP usage).

from what I can read in the trunk man,
http://www.openbsd.org/cgi-bin/man.cgi?query=trunkapropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html

failover is what you want.

Someone else might be able to answer your last questions.
/bkw

On 12/10/06, Per-Olov Sjvholm [EMAIL PROTECTED] wrote:

Hi

Let's say we have two switches on the same subnet with RSTP (Rapid Spanning
Tree) on. If I want to connect an OpenBSD server 3.9 or 4.0 (with TWO intel
NIC:s and ONE IP address) two both these switches (redundancy purpose not
speed) I think I need some extra features on the NIC driver.

According to http://www.intel.com/support/network/sb/cs-009747.htm there are a
few different ways of doing this.

Are any om them supported in OpenBSD? I think I would prefer what Intel
call Switch Fault Tolerance (SFT). If not supported... Anybody with a
clever idea of solving the two switch connection redundancy issue? Can I use
the trunk feature in any way? If I can use a trunk in any way... will it have
any negative impact of CARP that I will use on it?


Thanks in advance
Per-Olov




Re: Monitor not suspending? (Xorg, DPMS, OBSD 3.9)

2006-09-30 Thread Bachman Kharazmi

I always use
Option OffTime  5# Turn off DPMS monitor (DPMS)
in my Xorg.conf (section ServerLayout).

Never had a problem with that. Don't know much about
power-saving-modes. But you can at least see if OffTime works.

If you've xscreensaver installed I would suggest you to remove it
since is can play with the DPMS settings.
/B
On 30/09/06, patrick ~ [EMAIL PROTECTED] wrote:

Greetings,

This may just be a problem with my video card, but
I thought I'd ask since I couldn't find a definitive
answer from googling.

I noticed that none of the DPMS settings (Standby,
Suspend nor Off) would take effect at their designated
time periods.  In short, X wouldn't shut-off my monitor.

Now I used to have a Linux system connected to this
monitor, and I am 100% positive with DPMS enabled, my
monitor would shut-off at the proper/expected time.


The interesting bit is that even though the monitor
isn't shutting down, X seems to pause (for a lack
of better term).  I can explain it this way:

For example, if I lock the terminal using:

$ xlock -mode marquee

Marquee uses fortune to put up text on the screen (if
you didn't know this).  After some time passing, with
no interaction with the system via keyboard or mouse,
the marquee would get stuck, or pause mid-sentence:

e.g.,

The opposite of a profound truth may well be ano


However, if you were to move the mouse the fortune
would continue from where it had paused (and this
could be many hours after its original pause time):


...ther profound truth.
 -- Bohr


I'd like to clarify that this is not an xlock issue,
since the screen doesn't blank even if I don't run
xlock.


Since I produce this on two different DPMS aware monitors,
I can only consider either of the following: OpenBSD's
Xorg release or the video card.


Anyone else experience similar issues?  If not, does
anyone know whether an ATI Rage 128 Pro video card
is DPMS capable? I couldn't find my answer using google.
Since there are so many posts of X{,org}.0.log out on
the net, searching using the DPMS as a keyword isn't
very effective.

TIA

--patrick


ps., I also cron'ed a script that would print `date'
and `xset -q | grep -A 1 -i dpms' into a file every
5 minutes.  The output indicates that X is in fact
thinking (or being lead to believe) the monitor is
in fact transitioning though each of the states,
while in reality, the monitor is still on :-)


$ cat dpms_test.out

Fri Sep 29 23:05:01 PDT 2006
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is On


Fri Sep 29 23:10:01 PDT 2006
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is On


Fri Sep 29 23:15:01 PDT 2006
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is On


Fri Sep 29 23:20:01 PDT 2006
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is On


Fri Sep 29 23:25:01 PDT 2006
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is On


Fri Sep 29 23:30:01 PDT 2006
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is On


Fri Sep 29 23:35:01 PDT 2006
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is On


Fri Sep 29 23:40:01 PDT 2006
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is in Standby


Fri Sep 29 23:45:01 PDT 2006
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is in Standby


Fri Sep 29 23:50:01 PDT 2006
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is in Standby


Fri Sep 29 23:55:01 PDT 2006
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is in Standby


Sat Sep 30 00:00:01 PDT 2006
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is in 

Re: overwritten file recovery - how ?

2006-09-30 Thread Bachman Kharazmi

is this question obsd related? not really.
anyhow real men don't do backups, but google told me about
http://www.linux.com/article.pl?sid=06/08/21/1558230

/bkw
On 30/09/06, Bambero [EMAIL PROTECTED] wrote:

Hello

I need to recovery overwritten txt file.

Ex.
echo my data  testfile.txt
echo   testfile.txt

I have partition image file creted using dd.
Is it possible to dump it and search using grep for example ?
Is it possible to recover overwritten data ?

Thanks
Bambero




Re: Posters shipping

2006-09-24 Thread Bachman Kharazmi

maybe it's orders AT kd85.com you should have sent this mail to...
/bkw

On 24/09/06, Federico Giannici [EMAIL PROTECTED] wrote:

In the last two or three years, at every release we always ordered a CD
and a poster. We always received the CDs, but NEVER received the posters!

This is for your information only (we don't want money back), maybe
something can be improved in posters shipping


Bye.

--
___
 __
|-  [EMAIL PROTECTED]
|ederico Giannici  http://www.neomedia.it
___




Re: Faster SBC

2006-09-19 Thread Bachman Kharazmi

I think that one beat my wrap :)

Do you have any price information?
/B
On 19/09/06, Stuart Henderson [EMAIL PROTECTED] wrote:

I thought these look interesting, has anyone tried them already?
http://www.win-ent.com/MB-06047.htm




pentium D

2006-09-17 Thread Bachman Kharazmi

Is Pentium D (dual core) working by running bsd.mp?
I know it isn't listed at supported CPU's, but someone might been
booting one sucessfully.

/bkw



Re: Unable to find startxfce under OpenBSD/i386 3.9

2006-08-29 Thread Bachman Kharazmi

http://www.xfce.org/index.php?page=documentationlang=en would
probably also give you a hint about what you need to do the _default_
install

direct cut n paste:
###
in the top directory of each module, in the following build order:

  1. xfce4-dev-tools
  2. libxfce4util
  3. libxfcegui4
  4. libxfce4mcs
  5. xfce-mcs-manager
  6. all other modules (you have to install xfce4 panel before
compiling panel plugins).
###
/bkw
On 29/08/06, Bruno Carnazzi [EMAIL PROTECTED] wrote:

2006/8/29, Jasper Lievisse Adriaanse [EMAIL PROTECTED]:
 On Tue, Aug 29, 2006 at 03:21:28PM +0400, Bruno Carnazzi wrote:
Hi misc,
 
  I'd like to use Xfce4 as my main desktop environment, and I can't run
  it under OpenBSD :(
 
  I've installed the following packages through pkg_add(4) :
 [...]
 
  I can't find startxfce in /usr/local/bin or elsewhere. When X is
  started, I can run xffm and so on, but under fvwm ! :)
 
  Any idea ? What's the missing package ?
 you need xfce-utils.

Thank you guys ! That did the trick :)

Best regards,

Bruno.


 
  Best regards,
 
  Bruno.
 
 cheers,
 Jasper

 --
 Humppa is a serious thing!
 NedBSD: http://nedbsd.nl





--
/Bachman



Re: usb Y converter to PS2

2006-08-27 Thread Bachman Kharazmi

encoding issue solved by reading the ukbd man.
/bkw
On 26/08/06, Bachman Kharazmi [EMAIL PROTECTED] wrote:

now I've solved the problem by taking a bus to nearest computerstore
buying a usb-by-default kb from logitech (model: flat something..) and
it works flawless!

But in console it ain't the same keymap(language map) as set for the
builtin keyboard on the lappy.

I tried to type kbd sv from the usb one. But it still remains
american in console :/

I assume there are options to set the keymap for a external usb keyboard.
/bkw

On 26/08/06, Paul de Weerd [EMAIL PROTECTED] wrote:
 On Sat, Aug 26, 2006 at 02:22:14PM +0200, Bachman Kharazmi wrote:
 | Do you know if your kb/m is new hw that has usb support?
 | In my case kb/mouse are pretty old without any usb support specification

 I don't think this matters a lot. My mouse isn't very old but my
 keyboard is an original IBM type M keyboard (the mechanical one that
 makes so much noise ;). This keyboard predates USB by quite a few
 years, so I'm certain it has no USB support.

 But anyway, the PS/2 to USB adapter only requires a valid PS/2 signal
 to work. So if you can connect them, they should Just Work (tm).




Re: new ms usb mouse

2006-08-26 Thread Bachman Kharazmi

I was wrong about that it's blinking all the time, it does only when I
remove it from the mousepad.

Just to make sure the mouse is working I booted a knoppix live cd and
connected the mouse. And it works flawless... with this in dmesg:
usb 3-2: new low speed USB device using uhci_hcd and address 2
usb 3-2: configuration #1 chosen from 1 choice
input: Microsoft Microsoft Optical Mouse with Tilt Wheel as /class/input/input2
input: USB HID v1.11 Mouse [Microsoft Microsoft Optical Mouse with
Tilt Wheel] on usb-:00:1d.1-2

I'm still very suprised that it doesn't work with openbsd. There must
be a reason.

/bkw



usb Y converter to PS2

2006-08-26 Thread Bachman Kharazmi

Hi

I've seen a plug 'n play adapter for usb to two PS2.
http://www.dvdmannen.se/upl/mediumres/%7B7CAA387A-C367-40A4-8A11-B1788B7DACAC%7D.jpg

I have a older kb/mouse I would like to use.

Are these adapters supported in obsd?
/bkw



Re: usb Y converter to PS2

2006-08-26 Thread Bachman Kharazmi

now I've solved the problem by taking a bus to nearest computerstore
buying a usb-by-default kb from logitech (model: flat something..) and
it works flawless!

But in console it ain't the same keymap(language map) as set for the
builtin keyboard on the lappy.

I tried to type kbd sv from the usb one. But it still remains
american in console :/

I assume there are options to set the keymap for a external usb keyboard.
/bkw

On 26/08/06, Paul de Weerd [EMAIL PROTECTED] wrote:

On Sat, Aug 26, 2006 at 02:22:14PM +0200, Bachman Kharazmi wrote:
| Do you know if your kb/m is new hw that has usb support?
| In my case kb/mouse are pretty old without any usb support specification

I don't think this matters a lot. My mouse isn't very old but my
keyboard is an original IBM type M keyboard (the mechanical one that
makes so much noise ;). This keyboard predates USB by quite a few
years, so I'm certain it has no USB support.

But anyway, the PS/2 to USB adapter only requires a valid PS/2 signal
to work. So if you can connect them, they should Just Work (tm).

Cheers,

Paul 'WEiRD' de Weerd

--
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/






--
/Bachman



new ms usb mouse

2006-08-25 Thread Bachman Kharazmi

Hi

I've been using a optical logitech usb mouse without any problems.
But I've bought a new ms mouse(comfort usb mouse 3000) today which
I've some problems with.

When I connect the mouse the red light start blinking without stopping.
I've tried to boot -c ; disable pms* at boot without any luck.

my xorg.conf looks like:
Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol wsmouse
   Option  Device /dev/wsmouse
   Option  ZAxisMapping 4 5
EndSection

Rebooting with the mouse connected didn't help.

Everytime I connect the mouse xconsole say:
uhid0 at uhidev0 reportid 18: input=0, output=0, feature=1
uhid1 at uhidev0 reportid 19: input=1, output=0, feature=0
uhid2 at uhidev0 reportid 23: input=0, output=0, feature=1
uhid3 at uhidev0 reportid 24: input=0, output=0, feature=1


My dmesg is found at the end of this email.
(the only change to the kernel is added ntfs support)
/bkw

OpenBSD 3.9 (mykern2) #0: Sun Jul 23 22:28:24 CEST 2006
   [EMAIL PROTECTED]:/sys/arch/i386/compile/mykern2
cpu0: Intel(R) Pentium(R) M processor 1500MHz (GenuineIntel
686-class) 1.50 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2
cpu0: Enhanced SpeedStep 1500 MHz (1484 mV): speeds: 1500, 1400, 1200,
1000, 800, 600 MHz
real mem  = 501719040 (489960K)
avail mem = 450674688 (440112K)
using 4278 buffers containing 25190400 bytes (24600K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(79) BIOS, date 01/14/04, BIOS32 rev. 0 @ 0xfd4e0
pcibios0 at bios0: rev 2.1 @ 0xfd4e0/0xb20
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdcc0/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xce00 0xcd000/0x1800 0xcf800/0x800! 0xe/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82852GM Hub-PCI rev 0x02
Intel 82852GM Memory rev 0x02 at pci0 dev 0 function 1 not configured
Intel 82852GM Configuration rev 0x02 at pci0 dev 0 function 3 not configured
vga1 at pci0 dev 2 function 0 Intel 82852GM AGP rev 0x02: aperture
at 0xe800, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82852GM AGP rev 0x02 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x03: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x03: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x03: irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x03: irq 10
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x83
pci1 at ppb0 bus 1
bce0 at pci1 dev 2 function 0 Broadcom BCM4401 rev 0x01: irq 11,
address 00:c0:9f:2f:00:84
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
ipw0 at pci1 dev 4 function 0 Intel PRO/Wireless 2100 rev 0x04: irq
11, address 00:04:23:79:9c:11
cbb0 at pci1 dev 6 function 0 vendor O2 Micro, unknown product
0x7113 rev 0x20pci_intr_map: no mapping for pin A
: couldn't map interrupt
cbb1 at pci1 dev 6 function 1 vendor O2 Micro, unknown product
0x7113 rev 0x20pci_intr_map: no mapping for pin A
: couldn't map interrupt
Texas Instruments TSB43AB21 FireWire rev 0x00 at pci1 dev 7 function
0 not configured
ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x03
pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x03: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: ST94011A
wd0: 16-sector PIO, LBA48, 38154MB, 78140160 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: MATSHITA, UJDA740 DVD/CDRW, 1.20 SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x03: irq 10
iic0 at ichiic0
unknown at iic0 addr 0x18 not configured
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x03: irq
10, ICH4 AC97
ac97: codec id 0x414c4740 (Avance Logic ALC202)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auich0
Intel 82801DB Modem rev 0x03 at pci0 dev 31 function 6 not configured
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at 

hotplugd

2006-08-24 Thread Bachman Kharazmi

I use hotplugd to attach my usbstick. I works well, but I miss a
detach script which I couldn't find as a example in the manual so I
wonder if it's necessary. I've tried once to just disconnect the stick
without umounting the FS manually, and it worked.

messages shows:
Aug 24 16:24:54 venus /bsd: umass1: SanDisk Corporation Cruzer Micro,
rev 2.00/0.10, addr 2
Aug 24 16:24:54 venus /bsd: umass1: using SCSI over Bulk-Only
Aug 24 16:24:54 venus /bsd: scsibus2 at umass1: 2 targets
Aug 24 16:24:54 venus /bsd: sd1 at scsibus2 targ 1 lun 0: SanDisk,
Cruzer Micro, 0.1 SCSI2 0/direct removable
Aug 24 16:24:55 venus /bsd: sd1: 488MB, 488 cyl, 64 head, 32 sec, 512
bytes/sec, 1000944 sec total
Aug 24 16:36:57 venus /bsd: umass1: at uhub3 port 1 (addr 2) disconnected
Aug 24 16:36:57 venus /bsd: sd1 detached
Aug 24 16:36:57 venus /bsd: scsibus2 detached
Aug 24 16:36:57 venus /bsd: umass1 detached

Can it cause any damage on a FS if I remove a usb device that is
mounted by hotplugd?
/bkw



Re: console screensafer

2006-08-05 Thread Bachman Kharazmi

xorg.conf has a DPMS option which turns the monitor in powersave after a while.
Check if that option appear in your xorg.conf.

xset q also know if it's enabled or not.
/bkw
On 05/08/06, Andreas Bartelt [EMAIL PROTECTED] wrote:

Hi,

is there a way to disable to console screensafer in OpenBSD?

Problem description: after about 60 seconds after booting, the console
screen blanks and my monitor turns off (disabling power management on my
monitor doesn't help). Sometimes, shortly after starting Xorg, my
monitor also turns off. During a fresh installation of CURRENT from a
default floppy, my monitor also turns off.

I tried the following values in /etc/wsconsctl.conf, but they didn't
have any obvious effect:
display.vblank=off
display.screen_off=600




Re: sendmail

2006-07-27 Thread Bachman Kharazmi

http://www.pingwales.co.uk/2005/06/03/OpenBSD-mail-server-config.html
/bkw

On 27/07/06, David B. [EMAIL PROTECTED] wrote:

sorry to bother, can anyone suggest a definitive book I should buy on how to
set up Sendmail on Openbsd 3.8?

I have looked all over the net for a HOWTO or an article that steps me
through how to set up a user account and password, and then how to retrieve
it (look at it on the server), but all the articles go on and on on how to
download it, compile it and install it; none of them tell me how to use it.
The articles talk about just every possible subject except how to simply
create a user/password account, and then tell you where the email is
supposed to be on the server, and then how to look at it.

They don't seem to explain how to name the server either.  My URL will be
quikadz.com, and I can turn on port 25 in my firewall (smoothwall) and
forward it to the internal IP, but how do I tell the server it's supposed to
accept the email for quikadz.com?

anyway, so I don't waste anyone's time asking a bunch of beginner questions
back and forth, any suggestions on a book to buy would help tremendously.

thanks





--
/Bachman



opendoc - http://opendoc.lindesign.se

2006-07-22 Thread Bachman Kharazmi

While can't sleeping in my hot room, I started a website for
documentation. I used to contribute to openbsdsupport.org but when the
webmaster was very busy and a reply took more than two months if there
was any at all I decided to run something more up2date on my own.

the next section below is directly cut  paste from the site
###
My main goal with this site is to share documents that can be useful
to other OpenBSD users. Everyone is free to contribute. I will share
accounts so creative people can open their minds and help others by
writing tutorials.

The project is just a place where we can gather tutorials written by
users. There's always something that was a little tricky, write a
solution and drop it to my email.
###

URL: http://opendoc.lindesign.se (the page is in a very early stage)

I look forward to recieve your document/script!
--
/bkw



Re: Toshiba Tecra 8000 xorg.conf

2006-06-08 Thread Bachman Kharazmi

This is not a obsd related question.

First make sure your screen and card can make that resolution.
Then include your xorg.conf and the Xorg log.

Please read the examples included first, and see if Xorg -configure can help.
here is what it can look like http://bkw.lindesign.se/tmp/xorg.conf
(for a acer tm 662)

don't forget to read
http://outlands.ca/linux/t8000.html
http://ruby2shoes.sourceforge.net/xbox/laptops/linuxOnTecra8000.html
http://www.geocities.com/goodjewishboy/tecra8000linux.html

I found things like..
X resolution
After installation, X resolution is stuck at 640x480. I have not found
the cause, but I have been suggested a workaround that fix the
problem. Add the following line to the Monitor section of
/etc/X11/xorg.conf :
   HorizSync   36-52
   VertRefresh 36-60


/bkw
On 08/06/06, Joshua Sandbrook [EMAIL PROTECTED] wrote:

Gidday...

Anyone out there running 3.9 on a Toshiba Tecra 8000 ? Im trying to get it to
run at 1024x768 but its being grumpy.

Dmesg for good measure:



OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II (GenuineIntel 686-class, 512KB L2 cache) 233 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 167288832 (163368K)
avail mem = 145674240 (142260K)
using 2067 buffers containing 8466432 bytes (8268K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(63) BIOS, date 12/30/99
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 26%
apm0: AC on, battery charge low, charging, estimated 0:37 hours
apm0: flags 20102 dobusy 0 doidle 1
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xc000 0xe8000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX rev 0x02
vga1 at pci0 dev 4 function 0 Neomagic Magicgraph NM2200 rev 0x12
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 5 function 0 Intel 82371AB PIIX4 ISA rev 0x02
pciide0 at pci0 dev 5 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: FUJITSU MHT2030AT
wd0: 16-sector PIO, LBA, 28615MB, 58605120 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: TEAC, CD-224E, 7.5A SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 5 function 2 Intel 82371AB USB rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
piixpm0 at pci0 dev 5 function 3 Intel 82371AB Power rev 0x02: SMI
iic0 at piixpm0
admtemp0 at iic0 addr 0x4e: adm1021
Toshiba Fast Infrared Type O rev 0x23 at pci0 dev 9 function 0 not
configured
cbb0 at pci0 dev 11 function 0 Toshiba ToPIC97 CardBus rev 0x05pci_intr_map:
no mapping for pin A
: couldn't map interrupt
cbb1 at pci0 dev 11 function 1 Toshiba ToPIC97 CardBus rev 0x05pci_intr_map:
no mapping for pin B
: couldn't map interrupt
isa0 at pcib0
isadma0 at isa0
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 26%
apm0: AC on, battery charge low, charging, estimated 0:37 hours
apm0: flags 20102 dobusy 0 doidle 1
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xc000 0xe8000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX rev 0x02
vga1 at pci0 dev 4 function 0 Neomagic Magicgraph NM2200 rev 0x12
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 5 function 0 Intel 82371AB PIIX4 ISA rev 0x02
pciide0 at pci0 dev 5 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: FUJITSU MHT2030AT
wd0: 16-sector PIO, LBA, 28615MB, 58605120 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: TEAC, CD-224E, 7.5A SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 5 function 2 Intel 82371AB USB rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
piixpm0 at pci0 dev 5 function 3 Intel 82371AB Power rev 0x02: SMI
iic0 at piixpm0
admtemp0 at iic0 addr 0x4e: adm1021
Toshiba Fast Infrared Type O rev 0x23 at pci0 dev 9 function 0 not
configured
cbb0 at pci0 dev 11 function 0 Toshiba ToPIC97 CardBus rev 0x05pci_intr_map:
no mapping for pin A
: couldn't map interrupt
cbb1 at pci0 dev 11 function 1 Toshiba ToPIC97 

Re: Problem logging in.

2006-06-08 Thread Bachman Kharazmi

A week ago my open bsd firewall started to show a very strange behaviour.
I have the ssh-daemon running and ususally log-in remotely to be able to
administrate the pf.conf file. But now I cant log in. Ok, maybe I've just
forgott my password. I booted in single user mode and changed it, then
booted normally but couldn't log in anyway. I booted in single user mode
again changed it to another password, changed to another user (using su)
and then changed user to root again (again using su). Was prompted for the
password, entered it and login was again rejected. When i tried to change
the password it complained that something was wrong with a file called
/etc/master.passwd. When looking at the file it contained parts of my
pf.conf file.

If your master.passwd contains parts of your pf.conf things sound really weird.

Remember, if you ever touch master.passwd ALWAYS use vipw to keep dbs synced.

I would try to create a new user foo, check if it works to login as
foo from the localhost using kb. then try with ssh as the new user and
see how that works.

I'm unsure about exactlly what your problem is, your description of
changing passwds really confuse me.

Do not forget to set a existing shell for the user foo.

GL
/bkw



Re: X windows problem

2006-06-03 Thread Bachman Kharazmi

first I don't consider your problem as an obsd related, anyway. below
you might find a solution.

o make sure your monitor support powersave mode.
o in case you've any crap like xscreensaver, uninstall it or it will
never allow you to set DPMS settings from xorg.conf.
o read
http://ftp.x.org/pub/X11R6.9.0/doc/html/xorg.conf.5.html#sect4
(BlankTime,StandbyTime,SuspendTime,OffTime)
http://ftp.x.org/pub/X11R6.9.0/doc/html/xorg.conf.5.html#sect9
read about the options there.

also pay attention to every sectionname above. make sure your config
is proper. If you still don't know if there are any errors, read the
log.

if you still don't understand the config layout, cp from my config
http://bkw.lindesign.se/tmp/xorg.conf
/bkw

On 03/06/06, akonsu [EMAIL PROTECTED] wrote:

Hello,

I hope this is an appropriate list to post this question to.

the problem is that xset dpms force off does not do anything visible. my
laptop's screen does not switch off. does not even go blank.

the output of xset -q is below. dmesg, /var/log/Xorg.0.log and
/etc/X11/xorg.conf are attached.

please help!

thanks!
konstantin


Keyboard Control:
  auto repeat:  onkey click percent:  0LED mask:  
  auto repeat delay:  500repeat rate:  30
  auto repeating keys:  00ffdbbf
fadfffdfffdfe5ef


  bell percent:  50bell pitch:  400bell duration:  100
Pointer Control:
  acceleration:  2/1threshold:  4
Screen Saver:
  prefer blanking:  yesallow exposures:  yes
  timeout:  600cycle:  600
Colors:
  default colormap:  0x20BlackPixel:  0WhitePixel:  65535
Font Path:

/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is On
File paths:
  Config file:  /etc/X11/xorg.conf
  Modules path: /usr/X11R6/lib/modules
  Log file: /var/log/Xorg.0.log
OpenBSD 3.9 (GENERIC.MP) #598: Thu Mar  2 02:37:06 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2300 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2
real mem  = 1063428096 (1038504K)
avail mem = 963563520 (940980K)
using 4278 buffers containing 53272576 bytes (52024K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(54) BIOS, date 03/16/06, BIOS32 rev. 0 @ 0xfd4a0
pcibios0 at bios0: rev 2.1 @ 0xfd4a0/0xb60
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd70/224 (12 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc/0xe600! 0xce800/0x1800 0xdf000/0x1000! 0xe/0x1800!
mainbus0: Intel MP Specification (Version 1.4) (INTELNapa ERB)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Enhanced SpeedStep 1000 MHz (1404 mV): unknown EST cpu, no changes 
possible
cpu0: apic clock running at 166 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2300 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2
mainbus0: bus 0 is type PCI
mainbus0: bus 3 is type PCI
mainbus0: bus 10 is type PCI
mainbus0: bus 11 is type ISA
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x27a0 rev 0x03
vga1 at pci0 dev 2 function 0 vendor Intel, unknown product 0x27a2 rev 0x03: 
aperture at 0xb008, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
vendor Intel, unknown product 0x27a6 (class display subclass miscellaneous, 
rev 0x03) at pci0 dev 2 function 1 not configured
Intel 82801GB HD Audio rev 0x02 at pci0 dev 27 function 0 not configured
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02
pci2 at ppb1 bus 2
Intel PRO/Wireless 3945ABG rev 0x02 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 23 
(irq 7)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 19 
(irq 11)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 

Re: CARP

2006-06-01 Thread Bachman Kharazmi

After the change in pf.conf you suggested,
nat on hme0 from rl0:network to any - carp0
I must do ifconfig down on both carp0 and carp1 at MASTERhost to make
BACKUPhost taking control.
If I only do ifconfig carp1 down on the master the CARP1 iface on
BACKUPhost will become MASTER but the CARP0 will still be BACKUP. And
no traffic gets through.

When I have:
nat on hme0 from rl0:network to any - hme0
I can do ifconfig carp1 down on MASTERhost and the BACKUP will take control.

And I still have the problem that my IRC,aim-client and
radiostreaming disconnects with both tries.

I forgot to mention that the MASTERhost is on
OpenBSD sunshine-2 3.9 GENERIC#759 sparc64
and BACKUPhost
OpenBSD sunbird 3.8 GENERIC#607 sparc64

The problem with disconnections from various services (IRC,aim and
radio) still exist :/

/bkw


On 01/06/06, Dag Richards [EMAIL PROTECTED] wrote:

Bachman Kharazmi wrote:
 I finally got CARP _working_ :)

 I've a problem when I do ifconfig carp1 down on the MASTER host to
 test if BACKUP takes over the traffic..

 It does work so far. But the problem is that if I'm streaming Internet
 radio or are connected to IRC the radio will get stalled when I do
 ifconfig carp1 down on MASTER, and the IRC disconnects and then
 tries to reconnect which of course works.

 I think something is wrong, since it shouldn't affect the traffic flow
 at all when MASTER interrupt.

 I have three interfaces in each host. and my setup looks like
 (here is a diff link http://pastebin.com/pastebin.php?diff=749904)

 MASTER HOST:
 # ifconfig
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33192
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
 hme0:
 flags=8b63UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST

 mtu 1500
lladdr 08:00:20:9e:7c:60
groups: egress
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::a00:20ff:fe9e:7c60%hme0 prefixlen 64 scopeid 0x1
inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255
 rl0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
lladdr 00:08:a1:8e:64:70
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.10.100 netmask 0xff00 broadcast 192.168.10.255
inet6 fe80::208:a1ff:fe8e:6470%rl0 prefixlen 64 scopeid 0x2
 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:50:8b:0e:30:02
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.254.254 netmask 0xff00 broadcast 192.168.254.255
inet6 fe80::250:8bff:fe0e:3002%fxp0 prefixlen 64 scopeid 0x3
 pflog0: flags=141UP,RUNNING,PROMISC mtu 33192
 pfsync0: flags=41UP,RUNNING mtu 1460
pfsync: syncdev: fxp0 maxupd: 128
 enc0: flags=0 mtu 1536
 carp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
carp: MASTER carpdev hme0 vhid 1 advbase 1 advskew 0
groups: carp
inet 192.168.1.100 netmask 0xff00 broadcast 192.168.1.255
 carp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
carp: MASTER carpdev rl0 vhid 2 advbase 1 advskew 0
groups: carp
inet 192.168.10.50 netmask 0xff00 broadcast 192.168.10.255
 # cat /etc/hostname.*
 inet 192.168.1.100 255.255.255.0 192.168.1.255 vhid 1 pass foo
 inet 192.168.10.50 255.255.255.0 192.168.10.255 vhid 2 pass bar
 inet 192.168.254.254 255.255.255.0 NONE
 dhcp NONE NONE NONE
 up syncif fxp0
 inet 192.168.10.100 255.255.255.0 NONE

 BACKUP HOST:
 # ifconfig
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33192
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
 hme0:
 flags=8b63UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST

 mtu 1500
lladdr 08:00:20:9c:5d:3a
groups: egress
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::a00:20ff:fe9c:5d3a%hme0 prefixlen 64 scopeid 0x1
inet 192.168.1.7 netmask 0xff00 broadcast 192.168.1.255
 rl0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
lladdr 00:c0:26:6d:ff:6c
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.10.200 netmask 0xff00 broadcast 192.168.10.255
inet6 fe80::2c0:26ff:fe6d:ff6c%rl0 prefixlen 64 scopeid 0x2
 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:50:8b:0e:7d:7d
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.254.253 netmask 0xff00 broadcast 192.168.254.255
inet6 fe80::250:8bff:fe0e:7d7d%fxp0 prefixlen 64 scopeid 0x3
 pflog0: flags=141UP,RUNNING,PROMISC mtu 33192
 pfsync0: flags=41UP,RUNNING mtu 1348
pfsync: syncdev: fxp0

Re: CARP | panic when I did tcpdump on MASTERhost

2006-06-01 Thread Bachman Kharazmi
 3023f0-3023f7, 706000-70600f, 72-720003
ipl 39 not configured
clock1 at ebus0 addr 0-1fff: mk48t59: hostid 809e7c60
flashprom at ebus0 addr 0-f not configured
audioce0 at ebus0 addr 20-2000ff, 702000-70200f, 704000-70400f,
722000-722003 ipl 35 ipl 36: nvaddrs 0
audio0 at audioce0
hme0 at pci1 dev 1 function 1 Sun HME rev 0x01: ivec 3021, address
08:00:20:9e:7c:60
nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
vgafb0 at pci1 dev 2 function 0 ATI Mach64 GT rev 0x9a
wsdisplay0 at vgafb0
wsdisplay0: screen 0 added (std, sun emulation)
pciide0 at pci1 dev 3 function 0 CMD Technology PCI0646 rev 0x03:
DMA, channel 0 configured to native-PCI, channel 1 configured to
native-PCI
pciide0: using ivec 1820 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: ST34342A
wd0: 16-sector PIO, LBA, 4103MB, 8404830 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: GoldStar, CD-ROM CRD-8240B, 1.24 SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
ppb1 at pci0 dev 1 function 0 Sun Simba PCI-PCI rev 0x11
pci2 at ppb1 bus 2
rl0 at pci2 dev 2 function 0 Realtek 8139 rev 0x10: ivec 14, address
00:08:a1:8e:64:70
rlphy0 at rl0 phy 0: RTL internal PHY
fxp0 at pci2 dev 4 function 0 Intel 8255x rev 0x05, i82558: ivec 1c,
address 00:50:8b:0e:30:02
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
creator0 at mainbus0: Creator3D, model SUNW,501-4788, dac 10
wsdisplay1 at creator0
wsdisplay1: screen 0 added (std, sun emulation)
pcons at mainbus0 not configured
No counter-timer -- using %tick at 299MHz as system clock.
root on wd0a
rootdev=0xc00 rrootdev=0x1a00 rawdev=0x1a02
WARNING: / was not properly unmounted


On 01/06/06, Bachman Kharazmi [EMAIL PROTECTED] wrote:

After the change in pf.conf you suggested,
nat on hme0 from rl0:network to any - carp0
I must do ifconfig down on both carp0 and carp1 at MASTERhost to make
BACKUPhost taking control.
If I only do ifconfig carp1 down on the master the CARP1 iface on
BACKUPhost will become MASTER but the CARP0 will still be BACKUP. And
no traffic gets through.

When I have:
nat on hme0 from rl0:network to any - hme0
I can do ifconfig carp1 down on MASTERhost and the BACKUP will take control.

And I still have the problem that my IRC,aim-client and
radiostreaming disconnects with both tries.

I forgot to mention that the MASTERhost is on
OpenBSD sunshine-2 3.9 GENERIC#759 sparc64
and BACKUPhost
OpenBSD sunbird 3.8 GENERIC#607 sparc64

The problem with disconnections from various services (IRC,aim and
radio) still exist :/

/bkw


On 01/06/06, Dag Richards [EMAIL PROTECTED] wrote:
 Bachman Kharazmi wrote:
  I finally got CARP _working_ :)
 
  I've a problem when I do ifconfig carp1 down on the MASTER host to
  test if BACKUP takes over the traffic..
 
  It does work so far. But the problem is that if I'm streaming Internet
  radio or are connected to IRC the radio will get stalled when I do
  ifconfig carp1 down on MASTER, and the IRC disconnects and then
  tries to reconnect which of course works.
 
  I think something is wrong, since it shouldn't affect the traffic flow
  at all when MASTER interrupt.
 
  I have three interfaces in each host. and my setup looks like
  (here is a diff link http://pastebin.com/pastebin.php?diff=749904)
 
  MASTER HOST:
  # ifconfig
  lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33192
 groups: lo
 inet 127.0.0.1 netmask 0xff00
 inet6 ::1 prefixlen 128
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
  hme0:
  
flags=8b63UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST
 
  mtu 1500
 lladdr 08:00:20:9e:7c:60
 groups: egress
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 inet6 fe80::a00:20ff:fe9e:7c60%hme0 prefixlen 64 scopeid 0x1
 inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255
  rl0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
 lladdr 00:08:a1:8e:64:70
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 inet 192.168.10.100 netmask 0xff00 broadcast 192.168.10.255
 inet6 fe80::208:a1ff:fe8e:6470%rl0 prefixlen 64 scopeid 0x2
  fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 lladdr 00:50:8b:0e:30:02
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 inet 192.168.254.254 netmask 0xff00 broadcast 192.168.254.255
 inet6 fe80::250:8bff:fe0e:3002%fxp0 prefixlen 64 scopeid 0x3
  pflog0: flags=141UP,RUNNING,PROMISC mtu 33192
  pfsync0: flags=41UP,RUNNING mtu 1460
 pfsync: syncdev: fxp0 maxupd: 128
  enc0: flags=0 mtu 1536
  carp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 carp: MASTER carpdev hme0 vhid 1 advbase 1 advskew 0
 groups: carp
 inet 192.168.1.100 netmask 0xff00 broadcast

Re: CARP

2006-06-01 Thread Bachman Kharazmi

the problem is solved with disconnection! :)

I'm sorry that I missed
pfsync(4) has changed format, so it can not keep state between a 3.8
and a 3.9 box. Mismatched systems will lose all connections when you
switch which box is master, as states will not be transfered between
systems. You can minimize the impact of this by upgrading your backup
boxes first, so there is only one loss of active states.

directly from http://www.openbsd.org/faq/upgrade39.html

thanks for all replies!
/bkw

On 31/05/06, Bachman Kharazmi [EMAIL PROTECTED] wrote:

I finally got CARP _working_ :)

I've a problem when I do ifconfig carp1 down on the MASTER host to
test if BACKUP takes over the traffic..

It does work so far. But the problem is that if I'm streaming Internet
radio or are connected to IRC the radio will get stalled when I do
ifconfig carp1 down on MASTER, and the IRC disconnects and then
tries to reconnect which of course works.

I think something is wrong, since it shouldn't affect the traffic flow
at all when MASTER interrupt.

I have three interfaces in each host. and my setup looks like
(here is a diff link http://pastebin.com/pastebin.php?diff=749904)

MASTER HOST:
# ifconfig
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33192
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
hme0: 
flags=8b63UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST
mtu 1500
lladdr 08:00:20:9e:7c:60
groups: egress
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::a00:20ff:fe9e:7c60%hme0 prefixlen 64 scopeid 0x1
inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255
rl0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
lladdr 00:08:a1:8e:64:70
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.10.100 netmask 0xff00 broadcast 192.168.10.255
inet6 fe80::208:a1ff:fe8e:6470%rl0 prefixlen 64 scopeid 0x2
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:50:8b:0e:30:02
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.254.254 netmask 0xff00 broadcast 192.168.254.255
inet6 fe80::250:8bff:fe0e:3002%fxp0 prefixlen 64 scopeid 0x3
pflog0: flags=141UP,RUNNING,PROMISC mtu 33192
pfsync0: flags=41UP,RUNNING mtu 1460
pfsync: syncdev: fxp0 maxupd: 128
enc0: flags=0 mtu 1536
carp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
carp: MASTER carpdev hme0 vhid 1 advbase 1 advskew 0
groups: carp
inet 192.168.1.100 netmask 0xff00 broadcast 192.168.1.255
carp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
carp: MASTER carpdev rl0 vhid 2 advbase 1 advskew 0
groups: carp
inet 192.168.10.50 netmask 0xff00 broadcast 192.168.10.255
# cat /etc/hostname.*
inet 192.168.1.100 255.255.255.0 192.168.1.255 vhid 1 pass foo
inet 192.168.10.50 255.255.255.0 192.168.10.255 vhid 2 pass bar
inet 192.168.254.254 255.255.255.0 NONE
dhcp NONE NONE NONE
up syncif fxp0
inet 192.168.10.100 255.255.255.0 NONE

BACKUP HOST:
# ifconfig
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33192
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
hme0: 
flags=8b63UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST
mtu 1500
lladdr 08:00:20:9c:5d:3a
groups: egress
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::a00:20ff:fe9c:5d3a%hme0 prefixlen 64 scopeid 0x1
inet 192.168.1.7 netmask 0xff00 broadcast 192.168.1.255
rl0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
lladdr 00:c0:26:6d:ff:6c
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.10.200 netmask 0xff00 broadcast 192.168.10.255
inet6 fe80::2c0:26ff:fe6d:ff6c%rl0 prefixlen 64 scopeid 0x2
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:50:8b:0e:7d:7d
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.254.253 netmask 0xff00 broadcast 192.168.254.255
inet6 fe80::250:8bff:fe0e:7d7d%fxp0 prefixlen 64 scopeid 0x3
pflog0: flags=141UP,RUNNING,PROMISC mtu 33192
pfsync0: flags=41UP,RUNNING mtu 1348
pfsync: syncdev: fxp0 maxupd: 128
enc0: flags=0 mtu 1536
carp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
carp: BACKUP carpdev hme0 vhid 1 advbase 1 advskew 50
groups: carp
inet 192.168.1.100 netmask 0xff00 broadcast 192.168.1.255
carp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
carp: BACKUP carpdev rl0 vhid 2 advbase 1 advskew 50
groups

CARP

2006-05-31 Thread Bachman Kharazmi

I finally got CARP _working_ :)

I've a problem when I do ifconfig carp1 down on the MASTER host to
test if BACKUP takes over the traffic..

It does work so far. But the problem is that if I'm streaming Internet
radio or are connected to IRC the radio will get stalled when I do
ifconfig carp1 down on MASTER, and the IRC disconnects and then
tries to reconnect which of course works.

I think something is wrong, since it shouldn't affect the traffic flow
at all when MASTER interrupt.

I have three interfaces in each host. and my setup looks like
(here is a diff link http://pastebin.com/pastebin.php?diff=749904)

MASTER HOST:
# ifconfig
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33192
   groups: lo
   inet 127.0.0.1 netmask 0xff00
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
hme0: 
flags=8b63UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST
mtu 1500
   lladdr 08:00:20:9e:7c:60
   groups: egress
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet6 fe80::a00:20ff:fe9e:7c60%hme0 prefixlen 64 scopeid 0x1
   inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255
rl0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:08:a1:8e:64:70
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet 192.168.10.100 netmask 0xff00 broadcast 192.168.10.255
   inet6 fe80::208:a1ff:fe8e:6470%rl0 prefixlen 64 scopeid 0x2
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:50:8b:0e:30:02
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet 192.168.254.254 netmask 0xff00 broadcast 192.168.254.255
   inet6 fe80::250:8bff:fe0e:3002%fxp0 prefixlen 64 scopeid 0x3
pflog0: flags=141UP,RUNNING,PROMISC mtu 33192
pfsync0: flags=41UP,RUNNING mtu 1460
   pfsync: syncdev: fxp0 maxupd: 128
enc0: flags=0 mtu 1536
carp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   carp: MASTER carpdev hme0 vhid 1 advbase 1 advskew 0
   groups: carp
   inet 192.168.1.100 netmask 0xff00 broadcast 192.168.1.255
carp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   carp: MASTER carpdev rl0 vhid 2 advbase 1 advskew 0
   groups: carp
   inet 192.168.10.50 netmask 0xff00 broadcast 192.168.10.255
# cat /etc/hostname.*
inet 192.168.1.100 255.255.255.0 192.168.1.255 vhid 1 pass foo
inet 192.168.10.50 255.255.255.0 192.168.10.255 vhid 2 pass bar
inet 192.168.254.254 255.255.255.0 NONE
dhcp NONE NONE NONE
up syncif fxp0
inet 192.168.10.100 255.255.255.0 NONE

BACKUP HOST:
# ifconfig
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33192
   groups: lo
   inet 127.0.0.1 netmask 0xff00
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
hme0: 
flags=8b63UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST
mtu 1500
   lladdr 08:00:20:9c:5d:3a
   groups: egress
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet6 fe80::a00:20ff:fe9c:5d3a%hme0 prefixlen 64 scopeid 0x1
   inet 192.168.1.7 netmask 0xff00 broadcast 192.168.1.255
rl0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:c0:26:6d:ff:6c
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet 192.168.10.200 netmask 0xff00 broadcast 192.168.10.255
   inet6 fe80::2c0:26ff:fe6d:ff6c%rl0 prefixlen 64 scopeid 0x2
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:50:8b:0e:7d:7d
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet 192.168.254.253 netmask 0xff00 broadcast 192.168.254.255
   inet6 fe80::250:8bff:fe0e:7d7d%fxp0 prefixlen 64 scopeid 0x3
pflog0: flags=141UP,RUNNING,PROMISC mtu 33192
pfsync0: flags=41UP,RUNNING mtu 1348
   pfsync: syncdev: fxp0 maxupd: 128
enc0: flags=0 mtu 1536
carp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   carp: BACKUP carpdev hme0 vhid 1 advbase 1 advskew 50
   groups: carp
   inet 192.168.1.100 netmask 0xff00 broadcast 192.168.1.255
carp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   carp: BACKUP carpdev rl0 vhid 2 advbase 1 advskew 50
   groups: carp
   inet 192.168.10.50 netmask 0xff00 broadcast 192.168.10.255
# cat /etc/hostname.*
inet 192.168.1.100 255.255.255.0 192.168.1.255 vhid 1 advskew 50 pass foo
inet 192.168.10.50 255.255.255.0 192.168.10.255 vhid 2 advskew 50 pass bar
inet 192.168.254.253 255.255.255.0 NONE
dhcp NONE NONE NONE
up syncif fxp0
inet 192.168.10.200 255.255.255.0 NONE

And pf.conf at both hosts are identical:
# cat /etc/pf.conf
set loginterface fxp0
nat on hme0 from rl0:network to any - hme0
pass in  on hme0  all
pass out on hme0  all
pass quick on { fxp0 } proto pfsync keep state
pass on { hme0 rl0 } 

Re: data DVD mounting on OpenBSD 3.8

2006-05-25 Thread Bachman Kharazmi

I've not used dvd's with obsd myself, but I assume you've read
http://www.openbsd.org/faq/faq13.html#playDVD
AND the link about how to mount DVDs.
http://www.openbsd.org/cgi-bin/man.cgi?query=mount_cd9660sektion=8

If the mount doesn't work, reply with error and the commands you ran.
/bkw

On 25/05/06, Martin Vahi [EMAIL PROTECTED] wrote:

Hi

Could somebody please explain, how to mount a data DVD
on OpenBSD, version 3.8?

I have looked for this information at least 2 full
days(probably more), but weren't able to find anything that helps.

However, I have been able to write a data DVD
with the very same machine that I want to mount
it to, by using the very same
DVD-drive that I want to mount it with, and
the resultant DVD mounts perfectly on Windows.

I use the default kernel that came with the
OpenBSD 3.8 distribution.




Re: Help needed with 3.9 bandwidth/speed problem

2006-05-25 Thread Bachman Kharazmi

I had this problem a while ago...
http://marc.theaimsgroup.com/?l=openbsd-miscm=114021971311499w=2
/bkw
On 24/05/06, Nick Holland [EMAIL PROTECTED] wrote:

Adam wrote:
 Hello,

 I have an odd problem with my 3.9 server. I can not seem to push more
 than 2.5 - 3.0 mbps per connection over the Internet to hosts. I've
 tested this with scp, apache/httpd, and lighttpd. I've also tried this
 with PF on and off, resulting in no difference at all. I have tried
 filtering packets in PF and redirecting to another host. That works fine
 and I've been able to pull 8.3 mbps over the Internet without a problem.

 Also, just for reference, the server is on a 100M line in a datacenter
 so I'm not running out of  bandwidth. When I did my tests, things were
 completely idle and I was the only client creating traffic at the time.

 I'm quit stumped with this. There doesn't appear to be any errors, but
 there is definitely some sort of glass ceiling that I'm running in to.

Try this:
http://www.openbsd.org/faq/faq6.html#Tuning
'specially 6.6.4...

As you indicated, it doesn't seem to improve performance when FILTERING
packets going between two other machines, only when OpenBSD machines are
the endpoints.  The difference can be dramatic over a WAN.  Or completely
non-existent for most people.




Re: screen off

2006-05-25 Thread Bachman Kharazmi

On 25/05/06, J. Rodrigo Anabalsn [EMAIL PROTECTED] wrote:

Hi all.

Hi have a problem. I Installing OpenBSD 3.9 in me PC and in the X mode
(# startx) after one minute no used (aproximatly), the screen to off.

You don't run X as root, do you?

Anyway, it might be a DPMS issue with your monitor. Check if $xset q
shows that DPMS is enabled.

disable it, xset -dpms

and see if it still turns off.
In case it does, X might crash for some reason. Please read the Xorg log then.
/bkw



SGI O2 R12000 - environment settings

2006-05-19 Thread Bachman Kharazmi

People have been asking me about env settings to boot a R12k.

Here comes everything you need, and now it will be found in the
archives by anyone.

--
/Bachman


---

Logs which worked with my R12k are shared without any guarantees.
/bkw
bahkha AT gmail DOT com

### TO BOOT INSTALL CDROM ###

printenv

AutoLoad=Yes
diskless=0
dbaud=9600
volume=80
sgilogo=y
monitor=h
TimeZone=PST8PDT
netaddr=192.0.2.1
crt_option=1
SystemPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(8)
OSLoadPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(0)
OSLoader=boot
OSLoadOptions=auto
console=d
ConsoleOut=serial(0)
ConsoleIn=serial(0)
cpufreq=270
eaddr=08:00:69:0e:9b:ab
videostatus=illegal_env_var
OSLoadFilename=/bsd.rd




### WHEN INSTALLATION FINNISHED SUCCESSFULLY, MAKE SURE THE
ENVIRONMENT SETTINGS ARE AS BELOW ###


Cannot connect to keyboard -- check the cable.
Cannot open keyboard() for input
Cannot connect to keyboard -- check the cable.
Cannot open keyboard() for input
Running power-on diagnostics...


System Maintenance Menu

1) Start System
2) Install System Software
3) Run Diagnostics
4) Recover System
5) Enter Command Monitor

Option? 1

  Starting up the system...

arg 0: pci(0)scsi(0)disk(2)rdisk(0)partition(8)/boot
arg 1: OSLoadOptions=auto
arg 2: ConsoleIn=serial(0)
arg 3: ConsoleOut=serial(0)
arg 4: SystemPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(8)
arg 5: OSLoader=boot
arg 6: OSLoadPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(0)
arg 7: OSLoadFilename=/bsd

OpenBSD/sgi Arcbios boot
Boot: pci(0)scsi(0)disk(2)rdisk(0)partition(0)/bsd
|/-\|Loading ELF64 file
0x8010:0x310c40,
/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-Zero
0x80410c40:0x5bb80, Loading symbol tab
le
\|/-\|/-\|/-\|/-\|Start at 0x8010
ARCS32 Firmware Version 1.10
SR=34050080
Found SGI-IP32, setting up.
Initial setup done, switching console.
NOTE: TLB code too large, using trampolines
[ using 267936 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2005 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 3.8 (GENERIC) #164: Sat Sep 10 17:10:35 MDT 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/sgi/compile/GENERIC
real mem = 268435456
rsvd mem = 7020544
avail mem = 228618240
using 3276 buffers containing 13418496 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: MIPS R12000 CPU rev 2.3 270 MHz with R1 FPU rev 0.0
cpu0: cache L1-I 32KB D 32KB 2 way, L2 1024KB 2 way
macebus0 at mainbus0: crime rev 10.1
clock0 at macebus0: TOD with DS1687, ticker on int5 using count register
macepcibr0 at macebus0: mace rev 1, host system O2
pci0 at macepcibr0 bus 0
ahc0 at pci0 dev 1 function 0 Adaptec AIC-7880 rev 0x00: irq 9
ahc0: Host Adapter Bios disabled.  Using default SCSI device parameters
scsibus0 at ahc0: 16 targets
sd0 at scsibus0 targ 2 lun 0: SGI, IBM DNES-309170Y, SA30 SCSI3 0/direct fixed
sd0: 8682MB, 11474 cyl, 5 head, 309 sec, 512 bytes/sec, 17781520 sec total
cd0 at scsibus0 targ 4 lun 0: TOSHIBA, CD-ROM XM-6201TA, 1037 SCSI2 5/cdrom re

movable
ahc1 at pci0 dev 2 function 0 Adaptec AIC-7880 rev 0x00: irq 10
ahc1: Host Adapter Bios disabled.  Using default SCSI device parameters
scsibus1 at ahc1: 16 targets
com0 at macebus0: ns16550a, 16 byte fifo
com0: console
com1 at macebus0: ns16550a, 16 byte fifo
mec0 at macebus0: MAC-110 rev 1, address 08:00:69:0e:9b:ab
nsphy0 at mec0 phy 8: DP83840 10/100 PHY, rev. 1
mavb0 at macebus0: AD1843 rev 1
audio0 at mavb0
boot device: sd0.
root on sd0a
ahc0: target 2 using 16bit transfers
ahc0: target 2 synchronous at 10.0MHz, offset = 0x8
rootdev=0x0 rrootdev=0x900 rawdev=0x902
Automatic boot in progress: starting file system checks.
/dev/rsd0a: file system is clean; not checking
/dev/rsd0h: file system is clean; not checking
/dev/rsd0d: file system is clean; not checking
/dev/rsd0g: file system is clean; not checking
/dev/rsd0e: file system is clean; not checking
setting tty flags
starting network
DHCPREQUEST on mec0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.6 -- renewal in 21600 seconds.
starting system logger
starting rpc daemons:.
savecore: no core dump
checking quotas: done.
building ps databases: kvm dev.
clearing /tmp
starting pre-securelevel daemons:.
setting kernel security level: kern.securelevel: 0 - 1
creating runtime link editor directory cache.
preserving editor files
starting network daemons: sendmail inetd sshd.
starting local daemons:.

Re: PF references

2006-05-13 Thread Bachman Kharazmi

you used the excellent tools as google and
http://marc.theaimsgroup.com I guess...

I made some searching for you, here you go
http://marc.theaimsgroup.com/?l=openbsd-miscm=114345514930017w=2
http://www.countersiege.com/doc/pfsync-carp/
http://www.unix-tutorials.com/go.php?id=280

/bkw

On 12/05/06, News Collector [EMAIL PROTECTED] wrote:

Hello:

Where (what) is the canonical site (or book) for PF.

Are there any site where talk about PF is a application (like for OS X).


One Last, has anyone done any work on using CARP, I know
synchronizations depends
on similar cpus with similar clocks and constrained  clock drift. Just
wonder.




Re: Can't install vim from ports

2006-05-09 Thread Bachman Kharazmi

It's recommended to use packages as long as you don't need any extra
options from what I can recall from FAQ.

man pkg_add

then sudo pkg_add
ftp://ftp.su.se/pub/OpenBSD/3.9/packages/i386/vim-6.4.6p1-no_x11.tgz;
note, it's 3.9 package and for i386 arch.

if you want gvim use the package without -no-X11.

/bkw

On 09/05/06, Jerome Santos [EMAIL PROTECTED] wrote:

Hello I have tried to install vim from /usr/ports/editors/vim by doing:

sudo make install

and it ends up saying something like

  6.3.069 doesn't seem to exist on this system.
  Attempting to fetch /usr/ports/distfiles/vim6/6.3.069 from
ftp://ftp.vim.org/pub/vim/patches/6.3/.
Trying 2001:610:1:80aa:192:87:102:36...
ftp: connect to address 2001:610:1:80aa:192:87:102:36: No route to host
Trying 192.87.102.36...
100%
||
1710   00:00
  Size matches for /usr/ports/distfiles/vim6/6.3.069
  6.3.070 doesn't seem to exist on this system.
  Attempting to fetch /usr/ports/distfiles/vim6/6.3.070 from
ftp://ftp.vim.org/pub/vim/patches/6.3/.
Trying 2001:610:1:80aa:192:87:102:36...
ftp: connect to address 2001:610:1:80aa:192:87:102:36: No route to host

Any help is much appreciated!!!

Thanks,

Jerome




amilo 3438G and installing 3.9

2006-05-03 Thread Bachman Kharazmi

Hi

I've problem to install 3.9 on my FS Amilo M3438G with a VIA VT6421
SATA and Intel 82801FB controller.

When the installation starts it says, no disk could be found.

In my bios I can only change minimized setting, I can't even see the
harddrive listed there, but I can see the cdrom.

I opened the lappy and found out that the disk is a Samsung SATA.

Another strange thing is that after a while in installation, the
system freeze and I've to reboot.

Google told me there are some problems with this laptop and playing
games in Windows, but that's not my case.

I have been able to boot various linux livecds on this laptop without problems.

Now I don't know if any support is missing in openbsd or I should add
anything while booting openbsd bootloader.

I did anyhow write a dmesg from shell which can be found bellow.

Any suggestions are welcome.

/bkw

OpenBSD 3.9 (RAMDISK_CD) #1025: Thu Mar  2 02:43:29 MST 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel(R) Pentium(R) M processor 1.73GHz (GenuineIntel
686-class) 1.74 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
real mem  = 1073127424 (1047976K)
avail mem = 973643776 (950824K)
using 4278 buffers containing 5376 bytes (52500K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/29/05, BIOS32 rev. 0 @ 0xf0010
apm0 at bios0: Power Management spec V1.2
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf4590/288 (16 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801FBM LPC rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xec00! 0xcf000/0x5000! 0xd4000/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82915GM/PM/GMS Host rev 0x04
ppb0 at pci0 dev 1 function 0 Intel 82915PM/GM PCIE rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce Go 6800 rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
Intel 82801FB HD Audio rev 0x04 at pci0 dev 27 function 0 not configured
ppb1 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x04
pci2 at ppb1 bus 2
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x04: irq 3
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x04: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x04: irq 10
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x04: irq 11
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb2 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd4
pci3 at ppb2 bus 3
Intel PRO/Wireless 2200BG rev 0x05 at pci3 dev 3 function 0 not configured
Texas Instruments TSB43AB22 FireWire rev 0x00 at pci3 dev 4 function
0 not configured
re0 at pci3 dev 5 function 0 Realtek 8169 rev 0x10: irq 3, address
00:03:0d:35:1e:6f
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
pciide0 at pci3 dev 7 function 0 VIA VT6421 SATA rev 0x50: DMA
pciide0: using irq 10 for native-PCI interrupt
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x04: PM disabled
pciide1 at pci0 dev 31 function 1 Intel 82801FB IDE rev 0x04: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: _NEC, DVD+-RW ND-6650A, 1.42 SCSI0
5/cdrom removable
cd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide1: channel 1 disabled (no drives)
Intel 82801FB SMBus rev 0x04 at pci0 dev 31 function 3 not configured
isa0 at ichpcib0
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
npx0 at isa0 port 0xf0/16: using exception 16
biomask fffd netmask fffd ttymask 
rd0: fixed, 3800 blocks
uhidev0 at uhub2 port 2 configuration 1 interface 0
uhidev0: Logitech USB-PS/2 Optical Mouse, rev 2.00/20.00, addr 2, iclass 3/1
uhid at uhidev0 not configured
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02



Re: nfs mount

2006-04-30 Thread Bachman Kharazmi

solved

/bkw

On 29/04/06, Bachman Kharazmi [EMAIL PROTECTED] wrote:

I try to mount a nfs share over internet between two openbsd servers.

As faq describes rpcinfo -p on server should show that mountd listen
at udp: 633 and tcp: 916
But I get,
[EMAIL PROTECTED]:~/  rpcinfo -p
   program vers proto   port
102   tcp111  portmapper
102   udp111  portmapper
151   udp685  mountd
153   udp685  mountd
151   tcp939  mountd
153   tcp939  mountd
132   udp   2049  nfs
133   udp   2049  nfs
132   tcp   2049  nfs
133   tcp   2049  nfs

when I try to mount from client I get:
# showmount -e oden.lindesign.se
showmount: clnttcp_create: RPC: Port mapper failure - RPC: Timed out
# mount -t nfs 194.17.154.112:backup_loke backup_loke/
NFS Portmap: RPC: Port mapper failure - RPC: Timed out

my pf.conf lines on the server are:
[EMAIL PROTECTED]:~/  sudo tail -n 3 /etc/pf.conf
pass in log on $ext_if proto tcp from 81.170.235.54 to port nfs keep state
pass in log on $ext_if proto tcp from 81.170.235.54 to port portmap keep state
pass in log on $ext_if proto {tcp,udp} from 81.170.235.54 to port
{685,939} keep state

[EMAIL PROTECTED]:~/  tail -n 1 /etc/exports
/home/backup_loke -maproot=bkw 81.170.235.54

I know that my ISP doesn't block any of the ports, I can telnet to all
three of them. I do logging from where I can see action(pass) when I
try to telnet to any of the three ports from client. But when I do try
to mount I don't get any output in my pflog.

I'm on 3.8 release

any ideas are welcome
/bkw




nfs mount

2006-04-29 Thread Bachman Kharazmi

I try to mount a nfs share over internet between two openbsd servers.

As faq describes rpcinfo -p on server should show that mountd listen
at udp: 633 and tcp: 916
But I get,
[EMAIL PROTECTED]:~/  rpcinfo -p
  program vers proto   port
   102   tcp111  portmapper
   102   udp111  portmapper
   151   udp685  mountd
   153   udp685  mountd
   151   tcp939  mountd
   153   tcp939  mountd
   132   udp   2049  nfs
   133   udp   2049  nfs
   132   tcp   2049  nfs
   133   tcp   2049  nfs

when I try to mount from client I get:
# showmount -e oden.lindesign.se
showmount: clnttcp_create: RPC: Port mapper failure - RPC: Timed out
# mount -t nfs 194.17.154.112:backup_loke backup_loke/
NFS Portmap: RPC: Port mapper failure - RPC: Timed out

my pf.conf lines on the server are:
[EMAIL PROTECTED]:~/  sudo tail -n 3 /etc/pf.conf
pass in log on $ext_if proto tcp from 81.170.235.54 to port nfs keep state
pass in log on $ext_if proto tcp from 81.170.235.54 to port portmap keep state
pass in log on $ext_if proto {tcp,udp} from 81.170.235.54 to port
{685,939} keep state

[EMAIL PROTECTED]:~/  tail -n 1 /etc/exports
/home/backup_loke -maproot=bkw 81.170.235.54

I know that my ISP doesn't block any of the ports, I can telnet to all
three of them. I do logging from where I can see action(pass) when I
try to telnet to any of the three ports from client. But when I do try
to mount I don't get any output in my pflog.

I'm on 3.8 release

any ideas are welcome
/bkw



Re: SGI O2 R12000 [SOLVED]

2006-04-04 Thread Bachman Kharazmi
On 25/03/06, Per Fogelstrvm [EMAIL PROTECTED] wrote:
 On Friday 24 March 2006 08.36, David Coppa wrote:
  On Thu, 2006-03-23 at 22:15 +, Miod Vallat wrote:
 
   There is currently no X server support on sgi O2. This is being worked
   on, but don't hold your breath.
 
  I'm wondering if I can have X by putting a normal graphic card in a
  free PCI slot. Any suggestion?
 

 It's possible if someone want's to play around with it.

I've tested with a normal PCI gfx without any luck. Looks like no
signal is sent to the external PCI graphics card.

And I don't know if there are any options that has to be changed to
activate a external graphics card on SGIs since I don't even get the
bootup screen when I power on the computer.

Anyone who have had a external _normal_ 32bit PCI card working on R12000?

pefo mentioned that he didn't know of support for any external pci
graphics on SGIs, (but..) there still might be a workaround.
/bkw



Re: OpenBSD 3.8 on HP NC6000

2006-04-01 Thread Bachman Kharazmi
Do you have any possibility to debug the freeze using a null-modem
cable and redirect all output from boot to serial?
This can be done with a serial cable and by typing:
set tty com0 at bootprompt.

I'm afraid your worst problem is that your lappy don't have com port..
/bkw

On 31/03/06, Peter Bako [EMAIL PROTECTED] wrote:
 I've recently acquired a NC6000 laptop from HP, which I was going to setup
 with OpenBSD. My first attempt worked perfectly, had X configured and
 running as well as a few apps under it. However when I tried to get APM to
 read the battery status, it simply was not able to do so. I figured the
 problem had to do with the older BIOS on the laptop, so I download and
 installed the latest version from the HP web site. The new BIOS now has a
 battery info page whereas it did not before.

 This is where things get fun... I tried to boot up my system but OpenBSD
 crashed almost immediately after the initial boot prompt. Obviously I
 figured that the BIOS update had something to do with it, but as a test I
 tried to boot with single user mode - still crashed. Ok, big deal I can just
 reinstall it... Even when booting off the install CD gives me a crash nearly
 immediately after startup

 I don't have any way of capturing the screen, but here are the last few
 lines:
 
 Uhub1 at usb1
 Uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
 Uhub1: 2 ports with 2 removable, self powered
 Uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x03: irq 10
 Uvm_fault(0xd0gga340, 0x0, 0, 1) - e Fatal page fault in supervisor mode
 Trap type 6 code 0 eip d02ceebf cs 50 eflags 10202 cr2 4 cpl 40
 Panic: trap type 6, code=0, pc=d02ceebf
 The operating system has halted.
 Press any key to reboot.
 
 The hardware is fine, I've done a test install of Windows XP and Fedora Core
 5 on it both of which installed and ran fine... I've been meaning to play
 with and learn Fedore, so I suppose I could live with it, but frankly I'd
 rather run OpenBSD... Any ideas as to what this error means and what caused
 it? Better yet, is there any way to work around it?



Re: Firefox with Java and Flash

2006-03-31 Thread Bachman Kharazmi
cd /usr/ports/devel  pkg_info -M jdk   will tell you where to put stuff.
/bkw
On 31/03/06, Joco Salvatti [EMAIL PROTECTED] wrote:
 Hi all,

 I have installed in my machine both firefox web browser and java
 plugin (compiled on my own machine). The java plugin works fine with
 opera, but I'd like to use it with firefox, but I don't know where to
 put it. Does anyone here from list know where to place the plugins?
 I've seen the FAQ before, but it only reports about Opera.

 Thanks

 --
 Joco Salvatti
 Undergraduating in Computer Science
 Federal University of Para - UFPA
 web: http://salvatti.expert.com.br
 e-mail: [EMAIL PROTECTED]



Re: OpenBSD and the money

2006-03-29 Thread Bachman Kharazmi
Your order currently is:
- 1 [T23] Wireframe Blowfish Shirt (M)  @ EUR 20.00
- EUR 10.00 [DON] DONATION to the OpenBSD Project
- Total: EUR 30.00 + Shipping.

This is what I can afford as a student. It's for the first time I
donate/buy anything from openbsd.org. I hope it helps a very little
bit at least...
/bkw

On 23/03/06, Peter Fraser [EMAIL PROTECTED] wrote:
 Just out of curiosity, why are you trying to take in money by nickels
 and dimes rather than obtaining research grants from the Alberta
 government?

 Alberta is rolling in cash, and has specifically stated it wants to
 invest in technological research so that it will be in a good position
 when oil money begins to dwindle.  OpenBSD could surely qualify as a
 research organization without too much trouble, at which point you'd be
 eligible for substantial provincial funding.

 I recognize that government grants come with red-tape, and people are
 often disdainful of taking hand-outs.  In this case, however, I'd
 think the pros outweigh the cons.  Don't you have a wish-list of things
 you'd implement or improve if you got sufficient funding?

 Something to think about...



Re: Openbsd PF Book

2006-03-27 Thread Bachman Kharazmi
Before you buy anything, check out:
http://www.bgnett.no/~peter/pf/en/ or as PDF,
http://www.bgnett.no/~peter/pf/en/pf-firewall.pdf

I found it very useful actually, and it is up2date.
/bkw
On 26/03/06, Qwerty [EMAIL PROTECTED] wrote:
 Hi All, Could anyone please tell me if the book Building firewalls with
 OpenBSD and PF (found at Amazon), would still be applicable today, or is
 it a bit outdated. Thank You Danny
 __
 Get your FREE Central.co.za Email today www.central.co.za




--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: SGI O2 R12000 [SOLVED]

2006-03-25 Thread Bachman Kharazmi
It doesnt look like a generic PC PCI-bus(much longer). Will still
normal graphics cards fit?

I havent tried yet, but in case its a _normal_ PCI-bus I will try this
as soon as I get some sparetime.
/bkw
On 25/03/06, Per Fogelstrvm [EMAIL PROTECTED] wrote:
 On Friday 24 March 2006 08.36, David Coppa wrote:
  On Thu, 2006-03-23 at 22:15 +, Miod Vallat wrote:
 
   There is currently no X server support on sgi O2. This is being worked
   on, but don't hold your breath.
 
  I'm wondering if I can have X by putting a normal graphic card in a
  free PCI slot. Any suggestion?
 

 It's possible if someone want's to play around with it.


 Per



--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



SGI O2 R12000

2006-03-23 Thread Bachman Kharazmi
Anyone who know what those two lines should look like if I created {a
b d e g h} partitions during the installation process (the whole disk
is used for openbsd).

SystemPartition=...
OSLoadPartition=...

It's a IBM 9GB SCSI disk in the slot next to the last one (seen from
back in right direction).

backside of my O2
| MOBO | heatsink | empty PCI | hdd | audio |

The current lines look like:
SystemPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(8)
OSLoadPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(0)

please note that it's a R12000.

/bkw
installation went fine I tried to reboot the system, what happens
after reboot is nothing. No boot ,  but I can enter the maintaing
menu.

Maybe of these lines have to be changed in console(maintain menu):
SystemPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(8)
OSLoadPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(0)

In case that's my problem I don't know which one to change.
printenv is pasted bellow.

System Maintenance Menu

1) Start System
2) Install System Software
3) Run Diagnostics
4) Recover System
5) Enter Command Monitor

Option? 5
Command Monitor.  Type exit to return to the menu.
 printenv
AutoLoad=Yes
diskless=0
dbaud=9600
volume=80
sgilogo=y
monitor=h
TimeZone=PST8PDT
netaddr=192.0.2.1
crt_option=1
SystemPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(8)
OSLoadPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(0)
OSLoader=boot
OSLoadFilename=/bsd.rd
OSLoadOptions=auto
console=d
ConsoleOut=serial(0)
ConsoleIn=serial(0)
cpufreq=270
eaddr=08:00:69:0e:9b:ab
videostatus=illegal_env_var
--



Re: SGI O2 R12000 [SOLVED]

2006-03-23 Thread Bachman Kharazmi
YES!
I finally made it!

OpenBSD/sgi (silikon.lan) (tty00)  :)
login:

# uname -a
OpenBSD silikon.lan 3.8 GENERIC#164 sgi

here are a few pics of my environment: http://bkw.lindesign.se/gallery/boxes/

I will prolly write a doc just as last time I was playing with
diskless on OpenBSD (http://www.openbsdsupport.org/diskless.pdf) for
the installation of obsd on SGI O2 R12000.

I know there's a INSTALL.sgi, but still a lean R12k specific doc will
hopefully help somebody. I agree with whoever who wrote the
INSTALL.sgi that the installtion can be _tricky_.

btw, I attached a dmesg.

my next mission is to get X running on 'silikon'. I haven't found any
specific documentation about that at all...

thank you pefo making sgi arch supported.
/bkw
--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##

[demime 1.01d removed an attachment of type application/octet-stream which had 
a name of dmesg_SGI_O2_R12000]



SGI O2

2006-03-22 Thread Bachman Kharazmi
I've two SGI O2 R12000 at home from today for experimental use.
They've 32 of them unused at my uni so the admin said it was ok to
take two :)

Now I've problems installing osbd 3.8, I've choosed the cdboot
installation method.
First I : 'resetenv' then setenv OSLoader=boot and setenv OSLoadFilename=/bsd.rd
Then I choose Install program from CDrom in the maintaining menu.

What I can see on the screen is all the boot arguments at top (from
the environment).

OpenBSD/sgi Arcbios boot
Boot: pci(0)scsi(0)cdrom(4)partition(0)/bsd.rd
Loading ELF64 file
0xfff... Loading symbol table
Start at 0x
ARCS32 Firmware Version 1.10
SR=34010080
Found SGI-IP32, setting up.
And here it freeze, nothing else happens.

any ideas are welcome, /bkw
--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: SGI O2

2006-03-22 Thread Bachman Kharazmi
you're right, I missed that line in INSTALL.sgi.

and the worst is that none of my laptops have RS232 ports even if I've
a serialcable.

I hope there're USB-RS232 converters available.

the world is not always fair.
/bkw
On 22/03/06, Miod Vallat [EMAIL PROTECTED] wrote:
  What I can see on the screen is all the boot arguments at top (from
  the environment).
 
  OpenBSD/sgi Arcbios boot
  Boot: pci(0)scsi(0)cdrom(4)partition(0)/bsd.rd
  Loading ELF64 file
  0xfff... Loading symbol table
  Start at 0x
  ARCS32 Firmware Version 1.10
  SR=34010080
  Found SGI-IP32, setting up.
  And here it freeze, nothing else happens.

 I'll bet you did not connect a serial console to the machine.

 Miod



--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: SGI O2

2006-03-22 Thread Bachman Kharazmi
ah!
my obsd fw is a generic pc which has serial port, I'll try to move
everything near it.

I might be a lucky guy anyway...
/bkw
On 22/03/06, Darrin Chandler [EMAIL PROTECTED] wrote:
 Bachman Kharazmi wrote:

 you're right, I missed that line in INSTALL.sgi.
 
 and the worst is that none of my laptops have RS232 ports even if I've
 a serialcable.
 
 I hope there're USB-RS232 converters available.
 
 

 You can get converters. Not all of them connect DSR/DTR.

 --
 Darrin Chandler|  Phoenix BSD Users Group
 [EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
 http://www.stilyagin.com/  |




--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: SGI O2

2006-03-22 Thread Bachman Kharazmi
cool, it booted and I'm setting up my disk now :)
thanks guys for all your replies.
/bkw
On 22/03/06, Bachman Kharazmi [EMAIL PROTECTED] wrote:
 I've two SGI O2 R12000 at home from today for experimental use.
 They've 32 of them unused at my uni so the admin said it was ok to
 take two :)

 Now I've problems installing osbd 3.8, I've choosed the cdboot
 installation method.
 First I : 'resetenv' then setenv OSLoader=boot and setenv 
 OSLoadFilename=/bsd.rd
 Then I choose Install program from CDrom in the maintaining menu.

 What I can see on the screen is all the boot arguments at top (from
 the environment).

 OpenBSD/sgi Arcbios boot
 Boot: pci(0)scsi(0)cdrom(4)partition(0)/bsd.rd
 Loading ELF64 file
 0xfff... Loading symbol table
 Start at 0x
 ARCS32 Firmware Version 1.10
 SR=34010080
 Found SGI-IP32, setting up.
 And here it freeze, nothing else happens.

 any ideas are welcome, /bkw



--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: SGI O2

2006-03-22 Thread Bachman Kharazmi
After I downloaded the sets successfully and the rest of the
installation went fine I tried to reboot the system, what happens
after reboot is nothing. No boot ,  but I can enter the maintaing
menu.

Maybe of these lines have to be changed in console(maintain menu):
SystemPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(8)
OSLoadPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(0)

In case that's my problem I don't know which one to change.
printenv is pasted bellow.

System Maintenance Menu

1) Start System
2) Install System Software
3) Run Diagnostics
4) Recover System
5) Enter Command Monitor

Option? 5
Command Monitor.  Type exit to return to the menu.
 printenv
AutoLoad=Yes
diskless=0
dbaud=9600
volume=80
sgilogo=y
monitor=h
TimeZone=PST8PDT
netaddr=192.0.2.1
crt_option=1
SystemPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(8)
OSLoadPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(0)
OSLoader=boot
OSLoadFilename=/bsd.rd
OSLoadOptions=auto
console=d
ConsoleOut=serial(0)
ConsoleIn=serial(0)
cpufreq=270
eaddr=08:00:69:0e:9b:ab
videostatus=illegal_env_var
On 22/03/06, Bachman Kharazmi [EMAIL PROTECTED] wrote:
 cool, it booted and I'm setting up my disk now :)
 thanks guys for all your replies.
 /bkw
 On 22/03/06, Bachman Kharazmi [EMAIL PROTECTED] wrote:
  I've two SGI O2 R12000 at home from today for experimental use.
  They've 32 of them unused at my uni so the admin said it was ok to
  take two :)
 
  Now I've problems installing osbd 3.8, I've choosed the cdboot
  installation method.
  First I : 'resetenv' then setenv OSLoader=boot and setenv 
  OSLoadFilename=/bsd.rd
  Then I choose Install program from CDrom in the maintaining menu.
 
  What I can see on the screen is all the boot arguments at top (from
  the environment).
 
  OpenBSD/sgi Arcbios boot
  Boot: pci(0)scsi(0)cdrom(4)partition(0)/bsd.rd
  Loading ELF64 file
  0xfff... Loading symbol table
  Start at 0x
  ARCS32 Firmware Version 1.10
  SR=34010080
  Found SGI-IP32, setting up.
  And here it freeze, nothing else happens.
 
  any ideas are welcome, /bkw



Re: thin-client

2006-02-22 Thread Bachman Kharazmi
deskless client environment with obsd works very well. But there are
some pitfalls if you don't use generic PC's as 'clients'.

I've had problems with compaq evo. They don't support A20 option at
(pxe)boot and that makes the kerenel initialization frezee.

Later on I tried with WYSE clients that worked out of the box.

If I would set up a similar diskless env today I would think of:
* mirror raid
* PATHS for client data
* Quick disk on the server, and at least 100MBit network.
* (distributed accounts etc...)

man diskless should give you a good understanding.

I wrote something for my own use in case of forgetting while I worked
with diskless clients.

and btw, life will be much more simple with a lightweight WM like xfce
compared to gnome.

you can find the doc I wrote here: http://www.openbsdsupport.org/diskless.pdf

good luck.
/bkw
On 22/02/06, martin [EMAIL PROTECTED] wrote:
 Hello.

 What are the thin-client options with OpenBSD ?

 Something similar to www.ltsp.org

 If anyone is using openbsd as a thin-client server. i would be
 interested in hearing their experiences.

 Regards
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com





--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: slow downloads to gateway

2006-02-18 Thread Bachman Kharazmi
bw_test_512MB:ETA:   1:08  101.21/512.00 MB6.03 MB/s

I increased the value to 10
thanks
/bkw
On 18/02/06, Melameth, Daniel D. [EMAIL PROTECTED] wrote:
 Bachman Kharazmi wrote:
  I'm running obsd 3.8 release on my gateway. Two xl nics are installed.
  The GW does NAT which works very well,
  All downloads from internet=hosts behind the gw with local IPs goes
  really fast.
  But from internet to the GW's harddisk is ~20% of what the LAN hosts
  speed are through the GW.
 
  I know the harddrive on the gw isn't the bottleneck.
 
  Are there anything else I should check?

 You don't really define what slow is, but you might want to try
 increasing net.inet.tcp.recvspace to start.




--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: slow downloads to gateway

2006-02-18 Thread Bachman Kharazmi
By the way, when I now have a proper download speed, I have to ask why
the default vaule of net.inet.tcp.recvspace is set so low?
I have a 100MBit  inet connection so it was little confusing with my
earlier bandwidth limitation.
/bkw

On 18/02/06, Bachman Kharazmi [EMAIL PROTECTED] wrote:
 bw_test_512MB:ETA:   1:08  101.21/512.00 MB6.03 MB/s

 I increased the value to 10
 thanks
 /bkw
 On 18/02/06, Melameth, Daniel D. [EMAIL PROTECTED] wrote:
  Bachman Kharazmi wrote:
   I'm running obsd 3.8 release on my gateway. Two xl nics are installed.
   The GW does NAT which works very well,
   All downloads from internet=hosts behind the gw with local IPs goes
   really fast.
   But from internet to the GW's harddisk is ~20% of what the LAN hosts
   speed are through the GW.
  
   I know the harddrive on the gw isn't the bottleneck.
  
   Are there anything else I should check?
 
  You don't really define what slow is, but you might want to try
  increasing net.inet.tcp.recvspace to start.



Re: help in xmms

2006-02-05 Thread Bachman Kharazmi
It's been like that since I installed obsd. Since it's a cosmetic
issume with xmms so I don't care. Remember that obsd doesn't support
GL, if that's can be a reason...
if you come up with a solution, share it.
/bkw
On 05/02/06, K P [EMAIL PROTECTED] wrote:
 hello...
 i use openbsd 3.8, i installed xmms but i have 2 problem with it. 1st the 
 equalizer don't work and visualization is not correct, actuallt it's not 
 smooth and according to music.

 thanks for ur help.

 --
 ___
 Play 100s of games for FREE! http://games.mail.com/




--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: std. paths for IMAP folders

2006-01-28 Thread Bachman Kharazmi
 It is, but only provided that the user actually have an account. I use
 quite a few virtual accounts, and they go under /var/mail/$USERNAME.
What's the diffrence between a virtual user that you mention and a
normal user which shell is set to nologin. Still there can be a
~/.forward and the mail stored in ~ I think.

So how do you make your virtual users mail go to /var/mail/$USER, by
simply setting home directory (useradd -d) when creating the user?
/bkw
--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: OpenBSD beep

2005-12-18 Thread Bachman Kharazmi
On 18/12/05, Brian A. Seklecki [EMAIL PROTECTED] wrote:
 PC speaker beep (something action on the console?)

 Or possibly hardware alarm?
true. therefor check your system/cpu temp in bios, let the system run
for a while in bios-mode and check if your cpu temp is increasing
without any load. Also check if there's any warning-mode enabled.
/bkw

 ~BAS

 On Sat, 2005-12-17 at 09:12, dimaz wrote:
  I've installed OpenBSD on my small server, before on server was linux,
  and 2-3 times a day my server beeps (3 times)...
  What does it mean? And how I can control this beeps?




--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



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

2005-12-14 Thread Bachman Kharazmi
try sylpheed
(does exist as precompiled pkgs)
/bkw
On 14/12/05, Jack Woehr [EMAIL PROTECTED] wrote:
 Recommendations for another POP3/IMAP/SMTP mail reader client (if one
 exists) other than Mozilla?

 Years ago I hopped directly from Elm on a host server to graphic mail
 clients on my desktop
 box without ever dealing with, e.g., mutt  setting up sendmail. Now
 Mozilla 1.7.2 crashes hard
 on receiving a particularly noxious piece of spam I've been getting a
 lot of and I'm ready to
 deal with changing mail clients. I'm just hoping to get around this
 without weeks of learning how
 to configure sendmail for mutt ...

 --
 Jack J. Woehr # I never played fast and loose with the
 PO Box 51, Golden, CO 80402   # Constitution. Never did and never will.
 http://www.well.com/~jax  # - Harry S Truman




--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



apsfilter and laserjets

2005-11-20 Thread Bachman Kharazmi
I'm trying to get my HP laserjet 1020(usb) working with apsfilter running obsd.
I've installed the hpijs pkg and apsfilter.

As default no laserjets are available in the printerlist when running
apsfilter's setup.
From what I can read at
http://www.apsfilter.org/docs/apsfilter-handbook-stable.html#setup_tips
 apsfilterrc need to be modified, this is where I'am unsure what I
need to add to get my laserjet properly listed when running the setup.

The reason why I'm asking this obsd unspecific question here is that I
droped a mail to apsfilters ML but it looks like it has been dead
since 2003.
/bkw
--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: OpenOffice.org 2.0 works on OpenBSD

2005-11-01 Thread Bachman Kharazmi
Hi,
First, thanks for quick howto at
http://www.00f.net/php/show-article.php/openoffice_on_openbsd

Iam running 3.8 stable and have a problem when I do as your page describes,
cd /usr/ports/emulators/redhat/base
make install clean distclean
ends up with the lines bellow...

 Checksum OK for rpm/readline-4.3-3.i386.rpm. (sha1)
 Checksum OK for rpm/rpm-4.1-1.06.i386.rpm. (sha1)
 Checksum OK for rpm/sh-utils-2.0.12-3.i386.rpm. (sha1)
 Checksum OK for rpm/termcap-11.0.1-13.noarch.rpm. (sha1)
 Checksum OK for rpm/zlib-1.1.4-8.8x.i386.rpm. (sha1)
Make sure the Makefile and checksum file
(/usr/ports/emulators/redhat/base/distinfo)
are up to date.  If you want to fetch a good copy of this
file from the OpenBSD main archive, type
make REFETCH=true [other args].
*** Error code 1

Stop in /usr/ports/emulators/redhat/base (line 1505 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/emulators/redhat/base (line 1633 of
/usr/ports/infrastructure/mk/bsd.port.mk).


any ideas are welcome,
/bkw


On 10/20/05, Frank Denis (Jedi/Sector One) [EMAIL PROTECTED] wrote:
   Hello,

   Just a little note to tell that the just-released OpenOffice.org 2.0
 perfectly works on OpenBSD with the Linux emulation (tested with
 OpenBSD-current).

   Basic instructions:
 http://www.00f.net/php/show-article.php/openoffice_on_openbsd

   Best regards,

 --
 Frank - my stupid blog: http://00f.net
 L'annuaire des professionnels de la manucure et de la pedicure :
 http://www.manucure-pro.com




--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: DISKLESS tutorial that need feedback

2005-10-23 Thread Bachman Kharazmi
On 10/23/05, Matthew Weigel [EMAIL PROTECTED] wrote:
 Well, except that hard links are filesystem specific, you can't cross
 filesystem boundaries with one.

 Also, depending on design, you probably actually want a single RO
 filesystem to serve as / for all diskless clients, and have smaller
 per-client RW volumes (like /etc) or per-user RW volumes (so each machine
 is identical and everyone can use each machine).
uhm, so it would be possible sharing all dirs except /etc?
what happens to /dev when a few clients want to access the same device?

Each machine is identical?
yes maybe in that case that would work. But where I'm going to use my
doc is a uni env where all the clients are not identical. Even if they
were, what would you do if hw failed on one  of clients?

And about keeping them synced, master.passwd is the most important
thing for keeping the 'accounts' intact.

So a script that sync one of the clients from server, and then all the
other clients can sync from that up2date client.

I would say next to master.passwd the important thing that should be
synced is /usr which already in my case is mounted.

Remeber that if the purpose is 'personal' thin clients you would
confuse ppl saving tons of files in everyones /home.
/bkw



Re: pxeboot halting...

2005-10-23 Thread Bachman Kharazmi
How to use boot pxeboot is described in the doc I wrote two days ago,
you can find a link to it in the list. You'll find examples that I
hope will help.
gl
/bkw
On 10/23/05, poncenby smythe [EMAIL PROTECTED] wrote:
 Hello list, help for the following problem would be greatly
 appreciated, it's so frustrating.

 Trying to pxeboot 3.7 on an EPIA machine with what Linux is reporting
 to be a Centaur VIA Samuel 2 stepping 03 processor. The server is a
 mac with os 10.4, here is the /etc/dhcpd.conf:

 allow booting;
 allow bootp;
 ddns-update-style none;
 shared-network LOCAL-NET {
  subnet 192.168.1.0 netmask 255.255.255.0 {
  option routers 192.168.1.88;
  option root-path /tftpboot;
  filename pxeboot;
  range 192.168.1.32 192.168.1.52;
  default-lease-time 86400;
  max-lease-time 9;
  }
 }

 The directory /tftpboot has the files pxeboot and bsd.rd and tftpd
 has been verified to transfer files correctly.  The EPIA machine is
 pushed the pxeboot file and the usual prompt appears, so I type
 bsd.rd and the spinning pipe character stays vertical and doesn'r move.
 after a wait of around 1 minute the number 4302596 appears, about a
 30 second wait then the following text appears:

   read text: Unknown error: code 60
 failed(60). will try /bsd.old

 Perhaps I should copy the file bsd.old into the tftpboot directory
 but I cannot find such a file.

 Can anyone help me, I have attempted googling but not found much,
 Any solution and I promise to submit my dmesg! - what an incentive :(

 thanks in advance

 poncenby




--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: DISKLESS tutorial that need feedback

2005-10-23 Thread Bachman Kharazmi
On 10/23/05, Sigfred Heversen [EMAIL PROTECTED] wrote:
 Bachman Kharazmi wrote:
  Please STOP the discussion about document formats in this thread.
  You're taking my time complaing on the document format (pdf).
  In my first post I wrote that I want feedback on the document and nothing 
  else.

 I understand your frustation that your thread has been hijacked.

  If your computer can't run any pdf reader that's your problem. So
  please stop asking if I can make any HTML or other formats.

 There are several pdf readers in the ports tree, for those that is
 interested.

 Others have given comments to your document, so here is a little nitpick:

 You may use mkdir with -p option to create intermediate
 directories instead of creating each and everyone of them
 explicitely.
The doc is updated. Thanks alot.
/bkw



DISKLESS tutorial that need feedback

2005-10-22 Thread Bachman Kharazmi
http://bkw.lindesign.se/tmp/diskless.pdf
Please read my step-by-step tutorial and give me feedback.

I really hope it will be useful to the OpenBSD community, for those
who want to setup a diskless environment.

There are still some shaping left but the basics should be ready by now.

/bkw
--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



DISKLESS tutorial that need feedback

2005-10-22 Thread Bachman Kharazmi
On 10/22/05, Darrin Chandler [EMAIL PROTECTED] wrote:
 Bachman Kharazmi wrote:

 http://bkw.lindesign.se/tmp/diskless.pdf
 Please read my step-by-step tutorial and give me feedback.
 
 
 
 

 I would have pulled it up and read it right away, but it's in pdf
 format. Yes, I can read them, but it's enough of a pain to make it not
 worth it for me unless I *know* I want to read it. If you're really
 interested in sharing information on the internet, you might want to
 author at a higher level and produce pdf + html + text. If I'd read some
 html and wanted a nice hardcopy I'd definitely go for a pdf if available.
Do not feel foced reading my doc. PDF is a portable document format
widely used and accepted on the inet.

Of course it would be good publishing it using latex that can convert
to various formats. but this aint any essay and I don't have time/care
about getting it in latex atm.

If you now can read pdfs why are you complaining about that it isn't
worth reading it?

And I've emailed faq@ requesting a link to it from the main FAQ at openbsd.org.
/bkw

 --
 Darrin Chandler
 [EMAIL PROTECTED]
 http://www.stilyagin.com/




--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: DISKLESS tutorial that need feedback

2005-10-22 Thread Bachman Kharazmi
Please STOP the discussion about document formats in this thread.
You're taking my time complaing on the document format (pdf).
In my first post I wrote that I want feedback on the document and nothing else.

If your computer can't run any pdf reader that's your problem. So
please stop asking if I can make any HTML or other formats.
|ber und aus
/bkw

On 10/22/05, Bachman Kharazmi [EMAIL PROTECTED] wrote:
 http://bkw.lindesign.se/tmp/diskless.pdf
 Please read my step-by-step tutorial and give me feedback.

 I really hope it will be useful to the OpenBSD community, for those
 who want to setup a diskless environment.

 There are still some shaping left but the basics should be ready by now.

 /bkw
 --
 ##
 BKW - Bachman Kharazmi
 bahkha AT gmail DOT com
 uin: #24089491
 SWEDEN
 ##



Re: DISKLESS tutorial that need feedback

2005-10-22 Thread Bachman Kharazmi
On 10/23/05, Gareth Nelson [EMAIL PROTECTED] wrote:
 1 - Perhaps it is better to produce the document in a standard format in order
 to get feedback from the greatest number of people (not a flame, just a
 suggestion). I recommend you convert it to plain ASCII when you get the
 chance, should be a fairly simple copy and paste job and then add section
 numbers etc
...

 2 - About the document content itself:
 I had a brief read over it, what I found missing was using seperate
 filesystems for each client. Ideally, you'd have a seperate subdirectory on
 your diskless server for the root of each client, and possibly do a hardlink
 to /bin etc to avoid redundancy.

 I would recommend the following structure:
 /usr/local/diskless/clienta
 /usr/local/diskless/clientb
 etc etc

 /usr/local/diskless/clienta/bin -- /bin
 /usr/local/diskless/clienta/usr/bin - /usr/bin

 you get the idea
yes I do. The whole root for every client vill be approx 50Mb so
there's no need to mount /bin also. But sure, it's possible.

You know where stuff will be placed if I install _any_ pkg on the server...
/bkw



Re: compaq evo t20

2005-10-03 Thread Bachman Kharazmi
thanks for your reply Dag.

I've made some search using google about 'gate A20' and openbsd with
evo, but nothing that I've found very useful yet. I found one page
http://www.win.tue.nl/~aeb/linux/kbd/A20.html describing A20, even if
I don't have a clue what all that mean.

I'am most frustrated about why the kernel get transfered but doesn't
even start initializing.
(it was just here:
OpenBSD/i386 PXEBOOT 1.02
booting tftp:/bsd 4807268-
it feezed, remember?)

I've read my kernel config if there was any option related to gate
A20, but my search didn't find any matches.

I know that I once tried booting a linux kernel and it did boot
without freezing.

I've boot in my /tftp/etc/boot.conf so there's no delay during
startup since it's a non working usb KB at that bootprompt state.  I
don't think that it's my problem. But what I do think might cause my
kernel freeze is missing support in kernel. Even if Geode GX1 is
supposed to be supported which I think it is, but just not in my case
:/

Anyone who has further ideas about how to disable gate A20 with generic kernel?

/bkw

On 10/3/05, Dag Sverre Seljebotn [EMAIL PROTECTED] wrote:
  First, thanks for a well made t20 evo+linux doc.
  here is a post I dropped to a obsd mailinglist. I don't know if you can 
  help me?

 [Writing this so that it can be posted to the list - I'm trying, but I
 don't know if my mail will be accepted when I am not subscribing to it,
 so can you please forward it if it doesn't get through?]

 Only thing I can think of is the gate A20 - I have absolutely no
 knowledge about the OBSD kernel, but if it tries to set gate A20 (google
 for more info) then it will halt.

 Might be lots of other stuff as well I guess, but the gate A20 was the
 only one I encountered when trying to load GRUB on it (see how to patch
 GRUB at http://fredtun.no/ltsp). Using GRUB to load Linux then worked
 flawlessly.

 So if OBSD, or (more likely) your PXE loader program, does any gate A20
 switching on boot, just patch it to remove the switching (there is no
 gate A20 on the EVO, it behaves as though it is always on).

 // Dag Sverre




--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



pxeboot

2005-10-03 Thread Bachman Kharazmi
When I pxeboot loads on my diskless workstation it sets:
mem[635K 249M a20=on]

the last option a20=on does freeze the whole system.
So I wonder if there's any way to change that option in pxeboot?

thx
/bkw
--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: Geode GX1

2005-10-02 Thread Bachman Kharazmi
On 10/2/05, Marc Balmer [EMAIL PROTECTED] wrote:
 Bachman Kharazmi wrote:
  When I try to boot a Geode GX1 with generic kernel it freeze here:
 
 OpenBSD/i386 PXEBOOT 1.02
 
  booting tftp:/bsd 4807268-   (and here it freeze)
 
  I've tried bsd.rd both from the 3.7 and 3.8 dir without any luck, am I
  missing any support in kernel?

 have you the consol to the serial port in boot.conf?  See boot.conf(8)
 for details, the file must be on you tftp server under etc/.
It's a thin desktop (compaq evo t20) without any com-port. It has four
usb ports,nic, vga,ac and sound.

maybe that's why it's freezing... would it help to build a kernel
without com-port support?

/bkw

 - Marc Balmer



--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Geode GX1

2005-10-02 Thread Bachman Kharazmi
On 10/2/05, Marc Balmer [EMAIL PROTECTED] wrote:
 Bachman Kharazmi wrote:
  On 10/2/05, Marc Balmer [EMAIL PROTECTED] wrote:
 
 Bachman Kharazmi wrote:
 
 When I try to boot a Geode GX1 with generic kernel it freeze here:
 
 
 OpenBSD/i386 PXEBOOT 1.02
 
 booting tftp:/bsd 4807268-   (and here it freeze)
 
 I've tried bsd.rd both from the 3.7 and 3.8 dir without any luck, am I
 missing any support in kernel?
 
 have you the consol to the serial port in boot.conf?  See boot.conf(8)
 for details, the file must be on you tftp server under etc/.
 
  It's a thin desktop (compaq evo t20) without any com-port. It has four
  usb ports,nic, vga,ac and sound.
 
  maybe that's why it's freezing... would it help to build a kernel
  without com-port support?

 Ok.  Boot bsd.rd, if you boot bsd, you must provide a complete root
 filesystem on nfs environment.  Essentially you have to use rarpd,
 bootcnfigd and nfsd.  See the respective manual pages and read diskless(8).

I already have diskless working out of the box with obsd as
term-server and a generic PC as term. but this thin diskless
workstation is something I've borrow from school because they are
unused and I would like it to boot with bsd kernel.

As described in my first post I've already tested with bsd.rd from
3.7/3.8 dir on the mirrors.

What really confuses me is that it's freezing,
OpenBSD/i386 PXEBOOT 1.02
booting tftp:/bsd 4807268-
right here.

I tried a linux kernel and it did boot the kernel at least.
I might be missing something for the Geode GX1 in my GENERIC kernel?

/bkw

 - Marc Balmer



--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##


--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: Geode GX1

2005-10-02 Thread Bachman Kharazmi
On 10/2/05, Marc Balmer [EMAIL PROTECTED] wrote:
 Bachman Kharazmi wrote:

  I tried a linux kernel and it did boot the kernel at least.
  I might be missing something for the Geode GX1 in my GENERIC kernel?

 geode gx1 is the geode sc-1100 right?  I use such a computer here
 with the GENERIC kernel.  So you have the rarpd and bootconfig server setup?
I've the terminal server running and working, its from it the term
loads pxeboot and then tries to load bsd.rd kernel using tftp.

/bkw



--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



compaq evo t20

2005-10-01 Thread Bachman Kharazmi
We have a few evo t20 at school that are unused so I planned to take
one home and prepare it for diskless.

I've had diskless working flawless with a generic pc as terminal and
obsd as terminal server.

But these t20's seem made for WinXP so there's something in the flash
that tries to boot winxp.
I try to use same kernel I used for the generic pc term, that is a
default kernel with support for root/swap on nfs.

The evo boots (PXE) and get a ip from my dhcpd, but when it comes to
bootand just start exec the kernel It freeze. it look something
like:

OpenBSD/i386 PXEBOOT 1.02
booting tftp:/bsd 4807268-   (and here it freeze)

and from here I'am out of ideas
Anyone who've had this t20s booting with a obsd kernel or has a clue
what I shall try next?

thx
/bkw
--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Geode GX1

2005-10-01 Thread Bachman Kharazmi
When I try to boot a Geode GX1 with generic kernel it freeze here:
OpenBSD/i386 PXEBOOT 1.02
booting tftp:/bsd 4807268-   (and here it freeze)

I've tried bsd.rd both from the 3.7 and 3.8 dir without any luck, am I
missing any support in kernel?

/bkw
--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##