From jackp@maine.60north.net  Fri Jun 20 14:04:44 2003
Return-Path: <jackp@maine.60north.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 63C8A37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Jun 2003 14:04:43 -0700 (PDT)
Received: from maine.60north.net (maine.60north.net [198.143.201.10])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 77CDC43F75
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Jun 2003 14:04:42 -0700 (PDT)
	(envelope-from jackp@maine.60north.net)
Received: (from jackp@localhost)
	by maine.60north.net (8.11.3/8.11.3) id h5KL4aT96530;
	Fri, 20 Jun 2003 17:04:36 -0400 (EDT)
Message-Id: <200306202104.h5KL4aT96530@maine.60north.net>
Date: Fri, 20 Jun 2003 17:04:36 -0400 (EDT)
From: Jack Patton <jackp@60north.net>
Reply-To: Jack Patton <jackp@60north.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: IBM Eserver (245 || 345) + ServeRaid 5i ips driver panic
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53566
>Category:       kern
>Synopsis:       [panic] IBM Eserver (245 || 345) + ServeRaid 5i ips driver panic
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    mbr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 20 14:10:14 PDT 2003
>Closed-Date:    Tue Nov 29 03:45:30 GMT 2005
>Last-Modified:  Tue Nov 29 03:45:30 GMT 2005
>Originator:     Jack Patton
>Release:        FreeBSD 5.1-RELEASE
>Organization:
>Environment:
System: FreeBSD 5.1-RELEASE IBM EServer (245 || 345) w/ServeRaid Xeon Processor
>Description:
Booting off the 5.1-RELEASE CD-ROM results in a kernel panic of the
ips driver after vga0 probe. The ServeRaid controller shows up
properly, but the system panics before the system can come up. This
problem does not occur with the ServeRaid controller removed. 
Summary of the error:

Fatal Trap 12: page fault while in kernel mode
fault virtual address = 0x0
fault code	      = supervisor read, page not present
instruction pointer   = 0x8:0x0
stack pointer	      = 0x10:0xd63cbce4
frame pointer         = 0x10:0xd63cbd0c
code segment          = base 0x0, limit 0xfffff, type 0x1b
		      = DPL 0, pres 1, def32 1, gran 1
processor eflags      = interrupt enabled, resume, IOPL = 0
current process	      = 29 (irq9: ips0)
trap number	      = 12
panic: page fault 

>How-To-Repeat:
Boot off the 5.1-RELEASE CD 
		


>Fix:
Unknown, but if someone needs more information please ask. I have
both of the machines available for testing.
>Release-Note:
>Audit-Trail:

From: Jack Patton <jackp@flag.60north.net>
To: <freebsd-gnats-submit@freebsd.org>, <jackp@flag.60north.net>
Cc: <nate@root.org>, <ntwaddel@webspacesolutions.com>,
	<current@freebsd.org>
Subject: Re: kern/53566: IBM Eserver (245 || 345) + ServeRaid 5i ips driver panic
Date: Wed, 25 Jun 2003 20:04:54 -0000

 In this mail:
 http://www.freebsd.org/cgi/getmsg.cgi?
 fetch=29403+32287+/usr/local/www/db/text/2003/freebsd-scsi/20030615.freebsd-
 scsi
 
 It was suggested to do a backtrace on it. I didn't have the option in 5.1-
 RELEASE, but I grabbed the 20030624 snapshot and was able to get the 
 following information.
 
 First of all the error seems slightly different, but the end result is the 
 same, unable to boot fully. First I get (the relevant parts IMO):
 
 ..
 pcib5: <ServerWorks host to PCI bridge(unknown chipset)> at pcibus 5 on 
 motherboard
 pci5: <PCI Bus> on pcib5
 ips0: <IBM ServeRAID Adapter> mem 0xf4000000--xf7ffffff irq 9 at device 3.0 
 on pci5
 ips0: failed to get configuration from device
 device_probe_and_attach: ips0 attach returned 6
 ..
 pci9: <PCI bus> in pcib9
 Memory modified after free 0xc18cd700(252)
 panic: Most recently used by devbuf
 
 Here's the trace:
 
 
 Debugger(c0502455,c05c50e0,c05193ad,c0b35ca4,100) at Debugger+0x54
 panic(c05193ad,c0500cf7,fc,c0c3aea0) at panic+0xcc
 mtrash_ctor(c18cd700,100,0,553,0) at mtrash_ctor+0x5d
 uma_zalloc_arg(c0c3aea0,0,101,c0327620,c0599b48) at uma_zalloc_arg+0x17f
 malloc(a8,c0556960,101,c052254c,c0b35d6c) at malloc+0xd4
 device_get_children(c433a380,c0b35d58,c0b35d5c,c0325c62,c18dd700) at 
 device_get_children+0x47
 isa_probe_children(c433a380,c051c4db,0,c0b35d98,c02e9925) at 
 isa_probe_children+0x2d
 configure(0,b32000,b32c00,b32000,0) at configure+0x4b
 mi_startup() at mi_startup+0xb5
 begin() at begin+0x2c
 
 
 This machine is the 235, as we had to install linux on the 345 to get it into 
 production. I'm not sure how long I can do testing with this machine.
 Also, if someone knows how to report these backtraces without having to type 
 them in I would be appriciate a heads up on it. Thanks.
  

From: Jack Patton <jackp@flag.60north.net>
To: <freebsd-gnats-submit@freebsd.org>, <jackp@flag.60north.net>
Cc: <nate@root.org>, <ntwaddel@webspacesolutions.com>,
	<current@freebsd.org>
Subject: Re: kern/53566: IBM Eserver (245 || 345) + ServeRaid 5i ips driver panic
Date: Wed, 25 Jun 2003 20:06:52 -0000

 In this mail:
 http://www.freebsd.org/cgi/getmsg.cgi?
 fetch=29403+32287+/usr/local/www/db/text/2003/freebsd-scsi/20030615.freebsd-
 scsi
 
 It was suggested to do a backtrace on it. I didn't have the option in 5.1-
 RELEASE, but I grabbed the 20030624 snapshot and was able to get the 
 following information.
 
 First of all the error seems slightly different, but the end result is the 
 same, unable to boot fully. First I get (the relevant parts IMO):
 
 ..
 pcib5: <ServerWorks host to PCI bridge(unknown chipset)> at pcibus 5 on 
 motherboard
 pci5: <PCI Bus> on pcib5
 ips0: <IBM ServeRAID Adapter> mem 0xf4000000--xf7ffffff irq 9 at device 3.0 
 on pci5
 ips0: failed to get configuration from device
 device_probe_and_attach: ips0 attach returned 6
 ..
 pci9: <PCI bus> in pcib9
 Memory modified after free 0xc18cd700(252)
 panic: Most recently used by devbuf
 
 Here's the trace:
 
 
 Debugger(c0502455,c05c50e0,c05193ad,c0b35ca4,100) at Debugger+0x54
 panic(c05193ad,c0500cf7,fc,c0c3aea0) at panic+0xcc
 mtrash_ctor(c18cd700,100,0,553,0) at mtrash_ctor+0x5d
 uma_zalloc_arg(c0c3aea0,0,101,c0327620,c0599b48) at uma_zalloc_arg+0x17f
 malloc(a8,c0556960,101,c052254c,c0b35d6c) at malloc+0xd4
 device_get_children(c433a380,c0b35d58,c0b35d5c,c0325c62,c18dd700) at 
 device_get_children+0x47
 isa_probe_children(c433a380,c051c4db,0,c0b35d98,c02e9925) at 
 isa_probe_children+0x2d
 configure(0,b32000,b32c00,b32000,0) at configure+0x4b
 mi_startup() at mi_startup+0xb5
 begin() at begin+0x2c
 
 
 This machine is the 235, as we had to install linux on the 345 to get it into 
 production. I'm not sure how long I can do testing with this machine.
 Also, if someone knows how to report these backtraces without having to type 
 them in I would be appriciate a heads up on it. Thanks.
  

From: Jack Patton <jackp@flag.60north.net>
To: <FreeBSD-gnats-submit@freebsd.org>, <freebsd-bugs@freebsd.org>,
	<freebsd-scsi@freebsd.org>
Cc: <scottl@freebsd.org>
Subject: Re: kern/53566: IBM Eserver (245 || 345) + ServeRaid 5i ips driver panic
Date: Mon, 30 Jun 2003 19:33:44 -0000

 Okay, I hooked up a serial console and the CURRENT-20030627-JPSNAP. This is 
 as far as the boot gets, along with a trace. Has there been any progress 
 backporting this driver to 4.8 yet?
 
 
 Copyright (c) 1992-2003 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 5.1-CURRENT-20030627-JPSNAP #0: Fri Jun 27 00:23:43 GMT 2003
     root@ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC
 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0b5d000.
 Preloaded mfs_root "/boot/mfsroot" at 0xc0b5d278.
 Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0b5d2bc.
 Timecounter "i8254"  frequency 1193182 Hz
 Timecounter "TSC"  frequency 2793897976 Hz
 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.90-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
   
 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
 MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Hyperthreading: 2 logical CPUs
 real memory  = 526385152 (502 MB)
 avail memory = 499253248 (476 MB)
 Pentium Pro MTRR support enabled
 md0: Preloaded image </boot/mfsroot> 4423680 bytes at 0xc06d9528
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 acpi0: <IBM    SERONYXP> on motherboard
 pcibios: BIOS version 2.10
 acpi0: power button is handled as a fixed feature programming model.
 Timecounter "ACPI-fast"  frequency 3579545 Hz
 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x488-0x48b on acpi0
 acpi_cpu0: <CPU> on acpi0
 acpi_cpu1: <CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pcib0: slot 9 INTA is routed to irq 10
 pcib0: slot 15 INTA is routed to irq 11
 pci0: <display, VGA> at device 9.0 (no driver attached)
 atapci0: <ServerWorks CSB5 UDMA100 controller> port 0x700-0x70f,0x374-
 0x377,0x17
 0-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: simplex device, DMA on primary only
 ata1: at 0x170 irq 15 on atapci0
 ohci0: <OHCI (generic) USB controller> mem 0xfebfe000-0xfebfefff irq 11 at 
 devic
 e 15.2 on pci0
 usb0: OHCI version 1.0, legacy support
 usb0: SMM does not respond, resetting
 usb0: <OHCI (generic) USB controller> 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
 isab0: <PCI-ISA bridge> at device 15.3 on pci0
 isa0: <ISA bus> on isab0
 pcib1: <ACPI Host-PCI bridge> on acpi0
 pci2: <ACPI PCI bus> on pcib1
 pcib1: slot 8 INTA is routed to irq 3
 bge0: <Broadcom BCM5703X Gigabit Ethernet, ASIC rev. 0x1002> mem 0xfbff0000-
 0xfb
 ffffff irq 3 at device 8.0 on pci2
 bge0: Ethernet address: 00:09:6b:a5:18:05
 miibus0: <MII bus> on bge0
 brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
 1000baseTX
 -FDX, auto
 pcib2: <ACPI Host-PCI bridge> on acpi0
 pci5: <ACPI PCI bus> on pcib2
 pcib2: slot 3 INTA is routed to irq 9
 ips0: <IBM ServeRAID Adapter> mem 0xf4000000-0xf7ffffff irq 9 at device 3.0 
 on p
 ci5
 ips0: logical drives: 222
 ipsd0: <Logical Drive> on ips0
 ipsd0: Logical Drive  (1824184MB)
 ipsd1: <Logical Drive> on ips0
 ipsd1: Logical Drive  (1824184MB)
 ipsd2: <Logical Drive> on ips0
 ipsd2: Logical Drive  (1824184MB)
 ipsd3: <Logical Drive> on ips0
 ipsd3: Logical Drive  (1824184MB)
 ipsd4: <Logical Drive> on ips0
 ipsd4: Logical Drive  (1824184MB)
 ipsd5: <Logical Drive> on ips0
 ipsd5: Logical Drive  (1824184MB)
 ipsd6: <Logical Drive> on ips0
 ipsd6: Logical Drive  (1824184MB)
 ipsd7: <Logical Drive> on ips0
 ipsd7: Logical Drive  (1824184MB)
 pcib3: <ACPI Host-PCI bridge> on acpi0
 pci7: <ACPI PCI bus> on pcib3
 pcib4: <ACPI Host-PCI bridge> on acpi0
 Memory modified after free 0xc4300c00(252)
 panic: Most recently used by devbuf
 
 Debugger("panic")
 Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
 db> tr
 Debugger(c05025bf,c05c5240,c0519512,c0b7fa7c,100) at Debugger+0x54
 panic(c0519512,c0500e61,fc,c0c3ab74,c0c3ab60) at panic+0xcc
 mtrash_ctor(c4300c00,100,0,549,c4300c00) at mtrash_ctor+0x5d
 uma_zalloc_arg(c0c3ab60,0,1,c0b7fb44,e) at uma_zalloc_arg+0x194
 malloc(98,c0b4d1a0,1,c0b7fb1c,c0b352c8) at malloc+0xd4
 AcpiOsAllocate(98,c4308140,4,4,c4315cc0) at AcpiOsAllocate+0x21
 AcpiUtInitializeBuffer(c431c250,98,c0b4876c,0,c0b7fb44) at 
 AcpiUtInitializeBuffe
 r+0x38
 AcpiRsCreatePciRoutingTable(c4315cc0,c431c250,8,c0b7fb6c,c4315cc0) at 
 AcpiRsCrea
 tePciRoutingTable+0x3e
 AcpiRsGetPrtMethodData(c43045a0,c431c250,c433e380,c431c250,c0b7fbbc) at 
 AcpiRsGe
 tPrtMethodData+0x41
 AcpiGetIrqRoutingTable(c43045a0,c431c250,100,c0b7fbac,9) at 
 AcpiGetIrqRoutingTab
 le+0x35
 acpi_pcib_attach(c433e380,c431c250,9,c0b7fbe8,c42dc068) at 
 acpi_pcib_attach+0x6e
 
 acpi_pcib_acpi_attach(c433e380,c18c4500,c433e380,c433e380,c18c4500) at 
 acpi_pcib
 _acpi_attach+0x21d
 DEVICE_ATTACH(c433e380,c433e380,6,c18ab020,0) at DEVICE_ATTACH+0x48
 device_probe_and_attach(c433e380,4,c0b7fc78,c0b390e4,c18c4500) at 
 device_probe_a
 nd_attach+0x7d
 bus_generic_attach(c18c4500,c18ab020,64,c0b39100,c18c4500) at 
 bus_generic_attach
 +0x28
 acpi_probe_children(c18c4500,c0b3a8a0,c4318980,0,1a4) at 
 acpi_probe_children+0x9
 4
 acpi_attach(c18c4500,c42dc098,c05288f8,c18c4500,c18c3580) at acpi_attach+0x6e3
 DEVICE_ATTACH(c18c4500,c18c4500,c18c3580,c05288f0,1) at DEVICE_ATTACH+0x48
 device_probe_and_attach(c18c4500,c18c3580,c0b7fd18,c049713c,c18c3580) at 
 device_
 probe_and_attach+0x7d
 bus_generic_attach(c18c3580,c42ad098,c0b7fd34,c0327798,c18c3580) at 
 bus_generic_
 attach+0x28
 nexus_attach(c18c3580,c42ad098,c05288f8,c18c3580,c18c4080) at 
 nexus_attach+0x1c
 DEVICE_ATTACH(c18c3580,c18c3580,0,c18b18d0,1) at DEVICE_ATTACH+0x48
 device_probe_and_attach(c18c3580,c18b18d0,c0b7fd80,c04887b5,c18c4080) at 
 device_
 probe_and_attach+0x7d
 root_bus_configure(c18c4080,c051c640,0,c0b7fd98,c02e9a25) at 
 root_bus_configure+
 0x28
 configure(0,b7c000,b7cc00,b7c000,0) at configure+0x35
 mi_startup() at mi_startup+0xb5
 begin() at begin+0x2c
 db>
 -- 
 Jack Patton
 
 

From: Scott Long <scottl@freebsd.org>
To: jackp@flag.60north.net
Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org,
	freebsd-scsi@freebsd.org
Subject: Re: kern/53566: IBM Eserver (245 || 345) + ServeRaid 5i ips driver
 panic
Date: Mon, 30 Jun 2003 19:26:18 -0600

 Jack Patton wrote:
 > Okay, I hooked up a serial console and the CURRENT-20030627-JPSNAP. This is 
 > as far as the boot gets, along with a trace. Has there been any progress 
 > backporting this driver to 4.8 yet?
 > 
 
 There isn't much sense in backporting this until the memory corruption
 problem is fixed.  I'll see what I can do.
 
 Scott
 
 > 
 > Copyright (c) 1992-2003 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 5.1-CURRENT-20030627-JPSNAP #0: Fri Jun 27 00:23:43 GMT 2003
 >     root@ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC
 > Preloaded elf kernel "/boot/kernel/kernel" at 0xc0b5d000.
 > Preloaded mfs_root "/boot/mfsroot" at 0xc0b5d278.
 > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0b5d2bc.
 > Timecounter "i8254"  frequency 1193182 Hz
 > Timecounter "TSC"  frequency 2793897976 Hz
 > CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.90-MHz 686-class CPU)
 >   Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
 >   
 > Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
 > MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
 >   Hyperthreading: 2 logical CPUs
 > real memory  = 526385152 (502 MB)
 > avail memory = 499253248 (476 MB)
 > Pentium Pro MTRR support enabled
 > md0: Preloaded image </boot/mfsroot> 4423680 bytes at 0xc06d9528
 > npx0: <math processor> on motherboard
 > npx0: INT 16 interface
 > acpi0: <IBM    SERONYXP> on motherboard
 > pcibios: BIOS version 2.10
 > acpi0: power button is handled as a fixed feature programming model.
 > Timecounter "ACPI-fast"  frequency 3579545 Hz
 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x488-0x48b on acpi0
 > acpi_cpu0: <CPU> on acpi0
 > acpi_cpu1: <CPU> on acpi0
 > pcib0: <ACPI Host-PCI bridge> on acpi0
 > pci0: <ACPI PCI bus> on pcib0
 > pcib0: slot 9 INTA is routed to irq 10
 > pcib0: slot 15 INTA is routed to irq 11
 > pci0: <display, VGA> at device 9.0 (no driver attached)
 > atapci0: <ServerWorks CSB5 UDMA100 controller> port 0x700-0x70f,0x374-
 > 0x377,0x17
 > 0-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0
 > ata0: at 0x1f0 irq 14 on atapci0
 > ata1: simplex device, DMA on primary only
 > ata1: at 0x170 irq 15 on atapci0
 > ohci0: <OHCI (generic) USB controller> mem 0xfebfe000-0xfebfefff irq 11 at 
 > devic
 > e 15.2 on pci0
 > usb0: OHCI version 1.0, legacy support
 > usb0: SMM does not respond, resetting
 > usb0: <OHCI (generic) USB controller> 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
 > isab0: <PCI-ISA bridge> at device 15.3 on pci0
 > isa0: <ISA bus> on isab0
 > pcib1: <ACPI Host-PCI bridge> on acpi0
 > pci2: <ACPI PCI bus> on pcib1
 > pcib1: slot 8 INTA is routed to irq 3
 > bge0: <Broadcom BCM5703X Gigabit Ethernet, ASIC rev. 0x1002> mem 0xfbff0000-
 > 0xfb
 > ffffff irq 3 at device 8.0 on pci2
 > bge0: Ethernet address: 00:09:6b:a5:18:05
 > miibus0: <MII bus> on bge0
 > brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
 > brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
 > 1000baseTX
 > -FDX, auto
 > pcib2: <ACPI Host-PCI bridge> on acpi0
 > pci5: <ACPI PCI bus> on pcib2
 > pcib2: slot 3 INTA is routed to irq 9
 > ips0: <IBM ServeRAID Adapter> mem 0xf4000000-0xf7ffffff irq 9 at device 3.0 
 > on p
 > ci5
 > ips0: logical drives: 222
 > ipsd0: <Logical Drive> on ips0
 > ipsd0: Logical Drive  (1824184MB)
 > ipsd1: <Logical Drive> on ips0
 > ipsd1: Logical Drive  (1824184MB)
 > ipsd2: <Logical Drive> on ips0
 > ipsd2: Logical Drive  (1824184MB)
 > ipsd3: <Logical Drive> on ips0
 > ipsd3: Logical Drive  (1824184MB)
 > ipsd4: <Logical Drive> on ips0
 > ipsd4: Logical Drive  (1824184MB)
 > ipsd5: <Logical Drive> on ips0
 > ipsd5: Logical Drive  (1824184MB)
 > ipsd6: <Logical Drive> on ips0
 > ipsd6: Logical Drive  (1824184MB)
 > ipsd7: <Logical Drive> on ips0
 > ipsd7: Logical Drive  (1824184MB)
 > pcib3: <ACPI Host-PCI bridge> on acpi0
 > pci7: <ACPI PCI bus> on pcib3
 > pcib4: <ACPI Host-PCI bridge> on acpi0
 > Memory modified after free 0xc4300c00(252)
 > panic: Most recently used by devbuf
 > 
 > Debugger("panic")
 > Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
 > db> tr
 > Debugger(c05025bf,c05c5240,c0519512,c0b7fa7c,100) at Debugger+0x54
 > panic(c0519512,c0500e61,fc,c0c3ab74,c0c3ab60) at panic+0xcc
 > mtrash_ctor(c4300c00,100,0,549,c4300c00) at mtrash_ctor+0x5d
 > uma_zalloc_arg(c0c3ab60,0,1,c0b7fb44,e) at uma_zalloc_arg+0x194
 > malloc(98,c0b4d1a0,1,c0b7fb1c,c0b352c8) at malloc+0xd4
 > AcpiOsAllocate(98,c4308140,4,4,c4315cc0) at AcpiOsAllocate+0x21
 > AcpiUtInitializeBuffer(c431c250,98,c0b4876c,0,c0b7fb44) at 
 > AcpiUtInitializeBuffe
 > r+0x38
 > AcpiRsCreatePciRoutingTable(c4315cc0,c431c250,8,c0b7fb6c,c4315cc0) at 
 > AcpiRsCrea
 > tePciRoutingTable+0x3e
 > AcpiRsGetPrtMethodData(c43045a0,c431c250,c433e380,c431c250,c0b7fbbc) at 
 > AcpiRsGe
 > tPrtMethodData+0x41
 > AcpiGetIrqRoutingTable(c43045a0,c431c250,100,c0b7fbac,9) at 
 > AcpiGetIrqRoutingTab
 > le+0x35
 > acpi_pcib_attach(c433e380,c431c250,9,c0b7fbe8,c42dc068) at 
 > acpi_pcib_attach+0x6e
 > 
 > acpi_pcib_acpi_attach(c433e380,c18c4500,c433e380,c433e380,c18c4500) at 
 > acpi_pcib
 > _acpi_attach+0x21d
 > DEVICE_ATTACH(c433e380,c433e380,6,c18ab020,0) at DEVICE_ATTACH+0x48
 > device_probe_and_attach(c433e380,4,c0b7fc78,c0b390e4,c18c4500) at 
 > device_probe_a
 > nd_attach+0x7d
 > bus_generic_attach(c18c4500,c18ab020,64,c0b39100,c18c4500) at 
 > bus_generic_attach
 > +0x28
 > acpi_probe_children(c18c4500,c0b3a8a0,c4318980,0,1a4) at 
 > acpi_probe_children+0x9
 > 4
 > acpi_attach(c18c4500,c42dc098,c05288f8,c18c4500,c18c3580) at acpi_attach+0x6e3
 > DEVICE_ATTACH(c18c4500,c18c4500,c18c3580,c05288f0,1) at DEVICE_ATTACH+0x48
 > device_probe_and_attach(c18c4500,c18c3580,c0b7fd18,c049713c,c18c3580) at 
 > device_
 > probe_and_attach+0x7d
 > bus_generic_attach(c18c3580,c42ad098,c0b7fd34,c0327798,c18c3580) at 
 > bus_generic_
 > attach+0x28
 > nexus_attach(c18c3580,c42ad098,c05288f8,c18c3580,c18c4080) at 
 > nexus_attach+0x1c
 > DEVICE_ATTACH(c18c3580,c18c3580,0,c18b18d0,1) at DEVICE_ATTACH+0x48
 > device_probe_and_attach(c18c3580,c18b18d0,c0b7fd80,c04887b5,c18c4080) at 
 > device_
 > probe_and_attach+0x7d
 > root_bus_configure(c18c4080,c051c640,0,c0b7fd98,c02e9a25) at 
 > root_bus_configure+
 > 0x28
 > configure(0,b7c000,b7cc00,b7c000,0) at configure+0x35
 > mi_startup() at mi_startup+0xb5
 > begin() at begin+0x2c
 > db>
 
 

