From: Claire Troussier <troussier@digigram.com>
To: linux-mtd@lists.infradead.org
Subject: Problem with mtd on a Sandpoint
Date: Fri, 05 Oct 2001 12:10:49 +0200 [thread overview]
Message-ID: <3BBD8729.92A77296@digigram.com> (raw)
Hi,
I use Montavista 2.4.2_hhl20 with a Sanpoint (8240) board and I try to
acces the flash. I add the mtd support in the kernel configuration and
during boot the flash is correctly identified. When I try to access it I
always got the same error "can't locate module block-major-31" or "can't
locate module char-major-90" if I use mtd0 instead of mtdblock0
Any ideas ?
Thanks for your help
Claire
Here are the boot messages regarding the flash detection
....
physmap flash device: 200000 at ffe00000
Physically mapped flash: Found 1 x16 CFI device at 0x0 in 8 bit mode
Amd/Fujitsu Extended Query Table v1.0 at 0x0040
number of CFI chips: 1
mtd: Giving out device 0 to Physically mapped flash
cstm_cfi_jedec flash device: 200000 at ffe00000
MTD flash: Found 1 x16 CFI device at 0x0 in 8 bit mode
Amd/Fujitsu Extended Query Table v1.0 at 0x0040
number of CFI chips: 1
mtd: Giving out device 1 to main partition
...
sh-2.03# cat /proc/mtd
dev: size erasesize name
mtd0: 00200000 00010000 "Physically mapped flash"
mtd1: 00200000 00010000 "main partition"
sh-2.03# mount -t jffs /dev/mtdblock0 /mnt
modprobe: can't locate module block-major-31
mount: /dev/mtdblock0 has wrong major or minor number
sh-2.03# depmod -a
sh-2.03# modprobe -c
# This file was generated by: modprobe -c (2.1.121)
path[misc]=/lib/modules/2.4.2_hhl20
path[pcmcia]=/lib/modules/2.4.2_hhl20
path[video]=/lib/modules/2.4.2_hhl20
path[fc4]=/lib/modules/2.4.2_hhl20
path[sound]=/lib/modules/2.4.2_hhl20
path[ipv6]=/lib/modules/2.4.2_hhl20
path[ipv4]=/lib/modules/2.4.2_hhl20
path[cdrom]=/lib/modules/2.4.2_hhl20
path[block]=/lib/modules/2.4.2_hhl20
path[scsi]=/lib/modules/2.4.2_hhl20
path[net]=/lib/modules/2.4.2_hhl20
path[fs]=/lib/modules/2.4.2_hhl20
path[misc]=/lib/modules/default
path[pcmcia]=/lib/modules/default
path[video]=/lib/modules/default
path[fc4]=/lib/modules/default
path[sound]=/lib/modules/default
path[ipv6]=/lib/modules/default
path[ipv4]=/lib/modules/default
path[cdrom]=/lib/modules/default
path[block]=/lib/modules/default
path[scsi]=/lib/modules/default
path[net]=/lib/modules/default
path[fs]=/lib/modules/default
path[misc]=/lib/modules
path[pcmcia]=/lib/modules
path[video]=/lib/modules
path[fc4]=/lib/modules
path[sound]=/lib/modules
path[ipv6]=/lib/modules
path[ipv4]=/lib/modules
path[cdrom]=/lib/modules
path[block]=/lib/modules
path[scsi]=/lib/modules
path[net]=/lib/modules
path[fs]=/lib/modules
# Aliases
alias binfmt-2 binfmt_aout
alias binfmt-0107 binfmt_aout
alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-387 binfmt_aout
alias binfmt-332 iBCS
alias binfmt-310 binfmt_java
alias block-major-1 rd
alias block-major-2 floppy
alias block-major-3 ide-probe
alias block-major-7 loop
alias block-major-8 sd_mod
alias block-major-11 sr_mod
alias block-major-13 xd
alias block-major-15 cdu31a
alias block-major-16 gscd
alias block-major-17 optcd
alias block-major-18 sjcd
alias block-major-20 mcdx
alias block-major-22 ide-probe
alias block-major-23 mcd
alias block-major-24 sonycd535
alias block-major-25 sbpcd
alias block-major-26 sbpcd
alias block-major-27 sbpcd
alias block-major-29 aztcd
alias block-major-32 cm206
alias block-major-33 ide-probe
alias block-major-34 ide-probe
alias char-major-4 serial
alias char-major-5 serial
alias char-major-6 lp
alias char-major-9 st
alias char-major-10 misc
alias char-major-10-0 busmouse
alias char-major-10-1 psaux
alias char-major-10-2 msbusmouse
alias char-major-10-3 atixlmouse
alias char-major-10-4 amigamouse
alias char-major-10-5 atarimouse
alias char-major-10-130 wdt
alias char-major-10-131 wdt
alias char-major-10-135 off
alias char-major-10-139 openprom
alias char-major-14 sound
alias char-major-19 cyclades
alias char-major-20 cyclades
alias char-major-21 sg
alias char-major-27 ftape
alias char-major-34 scc
alias char-major-35 tclmidi
alias char-major-36 netlink
alias char-major-37 ide-tape
alias char-major-48 riscom8
alias char-major-49 riscom8
alias char-major-63 kdebug
alias dos msdos
alias dummy0 dummy
alias dummy1 dummy
alias eth0 off
alias iso9660 isofs
alias md-personality-1 linear
alias md-personality-2 raid0
alias md-personality-3 raid1
alias md-personality-4 raid5
alias net-pf-1 unix
alias net-pf-2 ipv4
alias net-pf-3 off
alias net-pf-4 ipx
alias net-pf-5 appletalk
alias netalias-2 ip_alias
alias plip0 plip
alias plip1 plip
alias ppp0 ppp
alias ppp1 ppp
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias scsi_hostadapter off
alias slip0 slip
alias slip1 slip
alias tty-ldisc-1 slip
alias tty-ldisc-3 ppp
# Options
next reply other threads:[~2001-10-05 9:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-05 10:10 Claire Troussier [this message]
2001-10-08 9:16 ` Problem with mtd on a Sandpoint David Woodhouse
-- strict thread matches above, loose matches on Subject: below --
2001-10-05 10:15 problem " Claire Troussier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3BBD8729.92A77296@digigram.com \
--to=troussier@digigram.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.