It seems `dmesg` requires root privileges. I'll try another approach to find the SCSI host by listing the contents of `/sys/class/scsi_host/`.