Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2002 10:21:43 -0400 (EDT)
From:      Wesley Morgan <morganw@chemikals.org>
To:        Marc Fonvieille <blackend@freebsd.org>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Similar freeze on -STABLE & -CURRENT with a laptop using O2Micro OZ6812 chip [long]
Message-ID:  <20020823102041.I7506-100000@volatile.chemikals.org>
In-Reply-To: <20020823150512.C734@marduk.blackend.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Insert the module after booting. I had (have) the same problem with my
Toshiba Sat Pro 6k. The sound device will be properly detected when I load
the module post-boot. However, it still doesnt WORK (although for ONE
single boot it _did_ work)

On Fri, 23 Aug 2002, Marc Fonvieille wrote:

> 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: <PC Card bus (classic)> on pcic0
> isab0: <Intel 82443MX PCI to ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel PIIX4 ATA33 controller> 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: <PCI bus> on pcib0
> pci0: <multimedia, audio> at device 0.1 (no driver attached)
> pci0: <simple comms> at device 0.2 (no driver attached)
> pci0: <display, VGA> at device 2.0 (no driver attached)
> cbb0: <O2Mirco OZ6812/6872 PCI-CardBus Bridge> irq 11 at device 6.0 on pci0
> cardbus0: <CardBus bus> on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> isab0: <PCI-ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel PIIX4 ATA33 controller> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
> 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: <APM BIOS> on motherboard
> apm: found APM BIOS v1.2, connected at v1.2
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Intel 82443MX host to PCI bridge> 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: <PCI bus> on pcib0
> pci0: <unknown card> (vendor=0x8086, dev=0x7195) at 0.1 irq 11
> pci0: <unknown card> (vendor=0x8086, dev=0x7196) at 0.2 irq 11
> pci0: <NeoMagic MagicGraph 128XD SVGA controller> (vendor=0x10c8, dev=0x0004) at 2.0 irq 5
> pcic0: <O2micro 6812/6872 PCI-Cardbus Bridge> 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: <PC Card bus (classic)> on pcic0
> isab0: <Intel 82443MX PCI to ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel PIIX4 ATA33 controller> 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: <Intel 82443MX USB controller> port 0x7cc0-0x7cdf irq 10 at device 7.2 on pci0
> usb0: <Intel 82443MX USB controller> 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: <Intel 82443MX Power management controller> 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: <Option ROM> at iomem 0xc0000-0xc9fff on isa0
> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> ata2 failed to probe at port 0x1f0 irq 14 on isa0
> ata3 failed to probe at port 0x170 irq 15 on isa0
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> atkbd: the current kbd controller command byte 0065
> atkbd: keyboard ID 0x41ab (2)
> kbd0 at atkbd0
> kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
> psm0: current command byte:0065
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
> psm0: config:00000000, flags:00000000, packet size:3
> psm0: syncmask:c0, syncbits:00
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> fb0: vga0, vga, type:VGA (5), flags:0x7007f
> fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
> fb0: init mode:24, bios mode:3, current mode:24
> fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
> VGA parameters upon power-up
> 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81
> bf 1f 00 4f 0d 0e 00 00 06 e0 9c 8e 8f 28 1f 96
> b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
> 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
> VGA parameters in BIOS for mode 24
> 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
> bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
> b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
> 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
> EGA/VGA parameters to be used for mode 24
> 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
> bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
> b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
> 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
> pcic1 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
> pcic2: not probed (disabled)
> sio0: irq maps: 0x841 0x851 0x851 0x851
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: irq maps: 0x841 0x841 0x841 0x841
> sio1: probe failed test(s): 0 1 2 4 6 7 9
> sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
> sio2: not probed (disabled)
> sio3: not probed (disabled)
> ppc0: parallel port found at 0x378
> ppc0: using extended I/O port range
> ppc0: EPP SPP
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
> plip0: <PLIP network interface> on ppbus0
> bpf: lp0 attached
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> isa_probe_children: probing PnP devices
> pcic0: Event mask 0x6
> BIOS Geometries:
>  0:024efe3f 0..590=591 cylinders, 0..254=255 heads, 1..63=63 sectors
>  0 accounted for
> Device configuration finished.
> bpf: lo0 attached
> bpf: ppp0 attached
> new masks: bio 68c440, tty 631892, net 671892
> ad0: DMA limited to UDMA33, non-ATA66 cable or device
> ad0: success setting UDMA2 on Intel chip
> Creating DISK ad0
> pcic0: Autodetected 5.0V card
> pccard: card inserted, slot 0
> pcic0: reset 1 int is 90 stat is 7f
> pccard: card removed, slot 0
> ar: FreeBSD check1 failed
> ad0: <IBM-DARA-206000/AR1OA51A> ATA-4 disk at ata0-master
> ad0: 4645MB (9514260 sectors), 10068 C, 15 H, 63 S, 512 B
> ad0: 16 secs/int, 1 depth queue, UDMA33
> ad0: piomode=4 dmamode=2 udmamode=4 cblid=0
> ata0-slave: piomode=4 dmamode=2 udmamode=-1 dmaflag=1
> ata0-slave: success setting PIO4 on generic chip
> acd0: <CD-224E/1.5A> CDROM drive at ata0 as slave
> acd0: read 4134KB/s (34515KB/s), 128KB buffer, PIO4
> acd0: Reads: CD-R, CD-DA stream
> acd0: Writes:
> acd0: Audio: play, 256 volume levels
> acd0: Mechanism: ejectable tray, unlocked
> acd0: Medium: no/blank disc
> Mounting root from ufs:/dev/ad0s1a
> ad0s1: type 0xa5, start 63, end = 9510479, size 9510417 : OK
> start_init: trying /sbin/init
> pcic0: reset 1 int is 90 stat is 7f
> pcic0: Autodetected 5.0V card
> pccard: card inserted, slot 0
> pcic0: reset 2 int is f0 stat is 5f
> pcic0: reset 3 int is f0 stat is 5f
> pcic0: reset 0
> splash: image decoder found: rain_saver
> Linux ELF exec handler installed
> pccard0: Assigning ed0: io 0x240-0x25f irq 11 mem 0x0-0xffffffff
> pcic: I/O win 0 flags 15 240-25f
> ed0: Forcing IRQ to 11
> pcic: I/O win 0 flags 5 240-25f
> ed0 at port 0x240-0x25f irq 11 flags 0x80000 slot 0 on pccard0
> pcic: I/O win 0 flags 15 240-25f
> ed0: Forcing IRQ to 11
> 	using shared irq11.
> bpf: ed0 attached
> ed0: address 00:e0:98:7a:f5:61, type Linksys (16 bit)
> ukphy0: <Generic IEEE 802.3u media interface> on miibus0
> ukphy0: OUI 0x0010dd, model 0x0001, rev. 2
> ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> ed0: device timeout
> pcic0: Event mask 0x8
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-mobile" in the body of the message
>

-- 
                                           _ __ ___ ____  ___ ___ ___
          Wesley N Morgan                       _ __ ___ | _ ) __|   \
          morganw@chemikals.org                     _ __ | _ \._ \ |) |
          FreeBSD: The Power To Serve                  _ |___/___/___/
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020823102041.I7506-100000>