LinHES Forums http://forum.linhes.org/ |
|
Recordings prematurely ending after freezing http://forum.linhes.org/viewtopic.php?f=6&t=18442 |
Page 1 of 1 |
Author: | huntermcdole [ Sun Jun 29, 2008 8:10 pm ] |
Post subject: | Recordings prematurely ending after freezing |
I am having an odd problem. It recently started affecting almost every recording I have that is over 1 hr long. It freezes up around the 1 hr mark and then goes back to the menu saying the recording has ended after about 30 seconds to 1 minute. If I play it again and skip over the part that had the freezing happen to it, it keeps playing from that point. Sometimes it happens again in the same recording. I am not sure what I can do to give more information on this, Here is my mythfrontend.log Code: 2008-06-29 06:28:37.318 Received a remote 'Clear Cache' request
2008-06-29 16:53:31.803 TV: Attempting to change from None to WatchingLiveTV 2008-06-29 16:53:31.823 Using protocol version 31 2008-06-29 16:53:32.262 Could not bind to UDP notify port: 6948 2008-06-29 16:53:32.405 Opening OSS audio device '/dev/dsp'. 2008-06-29 16:53:32.668 VideoOutputXv: XvMCTex: Init failed 2008-06-29 16:53:32.669 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Overlay' 2008-06-29 16:53:33.687 TV: Changing from None to WatchingLiveTV 2008-06-29 16:53:33.689 New DB connection, total: 3 2008-06-29 16:53:33.689 Connected to database 'mythconverg' at host: localhost 2008-06-29 16:53:33.692 New DB connection, total: 4 2008-06-29 16:53:33.693 Connected to database 'mythconverg' at host: localhost 2008-06-29 16:53:33.718 Using realtime priority. 2008-06-29 16:53:33.815 Video timing method: USleep with busy wait 2008-06-29 16:53:35.143 TV: Attempting to change from WatchingLiveTV to None QObject::disconnect: Unexpected null parameter 2008-06-29 16:53:35.611 TV: Changing from WatchingLiveTV to None 2008-06-29 16:53:36.972 XMLParse::LoadTheme using /usr/share/mythtv/themes/Iulius/ui.xml 2008-06-29 16:53:42.781 TV: Attempting to change from None to WatchingPreRecorded 2008-06-29 16:53:42.815 Could not bind to UDP notify port: 6948 2008-06-29 16:53:43.160 Opening OSS audio device '/dev/dsp'. 2008-06-29 16:53:43.168 VideoOutputXv: XvMCTex: Init failed 2008-06-29 16:53:43.168 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Overlay' 2008-06-29 16:53:43.720 TV: Changing from None to WatchingPreRecorded 2008-06-29 16:53:43.724 Using realtime priority. 2008-06-29 16:53:43.824 Video timing method: USleep with busy wait 2008-06-29 18:00:11.460 NVP: prebuffering pause 2008-06-29 18:00:11.504 RingBuf(/myth/tv/1029_20080622030000.nuv): Waited 1.0 seconds for data to become available... 2008-06-29 18:01:42.528 RingBuf(/myth/tv/1029_20080622030000.nuv): Waited 1.0 seconds for data to become available... 2008-06-29 18:01:42.816 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:01:43.535 RingBuf(/myth/tv/1029_20080622030000.nuv): Waited 2.0 seconds for data to become available... 2008-06-29 18:01:44.166 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:01:45.249 RingBuf(/myth/tv/1029_20080622030000.nuv) Error: File I/O problem in 'safe_read()' eno: Input/output error (5) 2008-06-29 18:01:45.516 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:01:45.551 RingBuf(/myth/tv/1029_20080622030000.nuv): Waited 4.0 seconds for data to become available... 2008-06-29 18:01:46.866 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:01:47.102 RingBuf(/myth/tv/1029_20080622030000.nuv) Error: File I/O problem in 'safe_read()' eno: Input/output error (5) 2008-06-29 18:01:48.215 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:01:49.568 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:01:49.584 RingBuf(/myth/tv/1029_20080622030000.nuv): Waited 8.0 seconds for data to become available... 2008-06-29 18:01:50.819 RingBuf(/myth/tv/1029_20080622030000.nuv) Error: File I/O problem in 'safe_read()' eno: Input/output error (5) 2008-06-29 18:01:51.345 NVP: prebuffering pause 2008-06-29 18:01:51.858 RingBuf(/myth/tv/1029_20080622030000.nuv): Waited 1.0 seconds for data to become available... 2008-06-29 18:01:52.637 RingBuf(/myth/tv/1029_20080622030000.nuv) Error: File I/O problem in 'safe_read()' eno: Input/output error (5) 2008-06-29 18:01:52.695 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:01:52.866 RingBuf(/myth/tv/1029_20080622030000.nuv): Waited 2.0 seconds for data to become available... 2008-06-29 18:01:54.045 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:01:54.479 RingBuf(/myth/tv/1029_20080622030000.nuv) Error: File I/O problem in 'safe_read()' eno: Input/output error (5) 2008-06-29 18:01:54.882 RingBuf(/myth/tv/1029_20080622030000.nuv): Waited 4.0 seconds for data to become available... 2008-06-29 18:01:55.395 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:01:56.333 RingBuf(/myth/tv/1029_20080622030000.nuv) Error: File I/O problem in 'safe_read()' eno: Input/output error (5) 2008-06-29 18:01:56.383 TV: Attempting to change from WatchingPreRecorded to None QObject::disconnect: Unexpected null parameter 2008-06-29 18:01:56.452 TV: Changing from WatchingPreRecorded to None 2008-06-29 18:02:02.362 TV: Attempting to change from None to WatchingPreRecorded 2008-06-29 18:02:02.408 Could not bind to UDP notify port: 6948 2008-06-29 18:02:02.550 Opening OSS audio device '/dev/dsp'. 2008-06-29 18:02:02.602 VideoOutputXv: XvMCTex: Init failed 2008-06-29 18:02:02.602 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Overlay' 2008-06-29 18:02:03.291 TV: Changing from None to WatchingPreRecorded 2008-06-29 18:02:03.295 Using realtime priority. 2008-06-29 18:02:03.399 Video timing method: USleep with busy wait 2008-06-29 18:24:51.164 NVP: prebuffering pause 2008-06-29 18:24:51.205 RingBuf(/myth/tv/1029_20080622030000.nuv): Waited 1.0 seconds for data to become available... 2008-06-29 18:25:40.496 RingBuf(/myth/tv/1029_20080622030000.nuv): Waited 1.0 seconds for data to become available... 2008-06-29 18:25:40.648 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:25:41.507 RingBuf(/myth/tv/1029_20080622030000.nuv): Waited 2.0 seconds for data to become available... 2008-06-29 18:25:42.000 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:25:43.147 RingBuf(/myth/tv/1029_20080622030000.nuv) Error: File I/O problem in 'safe_read()' eno: Input/output error (5) 2008-06-29 18:25:43.694 RingBuf(/myth/tv/1029_20080622030000.nuv): Waited 4.0 seconds for data to become available... 2008-06-29 18:25:44.540 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:25:45.110 RingBuf(/myth/tv/1029_20080622030000.nuv) Error: File I/O problem in 'safe_read()' eno: Input/output error (5) 2008-06-29 18:25:45.890 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:25:46.952 RingBuf(/myth/tv/1029_20080622030000.nuv) Error: File I/O problem in 'safe_read()' eno: Input/output error (5) 2008-06-29 18:25:47.239 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:25:47.968 RingBuf(/myth/tv/1029_20080622030000.nuv): Waited 1.0 seconds for data to become available... 2008-06-29 18:25:48.589 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:25:48.771 RingBuf(/myth/tv/1029_20080622030000.nuv) Error: File I/O problem in 'safe_read()' eno: Input/output error (5) 2008-06-29 18:25:48.976 RingBuf(/myth/tv/1029_20080622030000.nuv): Waited 2.0 seconds for data to become available... 2008-06-29 18:25:49.939 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:25:50.992 RingBuf(/myth/tv/1029_20080622030000.nuv): Waited 4.0 seconds for data to become available... 2008-06-29 18:25:51.289 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:25:52.526 RingBuf(/myth/tv/1029_20080622030000.nuv) Error: File I/O problem in 'safe_read()' eno: Input/output error (5) 2008-06-29 18:25:53.796 NVP: Prebuffer wait timed out 10 times. 2008-06-29 18:25:54.384 RingBuf(/myth/tv/1029_20080622030000.nuv) Error: File I/O problem in 'safe_read()' eno: Input/output error (5) 2008-06-29 18:25:54.509 TV: Attempting to change from WatchingPreRecorded to None QObject::disconnect: Unexpected null parameter 2008-06-29 18:25:54.685 TV: Changing from WatchingPreRecorded to None 2008-06-29 18:27:29.691 Received a remote 'Clear Cache' request 2008-06-29 18:27:34.677 TV: Attempting to change from None to WatchingLiveTV 2008-06-29 18:27:34.678 Using protocol version 31 2008-06-29 18:27:35.186 Could not bind to UDP notify port: 6948 2008-06-29 18:27:35.336 Opening OSS audio device '/dev/dsp'. 2008-06-29 18:27:35.466 VideoOutputXv: XvMCTex: Init failed 2008-06-29 18:27:35.466 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Overlay' 2008-06-29 18:27:36.366 TV: Changing from None to WatchingLiveTV 2008-06-29 18:27:36.374 Using realtime priority. 2008-06-29 18:27:36.478 Video timing method: USleep with busy wait 2008-06-29 18:27:38.025 TV: Attempting to change from WatchingLiveTV to None QObject::disconnect: Unexpected null parameter 2008-06-29 18:27:38.505 TV: Changing from WatchingLiveTV to None 2008-06-29 18:27:40.162 XMLParse::LoadTheme using /usr/share/mythtv/themes/Iulius/ui.xml 2008-06-29 18:27:51.371 TV: Attempting to change from None to WatchingPreRecorded 2008-06-29 18:27:51.380 Could not bind to UDP notify port: 6948 2008-06-29 18:27:51.525 Opening OSS audio device '/dev/dsp'. 2008-06-29 18:27:51.533 VideoOutputXv: XvMCTex: Init failed 2008-06-29 18:27:51.534 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Overlay' 2008-06-29 18:27:52.085 TV: Changing from None to WatchingPreRecorded 2008-06-29 18:27:52.089 Using realtime priority. 2008-06-29 18:27:52.189 Video timing method: USleep with busy wait 2008-06-29 18:28:08.845 TV: Attempting to change from WatchingPreRecorded to None QObject::disconnect: Unexpected null parameter 2008-06-29 18:28:08.935 TV: Changing from WatchingPreRecorded to None 2008-06-29 18:29:27.501 TV: Attempting to change from None to WatchingPreRecorded 2008-06-29 18:29:27.521 Could not bind to UDP notify port: 6948 2008-06-29 18:29:27.691 Opening OSS audio device '/dev/dsp'. 2008-06-29 18:29:27.700 VideoOutputXv: XvMCTex: Init failed 2008-06-29 18:29:27.700 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Overlay' 2008-06-29 18:29:28.253 TV: Changing from None to WatchingPreRecorded 2008-06-29 18:29:28.256 Using realtime priority. 2008-06-29 18:29:28.356 Video timing method: USleep with busy wait If anyone can help it would be appreciated. Thanks. |
Author: | cliffsjunk [ Sun Jun 29, 2008 8:31 pm ] |
Post subject: | |
You are getting errno=5 errors. 5 is rather a generic error number but it sounds as if you may have a hard drive that is on it's last leg. Now would be a good time to back up. I would suggest that you test your hard drive. A simple test would be to do Code: dd bs=1M if=/dev/hda of=/dev/null as root. This assumes your hard drive is /dev/hda.
You might consider installing and running smartctl (part of the smartmontools package) against that hard drive. Cliff |
Author: | huntermcdole [ Mon Jun 30, 2008 6:01 am ] |
Post subject: | |
Here is the output of that command. Code: dd: reading `/dev/hda': Input/output error 393+1 records in 393+1 records out 412221440 bytes (412 MB) copied, 12.9493 seconds, 31.8 MB/s How would I go about installing smartmontools? I think this may point to it going out even more.... Code: root@mythtv:/home/user# dmesg | grep hda
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=36153237, high=2, low=2598805, sector=36153050 end_request: I/O error, dev hda, sector 36153050 hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=36153237, high=2, low=2598805, sector=36153058 end_request: I/O error, dev hda, sector 36153058 hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=36153237, high=2, low=2598805, sector=36153066 end_request: I/O error, dev hda, sector 36153066 hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=36153237, high=2, low=2598805, sector=36153074 end_request: I/O error, dev hda, sector 36153074 hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=36153237, high=2, low=2598805, sector=36153082 end_request: I/O error, dev hda, sector 36153082 hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=36153237, high=2, low=2598805, sector=36153090 end_request: I/O error, dev hda, sector 36153090 There is 387 lines of that. |
Author: | cliffsjunk [ Mon Jun 30, 2008 9:07 am ] |
Post subject: | |
Yep, your hard drive is bad. The 'dd' command that you ran only read 400 meg (that's meg, not gig) of the drive before it hit an error. hda is the whole hard drive. hda1 is the root (program) partition. hda2 is the swap space. hda3 is where your recorded shows are stored. If you have important recordings on hda3 and you are willing to spend a good number of hours learning, setting up, etc. You might be able to save some of your shows. Start by determining if it is worth it by redoing that dd command on hda3 instead of hda. If it gets all the way through with no errors you might be able to rescue some recordings. I wouldn't bother with smartmon tools since we are seeing disk errors when simply reading the disk with dd. I hope you don't have anything that you want to keep on it... One thing you could try would be to unplug the hard drive cables from both ends and maybe even remove other devices that are on that cable. Plug just the hard drive back in and try again. Once chance in 10000 that this will help. Another thing to try is to make sure that the hard drive has good ventilation and is not running hot, Open the computer case and blow a desk fan on the hard drive for 15 minutes and try again with the desk fan still running. Hard drive controllers (part of the motherboard) sometimes go bad and you can't tell whether the hard drive is bad or controller is bad. You might move the hard drive to another computer, boot a Knoppix (not Knoppmyth) CD and run the dd command that way. Be aware that your hard drive will probably be something besides /dev/hda. When a controller goes bad it writes bad data on the hard drive. This data can never be read by any controller. The hard drive is still good, but it looks bad because of the bad data. Always reformat and test a bad hard drive on another computer before discarding it. To install smartmontools do this: Code: apt-get update apt-get install smartmontools Make sure you don't have anything recording while doing the smartmon tests. Do this logged in as root(reboot later to get back to MythTV): Code: init S pkill xinit /etc/init.d/mythtv-backend stop To test the drive then do this: Code: smartctl -t short /dev/hda (takes minutes to test) or this:Code: smartctl -t long /dev/hda (takes hours to test)Wait however long it told you to wait then do this to view the test results: Code: smartctl -a /dev/hda | less and look for overall pass/fail on the first page.
Warning: the following may damage the hard drive: One thing you could try only as a last effort to copy data off of a drive that you are about to discard would be putting the hard drive in the freezer for 20-30 minutes and then quickly put it back in the PC, boot up, and copy off the files you want to save. If this were my system I would: - move the hard drive to another PC - boot Knoppix CD - use dd_rescue to read the hard drive and write the same data back to it (dd_rescue -A -d -D -b 1M -B 4096 -v /dev/hda /dev/hda) if there is only one hard drive hda will probably be sda for recent versions of knoppix - test the hard drive with smartctl (smartctl is already installed) Good luck, Cliff |
Author: | cliffsjunk [ Tue Jul 01, 2008 7:19 am ] |
Post subject: | |
I think the pvr150mce-lp does not come with a remote. It is not a digital tuner. It is also "low profile". Is your new case low profile? I've got a system (girlfriend's) with a pvr-350, but it is set up to capture video from the set top box. I would go with a bigger hard drive. The best size/$ ratio is with the 750's and 1000's now. If you are considering high def in the future, now is the time to buy things that are maybe more in that direction. On the other hand all you need is a hard drive so why a new system? I'd buy a new hard drive after testing the old hard drive in a different pc by writing the whole drive 'dd bs=1M if=/dev/zero of=/dev/bad-hard-drive-goes-here' then reading the whole drive 'dd bs=1M if=/dev/bad-hard-drive-goes-here of=/dev/null' Buy one that is compatible with both the new and old systems (SATA-II if your old system will handle it) and wait till there is more of a reason to upgrade to buy anything else. Cliff |
Author: | huntermcdole [ Wed Jul 02, 2008 5:55 am ] |
Post subject: | |
Ok so I downloaded Knoppix and here are the results from putting it in another system. Code: root@Knoppix:/# dd bs=1M if=/dev/hda of=/dev/null
dd: reading `/dev/hda': Input/output error 1907+1 records in 1907+1 records out 2000289792 bytes (2.0 GB) copied, 105.665 seconds, 18.9 MB/s root@Knoppix:/# dd_rescue -A -d -D -b 1M -B 4096 -v /dev/hda /dev/hda dd_rescue: (warning): We don't handle misalignment of last block w/ O_DIRECT! dd_rescue: (warning): infile and outfile are identical! dd_rescue: (info): about to transfer 0.0 kBytes from /dev/hda to /dev/hda dd_rescue: (info): blocksizes: soft 1048576, hard 4096 dd_rescue: (info): starting positions: in 0.0k, out 0.0k dd_rescue: (info): Logfile: (none), Maxerr: 0 dd_rescue: (info): Reverse: no , Trunc: no , interactive: no dd_rescue: (info): abort on Write errs: no , spArse write: never dd_rescue: (info): ipos: 1952768.0k, opos: 1952768.0k, xferd: 1952768.0k errs: 0, errxfer: 0.0k, succxfer: 1952768.0k +curr.rate: 2607kB/s, avg.rate: 7842kB/s, avg.load: 0.6% dd_rescue: (info): problems at ipos 1952768.0k: Input/output error fall back to smaller blocksize dd_rescue: (info): ipos: 1953544.0k, opos: 1953544.0k, xferd: 1953544.0k * errs: 0, errxfer: 0.0k, succxfer: 1953544.0k +curr.rate: 394kB/s, avg.rate: 7783kB/s, avg.load: 0.6% dd_rescue: (warning): /dev/hda (1953544.0k): Input/output error! dd_rescue: (info): ipos: 1953900.0k, opos: 1953900.0k, xferd: 1953900.0k * errs: 1, errxfer: 4.0k, succxfer: 1953896.0k +curr.rate: 70kB/s, avg.rate: 7630kB/s, avg.load: 0.6% dd_rescue: (warning): /dev/hda (1953900.0k): Input/output error! dd_rescue: (info): ipos: 1953904.0k, opos: 1953904.0k, xferd: 1953904.0k * errs: 2, errxfer: 8.0k, succxfer: 1953896.0k +curr.rate: 2kB/s, avg.rate: 7573kB/s, avg.load: 0.5% dd_rescue: (warning): /dev/hda (1953904.0k): Input/output error! dd_rescue: (info): ipos: 1953908.0k, opos: 1953908.0k, xferd: 1953908.0k * errs: 3, errxfer: 12.0k, succxfer: 1953896.0k +curr.rate: 2kB/s, avg.rate: 7516kB/s, avg.load: 0.5% dd_rescue: (warning): /dev/hda (1953908.0k): Input/output error! dd_rescue: (info): ipos: 1953912.0k, opos: 1953912.0k, xferd: 1953912.0k * errs: 4, errxfer: 16.0k, succxfer: 1953896.0k +curr.rate: 2kB/s, avg.rate: 7460kB/s, avg.load: 0.5% dd_rescue: (warning): /dev/hda (1953912.0k): Input/output error! dd_rescue: (info): ipos: 1953916.0k, opos: 1953916.0k, xferd: 1953916.0k * errs: 5, errxfer: 20.0k, succxfer: 1953896.0k +curr.rate: 1kB/s, avg.rate: 7279kB/s, avg.load: 0.5% dd_rescue: (warning): /dev/hda (1953916.0k): Input/output error! dd_rescue: (info): ipos: 1953920.0k, opos: 1953920.0k, xferd: 1953920.0k * errs: 6, errxfer: 24.0k, succxfer: 1953896.0k +curr.rate: 1kB/s, avg.rate: 7174kB/s, avg.load: 0.5% dd_rescue: (warning): /dev/hda (1953920.0k): Input/output error! dd_rescue: (info): ipos: 1953924.0k, opos: 1953924.0k, xferd: 1953924.0k * errs: 7, errxfer: 28.0k, succxfer: 1953896.0k +curr.rate: 2kB/s, avg.rate: 7124kB/s, avg.load: 0.5% dd_rescue: (warning): /dev/hda (1953924.0k): Input/output error! dd_rescue: (info): ipos: 1953928.0k, opos: 1953928.0k, xferd: 1953928.0k * errs: 8, errxfer: 32.0k, succxfer: 1953896.0k +curr.rate: 2kB/s, avg.rate: 7058kB/s, avg.load: 0.5% dd_rescue: (warning): /dev/hda (1953928.0k): Input/output error! dd_rescue: (info): ipos: 1953932.0k, opos: 1953932.0k, xferd: 1953932.0k * errs: 9, errxfer: 36.0k, succxfer: 1953896.0k +curr.rate: 2kB/s, avg.rate: 7010kB/s, avg.load: 0.5% dd_rescue: (warning): /dev/hda (1953932.0k): Input/output error! dd_rescue: (info): ipos: 1953936.0k, opos: 1953936.0k, xferd: 1953936.0k * errs: 10, errxfer: 40.0k, succxfer: 1953896.0k +curr.rate: 2kB/s, avg.rate: 6962kB/s, avg.load: 0.5% dd_rescue: (warning): /dev/hda (1953936.0k): Input/output error! dd_rescue: (info): ipos: 1953940.0k, opos: 1953940.0k, xferd: 1953940.0k * errs: 11, errxfer: 44.0k, succxfer: 1953896.0k +curr.rate: 2kB/s, avg.rate: 6915kB/s, avg.load: 0.5% dd_rescue: (warning): /dev/hda (1953940.0k): Input/output error! dd_rescue: (info): ipos: 1953944.0k, opos: 1953944.0k, xferd: 1953944.0k * errs: 12, errxfer: 48.0k, succxfer: 1953896.0k +curr.rate: 2kB/s, avg.rate: 6869kB/s, avg.load: 0.5% dd_rescue: (warning): /dev/hda (1953944.0k): Input/output error! I ran the smart tests and it passed both the long and the short one. I've got nothing on there now, I watched all my recording and deleted them. I also ran backup on it so I guess now I need to get a new HD. Reason I was thinking of building a new one was this one uses an IDE HD so I won't be able to take it to a newer computer. Thanks for all the help Cliff. |
Author: | cliffsjunk [ Wed Jul 02, 2008 10:59 am ] |
Post subject: | |
The key is to put it in another system, then write the whole drive to remove any "controller caused errors", then read the whole drive (with either dd or smartctl) to see if it really has any errors any more. ------------------- The reason dd_rescue is good to write the drive is that it can read the whole drive and write what it can read back out. You will be left with a disk that you can at least copy the files back off of. The fact that it reads and then writes the data back in the same place will cause the read errors that you see. That is normal. The key is whether the drive has any errors AFTER writing the whole drive. You seem to indicate that smartctl says there are no errors. That means the hard drive is OK. If you let dd_rescue run all the way through, I would run: Code: dd bs=1M if=/dev/hard-drive-goes-here of=/dev/null in addition to the smartctl tests and if there are no errors you can
put the hard drive back in service with an 80% chance that there is nothing wrong with it and that the problem was in the old PC. Sorry for the confusion... Cliff |
Author: | huntermcdole [ Thu Jul 03, 2008 6:09 pm ] |
Post subject: | |
I was in a different system before. Also dd rescue takes forever.... Code: Summary for /dev/hda -> /dev/hda:
dd_rescue: (info): ipos: 245117376.0k, opos: 245117376.0k, xferd: 245117376.0k errs: 104, errxfer: 416.0k, succxfer: 245116960.0k +curr.rate: 68575kB/s, avg.rate: 12438kB/s, avg.load: 0.7% root@Knoppix:/ramdisk/home/knoppix# dd bs=1M if=/dev/hda of=/dev/null dd: reading `/dev/hda': Input/output error 932+1 records in 932+1 records out 977797120 bytes (978 MB) copied, 55.0316 seconds, 17.8 MB/s root@Knoppix:/ramdisk/home/knoppix# so is the Disk toast? |
Author: | cliffsjunk [ Thu Jul 03, 2008 11:09 pm ] |
Post subject: | |
If you put the hard drive in another PC and wrote the whole drive (dd_rescue hda hda is one way, 'dd bs=1M if=/dev/zero of=/dev/hda' is faster than dd_rescue but absolutely erases all data) and you still get errors when you read it with 'dd bs=1M if=/dev/hda of=/dev/null' after that then the disk is toast. Cliff |
Author: | ayourk [ Wed Jul 09, 2008 6:04 am ] |
Post subject: | |
Something else to consider: Bad HDD ribbon cable. I've had this happen to me a few times. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |