Kernel module unkown symbol (sr_mod.ko) [SOLVED]

All discussions/development regarding the Marvell mv6281 Chip can be placed here.
Forum rules
Synology Community is the new platform for the enthusiasts' interaction, and it will soon be available to replace the Forum.
muffinman
Beginner
Beginner
Posts: 29
Joined: Wed Jul 13, 2011 4:55 pm

Kernel module unkown symbol (sr_mod.ko) [SOLVED]

Unread post by muffinman » Mon Apr 15, 2013 6:52 pm

Howdy all,

I want to see if I can make a ripserver of my ds110j (2.6.32.12). Therefore I need cdrom support and thus scsi cdrom support (sr_mod.ko). I've managed to compile the kernel module and place it in /lib/modules and create the appropriate symlinks to satisfy depmod and modprobe. However, when loading the kernel module it returns:
modprobe: failed to load module sr_mod (/opt/lib/modules/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/2.6.32.12/sr_mod.ko): unknown symbol in module, or unknown parameter
Other modules don't display this loop of symlinks (though I'm not sure is a problem, apart from the aesthetics).

Dmesg displays the following:
[625894.820000] sr_mod: Unknown symbol register_cdrom
[625894.820000] sr_mod: Unknown symbol cdrom_ioctl
[625894.830000] sr_mod: Unknown symbol cdrom_media_changed
[625894.840000] sr_mod: Unknown symbol cdrom_get_last_written
[625894.840000] sr_mod: Unknown symbol cdrom_get_media_event
[625894.850000] sr_mod: Unknown symbol cdrom_release
[625894.860000] sr_mod: Unknown symbol cdrom_open
[625894.860000] sr_mod: Unknown symbol unregister_cdrom
[625894.870000] sr_mod: Unknown symbol cdrom_number_of_slots
[626172.150000] sr_mod: Unknown symbol register_cdrom
[626172.160000] sr_mod: Unknown symbol cdrom_ioctl
[626172.160000] sr_mod: Unknown symbol cdrom_media_changed
[626172.170000] sr_mod: Unknown symbol cdrom_get_last_written
[626172.180000] sr_mod: Unknown symbol cdrom_get_media_event
[626172.180000] sr_mod: Unknown symbol cdrom_release
[626172.190000] sr_mod: Unknown symbol cdrom_open
[626172.190000] sr_mod: Unknown symbol unregister_cdrom
[626172.200000] sr_mod: Unknown symbol cdrom_number_of_slots
[626357.450000] sr_mod: Unknown symbol register_cdrom
[626357.450000] sr_mod: Unknown symbol cdrom_ioctl
[626357.460000] sr_mod: Unknown symbol cdrom_media_changed
[626357.470000] sr_mod: Unknown symbol cdrom_get_last_written
[626357.470000] sr_mod: Unknown symbol cdrom_get_media_event
[626357.480000] sr_mod: Unknown symbol cdrom_release
[626357.490000] sr_mod: Unknown symbol cdrom_open
[626357.490000] sr_mod: Unknown symbol unregister_cdrom
[626357.500000] sr_mod: Unknown symbol cdrom_number_of_slots
[626470.760000] sr_mod: Unknown symbol register_cdrom
[626470.770000] sr_mod: Unknown symbol cdrom_ioctl
[626470.770000] sr_mod: Unknown symbol cdrom_media_changed
[626470.780000] sr_mod: Unknown symbol cdrom_get_last_written
[626470.790000] sr_mod: Unknown symbol cdrom_get_media_event
[626470.790000] sr_mod: Unknown symbol cdrom_release
[626470.800000] sr_mod: Unknown symbol cdrom_open
[626470.800000] sr_mod: Unknown symbol unregister_cdrom
[626470.810000] sr_mod: Unknown symbol cdrom_number_of_slots
[628663.500000] sr_mod: Unknown symbol register_cdrom
[628663.510000] sr_mod: Unknown symbol cdrom_ioctl
[628663.510000] sr_mod: Unknown symbol cdrom_media_changed
[628663.520000] sr_mod: Unknown symbol cdrom_get_last_written
[628663.530000] sr_mod: Unknown symbol cdrom_get_media_event
[628663.530000] sr_mod: Unknown symbol cdrom_release
[628663.540000] sr_mod: Unknown symbol cdrom_open
[628663.550000] sr_mod: Unknown symbol unregister_cdrom
[628663.550000] sr_mod: Unknown symbol cdrom_number_of_slots

Does anyone know how to solve this issue?

Kind regards, Maarten
Last edited by muffinman on Mon Apr 15, 2013 7:27 pm, edited 1 time in total.

muffinman
Beginner
Beginner
Posts: 29
Joined: Wed Jul 13, 2011 4:55 pm

Re: Kernel module unkown symbol (sr_mod.ko) [SOLVED]

Unread post by muffinman » Mon Apr 15, 2013 7:26 pm

Silly me didn't realize I needed cdrom.ko also. Now it loads fine...

Post Reply

Return to “Marvell mv6281 Development Room”