[ Next-in-Thread ]  [ Next Message ] 

Question: Obvious that I am a newbie 

Forum: PCMCIA Installation and Configuration Issues
Re: Question: Adaptec 1480 SCSI not quite working, other PCMCIA does (S. Allen)
Re: Kernel compatibility issue: fixed in current drivers (David Hinds)
Date: 2000, Jun 07
From: S. Allen allen18

Sorry to bother you!
1. I should have noticed that the 1480 is in your list of updates, and that there is a separate SCSI forum with postings about it. Thanks for the very prompt response.

2. However, I have spent several hours trying (and
a call) to execute
the simple command

make config in the new pcmcia directory! (I used version 3.1.15 because of your posting on May 15 to Barton).


--the question is about getting the source. I used the red hat upgrade manager to install the kernal tree, and it looked like it was in /usr/src/redhat/SOURCES (but I didn't check carefully for files, as there are a lot of them--did
I miss the directory?). (Note: turned off kernal* exceptions
in the upgrade manager, it looked like the package
was installed properly).

2a. Then ran config in the pcmcia directory and it said the tree was incomplete (I typed /usr/src/redhat/SOURCES) in the first question. The config quit at this point.

3. Then tried the manual method--
followed your download instructions (the HOWTO is
invaluable) and had a /usr/src/linux directory. My kernel is
2.2.14-5.0 so I downloaded the 2.2.14 tar. Put the /linux
directory in /usr/src/ -- and used the default for the answer
to the first question. I got a warning about version conflict
between subtree 14.0 and 14-5.0, so stopped.

3a. Noticed that the printout in the posting above by Barton
on May 18 did not have this warning message and he was using
Redhat 6.2. i.e. it verfied the 2.2.14-5.0 subtree.
--So, how should I proceed?

Sorry to be so uninformed!

[ Next-in-Thread ]  [ Next Message ] 

Messages Inline: [ 0 ]  [ 1 ] 

Wrong kernel source package

Re: Question: Obvious that I am a newbie (S. Allen)
Date: 2000, Jun 07
From: David Hinds <dhinds@pcmcia.sourceforge.org>

Red Hat has a kernel SRPM file (kernel-2.2.14-5.0.src.rpm) that will
install stuff in a subdirectory of /usr/src/redhat/SOURCES, but this
is not what you want.  The SRPM files are used if you want to create a
kernel RPM for distribution, which is not what you want to do.  The
kernel source is all in there, but it is in an odd place and you would
need to do additional steps to get it extracted in a useful form.

There are also kernel sources in a regular RPM that installs them in
/usr/src/linux.  This RPM is kernel-source-2.2.14-5.0.i386.rpm and is
the one you want.

-- Dave

Ok: SCSI working, now on to the next! Thanks

Re: Wrong kernel source package (David Hinds)
Date: 2000, Jun 08
From: S. Allen allen18

MANY thanks for your patient help.

Summary: SCSI card recognized (cheers heard as far
as the neighbors), 2 devices found, cannot
seem to mount.

There is a hard drive (formatted for windows2000, sorry),
HPt20 drive, and a Yamaha 4x4x16 tape drive on the chain.
It looks like the first two were detected, but could not
figure out how to mount. Mounting this particular hard
drive is not a big issue as today
I am adding a second (new, empty) hard drive that will be dedicated to LINUX. When I can mount this, I would like
to move the root (not boot)
over to this hard drive--I have started
to study your (coffee stained) HOWTO on this subject.
 
At the very least,
I will have a user directory on this external drive.

I also tried
cd /dev
./MAKEDEV st0 (should I have used sd--something?).

Anyway, if there were a mouse with lots of LINUX
experience in the corner of my room, I'm sure he would
be selling tickets for a comedy show --
to witness my "experiences" (i.e. the response
to "make all" was cc: not recognized! - to conserve disk
space, I had not installed the C-compiler).

fstab and the dmesg are reproduced below.

[allens@allen allens]$ more /etc/fstab
/dev/hda6 / ext2 defaults 1 1
/dev/hda3 /boot ext2 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hda5 swap swap defaults 0 0
[allens@allen allens]$

apa1480_attach(device 23:00.0)
aic7xxx: <Adaptec PCMCIA SCSI controller> at PCI 35/0/0
aic7xxx: MMAPed I/O failed, reverting to Programmed I/O.
(scsi0) <Adaptec PCMCIA SCSI controller> found at PCI 35/0/0
(scsi0) Narrow Channel, SCSI ID=7, 3/255 SCBs
(scsi0) Downloading sequencer code... 423 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.28/3.2.4
       <Adaptec PCMCIA SCSI controller>
scsi : 1 host.
  Vendor: HP Model: T20 Rev: 3.00
  Type: Sequential-Access ANSI SCSI revision: 02
(scsi0:0:5:0) Synchronous at 20.0 Mbyte/sec, offset 15.
  Vendor: IBM Model: DNES-309170W Rev: SAH0
  Type: Direct-Access ANSI SCSI revision: 03
Detected scsi disk sda at scsi0, channel 0, id 5, lun 0
SCSI device sda: hdwr sector= 512 bytes. Sectors= 17916240 [8748 MB] [8.7 GB]
 sda: sda1 < sda5 >
[allens@allen allens]$ mount sda1
mount: can't find sda1 in /etc/fstab or /etc/mtab
[allens@allen allens]$

Note: A second issue, also

Re: Ok: SCSI working, now on to the next! Thanks (S. Allen)
Date: 2000, Jun 08
From: S. Allen allen18

A side effect of all this success is that my parallel
printer is not detected, and sound is not recognized--
both were before.

I am not convinced that this has anything to do with the
PCMCIA, rather perhaps a download of RPMs from Red Had
and forgetting to turn on (don't touch configuration).

I ran printtools, and the HP855 printer is not recongized.

I understand if this is the subject for a different forum.

Thanks again.

I think the driver side is all fine

Re: Ok: SCSI working, now on to the next! Thanks (S. Allen)
Date: 2000, Jun 08
From: David Hinds <dhinds@pcmcia.sourceforge.org>

> cd /dev
> ./MAKEDEV st0 (should I have used sd--something?).

I'm pretty sure you already have appropriate st (tape) and sd (disk)
devices in /dev.

>   Vendor: HP Model: T20 Rev: 3.00
>   Type: Sequential-Access ANSI SCSI revision: 02
> (scsi0:0:5:0) Synchronous at 20.0 Mbyte/sec, offset 15.
>   Vendor: IBM Model: DNES-309170W Rev: SAH0
>   Type: Direct-Access ANSI SCSI revision: 03
> Detected scsi disk sda at scsi0, channel 0, id 5, lun 0
> SCSI device sda: hdwr sector= 512 bytes. Sectors= 17916240 [8748 MB]
> [8.7 GB]
>  sda: sda1 < sda5 >

This all looks good to me.  But I think maybe you don't have the SCSI
tape driver loaded?

> [ allens@allen allens]$ mount sda1
> mount: can't find sda1 in /etc/fstab or /etc/mtab

I'm not sure what you expected from this: "mount sda1" is not a well
formed mount command.  You can say "mount /dev/sda1 /mnt" (replace
/mnt with wherever you want to mount the device).

-- Dave
Obvious that I am a newbie


[ Add Message ]  to: "Obvious that I am a newbie"

[ Members ]  [ Subscribe ]  [ Admin Mode ] 
[ Show Frames ]  [ Help for HyperNews at pcmcia-cs.sourceforge.net 1.10 ]