Sponsored Content
Operating Systems Linux Fedora SD's, fsck, dmesg, freezing, and the Corrupt FAT-fs Post 302992013 by Beta_OmegaAdinf on Monday 20th of February 2017 03:11:08 PM
Old 02-20-2017
Error SD's, fsck, dmesg, freezing, and the Corrupt FAT-fs

Up until today I haven't had a problem using an SD card with Fedora ( 25 ) but when I went to insert the SD adapter with the micro-sd card this time, the computer froze. It has frozen every time since. It is still reading the card, and after a minute or two of losing control of the GUI and terminal it mounts and I can access the files within the card. It used to mount the card with grace and ease and even performed the kindness of letting me know that the card was mounted successfully at the top of the screen. So what caused this? I don't know. It began today and today I:

Code:
sudo dnf upgrade

And from there I just modified a couple .brs files and ran them so I could go bug-hunting, and, on a side-note, enabled RPM-fusion on my system.

I don't know why any of those would cause the SD card to be read or mounted any differently, so I decided to call dmesg after inserting the card to see what I could find out.

"FAT-fs (mmcblk0p1) Volume was not properly unmounted. Some data may be corrupt. Please run fsck.". Oh so that's the problem. Well problem one led to problem two and three as when I tried to run fsck or e2fsck I got a rather cryptic warning.

/dev/mapper/fedora-root, /dev/sda1, /dev/mapper/fedora-home is mounted
Code:
WARNING!!! The filesystem is mounted. If you continue you ***WILL*** cause ***SEVERE*** filesystem damage.

Well I don't want that, abort... abort!!! When trying to unmount these filesystems so that I could run fsck and see if I could fix the corrupt filesystem I would either get:

umount: /home: ( or /root: ) umount failed: Operation not permitted ( or the target is busy )

and /dev/sda1 flat out doesn't show up.

I'm at a loss. Can anyone explain to me how I would go about fixing the sd card and preventing the temporary full system lock-up? It would be preferred if I didn't have to perform cmd gymnastics or unmount everything on the system to do so, but if it's necessary then I'll do what I must.

Last edited by Beta_OmegaAdinf; 02-20-2017 at 04:18 PM.. Reason: Title missing comma.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

CDE freezing

I am running Solaris 8 intel and recently my Common Desktop environment will not load. I enter the root username and password at the prompt, it switches to the CDE screen and the freezes. The OpenWindows environment works fine. I tried with a regular username (not root) and I get the same resutls.... (2 Replies)
Discussion started by: dangral
2 Replies

2. HP-UX

dmesg error ??

Hi all, I have a very weard error message in my dmesg output, and I cannot find the solution in google. Does anyone know what it might be ? Equivalently mapped reserve pool exhausted; Overall application performance may be improved by increasing the "eqmemsize" tunable parameter (currently... (3 Replies)
Discussion started by: davidg
3 Replies

3. SCO

SCO Unix 5.0.5 freezing

Hie I use SCO Unix 5.0.5 as my operating system and i have been having the following problem for the past couple of days : After every 3 hours or more , my system freezes and all users are locked out .I can not do anything even on the console . Each time i have to press the reset button... (2 Replies)
Discussion started by: babby
2 Replies

4. UNIX for Advanced & Expert Users

/usr corrupt, can get to fsck (solaris)

I have a solaris 5.8 system, it wont boot because /usr is corrupt, which means i cannot bring up fsck to run a disk check. Any ideas? (3 Replies)
Discussion started by: frankkahle
3 Replies

5. UNIX for Advanced & Expert Users

Thousands of "unattached inode" entries freezing fsck

We have some CentOS systems with ext3 filesystems that (on occasion) experiences long power failures that are longer than the UPS can handle. We run an fsck on the file systems at every boot, and sometimes they will come back on after a power failure, and when fsck runs there are tens of thousands... (0 Replies)
Discussion started by: nothsa
0 Replies

6. UNIX for Advanced & Expert Users

Strange FAT filesystem

My Garmin GPS device has a slot for an SD card. I'm using a 32 GB SD card which holds 22 GB data currently. If I attach my device to a USB port it shows two devices, the internal memory and the SD card. I have no problems with the internal memory which holds only 2 GB of data. I can mount... (2 Replies)
Discussion started by: HJarausch
2 Replies

7. Solaris

unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c1t0d0s0)

What can I fix this issue? I have ran below commands but everything is same.:confused: WARNING: Last shutdown is later than time on time-of-day chip: check date. The / file system (/dev/rdsk/c1t0d0s0) is being checked WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F... (4 Replies)
Discussion started by: getrue
4 Replies

8. Hardware

Laptop freezing issues

I am having Laptop freezing issues. Whenever I try to use Firfox and vlc, chrome and vlc, firefox and chrome, or anything similar to that my computer freezes. I always have to kill one of the processes before I can use my laptop again. I am guessing this is a hardware issue because when I move... (5 Replies)
Discussion started by: cokedude
5 Replies
pcata(7D)							      Devices								 pcata(7D)

NAME
pcata - PCMCIA ATA card device driver SYNOPSIS
pcata@socket#:a -u pcata@socket#:a -u,raw DESCRIPTION
The PCMCIA ATA card device driver supports PCMCIA ATA disk and flash cards that follow the following standards: o PC card 2.01 compliance (MBR+fdisk table required for all platforms). o PC card ATA 2.01 compliance. o PC card services 2.1 compliance. The driver supports standard PCMCIA ATA cards that contain a Card Information Structure (CIS). For PCMCIA, nodes are created in /devices that include the socket number as one component of the device name referred to by the node. However, the names in /dev, /dev/dsk, and /dev/rdsk follow the current conventions for ATA devices, which do not encode the socket number in any part of the name. For example, you may have the following: +----------------+-----------------------------------+---------------------+ |Platform | /devices name | /dev/dsk name | +----------------+-----------------------------------+---------------------+ |x86 | /devices/isa/pcic@1,3e0 /disk@0:a | /dev/dsk/c1d0s0 | +----------------+-----------------------------------+---------------------+ |SPARC | /devices/iommu@f,e0000000 | /dev/dsk/c1d0s0 | | | /sbus@f,e0001000 /SUNW, pcm- | | | | cia@3,0 /disk@0:a | | +----------------+-----------------------------------+---------------------+ PRECONFIGURATION
If a PC Card ATA device is recognized, the pcata driver is automatically loaded, IRQs allocated, devices nodes created, and special files created (if they do not already exist). Known Problems and Limitations o You need to umount the file system before removing the disk. o The ufs file systems on removable media (PC Card ATA) should have one of the onerror={panic, lock, umount} mount options set. CONFIGURATION
Configuration topics include initial installation and configuration, identifying an unrecognized device, special files and hot-plugging. Initial Installation and Configuration 1. Install the Solaris software. 2. Boot the system. 3. Insert the PC card ATA device. Identifying an Unrecognized Device If you insert a PC card ATA device and it is not recognized (no special files created), use the prtconf command to identify the problem. 1. Run the prtconf -D command to see if your pcata card is recognized. (A recognized device will appear at the end of the prtconf output. For example: # prtconf -D . . . pcic, instance #0 (driver name: pcic) . . . disk, instance #0 2. If pcata does not appear in the prtconf output, there is a problem with the PC card adapter configuration or with the hardware. Check to see whether the problem is with the card or the adapter by trying to use the card on another machine and by seeing if it works on the same machine using DOS. Special Files For PC card devices, nodes are created in /devices that include the socket number as one component of a device name that the node refers to. However, the /prtc/dev names and the names in /dev/dsk and /dev/rdsk do follow the current convention for ATA devices, which do not encode the socket number in any part of the name. Hot-Plugging o If you want to remove the disk, you must unmount the file system. o Use the mkfs_pcfs(1M) command to create a pcfs file system: # mkfs -F pcfs /dev/rdsk/c#d#p0:d o To mount a pcfs file system, type: # mount -F pcfs /dev/dsk/c#d#p0:c /mnt o If you want to create a ufs file system, use the newfs command and type: # newfs /dev/rdsk/c#d#s# o To mount a ufs file system, type: # mount -F ufs /dev/dsk/c#d#s# /mnt o To create a Solaris partition, run the format command and go to the Partition menu. For more information, see the format(1M) man page. FILES
/kernel/drv/pcata pcata driver ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpsdpr | +-----------------------------+-----------------------------+ SEE ALSO
format(1M), mount(1M), newfs(1M), pcmcia(7D), attributes(5), pcfs(7FS) SunOS 5.11 2 Mar 2007 pcata(7D)
All times are GMT -4. The time now is 03:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy