Date: Sun, 29 Mar 1998 09:54:17 -0500 (EST) From: "Viren R. Shah" <viren@rstcorp.com> To: freebsd-questions@FreeBSD.ORG Subject: PnP ISA modem, pnp, PPP and 2.2.6 Message-ID: <199803291454.JAA00364@rstcorp.com>
index | next in thread | raw e-mail
[Note: this is the first time I've ever tried to use a modem with
FreeBSD (or any UNIX, for that matter), so I might be missing
something pretty simple]
I'm having trouble getting my PnP modem configured in 2.2.6-RELEASE. I
configured my system to use the pnp0 psuedo-device, and upon bootup
tried to set the IRQ and port for the modem (which shows up as CSN =
1 and LSN = 0). I enabled the modem (pnp 1 0 enable), and set it to
get its configuration from the OS (pnp 1 0 os). Then when I try to use
interactive user ppp, using "term", I get no response back from it,
and I can't even kill the process.
[Since this is an old EISA machine, do I have to set the resources used
by the modem in the EISA config, even if the modem is a plug-n-play
modem? ]
Questions:
1. Am I missing something in setting up the modem?
2. Am I using the pnp stuff correctly?
3. How can I test that the modem is actually configured right?
Here's the relevant info: (sio ports info, pnpinfo, dmesg, and how I
configured the modem at kernel bootup using pnp).
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 not found at 0x2f8
When I type in "pnpinfo", I get:
----------------------------------------------------------------------
Checking for Plug-n-Play devices...
Card assigned CSN #1
Vendor ID DAV0001 (0x01003610), Serial Number 0x00000295
PnP Version 1.0, Vendor Version 16
Device Description: DAVICOM 336PNP MODEM
Logical Device ID: DAV0336 0x36033610 #0
Device supports I/O Range Check
TAG Start DF
I/O Range 0x2f8 .. 0x2f8, alignment 0x8, len 0x8
[16-bit addr]
IRQ: 3 - only one type (true/edge)
TAG Start DF
I/O Range 0x3f8 .. 0x3f8, alignment 0x8, len 0x8
[16-bit addr]
IRQ: 4 - only one type (true/edge)
TAG Start DF
I/O Range 0x3e8 .. 0x3e8, alignment 0x8, len 0x8
[16-bit addr]
IRQ: 4 - only one type (true/edge)
TAG Start DF
I/O Range 0x2e8 .. 0x2e8, alignment 0x8, len 0x8
[16-bit addr]
IRQ: 3 - only one type (true/edge)
TAG Start DF
I/O Range 0x3e8 .. 0x3e8, alignment 0x8, len 0x8
[16-bit addr]
IRQ: 5 - only one type (true/edge)
TAG Start DF
I/O Range 0x2e8 .. 0x2e8, alignment 0x8, len 0x8
[16-bit addr]
IRQ: 5 - only one type (true/edge)
TAG Start DF
I/O Range 0x3e8 .. 0x3e8, alignment 0x8, len 0x8
[16-bit addr]
IRQ: 3 4 5 7 10 11 12 15 - only one type (true/edge)
TAG Start DF
I/O Range 0x2e8 .. 0x2e8, alignment 0x8, len 0x8
[16-bit addr]
IRQ: 3 4 5 7 10 11 12 15 - only one type (true/edge)
TAG Start DF
I/O Range 0x3f8 .. 0x3f8, alignment 0x8, len 0x8
[16-bit addr]
IRQ: 3 4 5 7 10 11 12 15 - only one type (true/edge)
TAG Start DF
I/O Range 0x2f8 .. 0x2f8, alignment 0x8, len 0x8
[16-bit addr]
IRQ: 3 4 5 7 10 11 12 15 - only one type (true/edge)
TAG Start DF
I/O Range 0x200 .. 0x3f8, alignment 0x8, len 0x8
[16-bit addr]
IRQ: 3 4 5 7 10 11 12 15 - only one type (true/edge)
TAG End DF
End Tag
Successfully got 37 resources, 1 logical fdevs
-- card select # 0x0001
CSN DAV0001 (0x01003610), Serial Number 0x00000295
Logical device #0
IO: 0x03f8 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 4 0
DMA 0 0
IO range check 0x00 activate 0x01
----------------------------------------------------------------------
Here's the dmesg from bootup:
----------------------------------------------------------------------
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 2.2.6-RELEASE #0: Sat Mar 28 18:05:09 EST 1998
root@bandersnatch.viren.org:/usr/src/sys/compile/VIREN_FOUR
CPU: Pentium (66.66-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x513 Stepping=3
Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory = 33554432 (32768K bytes)
FreeBSD Kernel Configuration Utility - Version 1.1
Type "help" for help or "visual" to go to the visual
configuration interface (requires MGA/VGA display or
serial terminal capable of displaying ANSI graphics).
config> ls
Device port irq drq iomem iosize unit flags enabled
fdc0 0x3f0 6 2 0x0 0 0 0x0 Yes
wdc0 0x1f0 14 -1 0x0 0 0 0x0 Yes
wdc1 0x170 15 -1 0x0 0 1 0x0 Yes
ida0 0x0 -1 -1 0x0 0 0 0x0 Yes
bt0 0x330 -1 -1 0x0 0 0 0x0 No
uha0 0x330 -1 5 0x0 0 0 0x0 No
aha0 0x330 -1 5 0x0 0 0 0x0 Yes
aic0 0x340 11 -1 0x0 0 0 0x0 Yes
nca0 0x1f88 10 -1 0x0 0 0 0x0 No
nca1 0x350 5 -1 0x0 0 1 0x0 No
sea0 0x0 5 -1 0xc8000 8192 0 0x0 No
wt0 0x300 5 1 0x0 0 0 0x0 No
scd0 0x230 -1 -1 0x0 0 0 0x0 Yes
sc0 0x60 1 -1 0x0 0 0 0x0 Yes
sio0 0x3f8 4 -1 0x0 0 0 0x0 Yes
sio1 0x2f8 3 -1 0x0 0 1 0x0 Yes
sio2 0x3e8 5 -1 0x0 0 2 0x0 No
sio3 0x2e8 9 -1 0x0 0 3 0x0 No
lpt0 0xffffffff 7 -1 0x0 0 0 0x0 Yes
psm0 0x60 12 -1 0x0 0 0 0x0 Yes
ed0 0x300 3 -1 0xd8000 0 0 0x0 Yes
ex0 0xffffffff -1 -1 0x0 0 0 0x0 No
Device port irq drq iomem iosize unit flags enabled
fe0 0x300 -1 -1 0x0 0 0 0x0 No
le0 0x300 5 -1 0xd0000 0 0 0x0 No
lnc0 0x280 10 0 0x0 0 0 0x0 No
ze0 0x300 5 -1 0xd8000 0 0 0x0 No
zp0 0x300 10 -1 0xd8000 0 0 0x0 No
npx0 0xf0 13 -1 0x0 0 0 0x1 Yes
apm0 0x0 -1 -1 0x0 0 0 0x0 No
CSN LDN conf en irqs drqs others (PnP devices)
1 0 OS Y 4 0 0 0 port 0x3f8
Number of EISA slots to probe: 10
config> quit
avail memory = 30756864 (30036K bytes)
eisa0: <CPQ1519 (System Board)>
Probing for devices on the EISA bus
eisa0:5 <CPQ6101=0xe116101> unknown device
eisa0:6 <CPQ4020=0xe114020> unknown device
eisa0:9 <CPQ4410=0xe114410> unknown device
Probing for PnP devices:
CSN 1 Vendor ID: DAV0001 [0x01003610] Serial 0x00000295
PnP: override config for CSN 1 LDN 0 vend_id 0x01003610
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x300-0x31f irq 3 on isa
ed0: address 00:20:c5:00:20:24, type NE2000 (16 bit)
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 not found at 0x2f8
lpt0 at 0x3bc-0x3c3 irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, 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 not found at 0x1f0
wdc1 not found at 0x170
ida0: drvs=1 firm_rev=1.66
ida0 at 0x6000-0x6fff irq 15 on eisa slot 6
ida0: unit 0 (id0): <Compaq Logical Drive>
id0: 3002MB (6149631 total sec), 697 cyl, 173 head, 51 sec, bytes/sec 512
aha0 not found at 0x330
aic0 not found at 0x340
scd0 not found at 0x230
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
Intel Pentium F00F detected, installing workaround
----------------------------------------------------------------------
During config , I set:
pnp 1 0 enable
pnp 1 0 os
pnp 1 0 irq0 4
pnp 1 0 port0 0x3f8 (to match sio0)
Other information:
The machine is a dual P66 Compaq ProLiant 2000 w/32M RAM and a Compaq
RAID controller. It is running 2.2.6 (the id0 device is the RAID
drive)
Thanks
Viren
--
Viren R. Shah
viren@rstcorp.com | "God made a few people perfect
http://www.rstcorp.com/~vshah/ | --the rest He created right-handed"
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803291454.JAA00364>
