On Wednesday 01 November 2006 10:17, Boaz Harrosh wrote:
> I have searched the archives and seen some old posts about SCSI not
> compiling with UML. Since than I have seen some post on the net of the
> like http://lkml.org/lkml/2006/9/12/200. (which does not apply but the
> Idea is clear and can be done by hand).
> Now when carefully configured I can compile the SCSI and iSCSI layers.
>
> [Q] I have worked on below patch but now SCSI is on by default. (As in
> the regular kernel). Is there a way to include the original Kconfig from
> drivers/scsi but override it's defaultness?

Not directly - but you can patch it to read:
        default y if !UML
such patches get accepted without problems, at least when approved by Jeff or 
me.

> [Q2] Are there more deeper implication than meet the eye, why SCSI-iSCSI
> cannot run in a UML? It might have good performance 2.

I cannot see any conceptual ones, since iSCSI works over the network, unless 
there is any dependency on a hardware device which I cannot see.

> <um_2.6.19-rc1_Kconfig.patch>
>
> diff -Nup /tmp/tmp.19763.0
> /home/bharrosh/p4.local/pub/linux-2.6.19-rc1/arch/um/Kconfig -L
> a/arch/um/Kconfig -L b/arch/um/Kconfig
> --- a/arch/um/Kconfig
> +++ b/arch/um/Kconfig
> @@ -285,21 +285,7 @@ source "crypto/Kconfig"
>
>  source "lib/Kconfig"
>
> -menu "SCSI support"
> -depends on BROKEN
> -
> -config SCSI
> -       tristate "SCSI support"
> -
> -# This gives us free_dma, which scsi.c wants.
> -config GENERIC_ISA_DMA
> -       bool
> -       depends on SCSI
> -       default y
> -
> -source "arch/um/Kconfig.scsi"
> -
> -endmenu
> +source "drivers/scsi/Kconfig"
>
>  source "drivers/md/Kconfig"
>
> </um_2.6.19-rc1_Kconfig.patch>

-- 
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to