Hello, On Wed, May 12, 2010 at 12:26 PM, Thomas Schwinge <tho...@schwinge.name> wrote: > Hello! > > Adding the possibility to programmatically disable all network device > drivers into GNU Mach's configure script is possible, but it'll take a > bunch of time if done properly, or I can do it in a very, very ugly way. > Instead, can't you simply use ``--disable-device-drivers --enable-ide''? > The first statement will remove all device drivers, then the IDE one will > be added back to the list. > > All other available drivers are either LPT / floppy / SCSI / Ethernet / > PCMCIA, so not needed for QEMU and other emulators (or can be enabled one > by one if desired). > > Is that sufficient? If not, then I can put in a gross hack. It is really weird. I built gnumach with --disable-device-drivers --enable-ide --enable-kdb. I boot hurd with the new kernel and run the user-level network drivers but got a kernel general protection trap. I tried several drivers and always got the same problem. The error can be seen at http://i.imagehost.org/0382/Screenshot.png.
addr2line shows me 0x1076e6 is at /root/gnumach-build/../gnumach/i386/i386/spl.S:217 I don't know whether the error is caused by my change in gnumach or the error exists in gnumach itself. It's probably not very easy to check as the error occurs when a user-level driver runs. Best regards, Zheng Da