From owner-freebsd-questions Sun Mar 29 19:34:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA04909 for freebsd-questions-outgoing; Sun, 29 Mar 1998 19:34:02 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from bigbrother (bigbrother.rstcorp.com [206.29.49.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA04769 for ; Sun, 29 Mar 1998 19:33:37 -0800 (PST) (envelope-from vshah@rstcorp.com) Received: (from uucp@localhost) by bigbrother (8.6.12/8.6.9) id KAA22247 for ; Sun, 29 Mar 1998 10:44:54 -0500 Received: from fault.rstcorp.com(206.29.49.18) by bigbrother.rstcorp.com via smap (V2.0) id xma022245; Sun, 29 Mar 98 10:44:33 -0500 Received: (from vshah@localhost) by rstcorp.com (8.8.1/8.8.1) id JAA00364; Sun, 29 Mar 1998 09:54:17 -0500 (EST) Date: Sun, 29 Mar 1998 09:54:17 -0500 (EST) Message-Id: <199803291454.JAA00364@rstcorp.com> MIME-Version: 1.0 From: "Viren R. Shah" To: freebsd-questions@FreeBSD.ORG Subject: PnP ISA modem, pnp, PPP and 2.2.6 X-Mailer: VM 6.40 under 19.16 "Lille" XEmacs Lucid Reply-To: "Viren R. Shah" X-Face: )~y+U*K:yzjz{q<5lzpI_SVef'U.])9g[C9`1N@]u3,MHY7f*l7C)[_NjM4y4K8$uIUh|\u (K&&HS6,M!61&GMTk'mqmB/Qg]]X}"?TzsFl]"2v!bl8']dma.:^IY^a[lbOI>U:b<~FyK3q-p{HmZ mn~g.`~BE!5{2D:}Yi+\_KkWe?XaHj9$ko1k8iKLYv5*_2c8"G=?Up[}hn+7RNM(bzBZ_wWk6!Pf&B ?3Tcm7M7B~W%K/I0aX3]*=jP?aM]H6HBPT`oLk+0n^_;N\2\%|Rhy;p}34Q.jEsM\qtnxcm;ag%Nq Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [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 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: Probing for devices on the EISA bus eisa0:5 unknown device eisa0:6 unknown device eisa0:9 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): 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