From owner-freebsd-mobile Thu Oct 24 12:59:25 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 2D8E237B401 for ; Thu, 24 Oct 2002 12:59:21 -0700 (PDT) Received: from warthog.fearless.org (akula.demon.co.uk [62.49.12.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C4B743E65 for ; Thu, 24 Oct 2002 12:59:19 -0700 (PDT) (envelope-from doug@fearless.org) Received: from warthog.fearless.org (localhost [127.0.0.1]) by warthog.fearless.org (8.12.6/8.12.6) with ESMTP id g9OJxPmi008241 for ; Thu, 24 Oct 2002 20:59:25 +0100 (BST) (envelope-from doug@fearless.org) Received: from localhost (doug@localhost) by warthog.fearless.org (8.12.6/8.12.6/Submit) with ESMTP id g9OJxOop008238 for ; Thu, 24 Oct 2002 20:59:25 +0100 (BST) X-Authentication-Warning: warthog.fearless.org: doug owned process doing -bs Date: Thu, 24 Oct 2002 20:59:24 +0100 (BST) From: Douglas Hall To: freebsd-mobile@freebsd.org Subject: kernel panic with PNPBIOS on Sony Vaio Message-ID: <20021024113317.E7133-100000@warthog.fearless.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 I have successfully managed to install FreeBSD 4.7-RELEASE (I am currently using RELENG_4_7) on a Sony VAIO GRX416G. However the sound is not working, although the pcm0 device is recognised on boot. The error received in the console is this 'Pcm0:play:0:play interrupt timeout, channel dead' A quick perusal of the mailing list archives suggests that setting the BIOS to disable PNP OS would help. Unfortunately the bios in this laptop does not have that feature. Other suggestions were to do 'options PNPBIOS' in the kernel config, this however causes the system to panic with a 'Fatal Trap 9 - General Protection Fault' on boot. I tried turning on more logging in /boot/loader.conf, and this showed a couple of pages of PNP related output before the panic occured, ending with: -- pnpbios: handle 14 device ID PNP0c02 (020cd041) Fatal trap 9: general protection fault while in kernel mode instruction pointer = 0x58:0x8d1b stack pointer = 0x10:0xeb8 frame pointer = 0x10:0xf0e code segment = base 0xc00f0000, limit 0xffff, type 0x1b = DPL 0, pres 1, def 32 0, gran 0 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) interrupt mask = net tty bio cam trap number = 9 panic: general protection fault uptime: 0s -- This can be reproduced by adding 'options PNPBIOS' to the GENERIC config with 4.7. It makes no difference whether 'device pcm' is added. I have tried stripping out all non essential config statements, including all SCSI and USB options, but with the same result. Also to experiment, i tried the freebsd-stable kernel with the same variation of kernel configs, and also the freebsd-current kernel with the default option. Each time the system panics. Is there anything else I should try at this point, besides a new laptop :) -Douglas Include copy of dmesg output: avail memory = 517918720 (505780K bytes) Preloaded elf kernel "kernel" at 0xc03ce000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03ce09c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 7 entries at 0xc00fdf50 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 9 uhci0: port 0x1800-0x181f irq 9 at device 29.0 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 uhci1: port 0x1820-0x183f irq 9 at device 29.1 on pci0 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 uhci2: port 0x1840-0x185f at device 29.2 on pci0 pci_cfgintr_search: linked (0) to configured irq 9 at 0:29:1 pci_cfgintr: 0:29 INTC routed to irq 9 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered umass0: Sony USB Memory Stick Slot, rev 1.10/1.09, addr 2 pcib2: at device 30.0 on pci0 pci2: on pcib2 pcic0: irq 3 at device 5.0 on pci2 pcic0: PCI Memory allocated: 0x88000000 pccard0: on pcic0 pci_cfgintr_search: linked (0) to configured irq 9 at 2:8:0 pci_cfgintr: 2:5 INTB routed to irq 9 pcic1: irq 9 at device 5.1 on pci2 pcic1: PCI Memory allocated: 0x88001000 pccard1: on pcic1 pci2: (vendor=0x1180, dev=0x0552) at 5.2 fxp0: port 0x4000-0x403f mem 0xe8200000-0xe8200fff irq 9 at device 8.0 on pci2 fxp0: Ethernet address 08:00:46:67:a2:b1 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1860-0x186f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x2483) at 31.3 pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff irq 9 at device 31.5 on pci0 pci0: (vendor=0x8086, dev=0x2486) at 31.6 eisa0: on motherboard eisa0: unknown card @@D0000 (0x00040000) at slot 1 orm0: