-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trouble compiling against 4.13.9 #5
Comments
Hi Richard, Thanks for your bug, don't think you're doing anything wrong! Indeed, my auto-compile also noticed that in 4.13.7 that bi_error had "evaporated" and was moved to bi_status, however bi_status is a different type than bi_error was, so just renaming it might yield some interesting results (probably not looking at elixir, but might later down the line). Had unfortunately not come around to committing the change and have auto-test run. With regard to blk_queue_bounce I'm curious if you have CONFIG_BOUNCE in your kernel config and would love to know if this is a stock kernel for Fedora ? Hope to get to the first point by the end of the day if time permits, the second one I'm curious about but will see if there is a way to get around it. Cheers, Funs |
Totally stock: It looks like bounce is enabled: This is what I saw that made me think I was doing things wrong: The System.map shows the function, but I don't see the prototype or definition anywhere. I added in the function definitions from elixir and got a little farther: Looks like there's not a prebuilt libkfio for gcc 7.2? I symlinked the gcc 6.3 object to 7.2 and built the module. It detected the card! So far, I was able to mount the partition and read from it without any errors and it seems to be working. [12669.675623] iomemory_vsl: loading out-of-tree module taints kernel. |
Ha nice spelunking there! The missing libkfio I usually copy *cough* so that works indeed. Odd that it's showing the function in the map but not in your source. Looking at some more elixir these are the places it should be, I'm downloading Fedora26 atm to have a look myself too. |
As a data point, that method seemed to work fine. I transferred ~ 170G of data off the iodrive with 0 issues. |
rmonk, I am running into a similar issue as you. When you say
Can you tell me what functions you added, and to where? |
finally checked it in.... |
I'm on Fedora 26, running 4.13.9-200.fc26.x86_64
When trying to build, I was getting errors related to bi_error not existing. After some research, it seems that it's been renamed to bi_status? I replaced those in the kblock.c. Now, however, I get:
/root/rpmbuild/BUILD/iomemory-vsl-3.2.15.1700/driver_source/kblock.c:1779:5: error: implicit declaration of function 'blk_queue_bounce'; did you mean 'blk_queue_io_opt'? [-Werror=implicit-function-declaration]
blk_queue_bounce(queue, &bio);
^~~~~~~~~~~~~~~~
I tried looking for this, but it seems it's been removed? I do see it in the map for the kernel, but there's no prototype in the includes.
I'm sure I'm doing something wrong, but I can't seem to figure it out, any help would be appreciated.
The text was updated successfully, but these errors were encountered: