On Mon, 15 Oct 2007, Ingo Molnar wrote:Using emulators to test device drivers is almost certain to be pointless. The problem with device drivers tends to be timing issues, odd hardware interactions, and lots of strange (and sometimes undocumented) behaviour and dependencies (eg things like "you have to wait 50us after setting the reset bit until the hardware has actually reset"). These are all things that you'd generally not catch in emulation - because the emulation by necessity is only going to be a very weak picture of the real thing. So I suspect you can find the easy stuff, but only by writing insanely complex device model descriptions in the emulator environment itself, and only for those device models that have actually been written. Can it be donein theory? Sure. Practically? Not so sure. Would it help? I suspect the effort to do the device model would be many times bigger than *any* conceivable effort to just fix the driver bugs as they get found through other means. So we could perhaps have *really* good emulated hardware for a few models of hw out there, but likely they'd be fewer and less varied platforms than most kernel developers end up having hidden under their desk anyway.. Linus -
| Ingo Molnar | Re: [BUG] long freezes on thinkpad t60 |
| Rafael J. Wysocki | Re: [Bug 10030] Suspend doesn't work when SD card is inserted |
| Jamie Lokier | Proposal for "proper" durable fsync() and fdatasync() |
| jimmy bahuleyan | Re: how about mutual compatibility between Linux's GPLv2 and GPLv3? |
git: | |
| Martin Langhoff | Handling large files with GIT |
| Matt Mackall | Re: cleaner/better zlib sources? |
| Wink Saville | git-svn segmetation fault |
| Bill Lear | Meaning of "fatal: protocol error: bad line length character"? |
| Florin Andrei | firewall is very slow, something's wrong |
| Wijnand Wiersma | Almost success: OpenBSD on Xen |
| Marcus Andree | Re: OpenBSD kernel janitors |
| Richard Stallman | Real men don't attack straw men |
| David Miller | Re: tcp bw in 2.6 |
| Rick Jones | Re: 2.6.24 BUG: soft lockup - CPU#X |
| Patrick McHardy | [NET_SCHED 00/04]: External SFQ classifiers/flow classifier |
| Patrick McHardy | Re: [PATCH 2/2] [e1000 VLAN] Disable vlan hw accel when promiscuous mode |
