Your message dated Sat, 7 Oct 2006 15:11:12 +0200
with message-id <[EMAIL PROTECTED]>
and subject line (no subject)
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: fai
Version: 2.8.4
Severity: wishlist
Tags: patch
As of fai-2.8.4, the partitioning of hard disks fails if you use a devfs
enabled kernel while installing the client. However, the rest of the
installion works just fine with devfs (provided that you have devfsd
installed in your nfs root), which is why it would be nice to sort this
partitioning issue out.
As far as I have concluded, the problem is that the setup_harddisks Perl
script tries to parse the disk/partition names, assuming that they look
like sda3 or similar. However devfs kernels provide names like
scsi/host0/bus0/target1/lun0/part7, which setup_harddisks fails to
parse.
I've found that a little patch to the disk-info shell script can fix
this problem. The patch is attached.
Please send a follow-up if you think that my patch should be applied to
the package.
Yeah, we'll be upgrading to Linux-2.6 and udev soon, but I believe that
2.4 is still in widespread use. We don't use fai-kernels since it's
more comfortable to have just one kernel for both installing and
running.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.31
Versions of packages fai depends on:
pn debootstrap Not found.
pn nfs-server Not found.
ii perl [perl5] 5.8.7-4 Larry Wall's Practical Extraction
--- /data/nfs/fai/usr/lib/fai/disk-info 2005-05-25 14:01:06.000000000 +0200
+++ /data/nfs/fai/usr/lib/fai/disk-info-pepe 2005-11-07 17:04:02.000000000
+0100
@@ -6,6 +6,18 @@
local isdisk major minor blocks device suffix
while read major minor blocks device suffix; do
+
+ # Lange Namen für die Festplatten-Devices wegmachen (brauchen wir
+ # anscheinend bei devfs-Kerneln)
+ # --Pepe, Nov 7, 2005
+ if [[ "$device" == */* ]]
+ then
+ SHORT=$(find /dev/ -maxdepth 1 -lname "$device")
+ if [ -n "$SHORT" -a 1 -eq "$(echo "$SHORT" | wc --lines)" ]
+ then
+ device=${SHORT#/dev/}
+ fi
+ fi
+
isdisk=1
# skip ide cdrom
[ -f /proc/ide/$device/media ] && grep -q cdrom /proc/ide/$device/media
&& isdisk=0
--- End Message ---
--- Begin Message ---
devfs is now obsolete and removed from the Linux kernel 2.6.17. So I
close this bug.
--
regards Thomas
--- End Message ---