Root filesystem mount시 에러 질문입니다.
글쓴이: dthunder / 작성시간: 토, 2005/10/01 - 9:16오후
안녕하세요.
휴인스 PXA255-Pro3 보드를 사용하고 있습니다.
제가 부트로더와 커널, 램디스크를 직접 포팅을 해보고 있는데요.(필요한 설정 파일이야
그냥 복사를..ㅡ.ㅡ;;;;) 부트로더와 램디스크에는 문제가 없는거 같은데..
제가 포팅한 커널이미지를 올리면
Uncompressing Linux.............................................................. done, booting the kernel. Linux version 2.4.19PXA255-Test (root@linux) (gcc version 3.2.1) #62 2005. 10. 01. (토) 21:14:58 KST CPU: Intel XScale-PXA255 revision 6 Machine: PXA255_PRO Development Platform Ignoring unrecognised tag 0x00000000 cccr = 0x00000241 Memory clock: 99.53MHz (*27) Run Mode clock: 199.07MHz (*2) Turbo Mode clock: 398.13MHz (*2.0, active) On node 0 totalpages: 32768 zone(0): 32768 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: initrd=0xa0700000,8M root=/dev/ram mem=128M console=ttyS0,115200 Console: colour dummy device 80x30 Calibrating delay loop... 397.31 BogoMIPS Memory: 128MB = 128MB total Memory: 119324KB available (1546K code, 470K data, 80K init) Dentry cache hash table entries: 16384 (order: 5, 131072 bytes) Inode cache hash table entries: 8192 (order: 4, 65536 bytes) Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket PXA USB Controller Core Initialized USB Function Character Driver Interface - 0.4, (C) 2001, Extenex Corp. Starting kswapd Journalled Block Device driver loaded devfs: v1.12a (20020514) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x0 Installing knfsd (copyright (C) 1996 okir@monad.swb.de). I2C: PXA algorithm module loaded. I2C: Adding PXA-I2C-Adapter. i2c-dev.o: Registered 'PXA-I2C-Adapter' as minor 0 I2C: Scanning bus (02)(03)(04)(05)(06)(07)(08)(09)(0a)(0b)(0c)(0d)(0e)(0f)(10)(11)(12)(13)(14)(15)(16)(17)(18)(19)(1a)(1b)() I2C: Successfully added bus Console: switching to colour frame buffer device 80x30 pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with no serial options enabled ttyS00 at 0x0000 (irq = 14) is a PXA UART ttyS01 at 0x0000 (irq = 13) is a PXA UART ttyS02 at 0x0000 (irq = 12) is a PXA UART SA1100 Real Time Clock driver v1.00 RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize loop: loaded (max 8 devices) SMSC LAN91C111 Driver (v2.0), (Linux Kernel 2.4 + Support for Odd Byte) 09/24/01 - by Pramod Bhardwaj (pramod.bhardwaj) eth0: SMC91C11xFD(rev:1) at 0xc88a5300 IRQ:106 MEMSIZE:8192b NOWAIT:0 ADDR: 00:00:00:00:00:00 eth1: SMC91C11xFD(rev:1) at 0xc88a7300 IRQ:103 MEMSIZE:8192b NOWAIT:0 ADDR: 00:00:00:00:00:00 Linux video capture interface: v1.00 usb.c: registered new driver usbdevfs usb.c: registered new driver hub Enter hci_hcd_init Enter hc_found_hci usb.c: new USB bus registered, assigned bus number 1 hc_sl811.c: USB SL811 at c88af000, IRQ 1 Product: USB SL811HS Root Hub SerialNumber: 0 hub.c: USB hub found hub.c: 1 port detected usb.c: registered new driver ov511 ov511.c: v1.50 for Linux 2.4 : OV511 USB Camera Driver usb.c: registered new driver serial usbserial.c: USB Serial support registered for Generic usbserial.c: USB Serial Driver core v1.4 mice: PS/2 mouse device common for all mice NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 1024 buckets, 8Kbytes TCP: Hash tables configured (established 8192 bind 16384) IPv4 over IPv4 tunneling driver NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Fast Floating Point Emulator V0.9 (c) Peter Teichmann. NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com RAMDISK: Compressed image found at block 0 Freeing initrd memory: 8192K kmod: failed to exec /sbin/modprobe -s -k N��������������������������� 3VFS: Cannot open root device "ram" or 01:00 Please append a correct "root=" boot option Kernel panic: VFS: Unable to mount root fs on 01:00
저기 빈줄은 이상하게 복사해도 안나오는데
kmod: failed to exec /sbin/modprobe -s -k N~~~~~(이부분 깨져서 나옴) errno = 2
라는 에러가 뜨면서 커널 패닉에 빠집니다. 근데 회사에서 제공한 Image를
올려보면 정상적으로 부팅이 됩니다. 즉, Ramdisk마운트 하는 부분의 커널
소스를 수정해 줘야 한단 이야기인거 같은데..이게 어느 부분에 있는지
잘 모르겠습니다. errno = 2면 그런 파일이 없다는건데...고수님들의
조언 부탁드리겠습니다.
Forums:
댓글 달기