Yeah rebooting will probably fix this.  It looks as if the last bio command
never completed and now it is blocking access.  Now why this happened I can't
tell you based on this amount of information.

On Sun, Nov 26, 2006 at 12:57:32PM +0100, Alexander Hall wrote:
> Hi all. Minor panic here.
> 
> Before reading further, please note that this machine is still running 3.8 
> (and, yes, will be updated as soon as possible).
> 
> As part of my daily.local, I have a RAID status check using `bioctl sd0`. 
> Some days ago, it started reporting
> 
> RAID status:
> bioctl: BIOCINQ: Invalid argument
> 
> instead of the common
> 
> RAID status:
> Volume  Status     Size           Device
> ami0 0 Online       200044183552 sd0     RAID1
>      0 Online       200044183552 0:0.0   noencl <        ST3200826AS 
> 3.02>
>      1 Online       200044183552 0:1.0   noencl <        ST3200826AS 
> 3.02>
> 
> Google/archives gave nothing interesing.
> 
> The machine has not been updated or modified in between (AFAIK, and I alone 
> do those kind of things). Two non-active local users (me + my brother). No 
> insecurity reports.
> 
> Should I be worried? Dare I reboot and see what happens? The RAID status is 
> unavailable, but the machine is still running fine...
> 
> /Alexander
> 
> # uname -mrsv
> OpenBSD 3.8 GENERIC#138 i386
> # uptime
> 12:46PM  up 90 days, 15:06, 3 users, load averages: 0.16, 0.15, 0.15
> # bioctl sd0
> bioctl: BIOCINQ: Invalid argument
> # cat /var/run/dmesg.boot
> OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
>    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> RTC BIOS diagnostic error 20<config_unit>
> cpu0: Intel Pentium III ("GenuineIntel" 686-class) 852 MHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE
> real mem  = 536190976 (523624K)
> avail mem = 482353152 (471048K)
> using 4278 buffers containing 26910720 bytes (26280K) of memory
> RTC BIOS diagnostic error 20<config_unit>
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(00) BIOS, date 08/31/00, BIOS32 rev. 0 @ 0xfda74
> apm0 at bios0: Power Management spec V1.2 (BIOS mgmt disabled)
> apm0: APM power management enable: unrecognized device ID (9)
> apm0: APM engage (device 1): power management disabled (1)
> apm0: AC on, battery charge unknown
> apm0: flags b0102 dobusy 0 doidle 1
> pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf2bb0/144 (7 entries)
> pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00)
> pcibios0: PCI bus #0 is the last bus
> bios0: ROM list: 0xc8000/0x2200 0xca800/0x1000 0xcb800/0x1000 
> 0xdc000/0x4000!
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82443BX" rev 0x03
> pcib0 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
> pciide0: channel 0 ignored (disabled)
> pciide0: channel 1 ignored (disabled)
> uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 10
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> "Intel 82371AB Power" rev 0x02 at pci0 dev 7 function 3 not configured
> fxp0 at pci0 dev 12 function 0 "Intel 82557" rev 0x08, i82559: irq 5, 
> address 00:02:b3:35:f4:f2
> inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
> fxp1 at pci0 dev 13 function 0 "Intel 82557" rev 0x08, i82559: irq 5, 
> address 00:02:b3:35:f4:f3
> inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
> ami0 at pci0 dev 14 function 0 "Symbios Logic MegaRAID" rev 0x01: irq 11 
> LSI 523/64b/lhc
> ami0: FW 713N, BIOS vG119, 64MB RAM
> ami0: 1 channels, 0 FC loops, 1 logical drives
> scsibus0 at ami0: 40 targets
> sd0 at scsibus0 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct fixed
> sd0: 190777MB, 24320 cyl, 255 head, 63 sec, 512 bytes/sec, 390711296 sec 
> total
> scsibus1 at ami0: 16 targets
> isa0 at pcib0
> 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
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> sysbeep0 at pcppi0
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom0: console
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> biomask ffc5 netmask ffe5 ttymask ffe7
> pctr: 686-class user-level performance counters enabled
> mtrr: Pentium Pro MTRR support
> dkcsum: sd0 matches BIOS drive 0x80
> root on sd0a
> rootdev=0x400 rrootdev=0xd00 rawdev=0xd02

Reply via email to