* [uml-devel] UML and SCSI
@ 2006-11-01 9:17 Boaz Harrosh
2006-11-17 22:23 ` Blaisorblade
0 siblings, 1 reply; 2+ messages in thread
From: Boaz Harrosh @ 2006-11-01 9:17 UTC (permalink / raw)
To: user-mode-linux-devel
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?
[Q2] Are there more deeper implication than meet the eye, why SCSI-iSCSI
cannot run in a UML? It might have good performance 2.
<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>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [uml-devel] UML and SCSI
2006-11-01 9:17 [uml-devel] UML and SCSI Boaz Harrosh
@ 2006-11-17 22:23 ` Blaisorblade
0 siblings, 0 replies; 2+ messages in thread
From: Blaisorblade @ 2006-11-17 22:23 UTC (permalink / raw)
To: user-mode-linux-devel
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-17 22:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-01 9:17 [uml-devel] UML and SCSI Boaz Harrosh
2006-11-17 22:23 ` Blaisorblade
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.