Re: OpenBSD hangs hard on a flashrd system with either 5.2 current or 5.1 stable with athn(4) patches

2012-09-11 Thread Jan Stary
  just run standard OpenBSD.  Or talk to the flashrd people.
 
  Fair point. I put on the 2012-10-04 snapshot and the system immediately
 became stable. I'll reply again once I've sorted a completely working
 wireless configuration (Android/athn aren't getting on, sadly)

I have the yesterday snapshot too on my AP,
an my android works fine with it.

Do you mean that other wireles clients work fine with
your AP, but android does not?

 and isolated the reason it wasn't working with flashrd.

Please send it to the appropriate list.



Re: OpenBSD hangs hard on a flashrd system with either 5.2 current or 5.1 stable with athn(4) patches

2012-09-11 Thread Chris Cappuccio
So, every time I increase the size of the ramdisk, I tempt fate. In other point 
of view, it's also the textbook definition as to why custom kernels aren't 
supported here. Clearly, something's missing.

Peter Kay [syllops...@syllopsium.co.uk] wrote:
 I have a Pentium III system running 5.1 current with athn(4) hostap power
 saving patches or 5.2 current. It has the slightly unusual configuration of
 an ISA video card (X not used) and a 64 bit PCI NIC hacked to run in a 32
 bit slot, but is otherwise a bog standard desktop. It's running flashrd due
 to using an IDE to compact flash adaptor.
 
 5.1 release is entirely stable (it may have hung once, perhaps, in months
 of operation).
 
 Once I put on 5.2 current (from a few days ago) or 5.1 stable with the
 latest athn patches the system hangs hard, in around 20 minutes to an hour.
 No response from network, console or anything suspicious in the log if I
 leave a tail -f /var/log/messages running. I suspect the athn patches
 aren't the problem, but they're the whole reason I'm trying to patch the
 firewall.
 
 I can try other hardware on a temporary basis, but what's the best method
 of diagnosing failure/possible things to try? Yes, flashrd does run a
 custom kernel, but the differences aren't that major and 5.1 release is
 reliable.
 
 dmesg :
 
 OpenBSD 5.1-stable (FLASHRD) #0: Mon Sep  3 04:52:51 BST 2012
 r...@fwbuilder.syllopsium.com:/usr/src/sys/arch/i386/compile/FLASHRD
 cpu0: Intel Pentium III (GenuineIntel 686-class, 512KB L2 cache) 502 MHz
 cpu0:
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE
 real mem  = 267907072 (255MB)
 avail mem = 250122240 (238MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 04/23/99, BIOS32 rev. 0 @ 0xfb220,
 SMBIOS rev. 2.2 @ 0xf0800 (34 entries)
 bios0: vendor Award Software International, Inc. version
 HW.27.04(QHW.04.00) date 04/23/1999
 bios0: Hewlett-Packard HP Vectra
 apm0 at bios0: Power Management spec V1.2 (slowidle)
 acpi at bios0 function 0x0 not configured
 pcibios0 at bios0: rev 2.1 @ 0xf/0xb6a0
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf00/144 (7 entries)
 pcibios0: PCI Exclusive IRQs: 3 10 11 15
 pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371SB ISA rev 0x00)
 pcibios0: PCI bus #2 is the last bus
 bios0: ROM list: 0xc/0x8000
 cpu0 at mainbus0: (uniprocessor)
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03
 intelagp0 at pchb0
 agp0 at intelagp0: aperture at 0xe000, size 0x400
 ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03
 pci1 at ppb0 bus 1
 clcs0 at pci0 dev 4 function 0 Cirrus Logic CS4280/46xx CrystalClear rev
 0x01: irq 3
 ac97: codec id 0x43525903 (Cirrus Logic CS4297 rev 3)
 ac97: codec features headphone, 18 bit DAC, 18 bit ADC, No 3D Stereo
 piixpcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x02
 pciide0 at pci0 dev 7 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: CF Card
 wd0: 1-sector PIO, LBA, 961MB, 1969632 sectors
 wd0(pciide0:0:0): using PIO mode 4
 pciide0: channel 1 ignored (disabled)
 uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 15
 piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x02: polling
 iic0 at piixpm0
 spdmem0 at iic0 addr 0x50: 128MB SDRAM non-parity PC100CL3
 spdmem1 at iic0 addr 0x51: 128MB SDRAM non-parity PC133CL3
 athn0 at pci0 dev 15 function 0 Atheros AR5416 rev 0x01: irq 11
 athn0: MAC AR5416 rev 2, RF AR2133 (3T2R), ROM rev 5, address
 b0:48:7a:ec:9f:34
 ppb1 at pci0 dev 16 function 0 DEC 21154 PCI-PCI rev 0x02
 pci2 at ppb1 bus 2
 fxp0 at pci2 dev 4 function 0 Intel 8255x rev 0x05, i82558: irq 3,
 address 00:08:c7:91:b5:2a
 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
 fxp1 at pci2 dev 5 function 0 Intel 8255x rev 0x05, i82558: irq 10,
 address 00:08:c7:91:b5:2b
 inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 0
 isa0 at piixpcib0
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard
 vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
 wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 cannot support dma lance devices
 pcppi0 at isa0 port 0x61
 spkr0 at pcppi0
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 usb0 at uhci0: USB revision 1.0
 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
 mtrr: Pentium Pro MTRR support
 vscsi0 at root
 scsibus0 at vscsi0: 256 targets
 softraid0 at root
 scsibus1 at softraid0: 256 targets
 root on rd0a swap on rd0b dump on rd0b
 clcs0: image download error
 WARNING: /flash was not properly unmounted
 
 Thanks for any help
 
 Peter

-- 
Keep them laughing half the time, scared of you the other half. And always keep 
them guessing. -- Clair George



Re: OpenBSD hangs hard on a flashrd system with either 5.2 current or 5.1 stable with athn(4) patches

2012-09-10 Thread Peter Kay
 On 7 September 2012 12:27, Nick Holland n...@holland-consulting.netwrote:

 On 09/07/12 03:58, Peter Kay wrote:
  I have a Pentium III system running 5.1 current with athn(4) hostap power
  saving patches or 5.2 current. It has the slightly unusual configuration
 of
  an ISA video card (X not used) and a 64 bit PCI NIC hacked to run in a 32
  bit slot, but is otherwise a bog standard desktop. It's running flashrd
 due
  to using an IDE to compact flash adaptor.

 No.  You have a 1GB flash card, that's easily twice what you need to
 install standard OpenBSD, at which point, we would care about the results.
 ...

 just run standard OpenBSD.  Or talk to the flashrd people.

 Fair point. I put on the 2012-10-04 snapshot and the system immediately
became stable. I'll reply again once I've sorted a completely working
wireless configuration (Android/athn aren't getting on, sadly) and isolated
the reason it wasn't working with flashrd.



OpenBSD hangs hard on a flashrd system with either 5.2 current or 5.1 stable with athn(4) patches

2012-09-07 Thread Peter Kay
I have a Pentium III system running 5.1 current with athn(4) hostap power
saving patches or 5.2 current. It has the slightly unusual configuration of
an ISA video card (X not used) and a 64 bit PCI NIC hacked to run in a 32
bit slot, but is otherwise a bog standard desktop. It's running flashrd due
to using an IDE to compact flash adaptor.

5.1 release is entirely stable (it may have hung once, perhaps, in months
of operation).

Once I put on 5.2 current (from a few days ago) or 5.1 stable with the
latest athn patches the system hangs hard, in around 20 minutes to an hour.
No response from network, console or anything suspicious in the log if I
leave a tail -f /var/log/messages running. I suspect the athn patches
aren't the problem, but they're the whole reason I'm trying to patch the
firewall.

I can try other hardware on a temporary basis, but what's the best method
of diagnosing failure/possible things to try? Yes, flashrd does run a
custom kernel, but the differences aren't that major and 5.1 release is
reliable.

dmesg :

OpenBSD 5.1-stable (FLASHRD) #0: Mon Sep  3 04:52:51 BST 2012
r...@fwbuilder.syllopsium.com:/usr/src/sys/arch/i386/compile/FLASHRD
cpu0: Intel Pentium III (GenuineIntel 686-class, 512KB L2 cache) 502 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE
real mem  = 267907072 (255MB)
avail mem = 250122240 (238MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/23/99, BIOS32 rev. 0 @ 0xfb220,
SMBIOS rev. 2.2 @ 0xf0800 (34 entries)
bios0: vendor Award Software International, Inc. version
HW.27.04(QHW.04.00) date 04/23/1999
bios0: Hewlett-Packard HP Vectra
apm0 at bios0: Power Management spec V1.2 (slowidle)
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0xb6a0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf00/144 (7 entries)
pcibios0: PCI Exclusive IRQs: 3 10 11 15
pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371SB ISA rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0x8000
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xe000, size 0x400
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03
pci1 at ppb0 bus 1
clcs0 at pci0 dev 4 function 0 Cirrus Logic CS4280/46xx CrystalClear rev
0x01: irq 3
ac97: codec id 0x43525903 (Cirrus Logic CS4297 rev 3)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, No 3D Stereo
piixpcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x02
pciide0 at pci0 dev 7 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: CF Card
wd0: 1-sector PIO, LBA, 961MB, 1969632 sectors
wd0(pciide0:0:0): using PIO mode 4
pciide0: channel 1 ignored (disabled)
uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 15
piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x02: polling
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 128MB SDRAM non-parity PC100CL3
spdmem1 at iic0 addr 0x51: 128MB SDRAM non-parity PC133CL3
athn0 at pci0 dev 15 function 0 Atheros AR5416 rev 0x01: irq 11
athn0: MAC AR5416 rev 2, RF AR2133 (3T2R), ROM rev 5, address
b0:48:7a:ec:9f:34
ppb1 at pci0 dev 16 function 0 DEC 21154 PCI-PCI rev 0x02
pci2 at ppb1 bus 2
fxp0 at pci2 dev 4 function 0 Intel 8255x rev 0x05, i82558: irq 3,
address 00:08:c7:91:b5:2a
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
fxp1 at pci2 dev 5 function 0 Intel 8255x rev 0x05, i82558: irq 10,
address 00:08:c7:91:b5:2b
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 0
isa0 at piixpcib0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
cannot support dma lance devices
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b
clcs0: image download error
WARNING: /flash was not properly unmounted

Thanks for any help

Peter



Re: OpenBSD hangs hard on a flashrd system with either 5.2 current or 5.1 stable with athn(4) patches

2012-09-07 Thread Nick Holland
On 09/07/12 03:58, Peter Kay wrote:
 I have a Pentium III system running 5.1 current with athn(4) hostap power
 saving patches or 5.2 current. It has the slightly unusual configuration of
 an ISA video card (X not used) and a 64 bit PCI NIC hacked to run in a 32
 bit slot, but is otherwise a bog standard desktop. It's running flashrd due
 to using an IDE to compact flash adaptor.

No.  You have a 1GB flash card, that's easily twice what you need to
install standard OpenBSD, at which point, we would care about the results.
...

 I can try other hardware on a temporary basis, but what's the best method
 of diagnosing failure/possible things to try? Yes, flashrd does run a
 custom kernel, but the differences aren't that major and 5.1 release is
 reliable.

just run standard OpenBSD.  Or talk to the flashrd people.

Nick.

 
 dmesg :
 
 OpenBSD 5.1-stable (FLASHRD) #0: Mon Sep  3 04:52:51 BST 2012
 r...@fwbuilder.syllopsium.com:/usr/src/sys/arch/i386/compile/FLASHRD
...
 pciide0 at pci0 dev 7 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: CF Card
 wd0: 1-sector PIO, LBA, 961MB, 1969632 sectors
 wd0(pciide0:0:0): using PIO mode 4
...