WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: PCMCIA 16bit SCSI (Adaptec SlimSCSI 1460) support in TC ? (YES)  (Read 6272 times)

Offline libretto

  • Jr. Member
  • **
  • Posts: 64
PCMCIA 16bit SCSI (Adaptec SlimSCSI 1460) support in TC ? (YES)
« on: December 28, 2009, 08:53:40 PM »
Hi,
Anybody know how to enable this device in TC ?

Thanks
« Last Edit: January 23, 2010, 12:32:37 PM by libretto »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: PCMCIA 16bit SCSI (Adaptec SlimSCSI 1460) support in TC ?
« Reply #1 on: December 30, 2009, 04:38:49 PM »
There's no SCSI device support currently (outside of what's needed for USB and SATA), as it wouldn't make much sense: very few use those, so they should not bloat the base; but as an extension, they would need to be remastered in for the tce/other directories to be able to be on the SCSI drive.

To get support for your device, enable the needed module in the kernel configuration, "make modules", remaster the module in (or make an extension and put in /opt/tce). Just say if these instructions are too terse.
The only barriers that can stop you are the ones you create yourself.

Offline libretto

  • Jr. Member
  • **
  • Posts: 64
Re: PCMCIA 16bit SCSI (Adaptec SlimSCSI 1460) support in TC ?
« Reply #2 on: January 19, 2010, 07:55:32 PM »
Hi curaga,
This is currently out of my league to build or "make modules" from kernel. by the way this device use aha152x driver in Fedora. Any chance you might be able to "make" a module for this ?

Thanks

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14803
Re: PCMCIA 16bit SCSI (Adaptec SlimSCSI 1460) support in TC ?
« Reply #3 on: January 19, 2010, 08:03:43 PM »
..just realised I have a SlimSCSI 16-bit PCMCIA-to-SCSI adapter - I used to use it to connect to back-up tape drives  :P

What do you want to use the adapter for? If I get chance, I'll try to make an extension, but I no longer have anything to connect to the adapter to (and maybe not even the cable) in order to test things.

Offline libretto

  • Jr. Member
  • **
  • Posts: 64
Re: PCMCIA 16bit SCSI (Adaptec SlimSCSI 1460) support in TC ?
« Reply #4 on: January 19, 2010, 08:07:31 PM »
Hi Juanito,
I have a MO (640MB) drive. If you can "make" the extension it'll be great, I could use that MO again.
Thanks in advance.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14803
Re: PCMCIA 16bit SCSI (Adaptec SlimSCSI 1460) support in TC ?
« Reply #5 on: January 23, 2010, 05:44:25 AM »
You can try the extension here to see if it works: http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/tcz/src/aha152x_cs/

When I load the extension and then plug in the slim-scsi card, I get these modules loaded:
Code: [Select]
$ lsmod
Module                  Size  Used by    Tainted: P 
aha152x_cs             22540  1
scsi_transport_spi      9668  1 aha152x_cs
...
pcmcia                 13964  1 aha152x_cs

I suspect you will need at least one more driver for your MO drive, but lets see..

Offline libretto

  • Jr. Member
  • **
  • Posts: 64
Re: PCMCIA 16bit SCSI (Adaptec SlimSCSI 1460) support in TC ?
« Reply #6 on: January 23, 2010, 10:39:56 AM »
Thank you Juanito,
This is what I show:
Quote
$ lsmod
Module                  Size  Used by    Not tainted
...
aha152x_cs             22540  1
scsi_transport_spi      9668  1 aha152x_cs
pcmcia                 13964  1 aha152x_cs
firmware_class       3188 1 pcmcia
...
scsi_wait_scan       260  0
....
pcmcia_core         16976  3 pcmcia, yenta_socket,rsrc_nonstatic
....

But cann't see any new device under /mnt.
You must be right, looks like another driver is needed....... :(

Dios mio maybe you can do the "make" magic one more time ? ;) ;D

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: PCMCIA 16bit SCSI (Adaptec SlimSCSI 1460) support in TC ?
« Reply #7 on: January 23, 2010, 10:45:18 AM »
It should be shown as a normal disk (sda, sdb..). Anything in dmesg?

edit: Seems they were formatted like floppies, without a partition table. Rebuildfstab doesn't take such into account, so while a /mnt dir and a fstab entry won't appear on their own, you should still be able to mount it after creating a directory.
« Last Edit: January 23, 2010, 10:47:49 AM by curaga »
The only barriers that can stop you are the ones you create yourself.

Offline libretto

  • Jr. Member
  • **
  • Posts: 64
Re: PCMCIA 16bit SCSI (Adaptec SlimSCSI 1460) support in TC ?
« Reply #8 on: January 23, 2010, 11:07:29 AM »
Hi curaga,
Which device i should be looking at ?
Quote
...
SCSI subsystem initialized
...
aha152x: resetting bus...
aha152x0: vital data: rev=1, io=0x340 (0x340/0x340), irq=3, scsiid=7, reconnect=enabled, parity=enabled, synchronous= enabled, delay=100, extended translation=disabled
IRQ 3/aha152x: IRQF_DISABLE is not guaranteed on shared IRQs
aha152x0: trying software interrupt, ok.
IRQ 3/aha152x: IRQF_DISABLE is not guaranteed on shared IRQs
scsi0 : Adaptec 152x SCSI driver: $Revision: 2.7 $
(scsi0:0:0) 01 03 01 32 08
scsi 0:0:0:0: Optical Device      MITSBISH MCA-640        1700 PQ: 0  ANSI: 2
sd 0:0:0:0: ....
...
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
   sda:
as 0:0:0:0:  [sda] Attached SCSI removable disk
sd 0:0:0:0: Attached scsi generic sg0 type 7
....

Only hdcxx under /mnt no sdaxx listed.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: PCMCIA 16bit SCSI (Adaptec SlimSCSI 1460) support in TC ?
« Reply #9 on: January 23, 2010, 11:40:36 AM »
Yeah, exactly as I thought in my edit.

sudo mkdir /mnt/sda
sudo mount /dev/sda /mnt/sda

To let this happen automatically, you could partition the disk.
The only barriers that can stop you are the ones you create yourself.

Offline libretto

  • Jr. Member
  • **
  • Posts: 64
Re: PCMCIA 16bit SCSI (Adaptec SlimSCSI 1460) support in TC ?
« Reply #10 on: January 23, 2010, 11:49:02 AM »
Thank you curaga,

I now have my MO for TC.  ;D

Appreciated guys ! :D

Can add this extension to the Repository now it works.

How do I unmount ?
sudo unmount /mnt/sda
returns command not found ?

But i can use xfe to unmount sda then eject the drive. So what's the trick ??
« Last Edit: January 23, 2010, 12:07:56 PM by libretto »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14803
Re: PCMCIA 16bit SCSI (Adaptec SlimSCSI 1460) support in TC ?
« Reply #11 on: January 23, 2010, 12:21:56 PM »
The trick is:
Code: [Select]
$ sudo umount /mnt/sda  :)

Offline libretto

  • Jr. Member
  • **
  • Posts: 64
Re: PCMCIA 16bit SCSI (Adaptec SlimSCSI 1460) support in TC ?
« Reply #12 on: January 23, 2010, 12:27:15 PM »
 ;D
Thank you again Juanito.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14803
Re: PCMCIA 16bit SCSI (Adaptec SlimSCSI 1460) support in TC ? (YES)
« Reply #13 on: January 26, 2010, 09:31:29 AM »
aha152x_cs-2.6.29.1 extension posted