Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2002 18:43:03 +0100
From:      ian j hart <ianjhart@ntlworld.com>
To:        kent@tfd.com
Cc:        stable <stable@FreeBSD.ORG>
Subject:   Re: Internal modem/SCSI controller conflict
Message-ID:  <3D612E27.25C3ADBD@ntlworld.com>
References:  <3D5F4C68.2020101@tfd.com> <229650000.1029695149@aslan.scsiguy.com> <3D600350.88895BC8@ntlworld.com> <3D605002.3040308@tfd.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bg>
> >
> 
>     ---------------------------------------------------------------
> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
> 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: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
> pci0: <PCI bus> on pcib0
> pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on
> pci0
> pci1: <PCI bus> on pcib1
> pci1: <NVidia Riva TNT2 graphics accelerator> at 0.0 irq 11
> isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel PIIX4 ATA33 controller> port 0x1400-0x140f at device
> 7.1 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x10c0-0x10df
> irq 9 at device 7.2 on pci0
> usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <Intel 82371AB Power management controller> port 0x7000-0x700f
> at device 7.3 on pci0
> atapci1: <Promise ATA66 controller> 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: <Creative EMU10K1> 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: <Option ROMs> at iomem
> 0xc0000-0xc97ff,0xc9800-0xcafff,0xe4000-0xeffff on isa0
> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
> isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model IntelliMouse, device ID 3
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
> isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1: configured irq 3 not in bitmap of probed irqs 0
> ppc0: parallel port not found.
> IPsec: Initialized Security Association Processing.
> ad4: 26105MB <IBM-DPTA-372730> [53040/16/63] at ata2-master UDMA66
> acd0: DVD-ROM <Pioneer DVD-ROM ATAPIModel DVD-114 0117> at ata0-master
> PIO4
> acd1: CD-RW <R/RW 4x4x24> at ata0-slave PIO4
> Mounting root from ufs:/dev/ad4s2a
> WARNING: / was not properly dismounted
	
-- 
ian j hart

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D612E27.25C3ADBD>