From: Nate Lawson <nate@root.org>
To: Jack Patton <jackp@flag.60north.net>
Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org,
	freebsd-scsi@freebsd.org
Subject: Re: kern/53566: IBM Eserver (245 || 345) + ServeRaid 5i ips driver
 panic
Date: Tue, 1 Jul 2003 01:01:53 -0700 (PDT)

 On Mon, 30 Jun 2003, Jack Patton wrote:
 > Okay, I hooked up a serial console and the CURRENT-20030627-JPSNAP. This is
 > as far as the boot gets, along with a trace. Has there been any progress
 > backporting this driver to 4.8 yet?
 >
 > FreeBSD 5.1-CURRENT-20030627-JPSNAP #0: Fri Jun 27 00:23:43 GMT 2003
 >     root@ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC
 > Preloaded elf kernel "/boot/kernel/kernel" at 0xc0b5d000.
 > Preloaded mfs_root "/boot/mfsroot" at 0xc0b5d278.
 > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0b5d2bc.
 
 Disable acpi and try again.  Update your BIOS to hopefully get new ACPI
 code.  There's some problem here with unitialized memory.  It may be
 elsewhere though and ACPI is just stumbling onto it.
 
 -Nate

From: Jack Patton <jackp@flag.60north.net>
To: Nate Lawson <nate@root.org>, Jack Patton <jackp@flag.60north.net>
Cc: <freebsd-scsi@freebsd.org>, <freebsd-bugs@freebsd.org>,
	<FreeBSD-gnats-submit@freebsd.org>
Subject: Re: kern/53566: IBM Eserver (245 || 345) + ServeRaid 5i ips driver panic
Date: Tue, 1 Jul 2003 18:59:05 -0000

 Nate Lawson <nate@root.org> said:
 
 > On Mon, 30 Jun 2003, Jack Patton wrote:
 > > Okay, I hooked up a serial console and the CURRENT-20030627-JPSNAP. This 
 is
 > > as far as the boot gets, along with a trace. Has there been any progress
 > > backporting this driver to 4.8 yet?
 > >
 > > FreeBSD 5.1-CURRENT-20030627-JPSNAP #0: Fri Jun 27 00:23:43 GMT 2003
 > >     root@ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC
 > > Preloaded elf kernel "/boot/kernel/kernel" at 0xc0b5d000.
 > > Preloaded mfs_root "/boot/mfsroot" at 0xc0b5d278.
 > > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0b5d2bc.
 > 
 > Disable acpi and try again.  Update your BIOS to hopefully get new ACPI
 > code.  There's some problem here with unitialized memory.  It may be
 > elsewhere though and ACPI is just stumbling onto it.
 > 
 > -Nate
 > _______________________________________________
 > freebsd-scsi@freebsd.org mailing list
 > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
 > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"
 > 
 
 
 Here's the result of booting with hint.acpi.0.disabled=1. We just got this 
 server recently. The server BIOS is at the latest version. I'm downloading a 
 BIOS/Firmware for the ServeRaid card itself now and will test it with that 
 applied.
 
 
 Copyright (c) 1992-2003 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 5.1-CURRENT-20030627-JPSNAP #0: Fri Jun 27 00:23:43 GMT 2003
     root@ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC
 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0b13000.
 Preloaded mfs_root "/boot/mfsroot" at 0xc0b13278.
 Timecounter "i8254"  frequency 1193182 Hz
 Timecounter "TSC"  frequency 2793899260 Hz
 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.90-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
   
 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
 MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Hyperthreading: 2 logical CPUs
 real memory  = 526385152 (502 MB)
 avail memory = 499556352 (476 MB)
 Pentium Pro MTRR support enabled
 md0: Preloaded image </boot/mfsroot> 4423680 bytes at 0xc06d9528
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcibios: BIOS version 2.10
 pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
 pci0: <PCI bus> on pcib0
 pci0: <display, VGA> at device 9.0 (no driver attached)
 atapci0: <ServerWorks CSB5 UDMA100 controller> port 0x700-0x70f,0x374-
 0x377,0x17
 0-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: simplex device, DMA on primary only
 ata1: at 0x170 irq 15 on atapci0
 ohci0: <OHCI (generic) USB controller> mem 0xfebfe000-0xfebfefff irq 11 at 
 devic
 e 15.2 on pci0
 usb0: OHCI version 1.0, legacy support
 usb0: SMM does not respond, resetting
 usb0: <OHCI (generic) USB controller> 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
 isab0: <PCI-ISA bridge> at device 15.3 on pci0
 isa0: <ISA bus> on isab0
 pcib1: <ServerWorks host to PCI bridge> at pcibus 1 on motherboard
 pci1: <PCI bus> on pcib1
 pcib2: <ServerWorks host to PCI bridge(unknown chipset)> at pcibus 2 on 
 motherbo
 ard
 pci2: <PCI bus> on pcib2
 bge0: <Broadcom BCM5703X Gigabit Ethernet, ASIC rev. 0x1002> mem 0xfbff0000-
 0xfb
 ffffff irq 3 at device 8.0 on pci2
 bge0: Ethernet address: 00:09:6b:a5:18:05
 miibus0: <MII bus> on bge0
 brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
 1000baseTX
 -FDX, auto
 pcib5: <ServerWorks host to PCI bridge(unknown chipset)> at pcibus 5 on 
 motherbo
 ard
 pci5: <PCI bus> on pcib5
 ips0: <IBM ServeRAID Adapter> mem 0xf4000000-0xf7ffffff irq 9 at device 3.0 
 on p
 ci5
 ips0: logical drives: 222
 ipsd0: <Logical Drive> on ips0
 ipsd0: Logical Drive  (1824184MB)
 ipsd1: <Logical Drive> on ips0
 ipsd1: Logical Drive  (1824184MB)
 ipsd2: <Logical Drive> on ips0
 ipsd2: Logical Drive  (1824184MB)
 ipsd3: <Logical Drive> on ips0
 ipsd3: Logical Drive  (1824184MB)
 ipsd4: <Logical Drive> on ips0
 ipsd4: Logical Drive  (1824184MB)
 ipsd5: <Logical Drive> on ips0
 ipsd5: Logical Drive  (1824184MB)
 ipsd6: <Logical Drive> on ips0
 ipsd6: Logical Drive  (1824184MB)
 ipsd7: <Logical Drive> on ips0
 ipsd7: Logical Drive  (1824184MB)
 pcib7: <ServerWorks host to PCI bridge(unknown chipset)> at pcibus 7 on 
 motherbo
 ard
 pci7: <PCI bus> on pcib7
 pcib9: <ServerWorks host to PCI bridge(unknown chipset)> at pcibus 9 on 
 motherbo
 ard
 pci9: <PCI bus> on pcib9
 Memory modified after free 0xc18b5700(252)
 panic: Most recently used by devbuf
 
 Debugger("panic")
 Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
 db> tr
 Debugger(c05025bf,c05c5240,c0519512,c0b35ca4,100) at Debugger+0x54
 panic(c0519512,c0500e61,fc,c0c3ab74,c0c3ab60) at panic+0xcc
 mtrash_ctor(c18b5700,100,0,549,c18b5700) at mtrash_ctor+0x5d
 uma_zalloc_arg(c0c3ab60,0,101,c0327740,c0599ca8) at uma_zalloc_arg+0x194
 malloc(a8,c0556ac0,101,c05226b0,c0b35d6c) at malloc+0xd4
 device_get_children(c4321380,c0b35d58,c0b35d5c,c0325d82,c18bf700) at 
 device_get_
 children+0x47
 isa_probe_children(c4321380,c051c640,0,c0b35d98,c02e9a25) at 
 isa_probe_children+
 0x2d
 configure(0,b32000,b32c00,b32000,0) at configure+0x4b
 mi_startup() at mi_startup+0xb5
 begin() at begin+0x2c
 db>
 
 -- 
 Jack Patton
 
 

From: Jack Patton <jackp@flag.60north.net>
To: Nate Lawson <nate@root.org>, Jack Patton <jackp@flag.60north.net>
Cc: <freebsd-scsi@freebsd.org>, <freebsd-bugs@freebsd.org>,
	<FreeBSD-gnats-submit@freebsd.org>
Subject: Re: kern/53566: IBM Eserver (245 || 345) + ServeRaid 5i ips driver panic
Date: Tue, 1 Jul 2003 19:47:09 -0000

 Nate Lawson <nate@root.org> said:
 
 > On Mon, 30 Jun 2003, Jack Patton wrote:
 > > Okay, I hooked up a serial console and the CURRENT-20030627-JPSNAP. This 
 is
 > > as far as the boot gets, along with a trace. Has there been any progress
 > > backporting this driver to 4.8 yet?
 > >
 > > FreeBSD 5.1-CURRENT-20030627-JPSNAP #0: Fri Jun 27 00:23:43 GMT 2003
 > >     root@ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC
 > > Preloaded elf kernel "/boot/kernel/kernel" at 0xc0b5d000.
 > > Preloaded mfs_root "/boot/mfsroot" at 0xc0b5d278.
 > > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0b5d2bc.
 > 
 > Disable acpi and try again.  Update your BIOS to hopefully get new ACPI
 > code.  There's some problem here with unitialized memory.  It may be
 > elsewhere though and ACPI is just stumbling onto it.
 > 
 > -Nate
 > _______________________________________________
 > freebsd-scsi@freebsd.org mailing list
 > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
 > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"
 > 
 
 
 Here's the result of booting with hint.acpi.0.disabled=1. We just got this 
 server recently. The server BIOS is at the latest version. I'm downloading a 
 BIOS/Firmware for the ServeRaid card itself now and will test it with that 
 applied.
 
 
 Copyright (c) 1992-2003 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 5.1-CURRENT-20030627-JPSNAP #0: Fri Jun 27 00:23:43 GMT 2003
     root@ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC
 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0b13000.
 Preloaded mfs_root "/boot/mfsroot" at 0xc0b13278.
 Timecounter "i8254"  frequency 1193182 Hz
 Timecounter "TSC"  frequency 2793899260 Hz
 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.90-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
   
 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
 MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Hyperthreading: 2 logical CPUs
 real memory  = 526385152 (502 MB)
 avail memory = 499556352 (476 MB)
 Pentium Pro MTRR support enabled
 md0: Preloaded image </boot/mfsroot> 4423680 bytes at 0xc06d9528
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcibios: BIOS version 2.10
 pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
 pci0: <PCI bus> on pcib0
 pci0: <display, VGA> at device 9.0 (no driver attached)
 atapci0: <ServerWorks CSB5 UDMA100 controller> port 0x700-0x70f,0x374-
 0x377,0x17
 0-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: simplex device, DMA on primary only
 ata1: at 0x170 irq 15 on atapci0
 ohci0: <OHCI (generic) USB controller> mem 0xfebfe000-0xfebfefff irq 11 at 
 devic
 e 15.2 on pci0
 usb0: OHCI version 1.0, legacy support
 usb0: SMM does not respond, resetting
 usb0: <OHCI (generic) USB controller> 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
 isab0: <PCI-ISA bridge> at device 15.3 on pci0
 isa0: <ISA bus> on isab0
 pcib1: <ServerWorks host to PCI bridge> at pcibus 1 on motherboard
 pci1: <PCI bus> on pcib1
 pcib2: <ServerWorks host to PCI bridge(unknown chipset)> at pcibus 2 on 
 motherbo
 ard
 pci2: <PCI bus> on pcib2
 bge0: <Broadcom BCM5703X Gigabit Ethernet, ASIC rev. 0x1002> mem 0xfbff0000-
 0xfb
 ffffff irq 3 at device 8.0 on pci2
 bge0: Ethernet address: 00:09:6b:a5:18:05
 miibus0: <MII bus> on bge0
 brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
 1000baseTX
 -FDX, auto
 pcib5: <ServerWorks host to PCI bridge(unknown chipset)> at pcibus 5 on 
 motherbo
 ard
 pci5: <PCI bus> on pcib5
 ips0: <IBM ServeRAID Adapter> mem 0xf4000000-0xf7ffffff irq 9 at device 3.0 
 on p
 ci5
 ips0: logical drives: 222
 ipsd0: <Logical Drive> on ips0
 ipsd0: Logical Drive  (1824184MB)
 ipsd1: <Logical Drive> on ips0
 ipsd1: Logical Drive  (1824184MB)
 ipsd2: <Logical Drive> on ips0
 ipsd2: Logical Drive  (1824184MB)
 ipsd3: <Logical Drive> on ips0
 ipsd3: Logical Drive  (1824184MB)
 ipsd4: <Logical Drive> on ips0
 ipsd4: Logical Drive  (1824184MB)
 ipsd5: <Logical Drive> on ips0
 ipsd5: Logical Drive  (1824184MB)
 ipsd6: <Logical Drive> on ips0
 ipsd6: Logical Drive  (1824184MB)
 ipsd7: <Logical Drive> on ips0
 ipsd7: Logical Drive  (1824184MB)
 pcib7: <ServerWorks host to PCI bridge(unknown chipset)> at pcibus 7 on 
 motherbo
 ard
 pci7: <PCI bus> on pcib7
 pcib9: <ServerWorks host to PCI bridge(unknown chipset)> at pcibus 9 on 
 motherbo
 ard
 pci9: <PCI bus> on pcib9
 Memory modified after free 0xc18b5700(252)
 panic: Most recently used by devbuf
 
 Debugger("panic")
 Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
 db> tr
 Debugger(c05025bf,c05c5240,c0519512,c0b35ca4,100) at Debugger+0x54
 panic(c0519512,c0500e61,fc,c0c3ab74,c0c3ab60) at panic+0xcc
 mtrash_ctor(c18b5700,100,0,549,c18b5700) at mtrash_ctor+0x5d
 uma_zalloc_arg(c0c3ab60,0,101,c0327740,c0599ca8) at uma_zalloc_arg+0x194
 malloc(a8,c0556ac0,101,c05226b0,c0b35d6c) at malloc+0xd4
 device_get_children(c4321380,c0b35d58,c0b35d5c,c0325d82,c18bf700) at 
 device_get_
 children+0x47
 isa_probe_children(c4321380,c051c640,0,c0b35d98,c02e9a25) at 
 isa_probe_children+
 0x2d
 configure(0,b32000,b32c00,b32000,0) at configure+0x4b
 mi_startup() at mi_startup+0xb5
 begin() at begin+0x2c
 db>
 
 -- 
 Jack Patton
 
 

From: Jack Patton <jackp@flag.60north.net>
To: Nate Lawson <nate@root.org>, Jack Patton <jackp@flag.60north.net>
Cc: <freebsd-scsi@freebsd.org>, <freebsd-bugs@freebsd.org>,
	<FreeBSD-gnats-submit@freebsd.org>
Subject: Re: kern/53566: IBM Eserver (245 || 345) + ServeRaid 5i ips driver panic
Date: Tue, 1 Jul 2003 20:06:50 -0000

 Nate Lawson <nate@root.org> said:
 
 > On Mon, 30 Jun 2003, Jack Patton wrote:
 > > Okay, I hooked up a serial console and the CURRENT-20030627-JPSNAP. This 
 is
 > > as far as the boot gets, along with a trace. Has there been any progress
 > > backporting this driver to 4.8 yet?
 > >
 > > FreeBSD 5.1-CURRENT-20030627-JPSNAP #0: Fri Jun 27 00:23:43 GMT 2003
 > >     root@ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC
 > > Preloaded elf kernel "/boot/kernel/kernel" at 0xc0b5d000.
 > > Preloaded mfs_root "/boot/mfsroot" at 0xc0b5d278.
 > > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0b5d2bc.
 > 
 > Disable acpi and try again.  Update your BIOS to hopefully get new ACPI
 > code.  There's some problem here with unitialized memory.  It may be
 > elsewhere though and ACPI is just stumbling onto it.
 > 
 > -Nate
 > _______________________________________________
 > freebsd-scsi@freebsd.org mailing list
 > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
 > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"
 > 
 
 
 Here's the result of booting with hint.acpi.0.disabled=1. We just got this 
 server recently. The server BIOS is at the latest version. I'm downloading a 
 BIOS/Firmware for the ServeRaid card itself now and will test it with that 
 applied.
 
 
 Copyright (c) 1992-2003 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 5.1-CURRENT-20030627-JPSNAP #0: Fri Jun 27 00:23:43 GMT 2003
     root@ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC
 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0b13000.
 Preloaded mfs_root "/boot/mfsroot" at 0xc0b13278.
 Timecounter "i8254"  frequency 1193182 Hz
 Timecounter "TSC"  frequency 2793899260 Hz
 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.90-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
   
 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
 MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Hyperthreading: 2 logical CPUs
 real memory  = 526385152 (502 MB)
 avail memory = 499556352 (476 MB)
 Pentium Pro MTRR support enabled
 md0: Preloaded image </boot/mfsroot> 4423680 bytes at 0xc06d9528
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcibios: BIOS version 2.10
 pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
 pci0: <PCI bus> on pcib0
 pci0: <display, VGA> at device 9.0 (no driver attached)
 atapci0: <ServerWorks CSB5 UDMA100 controller> port 0x700-0x70f,0x374-
 0x377,0x17
 0-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: simplex device, DMA on primary only
 ata1: at 0x170 irq 15 on atapci0
 ohci0: <OHCI (generic) USB controller> mem 0xfebfe000-0xfebfefff irq 11 at 
 devic
 e 15.2 on pci0
 usb0: OHCI version 1.0, legacy support
 usb0: SMM does not respond, resetting
 usb0: <OHCI (generic) USB controller> 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
 isab0: <PCI-ISA bridge> at device 15.3 on pci0
 isa0: <ISA bus> on isab0
 pcib1: <ServerWorks host to PCI bridge> at pcibus 1 on motherboard
 pci1: <PCI bus> on pcib1
 pcib2: <ServerWorks host to PCI bridge(unknown chipset)> at pcibus 2 on 
 motherbo
 ard
 pci2: <PCI bus> on pcib2
 bge0: <Broadcom BCM5703X Gigabit Ethernet, ASIC rev. 0x1002> mem 0xfbff0000-
 0xfb
 ffffff irq 3 at device 8.0 on pci2
 bge0: Ethernet address: 00:09:6b:a5:18:05
 miibus0: <MII bus> on bge0
 brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
 1000baseTX
 -FDX, auto
 pcib5: <ServerWorks host to PCI bridge(unknown chipset)> at pcibus 5 on 
 motherbo
 ard
 pci5: <PCI bus> on pcib5
 ips0: <IBM ServeRAID Adapter> mem 0xf4000000-0xf7ffffff irq 9 at device 3.0 
 on p
 ci5
 ips0: logical drives: 222
 ipsd0: <Logical Drive> on ips0
 ipsd0: Logical Drive  (1824184MB)
 ipsd1: <Logical Drive> on ips0
 ipsd1: Logical Drive  (1824184MB)
 ipsd2: <Logical Drive> on ips0
 ipsd2: Logical Drive  (1824184MB)
 ipsd3: <Logical Drive> on ips0
 ipsd3: Logical Drive  (1824184MB)
 ipsd4: <Logical Drive> on ips0
 ipsd4: Logical Drive  (1824184MB)
 ipsd5: <Logical Drive> on ips0
 ipsd5: Logical Drive  (1824184MB)
 ipsd6: <Logical Drive> on ips0
 ipsd6: Logical Drive  (1824184MB)
 ipsd7: <Logical Drive> on ips0
 ipsd7: Logical Drive  (1824184MB)
 pcib7: <ServerWorks host to PCI bridge(unknown chipset)> at pcibus 7 on 
 motherbo
 ard
 pci7: <PCI bus> on pcib7
 pcib9: <ServerWorks host to PCI bridge(unknown chipset)> at pcibus 9 on 
 motherbo
 ard
 pci9: <PCI bus> on pcib9
 Memory modified after free 0xc18b5700(252)
 panic: Most recently used by devbuf
 
 Debugger("panic")
 Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
 db> tr
 Debugger(c05025bf,c05c5240,c0519512,c0b35ca4,100) at Debugger+0x54
 panic(c0519512,c0500e61,fc,c0c3ab74,c0c3ab60) at panic+0xcc
 mtrash_ctor(c18b5700,100,0,549,c18b5700) at mtrash_ctor+0x5d
 uma_zalloc_arg(c0c3ab60,0,101,c0327740,c0599ca8) at uma_zalloc_arg+0x194
 malloc(a8,c0556ac0,101,c05226b0,c0b35d6c) at malloc+0xd4
 device_get_children(c4321380,c0b35d58,c0b35d5c,c0325d82,c18bf700) at 
 device_get_
 children+0x47
 isa_probe_children(c4321380,c051c640,0,c0b35d98,c02e9a25) at 
 isa_probe_children+
 0x2d
 configure(0,b32000,b32c00,b32000,0) at configure+0x4b
 mi_startup() at mi_startup+0xb5
 begin() at begin+0x2c
 db>
 
 -- 
 Jack Patton
 
 

From: Nate Lawson <nate@root.org>
To: Jack Patton <jackp@flag.60north.net>
Cc: freebsd-scsi@freebsd.org, FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/53566: IBM Eserver (245 || 345) + ServeRaid 5i ips driver
 panic
Date: Tue, 1 Jul 2003 17:42:56 -0700 (PDT)

 On Tue, 1 Jul 2003, Jack Patton wrote:
 > Nate Lawson <nate@root.org> said:
 > > Disable acpi and try again.  Update your BIOS to hopefully get new ACPI
 > > code.  There's some problem here with unitialized memory.  It may be
 > > elsewhere though and ACPI is just stumbling onto it.
 >
 > Here's the result of booting with hint.acpi.0.disabled=1. We just got this
 > server recently. The server BIOS is at the latest version. I'm downloading a
 > BIOS/Firmware for the ServeRaid card itself now and will test it with that
 > applied.
 >
 > Memory modified after free 0xc18b5700(252)
 > panic: Most recently used by devbuf
 >
 > Debugger("panic")
 > Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
 > db> tr
 > Debugger(c05025bf,c05c5240,c0519512,c0b35ca4,100) at Debugger+0x54
 > panic(c0519512,c0500e61,fc,c0c3ab74,c0c3ab60) at panic+0xcc
 > mtrash_ctor(c18b5700,100,0,549,c18b5700) at mtrash_ctor+0x5d
 > uma_zalloc_arg(c0c3ab60,0,101,c0327740,c0599ca8) at uma_zalloc_arg+0x194
 > malloc(a8,c0556ac0,101,c05226b0,c0b35d6c) at malloc+0xd4
 > device_get_children(c4321380,c0b35d58,c0b35d5c,c0325d82,c18bf700) at
 > device_get_
 > children+0x47
 > isa_probe_children(c4321380,c051c640,0,c0b35d98,c02e9a25) at
 > isa_probe_children+
 > 0x2d
 > configure(0,b32000,b32c00,b32000,0) at configure+0x4b
 > mi_startup() at mi_startup+0xb5
 > begin() at begin+0x2c
 > db>
 
 Nope, I was wrong.  Looks like it is indeed our problem.  At least this tr
 is easier to read.  :)
 
 -Nate

From: Jack Patton <jackp@flag.60north.net>
To: <jackp@flag.60north.net>, <FreeBSD-gnats-submit@freebsd.org>,
	<freebsd-bugs@freebsd.org>, <freebsd-scsi@freebsd.org>
Cc: <scottl@freebsd.org>
Subject: Re: kern/53566: IBM Eserver (245 || 345) + ServeRaid 5i ips driver panic
Date: Thu, 24 Jul 2003 19:11:11 -0000

 No good with the 0708 snap. 
 
  Copyright (c) 1992-2003 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 5.1-CURRENT-20030708-JPSNAP #0: Tue Jul  8 00:26:27 GMT 2003
     root@ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC
 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0b65000.
 Preloaded mfs_root "/boot/mfsroot" at 0xc0b65278.
 Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0b652bc.
 Timecounter "i8254"  frequency 1193182 Hz
 Timecounter "TSC"  frequency 2793894552 Hz
 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.89-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
   
 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
 MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Hyperthreading: 2 logical CPUs
 real memory  = 526385152 (502 MB)
 avail memory = 499220480 (476 MB)
 Pentium Pro MTRR support enabled
 md0: Preloaded image </boot/mfsroot> 4423680 bytes at 0xc06e1068
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 acpi0: <IBM    SERONYXP> on motherboard
 pcibios: BIOS version 2.10
 acpi0: power button is handled as a fixed feature programming model.
 Timecounter "ACPI-safe"  frequency 3579545 Hz
 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x488-0x48b on acpi0
 acpi_cpu0: <CPU> on acpi0
 acpi_cpu1: <CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pcib0: slot 9 INTA is routed to irq 10
 pcib0: slot 15 INTA is routed to irq 11
 pci0: <display, VGA> at device 9.0 (no driver attached)
 atapci0: <ServerWorks CSB5 UDMA100 controller> port 0x700-0x70f,0x374-
 0x377,0x17
 0-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: simplex device, DMA on primary only
 ata1: at 0x170 irq 15 on atapci0
 ohci0: <OHCI (generic) USB controller> mem 0xfebfe000-0xfebfefff irq 11 at 
 devic
 e 15.2 on pci0
 usb0: OHCI version 1.0, legacy support
 usb0: SMM does not respond, resetting
 usb0: <OHCI (generic) USB controller> 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
 isab0: <PCI-ISA bridge> at device 15.3 on pci0
 isa0: <ISA bus> on isab0
 pcib1: <ACPI Host-PCI bridge> on acpi0
 pci2: <ACPI PCI bus> on pcib1
 pcib1: slot 8 INTA is routed to irq 3
 bge0: <Broadcom BCM5703X Gigabit Ethernet, ASIC rev. 0x1002> mem 0xfbff0000-
 0xfb
 ffffff irq 3 at device 8.0 on pci2
 bge0: Ethernet address: 00:09:6b:a5:18:05
 miibus0: <MII bus> on bge0
 brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
 1000baseTX
 -FDX, auto
 pcib2: <ACPI Host-PCI bridge> on acpi0
 pci5: <ACPI PCI bus> on pcib2
 pcib2: slot 3 INTA is routed to irq 9
 ips0: <IBM ServeRAID Adapter> mem 0xf4000000-0xf7ffffff irq 9 at device 3.0 
 on p
 ci5
 ips0: logical drives: 222
 ipsd0: <Logical Drive> on ips0
 ipsd0: Logical Drive  (1824184MB)
 ipsd1: <Logical Drive> on ips0
 ipsd1: Logical Drive  (1824184MB)
 ipsd2: <Logical Drive> on ips0
 ipsd2: Logical Drive  (1824184MB)
 ipsd3: <Logical Drive> on ips0
 ipsd3: Logical Drive  (1824184MB)
 ipsd4: <Logical Drive> on ips0
 ipsd4: Logical Drive  (1824184MB)
 ipsd5: <Logical Drive> on ips0
 ipsd5: Logical Drive  (1824184MB)
 ipsd6: <Logical Drive> on ips0
 ipsd6: Logical Drive  (1824184MB)
 ipsd7: <Logical Drive> on ips0
 ipsd7: Logical Drive  (1824184MB)
 pcib3: <ACPI Host-PCI bridge> on acpi0
 pci7: <ACPI PCI bus> on pcib3
 pcib4: <ACPI Host-PCI bridge> on acpi0
 pci9: <ACPI PCI bus> on pcib4
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 atkbd: unable to set the command byte.
 device_probe_and_attach: atkbd0 attach returned 6
 psm: failed to restore the keyboard controller command byte.
 psm0: unable to set the command byte.
 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 
 0x3f7,0x3f0-0
 x3f5 irq 6 drq 2 on acpi0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 ppc0 port 0x378-0x37f irq 7 on acpi0
 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
 ppbus0: <Parallel port bus> on ppc0
 plip0: <PLIP network interface> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 sio0 port 0x3f8-0x3ff irq 4 on acpi0
 sio0: type 16550A, console
 orm0: <Option ROMs> at iomem 0xc8000-0xcffff,0xc0000-0xc7fff on isa0
 pmtimer0 on isa0
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x100>
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 Timecounters tick every 10.000 msec
 
 
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0xdeadc0de
 fault code              = supervisor read, page not present
 instruction pointer     = 0x8:0xdeadc0de
 stack pointer           = 0x10:0xd63a5cd0
 frame pointer           = 0x10:0xd63a5ce0
 code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
 processor eflags        = interrupt enabled, resume, IOPL = 0
 current process         = 29 (irq9: ips0)
 kernel: type 12 trap, code=0
 Stopped at      0xdeadc0de:
 
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0xdeadc0de
 fault code              = supervisor read, page not present
 instruction pointer     = 0x8:0xc04928c0
 stack pointer           = 0x10:0xd63a5ad4
 frame pointer           = 0x10:0xd63a5ad8
 code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
 processor eflags        = resume, IOPL = 0
 current process         = 29 (irq9: ips0)
      kernel: type 12 trap, code=0
 db> tr
 
 
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0xdeadc0de
 fault code              = supervisor read, page not present
 instruction pointer     = 0x8:0xc04928c0
 stack pointer           = 0x10:0xd63a59bc
 frame pointer           = 0x10:0xd63a59c0
 code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
 processor eflags        = resume, IOPL = 0
 current process         = 29 (irq9: ips0)
 kernel: type 12 trap, code=0
 db>

From: Nate Lawson <nate@root.org>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/53566 
Date: Fri, 22 Aug 2003 09:56:12 -0700 (PDT)

 More user input.  I don't have any way to help hunt this bug.  ips(4) is
 in need of a maintainer.
 
 ---------- Forwarded message ----------
 Date: Sun, 13 Jul 2003 14:49:37 +0200
 From: Francis GUDIN <fgudin@nerim.fr>
 To: jackp@flag.60north.net
 Cc: scottl@freebsd.org, nate@root.org
 
 Hello,
 
 i just thought about searching the open PRs for a possible help in my
 issue using "ips" and saw yours.
 Don't know if this will give clues to someone, but if that can be
 helpful, here's what i experienced with Serveraid :
 
 i tried to install 5.1 using jp snapshots floppies and i've been lucky
 enough to access sysinstall, though i got a similar warning about
 "ips0: failed to get configuration from device" at kernel startup.
 
 Everything went ok : dedicated a whole RAID1 array ("dangerously"),
 edited labels on it with the full automated option and could install a minimal
 distribution set.
 But upon reboot, mounting the root failed with something like "mount failed: 6"
 and "can't find rootvp".
 At that point, i'm left with a prompt giving a chance to point to the
 right location, but things seem broken since the '?' option to show available
 devices displays a lot of "dead" strings plus a few valid names.
 I tried different variations around "*ipsd*" without luck.
 
 I can't investigate further for now (my girl friend needs a workable
 openoffice, so i'm back to gentoo on this machine). I downloaded IBM's
 latest available support CD (v.6) and will give a try updating the
 adapter's firmware to the latest ; i guess i could at least get rid of
 the warning about the unretrievable config.
 
 Oh ! i forgot to tell you the hardware i'm willing to use : an old
 PCServer 330 and that ServeRaid card (don't know which series, but i
 guess it's a 3sthg).
 
 Please let me know if i can help testing...
 
 Regards,
 Francis.
State-Changed-From-To: open->analyzed 
State-Changed-By: mbr 
State-Changed-When: Thu Nov 27 01:31:10 PST 2003 
State-Changed-Why:  
Hi, this bug has been fixed a while ago. After the 
recent fixes the driver works on all our IBM servers. 

Can you test if the 5.2RC1 works better for you ? This 
snap will be released in a short time. 


Responsible-Changed-From-To: freebsd-bugs->mbr 
Responsible-Changed-By: mbr 
Responsible-Changed-When: Thu Nov 27 01:31:10 PST 2003 
Responsible-Changed-Why:  
Take this PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53566 
State-Changed-From-To: analyzed->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Nov 29 03:44:36 GMT 2005 
State-Changed-Why:  
Feedback timeout (>2 years). 

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