Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2002 20:59:24 +0100 (BST)
From:      Douglas Hall <doug@fearless.org>
To:        freebsd-mobile@freebsd.org
Subject:   kernel panic with PNPBIOS on Sony Vaio
Message-ID:  <20021024113317.E7133-100000@warthog.fearless.org>

next in thread | raw e-mail | index | archive | help

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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82845 Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82845 PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI model 4c57 graphics accelerator> at 0.0 irq 9
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x1800-0x181f irq 9 at device 29.0 on pci0
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> 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: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0x1820-0x183f irq 9 at device 29.1 on pci0
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> 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: <Intel 82801CA/CAM (ICH3) USB controller USB-C> 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: <Intel 82801CA/CAM (ICH3) USB controller USB-C> 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: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
pcic0: <Ricoh RL5C476 PCI-CardBus Bridge> irq 3 at device 5.0 on pci2
pcic0: PCI Memory allocated: 0x88000000
pccard0: <PC Card 16-bit bus (classic)> 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: <Ricoh RL5C476 PCI-CardBus Bridge> irq 9 at device 5.1 on pci2
pcic1: PCI Memory allocated: 0x88001000
pccard1: <PC Card 16-bit bus (classic)> on pcic1
pci2: <unknown card> (vendor=0x1180, dev=0x0552) at 5.2
fxp0: <Intel Pro/100 Ethernet> port 0x4000-0x403f mem 0xe8200000-0xe8200fff irq 9 at device 8.0 on pci2
fxp0: Ethernet address 08:00:46:67:a2:b1
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI to ISA bridge (vendor=8086 device=248c)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 ATA100 controller> 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: <unknown card> (vendor=0x8086, dev=0x2483) at 31.3
pcm0: <Intel 82801CA (ICH3)> port 0x18c0-0x18ff,0x1c00-0x1cff irq 9 at device 31.5 on pci0
pci0: <unknown card> (vendor=0x8086, dev=0x2486) at 31.6
eisa0: <EISA bus> on motherboard
eisa0: unknown card @@D0000 (0x00040000) at slot 1
orm0: <Option ROMs> at iomem 0xc0000-0xcffff,0xd8000-0xdbfff,0xdc000-0xdffff on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/15 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 28615MB <TOSHIBA MK3018GAS> [58140/16/63] at ata0-master UDMA100
acd0: CD-RW <SONY CD-RW/DVD-ROM CRX810E> at ata1-master PIO4
pccard: card inserted, slot 0
umass0: CBI reset failed, TIMEOUT
umass0: CBI bulk-in stall clear failed, TIMEOUT
umass0: CBI bulk-out stall clear failed, TIMEOUT
umass0: CBI reset failed, TIMEOUT
umass0: CBI bulk-in stall clear failed, TIMEOUT
umass0: CBI bulk-out stall clear failed, TIMEOUT
umass0: CBI reset failed, TIMEOUT
umass0: CBI bulk-in stall clear failed, TIMEOUT
umass0: CBI bulk-out stall clear failed, TIMEOUT
umass0: CBI reset failed, TIMEOUT
umass0: CBI bulk-in stall clear failed, TIMEOUT
umass0: CBI bulk-out stall clear failed, TIMEOUT
umass0: CBI reset failed, TIMEOUT
umass0: CBI bulk-in stall clear failed, TIMEOUT
umass0: CBI bulk-out stall clear failed, TIMEOUT
Mounting root from ufs:/dev/ad0s2a
logo_saver: no suitable graphics mode
module_register_init: MOD_LOAD (logo_saver, c1fcea44, 0) error 19
wi0 at port 0x240-0x27f irq 3 slot 0 on pccard0
wi0: 802.11 address: 00:04:e2:08:15:31
wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A
wi0: Intersil Firmware: Primary 0.03.00, Station 0.08.03


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?20021024113317.E7133-100000>