Mailing List Archive

Cant boot xen on am64 with sata hard disk
Hi,

For two weeks I am trying to instal xen 2.0.6 on my machine(see below
details for my hardware),
but I can't boot xen: follow the error:

RAMDISK: ext2 filesystem found at block 0
RAMDISK: image too big! (8000Kib/4096 Kib)
ROOT-NFS: No NFS server available, giving up

Searching on list I found what the sata driver must be compiled into
kernel, I try to do a custom
XenLinux build, but doesn't work too.
I follow this steps:

3742 tar -zxvf /mnt/cvs/yoper/SOURCES/xen-2.0.6-src.tgz
3743 cd xen-2.0/
3744 ls -l
3745 rm -Rf freebsd-5.3-xen-sparse linux-2.4.30-xen-sparse
netbsd-2.0-xen-sparse
3746 ls -l
3747 mv ../linux-2.6.11.tar.bz2 .
3748 ls -l
3749 make world
3750 cd linux-2.6.11-xen0/
3751 make ARCH=xen menuconfig
3752 make ARCH=xen all
3753 cd ..
3754 make

On make ARCH=xen menuconfig seems there are few driver options to configure.
What I am doing wrong?

root@arwen ~ # cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 12
model name : AMD Athlon(tm) 64 Processor 3000+
stepping : 0
cpu MHz : 2003.402
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm
3dnowext 3dnow
bogomips : 3956.73


root@arwen ~ # lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host
Bridge (rev 01)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800 South]
00:0a.0 Ethernet controller: Marvell Technology Group Ltd. Yukon Gigabit
Ethernet 10/100/1000Base-T Adapter (rev 13)
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID
Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX
5200] (rev a1)



abraços,

Marlon
Re: Cant boot xen on am64 with sata hard disk [ In reply to ]
> 3742 tar -zxvf /mnt/cvs/yoper/SOURCES/xen-2.0.6-src.tgz
> 3743 cd xen-2.0/
> 3744 ls -l
> 3745 rm -Rf freebsd-5.3-xen-sparse linux-2.4.30-xen-sparse
> netbsd-2.0-xen-sparse
> 3746 ls -l
> 3747 mv ../linux-2.6.11.tar.bz2 .
> 3748 ls -l
> 3749 make world
> 3750 cd linux-2.6.11-xen0/
> 3751 make ARCH=xen menuconfig
> 3752 make ARCH=xen all
> 3753 cd ..
> 3754 make
>
Wow :-)

I just did "make world" on 3745 - it did not build free/netbsd or linux-2.4.
Maybe I am wrong, tho. However, 315[12] and the rest look ok and should work.

> On make ARCH=xen menuconfig seems there are few driver options to configure.
> What I am doing wrong?

That is because when you do a menuconfig yourself, the config is setup for a
xenU kernel, thus real hardware support is disabled. The drawback(s) are
that you'd have to enable real hardware support, *and* support for PCI,
some other things that are very very fundamental and so on.
I f***ed it up myself this way, asked on this list ;-) so it is most likely
you want your .config -file to be a copy of a xen0 preconfigured config
file. These are, iirc, in xen-2.0.6-stable/xen/arch/.... something.
Sorry I don't remember. Go to the xen/ subdir and type:
$ find . -name \*xen0\*
or
$ find . -name \*conf\*xen\*

I think the names are like that. Then copy those to linux-2.6.XX-YY/
directory as a ".config" file. Maybe you must do a make ARCH=xen oldconfig,
never really got for what that target is for, anyway.

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
RE: Cant boot xen on am64 with sata hard disk [ In reply to ]
> For two weeks I am trying to instal xen 2.0.6 on my
> machine(see below details for my hardware), but I can't boot
> xen: follow the error:
>
> RAMDISK: ext2 filesystem found at block 0
> RAMDISK: image too big! (8000Kib/4096 Kib)
> ROOT-NFS: No NFS server available, giving up

Sounds like you need to tweak:

CONFIG_BLK_DEV_RAM_SIZE=8192

Ian

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: Cant boot xen on am64 with sata hard disk [ In reply to ]
sounds like that 'make ARCH=xen ....' don't let setup the drivers.

If I copy my personal .config to linux-2.6.11-xen0 directory and execute
a "make ARCH=xen oldconfig"
this option "ARCH=xen" modified my configuration to a new one without
drivers for my hardware.
What could be wrong?

Abraços,

Marlon



Ian Pratt escreveu:

>
>
>
>>For two weeks I am trying to instal xen 2.0.6 on my
>>machine(see below details for my hardware), but I can't boot
>>xen: follow the error:
>>
>>RAMDISK: ext2 filesystem found at block 0
>>RAMDISK: image too big! (8000Kib/4096 Kib)
>>ROOT-NFS: No NFS server available, giving up
>>
>>
>
>Sounds like you need to tweak:
>
> CONFIG_BLK_DEV_RAM_SIZE=8192
>
>Ian
>
>
>
>
Re: Cant boot xen on am64 with sata hard disk [ In reply to ]
On Mon, Jul 04, 2005 at 09:45:59PM -0300, Marlon wrote:
> sounds like that 'make ARCH=xen ....' don't let setup the drivers.
>
> If I copy my personal .config to linux-2.6.11-xen0 directory and execute
> a "make ARCH=xen oldconfig"
> this option "ARCH=xen" modified my configuration to a new one without
> drivers for my hardware.
> What could be wrong?

your personal .config file is for i386? Just guessing.

>
> Abraços,
>
> Marlon
>
>
>
> Ian Pratt escreveu:
>
> >
> >
> >
> >>For two weeks I am trying to instal xen 2.0.6 on my
> >>machine(see below details for my hardware), but I can't boot
> >>xen: follow the error:
> >>
> >>RAMDISK: ext2 filesystem found at block 0
> >>RAMDISK: image too big! (8000Kib/4096 Kib)
> >>ROOT-NFS: No NFS server available, giving up
> >>
> >>
> >
> >Sounds like you need to tweak:
> >
> >CONFIG_BLK_DEV_RAM_SIZE=8192
> >
> >Ian
> >
> >
> >
> >
>

> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: Cant boot xen on am64 with sata hard disk [ In reply to ]
> your personal .config file is for i386? Just guessing.

no. It's for x86_64.

Abraços,

Marlon




_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users