LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-09-2011, 03:43 PM   #1
sebnet
LQ Newbie
 
Registered: Feb 2011
Distribution: Slackware
Posts: 13

Rep: Reputation: 2
Problems mounting SD Card (AAOne D255)


I'm having difficulty mounting cards in the SD slot of my Acer Aspire One D255 (running Slackware 13.1).

lspci

Code:
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Ethernet controller: Attansic Technology Corp. Device 2060 (rev c1)
02:00.0 Network controller: Intel Corporation WiFi Link 1000 Series
I'm assuming 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02) is my SD card.

fstab

Code:
/dev/sda2        swap             swap        defaults         0   0
/dev/sda1        /                ext4        defaults         1   1
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
When I run:

Code:
tail -f /var/log/messages
And then insert a card in to the slot I get:

Code:
Feb  9 19:35:35 gaia kernel: usb 1-5: new high speed USB device using ehci_hcd and address 6
Feb  9 19:35:35 gaia kernel: usb 1-5: New USB device found, idVendor=0cf2, idProduct=6250
Feb  9 19:35:35 gaia kernel: usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=4
Feb  9 19:35:35 gaia kernel: usb 1-5: Product: UB6250       
Feb  9 19:35:35 gaia kernel: usb 1-5: Manufacturer: ENE Flash  
Feb  9 19:35:35 gaia kernel: usb 1-5: SerialNumber: 606569746801
So the card-reader works it's just not getting mounted. Which is probably unsurprising as there isn't an fstab entry for it. Or is HAL supposed to mount it anyway? I don't know the device location of the card-reader so I haven't tried adding anything to fstab, if that's all I need to do, what info needs to go in there (a bit confused)?

I've tried starting various modules suggested in other threads: ehci-hcd; sdhi-pci; tifm_core; tifm_sd. None of which had any effect.

There's nothing wrong with either of the cards I've tested and they're both different brands and sizes.

Any help would be greatly appreciated; I've been trying to get this thing working for a couple of days now.
 
Old 02-10-2011, 03:56 AM   #2
rokytnji
LQ 5k Club
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17 , ChromeOS
Posts: 5,197
Blog Entries: 20

Rep: Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462
Not being a slackware user. You might want to post the contents of

Code:
fdisk -l
with the card inserted.

Just bumping your thread. The output of fdisk -l will help in showing slackware members how to edit your fstab. Which you should also post. Always make a backup of /etc/fstab before editing it in case you need to roll back to it.

Last edited by rokytnji; 02-10-2011 at 03:58 AM.
 
Old 02-10-2011, 05:26 AM   #3
sumeet inani
Member
 
Registered: Oct 2008
Posts: 902
Blog Entries: 26

Rep: Reputation: 49
When I insert my USB . I get
Code:
$tail -f /var/log/messages
Feb 10 14:52:22 lxuser-desktop pulseaudio[1666]: ratelimit.c: 7 events suppressed
Feb 10 15:38:17 lxuser-desktop kernel: [110062.584014] usb 1-4: new high speed USB device using ehci_hcd and address 9
Feb 10 15:38:17 lxuser-desktop kernel: [110062.716939] usb 1-4: configuration #1 chosen from 1 choice
Feb 10 15:38:17 lxuser-desktop kernel: [110062.717077] scsi8 : SCSI emulation for USB Mass Storage devices
Feb 10 15:38:22 lxuser-desktop kernel: [110067.717331] scsi 8:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 2
Feb 10 15:38:22 lxuser-desktop kernel: [110067.717801] sd 8:0:0:0: Attached scsi generic sg2 type 0
Feb 10 15:38:22 lxuser-desktop kernel: [110067.721354] sd 8:0:0:0: [sdb] 7837696 512-byte logical blocks: (4.01 GB/3.73 GiB)
Feb 10 15:38:22 lxuser-desktop kernel: [110067.722314] sd 8:0:0:0: [sdb] Write Protect is off
Feb 10 15:38:22 lxuser-desktop kernel: [110067.724691]  sdb: sdb1
Feb 10 15:38:22 lxuser-desktop kernel: [110067.730688] sd 8:0:0:0: [sdb] Attached SCSI removable disk
The drive may or may not get mounted depending on entries in fstab which tell which partition to mount where BUT the above message shows newly attached device as sdb1 meaning if it is not automounted then I can do that manually as
Code:
#mkdir /my_pendrive ; mount /dev/sdb1 /my_pendrive
In your case the device name is not known .
Aren't there any more messages ?
You can try 'dmesg | tail' to see something useful.
 
Old 02-10-2011, 07:07 AM   #4
sebnet
LQ Newbie
 
Registered: Feb 2011
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 2
Thanks for the bump, Rokytnj

Here's fdisk -l:

Code:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2f5c2f8f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       27537   221184000   83  Linux
/dev/sda2           27537       27798     2097152   82  Linux swap
You can see fstab in my first post.


Sumeet Inani, thanks for getting involved. dmesg | tail isn't giving us anything more than has already been seen but I'll post it anyway:

Code:
usb 1-5: new high speed USB device using ehci_hcd and address 4
usb 1-5: New USB device found, idVendor=0cf2, idProduct=6250
usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=4
usb 1-5: Product: UB6250       
usb 1-5: Manufacturer: ENE Flash  
usb 1-5: SerialNumber: 606569746801

If anyone has any suggestions whatsoever I'm all ears (uh, eyes?).
 
Old 02-10-2011, 08:53 AM   #5
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
My 2 cents without a solution.

I am not familiar with slack. With any distro I have used when the formated sd card plugged to usb it will show as a /dev and should show in fdisk -l and /proc/partitions.
 
Old 02-10-2011, 09:04 AM   #6
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,149

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
i'm curious why no device node is created for it ?
do other sd's/ usb's automout ?
 
Old 02-10-2011, 09:23 AM   #7
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by schneidz View Post
i'm curious why no device node is created for it ?
do other sd's/ usb's automout ?
m/b too old or a bios setting?
 
Old 02-10-2011, 09:45 AM   #8
sebnet
LQ Newbie
 
Registered: Feb 2011
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by schneidz View Post
i'm curious why no device node is created for it ?
do other sd's/ usb's automout ?
All other USB devices automount but I only have these two cards, both of which are SD. They mount if I use a USB device like a phone or camera to access them.

I could use the slot in Windows, and I can boot from it, but haven't been able to get it working in either Slack or Fedora.

Perhaps it's a driver issue?
 
Old 02-10-2011, 10:12 AM   #9
rokytnji
LQ 5k Club
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17 , ChromeOS
Posts: 5,197
Blog Entries: 20

Rep: Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462
I wonder if your Acer Aspire one D255 Has the same crappolla bios my Acer Aspire One ZG5 has which won't recognize SD Flash unless mated with a USB to SD adapter. I can't boot a SD Flash Linux install with Acers Bios but can if using a usb to SD adapter.

I run Debian based Distros and Puppy. I fixed Auto mount SD by using

http://wiki.debian.org/DebianAcerOne#Cardreader

Don't know if this will work for Slack but throwing it out there any ways.
 
Old 02-10-2011, 10:18 AM   #10
rokytnji
LQ 5k Club
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17 , ChromeOS
Posts: 5,197
Blog Entries: 20

Rep: Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462
Quote:
SD/MMC

Put this line in /etc/rc.d/rc.local to enable SD/MMC devices:

modprobe pciehp
I don’t seem to have the issue with SD card as reported by other AA1 users. It detects card insertion and mount is painless. But like most other external devices, they don’t survive suspend-to-ram, and must be disabled before and re-enabled after a suspend. (more on this later)
http://www.thev.net/PaulLiu/acer_aspire_one.html

Found this also but for Slackware 12.1
 
Old 02-10-2011, 04:53 PM   #11
sebnet
LQ Newbie
 
Registered: Feb 2011
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by rokytnji View Post
I wonder if your Acer Aspire one D255 Has the same crappolla bios my Acer Aspire One ZG5 has which won't recognize SD Flash unless mated with a USB to SD adapter. I can't boot a SD Flash Linux install with Acers Bios but can if using a usb to SD adapter.

I run Debian based Distros and Puppy. I fixed Auto mount SD by using

http://wiki.debian.org/DebianAcerOne#Cardreader

Don't know if this will work for Slack but throwing it out there any ways.
This did look promising. However, my BIOS is a newer version that the wiki page states doesn't need to do those hacks. I'll give a try anyway, if only because I feel like I've tried everything else. Fingers crossed!

Quote:
Originally Posted by rokytnji View Post
http://www.thev.net/PaulLiu/acer_aspire_one.html

Found this also but for Slackware 12.1
I'd already tried "modprobe pciehp" but thanks for digging.
 
Old 02-10-2011, 05:48 PM   #12
sebnet
LQ Newbie
 
Registered: Feb 2011
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 2
Nope. I get an error when trying that Debian pciehp method:

Code:
pciehp: Unknown parameter 'pciehp_slot_with_bus'
 
Old 02-10-2011, 05:49 PM   #13
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Is the reader an internal mount reader? I had one and tried to read an sdhc card and it would not read. Bought an external usb sdhc reader and cured everything.

Last edited by Larry Webb; 02-10-2011 at 05:50 PM.
 
Old 02-10-2011, 05:51 PM   #14
sebnet
LQ Newbie
 
Registered: Feb 2011
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 2
Yeah, it's internal. I can mount fine with an external device (I've just been using my camera) but I would really like to see it working.
 
Old 02-15-2011, 12:20 AM   #15
sumeet inani
Member
 
Registered: Oct 2008
Posts: 902
Blog Entries: 26

Rep: Reputation: 49
When I plug my USB in computer
then
Code:
#lshw | grep -i usb
Gives "bus info: usb@1:3" extra in comparison to output without USB.Also simply 'lshw' shows all info about pendrive like signature,serial,capacity etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cannot boot Linux on Acer Aspire One D255 cmas1148 Linux - Laptop and Netbook 6 05-03-2011 12:04 PM
Problems mounting sd card 256Mb with mdk 10.1 ndriutti Mandriva 9 11-25-2004 02:49 PM
USB card reader: mounting problems alek66 Slackware 6 08-18-2004 08:28 PM
CF card mounting anandj Fedora 9 08-05-2004 11:32 PM
partition mounting and ftp installation network card problems (SuSE 9.1) akalm Linux - Newbie 4 07-10-2004 06:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration