> ISH>On Tue, 4 Sep 2001, Kazutaka YOKOTA wrote: > ISH> > ISH>> Please apply the attached patch in /sys/isa and see what it does. > ISH>It does panic with a smiling face ;-))) > ISH> > ISH>panic message was "bad ivar read request" > > it fails in acpi_read_ivar with an index (3rd argument) of 12. And that > looks like the IRQ, so probably there is something really wrong. No. This is in psm.c:790. psmidentify is trying to get the ISA vendor ID. But it seems, that the read_ivar request to which this evaluates end in acpi_read_ivar instead of isa_read_ivar. If I comment out these two lines, the kernel boots as before, but the psm is still not attached. (the message from psm1 is new, this is probably because of the commented out line). harti Copyright (c) 1992-2001 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 #5: Tue Sep 4 15:44:25 CEST 2001 [EMAIL PROTECTED]:/opt/obj/usr/src/sys/BEAGLE Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 908095602 Hz CPU: AMD Athlon(tm) Processor (908.10-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> AMD Features=0xc0440000<<b18>,AMIE,DSP,3DNow!> real memory = 536788992 (524208K bytes) avail memory = 518848512 (506688K bytes) Preloaded elf kernel "kernel" at 0xc0394000. Preloaded elf module "random.ko" at 0xc039409c. Preloaded elf module "acpi.ko" at 0xc039413c. Pentium Pro MTRR support enabled Using $PIR table, 9 entries at 0xc00f16c0 npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <ASUS A7V > on motherboard acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 atkbdc_probe,110 acpi_cpu0: <CPU> on acpi0 atkbdc_probe,110 acpi_button0: <Power Button> on acpi0 atkbdc_probe,110 atkbdc_probe,110 atkbdc_probe,110 atkbdc_probe,110 atkbdc_probe,110 atkbdc_probe,110 acpi_pcib0: <Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <PCI bus> on acpi_pcib0 pcib1: <PCI-PCI bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) isab0: <PCI-ISA bridge> at device 4.0 on pci0 isa0: <ISA bus> on isab0 pci0: <mass storage, ATA> at device 4.1 (no driver attached) pci0: <serial bus, USB> at device 4.2 (no driver attached) pci0: <serial bus, USB> at device 4.3 (no driver attached) pci0: <network, ATM> at device 9.0 (no driver attached) pcm0: <Creative EMU10K1> port 0xa400-0xa41f irq 5 at device 10.0 on pci0 pci0: <network, ethernet> at device 11.0 (no driver attached) ahc0: <Adaptec 29160 Ultra160 SCSI adapter> port 0x9400-0x94ff mem 0xd4800000-0xd4800fff irq 11 at device 12.0 on pci0 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs pci0: <network, ATM> at device 13.0 (no driver attached) pci0: <mass storage> at device 17.0 (no driver attached) atkbdc_probe,110 atkbdc_probe,110 atkbdc_probe,110 atkbdc_probe,110 atkbdc_probe,110 atkbdc_probe,110 atkbdc_probe,110 atkbdc_probe,110 atkbdc_probe,110 atkbdc_probe,110 atkbdc_probe,110 atkbdc_probe,110 atkbdc_probe,110 atspeaker0 port 0x61 on acpi0 atkbdc_probe,110 fdc0: <NEC 72065B or clone> port 0x3f7,0x3f2-0x3f5 irq 6 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc_probe,110 ppc0 port 0x378-0x37f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port atkbdc_probe,110 ppc1: cannot reserve I/O port range atkbdc_probe,110 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A atkbdc_probe,110 sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: unable to allocate the IRQ resource (12). psm1: unable to allocate the IRQ resource (-1). ppc1: cannot reserve I/O port range orm0: <Option ROM> at iomem 0xcc000-0xcc7ff on isa0 fdc1: cannot reserve I/O port range (6 ports) ppc1: cannot reserve I/O port range sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Waiting 2 seconds for SCSI devices to settle acpi_cpu0: set speed to 100.0% acpi_cpu: CPU throttling enabled, 16 steps from 100% to 6.2% Mounting root from ufs:/dev/da0s1a da0 at ahc0 bus 0 target 0 lun 0 da0: <IBM DDYS-T18350N S80D> Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) cd0 at ahc0 bus 0 target 6 lun 0 cd0: <PLEXTOR CD-R PX-W1210S 1.00> Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 16) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed da1 at ahc0 bus 0 target 1 lun 0 da1: <IBM DDYS-T18350N S93E> Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da1: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) linprocfs registered xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x9800-0x987f mem 0xd5000000-0xd500007f irq 10 at device 11.0 on pci0 xl0: Ethernet address: 00:01:02:b1:64:c6 miibus0: <MII bus> on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 9 at device 4.2 on pci0 usb0: <VIA 83C572 USB controller> on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 9 at device 4.3 on pci0 usb1: <VIA 83C572 USB controller> on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhub2: ALCOR Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2 uhub2: 4 ports with 4 removable, self powered -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message