From owner-freebsd-bugs Wed Oct 16 0: 0:45 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE84637B401 for ; Wed, 16 Oct 2002 00:00:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C856E43E8A for ; Wed, 16 Oct 2002 00:00:18 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9G70Ix3016370 for ; Wed, 16 Oct 2002 00:00:18 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9G70InO016364; Wed, 16 Oct 2002 00:00:18 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34C3837B401 for ; Tue, 15 Oct 2002 23:53:21 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FF6343E75 for ; Tue, 15 Oct 2002 23:53:20 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9G6rA7R070480 for ; Tue, 15 Oct 2002 23:53:10 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id g9G6rAGY070479; Tue, 15 Oct 2002 23:53:10 -0700 (PDT) Message-Id: <200210160653.g9G6rAGY070479@www.freebsd.org> Date: Tue, 15 Oct 2002 23:53:10 -0700 (PDT) From: Serguei Shilov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/44130: Enabled apm hangs up FreeBSD kernel on i815 chipset Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 44130 >Category: kern >Synopsis: Enabled apm hangs up FreeBSD kernel on i815 chipset >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 16 00:00:18 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Serguei Shilov >Release: 4.7-STABLE >Organization: St. Petersburg State University >Environment: FreeBSD ssh-home.tepkom.ru 4.7-STABLE FreeBSD 4.7-STABLE #10: Tue Oct 15 10:24:58 MSD 2002 root@ssh-home.tepkom.ru:/usr/obj/usr/src/sys/SSH i386 Intel PIII-1Gz Processor Intel EA81520A Motherboard (i815 chipset) IDE controller: integrated SCSI contriller: Adaptec 2940 Hard disks: IBM DNES-309170W SA30 (SCSI) IBM DDRS-34560W S92A (SCSI) ST320011A (IDE) FreeBSD boots from ST320011A. Video: Creative Annihilator PRO (Geforce DDR chipset) Sound: Creative SoundBlaster PCI (Emu10K1 chipset) >Description: I've compiled kernel with option 'device apm0 at nexus? enable' and after reboot machine hang after start of loading kernel. Using flags 0x20 in apm configuration has no successful results. Flashing new bios from Intel site has no successful results. If machine has warm rebooted after Windows2K Adwanced Server with APM enable than APM in FreeBSD work fine. If apm has enabled from kernel configuration utilty and wait about 10 sec before continuing booting APM fork fine too. If waiting will be less then about 10 sec FreeBSD hangs. ======================================================================== This is dmesg output ======================================================================== 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 4.7-STABLE #9: Mon Oct 14 18:25:12 MSD 2002 root@ssh-home.tepkom.ru:/usr/obj/usr/src/sys/SSH Calibrating clock(s) ... TSC clock: 996702376 Hz, i8254 clock: 1193106 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium III/Pentium III Xeon/Celeron (996.77-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x387fbff real memory = 536608768 (524032K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00358000 - 0x1ffb7fff, 533069824 bytes (130144 pages) FreeBSD Kernel Configuration Utility - Version 1.2 Type "help" for help. config> config> en apm config> q avail memory = 518885376 (506724K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fda60 bios32: Entry = 0xfda74 (c00fda74) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xda95 pnpbios: Found PnP BIOS data at 0xc00f2480 pnpbios: Entry = f0000:1d2a Rev = 1.0 Other BIOS signatures found: ACPI: 000ff980 Preloaded elf kernel "kernel" at 0xc0331000. Preloaded elf module "vesa.ko" at 0xc03310a8. Preloaded elf module "cd9660.ko" at 0xc0331144. Preloaded elf module "if_ppp.ko" at 0xc03311e4. Preloaded elf module "snd_emu10k1.ko" at 0xc0331284. Preloaded elf module "snd_pcm.ko" at 0xc0331328. Preloaded elf module "usb.ko" at 0xc03313c8. VESA: information block 56 45 53 41 00 03 00 01 00 01 01 00 00 00 22 00 00 01 00 02 10 02 07 01 00 01 1a 01 00 01 2f 01 00 01 00 01 01 01 02 01 03 01 04 01 05 01 06 01 07 01 08 01 09 01 0a 01 0b 01 0c 01 0e 01 0f 01 VESA: 33 mode(s) found VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc02ce362 (1000022) VESA: NVidia VESA: NVidia Corporation NV10 Reference Board Chip Rev A6 Pentium Pro MTRR support enabled pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=11308086) Using $PIR table, 12 entries at 0xc00f2a10 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard found-> vendor=0x8086, dev=0x1130, revid=0x02 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base f8000000, size 26 found-> vendor=0x8086, dev=0x1131, revid=0x02 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=2 secondarybus=2 found-> vendor=0x8086, dev=0x244e, revid=0x02 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1 secondarybus=1 found-> vendor=0x8086, dev=0x2440, revid=0x02 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x244b, revid=0x02 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 0000ffa0, size 4 found-> vendor=0x8086, dev=0x2442, revid=0x02 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=11 map[20]: type 1, range 32, base 0000ef40, size 5 found-> vendor=0x8086, dev=0x2443, revid=0x02 class=0c-05-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=b, irq=11 map[20]: type 1, range 32, base 0000efa0, size 4 found-> vendor=0x8086, dev=0x2444, revid=0x02 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=c, irq=10 map[20]: type 1, range 32, base 0000ef80, size 5 pci0: on pcib0 pcib1: at device 1.0 on pci0 found-> vendor=0x10de, dev=0x0101, revid=0x10 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base fd000000, size 24 map[14]: type 1, range 32, base e8000000, size 27 pci2: on pcib1 pci2: (vendor=0x10de, dev=0x0101) at 0.0 irq 11 pcib2: at device 30.0 on pci0 found-> vendor=0x8086, dev=0x2449, revid=0x01 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base fc9fe000, size 12 map[14]: type 1, range 32, base 0000de80, size 6 found-> vendor=0x9004, dev=0x8178, revid=0x00 class=01-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 0000d800, size 8 map[14]: type 1, range 32, base fc9ff000, size 12 found-> vendor=0x1102, dev=0x0002, revid=0x05 class=04-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base 0000df80, size 5 found-> vendor=0x1102, dev=0x7002, revid=0x05 class=09-80-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base 0000dff0, size 3 found-> vendor=0x1191, dev=0x8040, revid=0x02 class=01-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 32, base 0000df00, size 6 pci1: on pcib2 pci1: (vendor=0x8086, dev=0x2449) at 8.0 irq 11 ahc0: port 0xd800-0xd8ff mem 0xfc9ff000-0xfc9fffff irq 11 at device 10.0 on pci1 ahc0: Reading SEEPROM...done. ahc0: internal 50 cable is present, internal 68 cable is present ahc0: external cable not present ahc0: BIOS eeprom is present ahc0: High byte termination Enabled ahc0: Downloading Sequencer Program... 439 instructions downloaded aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs pcm0: port 0xdf80-0xdf9f irq 10 at device 11.0 on pci1 emu: setmap (1f18b000, 800), nseg=1, error=0 emu: setmap (1f14c000, 1000), nseg=1, error=0 pcm0: ac97 codec id 0x54524123 (TriTech TR28602) pcm0: ac97 codec features 5 bit master volume, no 3D Stereo Enhancement emu: setmap (1f194000, 1000), nseg=1, error=0 emu: setmap (1f198000, 1000), nseg=1, error=0 emu: setmap (1f19a000, 1000), nseg=1, error=0 emu: setmap (1f19c000, 1000), nseg=1, error=0 pcm0: sndbuf_setmap 1f19f000, 1000; 0xc1dfc000 -> 1f19f000 pcm0: sndbuf_setmap 1f161000, 1000; 0xc1dfe000 -> 1f161000 pci1: (vendor=0x1191, dev=0x8040) at 13.0 irq 9 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 31.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xffa0 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI 00 00 ata0-slave: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=00 ata0-master: ATA 01 a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xffa8 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xef40-0xef5f irq 11 at device 31.2 on pci0 using shared irq11. usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ichsmb0: port 0xefa0-0xefaf irq 11 at device 31.3 on pci0 smbus0: on ichsmb0 smb0: on smbus0 uhci1: port 0xef80-0xef9f irq 10 at device 31.4 on pci0 using shared irq10. usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: