Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2004 00:37:30 +0400 (MSD)
From:      "Dixx" <cprog@yandex.ru>
To:        freebsd-mobile@freebsd.org
Subject:   Some questions about 5.2.1-RELEASE-p3
Message-ID:  <4067378A.00001E.21601@soapbox.yandex.ru>

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

[-- Attachment #1 --]
Good time of the day!

I have FreeBSD 5.2.1-RELEASE-p3 installed on Compaq Armada E500 laptop. Because
of some problems on this system, i so have some questions about this.

First, i've got a kernel panic when i hear music using mp3blaster:
> kernel trap 19 with interrupts disabled
>
> Fatal trap 19: non-maskable interrupt trap while in kernel mode
> instruction pointer	= 0x8:0xc08251bc
> stack pointer			= 0x10:0xc8f32c50
> frame pointer			= 0x10:0xc8f32c58
> code segment          = base 0x0, limit 0xfffff, type 0x1b
>						= DPL 0, pres 1, def32 1, gran 1
> processor eflags		= IOPL = 0
> current process		= 11 (idle)
> trap number			= 19
> panic: non-maskable interrupt trap

Second, when i tried to compile kernel with more optimization than default
(-O changed to -O3 in COPTFLAGS variable of /usr/src/sys/conf/kern.pre.mk)
i've got error during compile:

> % make clean depend all
>
> .....
>
> cc -c -O3 -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstri
> ct-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fform
> at-extensions -std=c99  -nostdinc -I-  -I. -I../../.. -I../../../contrib/dev/acp
> ica -I../../../contrib/ipfilter -I../../../contrib/dev/ath -I../../../contrib/de
> v/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-comm
> on -finline-limit=15000 -fno-strict-aliasing  -mno-align-long-strings -mpreferre
> d-stack-boundary=2 -ffreestanding -Werror  ../../../kern/vfs_cluster.c
> ../../../kern/vfs_cluster.c:580: warning: inlining failed in call to `cluster_wb
> uild_wb'
> ../../../kern/vfs_cluster.c:660: warning: called from here
> ../../../kern/vfs_cluster.c:580: warning: inlining failed in call to `cluster_wb
> uild_wb'
> ../../../kern/vfs_cluster.c:684: warning: called from here
> ../../../kern/vfs_cluster.c:580: warning: inlining failed in call to `cluster_wb
> uild_wb'
> ../../../kern/vfs_cluster.c:735: warning: called from here
> *** Error code 1
> 
> Stop in /usr/src/sys/i386/compile/Notebook.

Is this normal? With -O2 options compilation of kernel was successfull.
And, because this kernel is working on my laptop at moment, may be kernel
panic i've got is result of setting -O2 option?

Third, during boot i have next error messages from ACPI (see attachments for
dmesg):
> ACPI-1287: *** Error: Method execution failed [\\_SB_.C005.C00B] (Node 0xc13
> ACPI-1287: *** Error: Method execution failed [\\_SB_.C005.C00F] (Node 0xc13
> ACPI-1287: *** Error: Method execution failed [\\_SB_.C005._CRS] (Node 0xc13
> ACPI-0226: *** Error: Return object type is incorrect [\\_SB_.C005._CRS] (No
> can't fetch resources for \\_SB_.C005 - AE_TYPE

Dmesg, kernel and loader configuration files of my laptop you can see in
attachments to this letter. If you needs any additional information, i can
give it.

P.S. Sorry, if my english is very bad.

Sincerelly yours,
Dmitry Novikov.
mailto: cprog@yandex.ru

[-- Attachment #2 --]
Copyright (c) 1992-2004 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 5.2.1-RELEASE-p3 #6: Sat Mar 27 07:25:38 MSK 2004
    root@dixx:/usr/src/sys/i386/compile/Notebook
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0844000.
Preloaded elf module "/boot/kernel/ipfw.ko" at 0xc08441cc.
Preloaded elf module "/boot/modules/ltmdm.ko" at 0xc0844278.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0844324.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (646.67-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 134152192 (127 MB)
avail memory = 120692736 (115 MB)
Pentium Pro MTRR support enabled
VESA: v2.0, 8128k memory, flags:0x0, mode table:0xc06eae22 (1000022)
VESA: ATI MACH64
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <COMPAQ RSDTBL  > on motherboard
pcibios: BIOS version 2.10
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
    ACPI-1287: *** Error: Method execution failed [\\_SB_.C005.C00B] (Node 0xc136ba80), AE_AML_BUFFER_LIMIT
    ACPI-1287: *** Error: Method execution failed [\\_SB_.C005.C00F] (Node 0xc136baa0), AE_AML_BUFFER_LIMIT
    ACPI-1287: *** Error: Method execution failed [\\_SB_.C005._CRS] (Node 0xc136bac0), AE_AML_BUFFER_LIMIT
    ACPI-0226: *** Error: Return object type is incorrect [\\_SB_.C005._CRS] (Node 0xc136bac0), AE_TYPE
can't fetch resources for \\_SB_.C005 - AE_TYPE
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x5008-0x500b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <Thermal Zone> port 0x530-0x537 on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 4 INTA is routed to irq 11
pcib0: slot 4 INTA is routed to irq 11
pcib0: slot 7 INTD is routed to irq 11
pcib0: slot 8 INTA is routed to irq 11
pcib0: slot 9 INTA is routed to irq 11
pcib0: slot 9 INTA is routed to irq 11
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0x50000000-0x53ffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.C005.C012 - AE_NOT_FOUND
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
cbb0: <TI1225 PCI-CardBus Bridge> mem 0x41100000-0x41100fff irq 11 at device 4.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [MPSAFE]
cbb1: <TI1225 PCI-CardBus Bridge> mem 0x41180000-0x41180fff irq 11 at device 4.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
cbb1: [MPSAFE]
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x3420-0x342f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x3400-0x341f irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) 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
intpm0: <Intel 82371AB Power management controller> port 0x4000-0x400f irq 9 at device 7.3 on pci0
intpm0: I/O mapped 4000
intpm0: intr IRQ 9 enabled revision 0
intsmb0: <Intel PIIX4 SMBUS Interface> on intpm0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus generic I/O> on smbus0
intpm0: PM I/O mapped 5000 
pcm0: <ESS Technology Maestro-2E> port 0x3000-0x30ff irq 11 at device 8.0 on pci0
pcm0: <SigmaTel STAC9721/23 AC97 Codec>
fxp0: <Intel 82559ER Pro/100 Ethernet> port 0x3440-0x347f mem 0x41200000-0x4121ffff,0x41280000-0x41280fff irq 11 at device 9.0 on pci0
fxp0: Ethernet address 00:d0:59:2b:7d:de
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ltmdm0: <Lucent Winmodem> port 0x3430-0x3437 mem 0x41300000-0x41300fff irq 11 at device 9.1 on pci0
ltmdm0: type Virtual 16550A
acpi_button0: <Sleep Button> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_cmbat1: <Control Method Battery> on acpi0
acpi_cmbat2: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
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
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
orm0: <Option ROMs> at iomem 0xd0000-0xd17ff,0xc0000-0xcffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0 at vga0
Timecounter "TSC" frequency 646665950 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging disabled
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
GEOM: create disk ad0 dp=0xc2076160
ad0: 28615MB <TOSHIBA MK3021GAS> [58140/16/63] at ata0-master UDMA33
acd0: DVDROM <COMPAQ DVD-ROM SR-8171> at ata0-slave WDMA2

[-- Attachment #3 --]
machine		i386
cpu			I686_CPU
ident		Notebook

options 	SCHED_4BSD		#4BSD scheduler
options 	INET			#InterNETworking
options 	FFS				#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories
options     MSDOSFS         #MSDOS Filesystem
options     CD9660          #ISO 9660 Filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options		FB_INSTALL_CDEV

device		isa
device		pci

device		fdc

device		ata
device		atadisk				# ATA disk drives
device		atapicd				# ATAPI CDROM drives

device		atkbdc				# AT keyboard controller
device		atkbd				# AT keyboard
device		psm					# PS/2 mouse

options		VESA				# VESA video BIOS support
device		vga					# VGA video card driver
options		SC_HISTORY_SIZE=512	# console history size
options		SC_TWOBUTTON_MOUSE	# two-button mouse support for copy/paste
device		sc					# system console

device		agp					# support several AGP chipsets

# Floating point support - do not disable.
device		npx

device		smbus
device		smb
device		intpm

# PCCARD (PCMCIA) support
# Pcmcia and cardbus bridge support
device      cbb         	# cardbus (yenta) bridge
device      pccard          # PC Card (16-bit) bus
device      cardbus         # CardBus (32-bit) bus

# Ethernet support
device		miibus			# MII bus support
device		fxp				# Intel EtherExpress PRO/100B (82557, 82558)

# Pseudo-devices
device		random			# Entropy device
device		loop			# Network loopback
device		ether			# Ethernet support
device		ppp				# Kernel PPP
device		pty				# Pseudo-ttys (telnet etc)
device		tun				# IPv4 and IPv6 tunneling

device		bpf				# Berkeley packet filter

# Sound card support
device		pcm

device      scbus       # SCSI bus (required for SCSI)
device      da      	# Direct Access (disks)

# USB support
device      uhci        # UHCI PCI->USB interface
device      usb     	# USB Bus (required)
device      ugen        # Generic
device      uhid        # "Human Interface Devices"
device      ukbd        # Keyboard
device      ulpt        # Printer
device      umass       # Disks/Mass storage - Requires scbus and da
device      ums		    # Mouse
device      uscanner    # Scanners

[-- Attachment #4 --]
hw.ata.ata_dma="1"
hw.ata.atapi_dma="1"

ipfw_load="YES"
ltmdm_load="YES"

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4067378A.00001E.21601>