Re: Iwi, wireless bad behavior

2008-07-02 Thread Matthew Dempsky
On Wed, Jul 2, 2008 at 10:23 PM, Nick Guenther <[EMAIL PROTECTED]> wrote:
> Have you tried pulling it out?

I think iwi(4) is only Mini-PCI, so removing it's not any easier than
rebooting. :-)



Re: Iwi, wireless bad behavior

2008-07-02 Thread Nick Guenther
On Wed, Jul 2, 2008 at 7:32 PM, Edd Barrett <[EMAIL PROTECTED]> wrote:
> Hi,
>
> If you get the wep key (or network name) wrong when configuring iwi network
> drivers the card becomes useless until you reboot. This is annoying when at
> a friends house and I mistype the key for example. I have tried taking the
> interface down and back up, it makes no difference.
>
> Is there a way of resetting the card altogether?

Have you tried pulling it out? That usually fixes my zyd(4) (though it
has other problems than yours).
-Nick



Re: Thinkpad + Audio

2008-07-02 Thread Jacob Meuser
On Wed, Jul 02, 2008 at 11:21:56PM -0300, Gonzalo Lionel Rodriguez wrote:
> 2008/7/2 Jacob Meuser <[EMAIL PROTECTED]>:
> 
> > On Wed, Jul 02, 2008 at 10:44:43PM -0300, Gonzalo Lionel Rodriguez wrote:
> > > Hi everyone, i have a problem with my Thinkpad T42 (1.5GB ram and a new
> > > Hitachi hdd 120GB), when I am using X (awesome) and listening to music
> > with
> > > mp3blaster (for example) when change tabs in Firefox (or load a web),
> > music
> > > stop and continuous (lag (?)), any idea?
> >
> > are you saying you get a moment of silnece when you change tabs in
> > firefox?
> >
> 
> Yes.
> 
> 
> >
> > if so, then probably what's happening is firefox is using too much of
> > your system's resources to let mp3blaster feed the audio device quick
> > enough that the playback buffer doesn't run out.  you can see how many
> > bytes are in the hardware playback buffer with 'audioctl play.seek'
> > and you can see how namy frames were missed with 'audioctl play.errors'.
> >
> 
>  $ audioctl play.errors
>play.errors=77824
>  $ audioctl play.seek
>play.seek=65536

you should check play.seek as close to when the silence occurs as
possible.  but you are obviously getting dropouts as shown in
play.errors.

> 
> 
> >
> > or are you saying the audio is contiuously messed up after changing
> > tabs in firefox?
> 
> 
> No,  a moment of silence.
> 
> Any idea to fix the problem?

well, it looks like mp3blaster uses the full 64k buffer, so suggesting
to make sure that is the case would be pointless.

you may have luck using nice(1) or renice(8), or that could cause
other problems.


> 
> Regards
> 
> >
> >
> >
> > > Here is my dmesg:
> > >
> > > OpenBSD 4.3-current (GENERIC) #940: Thu Jun 19 07:41:29 MDT 2008
> > > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> > > cpu0: Intel(R) Pentium(R) M processor 1.60GHz ("GenuineIntel" 686-class)
> > > 1.60 GHz
> > > cpu0:
> > >
> > FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
> > > real mem  = 1609461760 (1534MB)
> > > avail mem = 1547051008 (1475MB)
> > > mainbus0 at root
> > > bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @ 0xfd750,
> > > SMBIOS rev. 2.33 @ 0xe0010 (61 entries)
> > > bios0: vendor IBM version "1RETDRWW (3.23 )" date 06/18/2007
> > > bios0: IBM 2373RY1
> > > apm0 at bios0: Power Management spec V1.2
> > > apm0: battery life expectancy 89%
> > > apm0: AC on, battery charge high, charging
> > > acpi at bios0 function 0x0 not configured
> > > pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
> > > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
> > > pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
> > > pcibios0: PCI bus #6 is the last bus
> > > bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000
> > > 0xdc000/0x4000! 0xe/0x1
> > > cpu0 at mainbus0
> > > cpu0: Enhanced SpeedStep 1600 MHz (1340 mV): speeds: 1600, 1400, 1200,
> > 1000,
> > > 800, 600 MHz
> > > pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> > > pchb0 at pci0 dev 0 function 0 "Intel 82855PM Host" rev 0x03
> > > ppb0 at pci0 dev 1 function 0 "Intel 82855PM AGP" rev 0x03
> > > pci1 at ppb0 bus 1
> > > vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility M7 LW" rev 0x00
> > > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> > > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> > > agp0 at vga1: aperture at 0xd000, size 0x1000
> > > uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: irq 11
> > > uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: irq 11
> > > uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: irq 11
> > > ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: irq 11
> > > usb0 at ehci0: USB revision 2.0
> > > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> > > ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x81
> > > pci2 at ppb1 bus 2
> > > cbb0 at pci2 dev 0 function 0 "TI PCI4520 CardBus" rev 0x01: irq 11
> > > cbb1 at pci2 dev 0 function 1 "TI PCI4520 CardBus" rev 0x01: irq 11
> > > em0 at pci2 dev 1 function 0 "Intel PRO/1000MT (82540EP)" rev 0x03: irq
> > 11,
> > > address 00:11:25:d5:bb:e2
> > > ipw0 at pci2 dev 2 function 0 "Intel PRO/Wireless 2100" rev 0x04: irq 11,
> > > address 00:13:e8:02:d6:9a
> > > cardslot0 at cbb0 slot 0 flags 0
> > > cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0
> > > pcmcia0 at cardslot0
> > > cardslot1 at cbb1 slot 1 flags 0
> > > cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0
> > > pcmcia1 at cardslot1
> > > ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x01: 24-bit
> > > timer at 3579545Hz
> > > pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x01: DMA,
> > > channel 0 configured to compatibility, channel 1 configured to
> > compatibility
> > > wd0 at pciide0 channel 0 drive 0: 
> > > wd0: 16-sector PIO, LBA48, 114473MB, 234441648 s

