Forum Discussion
Altera_Forum
Honored Contributor
21 years agoProblem with first run
This is a newbie question. Installation and upload of the kernel and file system went smoothly on my 1s10 development board. Howerever first connection via terminal with the uClinux failed with...
Altera_Forum
Honored Contributor
21 years ago --- Quote Start --- originally posted by ken@Nov 30 2004, 11:12 AM looking at the kernel commandline, i noticed that you passed:
root=/dev/hda rw
/dev/hda represents the entire disk/drive. what you want is to specify a partition. in your case, that would be the first partition.
so your kernel command line should read:
root=/dev/hda1 rw
give that a try... i think that should solve the problem. --- Quote End --- another error: <div class='quotetop'>QUOTE </div> --- Quote Start --- On node 0 totalpages: 4096 DMA zone: 0 pages, LIFO batch:1 Normal zone: 4096 pages, LIFO batch:1 HighMem zone: 0 pages, LIFO batch:1 Built 1 zonelists Kernel command line: root=/dev/hda1 rw PID hash table entries: 16 (order 4: 128 bytes) Memory available: 14480k/4096k RAM, 0k/0k ROM (1394k kernel code, 306k data) Calibrating delay loop... 24.78 BogoMIPS Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) POSIX conformance testing by UNIFIX NET: Registered protocol family 16 Serial: JTAG UART driver $Revision: 1.3 $ ttyJ0 at MMIO 0x80920820 (irq = 1) is a jtag_uart RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize smc_probe: 50000 Khz Nios SMSC LAN91C111 Driver (v2.1), (Linux Kernel 2.6) eth0: SMC91C11xFD(rev:1) at 0x80910300 IRQ:6 MEMSIZE:8192b NOWAIT:0 ADDR: 00:07: ed:00:00:00 smc_probe: 50000 Khz Nios Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx CF: ctl=1 hda: CF 16MB, CFA DISK drive hdb: no response (status = 0xff), resetting drive hdb: no response (status = 0xff) Using anticipatory io scheduler ide0 at 0x80900800-0x80900807,0x80900838 on irq 8 hda: max request size: 128KiB hda: 31232 sectors (15 MB) w/1KiB Cache, CHS=61/16/32 hda: hda1 microtronix[mtd]: RAM probe address=0x200000 size=0x538000 Creating 1 MTD partitions on "RAM": 0x00000000-0x00538000 : "ROMfs" microtronix[mtd]: set ROMfs to be root filesystem NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 1024 bind 2048) NET: Registered protocol family 1 NET: Registered protocol family 17 hda: hda1 hda: hda1 hda: hda1 Kernel panic: VFS: Unable to mount root fs on hda1[/b] --- Quote End --- the cf is formatted with ext2fs.hda1 has bootable primary partition,as the quick guide suggest. what is the way? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/dry.gif