Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Card Reader Help (SOLVED)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sall
Guru
Guru


Joined: 08 Jun 2008
Posts: 314
Location: WV, USA

PostPosted: Sat Jun 21, 2008 5:22 pm    Post subject: Reply with quote

Alright, will get back with you after it is compiled and I reboot to check the results! Cross your fingers! lol
Back to top
View user's profile Send private message
sall
Guru
Guru


Joined: 08 Jun 2008
Posts: 314
Location: WV, USA

PostPosted: Sat Jun 21, 2008 7:22 pm    Post subject: Reply with quote

No cigar, same issue as before..

Code:

>> determing root device...
!! block device /dev/hda3/ is not a valid root device
could not find the root block device in .
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Sat Jun 21, 2008 8:30 pm    Post subject: Reply with quote

Ok, lets try to compile the kernel modules into the kernel. According to your lspci, your motherboard has ATI IDE controller:

Code:
05:09.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller


Interestingly your sdcard reader appears to be made by Texas Instruments"

Code:
05:09.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
05:09.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
05:09.4 SD Host controller: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller


1) Run
Code:
genkernel --install --bootloader=grub --kernel-config=/usr/src/config --menuconfig all


2) Go to
Code:
Device Drivers  --->  <*> ATA/ATAPI/MFM/RLL support  ---> 


3) Go to
Code:
< >     ATI IXP chipset IDE support

And press space twice (until you see a *)

4) Reboot in your r7 kernel


Device Drivers ---> <*> ATA/ATAPI/MFM/RLL support --->
Code:
  │                                                                                                                                                                                                                                      │ 
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ 
  │ │                                                                              --- ATA/ATAPI/MFM/RLL support                                                                                                                       │ │ 
  │ │                                                                              <*>   Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support                                                                                           │ │ 
  │ │                                                                                      *** Please see Documentation/ide.txt for help/info on IDE drives ***                                                                        │ │ 
  │ │                                                                              [ ]     Support for SATA (deprecated; conflicts with libata SATA driver)                                                                            │ │ 
  │ │                                                                              [ ]     Use old disk-only driver on primary interface                                                                                               │ │ 
  │ │                                                                              <*>     Include IDE/ATA-2 DISK support                                                                                                              │ │ 
  │ │                                                                              [*]     Use multiple sector mode for Programmed Input/Output by default                                                                             │ │ 
  │ │                                                                              <*>     Include IDE/ATAPI CDROM support                                                                                                             │ │ 
  │ │                                                                              < >     Include IDE/ATAPI TAPE support (EXPERIMENTAL)                                                                                               │ │ 
  │ │                                                                              < >     Include IDE/ATAPI FLOPPY support                                                                                                            │ │ 
  │ │                                                                              < >     SCSI emulation support                                                                                                                      │ │ 
  │ │                                                                              [*]     IDE ACPI support                                                                                                                            │ │ 
  │ │                                                                              [ ]     IDE Taskfile Access                                                                                                                         │ │ 
  │ │                                                                              [*]     legacy /proc/ide/ support                                                                                                                   │ │ 
  │ │                                                                                      *** IDE chipset support/bugfixes ***                                                                                                        │ │ 
  │ │                                                                              <*>     generic/default IDE chipset support                                                                                                         │ │ 
  │ │                                                                              < >     Platform driver for IDE interfaces (NEW)                                                                                                    │ │ 
  │ │                                                                              [ ]     CMD640 chipset bugfix/support                                                                                                               │ │ 
  │ │                                                                              [ ]     PNP EIDE support                                                                                                                            │ │ 
  │ │                                                                                      *** PCI IDE chipsets support ***                                                                                                            │ │ 
  │ │                                                                              [ ]     Sharing PCI IDE interrupts support                                                                                                          │ │ 
  │ │                                                                              < >     Generic PCI IDE Chipset Support                                                                                                             │ │ 
  │ │                                                                              < >     OPTi 82C621 chipset enhanced support (EXPERIMENTAL)                                                                                         │ │ 
  │ │                                                                              < >     RZ1000 chipset bugfix/support                                                                                                               │ │ 
  │ │                                                                              < >     AEC62XX chipset support                                                                                                                     │ │ 
  │ │                                                                              < >     ALI M15x3 chipset support                                                                                                                   │ │ 
  │ │                                                                              <*>     AMD and nVidia IDE support                                                                                                                  │ │ 
  │ │                                                                              < >     ATI IXP chipset IDE support                                                                                                                 │ │ 
  │ │                                                                              < >     CMD64{3|6|8|9} chipset support                                                                                                              │ │ 
  │ │                                                                              < >     Compaq Triflex IDE support                                                                                                                  │ │ 
  │ │                                                                              < >     CY82C693 chipset support                                                                                                                    │ │ 
  │ │                                                                              < >     Cyrix CS5510/20 MediaGX chipset support (VERY EXPERIMENTAL)                                                                                 │ │ 
  │ │                                                                              < >     Cyrix/National Semiconductor CS5530 MediaGX chipset support                                                                                 │ │ 
  │ │                                                                              < >     AMD CS5535 chipset support                                                                                                                  │ │ 
  │ │                                                                              < >     HPT34X chipset support                                                                                                                      │ │ 
  │ │                                                                              < >     HPT36X/37X chipset support                                                                                                                  │ │ 
  │ │                                                                              < >     JMicron JMB36x support                                                                                                                      │ │ 
  │ │                                                                              < >     National SCx200 chipset support                                                                                                             │ │ 
  │ │                                                                              <*>     Intel PIIXn chipsets support                                                                                                                │ │ 
  │ │                                                                              < >     IT8213 IDE support                                                                                                                          │ │ 
  │ │                                                                              < >     IT821X IDE support                                                                                                                          │ │ 
  │ │                                                                              < >     NS87415 chipset support                                                                                                                     │ │ 
  │ │                                                                              < >     PROMISE PDC202{46|62|65|67} support                                                                                                         │ │ 
  │ │                                                                              < >     PROMISE PDC202{68|69|70|71|75|76|77} support                                                                                                │ │ 
  │ │                                                                              < >     ServerWorks OSB4/CSB5/CSB6 chipsets support                                                                                                 │ │ 
  │ │                                                                              < >     Silicon Image chipset support                                                                                                               │ │ 
  │ │                                                                              < >     SiS5513 chipset support                                                                                                                     │ │ 
  │ │                                                                              < >     SLC90E66 chipset support                                                                                                                    │ │ 
  │ │                                                                              < >     Tekram TRM290 chipset support                                                                                                               │ │ 
  │ │                                                                              < >     VIA82CXXX chipset support                                                                                                                   │ │ 
  │ │                                                                              < >     Toshiba TC86C001 support       

