From owner-freebsd-stable Mon Aug 19 10:43:18 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76A9837B400 for ; Mon, 19 Aug 2002 10:43:11 -0700 (PDT) Received: from pc1-cove2-4-cust33.bir.cable.ntl.com (pc1-cove2-4-cust33.bir.cable.ntl.com [80.4.78.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C8E443E6A for ; Mon, 19 Aug 2002 10:43:10 -0700 (PDT) (envelope-from ianjhart@ntlworld.com) Received: from ntlworld.com (alpha.private.lan [192.168.0.2]) by pc1-cove2-4-cust33.bir.cable.ntl.com (8.12.3/8.12.3) with ESMTP id g7JHh3jJ004692; Mon, 19 Aug 2002 18:43:08 +0100 (BST) (envelope-from ianjhart@ntlworld.com) Message-ID: <3D612E27.25C3ADBD@ntlworld.com> Date: Mon, 19 Aug 2002 18:43:03 +0100 From: ian j hart X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: kent@tfd.com Cc: stable Subject: Re: Internal modem/SCSI controller conflict References: <3D5F4C68.2020101@tfd.com> <229650000.1029695149@aslan.scsiguy.com> <3D600350.88895BC8@ntlworld.com> <3D605002.3040308@tfd.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kent Hauser wrote: > > Thanks, > > You were right -- the current problem with 'tip' is separate & > different from the > internal modem/SCSI conflict. Let me describe *that* problem: when > booting from CD > (or running sysinstall from shell), sysinstall locks the machine with > the open for the internal sio. > I know this from running sysinstall under gdb and finding the system > call which locks the machine > (an open). > > So I took your advise, removed the SCSI controller, disabled the > printer & ttyb (?). Still locks > when I access the internal modem via tip. I have attached the new > dmesg.log. (And I would be > interested in knowing how one controls interrupts, etc, assigned to > these "PnP" cards) The black art of irq manipulation is a bit off topic. I'll send you some hints in private mail. Expect to lose hair. Just last week I spent 8 hours trying to fix a new box which would reboot as soon as the SCSI card was probed. Turned out to be a broken BIOS. > > Sorry I seem so clueless on interrupts/memory/etc. I come from 15 > years of Sun admin & > might have to run down panics, but never "lockups". Panics are so much > easier as the disks get > synched which means that any kernal traces you had running are written > out so finding out what > syscall caused the panic (or even breaking into kdb) is a snap. > > Thanks for the help. > > Kent > > ian j hart wrote: > > > "Justin T. Gibbs" wrote: > > > >> > Hi, > >> > My machine locks up tight whenever I access my internal modem. > >> > The modem > >> > is a standard modem (which works when the scsi controller is > >> > removed) and > >> > the scsi controller is an Adaptec 29160 with a DAT drive > >> > attached. > >> > Whenever I type "tip dial" (from /etc/remote: > >> > dial:dv=/dev/cuaa4:br#38400:pa=none:) the box immed locks. Mouse > >> > doesn't > >> > work. Alt-ctrl-del doesn't work. > >> > However, tape drive works fine. > >> > Any thoughts? dmesg attached. > >> > > >> How is this related to your SCSI controller? It is not sharing an > >> interrupt or any other resources with your internal modem. > >> > > No, but the modem is sharing an irq with atapci1, which > > has the boot drive hanging off it. > > Questions. > > What does the dmesg look like without the SCSI card? > > How is it different? > > You appear to have a PS/2 mouse. > > Why are both COM ports enabled? > > If you don't have a printer, turn that port off too. > > You have way too much stuff in this box > > > > --------------------------------------------------------------- > Copyright (c) 1992-2002 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > 1994 > The Regents of the University of California. All rights > reserved. > FreeBSD 4.6-STABLE #0: Fri Aug 16 03:47:35 EDT 2002 > kent@chapel-hill.tfd.com:/usr/obj/usr/src/sys/CH > Timecounter "i8254" frequency 1193182 Hz > CPU: Pentium III/Pentium III Xeon/Celeron (696.41-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x681 Stepping = 1 > Features=0x383f9ff > real memory = 134217728 (131072K bytes) > avail memory = 125464576 (122524K bytes) > Preloaded elf kernel "kernel" at 0xc0504000. > Preloaded elf module "snd_emu10k1.ko" at 0xc050409c. > Preloaded elf module "snd_pcm.ko" at 0xc0504140. > Pentium Pro MTRR support enabled > md0: Malloc disk > Using $PIR table, 11 entries at 0xc00fdf10 > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > pcib1: at device 1.0 on > pci0 > pci1: on pcib1 > pci1: at 0.0 irq 11 > isab0: at device 7.0 on pci0 > isa0: on isab0 > atapci0: port 0x1400-0x140f at device > 7.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > uhci0: port 0x10c0-0x10df > irq 9 at device 7.2 on pci0 > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > chip1: port 0x7000-0x700f > at device 7.3 on pci0 > atapci1: port > 0x1080-0x10bf,0x1410-0x1413,0x1418-0x141f,0x1414-0x1417,0x1420-0x1427 > mem 0xf4000000-0xf401ffff irq 5 at device 13.0 on pci0 > ata2: at 0x1420 on atapci1 > ata3: at 0x1418 on atapci1 > pcm0: port 0x10e0-0x10ff irq 10 at device 15.0 on > pci0 > xl0: <3Com 3c900B-TPC Etherlink XL> port 0x1000-0x107f mem > 0xf4020000-0xf402007f irq 9 at device 16.0 on pci0 > xl0: Ethernet address: 00:50:da:17:a0:3a > xl0: selecting 10baseT transceiver, half duplex > sio0: <3COM PCI FaxModem> port 0x1430-0x1437 irq 5 at device 17.0 on > pci0 > sio0: moving to sio4 > sio4: type 16550A > orm0: