From nobody@FreeBSD.org  Sat Mar 11 12:44:57 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7C55E16A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 11 Mar 2006 12:44:57 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 307EE43D55
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 11 Mar 2006 12:44:57 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2BCiur8000628
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 11 Mar 2006 12:44:56 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k2BCiuN5000627;
	Sat, 11 Mar 2006 12:44:56 GMT
	(envelope-from nobody)
Message-Id: <200603111244.k2BCiuN5000627@www.freebsd.org>
Date: Sat, 11 Mar 2006 12:44:56 GMT
From: Ulf Lilleengen <lulf@stud.ntnu.no>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Kernel crash with ips (copperhead) controller 
X-Send-Pr-Version: www-2.3

>Number:         94315
>Category:       kern
>Synopsis:       [vinum] kernel crash with ips (copperhead) controller
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 11 12:50:05 GMT 2006
>Closed-Date:    Mon Mar 13 11:56:15 GMT 2006
>Last-Modified:  Sat Jun 07 06:16:18 UTC 2008
>Originator:     Ulf Lilleengen
>Release:        FreeBSD 6.1-PRERELEASE
>Organization:
>Environment:
FreeBSD rincewind.studby.ntnu.no 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Fri Mar 10 23:28:35 CET 2006     root@rincewind.studby.ntnu.no:/usr/obj/usr/src/sys/SMP  i386
>Description:
When i run the command mkdir /usr/ports on my server (or any other commands
using the filesystem), these messages repeats itself for a long time, before
it crashes:

ips: cmd polling not implemented for copperhead devices
ips: cmd polling not implemented for copperhead devices
ips: cmd polling not implemented for copperhead devices
ips: cmd polling not implemented for copperhead devices
ips: cmd polling not implemented for copperhead devices
ips: cmd polling not implemented for copperhead devices
ips: cmd polling not implemented for copperhead devices
ips: cmd polling not implemented for copperhead devices
ips: cmd polling not implemented for copperhead devices
sem bit still set, can't send a command
ips: cmd polling not implemented for copperhead devices
ips: cmd polling not implemented for copperhead devices
...

I'm not sure what to do with this, but could this have anything to do with
gvinum, because the system worked fine before i set up gvinum.

Relevant dmesg output:
ACPI APIC Table: <IBM    SERKIOWA>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium III/Pentium III Xeon/Celeron (497.80-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 268414976 (255 MB)
avail memory = 252985344 (241 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  1
 cpu1 (AP): APIC ID:  0
ioapic0 <Version 1.1> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
..
..
acd0: CDROM <SANYO CD-ROM CRD-1332P/1.03> at ata0-master PIO4
ips0: reinitializing adapter, this could take several minutes.
ips0: ERROR: ffdc reset command failed!
ips0: adapter type: ServeRAID onboard (copperhead)
ips0: logical drives: 6
ips0: Logical Drive 0: RAID0 sectors: 17772544, state OK
ips0: Logical Drive 1: RAID0 sectors: 17772544, state OK
ips0: Logical Drive 2: RAID0 sectors: 17772544, state OK
ips0: Logical Drive 3: RAID0 sectors: 17772544, state OK
ips0: Logical Drive 4: RAID0 sectors: 17772544, state OK
ips0: Logical Drive 5: RAID0 sectors: 8812544, state OK
ipsd0: <Logical Drive> on ips0
ipsd0: Logical Drive  (8678MB)
ipsd1: <Logical Drive> on ips0
ipsd1: Logical Drive  (8678MB)
ipsd2: <Logical Drive> on ips0
ipsd2: Logical Drive  (8678MB)
ipsd3: <Logical Drive> on ips0
ipsd3: Logical Drive  (8678MB)
ipsd4: <Logical Drive> on ips0
ipsd4: Logical Drive  (8678MB)
ipsd5: <Logical Drive> on ips0
ipsd5: Logical Drive  (4303MB)
SMP: AP CPU #1 Launched

Spesifications of my hardware:
Hardware of a IBM Netfinity 5500 server: 
P3 500MHz, 256MB RAM
ServeRAID II RAID SCSI Adapter
5 x Seagate Cheetah 9.1 GB SCSI 10,000RPM
1 x Seagate Cheetah 9.1 GB SCSI 7,200RPM
1 x Seagate Cheetah 4.6 GB SCSI 7,200RPM
My filesystem is setup like this:
/dev/ipsd0s1b           none            swap    sw              0       0
/dev/ipsd0s1a           /               ufs     rw              1       1
/dev/gvinum/tmp         /tmp            ufs     rw              2       2
/dev/gvinum/var         /var            ufs     rw              3       3
/dev/gvinum/usr         /usr            ufs     rw              4       4
/dev/gvinum/home        /home           ufs     rw              5       5
/dev/acd0               /cdrom          cd9660  ro,noauto       0       0

My gvinum configuration:
drive AnkhMorpork device /dev/ipsd0s1h
drive RamTops device /dev/ipsd1s1a

volume tmp
plex name tmp.p0 org concat
sd name tmp.p0.s0 len 1048576s driveoffset 265s drive AnkhMorpork 

volume var
plex name var.p0 org concat
sd name var.p0.s0 len 4194304s driveoffset 1048841s drive AnkhMorpork

volume usr
plex name usr.p0 org concat
sd name usr.p0.s0 len 6291456s driveoffset 5243145s drive AnkhMorpork
sd name usr.p0.s1 drive RamTops len 15564800s driveoffset 265s plex usr.p0

volume home
plex name home.p0 org concat
sd name home.p0.s0 len 1082980s driveoffset 11534601s drive AnkhMorpork
sd name home.p0.s1 drive RamTops len 2197092s driveoffset 15565065s plex home.p0


>How-To-Repeat:
Use a IBM ServeRAID II controller, setup gvinum, do IO operations to disks.
>Fix:

>Release-Note:
>Audit-Trail:

From: Ulf Lilleengen <lulf@stud.ntnu.no>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/94315: Kernel crash with ips (copperhead) controller
Date: Mon, 13 Mar 2006 12:32:17 +0100

 --y0ulUmNC+osPPQO6
 Content-Type: text/plain; charset=iso-8859-1
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Problem was fixed after running fsck on filesystems.
 
 --=20
 Mvh Ulf Lilleengen
 
 --y0ulUmNC+osPPQO6
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
 iD8DBQFEFVhBCILg8nMIdCURAi12AJwO/ZBgLU/DFN10CORlO8oWNML2yQCeP91V
 qvl2z8NvzuEAIQcZM/heEkY=
 =hQ6J
 -----END PGP SIGNATURE-----
 
 --y0ulUmNC+osPPQO6--
State-Changed-From-To: open->closed 
State-Changed-By: matteo 
State-Changed-When: Mon Mar 13 11:55:52 UTC 2006 
State-Changed-Why:  
Submitter notes the problem was fixed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94315 
>Unformatted:
