DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
Old 22nd June 2008
thavinci thavinci is offline
Real Name: Marcel Grandemange
Port Guard
 
Join Date: May 2008
Location: Port-Elizabeth
Posts: 30
Thanked 0 Times in 0 Posts
Default

Well i don't know the model of the 500w either. It is the only stuff the distrubuters have over here..

But i can't see how it can still be a problem....

Looks like i havent had any issues with the one drive since the replacement (ad6).

However ad2 still permanantly has issues while copying to it...


Jun 22 11:13:02 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=2374687
Jun 22 11:13:05 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=2751359
Jun 22 11:13:13 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3127999
Jun 22 11:13:14 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3138495
Jun 22 11:13:29 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=4249023
Jun 22 11:13:46 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=5360159
Jun 22 11:14:12 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=6511871
Jun 22 11:14:13 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=6527487
Jun 22 11:14:18 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=7296447
Jun 22 11:14:33 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=8368511
Jun 22 11:14:51 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=9129663
Jun 22 11:14:51 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=9135551
Jun 22 11:14:52 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=9139135
Jun 22 11:17:57 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=17800639
Jun 22 11:18:04 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=18191039
Jun 22 11:18:05 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=18206655
Jun 22 11:18:09 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=18935967
Jun 22 11:18:13 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=19296799
Jun 22 11:18:27 gw2 kernel: ad2: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=477339327
Jun 22 11:18:27 gw2 kernel: ad2: FAILURE - WRITE_DMA48 status=51<READY,DSC,ERROR> error=4<ABORTED> LBA=477339327
Jun 22 11:18:27 gw2 kernel: g_vfs_done():ad2s1d[WRITE(offset=244397703168, length=131072)]error = 5
Jun 22 11:18:32 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=20055135
Jun 22 11:18:55 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=21563775
Jun 22 11:19:00 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=21931007
Jun 22 11:19:11 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=23450111
Jun 22 11:19:12 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=23461247
Jun 22 11:19:16 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=23798175
Jun 22 11:19:26 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=24220095
Jun 22 11:19:29 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=26067807
Jun 22 11:19:38 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=26483583
Jun 22 11:19:48 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=27963167
Jun 22 11:19:49 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=27975583
Jun 22 11:19:50 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=27979039
Jun 22 11:19:51 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=27987487
Jun 22 11:19:54 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=28333247
Jun 22 11:20:25 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=30992671
Jun 22 11:20:27 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=31318687
Jun 22 11:20:40 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=32094335
Jun 22 11:20:41 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=32103551
Jun 22 11:20:51 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=32834719
Jun 22 11:20:53 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=32859295
Jun 22 11:21:15 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=33973631
Jun 22 11:21:18 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=34007039
Jun 22 11:21:28 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=34745919
Jun 22 11:21:28 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=34747199
Jun 22 11:21:38 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=36243647
Jun 22 11:21:41 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=36584191
Jun 22 11:21:46 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=36639999
Jun 22 11:22:06 gw2 kernel: ad2: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=38100991


However this has not crashed server yet and data seems to be intact.
The issue with ad6 caused hangs and eventually a reboot on server.

What is the explanation of the errors i was receiving on ad6 and the ones im getting on ad2?

And is it safe to simply ignore these errors?
Reply With Quote
Old 22nd June 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

could be:

- faulty cable

- faulty motherboard

- unsupported or faulty driver in freebsd

- the replaced power supply may be faulty as well

- or a combination of the above?
Reply With Quote
Old 22nd June 2008
thavinci thavinci is offline
Real Name: Marcel Grandemange
Port Guard
 
Join Date: May 2008
Location: Port-Elizabeth
Posts: 30
Thanked 0 Times in 0 Posts
Default

3 new IDE cables tested.

No Issues with motherboard, works fine within windows
Problem only seems to be with some harddrives and FreeBSD. (Although once again harddrives works perfectly within windows).

If i replace the ad2 with an old 20gb seagate no probs, same motherboard/cable/PSU.

Just keep in mind the problem with ad6 still has not come back since PSU replacement, so could be differance issues im experiancing..
Reply With Quote
Old 22nd June 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

> Problem only seems to be with some harddrives and FreeBSD. (Although once again harddrives works perfectly within windows).

how do you know its working perfectly in Windows and not sprouting errors, have you checked any logs?
Reply With Quote
Old 22nd June 2008
thavinci thavinci is offline
Real Name: Marcel Grandemange
Port Guard
 
Join Date: May 2008
Location: Port-Elizabeth
Posts: 30
Thanked 0 Times in 0 Posts
Default

No errors in logs and does a min of 66MB constant transfer.
ad2 is basically a new drive 3months old max.
Reply With Quote
Old 22nd June 2008
thavinci thavinci is offline
Real Name: Marcel Grandemange
Port Guard
 
Join Date: May 2008
Location: Port-Elizabeth
Posts: 30
Thanked 0 Times in 0 Posts
Default

A quick note doing atacontrol mode ad2 UDMA100 or lower does seem to produce far less errors.

Is my data at risk?
Reply With Quote
Old 24th June 2008
thavinci thavinci is offline
Real Name: Marcel Grandemange
Port Guard
 
Join Date: May 2008
Location: Port-Elizabeth
Posts: 30
Thanked 0 Times in 0 Posts
Default

Ok and today, it simply rebooted itself for no reason.
(Is there any way to find out why it rebooted?)

Does FreeBSD have issues with having a fileserver as a role?


Ive tried third power supply now....
Reply With Quote
Old 24th June 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 446
Thanked 69 Times in 46 Posts
Default

What version of FreeBSD? Are you using GENERIC kernel?
__________________
Kill your t.v.
Reply With Quote
Old 25th June 2008
thavinci thavinci is offline
Real Name: Marcel Grandemange
Port Guard
 
Join Date: May 2008
Location: Port-Elizabeth
Posts: 30
Thanked 0 Times in 0 Posts
Default

And another crash today, i hapen to have a terminal open tailing the messages log.

Jun 25 10:11:34 gw2 kernel: acd0: WARNING - unknown CMD (0x4a ) read data overrun 18>8
Jun 25 10:11:55 gw2 kernel: acd0: WARNING - TEST_UNIT_READY t askqueue timeout - completing request directly
Jun 25 10:13:54 gw2 kernel: acd0: WARNING - PREVENT_ALLOW tas kqueue timeout - completing request directly
Jun 25 10:13:55 gw2 kernel: pid 2998 (hald-addon-mouse-sy), u id 0: exited on signal 11 (core dumped)
Jun 25 10:14:15 gw2 kernel: acd0: WARNING - TEST_UNIT_READY t askqueue timeout - completing request directly
Jun 25 10:16:15 gw2 kernel: acd0: WARNING - PREVENT_ALLOW tas kqueue timeout - completing request directly
Jun 25 10:18:15 gw2 kernel: acd0: WARNING - TEST_UNIT_READY t askqueue timeout - completing request directly
Jun 25 10:20:15 gw2 kernel: acd0: WARNING - READ_TOC taskqueu e timeout - completing request directly
Jun 25 10:22:15 gw2 kernel: acd0: WARNING - READ_TOC taskqueue timeout - completing request directly


What on earth is wrong with this box?! As for Version and Kernel, im running FreeBSD 7.0 production release. Custom kernel at this point, however problems weir there with stock kernel as well.
Reply With Quote
Old 25th June 2008
tanked tanked is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 56
Thanked 1 Time in 1 Post
Default

If possible can you upgrade to -STABLE and see if the problems repeat themselves? I get the feeling the version of FreeBSD you have just doesn't work well with your hardware configuration, if using -STABLE makes no difference I can only suggest you subscribe to one of the FreeBSD mailing lists and post your problem there.
Reply With Quote
Old 25th June 2008
thavinci thavinci is offline
Real Name: Marcel Grandemange
Port Guard
 
Join Date: May 2008
Location: Port-Elizabeth
Posts: 30
Thanked 0 Times in 0 Posts
Default Stable

How would i go about upgrading it to stable?

Thank You For The Assiatance!
Reply With Quote
Old 25th June 2008
tanked tanked is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 56
Thanked 1 Time in 1 Post
Default

If you want to install from scratch the latest STABLE iso can be found at ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/200806/

If you want to actually upgrade you will need to modify your csup file to include the tag RELENG_7 which will download the -STABLE source, then you can do a kernel and world rebuild (be sure to run mergemaster as well) which should upgrade you current system to -STABLE. If you not sure about any of this and its not a production system, I'd recommend just downloading the iso from the above link and install from scratch.
Reply With Quote
Old 25th June 2008
thavinci thavinci is offline
Real Name: Marcel Grandemange
Port Guard
 
Join Date: May 2008
Location: Port-Elizabeth
Posts: 30
Thanked 0 Times in 0 Posts
Default

Ok, so the issues i had before replacing hard-drive has also come back....


Jun 25 13:46:00 gw2 kernel: ad6: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing request directly
Jun 25 13:46:04 gw2 kernel: ad6: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing request directly
Jun 25 13:46:08 gw2 kernel: ad6: WARNING - SET_MULTI taskqueue timeout - completing request directly
Jun 25 13:46:08 gw2 kernel: ad6: FAILURE - WRITE_DMA48 timed out LBA=1358069247
Jun 25 13:46:17 gw2 kernel: ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing request directly
Jun 25 13:46:21 gw2 kernel: ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing request directly
Jun 25 13:46:25 gw2 kernel: ad6: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing request directly
Jun 25 13:46:29 gw2 kernel: ad6: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing request directly
Jun 25 13:46:33 gw2 kernel: ad6: WARNING - SET_MULTI taskqueue timeout - completing request directly
Jun 25 13:46:33 gw2 kernel: ad6: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=1358069375
Jun 25 13:46:42 gw2 kernel: ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing request directly
Jun 25 13:46:46 gw2 kernel: ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing request directly
Jun 25 13:46:50 gw2 kernel: ad6: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing request directly
Jun 25 13:46:54 gw2 kernel: ad6: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing request directly
Jun 25 13:46:58 gw2 kernel: ad6: WARNING - SET_MULTI taskqueue timeout - completing request directly
Jun 25 13:46:58 gw2 kernel: ad6: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=191
Jun 25 13:47:07 gw2 kernel: ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing request directly
Reply With Quote
Old 25th June 2008
halber_mensch's Avatar
halber_mensch halber_mensch is offline
Real Name: halber mensch
Port Guard
 
Join Date: Jun 2008
Location: Sapulpa, OK
Posts: 14
Thanked 1 Time in 1 Post
Default

This may or may not be helpful. I've noticed similar errors with my SATA disks, and they went away when I powered down, switched off the power supply, and then purged the remaining current from the system by hitting the power button. If I power down or restart the machine without going through this process, I get DMA errors. I don't know why this is, and I'm not entirely sure my power supply isn't wrecked. I have an inkling that on the controller there may be some registers that need to be cleared, but they are staying latched on a power cycle, resulting in I/O behavior not expected by the driver. This could explain why a full power purge would correct the problem. But this is just a theory by someone only informally educated on electronics, I could be way off.
__________________
perl -e "eval pack(q{H*}, join q{},qw{7072696e74207061636b28717b482a7d2c717b34393 23036333631366532303666366536633739323036313733373 33735366436353230373936663735323036353738373036353 63337343635363432303734363836393733323037343666323 03632363532303631323036633639373437343663363532303 66436663732363532303635366537343635373237343631363 93665363936653637326530617d293b})"
Reply With Quote
Old 25th June 2008
thavinci thavinci is offline
Real Name: Marcel Grandemange
Port Guard
 
Join Date: May 2008
Location: Port-Elizabeth
Posts: 30
Thanked 0 Times in 0 Posts
Default Speed

With me it seems to directly relate to speed.
ie if the 750gb drive starts reaching speeds of 40-50MB over network i know it's bound to be soon before a crash.

The 250Gb Maxtor Drive seems to have very little issues being red off, but produces issues when being written too. Ive managed to reduce that even further by setting speed to UDMA100 instead of UDMA133


I will try what u mentioned next time it crashes, at the rate its going we going to loose our DB because of this.

As for upgrading to STABLE , i wonder if it will fix issue as we have had this with 6.2 release aswell.

Thanks for all the help abroad though!
Reply With Quote
Old 25th June 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 446
Thanked 69 Times in 46 Posts
Default

If possible I'd stick with a GENERIC kernel as well. You need to eliminate possibilities to work on getting to the root cause.
__________________
Kill your t.v.
Reply With Quote
Old 25th June 2008
lil_elvis2000 lil_elvis2000 is offline
Port Guard
 
Join Date: May 2008
Location: The armpit of England
Posts: 21
Thanked 1 Time in 1 Post
Default

Try checking the drive with the manufacturer diagnostics. Western Digital I know have DOS bootable CD images of their tools available for i386.
Reply With Quote
Old 25th June 2008
tanked tanked is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 56
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by lil_elvis2000 View Post
Try checking the drive with the manufacturer diagnostics. Western Digital I know have DOS bootable CD images of their tools available for i386.
Yes that's good advice and I'd recommend it too; often one of the first things I do when I've purchased a new hard drive is visit the manufacturer's website to see if there is a bootable diagnostics CD I can download.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:14 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick