From owner-freebsd-hackers Mon Oct 13 14:32:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA25549 for hackers-outgoing; Mon, 13 Oct 1997 14:32:21 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from www.giovannelli.it (www.giovannelli.it [194.184.65.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA25529 for ; Mon, 13 Oct 1997 14:32:11 -0700 (PDT) (envelope-from gmarco@giovannelli.it) Received: from giovannelli.it (ts2port4d.masternet.it [194.184.65.215]) by www.giovannelli.it (8.8.7/8.8.5) with ESMTP id XAA00927; Mon, 13 Oct 1997 23:34:46 +0200 (MET DST) Message-ID: <3442AFED.142B189B@giovannelli.it> Date: Mon, 13 Oct 1997 23:34:05 +0000 From: Gianmarco Giovannelli Reply-To: gmarco@giovannelli.it X-Mailer: Mozilla 4.03b8 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: Mike Smith CC: hackers@freebsd.org Subject: Re: vpo0 and 3.0-current References: <199710131639.CAA00352@word.smith.net.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Mike Smith wrote: > Mike I am sorry to stress you again, but it doens't work :-) > > I have tried to put the following lines in my laptop kernel file to use > > the parallel zip I own (I own 2 scsi too , but the laptop has no scsi > > port :-). > > > > controller ppbus0 > > controller scbus0 # Required ??? > > controller ppc0 at isa? port ? irq 7 vector ppcintr > > controller vpo0 at ppbus? # Zip Parallelo > > device nlpt0 at ppbus? # Stampante > > > > I disable lpt0 and the nlpt0 seems to be recognized, but the zip > > doens't. It is not probed at all ... > > > > Perhaps I miss to add something ? > > Yes; the Zip is a SCSI disk, so you need: > > device sd0 > > as well as the scbus0 controller. Here is the the dmesg output : --- begin --- Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Mon Oct 13 23:05:14 GMT 1997 root@gmarco.eclipse.org:/usr/src/sys/compile/ARTURO CPU: Pentium (165.62-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x544 Stepping=4 Features=0x8001bf real memory = 33554432 (32768K bytes) avail memory = 30277632 (29568K bytes) Probing for devices on PCI bus 0: chip0: rev 0x00 on pci0.0.0 pcic0: rev 0x04 int a irq 255 on pci0.1.0 pcic1: rev 0x04 int b irq 255 on pci0.1.1 vga0: rev 0x01 int a irq 255 on pci0.3.0 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> pccard driver sio added sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 not found at 0x2f8 psm0 at 0x60-0x64 irq 12 on motherboard psm0: device ID 0 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): wd0: 2067MB (4233600 sectors), 4200 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (atapi): , removable, intr, iordy wcd0: 1377Kb/sec, 128Kb cache, audio play, 16 volume levels, tray wcd0: no disc inside pccard driver ep added ep0 not found at 0x300 ppc0 at 0x378 irq 7 on isa ppc0: Generic chipset in EPP mode (EPP 1.9) nlpt0: on ppbus 0 nlpt0: Interrupt-driven port npx0 on motherboard npx0: INT 16 interface apm0 flags 0x11 on isa apm: found APM BIOS version 1.2 PC-Card VLSI 82C146 (5 mem & 2 I/O windows) pcic: controller irq 11 --- end dmesg file --- --- begin kernel file --- machine "i386" cpu "I586_CPU" ident ARTURO maxusers 10 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options BOUNCE_BUFFERS #include support for DMA bounce buffers options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options "VM86" options XSERVER options ATAPI options ATAPI_STATIC #Don't do it as an LKM options KTRACE #Kernel tracing options SYSVSHM config kernel root on wd0 controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr device wcd0 controller scbus0 device sd0 controller ppbus0 controller ppc0 at isa? port ? irq 7 vector ppcintr controller vpo0 at ppbus? # Zip Parallelo device nlpt0 at ppbus? # Stampante device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr device npx0 at isa? port "IO_NPX" irq 13 vector npxintr device apm0 at isa? flags 0x11 # PCCARD (PCMCIA) support controller crd0 device pcic0 at crd? device pcic1 at crd? device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device lpt0 at isa? disable port? tty irq 7 vector lptintr device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr device ep0 at isa? port 0x300 net irq 10 vector epintr pseudo-device loop pseudo-device ether pseudo-device log pseudo-device sl 1 pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's pseudo-device bpfilter 4 --- end kernel config --- Have I to change something ?