From owner-freebsd-stable@FreeBSD.ORG Sat Jan 26 22:58:24 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32F0916A417 for ; Sat, 26 Jan 2008 22:58:24 +0000 (UTC) (envelope-from remco@spacemarines.us) Received: from green.qinip.net (green.qinip.net [62.100.30.36]) by mx1.freebsd.org (Postfix) with ESMTP id D61C313C448 for ; Sat, 26 Jan 2008 22:58:23 +0000 (UTC) (envelope-from remco@spacemarines.us) Received: from marshal.spacemarines.us (h89220144089.dsl.speedlinq.nl [89.220.144.89]) by green.qinip.net (Postfix) with ESMTP id C7CEBD0C0; Sat, 26 Jan 2008 23:37:56 +0100 (CET) Received: by marshal.spacemarines.us (Postfix, from userid 1000) id 5E98F1C09A; Sat, 26 Jan 2008 23:37:50 +0100 (CET) Date: Sat, 26 Jan 2008 23:37:50 +0100 To: Nikolaj Farrell Message-ID: <20080126223750.GA8397@marshal.spacemarines.us> References: <479BAC09.7040505@freebsd.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <479BAC09.7040505@freebsd.se> User-Agent: Mutt/1.5.13 (2006-08-11) From: remco@spacemarines.us (Remco van Bekkum) Cc: freebsd-stable@freebsd.org Subject: Re: ad8: TIMEOUT - WRITE_DMA errors UFS 7.0-RC1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jan 2008 22:58:24 -0000 Same here. On an amd64 system with 1x sata disk (Western Digital Caviar Green Power) on an amd690G chipset, with UFS and intensive disk activity the system hangs and in the end it may panic. I've csupped today and rebuild world & generic kernel but still it's very unstable, sometimes it even hangs when activating geom volumes at boot time... I must add that this is a new system so I'm not 100% sure the hardware is sane. Using ZFS it also crashed when doing intensive I/O. I can supply additional info later if that may help. Cheers, Remco On Sat, Jan 26, 2008 at 10:54:17PM +0100, Nikolaj Farrell wrote: > After upgrading from RELENG_6_2 to 7.0-RC1 I am experiencing system > becoming unresponsive during intensive disk operations. Only solution is > a power off. These hangs occured pretty much within a few hours of first > running 7.0-RC1. 6.2R was fine. I am not running ZFS. > > The hangs are easy to reproduce by an unrar of an archive ~4.4GB. The > system will not hang during "normal" operations. > > Below are the errors I get, output from dmesg, atacontrol cap and > smartctl tests. (The long test is aborted below, but as indicated > previously completed without errors) > > These are the errors: > --- > Jan 26 19:55:36 athlon kernel: ad8: WARNING - SETFEATURES SET TRANSFER > MODE taskqueue timeout - completing request directly > Jan 26 19:55:36 athlon kernel: ad8: WARNING - SETFEATURES ENABLE RCACHE > taskqueue timeout - completing request directly > Jan 26 19:55:36 athlon kernel: ad8: WARNING - SETFEATURES ENABLE WCACHE > taskqueue timeout - completing request directly > Jan 26 19:55:36 athlon kernel: ad8: WARNING - SET_MULTI taskqueue > timeout - completing request directly > Jan 26 19:55:36 athlon kernel: ad8: TIMEOUT - WRITE_DMA retrying (1 > retry left) LBA=55552415 > Jan 26 19:55:36 athlon kernel: ad8: WARNING - SETFEATURES SET TRANSFER > MODE taskqueue timeout - completing request directly > Jan 26 19:55:36 athlon kernel: ad8: WARNING - SETFEATURES SET TRANSFER > MODE taskqueue timeout - completing request directly > Jan 26 19:55:36 athlon kernel: ad8: WARNING - SETFEATURES ENABLE RCACHE > taskqueue timeout - completing request directly > Jan 26 19:55:36 athlon kernel: ad8: WARNING - SETFEATURES ENABLE WCACHE > taskqueue timeout - completing request directly > Jan 26 19:55:36 athlon kernel: ad8: WARNING - SET_MULTI taskqueue > timeout - completing request directly > Jan 26 19:55:36 athlon kernel: ad8: TIMEOUT - WRITE_DMA retrying (1 > retry left) LBA=55552543 > --- > and so on... > > This computer has only the one SATA hard drive. > dmesg info: > atapci1: port > 0xcc00-0xcc07,0xc880-0xc883,0xc800-0xc807,0xc480-0xc483,0xc400-0xc40f,0xc000-0xc0ff > irq 21 at device 15.0 on pci0 > atapci1: [ITHREAD] > ata4: on atapci1 > ad8: 238475MB at ata4-master SATA150 > > --- > > atacontrol cap ad8 > > Protocol Serial ATA II > device model SAMSUNG SP2504C > serial number S09QJ1CP201268 > firmware revision VT100-50 > cylinders 16383 > heads 16 > sectors/track 63 > lba supported 268435455 sectors > lba48 supported 488397168 sectors > dma supported > overlap not supported > > Feature Support Enable Value Vendor > write cache yes yes > read ahead yes yes > Native Command Queuing (NCQ) yes - 31/0x1F > Tagged Command Queuing (TCQ) no no 31/0x1F > SMART yes yes > microcode download yes yes > security yes no > power management yes yes > advanced power management no no 0/0x00 > automatic acoustic management yes no 0/0x00 254/0xFE > > --- > smartctl -a /dev/ad8: > > === START OF INFORMATION SECTION === > Model Family: SAMSUNG SpinPoint P120 series > Device Model: SAMSUNG SP2504C > Serial Number: S09QJ1CP201268 > Firmware Version: VT100-50 > User Capacity: 250 059 350 016 bytes > Device is: In smartctl database [for details use: -P show] > ATA Version is: 7 > ATA Standard is: ATA/ATAPI-7 T13 1532D revision 4a > Local Time is: Sat Jan 26 22:44:43 2008 CET > SMART support is: Available - device has SMART capability. > SMART support is: Enabled > > === START OF READ SMART DATA SECTION === > SMART overall-health self-assessment test result: PASSED > > General SMART Values: > Offline data collection status: (0x02) Offline data collection activity > was completed without error. > Auto Offline Data Collection: > Disabled. > Self-test execution status: ( 25) The self-test routine was aborted by > the host. > Total time to complete Offline > data collection: (5028) seconds. > Offline data collection > capabilities: (0x5b) SMART execute Offline immediate. > Auto Offline data collection > on/off support. > Suspend Offline collection upon new > command. > Offline surface scan supported. > Self-test supported. > No Conveyance Self-test supported. > Selective Self-test supported. > SMART capabilities: (0x0003) Saves SMART data before entering > power-saving mode. > Supports SMART auto save timer. > Error logging capability: (0x01) Error logging supported. > General Purpose Logging supported. > Short self-test routine > recommended polling time: ( 1) minutes. > Extended self-test routine > recommended polling time: ( 83) minutes. > > SMART Attributes Data Structure revision number: 16 > Vendor Specific SMART Attributes with Thresholds: > ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE > UPDATED WHEN_FAILED RAW_VALUE > 1 Raw_Read_Error_Rate 0x000f 100 100 051 Pre-fail > Always - 42 > 3 Spin_Up_Time 0x0007 253 253 025 Pre-fail > Always - 5824 > 4 Start_Stop_Count 0x0032 100 100 000 Old_age > Always - 267 > 5 Reallocated_Sector_Ct 0x0033 253 253 010 Pre-fail > Always - 0 > 7 Seek_Error_Rate 0x000f 253 253 051 Pre-fail > Always - 0 > 8 Seek_Time_Performance 0x0025 253 253 015 Pre-fail > Offline - 0 > 9 Power_On_Hours 0x0032 100 100 000 Old_age > Always - 1806 > 10 Spin_Retry_Count 0x0033 253 253 051 Pre-fail > Always - 0 > 11 Calibration_Retry_Count 0x0012 253 253 000 Old_age > Always - 0 > 12 Power_Cycle_Count 0x0032 100 100 000 Old_age > Always - 267 > 187 Unknown_Attribute 0x0032 253 253 000 Old_age Always > - 262144 > 190 Temperature_Celsius 0x0022 145 124 000 Old_age Always > - 31 > 194 Temperature_Celsius 0x0022 145 124 000 Old_age Always > - 31 > 195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always > - 264950591 > 196 Reallocated_Event_Count 0x0032 253 253 000 Old_age Always > - 0 > 197 Current_Pending_Sector 0x0012 253 253 000 Old_age Always > - 0 > 198 Offline_Uncorrectable 0x0030 253 253 000 Old_age > Offline - 0 > 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always > - 0 > 200 Multi_Zone_Error_Rate 0x000a 100 100 000 Old_age Always > - 0 > 201 Soft_Read_Error_Rate 0x000a 100 100 000 Old_age Always > - 0 > 202 TA_Increase_Count 0x0032 253 253 000 Old_age Always > - 0 > > SMART Error Log Version: 1 > No Errors Logged > > SMART Self-test log structure revision number 1 > Num Test_Description Status Remaining > LifeTime(hours) LBA_of_first_error > # 1 Abort offline test Aborted by host 90% 1806 > - > # 2 Extended offline Completed without error 00% 1806 > - > # 3 Abort offline test Aborted by host 80% 1804 > - > # 4 Short offline Completed without error 00% 57 > - > > If I have missed some important information, please advise me what you need. > > Thank you > Nikolaj > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"