From owner-freebsd-mobile Fri Aug 23 6: 5:21 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9988937B400 for ; Fri, 23 Aug 2002 06:05:09 -0700 (PDT) Received: from abigail.blackend.org (blackend.org [212.11.50.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAE6843E42 for ; Fri, 23 Aug 2002 06:05:07 -0700 (PDT) (envelope-from marc@blackend.org) Received: from marduk.blackend.org (marduk.blackend.org [192.168.1.202]) by abigail.blackend.org (8.12.3/8.12.3/ - 15/04/02) with ESMTP id g7ND3QKm003948 for ; Fri, 23 Aug 2002 15:03:26 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from marduk.blackend.org (localhost [127.0.0.1]) by marduk.blackend.org (8.12.5/8.12.5) with ESMTP id g7ND5Dha000919 for ; Fri, 23 Aug 2002 15:05:13 +0200 (CEST) (envelope-from marc@localhost.blackend.org) Received: (from marc@localhost) by marduk.blackend.org (8.12.5/8.12.5/Submit) id g7ND5CXv000918 for freebsd-mobile@FreeBSD.org; Fri, 23 Aug 2002 15:05:12 +0200 (CEST) (envelope-from marc) Date: Fri, 23 Aug 2002 15:05:12 +0200 From: Marc Fonvieille To: freebsd-mobile@FreeBSD.org Subject: Similar freeze on -STABLE & -CURRENT with a laptop using O2Micro OZ6812 chip [long] Message-ID: <20020823150512.C734@marduk.blackend.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Useless-Header: blackend.org X-Operating-System: FreeBSD 4.6-STABLE Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I own an Acer TravelMate 507DX, the PC Card/Cardbus controller is an O2Micro OZ6812. In past, I had a problem with that laptop: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/21323 it was fixed. Today I have a similar problem: With 4-STABLE if I add device pcm in the kernel config, the laptop hangs at boot at the same place. Here's a part of boot -v: pccard0: on pcic0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x8000-0x800f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x8000 After reading some mails on various lists, I just added options PCI_ENABLE_IO_MODES in the kernel (device pcm was removed) to see, I got the same freeze. So I downloaded a -CURRENT live-cdrom and I booted on it, here's what I got (-CURRENT from Sat Aug 17 21:35:32 GMT 2002): pci0: on pcib0 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 2.0 (no driver attached) cbb0: irq 11 at device 6.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x8000-0x800f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x8000 I'm not an expert :)), but it seems to be the same problem. Any advices? Marc PS: Here's the boot -v output of a working -STABLE kernel 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.6-STABLE #12: Fri Aug 9 16:48:23 CEST 2002 marc@marduk.blackend.org:/usr/src/sys/compile/MARDUK Calibrating clock(s) ... TSC clock: 466574612 Hz, i8254 clock: 1193181 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 II/Pentium II Xeon/Celeron (466.58-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping = 10 Features=0x183f9ff real memory = 167706624 (163776K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00368000 - 0x09fe7fff, 164102144 bytes (40064 pages) avail memory = 159797248 (156052K bytes) bios32: Found BIOS32 Service Directory header at 0xc00f0280 bios32: Entry = 0xf0210 (c00f0210) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x0 pnpbios: Found PnP BIOS data at 0xc00f61a0 pnpbios: Entry = fa000:0 Rev = 1.0 pnpbios: Event flag at 4b0 Other BIOS signatures found: ACPI: 000fe030 Preloaded elf kernel "kernel" at 0xc0341000. Pentium Pro MTRR support enabled pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=71948086) pcibios: No call entry point apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard found-> vendor=0x8086, dev=0x7194, revid=0x01 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x7195, revid=0x00 class=04-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=b, irq=11 found-> vendor=0x8086, dev=0x7196, revid=0x00 class=07-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=b, irq=11 found-> vendor=0x10c8, dev=0x0004, revid=0x01 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=5 map[10]: type 1, range 32, base 0c000000, size 24 map[14]: type 1, range 32, base 0b400000, size 21 map[18]: type 1, range 32, base 0b300000, size 20 found-> vendor=0x1217, dev=0x6872, revid=0x05 class=06-07-00, hdrtype=0x02, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 found-> vendor=0x8086, dev=0x7198, revid=0x01 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x7199, revid=0x00 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 00008000, size 4 found-> vendor=0x8086, dev=0x719a, revid=0x00 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=10 map[20]: type 1, range 32, base 00007cc0, size 5 found-> vendor=0x8086, dev=0x719b, revid=0x00 class=06-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[90]: type 1, range 32, base 0000f100, size 4 pci0: on pcib0 pci0: (vendor=0x8086, dev=0x7195) at 0.1 irq 11 pci0: (vendor=0x8086, dev=0x7196) at 0.2 irq 11 pci0: (vendor=0x10c8, dev=0x0004) at 2.0 irq 5 pcic0: irq 11 at device 6.0 on pci0 pcic0: PCI Memory allocated: 0x88000000 pcic0: Warning: O2micro OZ68xx chips may not work pcic0: PCI Configuration space: 0x00: 0x68721217 0x04100007 0x06070005 0x00022000 0x10: 0x88000000 0x020000a0 0x00000000 0x00000000 0x20: 0x00000000 0x00000000 0x00000000 0x00000001 0x30: 0x00000001 0x00000001 0x00000001 0x04a0010b 0x40: 0x100b1025 0x00000001 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x00000000 0x00000000 0x00000000 0x00071c02 0x90: 0x00000002 0x00000000 0x00000000 0x00000000 0xa0: 0x7e020001 0x00c04000 0x00000012 0x0000000d 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 0xd0: 0x08004000 0x028203ea 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 pccard0: on pcic0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x8000-0x800f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x8000 ata0: mask=03 ostat0=50 ostat2=00 ata0-slave: ATAPI 14 eb ata0-master: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=00 ata0-master: ATA 01 a5 ata0: devices=09 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x8008 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x7cc0-0x7cdf irq 10 at device 7.2 on pci0 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 chip1: port 0xf100-0xf10f at device 7.3 on pci0 ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number pcic-: pcic0 exists, using next available unit number pcic-: pcic1 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: