File retrieval from a crashed drive

Give us a seminar, lecture or lesson on what your 'thing' is. Now with our exclusive ASK-A-NERD!!!
User avatar
piscator
Posts: 4725
Joined: Sat Feb 27, 2010 8:11 am
Location: The Big BSOD
Contact:

Re: File retrieval from a crashed drive

Post by piscator » Tue Jan 19, 2016 4:56 am

Hermit wrote:Thought to continue with the nascent derail from over there here, where it no longer is a derail.

piscator wrote:If you don't have VLC, see if mplayer recognizes your TV card.
Mint can see the card and recognises the chip it uses.

lspci -vnn returns
03:07.0 Multimedia controller [0480]: Philips Semiconductors SAA7134/SAA7135HL Video Broadcast Decoder [1131:7134] (rev 01)
Subsystem: Compro Technology, Inc. Videomate DVB-T300 [185b:c900]
Flags: bus master, medium devsel, latency 32, IRQ 21
Memory at fdcff000 (32-bit, non-prefetchable)
Capabilities: <access denied>
Kernel driver in use: saa7134

I have no idea what the command dmesg | grep -i saa713 does, except for the fact that it is reporting something about the TV card
[ 11.275144] saa7130/34: v4l2 driver version 0, 2, 17 loaded
[ 11.275271] saa7134[0]: found at 0000:03:07.0, rev: 1, irq: 21, latency: 32, mmio: 0xfdcff000
[ 11.275276] saa7134[0]: subsystem: 185b:c900, board: Compro Videomate DVB-T300 [card=70,autodetected]
[ 11.275289] saa7134[0]: board init: gpio is 843f00
[ 11.309683] input: saa7134 IR (Compro Videomate DV as /devices/pci0000:00/0000:00:14.4/0000:03:07.0/rc/rc0/input4
[ 11.309747] rc0: saa7134 IR (Compro Videomate DV as /devices/pci0000:00/0000:00:14.4/0000:03:07.0/rc/rc0
[ 11.461610] saa7134[0]: i2c eeprom 00: 5b 18 00 c9 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[ 11.461616] saa7134[0]: i2c eeprom 10: 00 ff 86 0f ff 20 ff ff ff ff ff ff ff ff ff ff
[ 11.461620] saa7134[0]: i2c eeprom 20: 01 40 01 03 03 ff 03 01 08 ff 00 87 ff ff ff ff
[ 11.461624] saa7134[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 11.461628] saa7134[0]: i2c eeprom 40: ff 02 00 c2 86 10 ff ff ff ff ff ff ff ff ff ff
[ 11.461631] saa7134[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff cb
[ 11.461635] saa7134[0]: i2c eeprom 60: 34 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 11.461639] saa7134[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 11.461642] saa7134[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 11.461646] saa7134[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 11.461650] saa7134[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 11.461653] saa7134[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 11.461657] saa7134[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 11.461660] saa7134[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 11.461664] saa7134[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 11.461668] saa7134[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 11.617767] saa7134[0]: registered device video0 [v4l2]
[ 11.617808] saa7134[0]: registered device vbi0
[ 11.619904] saa7134 ALSA driver for DMA sound loaded
[ 11.619923] saa7134[0]/alsa: saa7134[0] at 0xfdcff000 irq 21 registered as card -2
[ 11.645711] DVB: registering new adapter (saa7134[0])
[ 11.645717] saa7134 0000:03:07.0: DVB: registering adapter 0 frontend 0 (Philips TDA10046H DVB-T)...

Ditto for the following commands

modprobe -vr saa7134_dvb
rmmod saa7134_dvb
rmmod videobuf_dvb
rmmod dvb_core


sudo modprobe -vr saa7134_alsa
modprobe: FATAL: Module saa7134_alsa is in use.


sudo modprobe -vr saa7134
modprobe: FATAL: Module saa7134 is in use.


sudo modprobe -v saa7134 card=70 returns nothing at all.

Also, I wonder what is using the saa7143 chip. If it is VLC, the program it's doing nothing with it that I can see. I don't even know where to go after clicking on <media> ---> <capture device>. All options I tried so far give me an error message: Your input can't be opened:
VLC is unable to open the MRL 'dvb-t://frequency=0000:bandwidth=0'. Check the log for details.

ETA: I just discovered in this site that I need to add the following line to the 'options' file in /etc/modprobe.d/

option saa7134 card=70 tuner=67

Unfortunately that page has not been updated since 2009, so I don't know if it still gives right advice. There are 14 configuration files in /etc/modprobe.d , and none of their names begin with "options". Looks like more digging is required.



Where did you get these commands?

"Modprobe" loads kernel modules. You can fuck yourself royal randomly loading kernel modules. Don't run "Sudo modprobe" unless you know what the fuck you are doing, and why.You can break your computer.


"randomcommand | grep xxyy"..."|" is the pipe command, which pipes output of the previous command to the next command, in this case "grep xxyy" which filters for "xxyy" and outputs matches so,

Code: Select all

dmesg | grep -i saa713
reads the file "dmesg" (device messages) and "pipes" the output to "grep" which reads the input and prints the lines with the name of your card, "saa713"


The output says your TV card is recognized and already has a driver loaded.

Your media player should be what you're banging on now.

User avatar
Hermit
Posts: 25806
Joined: Thu Feb 26, 2009 12:44 am
About me: Cantankerous grump
Location: Ignore lithpt
Contact:

Re: File retrieval from a crashed drive

Post by Hermit » Tue Jan 19, 2016 5:03 am

OK. I'll reboot. That should get rid of any kernel modules I don't want loaded, I hope. Then I have another look at VLC. Be nice to get the TV card going. It is both digital and analogue. I have some video tapes I want to convert and burn to DVD. My little sister will love to see film of her daughters when they were 6-10 years old.
I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops. - Stephen J. Gould

User avatar
Hermit
Posts: 25806
Joined: Thu Feb 26, 2009 12:44 am
About me: Cantankerous grump
Location: Ignore lithpt
Contact:

Re: File retrieval from a crashed drive

Post by Hermit » Tue Jan 19, 2016 5:08 am

Oh, and I still wonder if I need to add the option saa7134 card=70 tuner=67 line to some config file or other.

The commands come from Ubuntu Forums.
I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops. - Stephen J. Gould

User avatar
piscator
Posts: 4725
Joined: Sat Feb 27, 2010 8:11 am
Location: The Big BSOD
Contact:

Re: File retrieval from a crashed drive

Post by piscator » Tue Jan 19, 2016 5:58 am

The VLC manual or forums should have a whole section on tv cards.

User avatar
pErvinalia
On the good stuff
Posts: 59295
Joined: Tue Feb 23, 2010 11:08 pm
About me: Spelling 'were' 'where'
Location: dystopia
Contact:

Re: File retrieval from a crashed drive

Post by pErvinalia » Tue Jan 19, 2016 6:03 am

Hermit wrote:
rEvolutionist wrote:
Brian Peacock wrote:Spreadsheets : export/save as CSV, which can be imported by most top spreadsheet applications.

Video Download : when watching a YouTube the streamed video file is stored in a deep folder and given an incredibly unhelpful filename. A little research can reveal these files, which can be dealt with by hand, but if you're streaming Flash files then the Macromedia browser plugin deletes these files as you go along. However, the Firefox plugin VideoDownload Helper knows the folder on Linux systems and adds a button to Youtube pages that allows you to save the video, in a variety of formats, to your default Downloads folder with the video's title as the filename. Still working for me on Lubuntu 14.04. If you want to download BBC iPlayer TV/Radio on Linux search for "get_iplayer" and prepare for a fair bit of reading.

I gave up saving YouTubes due to lack of storage and instead built a little browser app to archive the links I like and create an embed on the fly at the click of a mouse. I've got a page for documentaries, a page for music, a page for pugilism, a page for movies, a page for tv shows. I really should run all this off a single JSON file or something, but I can't be arsed.
I used to save Youtube videos via grabbing them out of the cache, but they changed their approach a few years ago and downloaded the file in parts. So it was no longer possible (or perhaps practical) to dig them out of the cache. Do you find you can still do that on your Linux box?
A couple of months ago I downloaded seven Adam Curtis documentaries on my Windows laptop using Orbit or A-tube Catcher without a problem. Over two gigs with just a few clicks.
The cache approach was the best method for a while until reliable download tools were developed. Early tool were hit and miss.
Sent from my penis using wankertalk.
"The Western world is fucking awesome because of mostly white men" - DaveDodo007.
"Socialized medicine is just exactly as morally defensible as gassing and cooking Jews" - Seth. Yes, he really did say that..
"Seth you are a boon to this community" - Cunt.
"I am seriously thinking of going on a spree killing" - Svartalf.

User avatar
Hermit
Posts: 25806
Joined: Thu Feb 26, 2009 12:44 am
About me: Cantankerous grump
Location: Ignore lithpt
Contact:

Re: File retrieval from a crashed drive

Post by Hermit » Tue Jan 19, 2016 7:05 am

piscator wrote:The VLC manual or forums should have a whole section on tv cards.
VLC lists the card under Devices ---> Video Capture as "Compro Videomate DVB-300 without a problem. In fact it lists it twice. My guess is that it recognises the digital and analogue capabilities separately. Under Devices --->Audio capture it itemises "Compro Videomate DVB-300 Analogue Stereo." among others.

I followed these instructions. All went well, except for the very last step. At that point it was supposed to discover and itemise all available free to air digital TV channels. I have the card connected via the standard coax cable to the digital / analogue TV antenna on the roof. Under the Windows OS it found about 20 of them. Now the little "Hang on while I'm scanning" disc rotates for a minute or two, then just stops without finding anything at all.
I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops. - Stephen J. Gould

User avatar
pErvinalia
On the good stuff
Posts: 59295
Joined: Tue Feb 23, 2010 11:08 pm
About me: Spelling 'were' 'where'
Location: dystopia
Contact:

Re: File retrieval from a crashed drive

Post by pErvinalia » Tue Jan 19, 2016 7:07 am

It's almost certainly a driver issue. Do they have linux drivers? If not, which drivers are you using and how?
Sent from my penis using wankertalk.
"The Western world is fucking awesome because of mostly white men" - DaveDodo007.
"Socialized medicine is just exactly as morally defensible as gassing and cooking Jews" - Seth. Yes, he really did say that..
"Seth you are a boon to this community" - Cunt.
"I am seriously thinking of going on a spree killing" - Svartalf.

User avatar
Hermit
Posts: 25806
Joined: Thu Feb 26, 2009 12:44 am
About me: Cantankerous grump
Location: Ignore lithpt
Contact:

Re: File retrieval from a crashed drive

Post by Hermit » Tue Jan 19, 2016 7:16 am

rEvolutionist wrote:It's almost certainly a driver issue. Do they have linux drivers? If not, which drivers are you using and how?
Seems as though the driver is installed and recognised for what it is:

lspci -vnn returns
03:07.0 Multimedia controller [0480]: Philips Semiconductors SAA7134/SAA7135HL Video Broadcast Decoder [1131:7134] (rev 01)
Subsystem: Compro Technology, Inc. Videomate DVB-T300 [185b:c900]
Flags: bus master, medium devsel, latency 32, IRQ 21
Memory at fdcff000 (32-bit, non-prefetchable)
Capabilities: <access denied>
Kernel driver in use: saa7134
I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops. - Stephen J. Gould

User avatar
pErvinalia
On the good stuff
Posts: 59295
Joined: Tue Feb 23, 2010 11:08 pm
About me: Spelling 'were' 'where'
Location: dystopia
Contact:

Re: File retrieval from a crashed drive

Post by pErvinalia » Tue Jan 19, 2016 7:22 am

Ok, I can't decode that. Is it a specific linux driver? It seems that it must be, or it wouldn't spit all that shit out. Have you tried updating the driver? The other option, as I said, could be to try a windows driver wrapped inside a Linux driver container. There's tools for that (ndiswrapper, I think).
Sent from my penis using wankertalk.
"The Western world is fucking awesome because of mostly white men" - DaveDodo007.
"Socialized medicine is just exactly as morally defensible as gassing and cooking Jews" - Seth. Yes, he really did say that..
"Seth you are a boon to this community" - Cunt.
"I am seriously thinking of going on a spree killing" - Svartalf.

User avatar
Brian Peacock
Tipping cows since 1946
Posts: 37953
Joined: Thu Mar 05, 2009 11:44 am
About me: Ablate me:
Location: Location: Location:
Contact:

Re: File retrieval from a crashed drive

Post by Brian Peacock » Tue Jan 19, 2016 10:56 am

Hermit wrote:Oh, and I still wonder if I need to add the option saa7134 card=70 tuner=67 line to some config file or other.

The commands come from Ubuntu Forums.
Have you checked on LinuxTV.org?

https://www.linuxtv.org/wiki/index.php/ ... DVB_device :dunno:
Rationalia relies on voluntary donations. There is no obligation of course, but if you value this place and want to see it continue please consider making a small donation towards the forum's running costs.
Details on how to do that can be found here.

.

"It isn't necessary to imagine the world ending in fire or ice.
There are two other possibilities: one is paperwork, and the other is nostalgia."

Frank Zappa

"This is how humanity ends; bickering over the irrelevant."
Clinton Huxley » 21 Jun 2012 » 14:10:36 GMT
.

User avatar
Hermit
Posts: 25806
Joined: Thu Feb 26, 2009 12:44 am
About me: Cantankerous grump
Location: Ignore lithpt
Contact:

Re: File retrieval from a crashed drive

Post by Hermit » Tue Jan 19, 2016 8:22 pm

Thanks, Brian. Looks generally helpful, but I'm still out of luck.

It's a page from the same site that told me to add a .conig file to /etc/modprobe.d, which I've done.
I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops. - Stephen J. Gould

User avatar
piscator
Posts: 4725
Joined: Sat Feb 27, 2010 8:11 am
Location: The Big BSOD
Contact:

Re: File retrieval from a crashed drive

Post by piscator » Tue Jan 19, 2016 10:36 pm

I don't know shit about running a TV card. But a quick look tells me VLC is a PITA with TV cards.

You may be better off to undo whatever config changes you've made and start from scratch with mplayer, or find some other app that works better. Maybe even run a Windows VM and pass through your pci TV card to Windows...

Learn about DVB cards. Make one change at a time. Be systematic and empirical. Common sense.

User avatar
piscator
Posts: 4725
Joined: Sat Feb 27, 2010 8:11 am
Location: The Big BSOD
Contact:

Re: File retrieval from a crashed drive

Post by piscator » Sun Apr 03, 2016 6:44 am


Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests