lkml.org 
[lkml]   [1997]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectPPA module weirdness

I just got a parallel port ZIP drive and have been trying to compile a
kernel to support it. I already am happily using an AHA-2940 Ultra in
the box. I tried to compile the PPA support as a module, but leave
the base SCSI code and the aic7xxx support compiled in. However, when
I try to load the PPA module, it screws up the scsi /proc entries and
who knows what else.

When I load the PPA module, this happens:

root://$ cd /proc
root:/proc/$ cd scsi
root:/proc/scsi/$ ls -la
total 0
dr-xr-xr-x 4 root root 0 May 7 10:10 .
dr-xr-xr-x 18 root root 0 May 7 10:09 ..
dr-xr-xr-x 2 root root 0 May 7 10:10 aic7xxx
dr-xr-xr-x 2 root root 0 May 7 10:10 ppa
-rw-r--r-- 1 root root 0 May 7 10:10 scsi
-rw-r--r-- 1 root root 0 May 7 10:10 scsi
root:/proc/scsi/$ cat scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: IOMEGA Model: ZIP 100 Rev: D.13
Type: Direct-Access ANSI SCSI revision: 02
root:/proc/scsi/$ cat ppa/0
Version : Curtin 1-08-BETA
Parport : parport0
Mode : SPP

Timing Parameters
ppa_speed 6
ppa_speed_fast 1
root:/proc/scsi/$ cat aic7xxx/0
Version : Curtin 1-08-BETA
Parport : parport0
Mode : SPP

Timing Parameters
ppa_speed 6
ppa_speed_fast 1
root:/proc/scsi/$ exit

The aic7xxx entry gets totally baked. I am trying to compile both as
modules right now. Is this a known problem? Is it a PPA problem with
not handling the different cases of module registration right, or a
more general problem affecting any SCSI module that tries to register
when there are already SCSI devices compiled in? I'll try to figure
it out once I get running again.

Also, (this is totally unrelated) why does upgrading from 2.1.19 to
2.1.36 make login fail on chown of /dev/tty?

--
Gene McCulley mcculley@iag.net http://www.iag.net/~mcculley

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.093 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site