Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot compile 2.6.38 because of atmsar11.fw
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
machinarium
n00b
n00b


Joined: 12 Jun 2011
Posts: 14

PostPosted: Sun Jun 12, 2011 12:37 am    Post subject: Cannot compile 2.6.38 because of atmsar11.fw Reply with quote

Hi folks.
Recently I make a cd of minimal installation of Gentoo, boot from it (some errors about nfsmount and RAID array), download the stage3 and latest portage, use the genkernel all to build the whole kernel. But errors happened:
Code:

INSTALL sound/usb/usx2y/snd-usb-usx2y.ko
MKDIR /lib/firmware/acenic/
make[1]: ***No rule to make target '/lib/firmware/./', needed by '/lib/firmware/atmsar11.fw'. Stop
make[1]: ***Waiting  for unfinished jobs....
MKDIR /lib/firmware/adaptec/
make: *** [_modinst_post] Error 2

Error: Failed to compile the 'modules_install' target...

Any ideas? Thanks in advance.
Here is the version information:
Kernel:2.6.38-r6
GenKernel:3.4.10.907
Minimal CD: install-x86-minimal-20110607.iso
Stage3: stage3-i686-20110607.tar.bz2
Portage: Lastest
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Sun Jun 12, 2011 2:59 am    Post subject: Reply with quote

youll need to do one of two things:

-gather up all firmware you need, such as the one for this card, and install it (if available in portage, just emerge it), and then re-run genkernel
OR
-do genkernel --menuconfig all, then go through menuconfig and deselect the option to include external firmware
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
machinarium
n00b
n00b


Joined: 12 Jun 2011
Posts: 14

PostPosted: Sun Jun 12, 2011 4:47 am    Post subject: Reply with quote

cach0rr0 wrote:
youll need to do one of two things:

-gather up all firmware you need, such as the one for this card, and install it (if available in portage, just emerge it), and then re-run genkernel
OR
-do genkernel --menuconfig all, then go through menuconfig and deselect the option to include external firmware

Thanks for your reply. Now I believe my problem has something to do with Bug 341943. Because when I deselect the corresponding firmware, the error in Bug 341943 came up. And I am ready to downgrade the version of make to 3.81, but I don't know to do it. Any one has tutorial on it ? Thanks.
Back to top
View user's profile Send private message
machinarium
n00b
n00b


Joined: 12 Jun 2011
Posts: 14

PostPosted: Sun Jun 12, 2011 6:21 am    Post subject: Reply with quote

OK. I solved this problem through downgrading the version of make to 3.81-r2 using below command:
Code:
emerge =make-3.81.r2
.
And the problem about the atmsar11.fw is also disappear.
Back to top
View user's profile Send private message
kirrun
n00b
n00b


Joined: 19 Dec 2006
Posts: 5
Location: St.Petersburg, Russia

PostPosted: Wed Jun 15, 2011 6:51 am    Post subject: Reply with quote

Downgrading make is not a good idea as this behavoiur is not a regression but instead closing an undocumented hole.
IMO, this should be reported as a bug in the kernel (if it is not alreasy fixed in more recent versions).
Back to top
View user's profile Send private message
0x0f
n00b
n00b


Joined: 24 Jun 2011
Posts: 1

PostPosted: Fri Jun 24, 2011 8:17 am    Post subject: Atmsar11.fw causes genkernel comopile to fail Reply with quote

This firmware is used by the Madge Network Collage 155 PCI ATM card

See link below

http://libreplanet.org/wiki/LinuxLibre:ATM_AMBASSADOR

The solution to get the kernel to compile is

run make menuconfig
remove the ATM drivers from the kernel configuration under networking section or just the Madge ATM card
Save the kernel configuration

rerun genkernel all

Hope this helps

0x0f
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6656
Location: The soundosphere

PostPosted: Thu Jul 14, 2011 11:11 pm    Post subject: Reply with quote

cach0rr0 wrote:

-do genkernel --menuconfig all, then go through menuconfig and deselect the option to include external firmware


This worked for me when I created a custom stage4 from my production server and built a genkernel for a virtual test server. :D
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
g0del
n00b
n00b


Joined: 27 Jul 2011
Posts: 36

PostPosted: Sun Aug 14, 2011 1:15 pm    Post subject: Reply with quote

Thanks 0x0f nice one, clean fix.
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