All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Drivers
@ 2004-10-25 21:42 Charles Coffing
  0 siblings, 0 replies; 9+ messages in thread
From: Charles Coffing @ 2004-10-25 21:42 UTC (permalink / raw)
  To: Ian.Pratt; +Cc: xen-devel, Ky Srinivasan


[-- Attachment #1.1: Type: text/plain, Size: 2633 bytes --]

Related to this, I wrote a little script that disassembles the kernel
and drivers, looking for privileged instructions.  (The BUG macro must
first be modified to avoid many false positives, however.) 
 
It turned up a problem in the file
linux-2.6.8.1/drivers/mtd/maps/nettel.c.  I've attached a patch -- can
we put this in the patches directory? 
 
I also noticed a number of scary things in the kernel itself (moves
to/from CR4, various CLI/STI pairs, maybe some others but I forget ATM)
but it appears that these are avoided at runtime.  Some of these could
and probably should be cleaned up, though, since they exist in the
arch/xen tree.  I'll come back with some more details on this. 
 
Thanks. 
 


>>>Ian Pratt <Ian.Pratt@cl.cam.ac.uk> 10/25/04 2:11 pm >>>
>Do we have a list of drivers that have been validated to work in a Xen
>environment. Equally important would be the list of drivers that we
know
>have some issues working in a Xen environment.

Pretty much all the drivers built into the current dom0 config
have been booted on some machine and found to work.

There have been some reports of a strange issue involving the
e100 driver and the debian startup scripts, but we haven't
reproduced locally and there seems to be a good workaround. If
someone sends us an oops message its probably trivial to fix.

I've actually been impressed (amazed!) at how few problems we've
found with Linux drivers running over Xen. We're certainly rather
stricter than what's possible to get away with on native x86, but
I guess the ubiquity of PCI has meant that most popular drivers
have been debugged on sparc/alpha/ia64/ppc and have had the bogus
assumptions beaten out of them.

The only hardware drivers known to have problems are agpgart and
drm. The patch directory contains a few patches that fix some
obvious bugs, but more work is required. The xfree86 server VESA
driver doesn't work due to it requiring support for vm86 mode.
Stephan is looking into this.

The other driver that I know we have an issue with is the cisco
linux-iscsi initiator on 2.4. There's a workaround by setting
hacking the driver to set DISABLE_CLUSTERING. The 2.6 iscsi
driver works fine.


Ian



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give
us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out
more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel


[-- Attachment #1.2: Type: text/html, Size: 3531 bytes --]

[-- Attachment #2: nettel.patch --]
[-- Type: application/octet-stream, Size: 887 bytes --]

diff -ru linux-2.6.8.1/drivers/mtd/maps/nettel.c linux-2.6.8.1-xen0/drivers/mtd/maps/nettel.c
--- linux-2.6.8.1/drivers/mtd/maps/nettel.c	2004-10-21 15:59:29.000000000 -0600
+++ linux-2.6.8.1-xen0/drivers/mtd/maps/nettel.c	2004-10-22 09:12:17.000000000 -0600
@@ -270,7 +270,7 @@
 	maxsize = AMD_WINDOW_MAXSIZE;
 
 	*amdpar = SC520_PAR(SC520_PAR_BOOTCS, amdaddr, maxsize);
-	__asm__ ("wbinvd");
+	wbinvd();
 
 	nettel_amd_map.phys = amdaddr;
 	nettel_amd_map.virt = (unsigned long)
@@ -382,7 +382,7 @@
 	 */
 	intel1addr = intel0addr + intel0size;
 	*intel1par = SC520_PAR(intel1cs, intel1addr, maxsize);
-	__asm__ ("wbinvd");
+	wbinvd();
 
 	maxsize += intel0size;
 
@@ -408,7 +408,7 @@
 	intel1size = intel_mtd->size - intel0size;
 	if (intel1size > 0) {
 		*intel1par = SC520_PAR(intel1cs, intel1addr, intel1size);
-		__asm__ ("wbinvd");
+		wbinvd();
 	} else {
 		*intel1par = 0;
 	}

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Drivers
@ 2004-12-16 14:11 Kaushal Shriyan
  0 siblings, 0 replies; 9+ messages in thread
From: Kaushal Shriyan @ 2004-12-16 14:11 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 475 bytes --]

Hi

Can any one help me in getting drivers for on board Sound Card "C-Media
CMI9880L" on INTEL915G Mother Board under RHEL3.0 base kernel --->
2.4.21-4.EL.

RHEL3.0 --> Red Hat Enterprise Linux 3.0

-- 
Regards,

Kaushal Shriyan
Technical Engineer
Red Hat India Pvt. Ltd.
135, Mittal Towers
13th Floor, B Wing
Nariman Point
Mumbai 400021
India
Tel    : +91-22-22881326/27
Fax    : +91-22-22881318
Cell   : +91-9820367783
E-mail : kshriyan@redhat.com


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <s17d1edc.072@sinclair.provo.novell.com>]
* Drivers
@ 2004-10-25 14:41 Ky Srinivasan
  2004-10-25 20:11 ` Drivers Ian Pratt
  0 siblings, 1 reply; 9+ messages in thread
From: Ky Srinivasan @ 2004-10-25 14:41 UTC (permalink / raw)
  To: xen-devel

Do we have a list of drivers that have been validated to work in a Xen
environment. Equally important would be the list of drivers that we know
have some issues working in a Xen environment.

Thanks,

K. Y


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-12-16 14:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-25 21:42 Drivers Charles Coffing
  -- strict thread matches above, loose matches on Subject: below --
2004-12-16 14:11 Drivers Kaushal Shriyan
     [not found] <s17d1edc.072@sinclair.provo.novell.com>
2004-10-25 22:50 ` Drivers Ian Pratt
2004-10-25 14:41 Drivers Ky Srinivasan
2004-10-25 20:11 ` Drivers Ian Pratt
2004-10-29 13:15   ` Drivers Rik van Riel
2004-10-29 13:34     ` Drivers Ian Pratt
2004-10-29 13:47       ` Drivers Keir Fraser
2004-11-14  0:21     ` Drivers A Streetcar Named

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.