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

Bug#359926: marked as done (initramfs-tools: diskless / nfsroot boot fails at nfsmount ... , works with mount -t nfs ...)



Your message dated Wed, 19 Jul 2006 07:32:06 -0700
with message-id <E1G3D5q-0007rW-Az@spohr.debian.org>
and subject line Bug#359926: fixed in initramfs-tools 0.70b
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: initramfs-tools
Version: 0.55b
Severity: important
Tags: patch

When booting a diskless Athlon64 system via NFS v3, the boot times out and fails to a busybox
at the nfsmount command in the script nfs.  The complaints it gives include 'short read 0 < 58'
and a complaint about no TCP response.  Changing the boot options (and checking that they are
actually the ones passed to nfsmount) to '-o udp,nolock,retrans=10' still locks at the same
spot with eventual read timeouts.

Changing one line the short script file 'nfs' to use 

mount -t nfs ...

instead of 

nfsmount .... 

Then update-initramfs -u, then copying the new initrd image to the right tftp boot directory solved the problem.  Normal 
operations resumed.  In fact I was able to include in the pxelinux config file the further commands NFSOPTS="-o 
nolock,udp,retrans=10,wsize=8192,rsize=8192" to get a dramatic performance benefit.

If there is interest in diskless booting with the initramfs tools, the 'nfsroot=auto' script needs fixing too as it puts in 
the IP address twice and the boot fails.  I had to put nfsroot=192.168.0.111:/my/path/to/root explicitly in the 
pxelinux.0/${macaddressinhexhere} setup file before I got it to work.  I have no idea why nfsmount didn't work, 
but I feel pretty sure the problem is bigger than simply the unavailability of the portmap daemon.

I'm actually using the diskless system now to file this report, to give folk confidence in can happen. My goal was to get 
as close to a 'vanilla' Debian system with as few speciality-diskless packages and option settings as possible running. 
With this little fix to the nfs script this diskless system is otherwise logically identical to a vanilla disk based one 
that has everything in a single partition with only nfs client compiled in as an 'extra'.  Next project, to add a little 
swapfile 'just in case' then, done!

Hope this helps.

Sincerely,

Harry Coin
Bettendorf, Iowa



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15diskless-a64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages initramfs-tools depends on:
ii  busybox                       1:1.01-4   Tiny utilities for small and embed
ii  cpio                          2.6-11     GNU cpio -- a program to manage ar
ii  klibc-utils                   1.2.4-1    small statically-linked utilities 
ii  udev                          0.087-2    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.70b

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:

initramfs-tools_0.70b.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.70b.dsc
initramfs-tools_0.70b.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.70b.tar.gz
initramfs-tools_0.70b_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.70b_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 359926@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@sternwelten.at> (supplier of updated initramfs-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 19 Jul 2006 16:00:47 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.70b
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@sternwelten.at>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 359926 367567
Changes: 
 initramfs-tools (0.70b) unstable; urgency=low
 .
   * Be more careful about vi dot files, removed.
     Thanks Frederik Schüler <fs@debian.org> for review.
 .
 initramfs-tools (0.70) unstable; urgency=low
 .
   * mkinitramfs: Don't include static kinit, nor gzip. They are the biggest
     klibc-utils binaries and we don't use them. Keep static gunzip, zcat and
     shared kinit for now.
 .
   * Reduce diff against 0.69ubuntu3:
     - hook-functions: Fix kernel typo.
     - hooks/kernelextras: Fix comment and add vga16fb too.
     - init: Whitespace cleanup, add one more quiet check.
     - mkinitramfs: Use check_minkver instead of dpkg itself. Whitespace
       cleanup and add quoting.
     - scripts/local: Whitespace cleanup and add a comment.
     - scripts/nfs: Use mount with nolock instead of nfsmount.
       (closes: 359926)
     - update-initramfs: Add quoting + whitespace fix.
     - changelog: for noise reduction add 0.69ubuntu{1,2,3}, all 0.40ubuntu*,
       0.36ubuntu1 and missing 0.29 + 0.28 entries.
     - initramfs-tools.install, initramfs-tools.postinst and
       initramfs-tools.preinst merge 0.69ubuntu3.
 .
   * break.txt, debian/NEWS, debian/changelog, debian/copyright,
     docs/example_hook, docs/example_hook_cpiogz, docs/example_script,
     hooks/lvm, hooks/md, init, initramfs-tools.8, initramfs.conf.5,
     mkinitramfs, mkinitramfs-kpkg, mkinitramfs-kpkg.8, mkinitramfs.8,
     scripts/functions, scripts/local-top/udev_helper, update-initramfs,
     update-initramfs.8: Cleanup trailing whitespace and non tabular indents.
 .
   * scripts/local-premount/resume: Use new resume bin from klibc-utils.
     Removes superflous stat and awk usage.
 .
   * debian/control: Depend against newer klibc-utils 1.4.11-1.
 .
   * hooks/md, scripts/local-top/md: Drop as mdadm > 2.5-1 features them.
     (closes: #367567)
Files: 
 18bd00f14e5b511a2eb53b92eba50113 625 utils optional initramfs-tools_0.70b.dsc
 648d0f801a0a271cbf5756d9ce62cef6 43063 utils optional initramfs-tools_0.70b.tar.gz
 6f9a34d173ce98e77fd29a574a6ccaf1 49334 utils optional initramfs-tools_0.70b_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEvj7k6n7So0GVSSARArc8AJoDeKEPM9t7IwtxVzZUF+OgK/dTCgCeMEMc
en4uiOig/Kptr/30s2yd0Rc=
=lynk
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: