UML and SCSI
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
arch/um/Kconfig +1 -15
@@ -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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 9 lines · Boaz Harrosh
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
Kconfigfromdrivers/scsibut 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.
Quoted 2 lines
[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.
Quoted 31 lines
<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/Kconfigarch/um/Kconfig +1
-15@@ -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>
Signature · 16 lines
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