Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Sep 2000 13:54:50 +0200
From:      Marc Fonvieille <fonvi@easynet.fr>
To:        freebsd-stable@freebsd.org
Subject:   pci.c from 2000/09/01 freeze my laptop
Message-ID:  <20000916135450.A7969@vobiscum.styx.org>

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

I upgraded my 4-Stable on my laptop with ctms and after reboot
with new kernel the system freeze after that line:

atapci0: <Intel PIIX4 ATA33 controller> 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




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