Re: Thinkpad + Audio

2008-07-02 Thread Gonzalo Lionel Rodriguez
2008/7/2 Jacob Meuser <[EMAIL PROTECTED]>:

> On Wed, Jul 02, 2008 at 10:44:43PM -0300, Gonzalo Lionel Rodriguez wrote:
> > Hi everyone, i have a problem with my Thinkpad T42 (1.5GB ram and a new
> > Hitachi hdd 120GB), when I am using X (awesome) and listening to music
> with
> > mp3blaster (for example) when change tabs in Firefox (or load a web),
> music
> > stop and continuous (lag (?)), any idea?
>
> are you saying you get a moment of silnece when you change tabs in
> firefox?
>

Yes.


>
> if so, then probably what's happening is firefox is using too much of
> your system's resources to let mp3blaster feed the audio device quick
> enough that the playback buffer doesn't run out.  you can see how many
> bytes are in the hardware playback buffer with 'audioctl play.seek'
> and you can see how namy frames were missed with 'audioctl play.errors'.
>

 $ audioctl play.errors
   play.errors=77824
 $ audioctl play.seek
   play.seek=65536


>
> or are you saying the audio is contiuously messed up after changing
> tabs in firefox?


No,  a moment of silence.

Any idea to fix the problem?

Regards

>
>
>
> > Here is my dmesg:
> >
> > OpenBSD 4.3-current (GENERIC) #940: Thu Jun 19 07:41:29 MDT 2008
> > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> > cpu0: Intel(R) Pentium(R) M processor 1.60GHz ("GenuineIntel" 686-class)
> > 1.60 GHz
> > cpu0:
> >
> FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
> > real mem  = 1609461760 (1534MB)
> > avail mem = 1547051008 (1475MB)
> > mainbus0 at root
> > bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @ 0xfd750,
> > SMBIOS rev. 2.33 @ 0xe0010 (61 entries)
> > bios0: vendor IBM version "1RETDRWW (3.23 )" date 06/18/2007
> > bios0: IBM 2373RY1
> > apm0 at bios0: Power Management spec V1.2
> > apm0: battery life expectancy 89%
> > apm0: AC on, battery charge high, charging
> > acpi at bios0 function 0x0 not configured
> > pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
> > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
> > pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
> > pcibios0: PCI bus #6 is the last bus
> > bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000
> > 0xdc000/0x4000! 0xe/0x1
> > cpu0 at mainbus0
> > cpu0: Enhanced SpeedStep 1600 MHz (1340 mV): speeds: 1600, 1400, 1200,
> 1000,
> > 800, 600 MHz
> > pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> > pchb0 at pci0 dev 0 function 0 "Intel 82855PM Host" rev 0x03
> > ppb0 at pci0 dev 1 function 0 "Intel 82855PM AGP" rev 0x03
> > pci1 at ppb0 bus 1
> > vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility M7 LW" rev 0x00
> > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> > agp0 at vga1: aperture at 0xd000, size 0x1000
> > uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: irq 11
> > uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: irq 11
> > uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: irq 11
> > ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: irq 11
> > usb0 at ehci0: USB revision 2.0
> > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> > ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x81
> > pci2 at ppb1 bus 2
> > cbb0 at pci2 dev 0 function 0 "TI PCI4520 CardBus" rev 0x01: irq 11
> > cbb1 at pci2 dev 0 function 1 "TI PCI4520 CardBus" rev 0x01: irq 11
> > em0 at pci2 dev 1 function 0 "Intel PRO/1000MT (82540EP)" rev 0x03: irq
> 11,
> > address 00:11:25:d5:bb:e2
> > ipw0 at pci2 dev 2 function 0 "Intel PRO/Wireless 2100" rev 0x04: irq 11,
> > address 00:13:e8:02:d6:9a
> > cardslot0 at cbb0 slot 0 flags 0
> > cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0
> > pcmcia0 at cardslot0
> > cardslot1 at cbb1 slot 1 flags 0
> > cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0
> > pcmcia1 at cardslot1
> > ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x01: 24-bit
> > timer at 3579545Hz
> > pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x01: DMA,
> > channel 0 configured to compatibility, channel 1 configured to
> compatibility
> > wd0 at pciide0 channel 0 drive 0: 
> > wd0: 16-sector PIO, LBA48, 114473MB, 234441648 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, initiator 7
> > cd0 at scsibus0 targ 0 lun 0:  ATAPI
> > 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 0x01: irq 11
> > iic0 at ichiic0
> > spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
> > spdmem1 at iic0 addr 0x51: 1GB DDR SDRAM non-parity PC2700CL2.5
> > auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x01: irq 11,
> ICH4
> > AC97
> > ac97: codec id 0x41445374 (Analog De

Re: Thinkpad + Audio

2008-07-02 Thread Jacob Meuser
On Wed, Jul 02, 2008 at 10:44:43PM -0300, Gonzalo Lionel Rodriguez wrote:
> Hi everyone, i have a problem with my Thinkpad T42 (1.5GB ram and a new
> Hitachi hdd 120GB), when I am using X (awesome) and listening to music with
> mp3blaster (for example) when change tabs in Firefox (or load a web), music
> stop and continuous (lag (?)), any idea?

are you saying you get a moment of silnece when you change tabs in
firefox?

if so, then probably what's happening is firefox is using too much of
your system's resources to let mp3blaster feed the audio device quick
enough that the playback buffer doesn't run out.  you can see how many
bytes are in the hardware playback buffer with 'audioctl play.seek'
and you can see how namy frames were missed with 'audioctl play.errors'.

or are you saying the audio is contiuously messed up after changing
tabs in firefox?


> Here is my dmesg:
> 
> OpenBSD 4.3-current (GENERIC) #940: Thu Jun 19 07:41:29 MDT 2008
> [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Pentium(R) M processor 1.60GHz ("GenuineIntel" 686-class)
> 1.60 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
> real mem  = 1609461760 (1534MB)
> avail mem = 1547051008 (1475MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @ 0xfd750,
> SMBIOS rev. 2.33 @ 0xe0010 (61 entries)
> bios0: vendor IBM version "1RETDRWW (3.23 )" date 06/18/2007
> bios0: IBM 2373RY1
> apm0 at bios0: Power Management spec V1.2
> apm0: battery life expectancy 89%
> apm0: AC on, battery charge high, charging
> acpi at bios0 function 0x0 not configured
> pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
> pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
> pcibios0: PCI bus #6 is the last bus
> bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000
> 0xdc000/0x4000! 0xe/0x1
> cpu0 at mainbus0
> cpu0: Enhanced SpeedStep 1600 MHz (1340 mV): speeds: 1600, 1400, 1200, 1000,
> 800, 600 MHz
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82855PM Host" rev 0x03
> ppb0 at pci0 dev 1 function 0 "Intel 82855PM AGP" rev 0x03
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility M7 LW" rev 0x00
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> agp0 at vga1: aperture at 0xd000, size 0x1000
> uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: irq 11
> uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: irq 11
> uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: irq 11
> ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: irq 11
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x81
> pci2 at ppb1 bus 2
> cbb0 at pci2 dev 0 function 0 "TI PCI4520 CardBus" rev 0x01: irq 11
> cbb1 at pci2 dev 0 function 1 "TI PCI4520 CardBus" rev 0x01: irq 11
> em0 at pci2 dev 1 function 0 "Intel PRO/1000MT (82540EP)" rev 0x03: irq 11,
> address 00:11:25:d5:bb:e2
> ipw0 at pci2 dev 2 function 0 "Intel PRO/Wireless 2100" rev 0x04: irq 11,
> address 00:13:e8:02:d6:9a
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0
> pcmcia0 at cardslot0
> cardslot1 at cbb1 slot 1 flags 0
> cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0
> pcmcia1 at cardslot1
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x01: 24-bit
> timer at 3579545Hz
> pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x01: DMA,
> channel 0 configured to compatibility, channel 1 configured to compatibility
> wd0 at pciide0 channel 0 drive 0: 
> wd0: 16-sector PIO, LBA48, 114473MB, 234441648 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, initiator 7
> cd0 at scsibus0 targ 0 lun 0:  ATAPI
> 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 0x01: irq 11
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
> spdmem1 at iic0 addr 0x51: 1GB DDR SDRAM non-parity PC2700CL2.5
> auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x01: irq 11, ICH4
> AC97
> ac97: codec id 0x41445374 (Analog Devices AD1981B)
> ac97: codec features headphone, 20 bit DAC, No 3D Stereo
> audio0 at auich0
> "Intel 82801DB Modem" rev 0x01 at pci0 dev 31 function 6 not configured
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "Intel U

Thinkpad + Audio

2008-07-02 Thread Gonzalo Lionel Rodriguez
Hi everyone, i have a problem with my Thinkpad T42 (1.5GB ram and a new
Hitachi hdd 120GB), when I am using X (awesome) and listening to music with
mp3blaster (for example) when change tabs in Firefox (or load a web), music
stop and continuous (lag (?)), any idea?

Here is my dmesg:

OpenBSD 4.3-current (GENERIC) #940: Thu Jun 19 07:41:29 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.60GHz ("GenuineIntel" 686-class)
1.60 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
real mem  = 1609461760 (1534MB)
avail mem = 1547051008 (1475MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @ 0xfd750,
SMBIOS rev. 2.33 @ 0xe0010 (61 entries)
bios0: vendor IBM version "1RETDRWW (3.23 )" date 06/18/2007
bios0: IBM 2373RY1
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 89%
apm0: AC on, battery charge high, charging
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000
0xdc000/0x4000! 0xe/0x1
cpu0 at mainbus0
cpu0: Enhanced SpeedStep 1600 MHz (1340 mV): speeds: 1600, 1400, 1200, 1000,
800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82855PM Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82855PM AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility M7 LW" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xd000, size 0x1000
uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: irq 11
uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: irq 11
uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: irq 11
ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x81
pci2 at ppb1 bus 2
cbb0 at pci2 dev 0 function 0 "TI PCI4520 CardBus" rev 0x01: irq 11
cbb1 at pci2 dev 0 function 1 "TI PCI4520 CardBus" rev 0x01: irq 11
em0 at pci2 dev 1 function 0 "Intel PRO/1000MT (82540EP)" rev 0x03: irq 11,
address 00:11:25:d5:bb:e2
ipw0 at pci2 dev 2 function 0 "Intel PRO/Wireless 2100" rev 0x04: irq 11,
address 00:13:e8:02:d6:9a
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x01: 24-bit
timer at 3579545Hz
pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 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, initiator 7
cd0 at scsibus0 targ 0 lun 0:  ATAPI
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 0x01: irq 11
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
spdmem1 at iic0 addr 0x51: 1GB DDR SDRAM non-parity PC2700CL2.5
auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x01: irq 11, ICH4
AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
"Intel 82801DB Modem" rev 0x01 at pci0 dev 31 function 6 not configured
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask effd netmask effd ttymask 
mtrr: Pentium Pro MTRR support
ugen0 at uhub3 port 2 "STMicroelectronics Biometric Coprocessor" rev
1.00/0.01 addr 2
uhidev0 at uhub2 port 2 configuration 1 interface 0 "Genius Optical Mouse"
rev 1.10/1.07 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 

Re: How can the bootprompt be removed from the bootloader on an amd64 system?

2008-07-02 Thread raven

Jason Crawford ha scritto:

On Wed, Jul 2, 2008 at 6:36 PM, Jon <[EMAIL PROTECTED]> wrote:
  

I would like the bootloader to accept no user input and do nothing but
load the kernel.



man boot.conf
look for timeout


  

I ask to myself, why no one use apropos or man -k ? Holy shit! Ever, the
silly and stupid, same questions..



ATTENTION: anyone using the the X driver for any ati card

2008-07-02 Thread Owain Ainsworth
As a warning, the any X snapshot that hits a mirror around the time of
this email (they're currently copying out) will contain an update to the
radeon driver to 6.9.0. The r128 and mach64 drivers have been split out
in this release, but the "ati" wrapper should take care of that.

Now, there's some changes in this driver update that you may wish to be
aware of:

macpcc users: 
if you use any quirks for your macbook, or have a mac, you may
want to check "man 4 radeon" and look at the "MacModel" option
if you have any trouble. The old mac quirk option (the name of
which escapes me right now), has been removed.

dual head users:
If you used "MergedFb", i warn you that this has also gone,
superceded by xrandr 1.2. so if you use this in your setup, i
recommend you look into migrating. while intel specific, the
following page has some generally useful information:

 http://www.intellinuxgraphics.org/dualhead.html

EXA acceleration:
this driver makes the EXA acceleration method the default (the
snaps also have a change to make intel default since bugs in it
have been fixed with the xserver update). Sometimes this
acceleration method is still a little slow (or quite slow in
some cases), so if you find the driver to be acting slower than
you're used to, first try:

Option "MigrationHeuristic" "greedy"

in xorg.conf. We may make this default until we update to
xserver 1.5, which needs to wait for it to be finalised and
released.

If it's still too slow, then instead you can revert to XAA
acceleration for 2d using:

Option "AccelMethod" "XAA"
A note on newer cards:
This new version of the radeon driver also supports newer cards
normally treated by the radeonhd driver, if you normally use
that driver, feel free to try this one if you're having any
trouble.

That should be all the gotchas. If you notice any regressions, please
notify myself (oga@) and Matthieu Herrb (matthieu@)

Cheers,

-0-
-- 
Don't take life too seriously -- you'll never get out of it alive.



Re: How can the bootprompt be removed from the bootloader on an amd64 system?

2008-07-02 Thread Jason Crawford
On Wed, Jul 2, 2008 at 6:36 PM, Jon <[EMAIL PROTECTED]> wrote:
> I would like the bootloader to accept no user input and do nothing but
> load the kernel.

man boot.conf
look for timeout



How can the bootprompt be removed from the bootloader on an amd64 system?

2008-07-02 Thread Jon
I would like the bootloader to accept no user input and do nothing but
load the kernel.



Iwi, wireless bad behavior

2008-07-02 Thread Edd Barrett

Hi,

If you get the wep key (or network name) wrong when configuring iwi 
network drivers the card becomes useless until you reboot. This is 
annoying when at a friends house and I mistype the key for example. I 
have tried taking the interface down and back up, it makes no difference.


Is there a way of resetting the card altogether?

thinky% ifconfig iwi0
iwi0: flags=8802 mtu 1500
lladdr 00:12:f0:79:36:41
groups: wlan
media: IEEE802.11 autoselect
status: no network
ieee80211: nwid "" 100dBm
thinky% sudo ifconfig iwi0 nwid SquishMitten nwkey 
0xedd1edd2edd3edd4edd5edd666

thinky% sudo dhclient iwi0
DHCPDISCOVER on iwi0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on iwi0 to 255.255.255.255 port 67 interval 9
DHCPOFFER from 192.168.1.254
DHCPREQUEST on iwi0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.254
bound to 192.168.1.69 -- renewal in 43200 seconds.
thinky% ifconfig iwi0 


iwi0: flags=8843 mtu 1500
lladdr 00:12:f0:79:36:41
groups: wlan egress
media: IEEE802.11 autoselect
status: active
ieee80211: nwid SquishMitten chan 1 bssid 00:11:95:54:90:97 
77dB nwkey  100dBm

inet6 fe80::212:f0ff:fe79:3641%iwi0 prefixlen 64 scopeid 0x1
inet 192.168.1.69 netmask 0xff00 broadcast 192.168.1.255
thinky% sudo ifconfig iwi0 nwid SquishMitten nwkey 
0xedd1edd2edd3edd4edd5edd667
thinky% sudo dhclient iwi0 


DHCPREQUEST on iwi0 to 255.255.255.255 port 67
DHCPREQUEST on iwi0 to 255.255.255.255 port 67
DHCPDISCOVER on iwi0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on iwi0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on iwi0 to 255.255.255.255 port 67 interval 15
^C
thinky% ifconfig iwi0 


iwi0: flags=8843 mtu 1500
lladdr 00:12:f0:79:36:41
groups: wlan egress
media: IEEE802.11 autoselect
status: no network
ieee80211: nwid SquishMitten nwkey  100dBm
inet6 fe80::212:f0ff:fe79:3641%iwi0 prefixlen 64 scopeid 0x1
inet 192.168.1.69 netmask 0xff00 broadcast 192.168.1.255
thinky% sudo ifconfig iwi0 nwid SquishMitten nwkey 
0xedd1edd2edd3edd4edd5edd666
thinky% sudo dhclient iwi0 


DHCPREQUEST on iwi0 to 255.255.255.255 port 67
DHCPREQUEST on iwi0 to 255.255.255.255 port 67
DHCPDISCOVER on iwi0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on iwi0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on iwi0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on iwi0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on iwi0 to 255.255.255.255 port 67 interval 19
^C
thinky% ifconfig iwi0 


iwi0: flags=8843 mtu 1500
lladdr 00:12:f0:79:36:41
groups: wlan egress
media: IEEE802.11 autoselect
status: no network
ieee80211: nwid SquishMitten nwkey  100dBm
inet6 fe80::212:f0ff:fe79:3641%iwi0 prefixlen 64 scopeid 0x1
inet 192.168.1.69 netmask 0xff00 broadcast 192.168.1.255

Thanks



Re: modulate state not working with snapshot from 01.07.2008 on i386

2008-07-02 Thread Ryan McBride
On Wed, Jul 02, 2008 at 04:19:21PM +0200, Michael wrote:
> topic says all I guess... if you need more details please let me know.

Well, with a bug report as detailed as this all I can say is it's
probably been fixed, try a new snapshot.



Re: getpwnam_r() missing on OpenBSD 4.3

2008-07-02 Thread (private) HKS
Backporting this is beyond my meager C abilities (and time to learn,
at the moment).

Running -current in our production environment is also impractical
since we only use OpenBSD on mission-critical router/firewall/vpn
boxes. However, I'll see about setting up a couple test boxes to make
sure the software packages I'm looking at will work as expected come
4.4.

Thanks anyhow for the help.

-HKS


On Wed, Jul 2, 2008 at 8:31 AM, Marc Espie <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 01, 2008 at 11:04:21AM -0400, (private) HKS wrote:
>> Let's hear it for my attention to detail.
>>
>> Does anybody happen to have a creative workaround for
>> threaded applications requesting this call? I'm experimenting
>> with changing the call to getpwnam(), but that's out of morbid
>> curiosity rather than a real fix.
>
> Use current, that will also help the project, since we're happy to
> have more people testing stuff.



Re: OpenBSD 4.3 + ALIX2C3 + Bowlfish + pppoe = not working

2008-07-02 Thread sguo
below is the log files from my linux box where ADSL is working:

Jul  3 02:05:57 gati pppd[6348]: sent [LCP ConfReq id=0x1  ]
Jul  3 02:05:57 gati pppd[6348]: rcvd [LCP ConfReq id=0xc5  ]
Jul  3 02:05:57 gati pppd[6348]: sent [LCP ConfAck id=0xc5  ]
Jul  3 02:05:57 gati pppd[6348]: rcvd [LCP ConfAck id=0x1  ]

I have checked openbsd box, the box is sending magic quote but does not
seems to receive any reply from the isp/modem.

Any clue?

Thanks,
Soragan
-- 
View this message in context: 
http://www.nabble.com/OpenBSD-4.3-%2B-ALIX2C3-%2B-Bowlfish-%2B-pppoe-%3D-not-working-tp18241176p18243573.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: Asus Eeepc 900

2008-07-02 Thread Marco Peereboom
We looked at mbalmer's at the hackathon and we were relatively sure it
wasn't acpi related.  If someone wants to loan/give me one for some time
I can try to figure out what is causing the hang.

Contact me off list if you are interested.

On Tue, Jul 01, 2008 at 10:28:53PM -0400, Curt Micol wrote:
> On Tue, Jul 1, 2008 at 2:31 PM, Eric Dillenseger
> <[EMAIL PROTECTED]> wrote:
> > I bought one of these and tried to install openbsd on it.
> > My first try was with 4.3 bsd booting over PXE.
> > As the ethernet wasn't recognized by the kernel I installed using a
> > usb thumb drive because I hadn't found how to boot from a usb device
> > at this moment.
> > Although the kernel claimed to recognize the atheros wireless card, I
> > couldn't use it (ath%d: ath_chan_set: unable to reset channel %u (%u
> > Mhz)).
> > Now I'm trying to boot bsd from a snapshot (as of yesterday 21:00
> > GMT+2) but the kernel hang on the sata driver apparently
> >
> > pciide0 at pci0 dev 31 function 2 "Intel 82801FBM SATA" rev 0x04: DMA,
> > channel 0 wired to compatibility, channel 1 wired to compatibility).
> >
> > Surprisingly, I tried and successfully booted bsd.mp a few times, but
> > it sometimes hang a little further on
> >
> > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16.
> >
> > And sometimes it inverts the SDCard slot and the usb disk so it's
> > kinda difficult to get a properly running box yet to test.
> >
> > I tried with bsd.rd and was able to install a working system and
> > again, booting bsd ain't working and bsd.mp often hangs on npx0 and
> > sometimes(rarely) boots successfully.
> >
> > Here's a dmesg:
> > OpenBSD 4.3-current (GENERIC.MP) #776: Sun Jun 29 11:34:39 MDT 2008
> >[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
> > cpu0: Intel(R) Celeron(R) M processor 900MHz ("GenuineIntel" 686-class) 901 
> > MHz
> > 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
> > real mem  = 1064398848 (1015MB)
> > avail mem = 1020956672 (973MB)
> > mainbus0 at root
> > bios0 at mainbus0: AT/286+ BIOS, date 05/12/08, BIOS32 rev. 0 @
> > 0xf0010, SMBIOS rev. 2.5 @ 0xf06f0 (37 entries)
> > bios0: vendor American Megatrends Inc. version "0501" date 05/12/2008
> > bios0: ASUSTeK Computer INC. 900
> > apm0 at bios0: Power Management spec V1.2
> > apm0: AC on, battery charge unknown
> > acpi at bios0 function 0x0 not configured
> > pcibios0 at bios0: rev 3.0 @ 0xf/0x1
> > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7410/176 (9 entries)
> > pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FB LPC" rev 0x00)
> > pcibios0: PCI bus #5 is the last bus
> > bios0: ROM list: 0xc/0xf800!
> > mainbus0: Intel MP Specification (Version 1.4)
> > cpu0 at mainbus0: apid 0 (boot processor)
> > cpu0: apic clock running at 100MHz
> > mainbus0: bus 0 is type PCI
> > mainbus0: bus 1 is type PCI
> > mainbus0: bus 2 is type PCI
> > mainbus0: bus 3 is type PCI
> > mainbus0: bus 4 is type PCI
> > mainbus0: bus 5 is type PCI
> > mainbus0: bus 6 is type ISA
> > ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
> > pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> > pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x04
> > vga1 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x04
> > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> > agp0 at vga1: aperture at 0xd000, size 0x1000
> > "Intel 82915GM Video" rev 0x04 at pci0 dev 2 function 1 not configured
> > azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x04:
> > apic 1 int 16 (irq 5)
> > azalia0: codec[s]: Realtek/0x0662
> > audio0 at azalia0
> > ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x04: apic 1
> > int 16 (irq 5)
> > pci_intr_map: bus 0 dev 28 func 0 pin 4; line 3
> > pci_intr_map: no MP mapping found
> > pci1 at ppb0 bus 4
> > ppb1 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x04: apic 1
> > int 17 (irq 11)
> > pci_intr_map: bus 0 dev 28 func 1 pin 4; line 3
> > pci_intr_map: no MP mapping found
> > pci2 at ppb1 bus 3
> > lii0 at pci2 dev 0 function 0 "Attansic Technology L2" rev 0xa0: apic
> > 1 int 17 (irq 11), address 00:1f:c6:8f:0d:ee
> > ukphy0 at lii0 phy 1: Generic IEEE 802.3u media interface, rev. 2: OUI
> > 0x001374, model 0x0002
> > ppb2 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x04: apic 1
> > int 18 (irq 10)
> > pci_intr_map: bus 0 dev 28 func 2 pin 4; line 3
> > pci_intr_map: no MP mapping found
> > pci3 at ppb2 bus 1
> > ath0 at pci3 dev 0 function 0 "Atheros AR5424" rev 0x01: apic 1 int 18 (irq 
> > 10)
> > ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR0W, address 00:15:af:a7:3d:55
> > uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: apic 1
> > int 23 (irq 7)
> > uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: apic 1
> > int 19 (irq 3)
> > uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0

OpenBSD 4.3 + ALIX2C3 + Bowlfish + pppoe = not working

2008-07-02 Thread sguo
Hi All,

I am having difficulty to get pppoe working with openbsd 4.3 and Alix2c3. I
am using in-kernel pppoe configuration following the article in the URL
below:

http://www.benjaminheckmann.de/howto/openbsd43_altq_v2.8.pdf

I have tried SpeedTouch 536 v6 and 2wire 2700HGV-2. Both in bridge mode. I
have a linux CentOS server running without problem with both modem.

However when i switched the UTP cable to my Alix2c3, the only thing i can
see in ifconfig for pppoe0 interface is PADI Sent. It keep retrying to send
PADI.

I tried GENERIC kernel, same problem.

As soon as i switch the cable back to linux and turn on pppoe, it connects
in seconds.

Any clue how to trace the problem? Any solutions or suggestion?

Thanks,
Soragan
-- 
View this message in context: 
http://www.nabble.com/OpenBSD-4.3-%2B-ALIX2C3-%2B-Bowlfish-%2B-pppoe-%3D-not-working-tp18241176p18241176.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



modulate state not working with snapshot from 01.07.2008 on i386

2008-07-02 Thread Michael
Hi,

topic says all I guess... if you need more details please let me know.


Michael



Re: your mail

2008-07-02 Thread Ryan McBride
On Wed, Jul 02, 2008 at 03:52:26AM -0700, kavitha reddy wrote:
> very recently  i bought openBSD 4.2 (pack of 3CD's).Now, as a part of my
> research work iam interested to know whether it is possible to show DoS
> attacks in openBSD 4.1  .If so let me know how can that be possible.As u said
> when a patch added to openBSD 4.2 , prevents remote DoS attacks.How can this
> be tested.

A good place to begin your research would be the errata page for OpenBSD
4.1, which lists all the critical patches that were made to this
release.

http://openbsd.org/errata41.html

In particular, look carefully at all the entries that say either
"SECURITY FIX" or "RELIABILITY FIX".

I hope this helps,

-Ryan



Re:

2008-07-02 Thread Jay Hart
Spot on!!!

Jay

> What a funny message :-)
> I want manual for DoS attack too.And for phishing,cracking,DDoS,remote
> execution of code,Buffer overflow and many others.Why to learn something?Just
> give me the manual now.
>
> I have help for you.Use google,buy some books and learn,read and try all new
> things on your small network.It's super for your knowledge.Even better for
> your research because you can learn something.
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> kavitha reddy
> Sent: Wednesday, July 02, 2008 12:52 PM
> To: misc@openbsd.org
> Subject:
>
> sir,
> Iam kavitha working as ASSOC. Prof. in a reputed engg. college,INDIA.I
> would be very much glad to if u can do this favour.
> very recently  i bought openBSD 4.2 (pack of 3CD's).Now, as a part of my
> research work iam interested to know whether it is possible to show DoS
> attacks in openBSD 4.1  .If so let me know how can that be possible.As u said
> when a patch added to openBSD 4.2 , prevents remote DoS attacks.How can this
> be tested.
> With ur kind help , i can further continue my research work on this.
> Anyhow, thanks for sparing ur valuable time to read this.
> kavitha



Re: getpwnam_r() missing on OpenBSD 4.3

2008-07-02 Thread Marc Espie
On Tue, Jul 01, 2008 at 11:04:21AM -0400, (private) HKS wrote:
> Let's hear it for my attention to detail.
> 
> Does anybody happen to have a creative workaround for
> threaded applications requesting this call? I'm experimenting
> with changing the call to getpwnam(), but that's out of morbid
> curiosity rather than a real fix.

Use current, that will also help the project, since we're happy to
have more people testing stuff.



Re:

2008-07-02 Thread Tomas Bodzar
What a funny message :-)
I want manual for DoS attack too.And for phishing,cracking,DDoS,remote
execution of code,Buffer overflow and many others.Why to learn something?Just
give me the manual now.

I have help for you.Use google,buy some books and learn,read and try all new
things on your small network.It's super for your knowledge.Even better for
your research because you can learn something.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
kavitha reddy
Sent: Wednesday, July 02, 2008 12:52 PM
To: misc@openbsd.org
Subject:

sir,
Iam kavitha working as ASSOC. Prof. in a reputed engg. college,INDIA.I
would be very much glad to if u can do this favour.
very recently  i bought openBSD 4.2 (pack of 3CD's).Now, as a part of my
research work iam interested to know whether it is possible to show DoS
attacks in openBSD 4.1  .If so let me know how can that be possible.As u said
when a patch added to openBSD 4.2 , prevents remote DoS attacks.How can this
be tested.
With ur kind help , i can further continue my research work on this.
Anyhow, thanks for sparing ur valuable time to read this.
kavitha



[no subject]

2008-07-02 Thread kavitha reddy
sir,
Iam kavitha working as ASSOC. Prof. in a reputed engg. college,INDIA.I
would be very much glad to if u can do this favour.
very recently  i bought openBSD 4.2 (pack of 3CD's).Now, as a part of my
research work iam interested to know whether it is possible to show DoS
attacks in openBSD 4.1  .If so let me know how can that be possible.As u said
when a patch added to openBSD 4.2 , prevents remote DoS attacks.How can this
be tested.
With ur kind help , i can further continue my research work on this.
Anyhow, thanks for sparing ur valuable time to read this.
kavitha



Re: Am I interpreting the man page of ksh incorrectly?

2008-07-02 Thread Otto Moerbeek
On Wed, Jul 02, 2008 at 04:23:05PM +0530, Amarendra Godbole wrote:

> The ksh man page reads: "The name of the shell (i.e. the contents of
> $0) is de-termined as follows: if the -c option is used and there is a
> non-option argument, it is used as the name; if commands are being
> read from a file, the file is used as the name; otherwise, the
> basename the shell was called with (i.e. argv[0]) is used.
> 
> The observed behavior is:
> [EMAIL PROTECTED] ~ $] ksh -c "echo $0"
> ksh
> [EMAIL PROTECTED] ~ $]
> 
> Now, according to the above snippet from the man-page, shouldn't the
> output be "echo", and not "ksh"? (echo is the non-option argument, and
> -c is also being used). Or am I messing things up in my mind? Thanks
> in advance for setting my train of thought straight.
> 
> -Amarendra

The invocation you use has no non-option argument, but a 'string' argument:
Check the synopsis:

ksh [-+abCefhiklmnpruvXx] [-+o option] [-c string | -s | file [argument ...]]

Compare this:

[EMAIL PROTECTED]:67]$ ksh -c 'echo $0' A 
A
[EMAIL PROTECTED]:68]$ 

