From owner-freebsd-proliant@FreeBSD.ORG Mon Feb 12 20:43:42 2007 Return-Path: X-Original-To: freebsd-proliant@freebsd.org Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90F0E16A402 for ; Mon, 12 Feb 2007 20:43:42 +0000 (UTC) (envelope-from woodstock@index.hu) Received: from mail08.vipmail.hu (mail08.vipmail.hu [195.56.151.72]) by mx1.freebsd.org (Postfix) with ESMTP id 6958B13C441 for ; Mon, 12 Feb 2007 20:43:40 +0000 (UTC) (envelope-from woodstock@index.hu) Received: (qmail 25539 invoked by uid 89); 12 Feb 2007 20:16:59 -0000 Message-ID: <20070212201659.25537.qmail@mail08.vipmail.hu> To: Received: from clam.niwa.co.nz [202.36.29.1] by with HTTP; Mon, 12 Feb 2007 21:16:59 +0100 From: "Adam" Date: Mon, 12 Feb 2007 21:16:59 CET Errors-To: X-Priority: 1 X-Mailer: VIPmail v.2.6 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Subject: FreeBSd 6.1 to 6.2 upgrade kernel errors: unknown: I/O range not supported X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Feb 2007 20:43:42 -0000 Hi list, =20 Last Friday I upgraded my 6.1 to 6.2. This box is Compaq DL320G1 with the = all latest firmwares running only cvsup-mirror service for other servers. N= o customization, any extra setting, default setup whatsoever. =20 The upgrade went fine, no problems I encountered. It was not binary upgrad= e and I must admit that it was my FIRST upgrade on FreeBSD so followed basi= cally the handbook step by step. =20 After the upgrade at reboot I get weird errors (I/O range not supported) I= don't quite like hence not dare to proceed with other production servers. = The box behaves normal but these messages just make me concerned not to men= tion that at a certain stage (finding HW RAID array) the box hangs for a mi= nute (didn't do before, HDD goes nuts) then mounts partitions and proceeds = the boot process. Here it is my verbose dmesg: =20 Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE #0: Fri Feb 9 08:52:41 NZDT 2007 root@host.domain.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0b55000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0b550cc. Table 'FACP' at 0xe80d0 Table 'APIC' at 0xe8144 MADT: Found table at 0xe8144 MP Configuration Table version 1.4 found at 0xc00f0b30 APIC: Using the MADT enumerator. MADT: Found CPU APIC ID 0 ACPI ID 0: enabled ACPI APIC Table: Calibrating clock(s) ... i8254 clock: 1193168 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 1258216274 Hz CPU: Intel(R) Pentium(R) III CPU family 1266MHz (1258.22-MHz 686-class CPU= ) Origin =3D "GenuineIntel" Id =3D 0x6b1 Stepping =3D 1 Features=3D0x383fbff real memory =3D 268435456 (256 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages) 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages) 0x0000000000c25000 - 0x000000000fb3dfff, 250712064 bytes (61209 pages) avail memory =3D 253149184 (241 MB) bios32: Found BIOS32 Service Directory header at 0xc00fa000 bios32: Entry =3D 0xeca00 (c00eca00) Rev =3D 0 Len =3D 1 pcibios: PCI BIOS entry at 0xeca00+0x1036 pnpbios: Found PnP BIOS data at 0xc00f7b10 pnpbios: Entry =3D f0000:6529 Rev =3D 1.0 Other BIOS signatures found: APIC: CPU 0 has ACPI ID 0 MADT: Found IO APIC ID 8, Interrupt 0 at 0xfec00000 ioapic0: Routing external 8259A's -> intpin 0 ioapic0: intpin 0 -> ExtINT (edge, high) ioapic0: intpin 1 -> ISA IRQ 1 (edge, high) ioapic0: intpin 2 -> ISA IRQ 2 (edge, high) ioapic0: intpin 3 -> ISA IRQ 3 (edge, high) ioapic0: intpin 4 -> ISA IRQ 4 (edge, high) ioapic0: intpin 5 -> ISA IRQ 5 (edge, high) ioapic0: intpin 6 -> ISA IRQ 6 (edge, high) ioapic0: intpin 7 -> ISA IRQ 7 (edge, high) ioapic0: intpin 8 -> ISA IRQ 8 (edge, high) ioapic0: intpin 9 -> ISA IRQ 9 (edge, high) ioapic0: intpin 10 -> ISA IRQ 10 (edge, high) ioapic0: intpin 11 -> ISA IRQ 11 (edge, high) ioapic0: intpin 12 -> ISA IRQ 12 (edge, high) ioapic0: intpin 13 -> ISA IRQ 13 (edge, high) ioapic0: intpin 14 -> ISA IRQ 14 (edge, high) ioapic0: intpin 15 -> ISA IRQ 15 (edge, high) MADT: Found IO APIC ID 3, Interrupt 16 at 0xfec01000 ioapic1: intpin 0 -> PCI IRQ 16 (level, low) ioapic1: intpin 1 -> PCI IRQ 17 (level, low) ioapic1: intpin 2 -> PCI IRQ 18 (level, low) ioapic1: intpin 3 -> PCI IRQ 19 (level, low) ioapic1: intpin 4 -> PCI IRQ 20 (level, low) ioapic1: intpin 5 -> PCI IRQ 21 (level, low) ioapic1: intpin 6 -> PCI IRQ 22 (level, low) ioapic1: intpin 7 -> PCI IRQ 23 (level, low) ioapic1: intpin 8 -> PCI IRQ 24 (level, low) ioapic1: intpin 9 -> PCI IRQ 25 (level, low) ioapic1: intpin 10 -> PCI IRQ 26 (level, low) ioapic1: intpin 11 -> PCI IRQ 27 (level, low) ioapic1: intpin 12 -> PCI IRQ 28 (level, low) ioapic1: intpin 13 -> PCI IRQ 29 (level, low) ioapic1: intpin 14 -> PCI IRQ 30 (level, low) ioapic1: intpin 15 -> PCI IRQ 31 (level, low) MADT: Interrupt override: source 0, irq 2 ioapic0: Routing IRQ 0 -> intpin 2 ioapic0: intpin 2 trigger: edge ioapic0: intpin 2 polarity: high MADT: Interrupt override: source 9, irq 9 ioapic0: intpin 9 trigger: level ioapic0: intpin 9 polarity: low lapic0: Routing NMI -> LINT1 lapic0: LINT1 trigger: edge lapic0: LINT1 polarity: high ioapic1 irqs 16-31 on motherboard ioapic0 irqs 0-15 on motherboard cpu0 BSP: ID: 0x00000000 VER: 0x00040011 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00000000 err: 0x000100f0 pcm: 0x00010000 wlan: ath_rate: version 1.2 null: random: nfslock: pseudo-device io: kbd: new array size 4 kbd1 at kbdmux0 mem: Pentium Pro MTRR support enabled ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) rr232x: RocketRAID 232x controller driver v1.02 (Feb 9 2007 08:52:15) npx0: INT 16 interface acpi0: on motherboard ioapic0: routing intpin 9 (ISA IRQ 9) to vector 48 acpi0: [MPSAFE] acpi0: wakeup code va 0xc7224000 pa 0x9e000 pci_open(1): mode 1 addr port (0x0cf8) is 0x80000070 pci_open(1a): mode1res=3D0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=3D060000] [hdr=3D80] is there (id=3D00091166= ) pcibios: BIOS version 2.10 Found $PIR table, 8 entries at 0xc00ede80 PCI-Only Interrupts: none Location Bus Device Pin Link IRQs embedded 0 15 A 0x01 3 4 5 7 10 11 14 15 embedded 0 15 B 0xff none embedded 0 15 C 0xff none embedded 0 15 D 0xff none embedded 0 2 A 0x18 3 4 5 7 10 11 14 15 embedded 0 2 B 0xff none embedded 0 2 C 0xff none embedded 0 2 D 0xff none embedded 0 3 A 0x19 3 4 5 7 10 11 14 15 embedded 0 3 B 0xff none embedded 0 3 C 0xff none embedded 0 3 D 0xff none embedded 1 3 A 0x15 3 4 5 7 10 11 14 15 embedded 1 3 B 0xff none embedded 1 3 C 0xff none embedded 1 3 D 0xff none embedded 1 4 A 0x16 3 4 5 7 10 11 14 15 embedded 1 4 B 0xff none embedded 1 4 C 0xff none embedded 1 4 D 0xff none embedded 1 2 A 0x14 3 4 5 7 10 11 14 15 embedded 1 2 B 0xff none embedded 1 2 C 0xff none embedded 1 2 D 0xff none embedded 1 5 A 0x14 3 4 5 7 10 11 14 15 embedded 1 5 B 0xff none embedded 1 5 C 0xff none embedded 1 5 D 0xff none slot 1 1 1 A 0x10 3 4 5 7 10 11 14 15 slot 1 1 1 B 0x11 3 4 5 7 10 11 14 15 slot 1 1 1 C 0x12 3 4 5 7 10 11 14 15 slot 1 1 1 D 0x13 3 4 5 7 10 11 14 15 AcpiOsDerivePciId: bus 0 dev 0 func 0 AcpiOsDerivePciId: bus 0 dev 0 func 1 unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported unknown: I/O range not supported ACPI timer: 0/3 0/3 0/4 0/5 0/4 0/4 0/4 0/3 0/4 0/4 -> 0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: port 0xf808-0xf80b on acpi0 pci_link0: Links after initial probe: Index IRQ Rtd Ref IRQs 0 3 N 0 3 4 5 7 10 11 14 15 pci_link0: Links after initial validation: Index IRQ Rtd Ref IRQs 0 3 N 0 3 4 5 7 10 11 14 15 pci_link0: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link1: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link1: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link1: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link2: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link2: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link2: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link3: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link3: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link3: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link4: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link4: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link4: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link5: Links after initial probe: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 7 10 11 14 15 pci_link5: Links after initial validation: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 7 10 11 14 15 pci_link5: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link6: Links after initial probe: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 7 10 11 14 15 pci_link6: Links after initial validation: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 7 10 11 14 15 pci_link6: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link7: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link7: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link7: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link8: Links after initial probe: Index IRQ Rtd Ref IRQs 0 10 N 0 3 4 5 7 10 11 14 15 pci_link8: Links after initial validation: Index IRQ Rtd Ref IRQs 0 10 N 0 3 4 5 7 10 11 14 15 pci_link8: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link9: Links after initial probe: Index IRQ Rtd Ref IRQs 0 7 N 0 3 4 5 7 10 11 14 15 pci_link9: Links after initial validation: Index IRQ Rtd Ref IRQs 0 7 N 0 3 4 5 7 10 11 14 15 pci_link9: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link10: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link10: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link10: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link11: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link11: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link11: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link12: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link12: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link12: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link13: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link13: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link13: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link14: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link14: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link14: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link15: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link15: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link15: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 pci_link16: Links after initial probe: Index IRQ Rtd Ref IRQs 0 5 N 0 3 4 5 7 10 11 14 15 pci_link16: Links after initial validation: Index IRQ Rtd Ref IRQs 0 5 N 0 3 4 5 7 10 11 14 15 pci_link16: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 7 10 11 14 15 cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_throttle0: P_CNT from P_BLK 0xf810 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: physical bus=3D0 found-> vendor=3D0x1166, dev=3D0x0009, revid=3D0x06 bus=3D0, slot=3D0, func=3D0 class=3D06-00-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0147, statreg=3D0x2200, cachelnsz=3D8 (dwords) lattimer=3D0x40 (1920 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) found-> vendor=3D0x1166, dev=3D0x0009, revid=3D0x06 bus=3D0, slot=3D0, func=3D1 class=3D06-00-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0147, statreg=3D0x0200, cachelnsz=3D8 (dwords) lattimer=3D0x40 (1920 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) found-> vendor=3D0x1002, dev=3D0x4752, revid=3D0x27 bus=3D0, slot=3D2, func=3D0 class=3D03-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0087, statreg=3D0x0290, cachelnsz=3D8 (dwords) lattimer=3D0x42 (1980 ns), mingnt=3D0x08 (2000 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D10 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base b0000000, size 24, enabled map[14]: type 4, range 32, base 00001000, size 8, enabled map[18]: type 1, range 32, base b1000000, size 12, enabled pcib0: matched entry for 0.2.INTA pcib0: slot 2 INTA hardwired to IRQ 24 found-> vendor=3D0x0e11, dev=3D0xa0f0, revid=3D0x00 bus=3D0, slot=3D3, func=3D0 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0003, statreg=3D0x0200, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D7 map[10]: type 4, range 32, base 00001400, size 8, enabled map[14]: type 1, range 32, base b1200000, size 8, enabled pcib0: matched entry for 0.3.INTA pcib0: slot 3 INTA hardwired to IRQ 25 found-> vendor=3D0x1166, dev=3D0x0200, revid=3D0x51 bus=3D0, slot=3D15, func=3D0 class=3D06-01-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0007, statreg=3D0x0200, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) map[90]: type 4, range 32, base 0000fc00, size 4, enabled found-> vendor=3D0x1166, dev=3D0x0211, revid=3D0x00 bus=3D0, slot=3D15, func=3D1 class=3D01-01-8a, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0145, statreg=3D0x0200, cachelnsz=3D0 (dwords) lattimer=3D0x42 (1980 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) map[20]: type 4, range 32, base 00001800, size 4, enabled found-> vendor=3D0x1166, dev=3D0x0220, revid=3D0x04 bus=3D0, slot=3D15, func=3D2 class=3D0c-03-10, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0017, statreg=3D0x0280, cachelnsz=3D8 (dwords) lattimer=3D0x40 (1920 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x50 (20000 ns) intpin=3Da, irq=3D5 map[10]: type 1, range 32, base b1100000, size 12, enabled pcib0: matched entry for 0.15.INTA pcib0: slot 15 INTA hardwired to IRQ 23 pci0: at device 2.0 (no driver attached) pci0: at device 3.0 (no driver attached) isab0: port 0xfc00-0xfc0f at device 15.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1800-0x180f at device = 15.1 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x1800 ata0: on atapci0 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 ata0: reset tp1 mask=3D03 ostat0=3D60 ostat1=3D70 ata0: stat0=3D0x20 err=3D0x20 lsb=3D0x20 msb=3D0x20 ata0: stat1=3D0x30 err=3D0x30 lsb=3D0x30 msb=3D0x30 ata0: reset tp2 stat0=3D20 stat1=3D30 devices=3D0x0 ioapic0: routing intpin 14 (ISA IRQ 14) to vector 49 ata0: [MPSAFE] ata1: on atapci0 atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 ata1: reset tp1 mask=3D03 ostat0=3D50 ostat1=3D01 ata1: stat0=3D0x00 err=3D0x01 lsb=3D0x14 msb=3D0xeb ata1: stat1=3D0x00 err=3D0x04 lsb=3D0x00 msb=3D0x00 ata1: reset tp2 stat0=3D00 stat1=3D00 devices=3D0x4 ioapic0: routing intpin 15 (ISA IRQ 15) to vector 50 ata1: [MPSAFE] ohci0: mem 0xb1100000-0xb1100fff irq 23 at device 15.2 on pci0 ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xb1100000 ohci0: (New OHCI DeviceId=3D0x02201166) ioapic1: routing intpin 7 (PCI IRQ 23) to vector 51 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered pcib1: on acpi0 pci1: on pcib1 pci1: physical bus=3D1 found-> vendor=3D0x0e11, dev=3D0xb178, revid=3D0x01 bus=3D1, slot=3D1, func=3D0 class=3D01-04-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0157, statreg=3D0x02b0, cachelnsz=3D8 (dwords) lattimer=3D0x47 (2130 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D3 powerspec 2 supports D0 D1 D3 current D0 MSI supports 2 messages, 64 bit map[10]: type 1, range 64, base d0000000, size 18, enabled map[18]: type 4, range 32, base 0000b000, size 8, enabled map[1c]: type 3, range 64, base d0500000, size 14, enabled pcib1: matched entry for 1.1.INTA pcib1: slot 1 INTA hardwired to IRQ 16 found-> vendor=3D0x8086, dev=3D0x1229, revid=3D0x08 bus=3D1, slot=3D3, func=3D0 class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0017, statreg=3D0x0290, cachelnsz=3D8 (dwords) lattimer=3D0x42 (1980 ns), mingnt=3D0x08 (2000 ns), maxlat=3D0x38 (14000 n= s) intpin=3Da, irq=3D11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base d0300000, size 12, enabled map[14]: type 4, range 32, base 0000b400, size 6, enabled map[18]: type 1, range 32, base d0100000, size 20, enabled pcib1: matched entry for 1.3.INTA pcib1: slot 3 INTA hardwired to IRQ 21 found-> vendor=3D0x8086, dev=3D0x1229, revid=3D0x08 bus=3D1, slot=3D4, func=3D0 class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0017, statreg=3D0x0290, cachelnsz=3D8 (dwords) lattimer=3D0x42 (1980 ns), mingnt=3D0x08 (2000 ns), maxlat=3D0x38 (14000 n= s) intpin=3Da, irq=3D11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base d0400000, size 12, enabled map[14]: type 4, range 32, base 0000b440, size 6, enabled map[18]: type 1, range 32, base d0200000, size 20, enabled pcib1: matched entry for 1.4.INTA pcib1: slot 4 INTA hardwired to IRQ 22 ciss0: port 0xb000-0xb0ff mem 0xd0000000-0xd003ffff,0xd0500000-0xd0503fff = irq 16 at device 1.0 on pci1 ciss0: Reserved 0x40000 bytes for rid 0x10 type 3 at 0xd0000000 ioapic1: routing intpin 0 (PCI IRQ 16) to vector 52 ciss0: [GIANT-LOCKED] ciss0: using 256 of 1024 available commands ciss0: firmware 2.58 ciss0: 2 SCSI channels ciss0: signature 'CISS' ciss0: valence 1 ciss0: supported I/O methods 0x6 ciss0: active I/O method 0x3 ciss0: 4G page base 0x00000000 ciss0: interrupt coalesce delay 1000us ciss0: interrupt coalesce count 16 ciss0: max outstanding commands 1024 ciss0: bus types 0x2 ciss0: server name '' ciss0: heartbeat 0x30000027 ciss0: 2 physical devices ciss0: 1 logical drive ciss0: logical drive (b0t0): RAID 1, 34304MB online fxp0: port 0xb400-0xb43f mem 0xd0300000-0xd0300fff,0xd0100000-0xd01fffff i= rq 21 at device 3.0 on pci1 fxp0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xd0300000 fxp0: using memory space register mapping fxp0: PCI IDs: 8086 1229 0e11 b134 0008 fxp0: Dynamic Standby mode is disabled miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: bpf attached fxp0: Ethernet address: 00:08:02:45:b3:db ioapic1: routing intpin 5 (PCI IRQ 21) to vector 53 fxp0: [MPSAFE] fxp1: port 0xb440-0xb47f mem 0xd0400000-0xd0400fff,0xd0200000-0xd02fffff i= rq 22 at device 4.0 on pci1 fxp1: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xd0400000 fxp1: using memory space register mapping fxp1: PCI IDs: 8086 1229 0e11 b134 0008 fxp1: Dynamic Standby mode is disabled miibus1: on fxp1 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: bpf attached fxp1: Ethernet address: 00:08:02:45:b2:85 ioapic1: routing intpin 6 (PCI IRQ 22) to vector 54 fxp1: [MPSAFE] acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 ioapic0: routing intpin 1 (ISA IRQ 1) to vector 55 atkbd0: [GIANT-LOCKED] psm0: unable to allocate IRQ sio0: irq maps: 0x8201 0x8211 0x8201 0x8201 sio0: port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ioapic0: routing intpin 4 (ISA IRQ 4) to vector 56 fdc0: port 0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: ic_type 90 part_id 73 ioapic0: routing intpin 6 (ISA IRQ 6) to vector 57 fdc0: [MPSAFE] fdc0: [FAST] fd0: on fdc0 drive 0 unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff ex_isa_identify() ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it fdc: fdc0 already exists; skipping it sio: sio0 already exists; skipping it pnp_identify: Trying Read_Port at 203 pnp_identify: Trying Read_Port at 243 pnp_identify: Trying Read_Port at 283 pnp_identify: Trying Read_Port at 2c3 pnp_identify: Trying Read_Port at 303 pnp_identify: Trying Read_Port at 343 pnp_identify: Trying Read_Port at 383 pnp_identify: Trying Read_Port at 3c3 PNP Identify complete ahc_isa_probe 0: ioport 0xc00 alloc failed sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xcffff,0xd0000-0xd3fff,0xe8000-0xe= ffff on isa0 adv0: not probed (disabled) aha0: not probed (disabled) aic0: not probed (disabled) bt0: not probed (disabled) cs0: not probed (disabled) ed0: not probed (disabled) fe0: not probed (disabled) ie0: not probed (disabled) lnc0: not probed (disabled) ppc0: parallel port not found. ppc0: failed to probe at irq 7 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA sc0: fb0, kbd1, terminal emulator: sc (syscons terminal) sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: irq maps: 0x8201 0x8201 0x8201 0x8201 sio1: probe failed test(s): 0 1 2 4 6 7 9 sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0 sio2: not probed (disabled) sio3: not probed (disabled) sn0: not probed (disabled) vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 vt0: not probed (disabled) isa_probe_children: probing PnP devices Device configuration finished. procfs registered lapic: Divisor 2, Frequency 66221787 hz Timecounter "TSC" frequency 1258216274 Hz quality 800 Timecounters tick every 1.000 msec lo0: bpf attached rr232x: no controller detected. ata1-master: pio=3DPIO4 wdma=3DWDMA2 udma=3DUNSUPPORTED cable=3D40 wire acd0: setting PIO4 on ROSB4 chip acd0: CDROM drive at ata1 as master acd0: read 4125KB/s (4125KB/s), 128KB buffer, PIO4 acd0: Reads: CDR, CDRW, CDDA stream, packet acd0: Writes: acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: no/blank disc ciss0: command status 0x1 (target status) scsi status 0x2 (probe0:ciss0:0:0:0): error 22 (probe0:ciss0:0:0:0): Unretryable Error ciss0: command status 0x1 (target status) scsi status 0x2 (probe0:ciss0:0:0:0): error 22 (probe0:ciss0:0:0:0): Unretryable Error pass0 at ciss0 bus 0 target 0 lun 0 pass0: Fixed Direct Access SCSI-0 device pass0: 135.168MB/s transfers ATA PseudoRAID loaded da0 at ciss0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 135.168MB/s transfers da0: 34727MB (71122560 512 byte sectors: 255H 32S/T 8716C) GEOM: new disk da0 Trying to mount root from ufs:/dev/da0s1a start_init: trying /sbin/init Linux ELF exec handler installed =20 =20 I would appreciate if somebody could explain why it is or just explain thi= s situation (if ignorable) =20 Thanks, Adam =20 --------------------------Hirdet=E9s----------------------------- Tanuljon nyelvet k=FClf=F6ld=F6n! From owner-freebsd-proliant@FreeBSD.ORG Tue Feb 13 13:02:13 2007 Return-Path: X-Original-To: freebsd-proliant@freebsd.org Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C0B6F16A407 for ; Tue, 13 Feb 2007 13:02:13 +0000 (UTC) (envelope-from soren@klintrup.dk) Received: from mail.telmore.dk (mail.telmore.dk [62.242.232.133]) by mx1.freebsd.org (Postfix) with ESMTP id 8B5AD13C49D for ; Tue, 13 Feb 2007 13:02:13 +0000 (UTC) (envelope-from soren@klintrup.dk) Received: from [192.168.11.31] (unknown [192.168.11.31]) by mail.telmore.dk (Postfix) with ESMTP id 656A03A26B for ; Tue, 13 Feb 2007 13:44:34 +0100 (CET) Message-ID: <45D1B2B1.3070703@klintrup.dk> Date: Tue, 13 Feb 2007 13:44:33 +0100 From: =?ISO-8859-1?Q?S=F8ren_Klintrup?= User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-proliant@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: HP Proliant SmartArray nagios check X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2007 13:02:13 -0000 Hi, I've written a small shellscript, which will check any smartarray volume in the system, and output the state of the volumes to stdout, as well as exit with non-zero errorlevel in case of degraded/rebuilding raid, as per the nagios specs. The script is easily rewritten to perform other tasks in case of problems with the raids, like emailing, snmp-oid, being part of daily checks or whatever, we use nagios with nrpe for this purpose. The script itself runs on a bare FreeBSD without any kind of HP support-tools, it uses camcontrol to get the device information. More information at http://www.klintrup.dk/soren/proliant/ Comments/patches/ideas are welcome :-) Regards, Søren Klintrup From owner-freebsd-proliant@FreeBSD.ORG Tue Feb 13 15:50:36 2007 Return-Path: X-Original-To: freebsd-proliant@freebsd.org Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A8F716A407 for ; Tue, 13 Feb 2007 15:50:36 +0000 (UTC) (envelope-from hg@sircon.no) Received: from smtp.sircon.net (smtp.sircon.net [85.19.149.103]) by mx1.freebsd.org (Postfix) with ESMTP id 51F1913C494 for ; Tue, 13 Feb 2007 15:50:35 +0000 (UTC) (envelope-from hg@sircon.no) Received: from smtp.sircon.net (smtp [85.19.149.103]) by smtp.sircon.net (8.13.4/8.13.4) with ESMTP id l1DFbnVY059205; Tue, 13 Feb 2007 16:37:49 +0100 (CET) (envelope-from hg@sircon.no) Received: (from root@localhost) by smtp.sircon.net (8.13.4/8.13.4/Submit) id l1DFbn3U059204; Tue, 13 Feb 2007 16:37:49 +0100 (CET) (envelope-from hg@sircon.no) Received: from [85.19.149.202] by smtp.sircon.net ESMTP MEsmtpd (v1.04 [2004-11-17] on FreeBSD i386) (c) Martin Edenhofer; Tue Feb 13 16:37:49 2007 X-MEsmtpd-Page: http://martin.edenhofer.de/Projects X-MEsmtpd-Sender: sircon.no/sircon.no on 85.19.149.202 X-MEsmtpd-Abuse: Report spam/abuse to abuse@sircon.no Message-ID: <45D1DA61.4010207@sircon.no> Date: Tue, 13 Feb 2007 16:33:53 +0100 From: =?ISO-8859-1?Q?H=E5kon_Granlund?= User-Agent: Thunderbird 1.5.0.9 (X11/20070129) MIME-Version: 1.0 To: =?ISO-8859-1?Q?S=F8ren_Klintrup?= References: <45D1B2B1.3070703@klintrup.dk> In-Reply-To: <45D1B2B1.3070703@klintrup.dk> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Mesmtpd-Mailerfrom: =?ISO-8859-1?Q?H=E5kon_Granlund?= Cc: freebsd-proliant@freebsd.org Subject: Re: HP Proliant SmartArray nagios check X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2007 15:50:36 -0000 Søren Klintrup wrote: > Hi, > > I've written a small shellscript, which will check any smartarray volume > in the system, and output the state of the volumes to stdout, as well as > exit with non-zero errorlevel in case of degraded/rebuilding raid, as > per the nagios specs. > > The script is easily rewritten to perform other tasks in case of > problems with the raids, like emailing, snmp-oid, being part of daily > checks or whatever, we use nagios with nrpe for this purpose. > > The script itself runs on a bare FreeBSD without any kind of HP > support-tools, it uses camcontrol to get the device information. > > More information at http://www.klintrup.dk/soren/proliant/ > > Comments/patches/ideas are welcome :-) Very nice! We'll include this in our own maintenance scripts (no Nagios here). Your work is well appreciated! Worked as a charm on a minimal 6.2-REL DL380 G4@amd64, Smart Array 6i/RAID5. I have a non-production server, so be sure to let me know if you need a tester for future addons ;-) Regards Håkon Granlund From owner-freebsd-proliant@FreeBSD.ORG Tue Feb 13 17:11:27 2007 Return-Path: X-Original-To: freebsd-proliant@freebsd.org Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4105916A400 for ; Tue, 13 Feb 2007 17:11:27 +0000 (UTC) (envelope-from anders@FreeBSD.org) Received: from fupp.net (totem.fix.no [80.91.36.20]) by mx1.freebsd.org (Postfix) with ESMTP id E731513C481 for ; Tue, 13 Feb 2007 17:11:26 +0000 (UTC) (envelope-from anders@FreeBSD.org) Received: from localhost (totem.fix.no [80.91.36.20]) by fupp.net (Postfix) with ESMTP id 9FBC58D9856; Tue, 13 Feb 2007 17:40:33 +0100 (CET) Received: from fupp.net ([80.91.36.20]) by localhost (totem.fix.no [80.91.36.20]) (amavisd-new, port 10024) with LMTP id 94103-01-2; Tue, 13 Feb 2007 17:40:33 +0100 (CET) Received: by fupp.net (Postfix, from userid 1000) id 38BEF8D9862; Tue, 13 Feb 2007 17:40:33 +0100 (CET) Date: Tue, 13 Feb 2007 17:40:33 +0100 From: Anders Nordby To: =?iso-8859-1?Q?=D8ystein?= Kaldhol Message-ID: <20070213164032.GA93354@fupp.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 User-Agent: Mutt/1.5.11 Cc: freebsd-proliant@freebsd.org Subject: Re: DL360 and FreeBSD6.2 watchdog problems X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2007 17:11:27 -0000 Hi, On Fri, Jan 26, 2007 at 06:07:13PM +0100, Øystein Kaldhol wrote: > I checked this, the server in question is already running the newe= st > firmwares (from the 7.61 cd from HP). > > Any other ideas? You might want to try disabling SMP for the network stack, by adding this line to /boot/loader.conf: debug.mpsafenet="0" It does the trick for me. However, this is avoiding the problem. There's been a lot of discussion about this problem on the freebsd-net mailinglist. Go check the archives. Mvh, -- Anders. From owner-freebsd-proliant@FreeBSD.ORG Tue Feb 13 21:40:08 2007 Return-Path: X-Original-To: freebsd-proliant@freebsd.org Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B40F16A400 for ; Tue, 13 Feb 2007 21:40:08 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail4out.barnet.com.au (mail4.barnet.com.au [202.83.178.125]) by mx1.freebsd.org (Postfix) with ESMTP id E784413C474 for ; Tue, 13 Feb 2007 21:40:07 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail4out.barnet.com.au (Postfix, from userid 1001) id 094F937BCC4; Wed, 14 Feb 2007 08:40:07 +1100 (EST) X-Viruscan-Id: <45D230360000DB6C7D2DA4@BarNet> Received: from mail4auth.barnet.com.au (mail4.barnet.com.au [202.83.178.125]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail4.barnet.com.au (Postfix) with ESMTP id CF0544224B0; Wed, 14 Feb 2007 08:40:06 +1100 (EST) Received: from k7.mavetju (k7.mavetju.org [10.251.1.18]) by mail4auth.barnet.com.au (Postfix) with ESMTP id 2D65537B87B; Wed, 14 Feb 2007 08:40:05 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 55F772E; Wed, 14 Feb 2007 08:39:59 +1100 (EST) Date: Wed, 14 Feb 2007 08:39:59 +1100 From: Edwin Groothuis To: S?ren Klintrup Message-ID: <20070213213959.GL90772@k7.mavetju> References: <45D1B2B1.3070703@klintrup.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45D1B2B1.3070703@klintrup.dk> User-Agent: Mutt/1.4.2.1i Cc: freebsd-proliant@freebsd.org Subject: Re: HP Proliant SmartArray nagios check X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2007 21:40:08 -0000 On Tue, Feb 13, 2007 at 01:44:33PM +0100, S?ren Klintrup wrote: > More information at http://www.klintrup.dk/soren/proliant/ To overcome the problem of many of [Tt][Hh][Ee][Ss][Ee] kind of string, you can pipe the output through tr(1) so that it at least is human-readable (instead of the minimal requirement of being a cyborg :-) [~] edwin@k7>echo "TtHhEeSsEe" | tr A-Z a-z tthheessee Also, the case statement doesn't have a catch for the case that the variable is "" or not one of the five expected strings. And as the last one, if you use 's/foo/bar/i', it be case insensitive too so the sed statement is easier to write/read/check for humans. But for the rest, works fine! Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/ From owner-freebsd-proliant@FreeBSD.ORG Wed Feb 14 00:29:22 2007 Return-Path: X-Original-To: freebsd-proliant@freebsd.org Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4F6F416A400 for ; Wed, 14 Feb 2007 00:29:22 +0000 (UTC) (envelope-from soren@klintrup.dk) Received: from mail01.hemligt.net (mail01.hemligt.net [87.48.247.181]) by mx1.freebsd.org (Postfix) with ESMTP id EFAEE13C428 for ; Wed, 14 Feb 2007 00:29:21 +0000 (UTC) (envelope-from soren@klintrup.dk) Received: from localhost (unknown [172.21.203.81]) by mail01.hemligt.net (Postfix) with ESMTP id CA677508E6; Wed, 14 Feb 2007 01:17:05 +0100 (CET) X-Virus-Scanned: amavisd-new at hemligt.net Received: from mail01.hemligt.net ([172.21.203.81]) by localhost (mail01.hemligt.net [172.21.203.81]) (amavisd-new, port 10024) with ESMTP id 8ttIRU9HcutX; Wed, 14 Feb 2007 01:17:01 +0100 (CET) Received: from [172.21.203.26] (unknown [172.21.203.26]) by mail01.hemligt.net (Postfix) with ESMTP id 98FB9508E0; Wed, 14 Feb 2007 01:17:01 +0100 (CET) Message-ID: <45D25504.6020500@klintrup.dk> Date: Wed, 14 Feb 2007 01:17:08 +0100 From: =?ISO-8859-1?Q?S=F8ren_Klintrup?= User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-proliant@freebsd.org References: <45D1B2B1.3070703@klintrup.dk> <20070213213959.GL90772@k7.mavetju> In-Reply-To: <20070213213959.GL90772@k7.mavetju> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: HP Proliant SmartArray nagios check X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 00:29:22 -0000 Edwin Groothuis wrote: > On Tue, Feb 13, 2007 at 01:44:33PM +0100, S?ren Klintrup wrote: > >> More information at http://www.klintrup.dk/soren/proliant/ >> > > To overcome the problem of many of [Tt][Hh][Ee][Ss][Ee] kind of > string, you can pipe the output through tr(1) so that it at least > is human-readable (instead of the minimal requirement of being a > cyborg :-) > > [~] edwin@k7>echo "TtHhEeSsEe" | tr A-Z a-z > tthheessee > > Also, the case statement doesn't have a catch for the case that the > variable is "" or not one of the five expected strings. > > And as the last one, if you use 's/foo/bar/i', it be case insensitive > too so the sed statement is easier to write/read/check for humans. Hi, Thanks for the hint on tr(1), script is updated and easier to read, I originally used grep -o to get the parts of the line I wanted, but this isn't available for FreeBSD 4.x, and for backwards compability's sake, I changed it to the sed line you see, it was kind of a nasty change, but not being FreeBSD 4 compliant, when it was such a small change just didn't make sense. As for the case statement, with the way the sed line works, the case where it doesn't hit one of the cases specified won't happen (unless someone purposly edits the script and breaks it), the sed line takes out the parts of the line needed (rea, int, rec, fai and ok) - and nothing else, so in case a volume has another state than this. This in itself does add another problem, if the volume is in an unknown state, and another volume is ok, it'll report everything as ok, and just ignore that volume. I've fixed this in version 1.4, so it'll return with errorlevel 3 and ouput the volume as being in "unknown state", thanks for bringing this to my attention :) As for using 'i' as an option on sed, it doesn't seem to work on FreeBSD 6.2 (havn't tested on others, since theres no reason if it doesn't work on 6.2 :), the tr A-Z a-z worked like a charm though, and it's readable again. $ echo fOo|sed -e 's/foo/bar/i' sed: 1: "s/foo/bar/i ": bad flag in substitute command: 'i' Regards, Søren Klintrup From owner-freebsd-proliant@FreeBSD.ORG Wed Feb 14 00:37:34 2007 Return-Path: X-Original-To: freebsd-proliant@freebsd.org Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2771816A402 for ; Wed, 14 Feb 2007 00:37:34 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail4out.barnet.com.au (mail4.barnet.com.au [202.83.178.125]) by mx1.freebsd.org (Postfix) with ESMTP id E11EA13C4AC for ; Wed, 14 Feb 2007 00:37:33 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail4out.barnet.com.au (Postfix, from userid 1001) id BB63937C6B5; Wed, 14 Feb 2007 11:37:32 +1100 (EST) X-Viruscan-Id: <45D259CC00011D54A1E407@BarNet> Received: from mail4auth.barnet.com.au (mail4.barnet.com.au [202.83.178.125]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail4.barnet.com.au (Postfix) with ESMTP id 6FFE8422087; Wed, 14 Feb 2007 11:37:32 +1100 (EST) Received: from k7.mavetju (k7.mavetju.org [10.251.1.18]) by mail4auth.barnet.com.au (Postfix) with ESMTP id 1707A37BEDE; Wed, 14 Feb 2007 11:37:32 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 9C75C11D; Wed, 14 Feb 2007 11:37:30 +1100 (EST) Date: Wed, 14 Feb 2007 11:37:30 +1100 From: Edwin Groothuis To: S?ren Klintrup Message-ID: <20070214003730.GD62320@k7.mavetju> References: <45D1B2B1.3070703@klintrup.dk> <20070213213959.GL90772@k7.mavetju> <45D25504.6020500@klintrup.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45D25504.6020500@klintrup.dk> User-Agent: Mutt/1.4.2.2i Cc: freebsd-proliant@freebsd.org Subject: Re: HP Proliant SmartArray nagios check X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 00:37:34 -0000 On Wed, Feb 14, 2007 at 01:17:08AM +0100, S?ren Klintrup wrote: > As for using 'i' as an option on sed, it doesn't seem to work on FreeBSD > 6.2 (havn't tested on others, since theres no reason if it doesn't work > on 6.2 :), the tr A-Z a-z worked like a charm though, and it's readable > again. > > $ echo fOo|sed -e 's/foo/bar/i' > sed: 1: "s/foo/bar/i > ": bad flag in substitute command: 'i' Hmmm... My fault, sorry. I thought that sed could swallow regexp-flags, but it seems to be limited to gpwN... Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/ From owner-freebsd-proliant@FreeBSD.ORG Wed Feb 14 09:15:32 2007 Return-Path: X-Original-To: freebsd-proliant@freebsd.org Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CEAD116A401 for ; Wed, 14 Feb 2007 09:15:32 +0000 (UTC) (envelope-from Oystein.Kaldhol@mrfylke.no) Received: from mail.mrfylke.no (fw.mrfylke.no [213.184.199.226]) by mx1.freebsd.org (Postfix) with ESMTP id 884EE13C494 for ; Wed, 14 Feb 2007 09:15:32 +0000 (UTC) (envelope-from Oystein.Kaldhol@mrfylke.no) Received: from localhost (localhost [127.0.0.1]) by mail.mrfylke.no (Postfix) with ESMTP id D1973958B6; Wed, 14 Feb 2007 10:15:30 +0100 (CET) X-Virus-Scanned: amavisd-new at mrfylke.no Received: from mail.mrfylke.no ([127.0.0.1]) by localhost (mail.mrfylke.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S-RxZGKIHyxz; Wed, 14 Feb 2007 10:15:27 +0100 (CET) Received: from mrpost1.mr-fylke.org (mrpost1.mr-fylke.org [10.247.0.51]) by mail.mrfylke.no (Postfix) with ESMTP id 93E8595855; Wed, 14 Feb 2007 10:15:27 +0100 (CET) Importance: Normal X-Priority: 3 (Normal) From: =?ISO-8859-1?Q?=D8ystein_Kaldhol?= To: Anders Nordby Date: Wed, 14 Feb 2007 10:09:51 +0100 Message-ID: X-MIMETrack: Serialize by Notes Server on MRPOST1/MRFYLKE(Release 6.5.2|June 01, 2004) at 02/14/2007 10:09:51 AM, Serialize complete at 02/14/2007 10:09:51 AM, Itemize by Notes Server on MRPOST1/MRFYLKE(Release 6.5.2|June 01, 2004) at 02/14/2007 10:09:51 AM, Serialize by Router on MRPOST1/MRFYLKE(Release 6.5.2|June 01, 2004) at 02/14/2007 10:09:51 AM Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-proliant@freebsd.org Subject: Re: DL360 and FreeBSD6.2 watchdog problems X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 09:15:32 -0000 -----Anders Nordby wrote: ----- >To: =D8ystein Kaldhol >From: Anders Nordby >Dat= e: 02/13/2007 05:40PM >cc: freebsd-proliant@freebsd.org >Subjec= t: Re: DL360 and FreeBSD6.2 watchdog problems > >Hi, > >On Fri, Jan 26, 2007 at 06:07:13PM +0100, =D8ystein Kaldhol wrote: = >> I checked this, the server in question is already run= ning the >newe=3D st >> firmwares (from the 7.6= 1 cd from HP). >> >> Any other ideas? &g= t; >You might want to try disabling SMP for the network stack, by add= ing >this line to /boot/loader.conf: > >debug.mpsafenet= =3D"0" > We've done it already, doesn't help. Still freezes at= high network load. There seems to be a fix on its way in the 6.2p1, we'll = try that. I'll also check the archives. brgrds Oystein Kal= dhol County of More & Romsdal =