Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Configurar SD 03:09.1] no la detecta {SOLUCIONADO}
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
upszot
Guru
Guru


Joined: 29 Apr 2009
Posts: 306
Location: Argentina

PostPosted: Sat Mar 24, 2012 1:19 am    Post subject: [Configurar SD 03:09.1] no la detecta {SOLUCIONADO} Reply with quote

Hola gente..

Me encuentro en la tarea de configurar el lector de targetas SD, sin muy buena suerte...

Este es el lector..
Quote:
upszot@M1530 ~ $ sudo lspci |grep -i sd
03:09.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
Segun la wiki... http://en.gentoo-wiki.com/wiki/SD_and_MMC_card_readers
asi configure mi kernel "3.1.10-gentoo-r1"

los modulos me figuran disponibles para cargarlos..
Quote:
M1530 upszot # modprobe -l |egrep -i 'sdhci|sdricoh'
kernel/drivers/mmc/host/sdhci.ko
kernel/drivers/mmc/host/sdricoh_cs.ko

cargo el modulo "sdhci" y verifico...
Quote:
M1530 upszot # modprobe sdhci
M1530 upszot # lsmod |grep sdhci
sdhci 16031 0
mmc_core 51102 1 sdhci

Ingreso la memoria SD y lo unico que aparece en "/var/log/messages" es esto...
Quote:
Mar 23 21:20:54 localhost kernel: [266964.017446] sdhci: Secure Digital Host Controller Interface driver
Mar 23 21:20:54 localhost kernel: [266964.017449] sdhci: Copyright(c) Pierre Ossman
y por ultimo "dmesg" muestra esto...
Quote:
[262498.771962] sd 6:0:0:0: Attached scsi generic sg2 type 0
[262498.779775] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
[262498.780901] sd 6:0:0:0: [sdb] Asking for cache data failed
[262498.780904] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[262498.784896] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
[262498.785896] sd 6:0:0:0: [sdb] Asking for cache data failed
[262498.785899] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[262498.785902] sd 6:0:0:0: [sdb] Attached SCSI disk
[266964.017446] sdhci: Secure Digital Host Controller Interface driver
[266964.017449] sdhci: Copyright(c) Pierre Ossman
pero fdisk no muestra el dispositivo...

Alguna idea, de que me esta faltando?

Saludos
_________________
---------------------------------------
Gentoo >> Dell XPS M1530 - T8300 - 4gb - 8600gt 256
ubuntu + xp >> Athon 2000+xp - 1gb - 6600gt 128bt
dd-wrt v24 >> linksys wrt54gl v1.1
android 2.3 (Miui) >> Motorola Defy


Last edited by upszot on Mon Mar 26, 2012 5:37 am; edited 1 time in total
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1520

PostPosted: Sat Mar 24, 2012 2:21 am    Post subject: Reply with quote

¿Qué dice
Code:
# fdisk -l /dev/sdb
?
Back to top
View user's profile Send private message
upszot
Guru
Guru


Joined: 29 Apr 2009
Posts: 306
Location: Argentina

PostPosted: Sat Mar 24, 2012 2:43 am    Post subject: Reply with quote

quilosaq wrote:
¿Qué dice
Code:
# fdisk -l /dev/sdb
?
no trae nada...

aca tenes un fdisk -l que deberia de traer la info de todos los dispositivos de almacenamiento conectados...
Quote:
M1530 upszot # fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000080

Device Boot Start End Blocks Id System
/dev/sda1 63 96389 48163+ de Dell Utility
/dev/sda2 * 96390 63022994 31463302+ 7 HPFS/NTFS/exFAT
/dev/sda3 63022995 63231839 104422+ 83 Linux
/dev/sda4 63231901 625137344 280952722 5 Extended
/dev/sda5 63231903 65223899 995998+ 82 Linux swap / Solaris
/dev/sda6 65223963 69224084 2000061 83 Linux
/dev/sda7 69224148 75232394 3004123+ 83 Linux
/dev/sda8 75232458 115234244 20000893+ 83 Linux
/dev/sda9 115234308 135235169 10000431 83 Linux
/dev/sda10 135235233 608365484 236565126 7 HPFS/NTFS/exFAT
/dev/sda11 608365548 616767479 4200966 83 Linux
/dev/sda12 616767543 625137344 4184901 83 Linux
como veras... ni detecta la memoria sd

saludos
_________________
---------------------------------------
Gentoo >> Dell XPS M1530 - T8300 - 4gb - 8600gt 256
ubuntu + xp >> Athon 2000+xp - 1gb - 6600gt 128bt
dd-wrt v24 >> linksys wrt54gl v1.1
android 2.3 (Miui) >> Motorola Defy
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1520

PostPosted: Sat Mar 24, 2012 10:54 am    Post subject: Reply with quote

¿Tienes cargado modulo mmc_block?
Back to top
View user's profile Send private message
agdg
Guru
Guru


Joined: 15 Aug 2010
Posts: 320

PostPosted: Sat Mar 24, 2012 1:24 pm    Post subject: Reply with quote

¿Cual es la salida del comando sg_map -i?

PD: sg_map forma parte del paquete sg3_utils
_________________
Antonio Guillen · USAM · Un SysAdmin Más
Back to top
View user's profile Send private message
upszot
Guru
Guru


Joined: 29 Apr 2009
Posts: 306
Location: Argentina

PostPosted: Sun Mar 25, 2012 6:09 am    Post subject: Reply with quote

Hola
no tenia ese modulo cargado..
Quote:
M1530 linux # lsmod |grep mmc_block
M1530 linux # modprobe -l |grep mmc_block
kernel/drivers/mmc/card/mmc_block.ko
M1530 linux # man sg_map
M1530 linux # sg_map -i
/dev/sg0 /dev/sda ATA Hitachi HTS54323 FB4O
/dev/sg1 /dev/scd0 MATSHITA DVD+-RW UJ-875S D200
M1530 linux # lsmod
Module Size Used by
sdhci 16031 0
mmc_core 51102 1 sdhci
acpi_cpufreq 4369 1
mperf 831 1 acpi_cpufreq
vboxnetadp 5318 0
vboxnetflt 12777 0
vboxdrv 160738 2 vboxnetadp,vboxnetflt
coretemp 4320 0
nvidia 10718420 52
b43 153751 0
btusb 7928 2
i2c_i801 6102 0
ahi cargue el modulo y ejecute el comando que me dijeron de vuelta..
Quote:

M1530 linux # modprobe mmc_block
M1530 linux # lsmod |grep mmc_block
mmc_block 12027 0
mmc_core 51102 2 mmc_block,sdhci
M1530 linux # sg_map -i
/dev/sg0 /dev/sda ATA Hitachi HTS54323 FB4O
/dev/sg1 /dev/scd0 MATSHITA DVD+-RW UJ-875S D200
pero sigo igual =(

saludos
_________________
---------------------------------------
Gentoo >> Dell XPS M1530 - T8300 - 4gb - 8600gt 256
ubuntu + xp >> Athon 2000+xp - 1gb - 6600gt 128bt
dd-wrt v24 >> linksys wrt54gl v1.1
android 2.3 (Miui) >> Motorola Defy
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1520

PostPosted: Sun Mar 25, 2012 12:59 pm    Post subject: Reply with quote

Creo que necesitas un driver de Ricoh que debe aparecer cuando actives
Code:
< > SDHCI support on PCI bus
en la configuración del kernel.
Back to top
View user's profile Send private message
upszot
Guru
Guru


Joined: 29 Apr 2009
Posts: 306
Location: Argentina

PostPosted: Mon Mar 26, 2012 5:36 am    Post subject: Reply with quote

quilosaq wrote:
Creo que necesitas un driver de Ricoh que debe aparecer cuando actives
Code:
< > SDHCI support on PCI bus
en la configuración del kernel.
Hola
bueno marque esa opcion en el kernel y con eso me aparecio un driver experimental que tambien lo marque...
ahora al tirar un fdisk -l
Quote:
M1530 upszot # fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000080

Device Boot Start End Blocks Id System
/dev/sda1 63 96389 48163+ de Dell Utility
/dev/sda2 * 96390 63022994 31463302+ 7 HPFS/NTFS/exFAT
/dev/sda3 63022995 63231839 104422+ 83 Linux
/dev/sda4 63231901 625137344 280952722 5 Extended
/dev/sda5 63231903 65223899 995998+ 82 Linux swap / Solaris
/dev/sda6 65223963 69224084 2000061 83 Linux
/dev/sda7 69224148 75232394 3004123+ 83 Linux
/dev/sda8 75232458 115234244 20000893+ 83 Linux
/dev/sda9 115234308 135235169 10000431 83 Linux
/dev/sda10 135235233 608365484 236565126 7 HPFS/NTFS/exFAT
/dev/sda11 608365548 616767479 4200966 83 Linux
/dev/sda12 616767543 625137344 4184901 83 Linux

Disk /dev/mmcblk0: 32.0 GB, 32018268160 bytes
170 heads, 53 sectors/track, 6940 cylinders, total 62535680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 8192 62535679 31263744 c W95 FAT32 (LBA)
asique esta solucionado =))
como curiosidad..al ejecutar sg_map muestra esto...
Quote:
M1530 upszot # sg_scan -i
/dev/sg0: scsi0 channel=0 id=0 lun=0 [em]
ATA Hitachi HTS54323 FB4O [rmb=0 cmdq=0 pqual=0 pdev=0x0]
/dev/sg1: scsi3 channel=0 id=0 lun=0 [em]
MATSHITA DVD+-RW UJ-875S D200 [rmb=1 cmdq=0 pqual=0 pdev=0x5]
M1530 upszot # sg_map -i
/dev/sg0 /dev/sda ATA Hitachi HTS54323 FB4O
/dev/sg1 /dev/scd0 MATSHITA DVD+-RW UJ-875S D200

no se por que esto no lo detecta... pero bueno...

con lo del kernel logre verlo y puedo montarlo a mano...

gracias
_________________
---------------------------------------
Gentoo >> Dell XPS M1530 - T8300 - 4gb - 8600gt 256
ubuntu + xp >> Athon 2000+xp - 1gb - 6600gt 128bt
dd-wrt v24 >> linksys wrt54gl v1.1
android 2.3 (Miui) >> Motorola Defy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
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