ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Воскресенье
12 мая
38909
AKarataev (12.09.2005 11:21, просмотров: 2151)
uCLinux - не монтируется VFS Здравствуйте все. Начал разбираться с uULinux для ARM. Ориентируюсь на Atmel At91 Установил полный пакет с http://www.uclinux.org/pub/uClinux/dist. Скомпилированное ядро с сайта нормально запускается в Armulator(gdb). Построил свое ядро - пока удалось скомпилировать только 2.4, 2.0 не смог пока построить. Запускаю мной скомпилированное ядро в Armulator, и постоянно ругается на Blkmem и не монтируется VFS. Подскажите, пожалуйста, в чем проблема и где почитать. Заранее спасибо. лог --- (gdb) run Starting program: /opt/uClinux/uClinux-dist/images/../linux-2.4.x/linux Linux version 2.4.27-uc1 (root@artem-mobile) (gcc version 2.95.3 20010315 (release)(ColdFire patches - 200 10318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)) #36 Пнд Сен 12 10:23:12 MSD 2005 Processor: Atmel AT91M40xxx revision 0 Architecture: EB01 On node 0 totalpages: 1536 zone(0): 0 pages. zone(1): 1536 pages. zone(2): 0 pages. Kernel command line: root=/dev/rom0 Calibrating delay loop... 15.82 BogoMIPS Memory: 6MB = 6MB total Memory: 5216KB available (644K code, 168K data, 36K init) Dentry cache hash table entries: 1024 (order: 1, 8192 bytes) Inode cache hash table entries: 512 (order: 0, 4096 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 2048 (order: 1, 8192 bytes) POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Starting kswapd Journalled Block Device driver loaded devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x1 Atmel USART driver version 0.99 devfs_register(ttyS): could not append to parent, err: -17 devfs_register(cua): could not append to parent, err: -17 ttyS0 at 0xfffd0000 (irq = 2) is a builtin Atmel APB USART ttyS1 at 0xfffcc000 (irq = 3) is a builtin Atmel APB USART Blkmem copyright 1998,1999 D. Jeff Dionne Blkmem copyright 1998 Kenneth Albanowski Blkmem 1 disk images: 0: 1600000-15FFFFF [VIRTUAL 1600000-15FFFFF] (RO) RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) Blkmem: bad access: block=2, count=2 (pos=800, len=0) end_request: I/O error, dev 1f:00 (Blkmem), sector 2 EXT3-fs: unable to read superblock Blkmem: bad access: block=2, count=2 (pos=800, len=0) end_request: I/O error, dev 1f:00 (Blkmem), sector 2 EXT2-fs: unable to read superblock Blkmem: bad access: block=2, count=2 (pos=800, len=0) end_request: I/O error, dev 1f:00 (Blkmem), sector 2 MINIX-fs: unable to read superblock Blkmem: bad access: block=0, count=1 (pos=200, len=0) end_request: I/O error, dev 1f:00 (Blkmem), sector 0 FAT: unable to read boot sector UMSDOS: msdos_read_super failed, mount aborted. Blkmem: bad access: block=0, count=1 (pos=200, len=0) end_request: I/O error, dev 1f:00 (Blkmem), sector 0 FAT: unable to read boot sector Blkmem: bad access: block=0, count=1 (pos=200, len=0) end_request: I/O error, dev 1f:00 (Blkmem), sector 0 FAT: unable to read boot sector Blkmem: bad access: block=0, count=2 (pos=400, len=0) end_request: I/O error, dev 1f:00 (Blkmem), sector 0 romfs: unable to read superblock Kernel panic: VFS: Unable to mount root fs on 1f:00