modversions on ppc64 will taint kernel

Olaf Hering olh at suse.de
Mon May 10 05:42:08 EST 2004


Rusty,

the function check_version() looks for '__down', but there is '.__down'
in the module.
This happens with every recent 2.6 kernel. How can this be fixed?


(none):/# /sbin/modprobe scsi_mod
load_module: umod=0000000040028000, len=244003, uargs=0000000010016248
check_version(856) crc c0000000002faaa0 symname struct_module versindex 15
check_version(865) num_versions 124
check_version(867) i 0 name cleanup_module
check_version(867) i 1 name init_module
check_version(867) i 2 name struct_module
Core section allocation order:
	.text
	.exit.text
	.fixup
	_init.text
	.stubs
	.rodata
	__ksymtab_strings
	.rodata.str1.8
	__bug_table
	__ex_table
	__versions
	.symtab
	.strtab
	.data
	__param
	_init.data
	__ksymtab
	__kcrctab
	.data.rel.ro.local
	.data.rel.local
	.data.rel
	.gnu.linkonce.this_module
	.toc1
	.opd
	.toc
	.bss
Init section allocation order:
final section addresses:
	0xd0000000001af000 .text
	0xd0000000001bd458 .exit.text
	0xd0000000001bd4bc .fixup
	0xd0000000001bfed0 .rodata
	0xd0000000001c01d8 __ksymtab_strings
	0xd0000000001c0728 .rodata.str1.8
	0xd0000000001c86d0 __bug_table
	0xd0000000001c87b0 __ex_table
	0xd0000000001c8820 __versions
	0xd0000000001d44e8 .data
	0xd0000000001bd508 _init.text
	0xd0000000001d4508 __param
	0xd0000000001d45f8 _init.data
	0xd0000000001d5498 __ksymtab
	0xd0000000001d5888 __kcrctab
	0xd0000000001d5a80 .data.rel.ro.local
	0xd0000000001d5af0 .data.rel.local
	0xd0000000001d8870 .data.rel
	0xd0000000001d8d00 .gnu.linkonce.this_module
	0xd0000000001d8f80 .toc1
	0xd0000000001d9ad0 .opd
	0xd0000000001dabc8 .toc
	0xd0000000001dac28 .bss
	0xd0000000001bd980 .stubs
	0xd0000000001ca720 .symtab
	0xd0000000001cfe98 .strtab
Absolute symbol: 0x00000000
Absolute symbol: 0x00000000
Absolute symbol: 0x00000000
Absolute symbol: 0x00000000
Absolute symbol: 0x00000000
Absolute symbol: 0x00000000
Absolute symbol: 0x00000000
Absolute symbol: 0x00000000
Absolute symbol: 0x00000000
Absolute symbol: 0x00000000
Absolute symbol: 0x00000000
Absolute symbol: 0x00000000
Absolute symbol: 0x00000000
Absolute symbol: 0x00000000
check_version(856) crc c0000000002fa3e8 symname __down versindex 15
check_version(865) num_versions 124
check_version(867) i 0 name cleanup_module
check_version(867) i 1 name init_module
check_version(867) i 2 name struct_module
check_version(867) i 3 name .panic
check_version(867) i 4 name .free_pages
check_version(867) i 5 name .mempool_free
check_version(867) i 6 name .device_add
check_version(867) i 7 name param_get_int
check_version(867) i 8 name .complete_and_exit
check_version(867) i 9 name .snprintf
check_version(867) i 10 name .generic_unplug_device
check_version(867) i 11 name .add_disk_randomness
check_version(867) i 12 name .strlen
check_version(867) i 13 name .blk_queue_end_tag
check_version(867) i 14 name single_release
check_version(867) i 15 name .mempool_create
check_version(867) i 16 name malloc_sizes
check_version(867) i 17 name proc_dointvec
check_version(867) i 18 name blk_max_pfn
check_version(867) i 19 name .__get_free_pages
check_version(867) i 20 name .__up
check_version(867) i 21 name .unregister_cpu_notifier
check_version(867) i 22 name .daemonize
check_version(867) i 23 name .sscanf
check_version(867) i 24 name scsi_command_size
check_version(867) i 25 name .kernel_thread
check_version(867) i 26 name .rwsem_wake
check_version(867) i 27 name .blk_queue_issue_flush_fn
check_version(867) i 28 name .schedule_timeout
check_version(867) i 29 name .put_device
check_version(867) i 30 name .end_that_request_chunk
check_version(867) i 31 name .remove_proc_entry
check_version(867) i 32 name .memcmp
check_version(867) i 33 name param_set_int
check_version(867) i 34 name .kmem_cache_free
check_version(867) i 35 name .create_proc_entry
check_version(867) i 36 name .class_device_del
check_version(867) i 37 name seq_read
check_version(867) i 38 name .kfree
check_version(867) i 39 name jiffies
check_version(867) i 40 name .device_create_file
check_version(867) i 41 name .wait_for_completion
check_version(867) i 42 name .blk_dump_rq_flags
check_version(867) i 43 name .strncmp
check_version(867) i 44 name default_wake_function
check_version(867) i 45 name param_get_charp
check_version(867) i 46 name mempool_alloc_slab
check_version(867) i 47 name .blk_run_queue
check_version(867) i 48 name .single_open
check_version(867) i 49 name .__mod_timer
check_version(867) i 50 name .blk_queue_start_tag
check_version(867) i 51 name .sprintf
check_version(867) i 52 name .class_unregister
check_version(867) i 53 name tb_ticks_per_usec
check_version(867) i 54 name .driver_register
check_version(867) i 55 name .__kmalloc
check_version(867) i 56 name .blk_rq_map_sg
check_version(867) i 57 name .rwsem_down_read_failed
check_version(867) i 58 name .__bread
check_version(867) i 59 name .class_device_create_file
check_version(867) i 60 name .__down_interruptible
check_version(867) i 61 name .class_device_unregister
check_version(867) i 62 name mempool_free_slab
check_version(867) i 63 name .get_device
check_version(867) i 64 name .strncpy
check_version(867) i 65 name .kmem_cache_create
check_version(867) i 66 name .blk_requeue_request
check_version(867) i 67 name .device_initialize
check_version(867) i 68 name .register_sysctl_table
check_version(867) i 69 name zone_table
check_version(867) i 70 name .__copy_tofrom_user
check_version(867) i 71 name .schedule
check_version(867) i 72 name .device_for_each_child
check_version(867) i 73 name .elv_remove_request
check_version(867) i 74 name .blk_queue_max_phys_segments
check_version(867) i 75 name .register_cpu_notifier
check_version(867) i 76 name .device_del
check_version(867) i 77 name .blk_queue_max_sectors
check_version(867) i 78 name .class_register
check_version(867) i 79 name .mempool_alloc
check_version(867) i 80 name .blk_queue_segment_boundary
check_version(867) i 81 name .strsep
check_version(867) i 82 name .seq_printf
check_version(867) i 83 name .elv_next_request
check_version(867) i 84 name .proc_mkdir
check_version(867) i 85 name .memcpy
check_version(867) i 86 name .wake_up_process
check_version(867) i 87 name platform_bus
check_version(867) i 88 name param_set_copystring
check_version(867) i 89 name .add_wait_queue
check_version(867) i 90 name .__wake_up
check_version(867) i 91 name .mempool_destroy
check_version(867) i 92 name __per_cpu_offset
check_version(867) i 93 name .memset
check_version(867) i 94 name .blk_queue_prep_rq
check_version(867) i 95 name .blk_init_queue
check_version(867) i 96 name .class_device_add
check_version(867) i 97 name .kmem_cache_alloc
check_version(867) i 98 name seq_lseek
check_version(867) i 99 name .end_that_request_last
check_version(867) i 100 name .del_timer
check_version(867) i 101 name .bus_unregister
check_version(867) i 102 name .printk
check_version(867) i 103 name .open_softirq
check_version(867) i 104 name .blk_queue_max_hw_segments
check_version(867) i 105 name .class_device_initialize
check_version(867) i 106 name .remove_wait_queue
check_version(867) i 107 name .bus_for_each_dev
check_version(867) i 108 name .complete
check_version(867) i 109 name .strcmp
check_version(867) i 110 name .class_interface_register
check_version(867) i 111 name .raise_softirq_irqoff
check_version(867) i 112 name .dump_stack
check_version(867) i 113 name .bus_register
check_version(867) i 114 name .__brelse
check_version(867) i 115 name .blk_plug_device
check_version(867) i 116 name kernel_flag
check_version(867) i 117 name .simple_strtoul
check_version(867) i 118 name .kmem_cache_destroy
check_version(867) i 119 name .blk_insert_request
check_version(867) i 120 name .unregister_sysctl_table
check_version(867) i 121 name .blk_queue_bounce_limit
check_version(867) i 122 name .blk_cleanup_queue
check_version(867) i 123 name .__down
scsi_mod: no version for "__down" found: kernel tainted.
check_version(856) crc c0000000002fc400 symname blk_cleanup_queue versindex 15
check_version(865) num_versions 124
check_version(867) i 0 name cleanup_module
check_version(867) i 1 name init_module
check_version(867) i 2 name struct_module
check_version(867) i 3 name .panic
check_version(867) i 4 name .free_pages
check_version(867) i 5 name .mempool_free
check_version(867) i 6 name .device_add
check_version(867) i 7 name param_get_int
check_version(867) i 8 name .complete_and_exit
check_version(867) i 9 name .snprintf
check_version(867) i 10 name .generic_unplug_device
check_version(867) i 11 name .add_disk_randomness
check_version(867) i 12 name .strlen
check_version(867) i 13 name .blk_queue_end_tag
check_version(867) i 14 name single_release
check_version(867) i 15 name .mempool_create
check_version(867) i 16 name malloc_sizes
check_version(867) i 17 name proc_dointvec
check_version(867) i 18 name blk_max_pfn
check_version(867) i 19 name .__get_free_pages
check_version(867) i 20 name .__up
check_version(867) i 21 name .unregister_cpu_notifier
check_version(867) i 22 name .daemonize
check_version(867) i 23 name .sscanf
check_version(867) i 24 name scsi_command_size
check_version(867) i 25 name .kernel_thread
check_version(867) i 26 name .rwsem_wake
check_version(867) i 27 name .blk_queue_issue_flush_fn
check_version(867) i 28 name .schedule_timeout
check_version(867) i 29 name .put_device
check_version(867) i 30 name .end_that_request_chunk
check_version(867) i 31 name .remove_proc_entry
check_version(867) i 32 name .memcmp
check_version(867) i 33 name param_set_int
check_version(867) i 34 name .kmem_cache_free
check_version(867) i 35 name .create_proc_entry
check_version(867) i 36 name .class_device_del
check_version(867) i 37 name seq_read
check_version(867) i 38 name .kfree
check_version(867) i 39 name jiffies
check_version(867) i 40 name .device_create_file
check_version(867) i 41 name .wait_for_completion
check_version(867) i 42 name .blk_dump_rq_flags
check_version(867) i 43 name .strncmp
check_version(867) i 44 name default_wake_function
check_version(867) i 45 name param_get_charp
check_version(867) i 46 name mempool_alloc_slab
check_version(867) i 47 name .blk_run_queue
check_version(867) i 48 name .single_open
check_version(867) i 49 name .__mod_timer
check_version(867) i 50 name .blk_queue_start_tag
check_version(867) i 51 name .sprintf
check_version(867) i 52 name .class_unregister
check_version(867) i 53 name tb_ticks_per_usec
check_version(867) i 54 name .driver_register
check_version(867) i 55 name .__kmalloc
check_version(867) i 56 name .blk_rq_map_sg
check_version(867) i 57 name .rwsem_down_read_failed
check_version(867) i 58 name .__bread
check_version(867) i 59 name .class_device_create_file
check_version(867) i 60 name .__down_interruptible
check_version(867) i 61 name .class_device_unregister
check_version(867) i 62 name mempool_free_slab
check_version(867) i 63 name .get_device
check_version(867) i 64 name .strncpy
check_version(867) i 65 name .kmem_cache_create
check_version(867) i 66 name .blk_requeue_request
check_version(867) i 67 name .device_initialize
check_version(867) i 68 name .register_sysctl_table
check_version(867) i 69 name zone_table
check_version(867) i 70 name .__copy_tofrom_user
check_version(867) i 71 name .schedule
check_version(867) i 72 name .device_for_each_child
check_version(867) i 73 name .elv_remove_request
check_version(867) i 74 name .blk_queue_max_phys_segments
check_version(867) i 75 name .register_cpu_notifier
check_version(867) i 76 name .device_del
check_version(867) i 77 name .blk_queue_max_sectors
check_version(867) i 78 name .class_register
check_version(867) i 79 name .mempool_alloc
check_version(867) i 80 name .blk_queue_segment_boundary
check_version(867) i 81 name .strsep
check_version(867) i 82 name .seq_printf
check_version(867) i 83 name .elv_next_request
check_version(867) i 84 name .proc_mkdir
check_version(867) i 85 name .memcpy
check_version(867) i 86 name .wake_up_process
check_version(867) i 87 name platform_bus
check_version(867) i 88 name param_set_copystring
check_version(867) i 89 name .add_wait_queue
check_version(867) i 90 name .__wake_up
check_version(867) i 91 name .mempool_destroy
check_version(867) i 92 name __per_cpu_offset
check_version(867) i 93 name .memset
check_version(867) i 94 name .blk_queue_prep_rq
check_version(867) i 95 name .blk_init_queue
check_version(867) i 96 name .class_device_add
check_version(867) i 97 name .kmem_cache_alloc
check_version(867) i 98 name seq_lseek
check_version(867) i 99 name .end_that_request_last
check_version(867) i 100 name .del_timer
check_version(867) i 101 name .bus_unregister
check_version(867) i 102 name .printk
check_version(867) i 103 name .open_softirq
check_version(867) i 104 name .blk_queue_max_hw_segments
check_version(867) i 105 name .class_device_initialize
check_version(867) i 106 name .remove_wait_queue
check_version(867) i 107 name .bus_for_each_dev
check_version(867) i 108 name .complete
check_version(867) i 109 name .strcmp
check_version(867) i 110 name .class_interface_register
check_version(867) i 111 name .raise_softirq_irqoff
check_version(867) i 112 name .dump_stack
check_version(867) i 113 name .bus_register
check_version(867) i 114 name .__brelse
check_version(867) i 115 name .blk_plug_device
check_version(867) i 116 name kernel_flag
check_version(867) i 117 name .simple_strtoul
check_version(867) i 118 name .kmem_cache_destroy
check_version(867) i 119 name .blk_insert_request
check_version(867) i 120 name .unregister_sysctl_table
check_version(867) i 121 name .blk_queue_bounce_limit
check_version(867) i 122 name .blk_cleanup_queue
check_version(867) i 123 name .__down
--
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list