[Bug 70721] Re: DHCP Negotiation Timeout

2007-01-04 Thread William Oakley
Colin

Thank you for the pointer.  I have played around with the settings and
found that this works in order to automate as much as possible:

append initrd=ubuntu/x86-ui/initrd.gz ramdisk_size=20480 root=/dev/rd/0
devfs=mount,dall rw debconf/priority=critical languagechooser/language-
name=English netcfg/choose_interface=eth0 netcfg/dhcp_timeout=60
preseed/url=http://xxx/x.cfg --

Many thanks, this issue is now closed.

kind regards

- William

-- 
DHCP Negotiation Timeout
https://launchpad.net/bugs/70721

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 73647] Re: bnx2 module not in netboot initrd image for network installs

2007-01-03 Thread William Oakley
I have also checked the linux-source-2.6.15_2.6.15-23.39_all.deb package
and the bnx2.c and bnx2.h c files are there in the source.

Hence, all that is required is a configuration file for the netboot
kernel.

-- 
Broadcom NetXtreme II BCM5708 not detected on install
https://launchpad.net/bugs/73647

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 73647] Re: bnx2 module not in netboot initrd image for network installs

2007-01-03 Thread William Oakley
Obviously, this is related to the latest dapper netboot image which I
could find:

http://archive.ubuntu.com/ubuntu/dists/dapper/main/installer-i386/current/images/netboot/

kind regards

- William

-- 
Broadcom NetXtreme II BCM5708 not detected on install
https://launchpad.net/bugs/73647

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 73647] Re: bnx2 module not in netboot initrd image for network installs

2007-01-03 Thread William Oakley
Hi Kyle

We want to install Ubuntu over the network onto the IBM x3550 which
requires the bnx2 drivers. These drivers are not available in the 6.06
LTS netboot image.

Hence, I am looking for a way of including the bnx2 kernel module in the
netboot initrd.gz. I would expect that this module would either:

- be built already and available through some other package which I have
not yet found

or

- possible to build using the 2.6.15 kernel source using a specific
kernel configuration file which I also have not yet found.

I would dearly appreciate any direction on this matter.

-- 
Broadcom NetXtreme II BCM5708 not detected on install
https://launchpad.net/bugs/73647

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 70899] %post scripting section - issues running apt-get install

2006-11-08 Thread William Oakley
Public bug reported:

Hi

We have noticed that only packages from the main and restricted
repositories can be used in the kickseed configuration file.  There are
some packages which we'd like to install from the universe repository.

We have tried to perform this installation under the %post section as
follows:

===
%post

# setup package list
INSTALL='scsiadd afio ccmalloc dump fileutils flip ksymoops mingetty 
modconf ncompress nscd quotatool scsitools sendmail-bin sysstat tcpslice 
tmpreaper xfree86-common libcgi-perl libnetaddr-ip-perl'

# edit sources.list
cat EOF  /etc/apt/sources.list
deb http://xxx.xxx.xxx.xxx/ubuntu dapper main restricted universe
deb http://xxx.xxx.xxx.xxx/ubuntu dapper-updates main restricted universe
deb http://xxx.xxx.xxx.xxx/ubuntu dapper-security main restricted universe
EOF

# customise installed packaging
apt-get update  /root/update.output
sleep 1

# ensure that proc is mounted as may be needed
mount -t proc none /proc

# added in an attempt to resolve locale errors which occur on pkg 
installation
locale-gen en_GB
dpkg-reconfigure locales
sleep 2

for PKG in $INSTALL; do
apt-get -yf install $PKG  /root/$PKG.output
sleep 1
done

apt-get -yf install

===


The output which we see from the installation attempt is something like this:

===
Reading package lists...
Building dependency tree...
Recommended packages:
  tk8.4 wish
The following NEW packages will be installed:
  scsitools
0 upgraded, 1 newly installed, 0 to remove and 48 not upgraded.
1 not fully installed or removed.
Need to get 116kB of archives.
After unpacking 451kB of additional disk space will be used.
Get:1 http://192.168.10.1 dapper/universe scsitools 0.8-2 [116kB]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = C.UTF-8
are supported and installed on your system.
perl: warning: Falling back to the standard locale (C).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
debconf: unable to initialize frontend: Newt
debconf: (Can't locate Debconf/FrontEnd/Newt.pm in @INC (@INC contains: /etc/per
l /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/shar
e/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (ev
al 20) line 2,  line 1.)
debconf: falling back to frontend: Noninteractive
Preconfiguring packages ...
/usr/share/debconf/confmodule: line 42: 3: Bad file descriptor
===


As you can see there are a number of locale errors which we attempted to fix by 
running dpkg-reconfigure locales prior to installing extra packages.

And some packages (eg. scsitools, sysstat) stop during installation
where they're trying to run a config script eg.
/tmp/scsitools.config.227851 for scsitools:

===
#!/bin/sh -e

# Source debconf library.
. /usr/share/debconf/confmodule

[ $2 ] || db_input low scsitools/info || true
db_go
===

This hangs the entire post-install kickseed script even though the
package can be installed with 'apt-get -y install ' with no user
interaction.

We'd really appreciate any help you can give with regard to this if it
is not in fact a bug.

Kind regards

- William Oakley

** Affects: kickseed (Ubuntu)
 Importance: Undecided
 Status: Unconfirmed

-- 
%post scripting section - issues running apt-get install
https://launchpad.net/bugs/70899

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 70721] DHCP Negotiation Timeout

2006-11-07 Thread William Oakley
Public bug reported:

Binary package hint: netcfg

Hi

We are testing the Ubuntu Installer as a method for deploying Ubuntu in
our European Datacentres.  During testing we have noticed that in the
majority of cases dhcp negotiation times out and it is necessary to
attempt negotiation again for it to succeed.

Would it be possible to extend this timeout?

kind regards

- William

** Affects: netcfg (Ubuntu)
 Importance: Undecided
 Status: Unconfirmed

-- 
DHCP Negotiation Timeout
https://launchpad.net/bugs/70721

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 70721] Re: DHCP Negotiation Timeout

2006-11-07 Thread William Oakley
We are using the kickseed configuration file method for installation.

We have tried fixing the speed and duplex of the switch port and setting
it as auto.  This has the same result, ie. failure on first attempt and
success on second attempt of network autoconfiguration.  As far as I can
tell, this step occurs prior to downloading the kickseed file and hence
we cannot fix the interfaces until the dhcp address has been obtained.

The reason that this would be important to us is to create a fully
automated installation with no interaction required.

We appreciate any assistance you can give us with this issue.

-- 
DHCP Negotiation Timeout
https://launchpad.net/bugs/70721

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 70721] Re: DHCP Negotiation Timeout

2006-11-07 Thread William Oakley
The following is output from virtual terminal 4 as the Ubuntu Installer
starts up and attempts to autonegotiate:

Jun 11 18:51:47 net/hw-detect.hotplug: Detected hotpluggable network interface 
eth0
Jun 11 18:51:47 net/hw-detect.hotplug: Detected hotpluggable network interface 
eth1
Jun 11 18:51:47 net/hw-detect.hotplug: Detected hotpluggable network interface 
lo
Jun 11 18:51:48 netcfg[4337]: INFO: eth0 is disconnected. (MII)
Jun 11 18:51:48 netcfg[4337]: INFO: eth0 is not a wireless interface. 
Continuing.
Jun 11 18:51:49 netcfg[4337]: INFO: eth1 is disconnected. (MII)
Jun 11 18:51:49 netcfg[4337]: INFO: eth1 is not a wireless interface. 
Continuing.
Jun 11 18:51:49 kernel: [17179585.336000] NET: Registered protocol family 17
Jun 11 18:51:49 dhclient: Internet Software Consortium DHCP Client 2.0pl5
Jun 11 18:51:49 dhclient: Copyright 1995, 1996, 1997, 1998, 1999 The Internet 
Software Consortium.
Jun 11 18:51:49 dhclient: All rights reserved.
Jun 11 18:51:49 dhclient:
Jun 11 18:51:49 dhclient: Please contribute if you find this software useful.
Jun 11 18:51:49 dhclient: For info, please visit 
http://www.isc.org/dhcp-contrib.html
Jun 11 18:51:49 dhclient:
Jun 11 18:51:49 netcfg: Internet Software Consortium DHCP Client 2.0pl5
Jun 11 18:51:49 netcfg: Copyright 1995, 1996, 1997, 1998, 1999 The Internet 
Software Consortium.
Jun 11 18:51:49 netcfg: All rights reserved.
Jun 11 18:51:49 netcfg: Please contribute if you find this software useful.
Jun 11 18:51:49 netcfg: For info, please visit 
http://www.isc.org/dhcp-contrib.html
Jun 11 18:51:50 dhclient: Listening on LPF/eth0/00:14:5e:1c:79:32
Jun 11 18:51:50 dhclient: Sending on   LPF/eth0/00:14:5e:1c:79:32
Jun 11 18:51:50 dhclient: Sending on   Socket/fallback/fallback-net
Jun 11 18:51:50 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 
interval 5
Jun 11 18:51:50 netcfg: Listening on LPF/eth0/00:14:5e:1c:79:32
Jun 11 18:51:50 netcfg: Sending on   LPF/eth0/00:14:5e:1c:79:32
Jun 11 18:51:50 netcfg: Sending on   Socket/fallback/fallback-net
Jun 11 18:51:50 netcfg: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 
interval 5
Jun 11 18:51:51 kernel: [17179587.636000] tg3: eth0: Link is up at 100 Mbps, 
half duplex.
Jun 11 18:51:51 kernel: [17179587.636000] tg3: eth0: Flow control is off for TX 
and off for RX.
Jun 11 18:51:55 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 
interval 9
Jun 11 18:51:55 netcfg: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 
interval 9
Jun 11 18:52:04 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 
interval 12
Jun 11 18:52:04 netcfg: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 
interval 12
Jun 11 18:52:16 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 
interval 12
Jun 11 18:52:16 netcfg: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 
interval 12
Jun 11 18:52:17 dhclient: DHCPOFFER from 192.168.10.1
Jun 11 18:52:17 netcfg: DHCPOFFER from 192.168.10.1
Jun 11 18:52:19 dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Jun 11 18:52:19 netcfg: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Jun 11 18:52:19 dhclient: DHCPACK from 192.168.10.1
Jun 11 18:52:19 netcfg: DHCPACK from 192.168.10.1
Jun 11 18:52:19 dhclient: bound to 192.168.10.232 -- renewal in 1800 seconds.
Jun 11 18:52:19 netcfg: bound to 192.168.10.232 -- renewal in 1800 seconds.

This clearly shows that netcfg/dhclient obtain an address.  However, on
virtual terminal one, the installation stops and shows the message:

Network autoconfiguration failed
Your network is probably not using the DHCP protocol.  Alternatively, the DHCP 
server may be slow or some network hardware is not working properly.


** Description changed:

  Binary package hint: netcfg
  
  Hi
  
  We are testing the Ubuntu Installer as a method for deploying Ubuntu in
  our European Datacentres.  During testing we have noticed that in the
  majority of cases dhcp negotiation times out and it is necessary to
  attempt negotiation again for it to succeed.
  
+ Also, using the kickseed installer the system polls for a dhcp address
+ twice - once on boot up and secondly after obtaining the kickseed
+ configuration file.
+ 
  Would it be possible to extend this timeout?
  
  kind regards
  
  - William

-- 
DHCP Negotiation Timeout
https://launchpad.net/bugs/70721

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 48311] Re: kickstart partitioning fails with --recommended or --asprimary

2006-11-01 Thread William Oakley
Colin

Is the kickstart method of installing still being developed?  If so, I'd
be intertested in finding out what the next developments are likely to
be.

I look forward to talking further with you.

kind regards

- William

-- 
kickstart partitioning fails with --recommended or --asprimary
https://launchpad.net/bugs/48311

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 52122] Re: Need to able specify ethX interface to get KS or PRESEED file

2006-11-01 Thread William Oakley
Hi Rudolf

Assuming that you are pxe booting your Ubuntu installation over the
network, have you tried applying the debian installer appends to the
booting ubuntu kernel?

eg.

My d-i install entry for pxelinux:

label debian
  kernel d-i/2.6/linux
append console=tty0 initrd=d-i/2.6/initrd.gz ramdisk_size=20480 
root=/dev/rd/0 devfs=mount,dall rw DEBCONF_PRIORITY=critical 
preseed/url=http:///di.cfg languagechooser/language-name=English 
netcfg/choose_interface=eth0 --


Hence my ubuntu entry for pxelinux:

label ubuntu
  kernel ubuntu/ks/linux
append ks=http://x/ubuntu.cfg vga=normal initrd=ubuntu/ks/initrd.gz 
ramdisk_size=16432 root=/dev/rd/0 rw console=tty0 netcfg/choose_interface=eth2 
--

I haven't tried it, but thought it might work for you

kind regards

- William

-- 
Need to able specify ethX interface to get KS or PRESEED file
https://launchpad.net/bugs/52122

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 48311] Re: kickstart partitioning fails with --recommended or --asprimary

2006-10-18 Thread William Oakley
Hello Matt and Colin

We are assessing Ubuntu Server 6.06 LTS (32 and 64bit) for use as a low
cost Linux web hosting platform in our Datacentres across Europe.

Having used the Debian Installer for installing Debian for some time
now, we were keen to try out the Ubuntu kickstart install as a
replacement.  Debian has been a popular choice for many of our customers
over Redhat for a number of reasons and we feel that Ubuntu can trump
that.  However, like Matt, we have noted some issues with this in
relation to partitioning.

We have noted the following results so far:

1. When using the following config for partitioning:

# disk config
zerombr yes
clearpart --all --initlabel
bootloader --location=mbr
part / --fstype=ext3 --size=8192 --asprimary
part swap --size=512 --grow --maxsize=2048 --asprimary
part /var --fstype=ext3 --size=6000 --grow --asprimary

This produces an installed system which is partitioned as follows:

[EMAIL PROTECTED]:~# fdisk -l /dev/hda

Disk /dev/hda: 40.0 GB, 40016019456 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   1 996 8000338+  83  Linux
/dev/hda2 9971058  498015   82  Linux swap / Solaris
/dev/hda31059486530579727+   5  Extended
/dev/hda51059486530579696   83  Linux

[EMAIL PROTECTED]:~# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/hda1 7.6G  485M  6.7G   7% /
varrun125M   48K  125M   1% /var/run
varlock   125M 0  125M   0% /var/lock
udev  125M   40K  125M   1% /dev
devshm125M 0  125M   0% /dev/shm
lrm   125M   18M  107M  15% /lib/modules/2.6.15-27-686/volatile
/dev/hda5  29G  266M   27G   1% /var

[EMAIL PROTECTED]:~# mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
varrun on /var/run type tmpfs (rw)
varlock on /var/lock type tmpfs (rw)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
devshm on /dev/shm type tmpfs (rw)
lrm on /lib/modules/2.6.15-27-686/volatile type tmpfs (rw)
/dev/hda5 on /var type ext3 (rw)

Hence, the system has not followed our request to partition /var as a
primary partition.  But it has for / and swap partitions.

2. When using the following config for partitioning:

# disk config
zerombr yes
clearpart --all --initlabel
bootloader --location=mbr
part / --fstype ext3 --size 8192
part swap --size 2048
part /var --fstype ext3 --size 1 --grow

This produces an installed system which is partitioned as follows:

[EMAIL PROTECTED]:~# fdisk -l /dev/sda

Disk /dev/sda: 36.2 GB, 36270243840 bytes
255 heads, 63 sectors/track, 4409 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   14409354152615  Extended
/dev/sda5   1 996 8000307   83  Linux
/dev/sda6 9971245 261   82  Linux swap / Solaris
/dev/sda71246440925414798+  83  Linux

[EMAIL PROTECTED]:~# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/sda5 7.6G  485M  6.7G   7% /
varrun   1013M   48K 1013M   1% /var/run
varlock  1013M 0 1013M   0% /var/lock
udev 1013M   68K 1013M   1% /dev
devshm   1013M 0 1013M   0% /dev/shm
lrm  1013M   18M  995M   2% /lib/modules/2.6.15-27-686/volatile
/dev/sda7  24G  266M   23G   2% /var

As you can see the Ubuntu kickstart leans towards a preference to place
all partitions on extended/logical partitions.

In addition, is it possible to use the include parameter within the
Ubuntu kickstart configuration file so that we can check for IDE vs SCSI
disks and create an appropriate partition configuration.  We have had to
do this with Redhat as otherwise we were noting that the Redhat
partitioner would attempt to use a second disk to span the partitioning;
hence, we have been specifying the actual disk to use for partitions
eg.:

part / --fstype=ext3 --size=8192 --asprimary --ondisk=sda
part swap --recommended --ondisk=sda
part /var --fstype=ext3 --size=6000 --grow --asprimary --ondisk=sda

We would definitely prefer to see better control of partitioning within
this installation method before moving to Ubuntu.  Have you any
suggestions about how we might resolve this partitioning issue without
resorting to some pre-install shell scripting?  Is there another
installation method which is better supported and regarded as the
preferred method of install?

kind regards

- William Oakley

-- 
kickstart partitioning fails with --recommended or --asprimary
https://launchpad.net/bugs/48311

-- 
ubuntu-bugs mailing

[Bug 48918] Re: shadow passwords not enabled (no rootpw)

2006-10-18 Thread William Oakley
Our user configuration for Kickstart is as follows:

# config section
auth  --useshadow  --enablemd5
rootpw --iscrypted xx
user nttuser --fullname  user --iscrypted --password 
xx

And we don't notice any problems with the creation of the shadow file.
Perhaps this is now fixed?

-- 
shadow passwords not enabled (no rootpw)
https://launchpad.net/bugs/48918

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs