Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 1997 23:34:05 +0000
From:      Gianmarco Giovannelli <gmarco@giovannelli.it>
To:        Mike Smith <mike@smith.net.au>
Cc:        hackers@freebsd.org
Subject:   Re: vpo0 and 3.0-current
Message-ID:  <3442AFED.142B189B@giovannelli.it>
References:  <199710131639.CAA00352@word.smith.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 33554432 (32768K bytes)
avail memory = 30277632 (29568K bytes)
Probing for devices on PCI bus 0:
chip0: <Host to PCI bridge (vendor=10aa device=0000)> rev 0x00 on
pci0.0.0
pcic0: <TI 1130 PCMCIA/CardBus Bridge> rev 0x04 int a irq 255 on
pci0.1.0
pcic1: <TI 1130 PCMCIA/CardBus Bridge> rev 0x04 int b irq 255 on
pci0.1.1
vga0: <VGA-compatible display device> 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): <IBM-DTNA-22160>
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): <UJDCD8730M/1.05>, 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: <generic printer> 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 ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3442AFED.142B189B>