Re: PXE booting 7.0-R
Hi try using this lines in your /usr/local/etc/dhcpd.conf instead of yours : subnet [your subnet IP] netmask [your netmask] { range [start range] [finish range]; next-server [your PXE server IP]; filename pxeboot; option root-path [your Root server IP (if you mount your server root its obvious that your server IP)]:/; } and you should make change in your /etc/inetd.conf and comment out this line : tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot/ place your pxeboot and loader in /tftpboot/ and reboot your system it should solve your problem but if you want to use tftp instead of nfs you should make your pxeboot and loader using tftp enable to do this you can read this article : http://www.ultradesic.com/index.php?section=72 but there is a mistake in this article : after you make new files are place here : pxeboot : /usr/obj/usr/src/sys/boot/i386/pxeldr/ loader : /usr/obj/usr/src/sys/boot/i386/loader/ and you should export / and all its directory for successful loading . for more information you can read this article too. http://www.ultradesic.com/?section=144 I hope you make it - Original Message From: CZUCZY Gergely [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Friday, June 6, 2008 1:17:08 PM Subject: PXE booting 7.0-R Hello, I'm trying to PXE boot 7.0-RELEASE, but it stops at a time. At boot I see the following on the screen: BIOS drive C: is disk0 BIOS drive D: is disk1 PXE version 2.1, real mode entry point @9188:0106 BIOS 517kB/3406144kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 ([EMAIL PROTECTED], date) pxe_open: server addr: 10.0.0.1 pxe_open: serve path: /wwwbladebsd/ pxe_open: gateway ip: 10.0.0.1 Consoles: internal video/keybaord BIOS drive C: is disk0 BIOS drive D: is diskl BIOS 517kB/3406144kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 ([EMAIL PROTECTED], date) Can't work out which disk we are booting from. Guessed BIOS device 0x not found by probes, defaulting to disk0 can't loader 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK lsdev cd devices: disk devices: disk0: BIOS drive C: disk1: BIOS drive D: pxe devices: on the server I see t serving pxeboot via tftp, and mounting the root via NFS: Jun 6 11:38:22 nfs dhcpd: DHCPDISCOVER from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:22 nfs dhcpd: DHCPOFFER on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:24 nfs dhcpd: DHCPREQUEST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:24 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:24 nfs atftpd[2221]: Serving /bsd/pxeboot to 10.0.0.32:2070 Jun 6 11:38:24 nfs atftpd[]: Serving /bsd/pxeboot to 10.0.0.32:2071 Jun 6 11:38:25 nfs dhcpd: DHCPDISCOVER from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs dhcpd: DHCPOFFER on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs dhcpd: DHCPREQUEST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs mountd[2120]: authenticated mount request from 10.0.0.32:1023 for /wwwbladebsd (/wwwbladebsd) (around 30-40 from these NFS mount messages in the log). The NFS server is a linux box right now. The dhcpd.conf: host blade1 { hardware ethernet 00:30:48:8d:00:36; fixed-address 10.0.0.32; server-name 10.0.0.1; filename /bsd/pxeboot; next-server 10.0.0.1; option root-path /wwwbladebsd/; } i'm using atftpd with /tftpboot as root directory. /tftpboot/bsd/ is a symlink to the root system's /boot . I've NFS-exported /wwwbladebsd/, and that seems to work. The question is, why loader is unable to load the kernel? How could I force the loader to use tftp instead of NFS? Or using any other solutions, how can I make this box boot? If I've left out outsomething from here, please tell me, I will post it. Thanks in advance. -- Sincerely, Gergely CZUCZY Harmless Digital Bt mailto: [EMAIL PROTECTED] Tel: +36-30-9702963 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PXE booting 7.0-R
hi again you said you use freebsd 7.0 so I told you to do these in freebsd ( that you install dhcp on it!!! to the end I call it pxeserver) not on your Linux Server(and to the end I call your server that you want to boot from and mount its / FileServer)!!! your dhcpd.conf is : host blade1 { hardware ethernet 00:30:48:8d:00:36; fixed-address 10.0.0.32; server-name 10.0.0.1; I dont use it and nothing happend filename /bsd/pxeboot; you should place pxeboot where you specify as root-path and write here pxeboot next-server 10.0.0.1; option root-path /wwwbladebsd/; you should specify your root-path as follow : [FileServer IP]:/ I use / because I couldn`t use any path and admonish you not to try anywhere else because it doesn`t work!!! } after these you should edit inetd in your pxeserver (freebsd) and you should make your pxeboot again if you want to use tftp that briefly explain in that article please do above steps exactly and I hope you make it !!! these are my 3 months of working on freebsd for pxeboot - Original Message From: CZUCZY Gergely [EMAIL PROTECTED] To: mohammad khatibi [EMAIL PROTECTED] Cc: CZUCZY Gergely [EMAIL PROTECTED] Sent: Monday, June 9, 2008 8:56:47 AM Subject: Re: PXE booting 7.0-R On Sun, 8 Jun 2008 21:34:57 -0700 (PDT) mohammad khatibi [EMAIL PROTECTED] wrote: Hi try using this lines in your /usr/local/etc/dhcpd.conf instead of yours : subnet [your subnet IP] netmask [your netmask] { range [start range] [finish range]; next-server [your PXE server IP]; filename pxeboot; option root-path [your Root server IP (if you mount your server root its obvious that your server IP)]:/; } Yes, I was exactly using these options. and you should make change in your /etc/inetd.conf and comment out this line : tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot/ place your pxeboot and loader in /tftpboot/ and reboot your system it should solve your problem Sorry, but you've failed here. 1) I stated the NFS(also tftp) server is Linux, and I'm not using it from inetd. 2) I wasn't asking how are _you_ doing it, the question was, what's wrong with my setup. (After I know what's wrong I can fix it myself, thanks) 3) I've read articles, manuals, etc. I have a problem with it, it's not working as it's supposed to. Anyways, thanks for your efforts. but if you want to use tftp instead of nfs you should make your pxeboot and loader using tftp enable to do this you can read this article : http://www.ultradesic.com/index.php?section=72 but there is a mistake in this article : after you make new files are place here : pxeboot : /usr/obj/usr/src/sys/boot/i386/pxeldr/ loader : /usr/obj/usr/src/sys/boot/i386/loader/ and you should export / and all its directory for successful loading . for more information you can read this article too. http://www.ultradesic.com/?section=144 I hope you make it - Original Message From: CZUCZY Gergely [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Friday, June 6, 2008 1:17:08 PM Subject: PXE booting 7.0-R Hello, I'm trying to PXE boot 7.0-RELEASE, but it stops at a time. At boot I see the following on the screen: BIOS drive C: is disk0 BIOS drive D: is disk1 PXE version 2.1, real mode entry point @9188:0106 BIOS 517kB/3406144kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 ([EMAIL PROTECTED], date) pxe_open: server addr: 10.0.0.1 pxe_open: serve path: /wwwbladebsd/ pxe_open: gateway ip: 10.0.0.1 Consoles: internal video/keybaord BIOS drive C: is disk0 BIOS drive D: is diskl BIOS 517kB/3406144kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 ([EMAIL PROTECTED], date) Can't work out which disk we are booting from. Guessed BIOS device 0x not found by probes, defaulting to disk0 can't loader 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK lsdev cd devices: disk devices: disk0: BIOS drive C: disk1: BIOS drive D: pxe devices: on the server I see t serving pxeboot via tftp, and mounting the root via NFS: Jun 6 11:38:22 nfs dhcpd: DHCPDISCOVER from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:22 nfs dhcpd: DHCPOFFER on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:24 nfs dhcpd: DHCPREQUEST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:24 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:24 nfs atftpd[2221]: Serving /bsd/pxeboot to 10.0.0.32:2070 Jun 6 11:38:24 nfs atftpd[]: Serving /bsd/pxeboot to 10.0.0.32:2071 Jun 6 11:38:25 nfs dhcpd: DHCPDISCOVER from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs dhcpd: DHCPOFFER on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs dhcpd: DHCPREQUEST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs mountd[2120]: authenticated mount
Re: Pxeboot via tftp problem
Hi thanks for your attention but I wrote in my last mail that when acpi.ko isn`t in the folder ,it echo error message : ACPI autoload failed - no such file or directory cheers, mohamad Try removing the acpi.ko module, or unload it from the loader's (OK) prompt OK unload OK boot /boot/kernel/kernel cheers, Ruben On Sat, May 10, 2008 at 12:12:05AM -0700, mohammad khatibi typed: Hi, I`m new to freebsd.and?I`m using freebsd 7.0? I want to load my diskless systems through pxeboot in the network so?follow the instruction that mentioned in the mail about 2 weeks ago http://www.ultradesic.com/?section=144 instruction as follow: 1.compiling pxeboot and loader using? ?LOADER_TFTP_SUPPORT=YES 2.compiling kernel with necessary options 3.copy pxeboot,loader,kernel in /tftpboot/ 4.configure dhcp , all above steps finished successfuly and each client system get IP and dhcp client information correctly and just after it loads primary services and echo the message that said kernel will load in 10 seconds and after timeout, system hangs up and nothing happend. system echo following message at the end : /boot/kernel/kernel?? text=0x37fdd8??? data=0x81340+0x1460c syms=[0x4+0x3da60+0x4+0x51d1a] Hit [Enter] to boot immediatelly, or any other key for command prompt. Booting [/boot/kernel/kernel] ... /boot/kernel/acpi.ko text=0x500ef data= 0x81340+0x1460c?? syms=[0x4+0x3da60+0x4+0x51d1a] | and in this step system hangs up please help me to solve this problem before this error (that?I solved): after the timeout it echo the error message that said ACPI autoload failed that I copy acpi.ko in the folder (/tftpboot/boot/kernel/) and this error gone my /tftpboot/ contains 4 files and 2 folder: /tftpboot/pxeboot /tftpboot/boot/loader /tftpboot/boot/kernel/kernel /tftpboot/boot/kernel/acpi.ko Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Pxeboot via tftp problem
Hi, I`m new to freebsd.and I`m using freebsd 7.0 I want to load my diskless systems through pxeboot in the network so follow the instruction that mentioned in the mail about 2 weeks ago http://www.ultradesic.com/?section=144 instruction as follow: 1.compiling pxeboot and loader using LOADER_TFTP_SUPPORT=YES 2.compiling kernel with necessary options 3.copy pxeboot,loader,kernel in /tftpboot/ 4.configure dhcp , all above steps finished successfuly and each client system get IP and dhcp client information correctly and just after it loads primary services and echo the message that said kernel will load in 10 seconds and after timeout, system hangs up and nothing happend. system echo following message at the end : /boot/kernel/kernel text=0x37fdd8 data=0x81340+0x1460c syms=[0x4+0x3da60+0x4+0x51d1a] Hit [Enter] to boot immediatelly, or any other key for command prompt. Booting [/boot/kernel/kernel] ... /boot/kernel/acpi.ko text=0x500ef data= 0x81340+0x1460c syms=[0x4+0x3da60+0x4+0x51d1a] | and in this step system hangs up please help me to solve this problem before this error (that I solved): after the timeout it echo the error message that said ACPI autoload failed that I copy acpi.ko in the folder (/tftpboot/boot/kernel/) and this error gone my /tftpboot/ contains 4 files and 2 folder: /tftpboot/pxeboot /tftpboot/boot/loader /tftpboot/boot/kernel/kernel /tftpboot/boot/kernel/acpi.ko Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]