From owner-freebsd-current Wed Oct 2 6: 5:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 696C637B401; Wed, 2 Oct 2002 06:05:10 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6B7443E3B; Wed, 2 Oct 2002 06:05:09 -0700 (PDT) (envelope-from mark@grimreaper.grondar.org) Received: from storm.FreeBSD.org.uk (uucp@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.5/8.12.5) with ESMTP id g92D54rp034341; Wed, 2 Oct 2002 14:05:05 +0100 (BST) (envelope-from mark@grimreaper.grondar.org) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.12.5/8.12.5/Submit) with UUCP id g92D54KX034340; Wed, 2 Oct 2002 14:05:04 +0100 (BST) Received: from grimreaper.grondar.org (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.6/8.12.5) with ESMTP id g92D4fHd000610; Wed, 2 Oct 2002 14:04:41 +0100 (BST) (envelope-from mark@grimreaper.grondar.org) Message-Id: <200210021304.g92D4fHd000610@grimreaper.grondar.org> To: John Baldwin Cc: current@FreeBSD.org Subject: Re: PCI brokenness References: In-Reply-To: ; from John Baldwin "Tue, 01 Oct 2002 10:31:17 EDT." Date: Wed, 02 Oct 2002 14:04:40 +0100 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi I tried this patch, and it made some progress (dmesg included). The ATA system still seems badly broken, there is a spurious mention of some kerneldump. I also have no console. Perhaps the legacy stuff needs to be backed out or disabled pending fixing? M 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 5.0-CURRENT #0: Wed Oct 2 12:15:40 BST 2002 root@grimreaper.grondar.org:/usr/src/sys/i386/compile/LIBRETTO Preloaded elf kernel "/boot/kernel/kernel" at 0xc04ce000. Preloaded elf module "/boot/kernel/linux.ko" at 0xc04ce0a8. Preloaded elf module "/boot/kernel/sysvshm.ko" at 0xc04ce154. Preloaded elf module "/boot/kernel/sysvsem.ko" at 0xc04ce200. Preloaded elf module "/boot/kernel/sysvmsg.ko" at 0xc04ce2ac. Preloaded elf module "/boot/kernel/if_dc.ko" at 0xc04ce358. Preloaded elf module "/boot/kernel/miibus.ko" at 0xc04ce404. Preloaded elf module "/boot/kernel/if_wi.ko" at 0xc04ce4b0. Preloaded elf module "/boot/kernel/snd_mss.ko" at 0xc04ce55c. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc04ce608. Preloaded elf module "/boot/kernel/random.ko" at 0xc04ce6b4. Preloaded elf module "/boot/kernel/atspeaker.ko" at 0xc04ce760. Preloaded elf module "/boot/kernel/if_ep.ko" at 0xc04ce810. Preloaded elf module "/boot/kernel/nfsserver.ko" at 0xc04ce8bc. Preloaded elf module "/boot/kernel/nfsclient.ko" at 0xc04ce96c. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04cea1c. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 233289544 Hz CPU: Pentium/P55C (quarter-micron) (233.29-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x581 Stepping = 1 Features=0x8001bf real memory = 67174400 (65600K bytes) avail memory = 60010496 (58604K bytes) Intel Pentium detected, installing workaround for F00F bug npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <32-bit timer at 3.579545MHz> port 0x18a8-0x18ab on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_lid0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 atspeaker0 port 0x61 on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 ata0 port 0x3f6,0x1f0-0x1f7 irq 14 on acpi0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A ppc0: parallel port not found. ppc0: parallel port not found. Timecounters tick every 10.000 msec Initializing GEOMetry subsystem acpi_cpu: CPU throttling enabled, 16 steps from 100% to 6.2% ad0: 19077MB [38760/16/63] at ata0-master BIOSPIO Mounting root from ufs:/dev/ad0s2a stray irq 7 stray irq 7 Kerneldump off=2239236096 len=134217728 Kerneldump off=2239236096 len=134217728 Waiting (max 60 seconds) for system process `vnlru' to stop...stopped Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped Waiting (max 60 seconds) for system process `syncer' to stop...stopped syncing disks... 2 2 2 1 1 done Uptime: 22s Terminate ACPI Rebooting... > On 01-Oct-2002 Mark Murray wrote: > > Hi > > > > I'm running a kernel with your very latest nexus.c 1.49. > > > > The problem of the disappearing HD has not been fixed by this. > > > > Enclosed are verbose mesg's, one from a three-hour-ago > > (1st Oct 2002, 11:00 am, BST) kernel (broken), and another > > from a working Sept 22nd kernel. > > This is quite weird. You have a PCI bus and ACPI still finds > it fine, it just doesn't probe/attach any child devices. Hmm, > and your ATA controller isn't on the PCI bus. Ok, weird. Do > you have hints for your ata device? It looks like you had > hints for it in your good kernel boot since it was found on > isa0. Hmm, can you try this patch: > > Index: ata-isa.c > =================================================================== > RCS file: /usr/cvs/src/sys/dev/ata/ata-isa.c,v > retrieving revision 1.9 > diff -u -r1.9 ata-isa.c > --- ata-isa.c 20 Sep 2002 18:08:57 -0000 1.9 > +++ ata-isa.c 1 Oct 2002 14:26:39 -0000 > @@ -98,6 +98,7 @@ > }; > > DRIVER_MODULE(ata, isa, ata_isa_driver, ata_devclass, 0, 0); > +DRIVER_MODULE(ata, acpi, ata_isa_driver, ata_devclass, 0, 0); > > /* > * the following is a bandaid to get ISA only setups to link, > > -- > > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ -- o Mark Murray \_ O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message