Date: Thu, 18 Feb 2010 10:01:01 GMT From: vermaden <vermaden@interia.pl> To: freebsd-gnats-submit@FreeBSD.org Subject: amd64/144055: kernel panic on IBM x226 with SATA drive Message-ID: <201002181001.o1IA11K7015194@www.freebsd.org> Resent-Message-ID: <201002181010.o1IAA1Wu074153@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 144055 >Category: amd64 >Synopsis: kernel panic on IBM x226 with SATA drive >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 18 10:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: vermaden >Release: 8.0-RC2 GENERIC amd64 >Organization: >Environment: FreeBSD x226 8.0-RC2 FreeBSD 8.0-RC2 #0: Sun Oct 25 07:27:19 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: After adding a 1TB SATA disk to this IBM x226 (attached at powered down) I created some filesystems on it and mounted it, short time after that we saw kernel panic and reboot with these error messages: Feb 17 21:54:09 x226 kernel: ad2: timeout waiting to issue command Feb 17 21:54:09 x226 kernel: ad2: error issuing FLUSHCACHE48 command Feb 17 21:54:10 x226 kernel: ad2: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=1153433663 Feb 17 21:54:10 x226 kernel: ad2: FAILURE - READ_DMA48 status=51<READY,DSC,ERROR> error=10<NID_NOT_FOUND> LBA=1153433663 Feb 17 21:54:10 x226 kernel: GEOM_JOURNAL: Error while reading data from ad2s1 (error=5). Feb 18 00:01:10 x226 kernel: ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=72617663 .. and kernel panic next. Below I attach dmesg/pciconf/fstab/loader.conf outputs/content: dmesg: ---------------------------------------------------------------- Copyright (c) 1992-2009 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 8.0-RC2 #0: Sun Oct 25 07:27:19 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (3000.12-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0xf43 Stepping = 3 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x641d<SSE3,DTES64,MON,DS_CPL,CNXT-ID,CX16,xTPR> AMD Features=0x20100800<SYSCALL,NX,LM> TSC: P-state invariant real memory = 4294967296 (4096 MB) avail memory = 4106801152 (3916 MB) ACPI APIC Table: <PTLTD APIC > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 2 package(s) x 1 core(s) x 2 HTT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP/HT): APIC ID: 7 ioapic0 <Version 2.0> irqs 0-23 on motherboard ioapic1 <Version 2.0> irqs 24-47 on motherboard ioapic2 <Version 2.0> irqs 48-71 on motherboard kbd1 at kbdmux0 acpi0: <PTLTD RSDT> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 2.0 on pci0 pci1: <ACPI PCI bus> on pcib1 bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x4101> mem 0xd0100000-0xd010ffff irq 16 at device 0.0 on pci1 miibus0: <MII bus> on bge0 brgphy0: <BCM5750 10/100/1000baseTX PHY> PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:14:5e:46:64:9d bge0: [ITHREAD] pcib2: <ACPI PCI-PCI bridge> at device 3.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pcib3: <ACPI PCI-PCI bridge> at device 0.0 on pci2 pci3: <ACPI PCI bus> on pcib3 pcib4: <ACPI PCI-PCI bridge> at device 1.0 on pci3 pci4: <ACPI PCI bus> on pcib4 ips0: <Adaptec ServeRAID Adapter> mem 0xd0400000-0xd0400fff irq 28 at device 8.0 on pci4 ips0: [ITHREAD] ahd0: <Adaptec AIC7902 Ultra320 SCSI adapter> port 0x2400-0x24ff,0x2000-0x20ff mem 0xd0300000-0xd0301fff irq 30 at device 3.0 on pci3 ahd0: [ITHREAD] aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs ahd1: <Adaptec AIC7902 Ultra320 SCSI adapter> port 0x2c00-0x2cff,0x2800-0x28ff mem 0xd0302000-0xd0303fff irq 31 at device 3.1 on pci3 ahd1: [ITHREAD] aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs pcib5: <ACPI PCI-PCI bridge> at device 0.2 on pci2 pci5: <ACPI PCI bus> on pcib5 pcib6: <ACPI PCI-PCI bridge> irq 16 at device 4.0 on pci0 pci6: <ACPI PCI bus> on pcib6 uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0x1400-0x141f irq 16 at device 29.0 on pci0 uhci0: [ITHREAD] uhci0: LegSup = 0x003b usbus0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0 uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0x1420-0x143f irq 19 at device 29.1 on pci0 uhci1: [ITHREAD] uhci1: LegSup = 0x0010 usbus1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1 uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0x1440-0x145f irq 18 at device 29.2 on pci0 uhci2: [ITHREAD] uhci2: LegSup = 0x0010 usbus2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2 uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0x1460-0x147f irq 16 at device 29.3 on pci0 uhci3: [ITHREAD] uhci3: LegSup = 0x0010 usbus3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3 ehci0: <Intel 82801EB/R (ICH5) USB 2.0 controller> mem 0xd0000000-0xd00003ff irq 23 at device 29.7 on pci0 ehci0: [ITHREAD] usbus4: EHCI version 1.0 usbus4: <Intel 82801EB/R (ICH5) USB 2.0 controller> on ehci0 pcib7: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci7: <ACPI PCI bus> on pcib7 rl0: <RealTek 8139 10/100BaseTX> port 0x3000-0x30ff mem 0xd0510000-0xd05100ff irq 16 at device 1.0 on pci7 miibus1: <MII bus> on rl0 rlphy0: <RealTek internal media interface> PHY 0 on miibus1 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:30:4f:12:af:0c rl0: [ITHREAD] rl1: <RealTek 8139 10/100BaseTX> port 0x3400-0x34ff mem 0xd0510400-0xd05104ff irq 17 at device 2.0 on pci7 miibus2: <MII bus> on rl1 rlphy1: <RealTek internal media interface> PHY 0 on miibus2 rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl1: Ethernet address: 00:02:44:4c:4e:b6 rl1: [ITHREAD] vgapci0: <VGA-compatible display> port 0x3800-0x38ff mem 0xd8000000-0xdfffffff,0xd0500000-0xd050ffff irq 22 at device 4.0 on pci7 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH5 SATA150 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x14b0-0x14bf at device 31.2 on pci0 ata0: <ATA channel 0> on atapci0 ata0: [ITHREAD] ata1: <ATA channel 1> on atapci0 ata1: [ITHREAD] pci0: <serial bus, SMBus> at device 31.3 (no driver attached) acpi_button0: <Power Button> on acpi0 atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0 fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77f irq 7 drq 4 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppc0: [ITHREAD] ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 plip0: [ITHREAD] lpt0: <Printer> on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart1: [FILTER] atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 cpu0: <ACPI CPU> on acpi0 p4tcc0: <CPU Frequency Thermal Control> on cpu0 cpu1: <ACPI CPU> on acpi0 p4tcc1: <CPU Frequency Thermal Control> on cpu1 cpu2: <ACPI CPU> on acpi0 p4tcc2: <CPU Frequency Thermal Control> on cpu2 cpu3: <ACPI CPU> on acpi0 p4tcc3: <CPU Frequency Thermal Control> on cpu3 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc8fff,0xc9000-0xca7ff,0xca800-0xcdfff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec Waiting 5 seconds for SCSI devices to settle usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 ugen0.1: <Intel> at usbus0 uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 ugen1.1: <Intel> at usbus1 uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 ugen2.1: <Intel> at usbus2 uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2 ugen3.1: <Intel> at usbus3 uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3 ugen4.1: <Intel> at usbus4 uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4 acd0: CDROM <TSSTcorp CD-ROM TS-H192C/IB00> at ata0-master UDMA33 ad2: 953869MB <Seagate ST31000340NS SN06> at ata1-master SATA150 ips0: adapter type: ServeRAID 6M (marco) ips0: logical drives: 1 ips0: Logical Drive 0: RAID1 sectors: 71096320, state OK ipsd0: <Logical Drive> on ips0 ipsd0: Logical Drive (34715MB) uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered GEOM: ipsd0: partition 1 does not start on a track boundary. GEOM: ipsd0: partition 1 does not end on a track boundary. GEOM: ad2s1: geometry does not match label (255h,63s != 16h,63s). GEOM: ad2s1: media size does not match label. GEOM_JOURNAL: Journal 1126572298: ad2s1 contains data. GEOM_JOURNAL: Journal 1126572298: ad2s1 contains journal. GEOM_JOURNAL: Journal ad2s1 clean. GEOM: ipsd0s1: geometry does not match label (255h,63s != 128h,32s). uhub4: 8 ports with 8 removable, self powered ugen2.2: <vendor 0x046d> at usbus2 ukbd0: <vendor 0x046d product 0xc30e, class 0/0, rev 1.10/1.80, addr 2> on usbus2 kbd2 at ukbd0 uhid0: <vendor 0x046d product 0xc30e, class 0/0, rev 1.10/1.80, addr 2> on usbus2 SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! Trying to mount root from ufs:/dev/ipsd0s1a bge0: link state changed to UP rl0: link state changed to UP rl1: link state changed to UP /usr/backup: optimization changed from TIME to SPACE ugen2.2: <vendor 0x046d> at usbus2 (disconnected) ukbd0: at uhub2, port 2, addr 2 (disconnected) uhid0: at uhub2, port 2, addr 2 (disconnected) ---------------------------------------------------------------- pciconf -l -v ---------------------------------------------------------------- hostb0@pci0:0:0:0: class=0x060000 card=0x359e8086 chip=0x359e8086 rev=0x0c hdr=0x00 vendor = 'Intel Corporation' device = 'E7525 Workstation Memory Controller Hub' class = bridge subclass = HOST-PCI pcib1@pci0:0:2:0: class=0x060400 card=0x00000000 chip=0x35958086 rev=0x0c hdr=0x01 vendor = 'Intel Corporation' device = 'E752x Memory Controller Hub PCIe Port A0' class = bridge subclass = PCI-PCI pcib2@pci0:0:3:0: class=0x060400 card=0x00000000 chip=0x35968086 rev=0x0c hdr=0x01 vendor = 'Intel Corporation' device = 'E752x Memory Controller Hub PCIe Port A1' class = bridge subclass = PCI-PCI pcib6@pci0:0:4:0: class=0x060400 card=0x00000000 chip=0x35978086 rev=0x0c hdr=0x01 vendor = 'Intel Corporation' device = 'E752x Memory Controller Hub PCIe Port B0' class = bridge subclass = PCI-PCI uhci0@pci0:0:29:0: class=0x0c0300 card=0x02ed1014 chip=0x24d28086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller *1' class = serial bus subclass = USB uhci1@pci0:0:29:1: class=0x0c0300 card=0x02ed1014 chip=0x24d48086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller *2' class = serial bus subclass = USB uhci2@pci0:0:29:2: class=0x0c0300 card=0x02ed1014 chip=0x24d78086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller *3' class = serial bus subclass = USB uhci3@pci0:0:29:3: class=0x0c0300 card=0x02ed1014 chip=0x24de8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller *4' class = serial bus subclass = USB ehci0@pci0:0:29:7: class=0x0c0320 card=0x02ed1014 chip=0x24dd8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB 2.0 EHCI Controller' class = serial bus subclass = USB pcib7@pci0:0:30:0: class=0x060400 card=0x00000000 chip=0x244e8086 rev=0xc2 hdr=0x01 vendor = 'Intel Corporation' device = '82801 Family (ICH2/3/4/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:0:31:0: class=0x060100 card=0x00000000 chip=0x24d08086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) LPC Interface Bridge' class = bridge subclass = PCI-ISA atapci0@pci0:0:31:2: class=0x01018a card=0x02dd1014 chip=0x24d18086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB (ICH5) SATA Controller' class = mass storage subclass = ATA none0@pci0:0:31:3: class=0x0c0500 card=0x02ed1014 chip=0x24d38086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) SMBus Controller' class = serial bus subclass = SMBus bge0@pci0:1:0:0: class=0x020000 card=0x02c61014 chip=0x165914e4 rev=0x11 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme Gigabit Ethernet PCI Express (BCM5721)' class = network subclass = ethernet pcib3@pci0:2:0:0: class=0x060400 card=0x00000000 chip=0x03298086 rev=0x09 hdr=0x01 vendor = 'Intel Corporation' device = 'PCI Express-to-PCI Express Bridge A (6700PXH)' class = bridge subclass = PCI-PCI ioapic0@pci0:2:0:1: class=0x080020 card=0x00000000 chip=0x03268086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' device = '6700/6702PXH I/OxAPIC Interrupt Controller A' class = base peripheral subclass = interrupt controller pcib5@pci0:2:0:2: class=0x060400 card=0x00000000 chip=0x032a8086 rev=0x09 hdr=0x01 vendor = 'Intel Corporation' device = 'PCI Express-to-PCI Express Bridge B (6700PXH)' class = bridge subclass = PCI-PCI ioapic1@pci0:2:0:3: class=0x080020 card=0x00000000 chip=0x03278086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' device = 'I/OxAPIC Interrupt Controller B (6700PXH)' class = base peripheral subclass = interrupt controller pcib4@pci0:3:1:0: class=0x060400 card=0x00000000 chip=0x01a71014 rev=0x02 hdr=0x01 vendor = 'International Business Machines Corp.' device = 'PCI-X Bridge R1.1 (IBM 133)' class = bridge subclass = PCI-PCI ahd0@pci0:3:3:0: class=0x010000 card=0x02cc1014 chip=0x801d9005 rev=0x10 hdr=0x00 vendor = 'Adaptec Inc' device = 'Ultra320 SCSI Controller (AIC-7902B)' class = mass storage subclass = SCSI ahd1@pci0:3:3:1: class=0x010000 card=0x02cc1014 chip=0x801d9005 rev=0x10 hdr=0x00 vendor = 'Adaptec Inc' device = 'Ultra320 SCSI Controller (AIC-7902B)' class = mass storage subclass = SCSI ips0@pci0:4:8:0: class=0x010400 card=0x02791014 chip=0x02509005 rev=0x02 hdr=0x00 vendor = 'Adaptec Inc' device = 'ServeRAID Controller' class = mass storage subclass = RAID rl0@pci0:7:1:0: class=0x020000 card=0x813911f6 chip=0x813910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'Realtek RTL8139 Family PCI Fast Ethernet NIC (RTL-8139/8139C/8139C)' class = network subclass = ethernet rl1@pci0:7:2:0: class=0x020000 card=0x032010bd chip=0x813910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'Realtek RTL8139 Family PCI Fast Ethernet NIC (RTL-8139/8139C/8139C)' class = network subclass = ethernet vgapci0@pci0:7:4:0: class=0x030000 card=0x02c81014 chip=0x51591002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'Radeon 7000 / Radeon VE (RV100)' class = display subclass = VGA ---------------------------------------------------------------- /etc/fstab ---------------------------------------------------------------- # ROOT # Device Mountpoint FStype Options Dump Pass# /dev/ipsd0s1b none swap sw 0 0 /dev/ipsd0s1a / ufs rw 1 1 /dev/ipsd0s1f /usr ufs rw 2 2 /dev/ipsd0s1d /var ufs rw 2 2 /dev/ipsd0s1e /var/log ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 # PSEUDO # Device Mountpoint FStype Options Dump Pass# linproc /compat/linux/proc linprocfs rw 0 0 # JOURNALED # Device Mountpoint FStype Options Dump Pass# /dev/label/storage /storage ufs rw,async,noatime 2 2 /dev/label/backup /usr/backup ufs rw,async,noatime 2 2 /dev/label/dokumenty /usr/local/www ufs rw,async,noatime 2 2 ---------------------------------------------------------------- /boot/loader.conf ---------------------------------------------------------------- geom_journal_load="YES" ---------------------------------------------------------------- >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002181001.o1IA11K7015194>