Netboot Mailing List (by thread)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with netboot, help please




So finaly i made it, finaly i had to pass argument into the krenel to 
boot from dhcp
  mknbi -a "ip=dhcp" bzImage newImage

and it is done, really nice feeling after two days, everything boots as 
should (nfs server was set, so i didn't have to set it up)

Milan Chudik wrote:

> No i downloaded 0.8 version of netboot, and it halts after 
> Uncompresing linux ..Ok, booting kernel
> so probably kernel's bad. i don't know, maybe it's bug in netboot 
> version 0.9.8. that it can't uncompress older linux kernels or what?
>
>
> Milan Chudik wrote:
>
>> Hi,
>>    now i'm quite desperate, so i'm writting here, beacause i have no 
>> i idea what am i doing wrong.
>>    I'm trying to do diskless client. I've been reading  almost every 
>> tutorial i found but everything was useless.
>>    PLEASE HELP ME.
>>     This is exhausting description what am i doing:
>>
>>     So, I'm trying to do client diskless linux workstation. In fact 
>> my server is configured as dhcp server. Server is not problem, 
>> because it was already configured and used before we get new NIC 
>> rtl8139D. There are some netboot images, that were created by former 
>> emplyees and i don't know how they were created, but they work for 
>> rtl8029 and for 3C509, so i can use them for testing.  Diskless 
>> clients with these NICs and that netboot images works perfectly so i 
>> can't say the server is configured bad. Server is using dhcp server 
>> with tftp set, nfs is also set as it has to be.
>>     But now we i'm trying to do netboot image for new NIC (rtl8139D) 
>> and i can't figure out how.
>>     So first i compile new kernel for new client. At the end there 
>> will be paste from config file, so you can check it. Kernel version 
>> is 2.2.25.  I did't use modules suport so everything should be in 
>> kernel. I did make dep and then make bzImage.
>> {Also server runs on this kernel version (sur not the same 
>> configuration) and also on the same rtl8139D and everything works 
>> fine, so there is no problem with kernel version and NIC .}
>>      Second i get zrom image from rom-o-matic for rtl9139 version : 
>> eb-5.2.2-rtl8139b.zrom and burned this image on EPROM and put it into 
>> the NIC, i tested it and NIC is looking for DHCP server so it should 
>> be ok. Then i change MAC address on dhcp server.
>>     Second i get netboot utility version netboot-0.9.8. I installed, 
>> it everything looks good. I did netboot image : 
>> /usr/local/bin/mknbi-linux bzImage newImage
>>      I put newImage on the server (because it is not compiled on 
>> server;) and set up dhcp server to use this newImage for that client 
>> and restarted dhcpd. In fact there are only two comps conected.
>>      So when client starts booting it gets this newImage by tftp, i 
>> see it downloading. Then prints on the screen :
>>        Linux Net Boot Image Loader Version 0.9.8 (netboot)
>>        Copyright (C) 1996,1997 G. Kuhlmann and M. Gutschke
>>        Copyright (C) 1995 - 2003 G. Kuhlmann
>>
>> and then it halts................
>>    So where is the problem ???????????????????? What am I doing wrong??
>>    Size of my newImage is at about 534016b, maybe it is big. So I 
>> tryed to compile kernel as zImage with module support, and i compile 
>> into kernel only necesary things so the final newImage was at about 
>> 440000b, but it halts on the same place. Also I tryed to make 
>> newImage with initrd created after compiling  with mkinitrd and then 
>> i used command i faound on the netboot.courceforge.net : mknbi-linux 
>> -x -d ram -i rom -r initrd.gz -k bzImage -o newImage
>> I was only confused why is initrd.gz and how to create it. i tried 
>> gzip, but maybe i was wrong. Also my newImage was very big  960000b, 
>> but client halts after that copyright stuff.
>>  I also tried rdev newImage /dev/nfs, but i think it is not 
>> importand, because, i think, mknbi-linux uses it implicitly. (also it 
>> didn't work it)
>>  So please help me how to debug it, to see where is problem, or just 
>> tell me, what am i doing wrong, give me link on the webpage where it 
>> is described and it works. Maybe i can't use this version of netboot 
>> with this kernel 2.2.25, but i realy don't know. When i look into the 
>> /var/log/messages i see that newImage was downloaded and that is last 
>> sign of communication between server and client.
>>
>> Thank you, for your advice
>>
>> ing. Milan Chudik
>>
>>
>>
>>      #
>> # Automatically generated by make menuconfig: don't edit
>> #
>> CONFIG_X86=y
>>
>> #
>> # Code maturity level options
>> #
>> CONFIG_EXPERIMENTAL=y
>>
>> #
>> # Processor type and features
>> #
>> # CONFIG_M386 is not set
>> # CONFIG_M486 is not set
>> # CONFIG_M586 is not set
>> CONFIG_M586TSC=y
>> # CONFIG_M686 is not set
>> CONFIG_X86_WP_WORKS_OK=y
>> CONFIG_X86_INVLPG=y
>> CONFIG_X86_BSWAP=y
>> CONFIG_X86_POPAD_OK=y
>> CONFIG_X86_TSC=y
>> # CONFIG_MICROCODE is not set
>> # CONFIG_X86_MSR is not set
>> # CONFIG_X86_CPUID is not set
>> CONFIG_1GB=y
>> # CONFIG_2GB is not set
>> # CONFIG_MATH_EMULATION is not set
>> # CONFIG_MTRR is not set
>> CONFIG_SMP=y
>>
>> #
>> # Loadable module support
>> #
>> # CONFIG_MODULES is not set
>>
>> #
>> # General setup
>> #
>> CONFIG_NET=y
>> CONFIG_PCI=y
>> # CONFIG_PCI_GOBIOS is not set
>> # CONFIG_PCI_GODIRECT is not set
>> CONFIG_PCI_GOANY=y
>> CONFIG_PCI_BIOS=y
>> CONFIG_PCI_DIRECT=y
>> CONFIG_PCI_QUIRKS=y
>> # CONFIG_PCI_OPTIMIZE is not set
>> CONFIG_PCI_OLD_PROC=y
>> # CONFIG_MCA is not set
>> # CONFIG_VISWS is not set
>> CONFIG_X86_IO_APIC=y
>> CONFIG_X86_LOCAL_APIC=y
>> CONFIG_SYSVIPC=y
>> # CONFIG_BSD_PROCESS_ACCT is not set
>> CONFIG_SYSCTL=y
>> CONFIG_BINFMT_AOUT=y
>> CONFIG_BINFMT_ELF=y
>> CONFIG_BINFMT_MISC=y
>> # CONFIG_BINFMT_JAVA is not set
>> CONFIG_PARPORT=y
>> # CONFIG_PARPORT_PC is not set
>> # CONFIG_APM is not set
>> # CONFIG_TOSHIBA is not set
>>
>> #
>> # Plug and Play support
>> #
>> # CONFIG_PNP is not set
>>
>> #
>> # Block devices
>> #
>> CONFIG_BLK_DEV_FD=y
>> # CONFIG_BLK_DEV_IDE is not set
>> # CONFIG_BLK_DEV_HD_ONLY is not set
>> CONFIG_BLK_DEV_LOOP=y
>> # CONFIG_BLK_DEV_NBD is not set
>> # CONFIG_BLK_DEV_MD is not set
>> # CONFIG_BLK_DEV_RAM is not set
>> # CONFIG_BLK_DEV_XD is not set
>> # CONFIG_BLK_DEV_DAC960 is not set
>> CONFIG_PARIDE_PARPORT=y
>> # CONFIG_PARIDE is not set
>> # CONFIG_BLK_CPQ_DA is not set
>> # CONFIG_BLK_CPQ_CISS_DA is not set
>> # CONFIG_BLK_DEV_HD is not set
>>
>> #
>> # Networking options
>> #
>> CONFIG_PACKET=y
>> # CONFIG_NETLINK is not set
>> # CONFIG_FIREWALL is not set
>> # CONFIG_FILTER is not set
>> CONFIG_UNIX=y
>> CONFIG_INET=y
>> # CONFIG_IP_MULTICAST is not set
>> # CONFIG_IP_ADVANCED_ROUTER is not set
>> CONFIG_IP_PNP=y
>> CONFIG_IP_PNP_DHCP=y
>> # CONFIG_IP_PNP_BOOTP is not set
>> # CONFIG_IP_PNP_RARP is not set
>> # CONFIG_IP_ROUTER is not set
>> # CONFIG_NET_IPIP is not set
>> # CONFIG_NET_IPGRE is not set
>> # CONFIG_IP_ALIAS is not set
>> # CONFIG_SYN_COOKIES is not set
>> # CONFIG_INET_RARP is not set
>> CONFIG_SKB_LARGE=y
>> # CONFIG_IPV6 is not set
>> # CONFIG_IPX is not set
>> # CONFIG_ATALK is not set
>> # CONFIG_X25 is not set
>> # CONFIG_LAPB is not set
>> # CONFIG_BRIDGE is not set
>> # CONFIG_NET_DIVERT is not set
>> # CONFIG_LLC is not set
>> # CONFIG_ECONET is not set
>> # CONFIG_WAN_ROUTER is not set
>> # CONFIG_NET_FASTROUTE is not set
>> # CONFIG_NET_HW_FLOWCONTROL is not set
>> # CONFIG_CPU_IS_SLOW is not set
>>
>> #
>> # QoS and/or fair queueing
>> #
>> # CONFIG_NET_SCHED is not set
>>
>> #
>> # Telephony Support
>> #
>> # CONFIG_PHONE is not set
>> # CONFIG_PHONE_IXJ is not set
>>
>> #
>> # SCSI support
>> #
>> # CONFIG_SCSI is not set
>>
>> #
>> # I2O device support
>> #
>> # CONFIG_I2O is not set
>> # CONFIG_I2O_PCI is not set
>> # CONFIG_I2O_BLOCK is not set
>> # CONFIG_I2O_SCSI is not set
>>
>> #
>> # Network device support
>> #
>> CONFIG_NETDEVICES=y
>>
>> #
>> # ARCnet devices
>> #
>> # CONFIG_ARCNET is not set
>> CONFIG_DUMMY=y
>> # CONFIG_BONDING is not set
>> # CONFIG_EQUALIZER is not set
>> # CONFIG_NET_SB1000 is not set
>>
>> #
>> # Ethernet (10 or 100Mbit)
>> #
>> CONFIG_NET_ETHERNET=y
>> # CONFIG_NET_VENDOR_3COM is not set
>> # CONFIG_LANCE is not set
>> # CONFIG_NET_VENDOR_SMC is not set
>> # CONFIG_NET_VENDOR_RACAL is not set
>> CONFIG_RTL8139=y
>> CONFIG_RTL8139TOO=y
>> CONFIG_8139TOO_PIO=y
>> CONFIG_8139TOO_TUNE_TWISTER=y
>> # CONFIG_8139TOO_8129 is not set
>> # CONFIG_NET_ISA is not set
>> # CONFIG_NET_EISA is not set
>> # CONFIG_NET_POCKET is not set
>>
>> #
>> # Ethernet (1000 Mbit)
>> #
>> # CONFIG_ACENIC is not set
>> # CONFIG_HAMACHI is not set
>> # CONFIG_YELLOWFIN is not set
>> # CONFIG_SK98LIN is not set
>> # CONFIG_FDDI is not set
>> # CONFIG_HIPPI is not set
>> # CONFIG_PLIP is not set
>> # CONFIG_PPP is not set
>> # CONFIG_SLIP is not set
>> # CONFIG_NET_RADIO is not set
>>
>> #
>> # Token ring devices
>> #
>> # CONFIG_TR is not set
>> # CONFIG_NET_FC is not set
>> # CONFIG_RCPCI is not set
>> # CONFIG_SHAPER is not set
>>
>> #
>> # Wan interfaces
>> #
>> # CONFIG_HOSTESS_SV11 is not set
>> # CONFIG_COSA is not set
>> # CONFIG_SEALEVEL_4021 is not set
>> # CONFIG_SYNCLINK_SYNCPPP is not set
>> # CONFIG_FARSYNC is not set
>> # CONFIG_LANMEDIA is not set
>> # CONFIG_COMX is not set
>> # CONFIG_HDLC is not set
>> # CONFIG_DLCI is not set
>> # CONFIG_XPEED is not set
>> # CONFIG_SBNI is not set
>>
>> #
>> # Amateur Radio support
>> #
>> # CONFIG_HAMRADIO is not set
>>
>> #
>> # IrDA (infrared) support
>> #
>> # CONFIG_IRDA is not set
>>
>> #
>> # ISDN subsystem
>> #
>> # CONFIG_ISDN is not set
>>
>> #
>> # Old CD-ROM drivers (not SCSI, not IDE)
>> #
>> # CONFIG_CD_NO_IDESCSI is not set
>>
>> #
>> # Character devices
>> #
>> CONFIG_VT=y
>> # CONFIG_VT_CONSOLE is not set
>> CONFIG_SERIAL=y
>> # CONFIG_SERIAL_CONSOLE is not set
>> # CONFIG_SERIAL_EXTENDED is not set
>> # CONFIG_SERIAL_NONSTANDARD is not set
>> # CONFIG_UNIX98_PTYS is not set
>> CONFIG_PRINTER=y
>> # CONFIG_PRINTER_READBACK is not set
>> # CONFIG_MOUSE is not set
>>
>> #
>> # Joysticks
>> #
>> # CONFIG_JOYSTICK is not set
>> # CONFIG_QIC02_TAPE is not set
>> # CONFIG_WATCHDOG is not set
>> # CONFIG_NVRAM is not set
>> # CONFIG_RTC is not set
>> # CONFIG_INTEL_RNG is not set
>> # CONFIG_AGP is not set
>> # CONFIG_DRM is not set
>>
>> #
>> # Video For Linux
>> #
>> # CONFIG_VIDEO_DEV is not set
>> # CONFIG_DTLK is not set
>>
>> #
>> # Ftape, the floppy tape device driver
>> #
>> # CONFIG_FTAPE is not set
>>
>> #
>> # USB support
>> #
>> # CONFIG_USB is not set
>>
>> #
>> # Filesystems
>> #
>> # CONFIG_QUOTA is not set
>> CONFIG_AUTOFS_FS=y
>> # CONFIG_ADFS_FS is not set
>> # CONFIG_AFFS_FS is not set
>> # CONFIG_HFS_FS is not set
>> # CONFIG_FAT_FS is not set
>> # CONFIG_MSDOS_FS is not set
>> # CONFIG_UMSDOS_FS is not set
>> # CONFIG_VFAT_FS is not set
>> # CONFIG_ISO9660_FS is not set
>> # CONFIG_JOLIET is not set
>> # CONFIG_MINIX_FS is not set
>> # CONFIG_NTFS_FS is not set
>> # CONFIG_HPFS_FS is not set
>> CONFIG_PROC_FS=y
>> # CONFIG_QNX4FS_FS is not set
>> CONFIG_ROMFS_FS=y
>> CONFIG_EXT2_FS=y
>> # CONFIG_SYSV_FS is not set
>> # CONFIG_UFS_FS is not set
>> # CONFIG_EFS_FS is not set
>>
>> #
>> # Network File Systems
>> #
>> # CONFIG_CODA_FS is not set
>> CONFIG_NFS_FS=y
>> CONFIG_NFS_V3=y
>> # CONFIG_ROOT_NFS is not set
>> CONFIG_NFSD=y
>> CONFIG_NFSD_V3=y
>> # CONFIG_NFSD_TCP is not set
>> CONFIG_SUNRPC=y
>> CONFIG_LOCKD=y
>> # CONFIG_SMB_FS is not set
>> # CONFIG_NCP_FS is not set
>>
>> #
>> # Partition Types
>> #
>> # CONFIG_BSD_DISKLABEL is not set
>> # CONFIG_MAC_PARTITION is not set
>> # CONFIG_MINIX_SUBPARTITION is not set
>> # CONFIG_SMD_DISKLABEL is not set
>> # CONFIG_SOLARIS_X86_PARTITION is not set
>> # CONFIG_UNIXWARE_DISKLABEL is not set
>> # CONFIG_NLS is not set
>>
>> #
>> # Console drivers
>> #
>> CONFIG_VGA_CONSOLE=y
>> # CONFIG_VIDEO_SELECT is not set
>> # CONFIG_MDA_CONSOLE is not set
>> # CONFIG_FB is not set
>>
>> #
>> # Sound
>> #
>> # CONFIG_SOUND is not set
>>
>> #
>> # Kernel hacking
>> #
>> # CONFIG_MAGIC_SYSRQ is not set
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>

===========================================================================
This Mail was sent to netboot mailing list by:
Milan Chudik <chudikm@tutovka.sk>
To get help about this list, send a mail with 'help' as the only string in
it's body to majordomo@baghira.han.de. If you have problems with this list,
send a mail to netboot-owner@baghira.han.de.



For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.