BTW, use single quotes to avoid too-early expansion.



Re: Am I interpreting the man page of ksh incorrectly?

2008-07-02 Thread Raimo Niskanen
On Wed, Jul 02, 2008 at 04:23:05PM +0530, Amarendra Godbole wrote:
> The ksh man page reads: "The name of the shell (i.e. the contents of
> $0) is de-termined as follows: if the -c option is used and there is a
> non-option argument, it is used as the name; if commands are being
> read from a file, the file is used as the name; otherwise, the
> basename the shell was called with (i.e. argv[0]) is used.
> 
> The observed behavior is:
> [EMAIL PROTECTED] ~ $] ksh -c "echo $0"
> ksh
> [EMAIL PROTECTED] ~ $]
> 
> Now, according to the above snippet from the man-page, shouldn't the
> output be "echo", and not "ksh"? (echo is the non-option argument, and
> -c is also being used). Or am I messing things up in my mind? Thanks
> in advance for setting my train of thought straight.
> 

# ksh -c 'echo 0:$0 1:$1' hi you
0:hi 1:you

It seems to be the command line arguments (non-option) that apply.
Furthermore "echo $0" gets expanded before ksh invocation.

> -Amarendra

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



Am I interpreting the man page of ksh incorrectly?

2008-07-02 Thread Amarendra Godbole
The ksh man page reads: "The name of the shell (i.e. the contents of
$0) is de-termined as follows: if the -c option is used and there is a
non-option argument, it is used as the name; if commands are being
read from a file, the file is used as the name; otherwise, the
basename the shell was called with (i.e. argv[0]) is used.

