From owner-freebsd-stable Sat Sep 16 4:48:56 2000 Delivered-To: freebsd-stable@freebsd.org Received: from zmail6.easynet.fr (email.easynet.fr [195.114.64.207]) by hub.freebsd.org (Postfix) with SMTP id 35FB737B422 for ; Sat, 16 Sep 2000 04:48:53 -0700 (PDT) Received: (qmail 51261 invoked from network); 16 Sep 2000 11:48:51 -0000 Received: from mailgate3.easynet.fr (192.168.1.4) by mailserver.easynet.fr with QMQP; 16 Sep 2000 11:48:51 -0000 Received: from adsl-92-1-171.pops.easynet.fr (HELO vobiscum.styx.org) (212.11.34.171) by mrelay3.easynet.fr with SMTP; 16 Sep 2000 11:53:49 -0000 Received: (from marc@localhost) by vobiscum.styx.org (8.11.0/8.9.3/ - 6/08/98) id e8GBstC08505 for freebsd-stable@freebsd.org; Sat, 16 Sep 2000 13:54:55 +0200 (CEST) (envelope-from marc) Date: Sat, 16 Sep 2000 13:54:50 +0200 From: Marc Fonvieille To: freebsd-stable@freebsd.org Subject: pci.c from 2000/09/01 freeze my laptop Message-ID: <20000916135450.A7969@vobiscum.styx.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Useless-Header: Black Metal inc. X-Operating-System: FreeBSD 4.1-STABLE Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I upgraded my 4-Stable on my laptop with ctms and after reboot with new kernel the system freeze after that line: atapci0: port 0x8000-0x800f at device 7.1 on pci0 So after long search i found that ctm src-4.0227.gz is guilty (with src-4.0226.gz and previous no problems) So when i do a ctm -l on src-4.0227.gz, it gives this: FN contrib/bind/bin/dnsquery/dnsquery.c FN release/texts/alpha/RELNOTES.TXT FN release/texts/i386/RELNOTES.TXT FN sys/netgraph/ng_parse.c FN sys/pci/if_dc.c FN sys/pci/if_dcreg.h FN sys/pci/pci.c FN usr.bin/finger/extern.h FN usr.bin/finger/finger.1 FN usr.bin/finger/finger.c FN usr.bin/finger/finger.conf.5 FN usr.bin/finger/lprint.c FN usr.bin/finger/pathnames.h It seems that only the changes on sys/pci/pci.c could be the reason of the freeze. Here's the code: CTMFN sys/pci/pci.c 70 70 644 0dec08827f728a7e3af51801b6d2ba4b 018e3bc3fa 551c0dd7d4dd59ed8681f6 405 d26 1 a26 1 * $FreeBSD: /ctm/FreeBSD/anoncvs/cvs/src/sys/pci/pci.c,v 1.141.2.3 * 2000/ 09/01 23:29:34 msmith Exp $ d1082 4 a1085 8 if (type == SYS_RES_IOPORT && !pci_porten(cfg)) { cfg->cmdreg |= PCIM_CMD_PORTEN; pci_cfgwrite(cfg, PCIR_COMMAND, cfg->cmdreg, 2); } if (type == SYS_RES_MEMORY && !pci_memen(cfg)) { cfg->cmdreg |= PCIM_CMD_MEMEN; pci_cfgwrite(cfg, PCIR_COMMAND, cfg->cmdreg, 2); } Any advices? (If you need more informations: dmesg..., ask for it.) ps: in my kernel config i've got # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID #Static device numbering #options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message