Re: [ANNOUNCE] kvm-88 release (CAN NOT install modules on debian/amd64/2.6.30)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marcelo Tosatti 提到:
> On Mon, Jul 13, 2009 at 12:01:25AM +0800, John Wong wrote:
>   
>> [/ramdisk/kvm-88/kvm/kernel/x86/kvm.ko] undefined!
>> WARNING: "__tracepoint_kvm_mmu_pagetable_walk"  
>> [/ramdisk/kvm-88/kvm/kernel/x86/kvm.ko] undefined!
>> WARNING: "__tracepoint_kvm_msi_set_irq"  
>> [/ramdisk/kvm-88/kvm/kernel/x86/kvm.ko] undefined!
>>
>> when i depmod -a after install, i see some warning message like this:
>> /sbin/depmod -a
>> WARNING: Module /lib/modules/2.6.30-1-amd64/extra/kvm-intel.ko ignored,  
>> due to loop
>> WARNING: Module /lib/modules/2.6.30-1-amd64/extra/kvm-amd.ko ignored,  
>> due to loop
>> WARNING: Loop detected: /lib/modules/2.6.30-1-amd64/extra/kvm.ko which  
>> needs kvm.ko again!
>> WARNING: Module /lib/modules/2.6.30-1-amd64/extra/kvm.ko ignored, due to  
>> loop
>>
>> when i insmod ./kvm.ko, i see the error message like this:
>> sudo insmod ./kvm.ko
>> insmod: error inserting './kvm.ko': -1 Unknown symbol in module
>> and i can not load the modules on my debian/amd64 kernel-2.6.30
>>
>> qemu-system-x86_64(kvm-88.tar.gz) is work on  my debian with  
>> kvm-kmod-2.6.30.1-rc2.tar.gz
>>
>> Please help, thank you.
>>     
>
> John,
>
> The attached patch should fix this.
>
>   
Hi, Marcelo
I have new problem to compile kvm-88 on debian/amd64/(Linux redcat
2.6.30-1-amd64 #1 SMP Sat Jul 18 12:55:06 UTC 2009 x86_64 GNU/Linux)

I had used "./configure --kerneldir=/usr/src/linux"
and i do "find /usr/src/linux -name 'scsi.h'" then the output is:
/usr/src/linux/linux-headers-2.6.30-1-amd64.orig/include/config/i2o/scsi.h
/usr/src/linux/linux-headers-2.6.30-1-amd64.orig/include/config/scsi.h
/usr/src/linux/include/scsi/scsi.h
/usr/src/linux/include/config/i2o/scsi.h
/usr/src/linux/include/config/scsi.h

Please help again, thank you.

The compile error message like this:

/ramdisk/kvm-88/hw/scsi-generic.c:45:23: warning: scsi/scsi.h: No such
file or directory
/ramdisk/kvm-88/hw/scsi-generic.c: In function ‘scsi_command_complete’:
/ramdisk/kvm-88/hw/scsi-generic.c:165: error: ‘BUSY’ undeclared (first
use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:165: error: (Each undeclared
identifier is reported only once
/ramdisk/kvm-88/hw/scsi-generic.c:165: error: for each function it
appears in.)
/ramdisk/kvm-88/hw/scsi-generic.c:173: error: ‘CHECK_CONDITION’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:175: error: ‘GOOD’ undeclared (first
use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c: In function ‘scsi_read_data’:
/ramdisk/kvm-88/hw/scsi-generic.c:266: error: ‘REQUEST_SENSE’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c: In function ‘scsi_write_complete’:
/ramdisk/kvm-88/hw/scsi-generic.c:300: error: ‘MODE_SELECT’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:301: error: ‘TYPE_TAPE’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c: In function ‘scsi_length’:
/ramdisk/kvm-88/hw/scsi-generic.c:382: error: ‘TEST_UNIT_READY’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:383: error: ‘REZERO_UNIT’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:384: error: ‘START_STOP’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:385: error: ‘SEEK_6’ undeclared (first
use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:386: error: ‘WRITE_FILEMARKS’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:387: error: ‘SPACE’ undeclared (first
use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:388: error: ‘ERASE’ undeclared (first
use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:389: error: ‘ALLOW_MEDIUM_REMOVAL’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:390: error: ‘VERIFY’ undeclared (first
use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:391: error: ‘SEEK_10’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:392: error: ‘SYNCHRONIZE_CACHE’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:393: error: ‘LOCK_UNLOCK_CACHE’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:396: error: ‘SET_LIMITS’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:397: error: ‘WRITE_LONG’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:398: error: ‘MOVE_MEDIUM’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:399: error: ‘UPDATE_BLOCK’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:402: error: ‘MODE_SENSE’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:404: error: ‘WRITE_SAME’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:407: error: ‘READ_CAPACITY’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:410: error: ‘READ_BLOCK_LIMITS’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:413: error: ‘READ_POSITION’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:416: error: ‘SEND_VOLUME_TAG’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:419: error: ‘MEDIUM_SCAN’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:422: error: ‘WRITE_10’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:424: error: ‘WRITE_VERIFY’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:425: error: ‘WRITE_6’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:426: error: ‘WRITE_12’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:427: error: ‘WRITE_VERIFY_12’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:430: error: ‘READ_10’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:432: error: ‘READ_6’ undeclared (first
use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:433: error: ‘READ_REVERSE’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:434: error: ‘RECOVER_BUFFERED_DATA’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:435: error: ‘READ_12’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:438: error: ‘INQUIRY’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c: In function ‘scsi_stream_length’:
/ramdisk/kvm-88/hw/scsi-generic.c:449: error: ‘READ_6’ undeclared (first
use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:450: error: ‘READ_REVERSE’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:451: error: ‘RECOVER_BUFFERED_DATA’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:452: error: ‘WRITE_6’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:459: error: ‘START_STOP’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c: In function ‘is_write’:
/ramdisk/kvm-88/hw/scsi-generic.c:474: error: ‘COPY’ undeclared (first
use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:475: error: ‘COPY_VERIFY’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:476: error: ‘COMPARE’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:477: error: ‘CHANGE_DEFINITION’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:478: error: ‘LOG_SELECT’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:479: error: ‘MODE_SELECT’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:480: error: ‘MODE_SELECT_10’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:481: error: ‘SEND_DIAGNOSTIC’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:482: error: ‘WRITE_BUFFER’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:483: error: ‘FORMAT_UNIT’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:484: error: ‘REASSIGN_BLOCKS’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:485: error: ‘RESERVE’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:486: error: ‘SEARCH_EQUAL’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:487: error: ‘SEARCH_HIGH’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:488: error: ‘SEARCH_LOW’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:489: error: ‘WRITE_6’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:490: error: ‘WRITE_10’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:491: error: ‘WRITE_VERIFY’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:492: error: ‘UPDATE_BLOCK’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:493: error: ‘WRITE_LONG’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:494: error: ‘WRITE_SAME’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:495: error: ‘SEARCH_HIGH_12’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:496: error: ‘SEARCH_EQUAL_12’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:497: error: ‘SEARCH_LOW_12’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:498: error: ‘WRITE_12’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:499: error: ‘WRITE_VERIFY_12’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:500: error: ‘SET_WINDOW’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:501: error: ‘MEDIUM_SCAN’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:502: error: ‘SEND_VOLUME_TAG’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:503: error: ‘WRITE_LONG_2’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c: In function ‘scsi_send_command’:
/ramdisk/kvm-88/hw/scsi-generic.c:523: error: ‘TYPE_TAPE’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:538: error: ‘REQUEST_SENSE’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:544: error: ‘ILLEGAL_REQUEST’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:551: error: ‘CHECK_CONDITION’
undeclared (first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c: In function ‘get_blocksize’:
/ramdisk/kvm-88/hw/scsi-generic.c:605: error: ‘READ_CAPACITY’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c: In function ‘get_stream_blocksize’:
/ramdisk/kvm-88/hw/scsi-generic.c:635: error: ‘MODE_SENSE’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c: In function ‘scsi_generic_init’:
/ramdisk/kvm-88/hw/scsi-generic.c:713: error: ‘TYPE_TAPE’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:721: error: ‘TYPE_ROM’ undeclared
(first use in this function)
/ramdisk/kvm-88/hw/scsi-generic.c:721: error: ‘TYPE_WORM’ undeclared
(first use in this function)
make: *** [scsi-generic.o] Error 1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux