Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2000 22:35:02 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Marc Fonvieille <fonvi@easynet.fr>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: pci.c from 2000/09/01 freeze my laptop 
Message-ID:  <200009200535.WAA02157@mass.osd.bsdi.com>
In-Reply-To: Your message of "Sat, 16 Sep 2000 13:54:50 %2B0200." <20000916135450.A7969@vobiscum.styx.org> 

next in thread | previous 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)
...
> It seems that only the changes on sys/pci/pci.c could be the reason
> of the freeze.

Can you back this code out and confirm that you don't see the symptoms?  
In the case of your system, this code fragment shouldn't actually do 
*anything* at all, so I'm a little puzzled as to what might be going on.

Thanks.

> 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
> 



-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]




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?200009200535.WAA02157>