Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 305 306 [307] 308 309 ... 350

Author Topic: The Generic Computer Advice Thread  (Read 572490 times)

methylatedspirit

  • Bay Watcher
  • it/its
    • View Profile
Re: The Generic Computer Advice Thread
« Reply #4590 on: June 07, 2021, 03:48:21 am »

Right, remote HTPC, its boot SSD is reporting 3120 bad sectors, sometimes mounting the entire system read-only, with predictable results when I go to install updates or manage the filesystem. Is the drive dying, or is further testing needed?
« Last Edit: June 07, 2021, 03:56:28 am by methylatedspirit »
Logged

King Zultan

  • Bay Watcher
    • View Profile
Re: The Generic Computer Advice Thread
« Reply #4591 on: June 07, 2021, 04:36:17 am »

Sounds like it's dying, I had a HDD with only 200 bad sectors and it crapped out on me.
Logged
The Lawyer opens a briefcase. It's full of lemons, the justice fruit only lawyers may touch.
Make sure not to step on any errant blood stains before we find our LIFE EXTINGUSHER.
but anyway, if you'll excuse me, I need to commit sebbaku.
Quote from: Leodanny
Can I have the sword when you’re done?

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: The Generic Computer Advice Thread
« Reply #4592 on: June 07, 2021, 04:44:47 am »

an SSD with bad sectors indeed indicates that some of the flash cells have started to die (or that somebody has used HDPARM on it to force a bad sector, which is Teh Dumbz)

I would suggest cloning the volume to a known good media, THEN doing filesystem repair.
Logged

methylatedspirit

  • Bay Watcher
  • it/its
    • View Profile
Re: The Generic Computer Advice Thread
« Reply #4593 on: June 07, 2021, 04:56:26 am »

I run fsck on the disk on each boot. Does that count? There's nothing important on it apart from a vaguely customized Linux Mint install. Unfortunately, I don't have physical access to the HTPC, so I can't do anything about this apparently failing SSD right now.
Logged

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: The Generic Computer Advice Thread
« Reply #4594 on: June 07, 2021, 05:12:23 am »

Sure you can.

Use elevated privs and dd, with redirected std-in and std-out.  Like this:

Code: [Select]
ssh root@192.0.2.9 "dd if=/dev/sda " | dd of=/home/archive/linuxbackup.img
This takes the data stream, and sends it through the ssh channel, then introduces it to the local instance of dd, which does the writing.

More sophisticated would be to wrap the data stream through gzip for more efficient network transport, then through gzip again for on-the-fly decompression, before feeding to the local dd.

even more sexy would be using gddrescue on both ends.
Logged

methylatedspirit

  • Bay Watcher
  • it/its
    • View Profile
Re: The Generic Computer Advice Thread
« Reply #4595 on: June 07, 2021, 05:20:28 am »

That only solves the backup problem. As for replacing the SSD, I'm pretty sure I'm basically done for there until I can have physical access to it in a few months' time. Am I right on that suspicion?
Logged

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: The Generic Computer Advice Thread
« Reply #4596 on: June 07, 2021, 05:29:49 am »

Pretty much, but you can be sure the data is safe at least.

(If you have a reliable bench monkey on the other end, you could do the backup, have them switch out the SSD, and then boot on a USB linux installer in live mode, SSH in, and then apply the image remotely, then reboot.)


Take for instance, this pathway:

1) Tell remote bench monkey to insert the USB stick.
2) SSH into the remote box, then create a TMPFS mountpoint.
3) Remount the file system as read only.
4) pull a suitable linux mint ISO image using wget, and store it in the tmpfs mount.
5) DD the image into the USB stick
6) Perform the remote DD operation to salvage the file system (Or, if there is room on the USB stick, store it there.)
7) Instruct the bench monkey to switch out the SSD.
8) Instruct the bench monkey to boot on the freshly created USB medium.
9) Instruct the bench monkey to enable networking, run ifconfig to get/set the current IP address, so that you can put it in the state your port forwarding setup expects
10) SSH into the installation environment.
11) Preform the restoration process
12) Reboot
13) Profit

It does however, require you to have a trusted peer that can handle a screw driver and follow instructions.
« Last Edit: June 07, 2021, 05:44:48 am by wierd »
Logged

King Zultan

  • Bay Watcher
    • View Profile
Re: The Generic Computer Advice Thread
« Reply #4597 on: June 08, 2021, 05:58:03 am »

I recently got my old laptop working again and everything on it seems fine, I can even play Left 4 Dead, but when I opened Firefox and when to my history the screen flashed this weird bunch of coloured lines for a second then went back to normal but I couldn't get it to do anything as it was frozen.

Anybody have any idea what happened because I'm at a loss.
Logged
The Lawyer opens a briefcase. It's full of lemons, the justice fruit only lawyers may touch.
Make sure not to step on any errant blood stains before we find our LIFE EXTINGUSHER.
but anyway, if you'll excuse me, I need to commit sebbaku.
Quote from: Leodanny
Can I have the sword when you’re done?

LordBaal

  • Bay Watcher
  • System Lord and Hanslanda lees evil twin.
    • View Profile
Re: The Generic Computer Advice Thread
« Reply #4598 on: June 08, 2021, 06:16:25 am »

For years now, sometimes I get artifacts or flashes on the screen using firefox, and firefox only. Never delved too deep into it cause is very, very occasional and is just fractions of a second, generally when closing a browser window. The first time I searched and found nothing, then a few months later the video card I had died so I blamed it on the video card.

When it happened again on a new video card I panicked, then weeks, months and years went by, and saw it happening on some other machines as well so I went meh.

Try to recreate the problem to see if it repeats again. Could be a corrupted installation of the browser or your hard drive having issues.
« Last Edit: June 08, 2021, 10:49:01 am by LordBaal »
Logged
I'm curious as to how a tank would evolve. Would it climb out of the primordial ooze wiggling it's track-nubs, feeding on smaller jeeps before crawling onto the shore having evolved proper treds?
My ship exploded midflight, but all the shrapnel totally landed on Alpha Centauri before anyone else did.  Bow before me world leaders!

Starver

  • Bay Watcher
    • View Profile
Re: The Generic Computer Advice Thread
« Reply #4599 on: June 08, 2021, 06:58:15 am »

On my best understanding, it sounds like a graphics card(/module) glitching, for probably no reason at all to do with the browser (just a co-inky-dink that you were doing that at the time), with data returned that confused the drivers/HALs enough to upset the whole kernel. Hard to imagine, but who knows what even a single flipped bit could cascade into causing, if you happened to be very unlucky...

Assuming that no site in your history had a gigabye-sized favourite.ico (or whatever), or some related Zero-Day Exploit wot we know not the wot of..? ;)


(I take it the frozen laptop is now unfrozen? Either it recovered or you powered it down (relatively nicely or forcefully) and it rebooted nicely, perhaps even let you play L4D again. If it's not recovered at all, I'd be suggesting a mobo/sub-module failure probably in the vicinity of the GPU - but not necessarily - and/or system file corruption with either possible cause<->effect relationship with the freeze event. But I read between the lines that the return to normal (albeit frozen) did not lead to looking utterly-bricked.)


Sorry, Wild-Arsed-Guessing. Except for my deviation into .ico exploit territory (which I think is just something I made up) I just don't think there's any particular connection, over and above that which would occur for any utility. ICBW[1].


However, in the light of LordBaal, posting while I was still editing, there could be some error in the dev library FF builders use, or a skewy system call now heavily grandfathered into the sourcecode that reacts oddly for a very small subset of the possible hardware/layers it might encounter. Which might be more the fault of the vendor involved than at the Mozilla end. But with the Mozilla community being what it is, I'd still expect it to neither be an unknown (beyond you two) nor an unfixable/unfixed issue. It's a pity the few times I've had cause to check the relevent bugrep/forum pages (most recently, when they totally ruined several aspects of the Android UI, last year) I just found it far too busy to understand where the appropriate complaints might be referenced/solved, and/or how I might contribute an Opinion of my own about it.


[1] If it is "always fails on accessing History, and only then":
Spoiler (click to show/hide)
...but I honestly don't expect this bit to be relevent.
Logged

King Zultan

  • Bay Watcher
    • View Profile
Re: The Generic Computer Advice Thread
« Reply #4600 on: June 09, 2021, 03:11:41 am »

Well I restarted the thing, watched a video, played L4D and messed with Firefox and nothing untoward happened so I'm not sure what it was doing, I've defraged it and am right now running CHKDSK to see if that fixes stuff.


Also I hope it's nothing to do with the video card, because I just spent 50 dollars to buy a new motherboard for that thing, and the old one crapped out because something with graphics went out.
Logged
The Lawyer opens a briefcase. It's full of lemons, the justice fruit only lawyers may touch.
Make sure not to step on any errant blood stains before we find our LIFE EXTINGUSHER.
but anyway, if you'll excuse me, I need to commit sebbaku.
Quote from: Leodanny
Can I have the sword when you’re done?

Starver

  • Bay Watcher
    • View Profile
Re: The Generic Computer Advice Thread
« Reply #4601 on: June 09, 2021, 03:43:50 am »

Honestly, if it's not at all happened again, even during/after the graphics-heavy workout, then I'd put it down to nothing more than somebody mis-aiming their butterfly, and you lucked out.

I'm open to better knowledge. This is just world-weary me, used to Heisenbugs and Higgs-Bugsons. Until proven otherwise, I can come up with possible further tests, but that's open-ended until something happens to tick a speculative tickbox. Keep an eye on it?
Logged

Sensei

  • Bay Watcher
  • Haven't tried coffee crisps.
    • View Profile
Re: The Generic Computer Advice Thread
« Reply #4602 on: June 20, 2021, 03:10:25 pm »

So, I'm having a HELL of a time trying to upload videos to Youtube.

Basically, almost every time I upload a video, there's a minute or two where the video freezes and is silent. It looks like this on the youtube editing timeline.

In my original video file, of course, there's sound and video there, it's not a problem with my file.

This is, I assume, a result of Youtube's processing having an error. I can upload the same video file multiple times, and end up with a gap like this in different parts of the video. Sometimes though, I'll end up with a gap in the exact same spot on several consecutive attempts. I don't have any copyright warnings either. In some cases, I've succeeded in getting a video to upload without gaps by making minor changes and re-exporting it (eg, changing the music at the problematic time) but not always. I can't even say if this is helping or not, since it seems pretty much random.

Anyway, it's driving me crazy. For a video a little under an hour long, it takes me about two hours to export, and two hours to upload to youtube. My last video only worked after three exports and seven upload attempts, meaning my computer/internet is busy with this for about two days. My next video is taking even longer. It's happening to me every time, but I can't find ANYONE else having this exact same problem.

So if anyone knows a way around this, let me know. If I need to change my export settings or bitrate or something, great. Honestly, I'd be happy to know I'm not the only person on earth having this problem. All the relevant search terms bring up different issues with Youtube processing or playback, but I can't find a single example of this exact problem happening to somebody else online. Of course, there's not exactly a "youtube forum" for so I don't have a lot of places to ask around.
Logged
Let's Play: Automation! Bay 12 Motor Company Buy the 1950 Urist Wagon for just $4500! Safety features optional.
The Bay 12 & Mates Discord Join now! Voice/text chat and play games with other Bay12'ers!
Add me on Steam: [DFC] Sensei

Schmaven

  • Bay Watcher
  • Abiding
    • View Profile
Re: The Generic Computer Advice Thread
« Reply #4603 on: June 21, 2021, 04:52:28 am »

How are you connected to the internet?  Removing any splices in the coax run to your router and hard wiring your computer to the router would rule out a lot of possible network issues.
Logged

LordBaal

  • Bay Watcher
  • System Lord and Hanslanda lees evil twin.
    • View Profile
Re: The Generic Computer Advice Thread
« Reply #4604 on: June 21, 2021, 08:30:22 am »

Could you try to upload a video from a different device? What about a different source (not edited by you)? Try with smaller videos.

Is there a chance you could try to upload them on other internet connection?
Logged
I'm curious as to how a tank would evolve. Would it climb out of the primordial ooze wiggling it's track-nubs, feeding on smaller jeeps before crawling onto the shore having evolved proper treds?
My ship exploded midflight, but all the shrapnel totally landed on Alpha Centauri before anyone else did.  Bow before me world leaders!
Pages: 1 ... 305 306 [307] 308 309 ... 350