Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6 kernel for emulating 2.6 drivers?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nlieb
n00b
n00b


Joined: 01 Mar 2013
Posts: 12

PostPosted: Fri Mar 01, 2013 9:21 am    Post subject: 2.6 kernel for emulating 2.6 drivers? Reply with quote

First post: new to Gentoo, haven't even compiled my kernel yet. Read through the how to and it seems straightforward enough. I'm writing because I need hardware buying advice, ie, I would like to ask: if I buy this hardware will it work with my linux?

There's a really really cheap raid controller I have my eye on that's on ebay, a 3Ware 9550SX-12SI. Does absolutely everything I need for literally a tenth to a twentieth the cost of what I could get new today. Only problem is, being old, its latest drivers are for the 2.6 kernel. Ideally, I would run open-source drivers, but I'm not sure if there are any. If there aren't, my other idea was that it might be possible to emulate the 2.6 kernel within my compiled 3.* environment, using 2.6 to pass data to 3.*. Does anyone have any ideas about how I might go about doing this? Otherwise, I'll just find another card, just sounded like fun trying to get this working.

Thanks,

Ned
Back to top
View user's profile Send private message
nlieb
n00b
n00b


Joined: 01 Mar 2013
Posts: 12

PostPosted: Fri Mar 01, 2013 9:27 am    Post subject: Reply with quote

It strikes me that I could just install in 2.6, but then forever after I'd be restricted to 2.6.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri Mar 01, 2013 11:01 am    Post subject: Reply with quote

Just check if kernel 3x have drivers for it, you're 2x->3x is a no go.

As usual many hardware vendors does a basic drivers for kernel X so they can say it's working under linux and drop their support after, most of the time they gave help to the open driver maintainer to make it work.

I'm not sure if anyone really seriously has used vendor provided drivers
Back to top
View user's profile Send private message
nlieb
n00b
n00b


Joined: 01 Mar 2013
Posts: 12

PostPosted: Fri Mar 01, 2013 3:46 pm    Post subject: Reply with quote

krinn wrote:
Just check if kernel 3x have drivers for it, you're 2x->3x is a no go.

As usual many hardware vendors does a basic drivers for kernel X so they can say it's working under linux and drop their support after, most of the time they gave help to the open driver maintainer to make it work.

I'm not sure if anyone really seriously has used vendor provided drivers


How would I find out whether or not someone has continued working on these drivers? Is there a list somewhere of drivers included with the kernel?
Back to top
View user's profile Send private message
Otamay
n00b
n00b


Joined: 04 Apr 2011
Posts: 18

PostPosted: Fri Mar 01, 2013 4:07 pm    Post subject: Reply with quote

From http://www.3ware.com/support/OS-Support.asp#lincon :

Quote:

9550SX(U) Series

Officially supported Linux distributions (x86 & x86_64) versions
Fedora Core 6, 7, 8, 9, 10, 11
RedHat EL 5,5.1, 5.2, 5.3 ,and 5.4
Open SuSE 9.3,10,10.2,10.3, 11.0, 11.1
SuSE Enterprise (SLES) 10 , 10 SP1, 10 SP2, 11
Other Linux distributions supported with drivers in 3ware KB article 14546 http://www.3ware.com/KB/article.aspx?id=14546 (x86 & x86_64) versions unless stated otherwise
RedHat 7.3/8.0/9.0 (x86)
RedHatAS/ES/WS3 original/update1/update2/update3/update4/update5/update6/update7/update8
RedHatAS/ES/EL4 original/update2/update3/update4
CentOS 3.0/3.1/3.2/3.3/3.5/3.6/3.7/3.8
CentOS 4.0/4.2/4.3/4.4
CentOS 5.0/5.1
SuSE Linux Professional 9.3/10/10.1/10.2
SuSE Enterprise (SLES) 10 , 10 SP1, 10 SP2, 11
Mandriva
Debian Sarge 3.1
Debian Sarge 4.0 etch
Scientific Linux 3.08/4.2/4.4
Ubuntu Linux 6.06/6.1 (driver provided, but support already built in)
Linux 2.6.14 kernel or greater includes a driver for the 9550SX(U) and 7000/8000/9500S/9590SE series controllers
OpenSolaris

3Driver install diskette available in 3ware KB article 14546 http://www.3ware.com/kb/article.aspx?id=14546
4All 9550SX(U) drivers are backward compatible and can be used with the 9500S series controller


It says that the module is included in the kernel mainline since 2.6.14.

According to google "modprobe 9550sx" , the module is named "3w-9xxx" which is under Device Drivers -> SCSI device support -> SCSI low-level drivers . I think it should work.

--EDIT--
(Checked under 3.8.0 kernel)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54254
Location: 56N 3W

PostPosted: Fri Mar 01, 2013 4:17 pm    Post subject: Reply with quote

nlieb,
The 3.8.0 kernel says:-
Code:
CONFIG_SCSI_3W_9XXX:                                                           │ 
  │                                                                                │ 
  │ This driver supports the 9000 series 3ware SATA-RAID cards.                    │ 
  │                                                                                │ 
  │ <http://www.amcc.com>                                                          │ 
  │                                                                                │ 
  │ Please read the comments at the top of                                         │ 
  │ <file:drivers/scsi/3w-9xxx.c>.                                                 │ 
  │                                                                                │ 
  │ Symbol: SCSI_3W_9XXX [=n]                                                      │ 
  │ Type  : tristate                                                               │ 
  │ Prompt: 3ware 9xxx SATA-RAID support                                           │ 
  │   Defined at drivers/scsi/Kconfig:402                                          │ 
  │   Depends on: SCSI_LOWLEVEL [=y] && PCI [=y] && SCSI [=y]                      │ 
  │   Location:                                                                    │ 
  │     -> Device Drivers                                                          │ 
  │       -> SCSI device support                                                   │ 
  │         -> SCSI low-level drivers (SCSI_LOWLEVEL [=y])       

That looks promising for a 3Ware 9550SX-12SI.

Without the PCI Vendor and DeviceIDs its not possible to say more.
The cards that Google has turned up for me are all PCI-X cards. Thats a standard than was only ever used in servers.
If you can get the ebay vendor to provide the Vendor and Device IDs we can check for a curent linux driver, ortherwise, do you feel lucky?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nlieb
n00b
n00b


Joined: 01 Mar 2013
Posts: 12

PostPosted: Fri Mar 01, 2013 8:46 pm    Post subject: Reply with quote

NeddySeagoon wrote:
nlieb,
The 3.8.0 kernel says:-
Code:
CONFIG_SCSI_3W_9XXX:                                                           │ 
  │                                                                                │ 
  │ This driver supports the 9000 series 3ware SATA-RAID cards.                    │ 
  │                                                                                │ 
  │ <http://www.amcc.com>                                                          │ 
  │                                                                                │ 
  │ Please read the comments at the top of                                         │ 
  │ <file:drivers/scsi/3w-9xxx.c>.                                                 │ 
  │                                                                                │ 
  │ Symbol: SCSI_3W_9XXX [=n]                                                      │ 
  │ Type  : tristate                                                               │ 
  │ Prompt: 3ware 9xxx SATA-RAID support                                           │ 
  │   Defined at drivers/scsi/Kconfig:402                                          │ 
  │   Depends on: SCSI_LOWLEVEL [=y] && PCI [=y] && SCSI [=y]                      │ 
  │   Location:                                                                    │ 
  │     -> Device Drivers                                                          │ 
  │       -> SCSI device support                                                   │ 
  │         -> SCSI low-level drivers (SCSI_LOWLEVEL [=y])       

That looks promising for a 3Ware 9550SX-12SI.

Without the PCI Vendor and DeviceIDs its not possible to say more.
The cards that Google has turned up for me are all PCI-X cards. Thats a standard than was only ever used in servers.
If you can get the ebay vendor to provide the Vendor and Device IDs we can check for a curent linux driver, ortherwise, do you feel lucky?


No problem on the pci-x, my computer is based off of an aging tyan workstation motherboard with pci-x support. Actually, pci-x is preferable to pci-e since besides the one I'm using for my video card I only have one additional pci-e slot.

LSI, which bought 3ware, still provides all of the documentation, so I'll see whether or not I can look up those details.
Back to top
View user's profile Send private message
nlieb
n00b
n00b


Joined: 01 Mar 2013
Posts: 12

PostPosted: Fri Mar 01, 2013 10:35 pm    Post subject: Reply with quote

No luck with the documentation. I'll try the seller.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54254
Location: 56N 3W

PostPosted: Fri Mar 01, 2013 10:58 pm    Post subject: Reply with quote

nlieb,

Did you do what it said in the kernel help and
Code:
Please read the comments at the top of                                         │
  │ <file:drivers/scsi/3w-9xxx.c>.


Code:
   2.26.02.004 - Add support for 9550SX controllers.
   2.26.02.005 - Fix use_sg == 0 mapping on systems with 4GB or higher.
   2.26.02.006 - Fix 9550SX pchip reset timeout


Thats your card, if you win the auction.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum