Just in case anyone is interested, I wrote up the details on running the
SCSI kernel code in a user-space program, and put them on
http://www.andante.org/sim.html. I uploaded working executables too - one
with the new queueing code, and the other without. The executables are
kind of big, but most of it is just debugging information.
The version without the new queueing code is a bit lame - I was testing
to see what would happen if a disk reported a sectorsize that is not a power
of two (2248, as I recall). Someone on the list was complaining that the
kernel was crashing in this instance. The disks that you get both have
this size, and you wouldn't be able to read or write to them. To get
something that you can really step through with gdb, I would recommend that
you build the thing yourself so that the executable matches the source tree
you are working with.
The simulator is built against 2.3.8. Sorry - this thing is a bit of a
pain to maintain, and I haven't needed it in a while.
It is quite possible that I left out some silly detail - if the
instructions don't seem to work, drop me a note and I will take a look.
I have brought my changes for the new queueing code up to 2.3.13 - I
took a look ahead and I don't see any massive merge conflicts until I get to
the reformatting that was done for 2.3.17, but I will have to treat that one
as a special case. Probably a few minor conflicts along the way, however.
-Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]