Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

A probelem when I add network driver to kernel

hello,

I follow the steps you give us to transplant uclinux for DE2 and succeceed,however,when I added the network driver,the following problem

appears:

uClinux/Nios II

Altera Nios II support © 2004 Microtronix Datacom Ltd.

setup_arch: No persistant network settings signature at 008F0000

Built 1 zonelists

Kernel command line:

PID hash table entries: 64 (order: 6, 1024 bytes)

Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)

Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)

Memory available: 6512k/8192k RAM, 0k/0k ROM (1230k kernel code, 353k data)

Mount-cache hash table entries: 512

NET: Registered protocol family 16

io scheduler noop registered

io scheduler deadline registered (default)

Serial: JTAG UART driver $Revision: 1.4 $

ttyJ0 at MMIO 0x81004000 (irq = 1) is a jtag_uart

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

NET: Registered protocol family 2

IP route cache hash table entries: 128 (order: -3, 512 bytes)

TCP established hash table entries: 512 (order: -1, 2048 bytes)

TCP bind hash table entries: 512 (order: -1, 2048 bytes)

TCP: Hash tables configured (established 512 bind 512)

TCP reno registered

TCP bic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

VFS: Cannot open root device "<NULL>" or unknown-block(0,0)

Please append a correct "root=" boot option

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

what&#39;s the reason and can you show me the solution?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Ok,I have solve the problem by trying step by step again,a little bit silly? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif Maybe hippo will tell us a more technical method http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif

    --- Quote Start ---

    originally posted by hustwb@Jul 22 2006, 09:04 AM

    hello,

    i follow the steps you give us to transplant uclinux for de2 and succeceed,however,when i added the network driver,the following problem

    appears:

    uclinux/nios ii

    altera nios ii support © 2004 microtronix datacom ltd.

    setup_arch: no persistant network settings signature at 008f0000

    built 1 zonelists

    kernel command line:

    pid hash table entries: 64 (order: 6, 1024 bytes)

    dentry cache hash table entries: 2048 (order: 1, 8192 bytes)

    inode-cache hash table entries: 1024 (order: 0, 4096 bytes)

    memory available: 6512k/8192k ram, 0k/0k rom (1230k kernel code, 353k data)

    mount-cache hash table entries: 512

    net: registered protocol family 16

    io scheduler noop registered

    io scheduler deadline registered (default)

    serial: jtag uart driver $revision: 1.4 $

    ttyj0 at mmio 0x81004000 (irq = 1) is a jtag_uart

    ramdisk driver initialized: 16 ram disks of 4096k size 1024 blocksize

    net: registered protocol family 2

    ip route cache hash table entries: 128 (order: -3, 512 bytes)

    tcp established hash table entries: 512 (order: -1, 2048 bytes)

    tcp bind hash table entries: 512 (order: -1, 2048 bytes)

    tcp: hash tables configured (established 512 bind 512)

    tcp reno registered

    tcp bic registered

    net: registered protocol family 1

    net: registered protocol family 17

    vfs: cannot open root device "<null>" or unknown-block(0,0)

    please append a correct "root=" boot option

    kernel panic - not syncing: vfs: unable to mount root fs on unknown-block(0,0)

    what&#39;s the reason and can you show me the solution?

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=17063)

    --- quote end ---

    --- Quote End ---