Re: lenny/amd64 nfsroot on etch/i386

2008-11-07 Diskussionsfäden Thomas Lange
 On Thu, 6 Nov 2008 20:40:28 +0100, Nikola Kne?evi? [EMAIL PROTECTED] 
 said:

 I first installed lenny/amd64 on a virtual machine, and copied the  
 setup from the main fai-server. Then, I changed dhcpd.conf to  
 advertise this VM as a fai-server. Further, I created another VM on my  
 laptop, to be the test-client. When I try to install lenny/amd64 on  
 this test-client using fai, kernel crashes during boot. Specifically,  
 it never installs, and during the boot process I get this message:
 List of all partitions:
 No filesystem could mount root, tried:
 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown  
 block (0,255)
Do you really boot the kernel and initrd which is used for fai?

If you have two dhcp servers in the same network, this may cause
problems.

block (0,255) is the pseudo device when you supply root=/dev/nfs. It
seems that this kernel does not know of this device.

-- 
regards Thomas


Re: lenny/amd64 nfsroot on etch/i386

2008-11-06 Diskussionsfäden Nikola Knežević

On 4 Nov 2008, at 17:36 , Thomas Lange wrote:


I'm running fai-server 3.2.12 on etch. I would like to create a NFS
root for lenny/amd64. Unfortunately, it fails every time. I've

What does uname -a say? Is this a 32 or 64bit kernel?
You need at least a 64bit kernel (the userspace may be 32bit) to
create a 64bit nfsroot on this machine.


Hi Thomas,

thank you for your prompt responses. Since I really need lenny, and I  
can't upgrade our current machine running fai-server, I decided to do  
something different.


I first installed lenny/amd64 on a virtual machine, and copied the  
setup from the main fai-server. Then, I changed dhcpd.conf to  
advertise this VM as a fai-server. Further, I created another VM on my  
laptop, to be the test-client. When I try to install lenny/amd64 on  
this test-client using fai, kernel crashes during boot. Specifically,  
it never installs, and during the boot process I get this message:

List of all partitions:
No filesystem could mount root, tried:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown  
block (0,255)



Can someone point me to the right direction? Where should I look to  
solve this issue?


Thanks,
Nikola


Re: lenny/amd64 nfsroot on etch/i386

2008-11-06 Diskussionsfäden Michael Tautschnig
 On 4 Nov 2008, at 17:36 , Thomas Lange wrote:

 I'm running fai-server 3.2.12 on etch. I would like to create a NFS
 root for lenny/amd64. Unfortunately, it fails every time. I've
 What does uname -a say? Is this a 32 or 64bit kernel?
 You need at least a 64bit kernel (the userspace may be 32bit) to
 create a 64bit nfsroot on this machine.

 Hi Thomas,

 thank you for your prompt responses. Since I really need lenny, and I  
 can't upgrade our current machine running fai-server, I decided to do  
 something different.

 I first installed lenny/amd64 on a virtual machine, and copied the setup 
 from the main fai-server. Then, I changed dhcpd.conf to advertise this VM 
 as a fai-server. Further, I created another VM on my laptop, to be the 
 test-client. When I try to install lenny/amd64 on this test-client using 
 fai, kernel crashes during boot. Specifically, it never installs, and 
 during the boot process I get this message:
 List of all partitions:
 No filesystem could mount root, tried:
 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown  
 block (0,255)


I'd bet it tells you a lot more. Things you should look for:
- Is it booting the kernel you expect it to boot?
- Does it find the matching initramfs?
- If that is all fine, does it try to use the NFS server you'd expect it to use?

Best,
Michael



pgpJpGKSQFp7P.pgp
Description: PGP signature


lenny/amd64 nfsroot on etch/i386

2008-11-04 Diskussionsfäden Nikola Knežević

Hi,

I'm running fai-server 3.2.12 on etch. I would like to create a NFS  
root for lenny/amd64. Unfortunately, it fails every time. I've  
created /etc/fai/apt_arch.conf and /etc/fai/apt.conf both containing:

APT {
Architecture amd64;
}

Also, my make-fai-nfsroot.conf has this:
FAI_DEBOOTSTRAP=lenny ftp://mirror.switch.ch/mirror/debian/ --arch  
amd64


In the logs I see that fai is trying to install/fetch i386 packages,  
because my NFSROOT has this:

PACKAGES aptitude I386
grub lilo read-edid
linux-image-2.6 unionfs-modules-2.6-486

PACKAGES aptitude AMD64
grub lilo
linux-image-2.6-amd64 unionfs-modules-2.6-amd64

But the log shows this:
linux-image-2.6 is a virtual package provided by:
  linux-image-2.6.25.17-fai-client linux-image-2.6.26-1-xen-686
  linux-image-2.6.26-1-vserver-686-bigmem linux-image-2.6.26-1- 
vserver-686

  linux-image-2.6.26-1-openvz-686 linux-image-2.6.26-1-amd64
  linux-image-2.6.26-1-686-bigmem linux-image-2.6.26-1-686
  linux-image-2.6.26-1-486

What am I missing, or doing wrong?

Cheers,
Nikola