_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
sall
Guru
Guru


Joined: 08 Jun 2008
Posts: 314
Location: WV, USA

PostPosted: Sun Jun 22, 2008 3:50 am    Post subject: Reply with quote

I finally got it recognized also got my /etc/fstab and mount piint up for my device. I think i figured out why it doesnt work on the other kernel though.. On boot I get:

Code:

failed to load mmc_block


In a terminal I also get:

Code:

V2570nr craig # modprobe mmc_block
FATAL: Module mmc_block not found.


Hope you can help me out maybe get it working in my good kernel, there are too many things not working in the new kernel we compiled, that I cant remember how I got working, it has been a long 3 weeks to get to where my system is at. crad reader only thing holding me back at this point. I really appreciate all your help, hopefully it will stay working on the kernel we compiled. I would like to have t supported under my r8 kernel though. Let me know what you all think about the code I just posted!
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Sun Jun 22, 2008 6:06 am    Post subject: Reply with quote

I am glad that at least we are progressing :wink: In order to use your (working) r8 kernel you have to select it again with eselect. Have you done that?

Code:
eselect kernel list
eselect kernel set 2

_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
sall
Guru
Guru


Joined: 08 Jun 2008
Posts: 314
Location: WV, USA

PostPosted: Mon Jun 23, 2008 1:26 am    Post subject: Reply with quote

Got it working, partially...

I edited /etc/conf.d/local.start to look like:

Code:

# /etc/conf.d/local.start

# This is a good place to load any misc programs
# on startup (use &>/dev/null to hide output)

#/home/craig/scripts/wireless-connect.sh
setpci -s 05:09.3 4c.b=0x02


After setting pci to the correct hardware address I now get the following in dmesg|tail before card insert:

Code:

V2570nr craig # dmesg|tail
sdhci:slot1: Will use DMA mode even though HW doesn't fully claim to support it.
mmc1: SDHCI at 0xc0209000 irq 17 DMA
sdhci:slot2: Will use DMA mode even though HW doesn't fully claim to support it.
mmc2: SDHCI at 0xc0208400 irq 17 DMA
EXT3 FS on hda3, internal journal
ACPI: PCI Interrupt 0000:00:14.5[B] -> GSI 17 (level, low) -> IRQ 17
Adding 4120664k swap on /dev/hda2.  Priority:-1 extents:1 across:4120664k
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
wlan0: no IPv6 routers present


After card insert:

Code:

V2570nr craig # dmesg|tail
mmc2: SDHCI at 0xc0208400 irq 17 DMA
EXT3 FS on hda3, internal journal
ACPI: PCI Interrupt 0000:00:14.5[B] -> GSI 17 (level, low) -> IRQ 17
Adding 4120664k swap on /dev/hda2.  Priority:-1 extents:1 across:4120664k
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
wlan0: no IPv6 routers present
mmc2: new SD card at address a95c
mmcblk0: mmc2:a95c SD064 60928KiB
 mmcblk0: p1


So I now then..

Code:

# su
# mkdir /mnt/SD
# nano -w /etc/fstab


Then added this line to /etc/fstab:

Code:

/dev/mmcblk0p1          /mnt/SD         vfat            noauto,user,rw,umask=000        0 0


As far as I kow this hsould allow read and write both to all users. (?)

However, the card is recognized and I can transfer files through a terminal, but the /dev/mmcblk0p1 does not show up anywhere in konqueror. I would prefer to be able to use konqueror to transfer the files. Making progress in leaps in bounds. Any help appreciated! Thanks in advance!

N.B. - Aniruddha, this appears to happen in both kernels, meaning I cannot see the device in konqueror, so with both kernels, we have same result, but progress is there.
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Mon Jun 23, 2008 5:39 pm    Post subject: Reply with quote

Hmm ok, I am afraid I am out of ideas. One more tip; try to be more descriptive in you title e.g. "Problems configuring card reader in Gentoo" or "Can't load module mmc_block".
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum