From owner-freebsd-hardware Sun Dec 24 21:13:07 1995 Return-Path: owner-hardware Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA02494 for hardware-outgoing; Sun, 24 Dec 1995 21:13:07 -0800 (PST) Received: from sin.multiverse.com (rhh@sin.multiverse.com [199.218.112.134]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA02488 Sun, 24 Dec 1995 21:13:04 -0800 (PST) Received: (from rhh@localhost) by sin.multiverse.com (8.6.12/8.8.1+IDA) id AAA31683; Mon, 25 Dec 1995 00:13:01 -0500 From: Randall Hopper Message-Id: <199512250513.AAA31683@sin.multiverse.com> Subject: comp.unix.bsd.freebsd.misc To: freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org Date: Mon, 25 Dec 1995 00:13:00 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hardware@freebsd.org Precedence: bulk I'm not having much luck getting my AT-1500 Lance-based Ethernet card working on my new P-100 and would appreciate some help. I can monitor packets on my local subnet using BPF & tcpdump, but when I attempt to put a packet on the line (e.g. with "ping host-on-local-subnet"), the ARP request fails with: Dec 25 00:19:00 stealth /kernel: arpresolve: can't allocate llinfo Interestingly this same kernel and same card config worked fine on my old 486. I've verified there are no Port/IRQ/DMA address conflicts (and have tried several combinations anyway -- 340/12/7; 340/10/6; 300/12/7; etc) with no change. Any suggestions on what I should try next (or thoughts on what underlying problem this error might indicate?) Thanks, Randall Hopper rhh@sin.multiverse.com System info: Allied Telesyn AT-1500 ISA Lance-based Ethernet Card ASUS P54TP4XE PCI/ISA Motherboard w/ P-100 & 16 Meg Stock FreeBSD 2.0.5 Here are the relevant lines from the boot log: FreeBSD 2.0.5-RELEASE #0: Sun Sep 17 15:51:57 1995 ... CPU: 99-MHz Pentium 735\\90 or 815\\100 (Pentium-class CPU) ... CPU: 99-MHz Pentium 735\\90 or 815\\100 (Pentium-class CPU) Origin = "GenuineIntel" Id = 0x525 Stepping=5 Features=0x1bf real memory = 16384000 (4000 pages) avail memory = 14643200 (3575 pages) Probing for devices on the ISA bus: ... lnc0 at 0x340-0x357 irq 12 drq 7 on isa lnc0: PCnet-ISA Ethernet controller, address 00:00:f4:a9:bc:09 bpf: lnc0 attached lnc1: disabled, not probed. ... And the pertinent lines from netstart ifconfig lnc0 inet stealth netmask 0xffffff00 debug ifconfig lnc0 up And from my kernel config file: options BOUNCE_BUFFERS #support for DMA bounce buffers controller isa0 device lnc0 at isa? port 0x340 net irq 12 drq 7 vector lncintr device lnc1 at isa? port 0x320 net irq 11 drq 6 vector lncintr pseudo-device loop pseudo-device ether options GATEWAY #internetwork gateway From owner-freebsd-hardware Sun Dec 24 21:51:56 1995 Return-Path: owner-hardware Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA03317 for hardware-outgoing; Sun, 24 Dec 1995 21:51:56 -0800 (PST) Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA03299 Sun, 24 Dec 1995 21:51:51 -0800 (PST) Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id VAA03729; Sun, 24 Dec 1995 21:50:21 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.7.3/8.6.5) with SMTP id VAA03088; Sun, 24 Dec 1995 21:50:21 -0800 (PST) Message-Id: <199512250550.VAA03088@corbin.Root.COM> To: Randall Hopper cc: freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: comp.unix.bsd.freebsd.misc In-reply-to: Your message of "Mon, 25 Dec 95 00:13:00 EST." <199512250513.AAA31683@sin.multiverse.com> From: David Greenman Reply-To: davidg@Root.COM Date: Sun, 24 Dec 1995 21:50:20 -0800 Sender: owner-hardware@freebsd.org Precedence: bulk > I'm not having much luck getting my AT-1500 Lance-based Ethernet card >working on my new P-100 and would appreciate some help. I can monitor >packets on my local subnet using BPF & tcpdump, but when I attempt to put >a packet on the line (e.g. with "ping host-on-local-subnet"), the ARP >request fails with: > > Dec 25 00:19:00 stealth /kernel: arpresolve: can't allocate llinfo > >Interestingly this same kernel and same card config worked fine on my old 486. > > I've verified there are no Port/IRQ/DMA address conflicts (and have >tried several combinations anyway -- 340/12/7; 340/10/6; 300/12/7; etc) >with no change. > > Any suggestions on what I should try next (or thoughts on what >underlying problem this error might indicate?) ... > ifconfig lnc0 inet stealth netmask 0xffffff00 debug > ifconfig lnc0 up The message indicates a routing/ifconfig problem. Try putting your IP address in where "stealth" is, and kill the 'debug'. -DG From owner-freebsd-hardware Mon Dec 25 12:35:07 1995 Return-Path: owner-hardware Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA00276 for hardware-outgoing; Mon, 25 Dec 1995 12:35:07 -0800 (PST) Received: from netserv2.free.net (netserv2.free.net [147.45.15.35]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA00247 for ; Mon, 25 Dec 1995 12:34:33 -0800 (PST) Received: from sunone.isf.kiev.ua by netserv2.free.net with SMTP id AA14749 (5.65c8/EM.01/IDA-1.4.4 for freebsd-hardware@freebsd.org); Mon, 25 Dec 1995 23:34:04 +0300 Received: from knight.ukma.kiev.ua by SunOne.ISF.Kiev.UA with ESMTP id WAA28834; (8.6.12/vak/1.9) Mon, 25 Dec 1995 22:13:27 -0200 Received: from snark.ukma.kiev.ua (snark.ukma.kiev.ua [194.44.142.83]) by knight.ukma.kiev.ua (8.6.11/dk01) with ESMTP id WAA05615; Mon, 25 Dec 1995 22:06:43 +0200 Received: (from dk@localhost) by snark.ukma.kiev.ua (8.6.11/8.6.9) id WAA06538; Mon, 25 Dec 1995 22:10:14 +0200 Date: Mon, 25 Dec 1995 22:10:14 +0200 From: Dmitry Kohmanyuk Message-Id: <199512252010.WAA06538@snark.ukma.kiev.ua> To: freebsd-hardware@freebsd.org Subject: cannot recognize ne2000-compatible card Cc: dk@farm.org Sender: owner-hardware@freebsd.org Precedence: bulk well, I have already submitted a problem (i386/906), but it seems that I should expose this to wider audience... Anyone who could speak about Ethernet hardware, please help a poor little soul (i.e., me!). I have a notebook (486 slc25, 6megs of RAM), and want to make it to be my travelling internetter's workhorse. (or workpony ;-)) It is named "DTR-1", and the company name is Dauphin. It has built-in ethernet card, which is said to be built around the NS's DP83905 chip, and controller name is "AT/LANTIC". The great diagnostics/setup program which comes with the machine allows me to snoop packets, change ethernet address, and read/write card's buffer memory, as well as change port base, irq and other things (the card/machine has a NVRAM for this). The netboot code just hangs when attempting to recognize the card. >From reading the source, I understood that it first test for card being 8-bit by writing 8k to its memory, than reading it back and comparing (an I right?). It fails this test (when I patched it to succeed it, it gave me an address of 0:0:c0:c0:ec:ec, while real card's address is 0:c0:ec:2:18:d9 (btw, what's the vendor?) So I assume that the card is 16-bit (what does this mean? I just understand that memory mapping is different with different card types). Well, It hangs (machine needs cold-reset) just in probe routine, somewhere in this code: eth_flags |= FLAG_16BIT; eth_memsize = MEM_32768; eth_tx_start = 64; outb(eth_nic_base + D8390_P0_DCR, D8390_DCR_WTS | D8390_DCR_FT1 | D8390_DCR_LS); outb(eth_nic_base + D8390_P0_PSTART, MEM_16384); outb(eth_nic_base + D8390_P0_PSTOP, MEM_32768); eth_pio_write(test, 16384, sizeof(test)); eth_pio_read(16384, testbuf, sizeof(test)); DPRINTF(("ne-3.1 ")); /* added by me - never reached */ if (!bcompare(testbuf, test, sizeof(test))) return (0); The card's setup program has an option to select between 16k memory ("emulation of Novell and WD memory size 16K") and 64K. I have tried both settings. The card's diagnostics says that "8-bit slot detected" regardless of setting. when I select 16k memory, the addresses at 16k, 32k, and 48k are mapped to the same position of board's ram as ones at 0k (verified using diags program). The card has "shared memory" mode and "I/O port" mode. Which one should I use for netboot? I have tried both. I am sure the card works, since I can catch ICMP packets from ping by diags program (I have set ARP address manually on the host I am pinging from, of course). any clues, please. I am ready to hack the damn diags programs to machine instructions if this would help. I just need some advice/hint. btw, the packet driver for ne2000 recognizes the card, but I wasn't able to use any packet-driver-aware program (haven't done any tcp/ip under DOS before, though, so this can be just my fault). From owner-freebsd-hardware Fri Dec 29 12:29:22 1995 Return-Path: owner-hardware Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA11680 for hardware-outgoing; Fri, 29 Dec 1995 12:29:22 -0800 (PST) Received: from isgate.is (isgate.is [193.4.58.51]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA11674 for ; Fri, 29 Dec 1995 12:29:19 -0800 (PST) Received: from hummer.islandia.is by isgate.is (8.6.10/ISnet/14-10-91); Fri, 29 Dec 1995 20:29:14 GMT Received: from hlunkur.islandia.is by hummer.islandia.is (8.6.11/ISnet/12-09-94); Fri, 29 Dec 1995 20:23:22 GMT Date: Fri, 29 Dec 1995 20:19:58 +0000 () From: "Gestur A. Grjetarsson" To: freebsd-hardware@FreeBSD.ORG cc: admin@islandia.is Subject: Re: Majordomo results In-Reply-To: <199512292016.MAA11024@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hardware@FreeBSD.ORG Precedence: bulk Hello, I'd like to ask you, if someone knew that DTC-SCSI-2 VLB hdd controller is supported by FreeBSD, I currently use 2.0.5 on my system here and I can't find anything about this controller in the Handbook. If it's not supported by 2.0.5 ,,, does 2.1 approve it ? I have one DTC (data technology corporation) controller wich I would like to put in use :) Thanks, Gestur A. Grjetarsson sysadmin islandia.is Islandia Grensasvegur 7 108 Reykjavik Iceland From owner-freebsd-hardware Sat Dec 30 02:58:21 1995 Return-Path: owner-hardware Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA12915 for hardware-outgoing; Sat, 30 Dec 1995 02:58:21 -0800 (PST) Received: from pcpsj.pfcs.com (harlan.clark.net [168.143.10.179]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA12910 for ; Sat, 30 Dec 1995 02:58:11 -0800 (PST) Received: from mumps.pfcs.com (mumps.pfcs.com [192.52.69.11]) by pcpsj.pfcs.com (8.6.11/8.6.9) with SMTP id FAA18921 for ; Sat, 30 Dec 1995 05:57:02 -0500 Received: from localhost by mumps.pfcs.com with SMTP id AA03586 (5.67b/IDA-1.5 for ); Sat, 30 Dec 1995 05:57:00 -0500 To: hardware@freebsd.org Subject: Problem talking to an internal USRobotics Sportster Vi... Date: Sat, 30 Dec 1995 05:57:00 -0500 Message-Id: <3584.820321020@mumps.pfcs.com> From: Harlan Stenn Sender: owner-hardware@freebsd.org Precedence: bulk I just got a USR Sportster Vi 28.8 voice/fax modem. I configured the card for COM3 (ttyd2) and IRQ5. FreeBSD-2.1-STABLE (as of a couple of months ago) seems to find the card just fine (dmesg output is below). I've tried: cu -s {115000,57600,38400,19200,9600} -l /dev/ttyd2 without success. The "cu" just hangs and has to be killed from another window. Any suggestions on how I can get this beast to work will be appreciated. Thanks... H FreeBSD 2.1.0-950928-SNAP #0: Sun Dec 10 19:40:40 EST 1995 supfcs@brown.pfcs.com:/usr/src/sys/compile/BROWN CPU: 90-MHz Pentium 735\\90 (Pentium-class CPU) Origin = "GenuineIntel" Id = 0x524 Stepping=4 Features=0x1bf real memory = 16777216 (16384K bytes) avail memory = 14819328 (14472K bytes) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x280 ed1 at 0x340-0x35f irq 10 on isa ed1: address 00:40:33:28:36:78, type NE2000 (16 bit) bpf: ed1 attached sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2 at 0x3e8-0x3ef irq 5 on isa sio2: type 16550A sio3 not found at 0x2e8 lpt0 at 0x278-0x27f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface lpt1 not found at 0xffffffff lpt2 not found at 0xffffffff fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in bt0: Bt946C/ 0-PCI/EISA/VLB(32bit) bus bt0: reading board settings, busmastering, int=11 bt0: version 4.25J, fast sync, parity, 32 mbxs, 32 ccbs bt0: targ 0 sync rate=10.00MB/s(100ns), offset=15 bt0: targ 5 sync rate= 5.00MB/s(200ns), offset=15 bt0: targ 6 sync rate= 4.00MB/s(250ns), offset=15 bt0: Using Strict Round robin scheme bt0 at 0x330 irq 11 on isa bt0 waiting for scsi devices to settle (bt0:0:0): "SEAGATE ST32550N 0014" type 0 fixed SCSI 2 sd0(bt0:0:0): Direct-Access 2047MB (4194058 512 byte sectors) (bt0:5:0): "ARCHIVE Python 28388-XXX 4.98" type 1 removable SCSI 2 st0(bt0:5:0): Sequential-Access density code 0x13, drive empty (bt0:6:0): "TOSHIBA CD-ROM XM-3501TA 3384" type 5 removable SCSI 2 cd0(bt0:6:0): CD-ROM cd present.[312922 x 2048 byte records] npx0 on motherboard npx0: INT 16 interface pas0 not found at 0x388 sb0 at 0x220 irq 7 drq 1 on isa sb0: sbxvi0 at 0x0 drq 5 on isa sbxvo0: sbmidi0 at 0x300 on isa gus0 not probed due to I/O address conflict with sb0 at 0x220 mss0 not probed due to drq conflict with sb0 at 1 opl0 at 0x388 on isa opl0: mpu0 not probed due to I/O address conflict with bt0 at 0x330 uart0 not probed due to I/O address conflict with bt0 at 0x330 Probing for devices on the PCI bus: chip0 rev 57 on pci0:0 chip1 rev 0 on pci0:1 vga0 rev 0 int a irq 9 on pci0:10 pci0:11: Bus Logic, device=0x1040, class=storage (scsi) [no driver assigned] pci0:13: CMD, device=0x640, class=storage (ide) [no driver assigned] changing root device to sd0a bpf: lo0 attached bpf: sl0 attached bpf: tun0 attached From owner-freebsd-hardware Sat Dec 30 07:46:13 1995 Return-Path: owner-hardware Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA22436 for hardware-outgoing; Sat, 30 Dec 1995 07:46:13 -0800 (PST) Received: from chemserv.umd.edu (chemserv.umd.edu [129.2.64.40]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id HAA22427 for ; Sat, 30 Dec 1995 07:46:09 -0800 (PST) Received: from espresso.eng.umd.edu (espresso.eng.umd.edu [129.2.98.13]) by chemserv.umd.edu (8.7.3/8.7) with ESMTP id KAA01551; Sat, 30 Dec 1995 10:46:02 -0500 (EST) Received: (chuckr@localhost) by espresso.eng.umd.edu (8.7.3/8.6.4) id KAA00975; Sat, 30 Dec 1995 10:46:02 -0500 (EST) Date: Sat, 30 Dec 1995 10:46:01 -0500 (EST) From: Chuck Robey X-Sender: chuckr@espresso.eng.umd.edu To: Harlan Stenn cc: hardware@freebsd.org Subject: Re: Problem talking to an internal USRobotics Sportster Vi... In-Reply-To: <3584.820321020@mumps.pfcs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hardware@freebsd.org Precedence: bulk On Sat, 30 Dec 1995, Harlan Stenn wrote: > I just got a USR Sportster Vi 28.8 voice/fax modem. > > I configured the card for COM3 (ttyd2) and IRQ5. FreeBSD-2.1-STABLE (as > of a couple of months ago) seems to find the card just fine (dmesg > output is below). > > I've tried: > > cu -s {115000,57600,38400,19200,9600} -l /dev/ttyd2 > > without success. The "cu" just hangs and has to be killed from another > window. > > Any suggestions on how I can get this beast to work will be appreciated. > > Thanks... > OK, I can see at least two problems. It appears from your dmesg that your have both a lpt0 and the soundblaster working on irq7. That's not possible, you can't share interrupts like that. Secondly, from what you say above, your modem is on COM3, right? That's really a useless description. I'm not being sarcastic, I'm trying to tell you that you have to set the sio numbers using two _real_ values: an irq, and an ioaddr. Go back to your documentation on your Sportster and find out what ioaddr and irq are being used, then boot with the -c flag, and set those values for sio2. Keep in mind that you can't share interrupts. It can be done, but only on cards that have the interrupt sharing hardware onboard, because the AT bus doesn't allow it. My async card has 8 UARTS on it, and all of the irqs are being shared oncard, but I still can't share interrupts outside of that card. Examine your system carefully, that chances are extremely high that you are illegally sharing either an interrupt or an ioaddr. ============================================================================ Chuck Robey chuckr@eng.umd.edu -- I run FreeBSD on n3lxx and Journey2 --------------------------------------------------------------------------- The Dilbert Zone is Dilbert's new WWW home! The area features never-before-seen original sketches of Dilbert, a photo tour of Scott Adams' studio, Dilbert Trivia and memorabilia, high school photos and much more!: