Menu

FATAL ERROR: Failed to mount root filesystem.

2009-06-04
2013-04-05
  • Abhishek Pundir

    Abhishek Pundir - 2009-06-04

    I am getting the following error when I am trying to PXE boot the clonezilla client system.

    "Only IP address offered by this DHCP sever name will be accepted:
    Unable to obtain IP address via wired link (eth1)!
    ***************************************
    FATAL ERROR: Failed to mount root filesystem!!! Please check:

    1. Is the driver of the network card loaded successfully in this
    computer ? Press Shift-PageUp to check the message in the screen ? If
    not, maybe this network card is too new so in this kernel
    "2.6.18-92.1.10.el5" a suitable driver is not available! Run /bin/ls_pciid.sh
    then compare the results with the file
    /usr/lib/mkpxeinitrd-net/initrd-skel/etc/pcitable in the DRBL server.
    2. The TCPwrapper setting (/etc/hosts.allow and /etc/hosts.deny) and
    firewall rules in your DRBL server, do you block the clients ?"
    3. Is there any other dhcp server ( server name is NOT "drbl") in this subnet, and you force client to get IP address from DHCP server (server name is "drbl")?
    4. The DRBL server of $rootpath is able to reverse-map this IP address to
    obtain hostname."

    Please help in this regard.

    Thanks.

     
    • Steven Shiau

      Steven Shiau - 2009-06-05

      Abhishek,
      Did you check those 4 items ?
      What's your client's NIC ? Maybe kernel 2.6.18-92.1.10.el5 is too old so it can not support that.

      Steven.

       
      • Steven Shiau

        Steven Shiau - 2009-06-05

        Although the mapping matches:
        0x14e4 0x1648 "tg3"

        But maybe tg3 is actually too old for your NIC. This happens quite often.
        Are you sure "Broadcom Corporation NetXtreme BCM5704 Gigabit
        Ethernet (rev10)" is supported by the tg3 module from kernel 2.6.18 ?
        Maybe you'd better to download the driver source from Broadcom and compile ?

        Steven.

         
        • Robert J Townley

          Steven,

          are you saying that each nfs client should appear in /etc/hosts.  i ran drblpush -i numerous times, but /etc/hosts only has one of the server's hostnames which wasn't the drbl one.  /etc/hosts does not have any client hostnames.

          CentOS 5.3

           
          • Steven Shiau

            Steven Shiau - 2009-06-09

            Robert,
            Could you log all the output when you run "drblpush -i" ? (If you are familiar with command screen, it's very easy to copy and paste that)
            Please send the output to me (steven _at_ nchc org tw), and also send me the created /etc/hosts.

            Steven.

             
            • Robert J Townley

              Steven, just caught your request about capturing drbl -i output and /etc/hosts on CentOS 5.3.  Will do.  i manually edited.

              But even getting past /etc/hosts, lack of lzma support in the repositories showed up even when i explicitly told CZ to use gzip or bzip.  CentOS 5.3

              2.6.30 includes lzma in the kernel but CentOS may be years away from 2.6.30.

              So i wonder how hard it would be to backport lzma to the current kernel for CentOS.

               
              • Steven Shiau

                Steven Shiau - 2009-06-11

                Robert,
                Actually you can use 3rd-party repository for your CentOS:
                http://www.ultranetsolutions.com/CentOS-5-install-rpmforge-yum-repo.html

                lzma exists on that repository. Just install the lzma from that repository. It should work.

                Steven.

                 
    • Abhishek Pundir

      Abhishek Pundir - 2009-06-05

      Hi Steven -

      I have got 2 Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev10) NIC's on client machine and same is shown in the command output /bin/ls_pciid.sh logs below

      ...
      02:02.0 Ethernet Controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev10)
      02:02:1 Ethernet Controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev10)
      06:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge A (rev 09)
      06:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge B (rev 09)
      ...

      I have check the entries for these NIC against the driver information in usr/lib/mkpxeinitrd-net/initrd-skel/etc/pcitable in the DRBL server and I do find the entries in

      0x14e4  0x1644  "tg3"
      0x14e4  0x1645  "tg3"
      0x14e4  0x1646  "tg3"
      0x14e4  0x1647  "tg3"
      0x14e4  0x1648  "tg3" ======> driver support available.
      0x14e4  0x1677  "tg3"
      0x14e4  0x164d  "tg3"
      0x14e4  0x16a6  "tg3"
      0x14e4  0x16a7  "tg3"
      0x14e4  0x16a8  "tg3"
      0x14e4  0x16c6  "tg3"
      0x14e4  0x16c7  "tg3"

      Also I suspect that reverse-map is not correctly configured on the dhcpd.conf on the server side.

      Can you please help me with the sample for reserse-map configuration in dhcpd.conf.

      Thanks,
      Girish

       
    • Abhishek Pundir

      Abhishek Pundir - 2009-06-05

      Hi Steven -

      Please refer the attached link

      http://cateee.net/lkddb/web-lkddb/TIGON3.html.

      as per the link driver for the Broadcom NIC found in Linux Kernels: before 2.6.0 version still available on 2.6.29 release

      Can you help with the reserv-map configuration in dhcpd.conf file. I would want to try that prior to compile the driver

      Thanks,
      Abhishek

       
      • Steven Shiau

        Steven Shiau - 2009-06-06

        "reverse-map configuration in dhcpd.conf file" means on the server, clients' IP address can be reverse mapped by the server. Therefore that means the IP addresses in the dhcpd.conf are listed on the /etc/hosts. As I mentioned, if you the /etc/hosts is created by "drblpush -i", then you do not have to worry about that.
        If you still think this is the problem you want to check, you'd better to post your dhcpd.conf and /etc/hosts so we can check them for you.

        Steven.

         
    • Abhishek Pundir

      Abhishek Pundir - 2009-06-10

      Hi Steven -

      Things are now working for me

      Thanks,

       
      • Steven Shiau

        Steven Shiau - 2009-06-10

        Abhishek,
        Could you please share how it's fixed there ?

        Steven.

         
    • Robert J Townley

      "Only IP address offered by this DHCP sever name will be accepted:
      Unable to obtain IP address via wired link (eth1)!

      Two NICS in the client can be very problematic!  The pxe boot stage may swap eth0 and eth1.  The third stage may swap again because it depends on how the bus is enumerated - irq number or pci slot or mac address. 

      Even cabling up two both nics moves problems to a higher level bc which nic becomes the default gateway.   Which ip address is used for reverse dns lookup of the same hostname?

      Recommend disabling a nic in the client BIOS.

       
    • Abhishek Pundir

      Abhishek Pundir - 2009-06-11

      Hi Steven -

      We switched to an Ubuntu Installation running kernel 2.6.27-7-generic. Earlier I was using the Linux RHEL Distribution with Kernel  2.6.18-92.1.10.el5.

      Thanks,

       
      • Steven Shiau

        Steven Shiau - 2009-06-11

        OK, so a newer kernel fixes this problem.
        Thanks for reporting that.

        Steven.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.