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 Fri 01 Aug 2014, 06:06
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
5.3.3 Slacko SCSI modules not loading
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
etude


Joined: 17 Nov 2009
Posts: 7
Location: Searsport, Maine

PostPosted: Tue 24 Jul 2012, 17:51    Post subject:  5.3.3 Slacko SCSI modules not loading
Subject description: AIC-7850 module and sg not auto loading, should it?
 

Slacko 5.3.3-4g SCSI full , fresh install (no pets) on....

Processor AMD Athlon(tm) 64 Processor 3200+ Memory 967MB (94MB used).

....is not auto loading module for AIC-7850 according to pupscan:

DESCRIPTION: SCSI storage controller: Adaptec AIC-7850
VENDOR: 9004 DEVICE: 5078

sg not loaded either per pupscan and "modprobe sg"

Xsane .997 wants both. (sane-find-scanner comes up empty).

same hardware system running 4.3.1 scsi intel modems (with Xsane) works fine for Scanjet 4c SCSI scanner. ditto for win XP Sp3 and built-in scanner wizard.

could use 4.3.1 with XVESA video but would rather have slacko
with radeon driver and other niceties. wondering if AIC-7850 was trimmed out for this release. can you point me to relevant log files .rc files, firmware or whatever to check further ?

thanks in advance
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7785
Location: qld

PostPosted: Thu 26 Jul 2012, 18:49    Post subject:  

For some reason those modules were not copied in to the build at the woof stage, I don't know why but I am investigating a possible woof bug.

try the attached pet, let me know if it works. Probably best to run "depmod" then reboot. Hopefully they will then load automatically if your scanner is connected.
modules_scsi_aic-3.1.10-4gA.pet
Description 
pet

 Download 
Filename  modules_scsi_aic-3.1.10-4gA.pet 
Filesize  212.71 KB 
Downloaded  268 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
etude


Joined: 17 Nov 2009
Posts: 7
Location: Searsport, Maine

PostPosted: Fri 27 Jul 2012, 12:18    Post subject: Pet fixed it! Tks to 01micko
Subject description: SCSI modules now load on both machines w Slacko 5.3.3-4gA
 

Tks to you 01 micko. Followed your advice above, with these hints for noob like me:

1. clicked the download, accepted the offer to use petget to handle.

2. ran "depmod" with no args

3. rebooted and checked pupscan interfaces and voila, two relevant AIC-7xxx drivers loaded. I checked /root/.packages and found the modules_scsi_*******.files file with contents below

/lib/
/lib/modules/
/lib/modules/3.1.10-slacko_4gA/
/lib/modules/3.1.10-slacko_4gA/kernel/
/lib/modules/3.1.10-slacko_4gA/kernel/drivers/
/lib/modules/3.1.10-slacko_4gA/kernel/drivers/scsi/
/lib/modules/3.1.10-slacko_4gA/kernel/drivers/scsi/sg.ko
/lib/modules/3.1.10-slacko_4gA/kernel/drivers/scsi/aic94xx/
/lib/modules/3.1.10-slacko_4gA/kernel/drivers/scsi/aic94xx/aic94xx.ko
/lib/modules/3.1.10-slacko_4gA/kernel/drivers/scsi/aic7xxx_old.ko
/lib/modules/3.1.10-slacko_4gA/kernel/drivers/scsi/aic7xxx/
/lib/modules/3.1.10-slacko_4gA/kernel/drivers/scsi/aic7xxx/aic7xxx.ko
/lib/modules/3.1.10-slacko_4gA/kernel/drivers/scsi/aic7xxx/aic79xx.ko

Can i assume i saw two entries for the aic7xxx b/c both the bolded above got auto-loaded?

any rate, works with Xsane on both machines. Then I applied the PPM bugfix and things are happy for a friday afternoon.

Tks to you and all who work so hard. linux is still a second language but, I have a dream...!
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7785
Location: qld

PostPosted: Fri 27 Jul 2012, 16:45    Post subject:  

Ok, cool, glad it works and incidentally I found the woof bug which causes this.

I have selected the choice in woof where you can boot from scsi devices. This reportedly works (IIRC forum member Aitch on an old server box). What happens is that ALL scsi drivers get moved to the initrd.gz, which is a mistake, I believe, for devices that have nothing to do with booting, eg scanners.

I'll report this to Barry.

Thanks.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3956
Location: Kiel,Germany

PostPosted: Sat 28 Jul 2012, 13:48    Post subject:  

01micko wrote:
Ok, cool, glad it works and incidentally I found the woof bug which causes this.

I have selected the choice in woof where you can boot from scsi devices. This reportedly works (IIRC forum member Aitch on an old server box). What happens is that ALL scsi drivers get moved to the initrd.gz, which is a mistake, I believe, for devices that have nothing to do with booting, eg scanners.

I'll report this to Barry.

Thanks.

Normally the drivers get copied into the partition or save file.

But if you make a PUPMODE=2-full install manually bypassing the installer you might forget to open initrd.gz to fetch the drivers from there .
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7785
Location: qld

PostPosted: Mon 30 Jul 2012, 18:29    Post subject:  

Karl Godt wrote:

Normally the drivers get copied into the partition or save file.


That part seems broken in the init script for frugals. Only /lib/modules/3.2.22-4g/kernel/drivers/scsi/imm.ko and ppa.ko get copied, sg.ko is supposed to get copied too, but doesn't.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3956
Location: Kiel,Germany

PostPosted: Mon 30 Jul 2012, 19:59    Post subject:  

Happy Birthday, then!
This is older code from Puppy 430 (last three lines of the intro comments for the version):
Code:
#v424 whiteout processing for aufs2 fixed.
#v426 pkeys=de caused failure to boot from vfat partition.
#v426 record of layers needs to include zdrv.


Here they get moved :
Code:
#the initrd does have some modules, move them to the main layered f.s...
 #v4.02 moved this up. had it down after the the unionfs setup (just want it same place as the above code).
 [ ! -d /pup_rw/lib/modules/$KERNELVER/initrd ] && [ ! -d /pup_ro1/lib/modules/$KERNELVER/initrd ] && REASON="new"
 if [ "$REASON" != "" ];then
  mkdir -p /pup_rw/lib/modules/$KERNELVER #PUPMODE=5, this dir not exist.
  mv /lib/modules/$KERNELVER /pup_rw/lib/modules/$KERNELVER/initrd
  rm -f /pup_rw/lib/modules/$KERNELVER/initrd/modules.*
  sync
  #note: /etc/rc.d/rc.sysinit will detect them and run depmod.
 fi
 #v3.91 a humongous initrd may have zdrv file...
 [ -f /${ZDRVSFS} ] && [ ! -f /pup_rw/${ZDRVSFS} ] && [ ! -f /pup_ro1/${ZDRVSFS} ] && cp -a /${ZDRVSFS} /pup_rw/
fi

Could think of PUPMODE mismatch or aufs whipeouts.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0627s ][ Queries: 13 (0.0055s) ][ GZIP on ]