> > 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. > > Hmm, ata0 may be getting the wrong resources. Hmm. Try iwasaki-san's > patch to acpi_pcib_* instead and see if it that helps. Either that or > turn off ACPI for the time being.
Iwasaki-San's patch made no difference that I could see. Disabling ACPI causes my system to hard-hang during reboot. I might be able to fix that by futzing with device.hints, but that took me a whole weekend and a reinstall last time I tried. Device.hints is a dangerous thing to play with. > > Perhaps the legacy stuff needs to be backed out or disabled pending fixing? > > Well, the problem here is that ACPI isn't working, not that legacy is broken. > What legacy does is make it so that if we try to use ACPI, we actually rely > on it to work. If we can't get ACPI to work like it is supposed to we need > to either fix it or disable it for now. 22nd September ACPI works. Suspend/resume, power shutdown, etc. > > 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 > > [EMAIL PROTECTED]:/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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> > > real memory = 67174400 (65600K bytes) > > avail memory = 60010496 (58604K bytes) > > Intel Pentium detected, installing workaround for F00F bug > > npx0: <math processor> on motherboard > > npx0: INT 16 interface > > acpi0: <TOSHIB 750 > 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: <CPU> on acpi0 > > acpi_tz0: <thermal zone> on acpi0 > > acpi_lid0: <Control Method Lid Switch> on acpi0 > > acpi_acad0: <AC adapter> on acpi0 > > acpi_cmbat0: <Control method Battery> on acpi0 > > pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 > > pci0: <ACPI PCI bus> on pcib0 > > atspeaker0 port 0x61 on acpi0 > > atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 > > atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 > > kbd0 at atkbd0 > > psm0: <PS/2 Mouse> 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 <TOSHIBA MK2016GAP> [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 <[EMAIL PROTECTED]> <>< 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 [EMAIL PROTECTED] > > with "unsubscribe freebsd-current" in the body of the message > > -- > > John Baldwin <[EMAIL PROTECTED]> <>< 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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message