From phiber@bushido.phiber.com Tue Jun  8 22:51:00 1999
Return-Path: <phiber@bushido.phiber.com>
Received: from bushido.phiber.com (bushido.phiber.com [204.254.246.136])
	by hub.freebsd.org (Postfix) with ESMTP id 68BC814ECC
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Jun 1999 22:50:02 -0700 (PDT)
	(envelope-from phiber@bushido.phiber.com)
Received: (from phiber@localhost)
	by bushido.phiber.com (8.9.3/8.9.2) id BAA00929;
	Wed, 9 Jun 1999 01:49:33 -0400 (EDT)
	(envelope-from phiber)
Message-Id: <199906090549.BAA00929@bushido.phiber.com>
Date: Wed, 9 Jun 1999 01:49:33 -0400 (EDT)
From: phiber@phiber.com
Sender: phiber@bushido.phiber.com
Reply-To: phiber@phiber.com
To: FreeBSD-gnats-submit@freebsd.org
Cc: phiber@phiber.com
Subject: Iomega parallel Zip drive not working
X-Send-Pr-Version: 3.2

>Number:         12092
>Category:       kern
>Synopsis:       vpo driver not working in 3.2-RELEASE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    n_hibma
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun  8 23:00:00 PDT 1999
>Closed-Date:    Sun Aug 13 12:43:19 PDT 2000
>Last-Modified:  Sat Feb 23 10:30:02 UTC 2008
>Originator:     Me
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
Here
>Environment:
Sony VAIO 505EX w/PAO3 patches

Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.2-RELEASE #1: Tue Jun  8 21:42:33 EDT 1999
    root@bushido.phiber.com:/usr/src/PAO3_CVS/PAO3/src/sys/compile/BUSHIDO
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P55C (quarter-micron) (233.86-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x581  Stepping=1
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 67108864 (65536K bytes)
avail memory = 62312448 (60852K bytes)
Preloaded elf kernel "kernel" at 0xc02da000.
Probing for devices on PCI bus 0:
chip0: <Intel 82439TX System Controller (MTXC)> rev 0x01 on pci0.0.0
chip1: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.1.0
ELCR2 08 -> 0c
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.1.1
chip2: <Intel 82371AB Power management controller> rev 0x01 on pci0.1.3
vga0: <NeoMagic model 0083 VGA-compatible display device> rev 0x01 int a irq 11 on pci0.2.0
pcic0: <Ricoh RL5C465 PCI-CardBus Bridge> rev 0x01 int a irq 255 on pci0.10.0
RL5C4XX PCI Config Reg: [CSC isa irq]
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2: configured irq 10 not in bitmap of probed irqs 0
sio2 at 0x3e8-0x3ef irq 10 on isa
sio2: type 16550A
ppc0 at 0x378 irq 7 on isa
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
vpo0: <Iomega VPI0 Parallel to SCSI interface> on ppbus 0
vpo0: EPP 1.9 mode
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
pcm0 at 0x220 irq 5 drq 1 flags 0x13 on isa
ESS1878 (rev 11, native mode)
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <IBM-DKLA-24320>
wd0: 4126MB (8452080 sectors), 8944 cyls, 15 heads, 63 S/T, 512 B/S
pcic0 at 0x3e0-0x3e1 irq 11 flags 0x1 on isa
PC-Card ctlr(0) Ricoh RL5C465 [CardBus bridge mode] (5 mem & 2 I/O windows)
pcic0: slot 0 controller I/O address 0x0
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
apm0 on isa
apm: found APM BIOS version 1.2
Intel Pentium detected, installing workaround for F00F bug
Waiting 15 seconds for SCSI devices to settle
vpo0: VP0 error/timeout (5)
vpo0: VP0 error/timeout (5)
vpo0: VP0 error/timeout (5)
vpo0: VP0 error/timeout (5)
vpo0: VP0 error/timeout (5)
changing root device to wd0s1a

>Description:

Very simply, my Iomega parallel port Zip drive is never detected by the 
kernel's SCSI subsystem.  As can be seen, VP0 is timing out.  Trying to do
a "camcontrol devlist -v" shows no initialized SCSI targets, on any bus.
The following is in my config file:
# Parallel port
device          ppc0    at isa? port? flags 0x0 tty irq 7
controller      ppbus0
device          lpt0    at ppbus?
#device         plip0   at ppbus?
#device         ppi0    at ppbus?
controller      vpo0    at ppbus?

controller      scbus0
device          da0

I've tried ppc0 as both tty and net, and trying to explicitly bind scbus0 to
vpo0, and trying to bind da0 to a specific target, all of which should be
unnecessary.  Nothing worked.  The BIOS setting for the parallel port is
"Bidirectional".  Also tried "Normal" and "ECP".  Didn't help.  Also tried
the GENERIC kernel, no difference.  Doesn't work.
FWIW, this Zip drive works perfectly in Win95 on the same machine.

>How-To-Repeat:

Enable vpo0, scbus0, and da0 on 3.2-RELEASE.  Connect a parallel port Zip
drive.  Boot.  Watch it not work.

>Fix:
	



>Release-Note:
>Audit-Trail:

From: Brian McGovern <bmcgover@cisco.com>
To: freebsd-gnats-submit@freebsd.org, phiber@phiber.com
Cc:  
Subject: Re: kern/12092: vpo driver not working in 3.2-RELEASE
Date: Wed, 24 Nov 1999 10:16:12 -0500

 What mode is the parallel port in? Most of us run our Zip drives on
 ECP+EPP modes, and it works fine. The zip drive will not work in
 "normal" mode (no bi-directional communications), and optimal
 performance is supposed to be gained w/ECP mode.
     -Brian
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: n_hibma 
State-Changed-When: Sun Aug 6 14:55:39 PDT 2000 
State-Changed-Why:  
Feedback requested in previous submission to PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=12092 
Responsible-Changed-From-To: freebsd-bugs->n_hibma 
Responsible-Changed-By: n_hibma 
Responsible-Changed-When: Sun Aug 6 14:56:56 PDT 2000 
Responsible-Changed-Why:  
remind me to close this PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=12092 

From: Nick Hibma <n_hibma@calcaphon.com>
To: freebsd-gnats-submit@FreeBSD.org, phiber@phiber.com
Cc:  
Subject: Re: kern/12092: vpo driver not working in 3.2-RELEASE
Date: Sun, 06 Aug 2000 22:55:44 +0100

 If you are still running FreeBSD 3.x could you check whether the patch
 given in
 the URL below works for you?
 
 If you are running 4.x-STABLE or 5.0-CURRENT by now, please update your
 sources and let us
 know whether the problem persists. The problem has been solved in recent
 version of
 ppb_base. we think.
 
 http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/dev/ppbus/ppb_base.c.diff?r1=1.10&r2=1.10.2.1
 
 Nick
 -- 
 Work: n_hibma@qubesoft.com             Personal: n_hibma@webweaving.org
 
State-Changed-From-To: feedback->closed 
State-Changed-By: n_hibma 
State-Changed-When: Sun Aug 13 12:43:19 PDT 2000 
State-Changed-Why:  
Patch has been committed both to current and stable. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=12092 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/12092: commit references a PR
Date: Sat, 23 Feb 2008 10:23:11 +0000 (UTC)

 stas        2008-02-23 10:23:06 UTC
 
   FreeBSD ports repository
 
   Modified files:
     textproc/ruby-rss.alt Makefile distinfo 
   Log:
   - Update to 0.2.4.
   
   PR:             ports/12092
   Submitted by:   KIMURA Yasuhiro <yasu@utahime.org>
   
   Revision  Changes    Path
   1.16      +1 -1      ports/textproc/ruby-rss.alt/Makefile
   1.14      +3 -3      ports/textproc/ruby-rss.alt/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
