FATAL:Error inserting mhvtl (/lib/modules/2.6.32/kernel/drivers/scsi/mhvtl.ko):Bad address.

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

FATAL:Error inserting mhvtl (/lib/modules/2.6.32/kernel/drivers/scsi/mhvtl.ko):Bad address.

yushulinfeng
In my test environment,I update the kernel and then after reboot,I successfully installed scst,but when I install mhvtl,in the kernel directory,I execute make distclean,make && make install,but unfortunately,I got the error message:
FATAL:Error inserting mhvtl (/lib/modules/2.6.32/kernel/drivers/scsi/mhvtl.ko):Bad address.

my os version:centos 6.4 kernel 2.6.32-358 update to 2.6.32-431

so,what's your sollution to solve this.can anyone tell me the may to fix it?thank you.
Reply | Threaded
Open this post in threaded view
|

Re: FATAL:Error inserting mhvtl (/lib/modules/2.6.32/kernel/drivers/scsi/mhvtl.ko):Bad address.

yushulinfeng
sysfs: cannot create duplicate filename '/devices/pseudo_0'
Modules linked in: mhvtl(+)(U) scst_changer(U) scst_tape(U) scst(U) nls_utf8 fuse autofs4 sunrpc 8021q garp stp llc ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 iptable_filter ip_tables ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables ipv6 uinput ppdev parport_pc parport microcode e1000 snd_ens1371 snd_rawmidi snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc vmware_balloon sg i2c_piix4 i2c_core shpchp ext4 jbd2 mbcache sr_mod cdrom sd_mod mptspi mptscsih mptbase scsi_transport_spi pata_acpi ata_generic ata_piix dm_mirror dm_region_hash dm_log dm_mod [last unloaded: speedstep_lib]
Pid: 2827, comm: modprobe Tainted: G        W  ---------------    2.6.32 #1
Call Trace:
 [<ffffffff81071e27>] ? warn_slowpath_common+0x87/0xc0
 [<ffffffff81071f16>] ? warn_slowpath_fmt+0x46/0x50
 [<ffffffff81205f18>] ? sysfs_add_one+0xb8/0xd0
 [<ffffffff81205f98>] ? create_dir+0x68/0xb0
 [<ffffffff81206019>] ? sysfs_create_dir+0x39/0x50
 [<ffffffff81284fa9>] ? kobject_add_internal+0xb9/0x260
 [<ffffffff81285258>] ? kobject_add_varg+0x38/0x60
 [<ffffffff81285334>] ? kobject_add+0x44/0x70
 [<ffffffff8136b209>] ? device_add+0xc9/0x650
 [<ffffffffa0087000>] ? mhvtl_init+0x0/0x2db [mhvtl]
 [<ffffffff8137447b>] ? pm_runtime_init+0xcb/0xe0
 [<ffffffffa0087000>] ? mhvtl_init+0x0/0x2db [mhvtl]
 [<ffffffff8136b7ae>] ? device_register+0x1e/0x30
 [<ffffffffa0087070>] ? mhvtl_init+0x70/0x2db [mhvtl]
 [<ffffffffa0087000>] ? mhvtl_init+0x0/0x2db [mhvtl]
 [<ffffffff8100204c>] ? do_one_initcall+0x3c/0x1d0
 [<ffffffff810bc531>] ? sys_init_module+0xe1/0x250
 [<ffffffff8100b072>] ? system_call_fastpath+0x16/0x1b
---[ end trace 800cf9061a453d7b ]---
kobject_add_internal failed for pseudo_0 with -EEXIST, don't try to register things with the same name in the same directory.
Pid: 2827, comm: modprobe Tainted: G        W  ---------------    2.6.32 #1
Call Trace:
 [<ffffffff8128504d>] ? kobject_add_internal+0x15d/0x260
 [<ffffffff81285258>] ? kobject_add_varg+0x38/0x60
 [<ffffffff81285334>] ? kobject_add+0x44/0x70
 [<ffffffff8136b209>] ? device_add+0xc9/0x650
 [<ffffffffa0087000>] ? mhvtl_init+0x0/0x2db [mhvtl]
 [<ffffffff8137447b>] ? pm_runtime_init+0xcb/0xe0
 [<ffffffffa0087000>] ? mhvtl_init+0x0/0x2db [mhvtl]
 [<ffffffff8136b7ae>] ? device_register+0x1e/0x30
 [<ffffffffa0087070>] ? mhvtl_init+0x70/0x2db [mhvtl]
 [<ffffffffa0087000>] ? mhvtl_init+0x0/0x2db [mhvtl]
 [<ffffffff8100204c>] ? do_one_initcall+0x3c/0x1d0
 [<ffffffff810bc531>] ? sys_init_module+0xe1/0x250
 [<ffffffff8100b072>] ? system_call_fastpath+0x16/0x1b
mhvtl: device_register error: -17
Reply | Threaded
Open this post in threaded view
|

Re: FATAL:Error inserting mhvtl (/lib/modules/2.6.32/kernel/drivers/scsi/mhvtl.ko):Bad address.

Mark Harvey
Administrator
mhVTL kernel module uses name of pseudo_9 to avoid namespace conflict with scsi_debug (pseudo_0) module. Not sure what name scst uses. 

Sent from my iPhone

On 21 Jun 2014, at 13:09, "yushulinfeng [via mhVTL - A Linux Virtual Tape Library]" <[hidden email]> wrote:

sysfs: cannot create duplicate filename '/devices/pseudo_0'
Modules linked in: mhvtl(+)(U) scst_changer(U) scst_tape(U) scst(U) nls_utf8 fuse autofs4 sunrpc 8021q garp stp llc ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 iptable_filter ip_tables ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables ipv6 uinput ppdev parport_pc parport microcode e1000 snd_ens1371 snd_rawmidi snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc vmware_balloon sg i2c_piix4 i2c_core shpchp ext4 jbd2 mbcache sr_mod cdrom sd_mod mptspi mptscsih mptbase scsi_transport_spi pata_acpi ata_generic ata_piix dm_mirror dm_region_hash dm_log dm_mod [last unloaded: speedstep_lib]
Pid: 2827, comm: modprobe Tainted: G        W  ---------------    2.6.32 #1
Call Trace:
 [<ffffffff81071e27>] ? warn_slowpath_common+0x87/0xc0
 [<ffffffff81071f16>] ? warn_slowpath_fmt+0x46/0x50
 [<ffffffff81205f18>] ? sysfs_add_one+0xb8/0xd0
 [<ffffffff81205f98>] ? create_dir+0x68/0xb0
 [<ffffffff81206019>] ? sysfs_create_dir+0x39/0x50
 [<ffffffff81284fa9>] ? kobject_add_internal+0xb9/0x260
 [<ffffffff81285258>] ? kobject_add_varg+0x38/0x60
 [<ffffffff81285334>] ? kobject_add+0x44/0x70
 [<ffffffff8136b209>] ? device_add+0xc9/0x650
 [<ffffffffa0087000>] ? mhvtl_init+0x0/0x2db [mhvtl]
 [<ffffffff8137447b>] ? pm_runtime_init+0xcb/0xe0
 [<ffffffffa0087000>] ? mhvtl_init+0x0/0x2db [mhvtl]
 [<ffffffff8136b7ae>] ? device_register+0x1e/0x30
 [<ffffffffa0087070>] ? mhvtl_init+0x70/0x2db [mhvtl]
 [<ffffffffa0087000>] ? mhvtl_init+0x0/0x2db [mhvtl]
 [<ffffffff8100204c>] ? do_one_initcall+0x3c/0x1d0
 [<ffffffff810bc531>] ? sys_init_module+0xe1/0x250
 [<ffffffff8100b072>] ? system_call_fastpath+0x16/0x1b
---[ end trace 800cf9061a453d7b ]---
kobject_add_internal failed for pseudo_0 with -EEXIST, don't try to register things with the same name in the same directory.
Pid: 2827, comm: modprobe Tainted: G        W  ---------------    2.6.32 #1
Call Trace:
 [<ffffffff8128504d>] ? kobject_add_internal+0x15d/0x260
 [<ffffffff81285258>] ? kobject_add_varg+0x38/0x60
 [<ffffffff81285334>] ? kobject_add+0x44/0x70
 [<ffffffff8136b209>] ? device_add+0xc9/0x650
 [<ffffffffa0087000>] ? mhvtl_init+0x0/0x2db [mhvtl]
 [<ffffffff8137447b>] ? pm_runtime_init+0xcb/0xe0
 [<ffffffffa0087000>] ? mhvtl_init+0x0/0x2db [mhvtl]
 [<ffffffff8136b7ae>] ? device_register+0x1e/0x30
 [<ffffffffa0087070>] ? mhvtl_init+0x70/0x2db [mhvtl]
 [<ffffffffa0087000>] ? mhvtl_init+0x0/0x2db [mhvtl]
 [<ffffffff8100204c>] ? do_one_initcall+0x3c/0x1d0
 [<ffffffff810bc531>] ? sys_init_module+0xe1/0x250
 [<ffffffff8100b072>] ? system_call_fastpath+0x16/0x1b
mhvtl: device_register error: -17


To start a new topic under mhVTL - A Linux Virtual Tape Library, email [hidden email]
To unsubscribe from mhVTL - A Linux Virtual Tape Library, click here.
NAML
Regards from Australia
Mark Harvey
Reply | Threaded
Open this post in threaded view
|

Re: FATAL:Error inserting mhvtl (/lib/modules/2.6.32/kernel/drivers/scsi/mhvtl.ko):Bad address.

yushulinfeng
thank you all the same,I know the reason why the problem happen.Furthermore,can you help me solve the problem?Is there any solution to make it?I don't want to reinstall the kernel and it,because it costs me so many time already.
Reply | Threaded
Open this post in threaded view
|

Re: FATAL:Error inserting mhvtl (/lib/modules/2.6.32/kernel/drivers/scsi/mhvtl.ko):Bad address.

yushulinfeng
In reply to this post by Mark Harvey
after I view the member name by crippa.andrea ’s article.I enlightened so much.I can install first mhvtl,then install the scst.I pray
this may work it better.