Re: [Unattended] lot of problems with unattended-4.8 and CVS ...

2008-04-07 Thread Matt Hyclak
On Mon, Apr 07, 2008 at 03:09:04PM +0200, Regis Gras enlightened us:
 I complided CVS and unattended-4.8 on CentOS 5
 glib glibc-2.5-18.el5_1.1
 kernel kernel-2.6.18-8.el5
 gcc gcc-4.1.2-14.el5
 The ntinstall server is samba-3.0.24
 
 In CVS and unattended, I downloaded glibc-2.5 and I used linux-2.6.24.4
 
 On both, the network driver does'nt work
 The computer freezes with the message:
 *** Now that we have loaded the modules (maybe) let's try DHCP ...
*** Trying DHCP on eth0
udhcpc (v1.9.2) started
:00:19.0 :eth0 Unable to allocate MSI Interrupt Error -1
Sending Discover
:00:19.0 :eth0: Link is up 100 Mbps Full Duplex Flow Control: RX/TX
:00:19.0 :eth0: 10/100 speed: disabling TSO
   
 
 As suggered by Matt Hyclak, I testded on DEll Optiplex 755 with Bios 
 release A4 and A8
 Both does'nt work
 
 I tried cvs and unattended 4-8 on an other older computer.
 Network is OK, but ... samba does'nt work
 Failed to mount /z
 
 With unattended-4.7 the smbmount works 
 I tried to recompile with samba-3.0.20. Same problem, impossible to mount Z/
 
 I saw in the release notes,  use cifs instead of smbfs
 What have I to change in the server ntinstal ?
 
 I saw that some people compile cvs ans unattended-4.8 without problem ...
 Could you tell me what  configuration you are using for your server 
 ntinstall
 and what configuration you are using to compile cvs and unattended-4.8
 
 

I'm also compiling on CentOS 5, same versions you listed above with the
exception of a newer kernel (kernel-2.6.18-53.1.4.el5.i686).

With the change to cifs rather than smbmount, I had to fix the boot CD to be
able to find my server. All DHCP clients on my network get a search path of
cns.ohiou.edu (since that's the group that manages DHCP), but my server is
ntinstall.math.ohiou.edu. Referencing //ntinstall/install worked fine when
using smbmount - IIRC because it will do a broadcast NETBIOS to find the
machine - but cifs failed. I fixed this by including an /etc/hosts file on
my boot disk that lists the proper IP for ntinstall.

I'm not sure what's going on with your 755. I've got 8 of them, and the
couple I've tested the new CD on have worked fine, and the 6 I deployed with
4.7 upgraded to 2.6.23.3 also worked just fine. Might be one for the Linux
lists at Dell?

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] lot of problems with unattended-4.8 and CVS ...

2008-04-07 Thread Matt Hyclak
On Mon, Apr 07, 2008 at 03:41:54PM +0200, Regis Gras enlightened us:
 Matt Hyclak wrote:
 
 
 I'm also compiling on CentOS 5, same versions you listed above with the
 exception of a newer kernel (kernel-2.6.18-53.1.4.el5.i686).
  
 
 
 OK, I'll yum update my server and recompile CVS and unattended
 
 With the change to cifs rather than smbmount, I had to fix the boot CD to 
 be
 able to find my server. All DHCP clients on my network get a search path of
 cns.ohiou.edu (since that's the group that manages DHCP), but my server 
 is
 ntinstall.math.ohiou.edu. Referencing //ntinstall/install worked fine when
 using smbmount - IIRC because it will do a broadcast NETBIOS to find the
 machine - but cifs failed. I fixed this by including an /etc/hosts file on
 my boot disk that lists the proper IP for ntinstall.
  
 
 I wish to fix the mount cif problem
 You said I fixed this by including an /etc/hosts file on
my boot disk that lists the proper IP for 
 ntinstall.
 How did you do that ?
 I suppose that the problem is the same with the boot CD and with the Pxe 
 boot
 
 Régis

With the attached patch. Just put a hosts file in linuxboot/misc/ and it
will be copied to the boot disk (likewise the ramdisk for pxe boot).

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263
Index: Makefile
===
RCS file: /cvsroot/unattended/unattended/linuxboot/Makefile,v
retrieving revision 1.181
diff -u -r1.181 Makefile
--- Makefile4 Apr 2008 10:46:58 -   1.181
+++ Makefile4 Apr 2008 19:24:41 -
@@ -765,6 +766,8 @@
 
 $(call copy_file,misc/master,stage1/etc/master)
 
+$(call copy_file,misc/hosts,stage1/etc/hosts)
+
 $(call copy_file,misc/modprobe.conf,stage1/etc/modprobe.conf)
 
 $(call copy_file,misc/module-order.txt,stage1/etc/module-order.txt)
@@ -794,7 +797,7 @@
stage1/bin/find-modules-pci \
stage1/bin/make-blkdev-nodes stage1/etc/extra.pcimap\
stage1/etc/master stage1/etc/modprobe.conf  \
-   stage1/etc/module-order.txt \
+   stage1/etc/module-order.txt stage1/etc/hosts\
stage1/etc/udhcpc-script stage1/etc/nsswitch.conf   \
stage1/etc/passwd stage1/usr/lib/freedos-mbr.bin\
stage1/usr/lib/ntldrbin/ntldr_boot_code_install \
Index: misc/nail-floppy.txt
===
RCS file: /cvsroot/unattended/unattended/linuxboot/misc/nail-floppy.txt,v
retrieving revision 1.52
diff -u -r1.52 nail-floppy.txt
--- misc/nail-floppy.txt28 Mar 2008 08:45:36 -  1.52
+++ misc/nail-floppy.txt4 Apr 2008 19:24:41 -
@@ -17,6 +17,7 @@
 
 etc/extra.pcimap
 etc/ld.so.cache
+etc/hosts
 etc/master
 etc/version
 
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] lot of problems with unattended-4.8 and CVS ...

2008-04-07 Thread Regis Gras
Matt Hyclak wrote:


I wish to fix the mount cif problem
You said I fixed this by including an /etc/hosts file on
   my boot disk that lists the proper IP for 
ntinstall.
How did you do that ?
I suppose that the problem is the same with the boot CD and with the Pxe 
boot

Régis



With the attached patch. Just put a hosts file in linuxboot/misc/ and it
will be copied to the boot disk (likewise the ramdisk for pxe boot).

Matt

  

I am sorry, but I do'nt understand the use of pach
I tried to copy your file in my cvs directory and execute the command

patch -p0  ../unattend_hosts.diff
can't find file to patch at input line 8
Perhaps you used the wrong -p or --strip option?


It is sufficient to write a file etc/hosts in linuxboot/misc   ??

Régis


-- 
==
| Régis Gras | http://dcm.ujf-grenoble.fr|
|   D.C.M.   | mailto:[EMAIL PROTECTED] |
| 301, rue de la chimie  | --|
| DU BP 53   | Tel 04 76 51 41 76|
| 38041 Grenoble Cedex 9 | Fax 04 76 51 40 89|
==


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] lot of problems with unattended-4.8 and CVS ...

2008-04-07 Thread Regis Gras
Matt Hyclak wrote:




Try -p0 from the linuxboot directory. Or if you're comfortable, just read
the patch - you only have to add a couple of things in.
  

I tried patch -p0  but il does'nt works, perhaps I was not in the 
good tree

Anyway, I read your patch and I found one thing
I modified linuxboot/Makefile, by adding

$(call copy_file,misc/master,stage1/etc/master)

# Modif

$(call copy_file,misc/hosts,stage1/etc/hosts)

And I put a hosts file in .../linuxboot/misc/host
(ntinstall152.77 . the ip adress of the ntinstall server)


It is sufficient ?

I am compiling, but it's very long ...

Régis



-- 
==
| Régis Gras | http://dcm.ujf-grenoble.fr|
|   D.C.M.   | mailto:[EMAIL PROTECTED] |
| 301, rue de la chimie  | --|
| DU BP 53   | Tel 04 76 51 41 76|
| 38041 Grenoble Cedex 9 | Fax 04 76 51 40 89|
==


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] lot of problems with unattended-4.8 and CVS ...

2008-04-07 Thread Matt Hyclak
On Mon, Apr 07, 2008 at 06:01:19PM +0200, Regis Gras enlightened us:
 Matt Hyclak wrote:
 

 
 
 Try -p0 from the linuxboot directory. Or if you're comfortable, just read
 the patch - you only have to add a couple of things in.
  
 
 I tried patch -p0  but il does'nt works, perhaps I was not in the 
 good tree
 
 Anyway, I read your patch and I found one thing
 I modified linuxboot/Makefile, by adding
 
 $(call copy_file,misc/master,stage1/etc/master)
 
 # Modif
 
 $(call copy_file,misc/hosts,stage1/etc/hosts)
 
 And I put a hosts file in .../linuxboot/misc/host
 (ntinstall152.77 . the ip adress of the ntinstall server)
 
 
 It is sufficient ?
 

Almost, you need to add etc/hosts to the nail-floppy.txt file to make sure
it gets copied to the boot media.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] lot of problems with unattended-4.8 and CVS ...

2008-04-07 Thread Juan Jose Pablos
Matt Hyclak escribió:
 
 The file should just be linuxboot/misc/hosts, but you need my patch to get
 that file into stage1 so that it's copied to the boot media. Maybe if we ask
 nicely, Juan Jose will commit the change into CVS :-)
 

:-)

I saw both patches, but I think that this needs a bit more investigation 
on why it does not resolve properly.
if you check the documentation:
The Unattended server must be reachable with the name ntinstall.

http://unattended.sourceforge.net/step-by-step.php#step3

I would like to avoid people adding an ip address and required to 
compile the linuxboot.

1) you can overwrite the Z_PATH to \\x.x.x.x\install

2) you can add z_path to the pxelinux.cfg/default



-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] lot of problems with unattended-4.8 and CVS ...

2008-04-07 Thread Regis Gras
Juan Jose Pablos wrote:



1) you can overwrite the Z_PATH to \\x.x.x.x\install

2) you can add z_path to the pxelinux.cfg/default

  

Adding z_path to pxelinux.cfg/default is a good idea.

 append initrd=initrd z_path=\\152.77.14.26\install
It's work.  Thank you very much

Régis

-- 
==
| Régis Gras | http://dcm.ujf-grenoble.fr|
|   D.C.M.   | mailto:[EMAIL PROTECTED] |
| 301, rue de la chimie  | --|
| DU BP 53   | Tel 04 76 51 41 76|
| 38041 Grenoble Cedex 9 | Fax 04 76 51 40 89|
==


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] lot of problems with unattended-4.8 and CVS ...

2008-04-07 Thread Matt Hyclak
On Mon, Apr 07, 2008 at 06:28:05PM +0200, Juan Jose Pablos enlightened us:
 Matt Hyclak escribió:
  
  The file should just be linuxboot/misc/hosts, but you need my patch to get
  that file into stage1 so that it's copied to the boot media. Maybe if we ask
  nicely, Juan Jose will commit the change into CVS :-)
  
 
 :-)
 
 I saw both patches, but I think that this needs a bit more investigation 
 on why it does not resolve properly.
 if you check the documentation:
 The Unattended server must be reachable with the name ntinstall.
 
 http://unattended.sourceforge.net/step-by-step.php#step3
 
 I would like to avoid people adding an ip address and required to 
 compile the linuxboot.


An example of the reason I did this is here:

http://osdir.com/ml/linux.file-systems.cifs/2005-01/msg00016.html

The cifs client on Linux doesn't use NetBIOS (nor WINS, apparently) to
resolve names. It seems to rely strictly on DNS.

 1) you can overwrite the Z_PATH to \\x.x.x.x\install
 
 2) you can add z_path to the pxelinux.cfg/default
 

True, and I already do this, but I only put the short name in. My reason for
doing so is because I have 2 networks (one private, one public). The private
one resolves ntinstall to a private IP and can't always reach the public IP
during setup/install time.

I didn't think the hosts file was so invasive that putting it there (and the
sample hosts file I sent with the previous patch only had 127.0.0.1
defined), but left an option for folks who did recompile the boot disk.

In other words, my patch doesn't change default behavior, but makes it a
little easier to use a custom hosts file for those who want it.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] lot of problems with unattended-4.8 and CVS ...

2008-04-07 Thread Juan Jose Pablos
Matt Hyclak escribió:
 2) you can add z_path to the pxelinux.cfg/default

 
 True, and I already do this, but I only put the short name in. My reason for
 doing so is because I have 2 networks (one private, one public). The private
 one resolves ntinstall to a private IP and can't always reach the public IP
 during setup/install time.
 
 I didn't think the hosts file was so invasive that putting it there (and the
 sample hosts file I sent with the previous patch only had 127.0.0.1
 defined), but left an option for folks who did recompile the boot disk.
 
sorry, I do not understand this problem. if you define 
z_path=\\192.168.1.5\install

how this differs from having a host file:

localhost 127.0.0.1
ntinstall 192.168.1.5

your problem is a rare one, and do not see how having a host file could 
help others, if already there is a method that is cleaner and work fine

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] lot of problems with unattended-4.8 and CVS ...

2008-04-07 Thread Juan Jose Pablos
Matt Hyclak escribió:
 
 The cifs client on Linux doesn't use NetBIOS (nor WINS, apparently) to
 resolve names. It seems to rely strictly on DNS.
 

just for the record:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462803

This could be a way to resolved.


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info