(SOLVED) Can't mount sd card in Antix 17.4.1

Message
Author
User avatar
manyroads
Posts: 2623
Joined: Sat Jun 30, 2018 6:33 pm

Re: Can't mount sd card in Antix 17.4.1

#21 Post by manyroads »

Totally weird.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
Moltke
Posts: 229
Joined: Tue Dec 19, 2017 6:07 pm

Re: Can't mount sd card in Antix 17.4.1

#22 Post by Moltke »

manyroads wrote: Sun Jul 21, 2019 6:00 pm Totally weird.
Indeed. Maybe's a bug no one else has spotted cause probably nobody else, at least in this forum, has a hp 2000 notebook running antix from a usb stick with persistence enabled which also has a card reader slot, so nobody has ever complaint about antix not seeing and/or mounting their sd card.
Without each other's help there ain't no hope for us :happy:

User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: Can't mount sd card in Antix 17.4.1

#23 Post by fehlix »

Moltke wrote: Mon Jul 22, 2019 12:23 pm
manyroads wrote: Sun Jul 21, 2019 6:00 pm Totally weird.
Indeed. Maybe's a bug no one else has spotted cause probably nobody else, at least in this forum, has a hp 2000 notebook running antix from a usb stick with persistence enabled which also has a card reader slot, so nobody has ever complaint about antix not seeing and/or mounting their sd card.
Might be the kernel does not see the card reader due to missing module not loaded.
Can you check any modules loaded with

Code: Select all

lsmod | grep tifm
and perhabs if not loaded do manual load the sd/mmc modules (not sure if all are needed):

Code: Select all

sudo modprobe -a tifm_core tifm_sd tifm_7xx1
If that works you might add a line for every module needed to /etc/modules.
Reference: HardwareSupportComponentsCardReaders
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Moltke
Posts: 229
Joined: Tue Dec 19, 2017 6:07 pm

Re: Can't mount sd card in Antix 17.4.1

#24 Post by Moltke »

fehlix wrote: Mon Jul 22, 2019 1:04 pm
Moltke wrote: Mon Jul 22, 2019 12:23 pm
manyroads wrote: Sun Jul 21, 2019 6:00 pm Totally weird.
Indeed. Maybe's a bug no one else has spotted cause probably nobody else, at least in this forum, has a hp 2000 notebook running antix from a usb stick with persistence enabled which also has a card reader slot, so nobody has ever complaint about antix not seeing and/or mounting their sd card.
Might be the kernel does not see the card reader due to missing module not loaded.
Can you check any modules loaded with

Code: Select all

lsmod | grep tifm
and perhabs if not loaded do manual load the sd/mmc modules (not sure if all are needed):

Code: Select all

sudo modprobe -a tifm_core tifm_sd tifm_7xx1
If that works you might add a line for every module needed to /etc/modules.
Reference: HardwareSupportComponentsCardReaders
:puppy:
What's the expected output of this command? I tried it in 17.2, the one which does see and mount the sd card to know what I should expect and it returned nothing. I reformatted the usb stick where I had 19.b2 so at the moment I can't try on it but I will make it again and try, althought, I did check with

Code: Select all

lspci -v
cause I thought it might be due to a missing driver and the card reader was listed so I don't think that's what causing this issue, however, I'll try your idea and see how it goes. Thanks for the suggestion.
Last edited by Moltke on Tue Jul 23, 2019 10:01 am, edited 1 time in total.
Without each other's help there ain't no hope for us :happy:

User avatar
rokytnji.1
Global Moderator
Posts: 718
Joined: Sun Apr 13, 2014 9:06 pm

Re: Can't mount sd card in Antix 17.4.1

#25 Post by rokytnji.1 »

Indeed. Maybe's a bug no one else has spotted cause probably nobody else, at least in this forum, has a hp 2000 notebook running antix from a usb stick with persistence enabled which also has a card reader slot, so nobody has ever complaint about antix not seeing and/or mounting their sd card.

It is a common thing for a kernel not to cover all hardware. I got over my sd card not being seen on my chromebook by using my other usb port on my chromebook antix install and plugging in usb/sd card reader and moved on.

If one finds a software solution across all hardware . I am all ears. I spun my wheels for while with plugging in sd card and looking at dmesg and seeing fail on sd mount. Gparted no show. Mount command and other hand operated tutorials for kernel entry lines in grub to hopefully enable sd card slot.

Just wasted time in my experience on my lonesome .

User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: Can't mount sd card in Antix 17.4.1

#26 Post by fehlix »

Moltke wrote: Tue Jul 23, 2019 9:41 am
fehlix wrote: Mon Jul 22, 2019 1:04 pm

Code: Select all

sudo modprobe -a tifm_core tifm_sd tifm_7xx1
What's the expected output of this command?
The command will load the potentially "missing"/not-loaded yet driver (modules) into the kernel. And with some luck
the kernel will be able to recognize the plugged-in sdcard, e.g in Gparted.
If not in gparted, you might also issue:

Code: Select all

sudo partprobe
to force the kernel to re-read/re-scan all partitions. Automounting is a secondary issue.
But sure there might be other reason for the sdcard not showing up.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Moltke
Posts: 229
Joined: Tue Dec 19, 2017 6:07 pm

Re: Can't mount sd card in Antix 17.4.1

#27 Post by Moltke »

fehlix wrote: Tue Jul 23, 2019 10:03 am
Moltke wrote: Tue Jul 23, 2019 9:41 am
fehlix wrote: Mon Jul 22, 2019 1:04 pm

Code: Select all

sudo modprobe -a tifm_core tifm_sd tifm_7xx1
What's the expected output of this command?
The command will load the potentially "missing"/not-loaded yet driver (modules) into the kernel. And with some luck
the kernel will be able to recognize the plugged-in sdcard, e.g in Gparted.
If not in gparted, you might also issue:

Code: Select all

sudo partprobe
to force the kernel to re-read/re-scan all partitions. Automounting is a secondary issue.
But sure there might be other reason for the sdcard not showing up.
:puppy:
Didnd't work. I tried from a live usb running Antix 17.4.1, ran the commands and nothing happened :( However, I did run

Code: Select all

lspci -v
which did report the card reader. I saved the output or at least that's what I thought but now I can't find the file, so appparently I didn't. But I clearly read

Code: Select all

PCI Express Card Reader
so I guess it does load the module for it but for some unknown reason can't read/mount/access the sd card itself. I think I'll just give up and keep on using 17.2 which works just great and will wait for the final release of 19 series and hopefully the issue will be gone.

EDIT: Well, I did save this html report created by lshw and found this

Code: Select all

id:	
generic
description:	Unassigned class
product:	RTS5229 PCI Express Card Reader
vendor:	Realtek Semiconductor Co., Ltd.
physical id:	
0
bus info:	
pci@0000:08:00.0
version:	01
width:	32 bits
clock:	33MHz
capabilities:	pm msi pciexpress bus_master cap_list
configuration:	
latency	=	0
resources:	
memory	:	90100000-90100fff
By the way, it's in red and I've no idea whatsoever what that means.
Without each other's help there ain't no hope for us :happy:

User avatar
Moltke
Posts: 229
Joined: Tue Dec 19, 2017 6:07 pm

Re: Can't mount sd card in Antix 17.4.1

#28 Post by Moltke »

It has something to do with the kernel. I've just updated the kernel in 17.2 from 4.9.126 to 4.9.182 and now the sd card's gone. :( It's a live system running with persistence enabled.
Without each other's help there ain't no hope for us :happy:

User avatar
anticapitalista
Developer
Posts: 4166
Joined: Sat Jul 15, 2006 10:40 am

Re: Can't mount sd card in Antix 17.4.1

#29 Post by anticapitalista »

Could you send me the kernel config file in /boot for 4.9.126 and then I can compare them with changes. (I assume you are using 64 bit)
Thanks.

Never mind - I found a copy.
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
Moltke
Posts: 229
Joined: Tue Dec 19, 2017 6:07 pm

Re: Can't mount sd card in Antix 17.4.1

#30 Post by Moltke »

anticapitalista wrote: Fri Jul 26, 2019 3:20 pm Could you send me the kernel config file in /boot for 4.9.126 and then I can compare them with changes. (I assume you are using 64 bit)
Thanks.

Never mind - I found a copy.
FWIW, I found that this driver "rtsx_pci" which is the one used by the card reader isn't loaded/present in 4.9.182. I found a post on internet explaining how to install it but got some errors when running make. Can't remember which ones though and I already reverted to 4.9.126.
Without each other's help there ain't no hope for us :happy:

Post Reply

Return to “antiX”