SliTaz SliTaz Forum

You are not logged in.

#1 2017-05-15 19:49:49

st_user
Member
Registered: 2017-05-15
Posts: 29

mptbase module from linux kernel drivers to support LSI storage adapters

Hi,

I'm trying to get a family of LSI storage adapters to work on my SliTaz.

I've noticed that one of the important modules (mptbase from drivers/message) is not included in the kernel default configuration. I would assume it should be in the linux-scsi SliTaz package but it's not there either.

Generally speaking, I've gone through all the linux kernel packages (starting with linux- for kernel 3.x) and am not seeing that modules from drivers/message are included anywhere.

Are they excluded due to particular reason? What would be the best way for me to proceed in order not to diverge too far from the default SliTaz kernel and kernel packages?

As a test case, without this module no disks are detected behind VirtualBox SCSI storage adapter switched to LSI logic emulation mode.

Offline

#2 2017-05-15 20:54:24

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: mptbase module from linux kernel drivers to support LSI storage adapters

as root:

tazpkg -gi linux-scsi

to install SCSI drivers - to see,  if the drive is in, I need the output of lspci...

Offline

#3 2017-05-16 17:06:55

st_user
Member
Registered: 2017-05-15
Posts: 29

Re: mptbase module from linux kernel drivers to support LSI storage adapters

linux-scsi package is installed but the module is not included.

this is the controller:

00:14.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI

Offline

#4 2017-05-17 06:42:44

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: mptbase module from linux kernel drivers to support LSI storage adapters

are you able to compile the kernel?

http://doc.slitaz.org/en:guides:kernel

and try this config

CONFIG_FUSION=y

CONFIG_FUSION_SPI=m

CONFIG_FUSION_FC=m

CONFIG_FUSION_SAS=m

CONFIG_FUSION_MAX_SGE=40

CONFIG_FUSION_CTL=m

CONFIG_FUSION_LAN=m

# CONFIG_FUSION_LOGGING is not set

Offline

#5 2017-05-17 17:29:44

st_user
Member
Registered: 2017-05-15
Posts: 29

Re: mptbase module from linux kernel drivers to support LSI storage adapters

Yes, I've tried steps described on that page but /usr/bin/get-linux-source script fails to apply some of the patches to the vanilla kernel. I'm using default SliTaz 32 bit kernel. What I see in /usr/src is this:

[c]drwxr-xr-x    3 root     root          4096 May 16 19:02 kernel-patches
lrwxrwxrwx    1 root     root            28 Mar 19 19:31 linux -> /usr/src/linux-3.2.71-slitaz
drwxrwxr-x   25 root     root          4096 May 16 19:05 linux-3.2.71
drwxr-xr-x   21 root     root          4096 May 16 19:05 linux-3.2.71-slitaz[/c]
The make prepare also fails if I run in linux-3.2.71-slitaz folder. What I see in the linux-3.2.71-slitaz folder is just config files:

[c]scripts/Makefile.build:44: /usr/src/linux-3.2.71-slitaz/arch/x86/tools/Makefile: No such file or directory
make[1]: *** No rule to make target '/usr/src/linux-3.2.71-slitaz/arch/x86/tools/Makefile'.  Stop.
/usr/src/linux-3.2.71-slitaz/arch/x86/Makefile:121: recipe for target 'archscripts' failed[/c]
I haven't read the scripts, but my guess is that running /usr/bin/get-linux-source script should copy sources to the slitaz kernel folder after applying patches but since patching fails, it remains empty?..

I've managed to compile kernel using cooklinux but now I'm trying to understand how to get this kernel to the image built from a slitaz flavor with tazlito gen-distro.

Offline

#6 2017-05-18 05:08:36

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: mptbase module from linux kernel drivers to support LSI storage adapters

I did not compile a kernel since two years with SliTaz - maybe somebody else can help - I have no time now....

Offline

#7 2017-05-19 16:04:39

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: mptbase module from linux kernel drivers to support LSI storage adapters

You run make menuconfig on folder /usr/src/linux-3.2.71-slitaz

not on /usr/src/linux-3.2.71-slitaz/arch/x86/tools

after save menuconfig, run make and make modules_install

copy bzImage from /usr/src/linux-3.2.71-slitaz/arch/x86/boot/bzImage to your folder /boot and rename it to vmlinuz-3.2.71-slitaz and reboot

Offline

#8 2017-05-19 18:33:07

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: mptbase module from linux kernel drivers to support LSI storage adapters

@ st_user,

I compiled the kernel with kultex's config. You can download it @ http://www.partage-fichiers.com/upload/33nat9w1

Offline

#9 2017-05-21 16:07:09

st_user
Member
Registered: 2017-05-15
Posts: 29

Re: mptbase module from linux kernel drivers to support LSI storage adapters

@ gibor

Yup, sure I was running make in the /usr/src/linux-3.2.71-slitaz folder and that was the error.

@ Ceel, thanks I'll check it. cooklinux has been working fine for me so far but giving it configuration other than /proc/config and without manual interaction is something I couldn't figure out how to do yet.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]