Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jun 2005 16:34:36 +0200 (CEST)
From:      Riccardo Torrini <riccardo@torrini.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/82641: Remove or mark BROKEN misc/zaptel on 4.x and SMP machines
Message-ID:  <20050625143436.602191A6B7@silos.torrini.home>
Resent-Message-ID: <200506251440.j5PEeGaN038226@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         82641
>Category:       ports
>Synopsis:       Remove or mark BROKEN misc/zaptel on 4.x and SMP machines
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 25 14:40:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Riccardo Torrini
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD silos.torrini.home 4.11-STABLE FreeBSD 4.11-STABLE #61: Fri Jun 24 12:42:23 CEST 2005 root@silos.torrini.home:/usr/obj/usr/src/sys/SILOS i386

Copyright (c) 1992-2005 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.11-STABLE #61: Fri Jun 24 12:42:23 CEST 2005
    root@silos.torrini.home:/usr/obj/usr/src/sys/SILOS
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 350797576 Hz
CPU: AMD-K6(tm) 3D processor (350.80-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0x80000800<SYSCALL,3DNow!>
real memory  = 134217728 (131072K bytes)
avail memory = 127385600 (124400K bytes)
Preloaded elf kernel "kernel" at 0xc031e000.
K6-family MTRR support enabled (2 registers)
Using $PIR table, 6 entries at 0xc00fddf0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C586 ATA33 controller> port 0xe000-0xe00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 11 at device 7.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: 2 ports with 2 removable, self powered
viapm0: <VIA VT82C586B Power Management Unit> port 0x5000-0x50ff at device 7.3 on pci0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus0: <System Management Bus> on iicsmb0
smb0: <SMBus general purpose I/O> on smbus0
iic0: <I2C general purpose I/O> on iicbus0
pci0: <S3 ViRGE graphics accelerator> at 8.0 irq 10
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xe800-0xe83f mem 0xe2000000-0xe20fffff,0xe2100000-0xe2100fff irq 12 at device 9.0 on pci0
fxp0: Ethernet address 00:d0:b7:c8:83:9a
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc97ff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
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 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2 at port 0x3e8-0x3ef irq 5 on isa0
sio2: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Winbond chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
DUMMYNET initialized (011031)
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, unlimited logging
ulpt0: Brother Industries product 0x001a, rev 1.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
ad0: 78167MB <Maxtor 6Y080L0> [158816/16/63] at ata0-master UDMA33
ad2: 78167MB <Maxtor 6Y080L0> [158816/16/63] at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a
uhid0: American Power Conversion Back-UPS RS 500 FW:30.j2.I USB FW:j2, rev 1.10/0.06, addr 3, iclass 3/0

	
>Description:
	
	Please remove or mark this port as ABSOLUTELY_BROKEN for systems
	running 4.11 because it instantly and badly crash.  Also crash on
	any machine with CURRENT and SMP (real dual processors, not HTT).

	I have a crash snapshot here (warning, about 320kB):

		ftp://ftp.torrini.org/pub/FreeBSD/zaptel_crash.jpg

	Never finished to syncing disks  :-(

	(note: before installing in my home server I tested pci card on a
	5.4-STABLE machine for 24 hours without any problem, maybe this is
	only a my problem with that 4.11 machine but a crash is a crash)


>How-To-Repeat:
	
	Buy an FXO board (new or used), it is a bare win modem pci card with
	a "known and supported" chip.  Install misc/zaptel.

	Note: up to 0.9 version of this port it doesn't compile.  Anyway now
	it forgot(?) to create required devices (with 5.4 or 6.0 and devfs
	there no need to do this step, obviously  :-).

	I don't know if device are usefull only for controlling this card or
	are really required also for starting up, anyway port doesn't create
	any device.  Now load kernel modules with provided .../rc.d script
	and machine instantly blow up.

>Fix:
	
	Add a big banner and stop it building and installing on 4.x or SMP.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050625143436.602191A6B7>