LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-28-2016, 10:05 AM   #16
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled

OK, one issue at the time. This SD card shows size 8 GB and three partitions on it. You sure this is your SD card and not some other USB stick you had plugged in? If it is, go ahead and use dd to nuke the partition table and use your favorite fdisk to try and create a new partition table.
 
Old 11-28-2016, 10:21 AM   #17
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
OK I fixed that USB Stick problem. With Windows Disk Management. It is a 16GB USB Stick. that problem is solved. BUT,

My micro SD Card, causes my system to hang if I have it plugged in while booting. Telling me that it sees it because it is trying to see if it is suppose to boot off of it. But causes it to hang until I unplug it, then I can boot into grub menu to get into Linux.
using that SD Card converter that takes a micro SD Card
Code:
[  262.521919] mmc0: error -110 whilst initialising SD card
USB Stick SD Card reader I now get this
Code:
userx@voided1.what~>> lsusb
Bus 004 Device 004: ID 03f0:231d Hewlett-Packard Broadcom 2070 Bluetooth Combo
Bus 004 Device 003: ID 0461:4dce Primax Electronics, Ltd 
Bus 004 Device 008: ID 14cd:1212 Super Top microSD card reader (SY-T18)
dmesg
Code:
[  364.224270] usb-storage 4-1.1:1.0: USB Mass Storage device detected
[  364.224782] scsi host6: usb-storage 4-1.1:1.0
[  365.275403] scsi 6:0:0:0: Direct-Access     Mass     Storage Device   1.00 PQ: 0 ANSI: 0 CCS
but not seeing what is plugged into the reader. which is that 64GB Mcro SD card itself.
 
Old 11-28-2016, 10:43 AM   #18
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Looks like your SD card is dead.
 
Old 11-28-2016, 11:12 AM   #19
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Emerson View Post
Looks like your SD card is dead.
it is writing to something
Code:
userx@voided1.what~/Downloads>> sudo dd if=RebeccaBlackOS_i386.iso of=/dev/sdc && sync
2709504+0 records in
2709504+0 records out
1387266048 bytes (1.4 GB, 1.3 GiB) copied, 19.4703 s, 71.3 MB/s
Attached Thumbnails
Click image for larger version

Name:	Screenshot_DD-64GB-SDCard-2016-11-28_11-16-03.png
Views:	14
Size:	115.7 KB
ID:	23636  

Last edited by BW-userx; 11-28-2016 at 11:16 AM.
 
Old 11-28-2016, 11:15 AM   #20
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Look, dd is not accessing the hardware directly, there is Linux kernel in between. If your Linux kernel cannot "see" your SD card (meaning device node sdX is not created upon insertion) then dd cannot write to it, nor can any partitioning tool access it.
 
Old 11-28-2016, 11:20 AM   #21
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Emerson View Post
Look, dd is not accessing the hardware directly, there is Linux kernel in between. If your Linux kernel cannot "see" your SD card (meaning device node sdX is not created upon insertion) then dd cannot write to it, nor can any partitioning tool access it.
then why did cfdisk open it up after I dd 'd to a non seen sd card?
 
Old 11-28-2016, 11:25 AM   #22
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
That I do not know, I'm not there watching over your shoulder. You are saying there was no device node sdc associated with your SD card and dd was still able to write to it? That's mystery world for me.
 
Old 11-28-2016, 11:41 AM   #23
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Emerson View Post
That I do not know, I'm not there watching over your shoulder. You are saying there was no device node sdc associated with your SD card and dd was still able to write to it? That's mystery world for me.
Yeah if I have the sd card reader pluged into the USB Port then try to dd to it, it will give me no device error, then if I slip the SD Card into that reader then run dd again it will wite to it, and if I command line cfdisk to it, it will bring it up, but only show the amount dd created, but if I try Gparted then it does not see it. so .. burp.. I donno...

thanks for your help.
 
Old 11-28-2016, 11:47 AM   #24
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Can you create a filesystem on it without partitioning? Can you delete/create partitions on it with cfdisk?
 
Old 11-28-2016, 11:52 AM   #25
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Emerson View Post
Can you create a filesystem on it without partitioning? Can you delete/create partitions on it with cfdisk?
that is just what I was thinking. there has to be a low level tool to reset that stuff -- them numbers that it has, start point, and end point, that I got a read up on and learn.

with cfdisk it does not show me the entire 64GB just how much DD burned to it from an iso.
 
Old 11-28-2016, 12:01 PM   #26
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
So can you create an filesystem on it or not? Did you try and nuke the existing partition table and try to create a new one? (I'm getting tired of this.)
 
Old 11-28-2016, 03:53 PM   #27
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,137
Blog Entries: 21

Rep: Reputation: 3479Reputation: 3479Reputation: 3479Reputation: 3479Reputation: 3479Reputation: 3479Reputation: 3479Reputation: 3479Reputation: 3479Reputation: 3479Reputation: 3479
Can you point out where I told you to dd parted logic to the usb pen drive in this thread?
 
Old 11-28-2016, 04:16 PM   #28
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by rokytnji View Post
Can you point out where I told you to dd parted logic to the usb pen drive in this thread?
I was just referencing that that program you suggested screwed up my Stick, not you, which I got that fixed NP not that you lead me to do that... the stick is fixed, that SD CARD is not. ... ... ...
 
Old 11-28-2016, 04:22 PM   #29
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
This whole thread is a mess. Troubleshooting this is really simple.

0. Plug in your device and see if kernel recognizes it. If not proceed to a store and buy a new one.
1. Assuming kernel can see it and device node is created as sdX check it out with fdisk -l /dev/sdX. If the readout makes sense go ahead and start using it, create a new partition table or put a filesystem on raw device.
2. If readout does not make sense one could try nuking the existing possibly corrupted MBR and see if that helps. If not, proceed to a store and get a new one.

At all times you must be sure you are working on correct device, otherwise bad things can happen.

Lets see how our OP handled it. First he posted a snippet of kernel log showing a 8 GB device with 3 unreadable partitions on it, claiming this is a 64 GB SD card with two partitions. Obviously it was not.
Then he posted another snippet of kernel log showing the device was not recognized by kernel. Yet he claimed he was successful using dd on it. Impossible.
As a result a simple troubleshooting has been turned into a series of actions that do not make sense.
 
Old 11-28-2016, 04:42 PM   #30
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Emerson View Post
This whole thread is a mess. Troubleshooting this is really simple.

0. Plug in your device and see if kernel recognizes it. If not proceed to a store and buy a new one.
1. Assuming kernel can see it and device node is created as sdX check it out with fdisk -l /dev/sdX. If the readout makes sense go ahead and start using it, create a new partition table or put a filesystem on raw device.
2. If readout does not make sense one could try nuking the existing possibly corrupted MBR and see if that helps. If not, proceed to a store and get a new one.

At all times you must be sure you are working on correct device, otherwise bad things can happen.

Lets see how our OP handled it. First he posted a snippet of kernel log showing a 8 GB device with 3 unreadable partitions on it, claiming this is a 64 GB SD card with two partitions. Obviously it was not.
ok Mr. CALL ME A LAIR

yes it was a 64GB SD CARD split into two partitions 32GB each.....

call me a liar again and I will report you....


Quote:

Then he posted another snippet of kernel log showing the device was not recognized by kernel. Yet he claimed he was successful using dd on it.
Impossible.
As a result a simple troubleshooting has been turned into a series of actions that do not make sense.
TWO that is what it is doing ... call me a lair again.. keep going




it was seeing it for a little while...

to correct that statmeant After I screws up my usb Stick I used Linux and Windows to get that one back

Last edited by BW-userx; 11-28-2016 at 04:49 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL 6.5 no longer recognizing keyboard or mouse Ciffy Linux - Server 3 08-28-2014 04:27 PM
Problems with openSUSE 11.1 recognizing Dazzle* Multi-Card reader and 8G SDHC card chubbs Linux - Newbie 0 02-20-2010 10:49 PM
ndiswrapper -l not recognizing wireless card zensufi Linux - Wireless Networking 10 02-08-2005 11:12 PM
Recognizing USB card reader when card is inserted hqo201 Fedora 0 08-02-2004 05:08 PM
recognizing wireless card dbkluck Debian 5 01-16-2004 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration