7

I have a Seagate SCSI disk that is installed in my Kurwel 2500R sampler which I send files to via the computer. I had this system running on my Windows machine, but am not able to get it configured properly for Ubuntu 12.04

The SCSI disk is showing up in the BIOS, and in the Kurzweil, but I can't seem to get Ubuntu to see it. I have used GParted with no results. The SCSI drive is connected via a PCI slot in the computer.

lspci output for SCSI is:

04:00.0 SCSI storage controller: Tekram Technology Co.,Ltd. TRM-S1040 (rev 01)

More information:

$ lsblk 
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT 
sda 8:0 0 74.5G 0 disk 
 ├─sda1 8:1 0 72.5G 0 part / 
 ├─sda2 8:2 0 1K 0 part 
 └─sda5 8:5 0 2G 0 part (in gparted this partition is unreadable)
 └─cryptswap1 (dm-0) 252:0 0 2G 0 crypt sdb 8:16 0 931.5G 0 disk 
 └─sdb1 8:17 0 931.5G 0 part /media/trunk sr0 11:0 1 621.1M 0 rom

(none of these drives seem to be the 4 gig SCSI drive which is a SEAGATE)

lsscsi outputs this:

[0:0:0:0] disk ATA WDC WD800JD-75MS 10.0 /dev/sda
[1:0:0:0] cd/dvd HL-DT-ST DVDRAM GH22NS50 TN00 /dev/sr0
[2:0:0:0] disk ATA Hitachi HDT72101 ST6O /dev/sdb
[4:0:6:0] process Kurzweil K2500 3.02 -

(the bottom is my Kurzweil where the drive is installed, but this is SCSI 7 and I need to access the DRIVE inside the Kurzweil which is SCSI 2)

I have recently discovered that the PCI card I use 04:00.0 SCSI storage controller: Tekram Technology Co.,Ltd. TRM-S1040 (rev 01) would need a driver.

After googling, I found this article:

http://ubuntuforums.org/showthread.php?t=1535201

I installed the package kernel-patch-tekram-dc3x5_1.41-2_all.deb, hoping that this would get UBUNTU to recognize my drive. After reboot still the drive is absent. Below is a description of the driver. I need to know if this is the right one for the kernel I have?

"DC3x5 is a SCSI host by Tekram which is not supported out of the box by the Linux kernel. This patch adds support for the card to the Linux kernel. The cards supported are DC315 and DC395, both based on the TRM-S1040 chipset. This package supports 2.2.20 & 2.4.18 kernels. Older and newer 2.2.x and 2.4.x should work too. It should also work and will attempt to apply to 2.5 and 2.0 kernel versions"

Looks like I have 3.11.0-18-generic kernel so this won't work.

Ideas?

19
  • I'd wager you're missing a necessary kernel module. Can you post the output of your "lspci -v"? – James T Snell May 9 '14 at 23:17
  • What does lsblk show? – psusi May 9 '14 at 23:55
  • Looks like it's there just fine... you have /dev/sdb1 mounted in /media/trunk... – psusi May 10 '14 at 19:09
  • @psusi that is not the SCSI drive though. that is my other media drive. The SCSI drive is a 4 gig drive. – Kalamalka Kid May 10 '14 at 19:18
  • 1
    Seth suggested maybe doing a dual boot machine with the older Kernel that that driver is for. I guess that's the only option then. – Kalamalka Kid May 12 '14 at 18:26
2

It looks to me like the driver should be available in newer kernels (under the name dc395x), but might not be activated/compiled by default. Does a sudo modprobe dc395x help? According to this, it is the right module for your card.

11
  • hi thank you for your response. I am relatively new to ubuntu, so not sure exactly what steps to take. I typed in sudo modprobe dc395x in terminal but nothing happened. I do not know how to install a module, or even what a module is. ANy help is appreciated. – Kalamalka Kid Jul 31 '14 at 21:39
  • No error message after modprobe is a good sign already. After the modprobe, do the lssci again, do you see your drive now? Also, is dmesg | tail mentioning scsi devices? A kernel module is more or less a driver in this case. You can load it manually with modprobe, to load it automatically you add dc395x to /etc/modules. – noleti Aug 1 '14 at 1:09
  • lsscsi outputs the same as above ** [4:0:6:0] process Kurzweil K2500 3.02 - ** but no drive. The output of dmesg | tail [link](washttp://pastebin.ubuntu.com/7920713/) - – Kalamalka Kid Aug 1 '14 at 4:58
  • Also, i should state that the kernel I have now is 3.11.0 - 18 – Kalamalka Kid Aug 1 '14 at 5:15
  • 3.11 should also be fine. The dmesg output you posted only contained firewall messages, you can remove the link. Can you just add dc395x to /etc/modules and reboot to see if that changes anything in the lssci output, or if you get a /dev/scsi0 device or similar? – noleti Aug 1 '14 at 5:23
1

There are a couple options you can try.

1) Try obtaining a version of the kernel that you can patch. (Set up dual boot at you say Seth suggested in the comments) You can find versions of the kernel in the range your patch specifies here

2) Migrate your Windows installation to Virtual box

How to do either of these approaches is fully documented elsewhere and either approach triggers a different question which has likely been asked and answered long ago. I hesitate to create more duplication.

5
  • Link provided at Migrate above. – Elder Geek May 25 '14 at 23:17
  • I installed WIndows Virtual BOx (a fresh install of windows, not a migrated one) and this did not work, as the drive is not recognized in Ubuntu, so there is no way too add it. I saw the controller card come up in the device manager for the Virtual Machine, but it had error code 10, and would not let me access the card. – Kalamalka Kid Jul 31 '14 at 2:08
  • 1
    Did you obtain a patchable kernel as in step 1 of my answer above? – Elder Geek Jul 31 '14 at 15:53
  • yes I have obtained 2.4.18 kernel for the DC3x5 kernel patch, but do not know how to proceed with that.I keep hearing about modules, compiling, backing up stuff, but i have no clue what all that means. As mentioned above by noleti, it seems there is a module that works for the kernels up till 3.8 (i am running 3.11.0-18-generic now). cateee.net/lkddb/web-lkddb/SCSI_DC395x.html where do i go from here? – Kalamalka Kid Jul 31 '14 at 21:49
  • You could try this: cateee.net/autokernconf – Elder Geek Aug 2 '14 at 3:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.