Bug#334373: make-fai-nfsroot fails to set up /dev

2005-11-04 Thread Björn Torkelsson
Hi,

Can you please try the following patch? It assumes that udev is
installed in the nfsroot though.


Index: scripts/fai
===
--- scripts/fai	(revision 2980)
+++ scripts/fai	(working copy)
@@ -147,6 +147,9 @@
 	osname='Debian GNU/Linux'
 	if [ $DO_INIT_TASKS -eq 1 ]; then
 	grep -q '[[:space:]]sysfs' /proc/filesystems  mount -t sysfs sysfs /sys
+# Try to start udev if it is available
+[ -x /etc/init.d/udev ]  /etc/init.d/udev start
+
 	ifup lo
 	[ -x /sbin/portmap ]  /sbin/portmap
 	mount -t devpts devpts /dev/pts


Bug#334373: make-fai-nfsroot fails to set up /dev

2005-11-01 Thread David Golombek
I'm running into this same problem and thought I'd chime in.  I'm
running FAI 2.8.4 on i386.  I'm using debootstrap 0.3.2 which I'm sure
is the cause of the problem.  In the changelog entry for debootstrap
0.3.1, I see the comment:

 - devices.tar.gz reduced to minimal set of devices; frontends should
   setup udev or supply their own devices or similar in future

Sure enough, devices.tar.gz only contains:

 drwxr-xr-xroot/root  0 dev/
 crw-r-root/kmem  0 dev/kmem
 crw-r-root/kmem  0 dev/mem
 srwxr-xr-xroot/root  0 dev/core -- /proc/kcore
 crw-rw-rw-root/root  0 dev/null
 crw-r-root/kmem  0 dev/port
 crw-rw-rw-root/root  0 dev/zero
 srwxr-xr-xroot/root  0 dev/ram -- ram1
 crw-rw-rw-root/root  0 dev/full
 crw-rw-rw-root/root  0 dev/random
 cr--r--r--root/root  0 dev/urandom
 crw-rw-rw-root/tty   0 dev/tty
 brw-rwroot/disk  0 dev/ram0
 brw-rwroot/disk  0 dev/ram1
 brw-rwroot/disk  0 dev/ram2
 brw-rwroot/disk  0 dev/ram3
 brw-rwroot/disk  0 dev/ram4
 brw-rwroot/disk  0 dev/ram5
 brw-rwroot/disk  0 dev/ram6
 brw-rwroot/disk  0 dev/ram7
 brw-rwroot/disk  0 dev/ram8
 brw-rwroot/disk  0 dev/ram9
 brw-rwroot/disk  0 dev/ram10
 brw-rwroot/disk  0 dev/ram11
 brw-rwroot/disk  0 dev/ram12
 brw-rwroot/disk  0 dev/ram13
 brw-rwroot/disk  0 dev/ram14
 brw-rwroot/disk  0 dev/ram15
 brw-rwroot/disk  0 dev/ram16
 brw-rwroot/disk  0 dev/loop0
 brw-rwroot/disk  0 dev/loop1
 brw-rwroot/disk  0 dev/loop2
 brw-rwroot/disk  0 dev/loop3
 brw-rwroot/disk  0 dev/loop4
 brw-rwroot/disk  0 dev/loop5
 brw-rwroot/disk  0 dev/loop6
 brw-rwroot/disk  0 dev/loop7
 crw-rw-rw-root/tty   0 dev/ptmx

So make-nfs-bootstrap needs to run MAKEDEV manually perhaps?

Thanks,
Dave



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#334373: make-fai-nfsroot fails to set up /dev

2005-10-17 Thread martin f krafft
Package: fai
Severity: important
Version: 2.8.4

A call to make-fai-nfsroot yields an nfsroot which lacks /dev/hd*
devices:

master:/usr/local/lib/fai/nfsroot/dev# ls
MAKEDEV   dsp1 loop3  md13  md9 mixer ram0   ram3rmidi2 tty0
agpgart   dsp2 loop4  md14  mem mixer1  ram1   ram4rmidi3 
urandom
audio   dsp3 loop5  md15  midi0 mixer2  ram10  ram5sequencer  
xconsole
audio1full loop6  md2 midi00  mixer3  ram11  ram6shmzero
audio2initctl  loop7  md3 midi01  mpu401data  ram12  ram7smpte0
audio3kmem md0md4 midi02  mpu401stat  ram13  ram8smpte1
audioctl  logmd1md5 midi03  null  ram14  ram9smpte2
console   loop0md10   md6 midi1 port  ram15  random  smpte3
coreloop1md11   md7 midi2 pts ram16  rmidi0  sndstat
dsp   loop2md12   md8 midi3 ram ram2   rmidi1  tty

As a result, the nfsroot is unusable.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-amd64-k8
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

-- 
 .''`. martin f. krafft [EMAIL PROTECTED]
: :'  :proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
 
windows v.i.s.t.a.: viruses, infections, spyware, trojans and adware


signature.asc
Description: Digital signature (GPG/PGP)


Bug#334373: make-fai-nfsroot fails to set up /dev

2005-10-17 Thread Michael Tautschnig
[...]
 
 A call to make-fai-nfsroot yields an nfsroot which lacks /dev/hd*
 devices:
 
[...]

Sorry, but I can't reproduce that here (on my i386, though) - is anyone on the
devel-list able to reproduce this, maybe on an x86_64? 

Actually I don't know which package is responsible for setting up the devices,
but it might be debootstrap; make-fai-nfsroot itself does nothing whatsoever to 
set
them up...

Regards,
Michael



signature.asc
Description: Digital signature


Bug#334373: make-fai-nfsroot fails to set up /dev

2005-10-17 Thread Holger Levsen
Hi Martin,

On Monday 17 October 2005 17:04, martin f krafft wrote:
 A call to make-fai-nfsroot yields an nfsroot which lacks /dev/hd*
 devices:

with what sources lines and what version of debootstrap ?


regards,
Holger


pgpOjHili7xOl.pgp
Description: PGP signature


Bug#334373: make-fai-nfsroot fails to set up /dev

2005-10-17 Thread martin f krafft
also sprach Michael Tautschnig [EMAIL PROTECTED] [2005.10.17.1758 +0200]:
 Sorry, but I can't reproduce that here (on my i386, though) - is
 anyone on the devel-list able to reproduce this, maybe on an
 x86_64? 

the master is a regular i386, i only used amd64 to file the bug.

 Actually I don't know which package is responsible for setting up
 the devices, but it might be debootstrap; make-fai-nfsroot itself
 does nothing whatsoever to set them up...

i know, and please excuse me for going the easy user way through
fai due to my tendonitis.

-- 
 .''`. martin f. krafft [EMAIL PROTECTED]
: :'  :proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
 
a gourmet concerned about calories
is like a punter eyeing the clock.


signature.asc
Description: Digital signature (GPG/PGP)


Bug#334373: make-fai-nfsroot fails to set up /dev

2005-10-17 Thread Michael Tautschnig
[...]

 i know, and please excuse me for going the easy user way through
 fai due to my tendonitis.

Please check the contents of /usr/lib/debootstrap/devices.tar.gz - AFAIK
this is simply extracted by debootstrap...

To further investigate this issue, please rerun

debug=1 make-fai-nfsroot -v

and check/send its output.

Thanks,
Michael






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]