Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: mmc/sd mount failed
PostPosted: Mon Oct 08, 2007 2:51 pm 
Offline

Joined: Wed Apr 25, 2007 8:51 am
Posts: 11
I have run my linux2.6.20 kernel at my at91rm9200dk board,and startup message follow:


U-Boot 1.1.1 (May 26 2007 - 18:03:01)

U-Boot code: 21F00000 -> 21F14FFC BSS: -> 21F19678
RAM Configuration:
Bank #0: 20000000 32 MB
AMD:S29GL064 (64Mbit)
Flash: 8 MB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 2
## Booting image at 10100000 ...
Image Name: linux-2.6.20
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 1189243 Bytes = 1.1 MB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Copy Cramfs Image from 0x10300000(flash) to 0x20410000(sdram) size:0x500000 ...
Copy Done.

Starting kernel ...

Uncompressing Linux.............................................................................. done, booting the kernel.
Linux version 2.6.20 (root@xuxiaodong) (gcc version 3.4.1) #17 Mon Oct 8 19:24:45 CST 2007
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: Atmel AT91RM9200-DK
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 179 MHz, master 59 MHz, main 18.432 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists. Total pages: 8128
Kernel command line: console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.1.100:/arm/linux-2.6.13-hzh/at91-ramdisk ip=192.168.1.123:192.168.1.1:192.168.1.2:255.255.255.0
AT91: 128 gpio irqs in 4 banks
PID hash table entries: 128 (order: 7, 512 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 29932KB available (2172K code, 229K data, 104K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 1024 bind 512)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
io scheduler noop registered
io scheduler anticipatory registered (default)
at91_spi: Baud rate set to 5990400
AT91 SPI driver loaded
AT91 Watchdog Timer enabled (5 seconds, nowayout)
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfffc4000 (irq = 7) is a ATMEL_SERIAL
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
eth0: Link now 10-HalfDuplex
eth0: AT91 ethernet at 0xfefbc000 int=24 10-HalfDuplex (00:e0:34:23:54:2d)
eth0: Davicom 9161 PHY (Copper)
physmap platform flash device: 00200000 at 10000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
NOR chip too large to fit in mapping. Attempting to cope...
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Reducing visibility of 8192KiB chip to 2048KiB
RedBoot partition parsing not available
Probing YX-9200 S29GL064 Flash at physical address 0x10000000 (16-bit buswidth)
YX-9200 S29GL064 Flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
Using static partitions on YX-9200 S29GL064 Flash
Creating 4 MTD partitions on "YX-9200 S29GL064 Flash":
0x00000000-0x00100000 : "Bootloader"
0x00100000-0x00300000 : "Kernel"
0x00300000-0x00700000 : "Filesystem"
0x00700000-0x00800000 : "TestFs"
at91_cf: irqs det #64, io #0
usbmon: debugfs is not available
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 23, io mem 0x00300000
usb usb1: Product: AT91 OHCI
usb usb1: Manufacturer: Linux 2.6.20 ohci_hcd
usb usb1: SerialNumber: at91
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
udc: at91_udc version 3 May 2006
mice: PS/2 mouse device common for all mice
at91_rtc at91_rtc: rtc core: registered at91_rtc as rtc0
AT91 Real Time Clock driver.
i2c /dev entries driver
at91_i2c at91_i2c: AT91 i2c bus driver.
AT91 MMC: 4 wire bus mode not supported by this driver - using 1 wire
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
at91_rtc at91_rtc: setting the system clock to 1998-01-01 00:00:27 (883612827)
mmc0: host does not support reading read-only switch. Assuming write-enable.
mmcblk0: mmc0:0002 SD256 250880KiB
mmcblk0: p1
usb 1-2: new low speed USB device using at91_ohci and address 2
usb 1-2: device descriptor read/64, error -62
eth0: Link now 10-HalfDuplex
usb 1-2: device descriptor read/64, error -62
usb 1-2: new low speed USB device using at91_ohci and address 3
usb 1-2: device descriptor read/64, error -62
usb 1-2: device descriptor read/64, error -62
IP-Config: Complete:
device=eth0, addr=192.168.1.123, mask=255.255.255.0, gw=192.168.1.2,
host=192.168.1.123, domain=, nis-domain=(none),
bootserver=192.168.1.1, rootserver=192.168.1.100, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.100
Looking up port of RPC 100005/1 on 192.168.1.100
VFS: Mounted root (nfs filesystem).
Freeing init memory: 104K
usb 1-2: new low speed USB device using at91_ohci and address 4
usb 1-2: device not accepting address 4, error -62
usb 1-2: new low speed USB device using at91_ohci and address 5
usb 1-2: device not accepting address 5, error -62
RootDisk
mount tmpfs filesystem to /tmp
cardmgr[758]: cannot access /lib/modules/2.6.20: No such file or directory
pcmcia: Detected deprecated PCMCIA ioctl usage from process: cardmgr.
pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
pcmcia: see http://www.kernel.org/pub/linux/utils/k ... cmcia.html for details.
cardmgr[758]: watching 1 socket
cardmgr[758]: could not adjust resource: IO ports 0xc00-0xcff: Function not implemented
cardmgr[758]: could not adjust resource: IO ports 0x800-0x8ff: Function not implemented
cardmgr[758]: could not adjust resource: IO ports 0x100-0x4ff: Function not implemented
cardmgr[758]: could not adjust resource: memory 0xc0000-0xfffff: Function not implemented
cardmgr[758]: could not adjust resource: memory 0x60000000-0x60ffffff: Function not implemented
cardmgr[758]: could not adjust resource: memory 0xa0000000-0xa0ffffff: Function not implemented
cardmgr[758]: could not adjust resource: IO ports 0xa00-0xaff: Function not implemented
unable to open mouse device
Error: cannot open framebuffer device.
/etc/init.d/rcS: 108: /usr/sbin/chksd: not found
/etc/init.d/rcS done.
Please press Enter to activate this console.
BusyBox v1.00 (2005.05.21-05:56+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

-sh: can't access tty; job control turned off
~ #

kernel have display:
mmc0: host does not support reading read-only switch. Assuming write-enable.
mmcblk0: mmc0:0002 SD256 250880KiB
mmcblk0: p1

I add dev node with command:
1. mknod /dev/mmcblk0 b 254 1
2. mkdir /mnt/mmc
3.fdisk -l /dev/mmcblk0
it display
BUG: at fs/nfs/pagelist.c:339 nfs_scan_dirty()

Disk mmcblk0: 256 MB, 256850432 bytes
4 heads, 16 sectors/track, 7838 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

Device Boot Start End Blocks Id System
But When I run command

mount -t vfat -o sync /dev/mmcblk0 /mnt/mmc
mount: Mounting /dev/mmcblk0 on /mnt/mmc failed: No such device

or
mount -t vfat -o sync /dev/mmcblk0p1 /mnt/mmc
mount: Mounting /dev/mmcblk0p1 on /mnt/mmc failed: No such device

Will you please why "failed: No such device"


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 18, 2007 12:32 pm 
Offline

Joined: Thu Aug 09, 2007 10:48 am
Posts: 106
Location: Artec Design LLC, Tallinn, Estonia
see what /proc/partitions gives you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


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 post attachments in this forum

Search for:
Jump to: