Hello all, My problem is that I''m unable to compile in support for a megaraid device into my domain0 kernel. What follows is the detailed description of my problem: I''m trying to make a domain0 2.6.10 kernel for a Dell SMP box, and as such I need to have the megaraid driver compiled in. I found some semi-official looking debian [1]packages for xen 2.0.4, and this is the process I followed: 1) installed fresh kernel sources for 2.6.10 2) instaled those debian packages for xen 3) ran /usr/src/kernel-patches/i386/apply/xen to patch vanilla sources 4) did "make ARCH=xen menuconfig" at source toplevel to configure kernel now, at this stage, I was unable to select the driver I wanted from device drivers->scsi device support->scsi lowlevel drivers. Normally, this is where one finds the megaraid driver, but after applying the xen patches, almost no lowlevel scsi drivers are available (nothing, except for "Serial ATA Support" and "SCSI Debugging Host Simulator". Now, is my problem a faulty kernel patch, or do I have to do something else to get the megaraid driver compiled in? The kernel that I have been able to build boots fine, except for not being to find my root dir, due to it being on that raid device. Here''s the snippet from my /boot/grub/menu.lst just in case this is the problem: title Xen 2.0 root (hd0,0) kernel (hd0,0)/boot/xen.gz dom0_mem=131072 noreboot module (hd0,0)/boot/vmlinuz-2.6.10-xen0.3 root=/dev/sda3 ro console=tty0 Thanks for any help that you are able to provide. Also, if this not the appropriate place for this question, please let me know. I looked for a xen-user list, but either a) it doesn''t exist or b) is highly hidden from riffraff such as myself :) -michal urbanski [1] http://people.debian.org/~doogie/packages/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
>My problem is that I''m unable to compile in support for a megaraiddevice into my domain0 kernel. >What follows is the detailed description of my problem:>I''m trying to make a domain0 2.6.10 kernel for a Dell SMP box, and assuch I need to have the megaraid driver compiled in. I found some semi-official looking debian [1]packages for xen 2.0.4, and this is the process I followed:>1) installed fresh kernel sources for 2.6.10 >2) instaled those debian packages for xen >3) ran /usr/src/kernel-patches/i386/apply/xen to patch vanilla sources >4) did "make ARCH=xen menuconfig" at source toplevel to configurekernel>now, at this stage, I was unable to select the driver I wanted fromdevice drivers->scsi device >support->scsi lowlevel drivers. Normally, this is where one finds the megaraid driver, but after >applying the xen patches, almost no lowlevel scsi drivers are available (nothing, except for "Serial >ATA Support" and "SCSI Debugging Host Simulator".>Now, is my problem a faulty kernel patch, or do I have to do somethingelse to get the megaraid >driver compiled in? The kernel that I have been able to build boots fine, except for not being to >find my root dir, due to it being on that raid device. Sounds like you havent enabled Priviliged Operation (Domain 0) under the XEN options in menuconfig. Also choose "Physical device access". Hope this helps Tom ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
michal urbanski
2005-Mar-07 21:24 UTC
Re: [Xen-devel] xen + debian packages + megaraid driver
On Tue, Mar 08, 2005 at 09:32:40AM +1300, Tom Hibbert wrote:> > Sounds like you havent enabled Priviliged Operation (Domain 0) under the > XEN options in menuconfig. Also choose "Physical device access". > > Hope this helps > > TomI''ve checked the kernel config options under XEN, and "Privileged Guest (domain 0)" is checked. This makes "Physical device access" show up, but it''s not selectable (should it be?). A "grep XEN .config" on my toplevel shows: CONFIG_XEN=y CONFIG_ARCH_XEN=y # XEN CONFIG_XEN_PRIVILEGED_GUEST=y CONFIG_XEN_PHYSDEV_ACCESS=y CONFIG_XEN_BLKDEV_BACKEND=y CONFIG_XEN_NETDEV_BACKEND=y CONFIG_XEN_BLKDEV_FRONTEND=y CONFIG_XEN_NETDEV_FRONTEND=y # CONFIG_XEN_NETDEV_FRONTEND_PIPELINED_TRANSMITTER is not set CONFIG_XEN_WRITABLE_PAGETABLES=y CONFIG_XEN_SCRUB_PAGES=y CONFIG_XENARCH="i386" while in the SCSI section I have: CONFIG_SCSI=y CONFIG_SCSI_PROC_FS=y and everything else is "not set". -michal urbanski ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
michal urbanski
2005-Mar-07 22:01 UTC
Re: [Xen-devel] xen + debian packages + megaraid driver
For anyone who may be marginally interested in my problem, I''ve broadened the scope to include all 2.6.10 kernels (not just the Debianized ones) and the patches that come with xen-2.0.4-src.tgz Is *anyone* running xen on a machine with a RAID device? I''m assuming yes; how did you do it? Do you have to use an initrd? Even if so, what magic kernel configuration did you use to get the driver built? Thanks for any help... this situation is really puzzling. -michal urbanski On Mon, Mar 07, 2005 at 02:24:24PM -0700, michal urbanski wrote:> On Tue, Mar 08, 2005 at 09:32:40AM +1300, Tom Hibbert wrote: > > > > Sounds like you havent enabled Priviliged Operation (Domain 0) under the > > XEN options in menuconfig. Also choose "Physical device access". > > > > Hope this helps > > > > Tom > > I''ve checked the kernel config options under XEN, and "Privileged Guest > (domain 0)" is checked. This makes "Physical device access" show up, but > it''s not selectable (should it be?). > > A "grep XEN .config" on my toplevel shows: > > CONFIG_XEN=y > CONFIG_ARCH_XEN=y > # XEN > CONFIG_XEN_PRIVILEGED_GUEST=y > CONFIG_XEN_PHYSDEV_ACCESS=y > CONFIG_XEN_BLKDEV_BACKEND=y > CONFIG_XEN_NETDEV_BACKEND=y > CONFIG_XEN_BLKDEV_FRONTEND=y > CONFIG_XEN_NETDEV_FRONTEND=y > # CONFIG_XEN_NETDEV_FRONTEND_PIPELINED_TRANSMITTER is not set > CONFIG_XEN_WRITABLE_PAGETABLES=y > CONFIG_XEN_SCRUB_PAGES=y > CONFIG_XENARCH="i386" > > while in the SCSI section I have: > CONFIG_SCSI=y > CONFIG_SCSI_PROC_FS=y > > and everything else is "not set". > > -michal urbanski > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> I''m trying to make a domain0 2.6.10 kernel for a Dell SMP box, and as > such I need to have the megaraid driver compiled in. I found some > semi-official looking debian [1]packages for xen 2.0.4, and > this is the > process I followed: > > 1) installed fresh kernel sources for 2.6.10 > 2) instaled those debian packages for xen > 3) ran /usr/src/kernel-patches/i386/apply/xen to patch vanilla sources > 4) did "make ARCH=xen menuconfig" at source toplevel to > configure kernel > > now, at this stage, I was unable to select the driver I wanted from > device drivers->scsi device support->scsi lowlevel drivers. Normally, > this is where one finds the megaraid driver, but after > applying the xen > patches, almost no lowlevel scsi drivers are available > (nothing, except > for "Serial ATA Support" and "SCSI Debugging Host Simulator".Not sure what''s going on here, but I just checked our xen-2.0-testing tree and all the low level drivers are available on the config menu (including both the nexgen and legacy megaraid drivers). Maybe this is specific to the debian patch. Ian ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
michal urbanski
2005-Mar-07 23:10 UTC
Re: [Xen-devel] xen + debian packages + megaraid driver
Sigh. Many apologies to all who spent time helping me with this. For whatever reason, under Bus Option, PCI had been turned off. An odd default, imo, but there you go. Thank you, everyone. Am looking forward to finally working with this cool tech :) -michal urbanski On Mon, Mar 07, 2005 at 03:01:46PM -0700, michal urbanski wrote:> For anyone who may be marginally interested in my problem, I''ve > broadened the scope to include all 2.6.10 kernels (not just the > Debianized ones) and the patches that come with xen-2.0.4-src.tgz > > Is *anyone* running xen on a machine with a RAID device? I''m assuming > yes; how did you do it? Do you have to use an initrd? Even if so, what > magic kernel configuration did you use to get the driver built? > > Thanks for any help... this situation is really puzzling. > -michal urbanski > > > On Mon, Mar 07, 2005 at 02:24:24PM -0700, michal urbanski wrote: > > On Tue, Mar 08, 2005 at 09:32:40AM +1300, Tom Hibbert wrote: > > > > > > Sounds like you havent enabled Priviliged Operation (Domain 0) under the > > > XEN options in menuconfig. Also choose "Physical device access". > > > > > > Hope this helps > > > > > > Tom > > > > I''ve checked the kernel config options under XEN, and "Privileged Guest > > (domain 0)" is checked. This makes "Physical device access" show up, but > > it''s not selectable (should it be?). > > > > A "grep XEN .config" on my toplevel shows: > > > > CONFIG_XEN=y > > CONFIG_ARCH_XEN=y > > # XEN > > CONFIG_XEN_PRIVILEGED_GUEST=y > > CONFIG_XEN_PHYSDEV_ACCESS=y > > CONFIG_XEN_BLKDEV_BACKEND=y > > CONFIG_XEN_NETDEV_BACKEND=y > > CONFIG_XEN_BLKDEV_FRONTEND=y > > CONFIG_XEN_NETDEV_FRONTEND=y > > # CONFIG_XEN_NETDEV_FRONTEND_PIPELINED_TRANSMITTER is not set > > CONFIG_XEN_WRITABLE_PAGETABLES=y > > CONFIG_XEN_SCRUB_PAGES=y > > CONFIG_XENARCH="i386" > > > > while in the SCSI section I have: > > CONFIG_SCSI=y > > CONFIG_SCSI_PROC_FS=y > > > > and everything else is "not set". > > > > -michal urbanski > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/xen-devel > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Patrick Paul
2005-Mar-08 04:00 UTC
Re: [Xen-devel] xen + debian packages + megaraid driver
I second that. I noticed PCI was off by default on a build I was working with a couple of weeks back right after the first FUDCON. Weird that kernels on x86 would ever have defaults of no-PCI. Official feature request perhaps? >Sigh. Many apologies to all who spent time helping me with this. For >whatever reason, under Bus Option, PCI had been turned off. An odd >default, imo, but there you go. >Thank you, everyone. Am looking forward to finally working with this >cool tech :) > >-michal urbanski -- Patrick Paul Systems Administrator BioMicro Center, MIT 68-371 617-452-2951 patpaul@mit.edu ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel