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 Tue 01 Sep 2015, 12:04
All times are UTC - 4
 Forum index » Advanced Topics » Hardware
SCSI Adapter installation
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 12 [166 Posts]   Goto page: 1, 2, 3, ..., 10, 11, 12 Next
Author Message
norte3

Joined: 01 Jul 2006
Posts: 2

PostPosted: Sat 15 Jul 2006, 19:27    Post subject:  SCSI Adapter installation  

I have an Adaptec AHA2906 PCI SCSI
For Puppy 1.xx load the driver with: modprobe aic7xxx.o

For Puppy 2.01 how?

The same for bttv.o , tuner.o , etc.

Thanks
Back to top
View user's profile Send private message 
Sage

Joined: 04 Oct 2005
Posts: 4943
Location: GB

PostPosted: Sat 15 Jul 2006, 22:20    Post subject:  

It doesn't work! Unix/Linux originated on scsi, but things have moved on. Many distros don't work with scsi now, although the kernel may detect it. I've been badgering Barry to activate the function in his installer, but he doesn't have scsi HW himself (or time, I suspect!). Apparently it's a matter of drivers, although he speculates that the reason DSL, the only one that seems to work with scsi readily, may have come up with some generic solution. Although I know nothing about SW, the more I use scsi, the more this seems to be their answer. Shame really, as there's a ton of excellent scsi kit to be had gratis out there from upgraded servers and scsi drives/buses are very very fast , long lived and very reliable. Perfect to raise Puppy to another level. Maybe one of the co-developers will take on this project?
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11523
Location: Arizona USA

PostPosted: Sat 15 Jul 2006, 23:13    Post subject:  

As for the TV tuner card, yer on yer own. Smile I can't remember the name of the project for getting them to work in Linux. I think it might be ivtv or something like that. There has been some discussion in the forum about TV tuner cards, in the Hardware forum I think.
_________________
Puppy Help 101 - an interactive tutorial for Lupu 5.25
Back to top
View user's profile Send private message 
rcsteiner

Joined: 12 Aug 2006
Posts: 17
Location: Mableton, GA USA

PostPosted: Sat 12 Aug 2006, 02:04    Post subject:  

Sage wrote:
It doesn't work! Unix/Linux originated on scsi, but things have moved on. Many distros don't work with scsi now, although the kernel may detect it. I've been badgering Barry to activate the function in his installer, but he doesn't have scsi HW himself (or time, I suspect!).


I just took a serious look at Puppy after being a long-time Mandrake user, and the lack of SCSI support is a painful thing for me. I have five boxes on my home LAN (out of six) which are older and are prime juicy targets for a distro like Puppy (all PPro/200 boxes with between 96 and 256MB of RAM), but all of them are also using either Adaptec 2940U or 2940UW SCSI controllers.

At least most of the CD-ROM drives are IDE. Smile

That's what I get for buying quality hardware (IBM IntelliStations. Compaq Deskpros, and a Micron tower). The hardware is outlasting Linux's ability to support it, which is something I'd never see. Sad

The sad part is that it detects everything else. Sound cards, network cards, video, etc. Thankfully, Samba clientsupport (via LinNeighborhood) is so good that I can get at all of the other boxes on the LAN (Linux, Windows, and OS/2 boxes plux a Buffalo Linkstation), but I can't see my own local data. I have to grab it indirectly by grabbing this box's backup from the Buffalo LS. Smile
Back to top
View user's profile Send private message 
Sage

Joined: 04 Oct 2005
Posts: 4943
Location: GB

PostPosted: Sat 12 Aug 2006, 02:48    Post subject:  

Glad to know that there's some support for scsi out there. I had a few exchanges with Barry about this. DSL works perfectly with scsi. Barry wondered whether they had used some generic driver. My guess is that his guess is correct as DSL works on several of the clone cards that I've tested. I offered BK a couple of drives, but I'm short on cards and cabling. Maybe he can revisit this option? Don't think the penny has dropped about just how much super-fast, super quality, scsi junk is being dumped with old servers. Perfect for Puppy and, when space gets used up, can always add another disc to the chain.
Back to top
View user's profile Send private message 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Sat 12 Aug 2006, 06:53    Post subject:  

Hi,

I saw you chatting about scsi and I remembered that I had some very 'old' scsi kicking around the attic, and tried plugging it into my pc... I slightly modified my initrd to include the drivers and put a very simple load comand for them, tweaked the scsi scanning, and hey presto:



Even the PUI would install to it (as a usbflash drive), now I'm trying to get it to boot...

Jesse
Back to top
View user's profile Send private message 
Sage

Joined: 04 Oct 2005
Posts: 4943
Location: GB

PostPosted: Sat 12 Aug 2006, 07:09    Post subject:  

Brilliant, Jesse! Did you notice the incredible speed. Afraid I'm not an IT person, so would appreciate your recipe for getting these to run in Puppy, please - be detailed and explicit! Once you're happy with everything, suggest you contact Barry to have him incorporate same and change the 'coming shortly' message in his menu.
Back to top
View user's profile Send private message 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Sat 12 Aug 2006, 08:19    Post subject:  

Hi,

Well I got it to boot! type 1 install. Hey MUT works with it out of the box! Wink coolies.
I am posting this from a scsi booted Puppy!



OK, so how can it work for you too?
Hmm, you need my initrd.gz file.
I've patched it, to have an updated init script, allowing it to scan for SCSI controller and load just ONE scsi driver, the one for my computers scsi controller AHA-2940AU, the module 'aix7xxx' and its one dependancy.

Steps, download, install, boot Puppy 2.02 ONLY!!! important.
1) Install the extra kernel modules, or rip the one you need out of my initrd.gz
2) modprobe your controller 'modprobe aic7xxx'
3) look for your dive in MUT, scsi initialization can take a while, maybe up to a minute for old hardware)
4) create an ext3 partition (or other but that is not what I did), I also made a swap partition.
5) Use PUI to install to the partition, use the 'usbflash' option. Leave MBR alone.
6) fdisk the drive (fdisk /dev/sdb), make sure your partition has 'boot flag' set.
7) edit extlinux.conf change PMEDIA=usbflash to PMEDIA=scsihd and set pfix=sd
Cool overwrite initrd.gz with one attached here.
9) reboot, set bios boot options, scsi controller boot options, and cross fingers.

Is SCSI fast? Well Sage, I was amazed to see the kernel and initrd.gz file load so fast! it could load a 20MB initrd.gz faster than my CDROM or USB drive current 1.2MB initrd.gz. Yes, I couldn't believe my eyes.
But there is the drawback of extended bios boot process which completely cancels out the brief boot speed benefit... but would probably be great in an older computer.

Jesse
Back to top
View user's profile Send private message 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Sat 12 Aug 2006, 08:53    Post subject:  

Last attachment wasn't quite 100% (removed it fro previous post), this'll probably be a smidge better.
Hmm, maybe scsi isn't that terribly fast... might have over exagerated in last message... but it is certainly usable Wink
Jesse
Back to top
View user's profile Send private message 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Sat 12 Aug 2006, 08:57    Post subject:  

An easier way than all those steps, if you have a USB disk, install puppy to the usb disk, replace initrd.gz with attached one (above), reboot, then continue steps above at step 3.

Jesse
Back to top
View user's profile Send private message 
Sage

Joined: 04 Oct 2005
Posts: 4943
Location: GB

PostPosted: Sat 12 Aug 2006, 09:05    Post subject:  

Will try some of that, thanks.
It occurs to me that 'doze only has a couple of generic scsi drivers. I've found they work for just about everything except an old IWill and CMD card. They were written for/by Adaptec, I think? Something similar needed here. Just how difficult is it to examine the code for DSL to see how they do it?

Last edited by Sage on Sun 13 Aug 2006, 02:25; edited 1 time in total
Back to top
View user's profile Send private message 
Sage

Joined: 04 Oct 2005
Posts: 4943
Location: GB

PostPosted: Sat 12 Aug 2006, 09:57    Post subject:  

Ah! Fell over at the first hurdle. It's the SW that I don't do. Can manage all of your instructions (I hope) except those in 1) Install the extra kernel modules, or rip the one you need out of my initrd.gz ! Bit more detail, please, if that isn't too tedious for you.
Last edited by Sage on Sun 13 Aug 2006, 02:26; edited 1 time in total
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Sat 12 Aug 2006, 11:44    Post subject:  

Here are instructions for getting at the contents of initrd.gz, from Jesse's post at

http://www.murga.org/~puppy/viewtopic.php?t=9928&start=16

gunzip initrd.gz
mkdir temp
mount initrd temp -o loop
cp /root/init temp/sbin/init (instruction particular to the #9928 task)
cp /root/elspci temp/bin/elspci (instruction particular to the #9928 task)
umount temp
rmdir temp
gzip initrd

My guess is, inside the temporarily mounted subdir initrd you will find modules specific to your adapter, which you would copy to someplace such as /usr/share/lib or /usr/share/bin or /usr/lib or /usr/bin, and mount at boot time by adding one or more lines to a configuration file such as /etc/rc.d/rc.local (except, probably not rc.local, but rather something which is executed earlier in the boot process) such as

modprobe asusscsi

Jesse, is my guess right?

Jesse wrote:
An easier way than all those steps, if you have a USB disk, install puppy to the usb disk, replace initrd.gz with attached one (above), reboot, then continue steps above at step 3.

Jesse


And now, if you can work this kind of magic for SATA disk drives, then Puppy will be not only able to Yoda old dinosaurs, but also new green-glow-in-the-dark mice...

(sorry; couldn't think of a better analogy for evolution's newest) Laughing
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Sat 12 Aug 2006, 14:04    Post subject:  

Jesse wrote:
Last attachment wasn't quite 100%...Jesse

Jesse: does this initrd.gz also incorporate, besides SCSI capability, the modification for booting from USB through a PCMCIA adapter, as well as the modification which you prescribed to losl for booting a USB stick with a SATA drive present? At the moment I am unable to boot Puppy, so cannot check it myself.
Back to top
View user's profile Send private message 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Sat 12 Aug 2006, 20:41    Post subject:  

Hi,

Yes PCMCIA USB is still there.
Yes USB will boot with SATA present.
I have not tried to remove anything.
They are all fairly closely related topics and the solution integrates SATA,USB & SCSI.

Puppy Kernel driver modules are located usually at /lib/modules/2.6.16.7/

Here is location to download the kernel modules:
http://www.puppyos.com/test/
all-modules-k2.6.16.7-PUP202.tar.gz

I just guessed at how to install them (these steps seem to work). However I did get LOTS of debug messages, so I probably did something wrong, you may only want to do this on a Puppy booted with pfix=ram so you do not permanently mess things up.

mkdir temp
cd temp
tar zxvf all-modules-k2.6.16.7-PUP202.tar.gz
cp -prf all-modules/* /lib/modules/2.6.16.7/
depmod

Then start with modprobe x
Here is a list of scsi kernel modules (x) that you can try modprobe x with...

3w-9xxx 3w-xxxx 53c700 a100u2w aha152x aha1542
aha1740 aic79xx aic7xxx aic7xxx_old atp870u BusLogic dc395x
dmx3191d dpt_i2o dtc eata fdomain gdth g_NCR5380
g_NCR5380_mmio ide-scsi imm in2000 initio ips megaraid megaraid
megaraid_sas NCR53c406a nsp32 osst pas16 ppa psi240i qla1280
qlogicfas408 qlogicfas scsi_debug scsi_transport_spi sg sim710 sr_mod
st sym53c416 sym53c8x sym53c8xx_2 t128 tmscsim u14-34f ultrastor
wd7000

Ok yes I can see your eyes glazing over already! there is a way to make this less painful, and more 'automatic', the catch is that initrd expands by about 3MB and we need a program to select the right module for your hardware.
Fortunately this may not be too tricky, as Barry pointed out hwscan from ROCK Linux? (my memory may have failed completely for that reference) which almost does everything we need. But I think I can make it work.

My SATA disk is working under Puppy, are there some types of SATA that do not work? Can people please post what information they can about SATA that does not work, so that we get an indication of what is not working? For starters, just 'make and model' and 'works or no-work' would be good.

Jesse
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 12 [166 Posts]   Goto page: 1, 2, 3, ..., 10, 11, 12 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware
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.1392s ][ Queries: 13 (0.0293s) ][ GZIP on ]