#1  
Old 15th April 2007, 15:07
teukka teukka is offline
Junior Member
 
Join Date: Apr 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xen problem

Hi

I installed Debian Etch (amd64 netinstall) from the beginning and then followed Falko's howto:

http://www.howtoforge.com/debian_sarge_xen_3.0.3

I have root partition on /dev/sda3 and I have grub on MBR. I use 3.0.4_1 xen, thats the newest one..

grub menu.lst look like this:

title Xen 3.0.3 / XenLinux 2.6
root (hd0,0)
kernel /xen.gz dom0_mem=262144
module /vmlinuz-2.6-xen root=/dev/sda3 ro max_loop=255
module /initrd.img-2.6.16.33-xen

I get this kernel panic when dom0 is trying to boot:

SCSI subsystem initialized
/bin/cat: /sys/block/sda/dev: no such file or directory
waiting 1 seconds for /sys/block/sda/dev to show up
/bin/cat: /sys/block/sda/dev: no such file or directory
waiting 2 seconds for /sys/block/sda/dev to show up
/bin/cat: /sys/block/sda/dev: no such file or directory
waiting 4 seconds for /sys/block/sda/dev to show up
/bin/cat: /sys/block/sda/dev: no such file or directory
waiting 8 seconds for /sys/block/sda/dev to show up
/bin/cat: /sys/block/sda/dev: no such file or directory
waiting 16 seconds for /sys/block/sda/dev to show up
Special files require major and minor device numbers.
Try '/bin/mknod --help' for more information.
/bin/cat: /sys/block/sda/sda3/dev: No such file or directory
Waiting 1 seconds for /sys/block/sda3/dev to show up
/bin/cat: /sys/block/sda/sda3/dev: No such file or directory
Waiting 2 seconds for /sys/block/sda3/dev to show up
/bin/cat: /sys/block/sda/sda3/dev: No such file or directory
Waiting 4 seconds for /sys/block/sda3/dev to show up
/bin/cat: /sys/block/sda/sda3/dev: No such file or directory
Waiting 8 seconds for /sys/block/sda3/dev to show up
/bin/cat: /sys/block/sda/sda3/dev: No such file or directory
Waiting 16 seconds for /sys/block/sda3/dev to show up
Device /sys/block/sda/sda3/dev seems to be down.
/bin/mknod: missing operand after 'b'
Special files require major and minor device numbers.
Try '/bin/mknod --help' for more information.
Mount: special device /dev/sda3 does not exist
Switching root ...
/usr/lib/yaird/exec/run_init: current directory on the same filesystem as the root: Success
Kernel panic - not syncing: Attempt to kill Init!


Any idea what Im doing wrong?

Last edited by teukka; 16th April 2007 at 13:54.
Reply With Quote
Sponsored Links
  #2  
Old 16th April 2007, 15:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Did you compile Xen from the sources, or did you use the Xen binaries?
I think there's some kernel module missing (maybe the SATA driver).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 16th April 2007, 15:16
teukka teukka is offline
Junior Member
 
Join Date: Apr 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Did you compile Xen from the sources, or did you use the Xen binaries?
I think there's some kernel module missing (maybe the SATA driver).
Hi

I compile it from the sources.. so I have to include some sata modules, how?

Found few related pages

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343042 (ide problem i know)
http://www.debian-administration.org...396#comment_38

I tried the first one but no luck, second page is not exactly the same problem (dom0 / domU)

Is there some way to use the newest kernel from kernel.org and then patch it with some xen patch and go like that way? or is that mandatory to do it like in your howto? im sure i need some other modules too, here is lspci if that tells some information?

00:01.0 PCI bridge: Broadcom HT1000 PCI/PCI-X bridge
00:02.0 Host bridge: Broadcom HT1000 Legacy South Bridge
00:02.1 IDE interface: Broadcom HT1000 Legacy IDE controller
00:02.2 ISA bridge: Broadcom HT1000 LPC Bridge
00:03.0 USB Controller: Broadcom HT1000 USB Controller (rev 01)
00:03.1 USB Controller: Broadcom HT1000 USB Controller (rev 01)
00:03.2 USB Controller: Broadcom HT1000 USB Controller (rev 01)
00:05.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:0d.0 PCI bridge: Broadcom HT1000 PCI/PCI-X bridge (rev b2)
01:0e.0 RAID bus controller: Broadcom BCM5785 (HT1000) SATA Native SATA Mode
02:01.0 PCI bridge: Intel Corporation 80331 [Lindsay] I/O processor (PCI-X Bridge) (rev 0a)
02:03.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 10)
02:03.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 10)
03:0e.0 RAID bus controller: Areca Technology Corp. ARC-1110 4-Port PCI-X to SATA RAID Controller


Im using areca as controller

EDIT:

and also i noticed that there is no more apt-setup (base-config) package and some other things has also changed on official etch release.. Hope Falko or someone else write new "the perfect setup for Debian etch + xen 3.0.4" howto that apply to etch and there is more debuggin on it!

thanks
Pekka

Last edited by teukka; 17th April 2007 at 08:53.
Reply With Quote
  #4  
Old 17th April 2007, 12:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by teukka
Hi

I compile it from the sources.. so I have to include some sata modules, how?
I think you can enable them somewhere during
Code:
make menuconfig
But maybe it's easier to install Xen from the binaries.

Quote:
Originally Posted by teukka
Is there some way to use the newest kernel from kernel.org and then patch it with some xen patch and go like that way? or is that mandatory to do it like in your howto?
Only certain kernel version work with Xen, e.g. for Xen 3.0.3, it's kernel 2.6.16.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 17th April 2007, 13:13
teukka teukka is offline
Junior Member
 
Join Date: Apr 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
I think you can enable them somewhere during
Code:
make menuconfig
But maybe it's easier to install Xen from the binaries.

Only certain kernel version work with Xen, e.g. for Xen 3.0.3, it's kernel 2.6.16.
Easier maybe, but that does not support my hardware completly so thats not an option in this case.

When following your howto (chapter 4), there is no option provided where you show where to compile dom0's kernel (before that first boot), xen source includes some prebuild kernel but that does not include all required modules/drivers so my machine wont come up after that boot..

I installed now for testing purposes xen 3.0.3 and 2.6.18 kernel from debian etch apt sources.. so I do have 3.0.3 and kernel 2.6.18 in same machine that "works" but not like I want :/

On my last post I was wondering that base-config thing and found this so im not the only one who has noticed these things :/

http://kitenet.net/~joey/code/base-config/

So I just keep looking answers and howtos.... someday... hopefully find something....

Last edited by teukka; 17th April 2007 at 14:35.
Reply With Quote
  #6  
Old 18th April 2007, 20:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Quote:
Originally Posted by teukka
When following your howto (chapter 4), there is no option provided where you show where to compile dom0's kernel (before that first boot), xen source includes some prebuild kernel but that does not include all required modules/drivers so my machine wont come up after that boot..
Instead of
Code:
make menuconfig
, it must be hidden somewhere in the menu when you run
Code:
make linux-2.6-xen0-config CONFIGMODE=menuconfig KERNELS="linux-2.6-xen0"
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 13:20
The Perfect Xen 3.0.3 Setup For Debian Sarge iptables problem on dom0 ren22 HOWTO-Related Questions 21 7th January 2007 20:32
The Perfect Xen 3.0 Setup For Debian - NAT problem amussa HOWTO-Related Questions 9 28th September 2006 22:27
The Perfect Xen 3.0 Setup For Debian - IpTables Problem Gurke666 HOWTO-Related Questions 2 21st April 2006 18:21
Xen acpi problem Guido64 HOWTO-Related Questions 17 28th February 2006 19:35


All times are GMT +2. The time now is 11:02.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.