Lines Matching refs:debug

306 		debug(5,  in invalid_uscsi_operation()
313 debug(5, in invalid_uscsi_operation()
323 debug(5, in invalid_uscsi_operation()
354 debug(5, "Read capacity : %d - %d errno = %d\n", in get_sector_size()
360 debug(5, "sector size = 0x%x(%d)\n", in get_sector_size()
435 debug(5, "Initialising server\n"); in smserverproc_get_serverinfo_1()
439 debug(1, "init_server did not do the job. " in smserverproc_get_serverinfo_1()
448 debug(5, "smserverproc thread %d running....\n", pthread_self()); in smserverproc_get_serverinfo_1()
532 debug(5, "INQUIRY failed: rv = %d uscsi_status = " in get_device_type_scsi()
539 debug(5, "dev_type %d\n", dev_type); in get_device_type_scsi()
553 debug(5, "get_media_capacity:\n"); in get_media_capacity()
574 debug(5, "Retrieving media info failed: %d - %d\n", ret_val, in get_media_capacity()
579 (void) debug(1, "Invalid command for media\n"); in get_media_capacity()
587 (void) debug(5, "no media in drive\n"); in get_media_capacity()
598 debug(1, "capacity is %x %x %x %x = %x", data[4], data[5], data[6], in get_media_capacity()
644 debug(5, "inquiry failed: %d - %d errno = %d\n", in scsi_zip_format()
661 debug(5, "Read capacity : %d - %d errno = %d\n", in scsi_zip_format()
697 debug(1, in scsi_zip_format()
711 debug(1, in scsi_zip_format()
723 debug(1, "Format option %d not supported!!\n", in scsi_zip_format()
731 debug(5, "immediate_flag set\n"); in scsi_zip_format()
735 debug(5, "cdb: %x ", cdb[0]); in scsi_zip_format()
736 debug(5, "%x %x ", cdb[1], cdb[2]); in scsi_zip_format()
737 debug(5, "%x %x %x\n", cdb[3], cdb[4], cdb[5]); in scsi_zip_format()
738 debug(5, "data: %x %x %x %x\n", data[0], data[1], data[2], data[3]); in scsi_zip_format()
748 debug(5, "Format failed : %d - uscsi_status = %d errno = %d\n", in scsi_zip_format()
773 debug(5, "scsi_ls120_format:\n"); in scsi_ls120_format()
797 debug(5, "cdb: %x %x %x ... %x", cdb[0], cdb[1], cdb[2], cdb[8]); in scsi_ls120_format()
798 debug(5, "data: %x %x %x %x\n", data[0], data[1], data[2], data[3]); in scsi_ls120_format()
799 debug(5, " : %x %x %x %x\n", data[4], data[5], data[6], data[7]); in scsi_ls120_format()
800 debug(5, " : %x %x %x %x\n", data[8], data[9], data[10], data[11]); in scsi_ls120_format()
804 debug(1, "Format not supported\n"); in scsi_ls120_format()
812 debug(1, "Format option not specified!!\n"); in scsi_ls120_format()
830 debug(1, "Format failed failed: %d - %d\n", ret_val, in scsi_ls120_format()
836 debug(1, "Invalid command for media\n"); in scsi_ls120_format()
841 debug(1, "Incompatible media.\n"); in scsi_ls120_format()
891 debug(5, "inquiry failed: %d - %d errno = %d\n", in scsi_format()
908 debug(5, "Read capacity : %d - %d errno = %d\n", in scsi_format()
931 debug(5, in scsi_format()
938 debug(1, in scsi_format()
950 debug(1, "Format option %d not supported!!\n", in scsi_format()
966 debug(5, "Format failed failed: %d - %d errno = %d\n", in scsi_format()
984 debug(10, "SCSI MEDIA STATUS CALLED \n"); in scsi_media_status()
1002 debug(5, "Modesense for 0x3f pages failed: %d-%d errno=%d\n", in scsi_media_status()
1009 debug(5, "Modesense failed: %d - %d errno = %d\n", in scsi_media_status()
1020 debug(5, "cur status %d\n", cur_status); in scsi_media_status()
1035 debug(10, "Getting media status\n"); in scsi_zip_media_status()
1052 debug(5, "Cartridge protect operation failed: " in scsi_zip_media_status()
1059 debug(1, "Disk not present. \n"); in scsi_zip_media_status()
1064 debug(5, "MODE 0x%x / %d.\n", mode, mode); in scsi_zip_media_status()
1087 debug(5, "status %d \n", status); in scsi_zip_media_status()
1100 debug(5, "SCSI REASSIGN CALLED block = %lld\n", block); in scsi_reassign_block()
1121 debug(5, "Reassign block failed: %d - %d errno = %d\n", in scsi_reassign_block()
1138 debug(10, "MODE SENSE(6) - page_code = 0x%x\n", page_code); in get_mode_page()
1156 debug(5, "Modesense failed: %d - %d errno = %d\n", in get_mode_page()
1176 debug(10, "SCSI ZIP WRITE PROTECT CALLED \n"); in scsi_zip_write_protect()
1198 debug(5, "inquiry failed: %d - %d errno = %d\n", in scsi_zip_write_protect()
1205 debug(5, "SCSI device\n"); in scsi_zip_write_protect()
1208 debug(5, "ATAPI device\n"); in scsi_zip_write_protect()
1228 debug(1, "Invalid mode 0x%x specified\n", in scsi_zip_write_protect()
1250 debug(5, "Odd len passwd for ATAPI device!\n"); in scsi_zip_write_protect()
1274 debug(5, "Cartridge-protect operation failed: rv " in scsi_zip_write_protect()
1280 debug(5, "Protection Request with wrong " in scsi_zip_write_protect()
1346 debug(5, "sm_server_thread[%d]: door_create() failed", in sm_server_thread()
1373 debug(5, "thr[%d] bound to Client Door[%d]", pthread_self(), in sm_server_thread()
1417 debug(1, "cleanup[%d]: door_revoke() Death Door[%d]", in cleanup()
1431 debug(1, "cleanup[%d]: release shared memory", pthread_self()); in cleanup()
1442 debug(1, "cleanup[%d]: close(%d) target device", pthread_self(), in cleanup()
1454 debug(1, "cleanup[%d]: door_unbind() of Client Door[%d]", in cleanup()
1462 debug(1, "cleanup[%d]: door_revoke() Client Door[%d]", in cleanup()
1473 debug(5, "cleanup[%d] ...exiting\n", pthread_self()); in cleanup()
1519 debug(10, "sm_door_server_create[%d]: entering...\n", pthread_self()); in sm_door_server_create()
1526 debug(8, "sm_door_server_create[%d]: Exiting without creating " in sm_door_server_create()
1554 debug(5, "Exiting sm_door_server_create[%d] after creating thr[%d].\n", in sm_door_server_create()
1620 debug(5, "read failed: %d - %d errno = %d\n", in raw_read()
1622 debug(5, "buflen = 0x%x resid = 0x%x sector size = %d\n", in raw_read()
1624 debug(5, "cdb addr: %x %x %x %x \n", cdb.g1_addr3, in raw_read()
1626 debug(5, "cdb count: %x %x\n", cdb.g1_count1, in raw_read()
1681 debug(5, "write failed: %d - %d errno = %d\n", in raw_write()
1683 debug(5, "buflen = 0x%x resid = 0x%x sector size = %d\n", in raw_write()
1685 debug(5, "cdb addr: %x %x %x %x \n", cdb.g1_addr3, in raw_write()
1687 debug(5, "cdb count: %x %x\n", cdb.g1_count1, in raw_write()
1812 debug(5, "mmap failed. errno=%d\n", errno); in set_shfd()
1834 debug(5, "Mode sense failed\n"); in reassign_block()
1848 debug(5, "AWRE bit not set\n"); in reassign_block()
1859 debug(5, "REASSIGN BLOCK: sec size = 0x%x\n", sector_size); in reassign_block()
1872 debug(5, "Reading the block %d\n", in reassign_block()
1891 debug(5, "Writing the block %d\n", in reassign_block()
1908 debug(5, "Reassign failed: %d - %d errno = %d\n", in reassign_block()
1943 debug(1, "death_servproc[%d]: argp = 0x%p " in death_servproc()
1984 debug(10, "client_servproc[%d]...\n", pthread_self()); in client_servproc()
1987 debug(5, "client_servproc[%d]: req = DOOR_UNREF_DATA\n", in client_servproc()
1989 debug(5, "Client has exited. Cleaning up resources\n"); in client_servproc()
2004 debug(5, "client_servproc[%d]: req = %s\n", pthread_self(), in client_servproc()
2018 debug(5, "client_servproc: unknown command %d\n", req->in.cnum); in client_servproc()
2045 debug(10, " arg size = %d blk num=0x%x nbytes = 0x%x \n", in client_servproc()
2076 debug(5, "USCSI CMD 0x%x requested.\n", in client_servproc()
2090 debug(5, "uscsi_cmd failed: uscsi_buflen=0x%x " in client_servproc()
2107 debug(5, "uscsi_cmd failed: %d - %d errno = %d\n", in client_servproc()
2145 debug(5, "inquiry failed: %d - %d errno = %d\n", in client_servproc()
2150 debug(5, "%s\n", inq.inq_vid); in client_servproc()
2151 debug(5, "%s\n", rmsvc.retget_device_info.sm_vendor_name); in client_servproc()
2169 debug(5, "Vendor name = %s\n", in client_servproc()
2171 debug(5, "product name = %s\n", in client_servproc()
2173 debug(5, "Firmware revision = %s\n", in client_servproc()
2196 debug(5, "DKIOCGMEDIAINFO failed; using " in client_servproc()
2205 debug(5, "SCMD_READ_FORMAT_CAP failed"); in client_servproc()
2245 debug(5, "Cannot determine " in client_servproc()
2251 debug(5, "DKIOCGGEOM ioctl failed"); in client_servproc()
2260 debug(5, "DKIOCG_PHYGEOM " in client_servproc()
2288 debug(1, "properties are: lbasize = %d, cap = %llu", in client_servproc()
2374 debug(5, "Request sense failed: %d - %d errno = %d\n", in client_servproc()
2381 debug(5, "format failed!\n"); in client_servproc()
2409 debug(10, "Exiting client server...\n"); in client_servproc()
2433 debug(10, "Entering main_servproc[%d].\n", pthread_self()); in main_servproc()
2444 debug(5, "argp is NULL\n"); in main_servproc()
2456 debug(5, "req = %s arg_size = 0x%x \n", in main_servproc()
2470 debug(5, "main_servproc: unknown command 0x%x\n", in main_servproc()
2489 debug(5, "ndesc = %d\n", ndesc); in main_servproc()
2494 debug(5, "Checking file descriptor of target device\n"); in main_servproc()
2502 debug(5, "descriptor = %d st_mode = 0x%lx\n", in main_servproc()
2540 debug(5, "ddata = 0x%p \n", (void *)ddata); in main_servproc()
2544 debug(5, "door_server_create called.\n"); in main_servproc()
2581 debug(5, "main_servproc[%d]: Client Door = %d, " in main_servproc()
2606 debug(5, "retok.cnum = 0x%x\n", retok.cnum); in main_servproc()
2615 debug(10, "exiting main_servproc. \n"); in main_servproc()
2663 debug(10, "init_server running\n"); in init_server()
2714 debug(1, "main door_create"); in init_server()
2721 debug(5, "could not open %s.\n", smedia_service); in init_server()
2727 debug(1, "main fattach"); in init_server()
2764 debug(10, "init_server completed successfully\n"); in init_server()
2862 debug(5, in closedown()
2882 debug(5, in closedown()
2948 debug(1, gettext("server started by port monitor.\n")); in main()
2999 debug(1, gettext("server started manually.\n")); in main()
3026 debug(5, "Invalid mode\n"); in scsi_floppy_write_protect()
3044 debug(5, "get_floppy_geom: capacity = 0x%x\n", capacity); in get_floppy_geom()
3078 debug(5, "unknown capacity type %d\n", capacity); in get_floppy_geom()
3082 debug(5, "get_floppy_geom: setting cyl = %d, nsect = %d, head = %d", in get_floppy_geom()
3100 debug(5, "scsi_floppy_format:\n"); in scsi_floppy_format()
3110 debug(1, "Format not supported\n"); in scsi_floppy_format()
3119 debug(1, "Format option not specified!!\n"); in scsi_floppy_format()
3173 debug(5, "cdb: %x %x %x ... %x", cdb[0], cdb[1], cdb[2], cdb[8]); in scsi_floppy_format()
3174 debug(5, "data: %x %x %x %x\n", data[0], data[1], data[2], data[3]); in scsi_floppy_format()
3175 debug(5, " : %x %x %x %x\n", data[4], data[5], data[6], data[7]); in scsi_floppy_format()
3176 debug(5, " : %x %x %x %x\n", data[8], data[9], data[10], data[11]); in scsi_floppy_format()
3187 debug(5, "Retrieving media info failed: %d - %d\n", in scsi_floppy_format()
3191 debug(5, "Invalid command for media\n"); in scsi_floppy_format()
3197 debug(5, "Incompatible media.\n"); in scsi_floppy_format()
3208 debug(5, "Retrieving media info failed: %d - %d\n", in scsi_floppy_format()
3218 debug(5, "Incompatible media.\n"); in scsi_floppy_format()
3226 debug(5, "formatting done!"); in scsi_floppy_format()
3242 debug(5, "SCSI MEDIA STATUS CALLED \n"); in scsi_floppy_media_status()
3273 debug(1, "Modesense failed: %d - %d\n", in scsi_floppy_media_status()
3278 debug(5, "Modesense succeeded: 0x%x\n", modeh.device_specific); in scsi_floppy_media_status()