Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 02 Oct 2014, 10:37
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Drivers
Compiling SCSI controller PCI card for Precise 571 (Solved)
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
boxR


Joined: 13 Aug 2011
Posts: 247
Location: France

PostPosted: Mon 24 Feb 2014, 05:11    Post_subject:  Compiling SCSI controller PCI card for Precise 571 (Solved)  

I use a SCSI scanner drived by a PCI Acard AEC6710D
I can not access it with full install Puppy Precise 571 kernel 3.9.11

PupScan said :
DESCRIPTION: SCSI storage controller: Artop Electronic Corp AEC6712D SCSI ( ... but it's written AEC6710D on the card )
VENDOR: 1191 DEVICE: 8040

tempestuous helped me to solve this for lucid 528 but the driver don't work with precise.

I will greatly appreciate any help.

Edited_time_total
Back to top
View user's profile Send_private_message 
ardvark


Joined: 01 Jul 2013
Posts: 1005
Location: USA

PostPosted: Mon 24 Feb 2014, 16:56    Post_subject:  

Hi...

Well, from looking at kernels of other distributions, the driver for your device is available for 3.9.11. However, I did notice here that the "modern" version of Precise 5.7.1 left out a lot of the "true-SCSI drivers," which your device may fall under.

The only two suggestions I personally can think of with respect to Puppy, is to try the "retro" version that has the SCSI drivers (.iso available here) or reinstall Lucid 5.2.8.

Tempestuous may have a better solution, though. Wink

Regards...
Back to top
View user's profile Send_private_message 
boxR


Joined: 13 Aug 2011
Posts: 247
Location: France

PostPosted: Thu 27 Feb 2014, 16:03    Post_subject:  

ardvark wrote:
try the "retro" version that has the SCSI drivers (.iso available here)

5.7.1 retro → no scsi driver for my scanner
ardvark wrote:
or reinstall Lucid 5.2.8

I still have lucid 5.2.8 (dual boot) but I want to migrate to 5.7.1
ardvark wrote:
Tempestuous may have a better solution, though. Wink

I hope so.
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5263
Location: Australia

PostPosted: Sun 02 Mar 2014, 09:42    Post_subject:  

You need to find someone with a development environment set up for Precise 571, and ask them to enable and compile the atp870u driver for you. In the kernel configuration menu, this is found at -
Device Drivers > SCSI device support > SCSI low-level drivers > ACARD SCSI support
Back to top
View user's profile Send_private_message 
boxR


Joined: 13 Aug 2011
Posts: 247
Location: France

PostPosted: Mon 03 Mar 2014, 07:04    Post_subject:  

Thanks tempestuous.

Maybe I've to wait for awhile.
So, I'll try to compile it myself... but I'm a newbie.

I've dowloaded devx_precise_5.7.1.sfs

I've dowloaded Kconfig and atp870u.c files here : http://cateee.net/lkddb/web-lkddb/SCSI_ACARD.html
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5263
Location: Australia

PostPosted: Mon 03 Mar 2014, 10:25    Post_subject:  

OK, if you want to learn how to compile a kernel, that's great. Start by reading this -
http://www.puppylinux.com/development/compilekernel.htm
But you need more that just the devx, you also need the Precise 571 kernel source.

boxR wrote:
I've dowloaded Kconfig and atp870u.c files here : http://cateee.net/lkddb/web-lkddb/SCSI_ACARD.html

NO. Don't do that. The atp870u module is already contained in the standard kernel source. You just need to enable it ... by following the instruction in my previous post.
Back to top
View user's profile Send_private_message 
boxR


Joined: 13 Aug 2011
Posts: 247
Location: France

PostPosted: Mon 03 Mar 2014, 13:43    Post_subject:  

I tried that :

- made a dev frugal install with devx_precise_5.7.1.sfs
- dowloaded kernel_src-3.9.11-patched.sfs
- copied it to /
- urxvt
Code:
# cd /usr/src/linux-3.9.11
# make clean
# make mrproper
# make menuconfig
Device Drivers > SCSI device support > SCSI low-level drivers > ACARD SCSI support
# make bzImage

- renamed /lib/modules/3.9.11
- urxvt
Code:
# make modules
# make modules_install

- then comes /lib/modules/3.9.11/kernel/drivers/scsi/atp870u.ko Smile

- copied it to a fresh 5.7.1 install
- urxvt
Code:
# depmod-FULL

- made script /root/Startup/scan-prep
Code:
#!/bin/sh
modprobe sg
- reboot
- urxvt
Code:
# modprobe --list | grep scsi
kernel/drivers/scsi/raid_class.ko
kernel/drivers/scsi/atp870u.ko
kernel/drivers/scsi/ppa.ko
kernel/drivers/scsi/imm.ko
kernel/drivers/scsi/sg.ko
kernel/drivers/message/i2o/i2o_scsi.ko
# scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).


No way to make it working...
Back to top
View user's profile Send_private_message 
boxR


Joined: 13 Aug 2011
Posts: 247
Location: France

PostPosted: Tue 04 Mar 2014, 10:55    Post_subject:  

I've compiled the sg module too and copied it to fresh install.

Now :
Code:
# modprobe sg
FATAL: Error inserting sg (/lib/modules/3.9.11/kernel/drivers/scsi/sg.ko): Invalid module format
# modprobe atp870u
FATAL: Error inserting atp870u (/lib/modules/3.9.11/kernel/drivers/scsi/atp870u.ko): Invalid module format


Any idea?
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5263
Location: Australia

PostPosted: Wed 05 Mar 2014, 07:22    Post_subject:  

boxR wrote:
Code:
# modprobe atp870u
FATAL: Error inserting atp870u (/lib/modules/3.9.11/kernel/drivers/scsi/atp870u.ko): Invalid module format

I'm afraid your new kernel (and associated kernel modules) is incompatible with the Precise 571 kernel ...
so you will need to do the whole thing again.

Here's an important piece of information - the "make menuconfig" process references the kernel configuration file; /usr/src/linux-<kernelversion>/.config
This kernel configuration file is absolutely critical, and it must be exactly the same one that was used for the kernel you're trying to match. Usually the kernel source that is provided for official Puppies is correct and ready to go with the right config file ... but apparently not so (sadly) in this case. Here's what to do:

1. start again, with a fresh install of Precise 571, and fresh kernel sources (don't re-use your original installation).
2. the correct kernel configuration should be found at /etc/modules/DOTconfig-k3.9.11-blah-blah
Copy this over to /usr/src/linux-3.9.11/
and rename it ".config" (notice the ".")
3. The "make clean" and "make mrproper" steps are not really important, since the Puppy kernel sources shouldn't require these steps. Just go ahead and do "make menuconfig"
4. enable the ACARD SCSI driver, making sure it's enabled as a module - marked as "m", not built-in to the kernel - marked as "*".
Save the changes as you exit.
5. make bzImage
6. make modules
7. make modules_install

Now your newly created modules should be compatible with the Precise 571 kernel.
Back to top
View user's profile Send_private_message 
boxR


Joined: 13 Aug 2011
Posts: 247
Location: France

PostPosted: Wed 05 Mar 2014, 11:41    Post_subject:    

YES !!!

It works fine !!
Thanks for your patience, tempestuous, merci beaucoup Very Happy
atp870u-k3.9.11.pet
Description  Acard SCSI driver for puppy precise 571
pet

 Download 
Filename  atp870u-k3.9.11.pet 
Filesize  27.88 KB 
Downloaded  123 Time(s) 
Back to top
View user's profile Send_private_message 
ardvark


Joined: 01 Jul 2013
Posts: 1005
Location: USA

PostPosted: Wed 05 Mar 2014, 13:06    Post_subject:  

boxR wrote:
It works fine !!


As the British would say: Good show! That's not the easiest thing to do and it's something that I haven't even tried. Thank you also for including it as a .pet file for someone else. Smile

Regards...
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Drivers
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0814s ][ Queries: 12 (0.0106s) ][ GZIP on ]