[2282] in linux-scsi channel archive
Accessing parallel port ZIP under RH
daemon@ATHENA.MIT.EDU (Chad Glynn)
Wed Aug 13 07:29:48 1997
Date: Wed, 13 Aug 1997 07:22:13 -0400 (EDT)
From: Chad Glynn <respect@voicenet.com>
To: linux-scsi@vger.rutgers.edu
In-Reply-To: <1997812114218341@ix.netcom.com>
Hi!,
This has been a problem I have tried to resolve for some time now,
and I was hoping someone could point me to a possible solution that I have
not considered (or even knew about).
A few months ago, I bought an iomega ZIP drive for the parallel
port. After a little bit of work and the ZIP mini-HOWTO, I was able to get
the recognized and working under Slakware (2.0.12 kernel, or something
like that). Recently, I upgraded to red hat, and I have yet to access my
ZIP drive. I have gotten the latest code from Cambell (its funny It was
not provided with the 2.0.29 RH kernel, but with my slakware), and tried
all sorts of things after reading the ZIP mini-howto and the SCSI-HOWTO.
Under slakware, and what the ZIP mini-HOWTO instructs should happen, I
should get a dev address at boot-time. However, at bootime it is able to
recognize the drive is there, but it won't give an address. (see dmesg
output below). I am viewing the problem to be the lack of a dev address
(ex: /dev/sda4), and have been working on all kinds of solution (see
various outputs below). Clearly, the drive is recognized, but the driver
just does not provide a device name! Please help me- what am I missing or
doing wrong here?
dmesg output:
-------------
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pci_init: no BIOS32 detected
Calibrating delay loop.. ok - 33.28 BogoMIPS
Memory: 34780k/36992k available (928k kernel code, 384k reserved, 900k data)
This processor honours the WP bit even when in supervisor mode. Good.
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.27 (root@cytroic) (gcc version 2.7.2.1) #8 Tue Jun 17 16:20:16 EDT 1997
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16450
Sound initialization started
<Sound Blaster Pro (3.1)> at 0x220 irq 5 dma 1,3
<Yamaha OPL3 FM> at 0x388
Sound initialization complete
loop: registered device at major 7
Floppy drive(s): fd0 is 1.44M
Started kswapd v 1.4.2.2
FDC 0 is an 8272A
sbpcd-0 [01]: sbpcd.c v4.6 Eberhard Moenkeberg <emoenke@gwdg.de>
sbpcd-0 [02]: Scanning 0x340 (LaserMate)...
sbpcd-0 [03]: Drive 0 (ID=0): CR-563 (0.81) at 0x340 (type 0)
md driver 0.35 MAX_MD_DEV=4, MAX_REAL=8
PPA driver version: Curtin 1-21-BETA
Generic Chipset [ EPP ]
scsi0 : Iomega parport ZIP drive
scsi : 1 host.
scsi : detected total.
PPP: version 2.2.0 (dynamic channel allocation)
TCP compression code copyright 1989 Regents of the University of California
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
Partition check:
hda: hda: Conner Peripherals 210MB - CFS210A, 203MB w/32KB Cache, CHS=685/16/38, MaxMult=32
hda1
hdb: hdb: ST3491A, 408MB w/120KB Cache, CHS=899/15/62, MaxMult=16
hdb1 hdb2
JAVA Binary support v1.01 for Linux 1.3.98 (C)1996 Brian A. Lantz
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 16268k swap-space
/etc/lilo.conf:
---------------
boot=/dev/hda
map=/boot/map
append="sbpcd=0x340,LaserMate max_scsi_luns=8 ppa=0x278,1,6,0"
install=/boot/boot.b
prompt
timeout=0
image=/boot/vmlinuz
label=linux
root=/dev/hda1
read-only
Script started on Sat Jun 21 16:00:04 1997
Big Brother Is Watching >> head -10 /proc/ksyms
001156b0 register_symtab_from
00135e10 kerneld_send
00108ad0 get_options
002006b0 EISA_bus
002006ae wp_works_ok
0010db20 pcibios_present
0010db30 pcibios_find_class
0010db80 pcibios_find_device
0010dbe0 pcibios_read_config_byte
0010dc20 pcibios_read_config_word
Big Brother Is Watching >> insmod -v /lib/modules/2.0.27/ppa.o
Section 1: (.text) at 0x8054db0
Section 2: (.rel.text) at 0x8057458
Section 3: (.data) at 0x80561cc
Section 4: (.rel.data) at 0x8057848
Section 7: (.rodata) at 0x805631c
Section 8: (.comment) at 0x8056609
Section 9: (.shstrtab) at 0x80578f8
Section 10: (.symtab) at 0x8057958
Section 11: (.strtab) at 0x8057de0
textseg = 0x8054db0
bss_size = 134571552
last byte = 0x8056620
module size = 6256
versioned kernel: no
versioned module: no
ELF kernel
ELF module
Big Brother Is Watching >> head -15 /proc/ksyms
01027428 proc_scsi_ppa [ppa]
01027514 ppa_sg [ppa]
01027518 base [ppa]
01026974 ppa_command [ppa]
01026c14 ppa_queuecommand [ppa]
01026cc4 ppa_biosparam [ppa]
01026d44 ppa_abort [ppa]
01026da4 ppa_reset [ppa]
01027528 driver_template [ppa]
01027314 ppa_proc_info [ppa]
01026eb4 ppa_detect [ppa]
001156b0 register_symtab_from
00135e10 kerneld_send
00108ad0 get_options
002006b0 EISA_bus
Big Brother Is Watching >> cat /proc/scsi/ppa/0
Version : Curtin 1-21-BETA
Port : 0x0278
Mode : EPP 32 bit
Big Brother Is Watching >> ^Dexit
Script done on Sat Jun 21 16:03:37 1997
Script started on Sat Jun 21 16:03:24 1997
Big Brother Is Watching >> cat /proc/scsi/ppa/0
Version : Curtin 1-21-BETA
Port : 0x0278
Mode : EPP 32 bit
Big Brother Is Watching >> ^Dexit
Script done on Sat Jun 21 16:03:37 1997