The observed behavior is:
[EMAIL PROTECTED] ~ $] ksh -c "echo $0"
ksh
[EMAIL PROTECTED] ~ $]

Now, according to the above snippet from the man-page, shouldn't the
output be "echo", and not "ksh"? (echo is the non-option argument, and
-c is also being used). Or am I messing things up in my mind? Thanks
in advance for setting my train of thought straight.

-Amarendra



Re: dansguardian

2008-07-02 Thread LinuxUser
sorry .
i make mistakes .
because i can see some urls of
/etc/dansguardian/lists/blacklists/ads/domains.processed .

takesima



Re: newsyslog default archived directory

2008-07-02 Thread Jason McIntyre
On Wed, Jul 02, 2008 at 08:15:48AM +0059, Jason McIntyre wrote:
> On Wed, Jul 02, 2008 at 12:06:48AM -0700, Marco S Hyman wrote:
> > I wrote...
> >  > Did you think to read the man page for newsyslog? It mentions
> >  > a file called newsyslog.conf.  Hmmm, a configuration file.  I
> >  > wonder what's in it.  Oh, the man page also says SEE ALSO...
> >  > newsyslog.conf(5).
> > 
> > O ops... Our man page does not have the SEE ALSO entry (it should,
> > IMHO) but does list /etc/newsyslog.conf in the FILES section.  I
> > was on a different system when I checked.
> > 
> 
> heh. the catch is that newsyslog.conf(5) is an MLINK to syslog(8). so
> there's no point adding a pointer to the same page in SEE ALSO. this has
> confused me a good few times as well.
> 

er, an MLINK to newsyslog(8), not syslog(8). ugh.
jmc



Re: newsyslog default archived directory

2008-07-02 Thread Jason McIntyre
On Wed, Jul 02, 2008 at 12:06:48AM -0700, Marco S Hyman wrote:
> I wrote...
>  > Did you think to read the man page for newsyslog? It mentions
>  > a file called newsyslog.conf.  Hmmm, a configuration file.  I
>  > wonder what's in it.  Oh, the man page also says SEE ALSO...
>  > newsyslog.conf(5).
> 
> O ops... Our man page does not have the SEE ALSO entry (it should,
> IMHO) but does list /etc/newsyslog.conf in the FILES section.  I
> was on a different system when I checked.
> 

heh. the catch is that newsyslog.conf(5) is an MLINK to syslog(8). so
there's no point adding a pointer to the same page in SEE ALSO. this has
confused me a good few times as well.

>  > Read the man pages.  Read the configuration file.  You'll get
>  > your answer.
> 
> That still stands.
> 
> // marc

indeed.

jmc



Re: newsyslog default archived directory

2008-07-02 Thread Marco S Hyman
I wrote...
 > Did you think to read the man page for newsyslog? It mentions
 > a file called newsyslog.conf.  Hmmm, a configuration file.  I
 > wonder what's in it.  Oh, the man page also says SEE ALSO...
 > newsyslog.conf(5).

O ops... Our man page does not have the SEE ALSO entry (it should,
IMHO) but does list /etc/newsyslog.conf in the FILES section.  I
was on a different system when I checked.

 > Read the man pages.  Read the configuration file.  You'll get
 > your answer.

That still stands.

// marc