Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Problema SD MMC
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
Pes88
Apprentice
Apprentice


Joined: 06 May 2009
Posts: 243

PostPosted: Tue Jun 23, 2009 9:49 pm    Post subject: [RISOLTO] Problema SD MMC Reply with quote

Ciao, oggi ho ricompilato il kernel attivando l'opzione shdci, che il modulo per la entrata SD, tutto è andato bene , perchè se metto una MMC nell'ingresso questa mi viene riconosciuta :
dmesg | tail
Code:

[   89.410377] mmc0: new MMC card at address 0001
[  123.997256] mmc0: card 0001 removed
[  137.004503] mmc0: new MMC card at address 0001
[  455.677976] mmc0: card 0001 removed


Si come faccio a montarla?? Non sono riuscito a trovare la periferica correta nella cartella dev... Per maggior chiarezza posto il contenuto della mia cartella! E poi vorrei sapere come posso montarla in automatico??? Devo configurare hal???

Code:

adsp             fd       md                  ram12    rtc0        stdout  tty22  tty38  tty53  ttyS2           usbdev5.2_ep02  vcs5
audio            full     md0                 ram13    scd0        tty     tty23  tty39  tty54  ttyS3           usbdev5.2_ep03  vcs6
autofs           hpet     mem                 ram14    sda         tty0    tty24  tty4   tty55  urandom         usbdev5.2_ep81  vcs7
bsg              initctl  mixer               ram15    sda1        tty1    tty25  tty40  tty56  usbdev1.1_ep00  usbdev5.2_ep82  vcsa
bus              input    network_latency     ram2     sda2        tty10   tty26  tty41  tty57  usbdev1.1_ep81  usbdev5.2_ep83  vcsa1
cdrom            kmem     network_throughput  ram3     sda3        tty11   tty27  tty42  tty58  usbdev1.2_ep00  usbmon0         vcsa2
cdrw             kmsg     null                ram4     sda4        tty12   tty28  tty43  tty59  usbdev1.2_ep81  usbmon1         vcsa3
console          loop     nvram               ram5     sequencer   tty13   tty29  tty44  tty6   usbdev1.2_ep82  usbmon2         vcsa4
core             loop0    oldmem              ram6     sequencer2  tty14   tty3   tty45  tty60  usbdev2.1_ep00  usbmon3         vcsa5
cpu              loop1    port                ram7     sg0         tty15   tty30  tty46  tty61  usbdev2.1_ep81  usbmon4         vcsa6
cpu_dma_latency  loop2    ptmx                ram8     sg1         tty16   tty31  tty47  tty62  usbdev3.1_ep00  usbmon5         vcsa7
device-mapper    loop3    pts                 ram9     shm         tty17   tty32  tty48  tty63  usbdev3.1_ep81  v4l             video
disk             loop4    ram                 ramdisk  snapshot    tty18   tty33  tty49  tty7   usbdev4.1_ep00  vcs             video0
dri              loop5    ram0                random   snd         tty19   tty34  tty5   tty8   usbdev4.1_ep81  vcs1            XOR
dsp              loop6    ram1                rd       sr0         tty2    tty35  tty50  tty9   usbdev5.1_ep00  vcs2            zero
dvd              loop7    ram10               root     stderr      tty20   tty36  tty51  ttyS0  usbdev5.1_ep81  vcs3
dvdrw            mapper   ram11               rtc      stdin       tty21   tty37  tty52  ttyS1  usbdev5.2_ep00  vcs4


Io cercavo il file mmc0 ma come vedete non è presente!!!


Last edited by Pes88 on Wed Jun 24, 2009 6:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
riverdragon
Veteran
Veteran


Joined: 14 Sep 2006
Posts: 1269
Location: Verona

PostPosted: Tue Jun 23, 2009 9:57 pm    Post subject: Reply with quote

In fstab ho
Code:
/dev/mmcblk0    /media/mmc1     vfat            noauto,user,rw,noatime          0 0
/dev/mmcblk0p1  /media/mmc2      vfat            noauto,user,rw,noatime,nosuid,nodev,shortname=lower,uid=1000               0 0
e nel kernel questo
Code:
grep MMC .config
# CONFIG_PCI_GOMMCONFIG is not set
CONFIG_PCI_MMCONFIG=y
CONFIG_MMC=y
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_UNSAFE_RESUME is not set
# MMC/SD/SDIO Card Drivers
CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_BOUNCE=y
# CONFIG_MMC_TEST is not set
# MMC/SD/SDIO Host Controller Drivers
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PCI=y
CONFIG_MMC_RICOH_MMC=y
# CONFIG_MMC_WBSD is not set
# CONFIG_MMC_TIFM_SD is not set
Magari lo sai già e dico una cosa scontata, ma la voce in /dev la trovi solo dopo aver inserito la scheda stessa.
Back to top
View user's profile Send private message
Pes88
Apprentice
Apprentice


Joined: 06 May 2009
Posts: 243

PostPosted: Tue Jun 23, 2009 10:15 pm    Post subject: Reply with quote

La configurazione del kernel piu o meno è uguale, ma visto che dmesg mi comunica il correto inserimento della scheda non credo che sia li il problema!!!

Si lo so, ma quando inserisco una scheda su dev non si crea nessun nuovo file!!! Ho fatto i confronti tra il contenuto prima e dopo ma è uguale...
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Wed Jun 24, 2009 7:10 am    Post subject: Reply with quote

COsa vuoi dire con "più o meno uguale"? Sappi che se tutti i moduli sono caricati correttamente, all'inserimento della scheda, lo stesso dmesg ti visualizzerà i nuovi device creati (come per i dischi USB). Quindi IMHO, manca qualcosa nel kernel
Back to top
View user's profile Send private message
viralex
Apprentice
Apprentice


Joined: 24 Apr 2008
Posts: 237
Location: Viareggio (Lu,Italy)

PostPosted: Wed Jun 24, 2009 7:24 am    Post subject: Reply with quote

anche a me non andava, ho ricompilato il kernel con tutte quelle opzioni e adesso va perfettamente:

Code:

[  169.019755] mmc0: new SDHC card at address e624
[  169.020077] mmcblk0: mmc0:e624 SD04G 3.79 GiB
[  169.020127]  mmcblk0: p1


Code:

08:05.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
08:05.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)


l'unico problema è che al boot mi vien fuori un warning che dice:

Code:

[    2.226379] sdhci-pci 0000:08:05.2: SDHCI controller found [1217:7120] (rev 2)
[    2.226419] mmc0: Unknown controller version (2). You may experience problems.
[    2.227214] mmc0: SDHCI controller on PCI [0000:08:05.2] using DMA


di problemi non ne ho pure hal fa il suo dovere ;)


Last edited by viralex on Wed Jun 24, 2009 8:28 am; edited 1 time in total
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Wed Jun 24, 2009 8:07 am    Post subject: Reply with quote

Allora tutto ok :wink:
(metti il tag RISOLTO) :wink:
Back to top
View user's profile Send private message
viralex
Apprentice
Apprentice


Joined: 24 Apr 2008
Posts: 237
Location: Viareggio (Lu,Italy)

PostPosted: Wed Jun 24, 2009 8:29 am    Post subject: Reply with quote

ehm no è pes88 che ha ancora il problema ;)
chiedevo solo chiarimenti su quel warning..
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Wed Jun 24, 2009 8:41 am    Post subject: Reply with quote

ah scusa avevo confuso :lol: :lol:
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Wed Jun 24, 2009 6:03 pm    Post subject: Reply with quote

Pes88 wrote:
La configurazione del kernel piu o meno è uguale, ma visto che dmesg mi comunica il correto inserimento della scheda non credo che sia li il problema!!!

come ti ha fatto notare oRDeX se hai compilato (come modulo o buildin) nel kernel tutto quello che serve allora in dmesg vedrai anche la creazione del device, fino a quando questo non succede devi concentrarti sul kernel.
_________________
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con
Code:
grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Back to top
View user's profile Send private message
Pes88
Apprentice
Apprentice


Joined: 06 May 2009
Posts: 243

PostPosted: Wed Jun 24, 2009 6:57 pm    Post subject: Reply with quote

Il problema era che non avevo attivato il modulo ricoh, attivandolo come modulo funziona tutto, compreso hal che mi riconosce tutto in automatico.... :P :P :P

Pero non mi spiego perchè attivandolo come modulo funziona anche se non l'ho caricato???

Configurazione del mio kernel :

Code:

# CONFIG_PCI_GOMMCONFIG is not set
CONFIG_PCI_MMCONFIG=y
CONFIG_MMC=y
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_UNSAFE_RESUME is not set
# MMC/SD/SDIO Card Drivers
CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_BOUNCE=y
# CONFIG_MMC_TEST is not set
# MMC/SD/SDIO Host Controller Drivers
CONFIG_MMC_SDHCI=m
CONFIG_MMC_SDHCI_PCI=m
CONFIG_MMC_RICOH_MMC=m
# CONFIG_MMC_WBSD is not set
# CONFIG_MMC_TIFM_SD is not set
# CONFIG_MMC_SDRICOH_CS is not set


Posto il risultato di lsmod :
Code:

ieee80211_crypt_tkip    16000  2
gspca_m5602            74508  0
fglrx                1810764  26
snd_hda_intel         371988  0
gspca_main             26240  1 gspca_m5602
videodev               35968  1 gspca_main
sdhci_pci              14592  0
ipw2200               152264  0
sdhci                  21636  1 sdhci_pci
skge                   42640  0
v4l1_compat            19588  1 videodev
snd_hwdep              14212  1 snd_hda_intel


Come potette notare il modulo non è presente!!! Ma non ho capito che cambiamenti ha portato il nuovo modulo se non l'ho caricato ...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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