From owner-freebsd-current@FreeBSD.ORG Sun Dec 29 03:53:32 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4E8C6941 for ; Sun, 29 Dec 2013 03:53:32 +0000 (UTC) Received: from eu1sys200aog108.obsmtp.com (eu1sys200aog108.obsmtp.com [207.126.144.125]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4DA98143B for ; Sun, 29 Dec 2013 03:53:30 +0000 (UTC) Received: from mail-we0-f172.google.com ([74.125.82.172]) (using TLSv1) by eu1sys200aob108.postini.com ([207.126.147.11]) with SMTP ID DSNKUr+cl48dmDt5rPx7pacM6Tz8r3jucvhq@postini.com; Sun, 29 Dec 2013 03:53:31 UTC Received: by mail-we0-f172.google.com with SMTP id p61so9388472wes.3 for ; Sat, 28 Dec 2013 19:52:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:message-id:to:subject:reply-to; bh=5xkKO3WglqI/je8nIvMX0CxfZFFoRoJx2XJMrTM8GPU=; b=ANK6eHM5jTCFB5K6RkkoE59xccZzXsJGQD67Oo0uUPDgebBsM9UAKeNwqVEuJeO03u mJyacwXGr47A/+fFs3tymyOV1+PbOAMQTJNjEBNvptaT7MFVoUAAghiQbdvpoLOlR9L8 YPysOCFP13xHiBfV+QQ8/ibUuJsPdgiruHxR4gpaFip6ocTLKwUHdhg+dbQt3eY3IANl /0tDTL8RfTG80tjbjz9WVPCRll0ncUfKIk5gmYBOyY1Fk/assQig7kdQBP5/8FXL1Dzx OjYa9VO1WbuIUc16RV85SsM0IoojV+j6cWO0nM+Uqb7w3U8QWQB/L4TB7+t+NVIpLgLK drOQ== X-Received: by 10.180.37.237 with SMTP id b13mr38631604wik.52.1388264492610; Sat, 28 Dec 2013 13:01:32 -0800 (PST) X-Gm-Message-State: ALoCoQngXpTytbrtX+Sv/Jr+2HJU9LWfGCLzuViWPtP+VWH0DMkJftZ5hjLGQxxODQryR0TRmsfEpokyZ/JmNRYUIWAlkT73xiP9lx69vEVOlR1tWDMbKNGDHbK+c/kJFwYlrY16JRlJqPBPpjWHST2kTOZmBtE01/sikS4zM0/I50aiLsRH/wo= X-Received: by 10.180.37.237 with SMTP id b13mr38631600wik.52.1388264492483; Sat, 28 Dec 2013 13:01:32 -0800 (PST) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id j9sm22230451wjx.18.2013.12.28.13.01.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Dec 2013 13:01:31 -0800 (PST) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id rBSL1PHe054058 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 28 Dec 2013 21:01:25 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id rBSL1PDf054057 for freebsd-current@freebsd.org; Sat, 28 Dec 2013 21:01:25 GMT (envelope-from mexas) Date: Sat, 28 Dec 2013 13:01:31 -0800 (PST) From: Anton Shterenlikht Message-Id: <201312282101.rBSL1PDf054057@mech-cluster241.men.bris.ac.uk> To: freebsd-current@freebsd.org Subject: ata0: FAILURE - zero length DMA transfer attempted X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: mexas@bris.ac.uk List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Dec 2013 03:53:32 -0000 Hello I updated to r257910 amd64. I now get lots of: ata0: FAILURE - zero length DMA transfer attempted ata0: setting up DMA failed Please advise Below are dmesg.boot and pciconf -lv Many thanks Anton *************************************** Rebooting... cpu_reset: Stopping other CPUs Copyright (c) 1992-2013 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 11.0-CURRENT #8 r257910: Fri Dec 27 23:46:32 GMT 2013 root@mech-aslap33.men.bris.ac.uk:/usr/obj/usr/src/sys/MINKY amd64 FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 WARNING: WITNESS option enabled, expect reduced performance. CPU: Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz (2493.81-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10676 Family = 0x6 Model = 0x17 Stepping = 6 Features=0xbfebfbff Features2=0x8e3bd AMD Features=0x20000800 AMD Features2=0x1 TSC: P-state invariant, performance statistics real memory = 4294967296 (4096 MB) avail memory = 4032999424 (3846 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe1Block: 0/32 (20130823/tbfadt-601) ACPI BIOS Warning (bug): Optional FADT field Gpe1Block has zero address or length: 0x000000000000102C/0x0 (20130823/tbfadt-630) ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard random: initialized kbd1 at kbdmux0 acpi0: on motherboard CPU0: local APIC error 0x40 acpi_ec0: port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, bff00000 (3) failed cpu0: on acpi0 cpu1: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x2000-0x207f mem 0xd6000000-0xd6ffffff,0xe0000000-0xefffffff,0xd4000000-0xd5ffffff irq 16 at device 0.0 on pci1 nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_io vgapci0: child nvidia0 requested pci_enable_io em0: port 0x1840-0x185f mem 0xfe200000-0xfe21ffff,0xfe225000-0xfe225fff irq 20 at device 25.0 on pci0 em0: Using an MSI interrupt em0: Ethernet address: 00:21:86:58:e3:8b uhci0: port 0x1860-0x187f irq 20 at device 26.0 on pci0 usbus0 on uhci0 uhci1: port 0x1880-0x189f irq 21 at device 26.1 on pci0 usbus1 on uhci1 ehci0: mem 0xfe226c00-0xfe226fff irq 22 at device 26.7 on pci0 usbus2: EHCI version 1.0 usbus2 on ehci0 hdac0: mem 0xfe220000-0xfe223fff irq 17 at device 27.0 on pci0 pcib2: irq 20 at device 28.0 on pci0 pci2: on pcib2 pcib3: irq 21 at device 28.1 on pci0 pci3: on pcib3 iwn0: mem 0xdf2fe000-0xdf2fffff irq 17 at device 0.0 on pci3 pcib4: irq 22 at device 28.2 on pci0 pci4: on pcib4 pcib5: irq 23 at device 28.3 on pci0 pci5: on pcib5 pcib6: irq 20 at device 28.4 on pci0 pci13: on pcib6 uhci2: port 0x18a0-0x18bf irq 16 at device 29.0 on pci0 usbus3 on uhci2 uhci3: port 0x18c0-0x18df irq 17 at device 29.1 on pci0 usbus4 on uhci3 uhci4: port 0x18e0-0x18ff irq 18 at device 29.2 on pci0 usbus5 on uhci4 ehci1: mem 0xfe227000-0xfe2273ff irq 19 at device 29.7 on pci0 usbus6: EHCI version 1.0 usbus6 on ehci1 pcib7: at device 30.0 on pci0 pci21: on pcib7 cbb0: mem 0xf8100000-0xf8100fff irq 16 at device 0.0 on pci21 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pci21: at device 0.1 (no driver attached) sdhci_pci0: mem 0xf8101800-0xf81018ff irq 18 at device 0.2 on pci21 sdhci_pci0: 1 slot(s) allocated pci21: at device 0.3 (no driver attached) pci21: at device 0.4 (no driver attached) pci21: at device 0.5 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1830-0x183f at device 31.1 on pci0 ata0: at channel 0 on atapci0 ahci0: port 0x1c48-0x1c4f,0x1c1c-0x1c1f,0x1c40-0x1c47,0x1c18-0x1c1b,0x1c20-0x1c3f mem 0xfe226000-0xfe2267ff irq 16 at device 31.2 on pci0 ahci0: AHCI v1.10 with 3 1.5Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 pci0: at device 31.3 (no driver attached) acpi_tz0: on acpi0 acpi_tz1: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 battery0: on acpi0 acpi_acad0: on acpi0 orm0: at iomem 0xcf800-0xd07ff,0xd0800-0xd17ff,0xe0000-0xeffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range est0: on cpu0 p4tcc0: on cpu0 est1: on cpu1 p4tcc1: on cpu1 Timecounters tick every 1.000 msec hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 18,17 and 28,20,21 on hdaa0 pcm1: at nid 27 on hdaa0 hdacc1: at cad 1 on hdac0 unknown: at nid 2 on hdacc1 (no driver attached) random: unblocking device. usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 480Mbps High Speed USB v2.0 ugen1.1: at usbus1 uhub0: on usbus1 ugen0.1: at usbus0 uhub1: on usbus0 ugen4.1: at usbus4 uhub2: on usbus4 ugen3.1: at usbus3 uhub3: on usbus3 ugen2.1: at usbus2 uhub4: on usbus2 ugen6.1: at usbus6 uhub5: on usbus6 ugen5.1: at usbus5 uhub6: on usbus5 ada0 at ahcich0 bus 0 scbus1 target 0 lun 0 ada0: ATA-8 SATA 2.x device ada0: Serial Number E3834563JTR37N ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) ada0: Command Queueing enabled cd0 at ata0 bus 0 scbus0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: Serial Number KZ282QB3625 cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present ada0: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 SMP: AP CPU #1 Launched! WARNING: WITNESS option enabled, expect reduced performance. uhub2: 2 ports with 2 removable, self powered uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered Root mount waiting for: usbus6 usbus2 uhub4: 4 ports with 4 removable, self powered uhub5: 6 ports with 6 removable, self powered Root mount waiting for: usbus6 ugen6.2: at usbus6 Trying to mount root from ufs:/dev/ada0p2 [rw]... ugen1.2: at usbus1 ums0: on usbus1 ums0: 3 buttons and [XY] coordinates ID=0 wlan0: Ethernet address: 00:21:5c:50:68:c3 lock order reversal: 1st 0xfffffe00f26637f0 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3050 2nd 0xfffff8000655e400 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:284 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe011e087410 kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe011e0874c0 witness_checkorder() at witness_checkorder+0xd23/frame 0xfffffe011e087550 _sx_xlock() at _sx_xlock+0x75/frame 0xfffffe011e087590 ufsdirhash_add() at ufsdirhash_add+0x3b/frame 0xfffffe011e0875d0 ufs_direnter() at ufs_direnter+0x688/frame 0xfffffe011e087690 ufs_mkdir() at ufs_mkdir+0x863/frame 0xfffffe011e087890 VOP_MKDIR_APV() at VOP_MKDIR_APV+0xf0/frame 0xfffffe011e0878c0 kern_mkdirat() at kern_mkdirat+0x1ff/frame 0xfffffe011e087ae0 amd64_syscall() at amd64_syscall+0x265/frame 0xfffffe011e087bf0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe011e087bf0 --- syscall (136, FreeBSD ELF64, sys_mkdir), rip = 0x80092f98a, r sp = 0x7ff fffff d798, rbp = 0x7fffffffdc70 --- hostb0@pci0:0:0:0: class=0x060000 card=0x20b117aa chip=0x2a008086 rev=0x0c hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile PM965/GM965/GL960 Memory Controller Hub' class = bridge subclass = HOST-PCI pcib1@pci0:0:1:0: class=0x060400 card=0x20b217aa chip=0x2a018086 rev=0x0c hdr=0x01 vendor = 'Intel Corporation' device = 'Mobile PM965/GM965/GL960 PCI Express Root Port' class = bridge subclass = PCI-PCI em0@pci0:0:25:0: class=0x020000 card=0x20b917aa chip=0x10498086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82566MM Gigabit Network Connection' class = network subclass = ethernet uhci0@pci0:0:26:0: class=0x0c0300 card=0x20aa17aa chip=0x28348086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) USB UHCI Controller' class = serial bus subclass = USB uhci1@pci0:0:26:1: class=0x0c0300 card=0x20aa17aa chip=0x28358086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) USB UHCI Controller' class = serial bus subclass = USB ehci0@pci0:0:26:7: class=0x0c0320 card=0x20ab17aa chip=0x283a8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) USB2 EHCI Controller' class = serial bus subclass = USB hdac0@pci0:0:27:0: class=0x040300 card=0x20ac17aa chip=0x284b8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) HD Audio Controller' class = multimedia subclass = HDA pcib2@pci0:0:28:0: class=0x060400 card=0x20ad17aa chip=0x283f8086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) PCI Express Port 1' class = bridge subclass = PCI-PCI pcib3@pci0:0:28:1: class=0x060400 card=0x20ad17aa chip=0x28418086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) PCI Express Port 2' class = bridge subclass = PCI-PCI pcib4@pci0:0:28:2: class=0x060400 card=0x20ad17aa chip=0x28438086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) PCI Express Port 3' class = bridge subclass = PCI-PCI pcib5@pci0:0:28:3: class=0x060400 card=0x20ad17aa chip=0x28458086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) PCI Express Port 4' class = bridge subclass = PCI-PCI pcib6@pci0:0:28:4: class=0x060400 card=0x20ad17aa chip=0x28478086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) PCI Express Port 5' class = bridge subclass = PCI-PCI uhci2@pci0:0:29:0: class=0x0c0300 card=0x20aa17aa chip=0x28308086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) USB UHCI Controller' class = serial bus subclass = USB uhci3@pci0:0:29:1: class=0x0c0300 card=0x20aa17aa chip=0x28318086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) USB UHCI Controller' class = serial bus subclass = USB