Re: Custom Kernel Problem

2008-09-21 Thread Mel
On Sunday 21 September 2008 03:50:36 Michael Gass wrote:
> Installed FreeBsd 7.0 a few weeks ago in a Pentium III
> with just 128 M of memory. Recently compiled a custom kernel.
> It seems to work ok, but dmesg gives the following at the end:
>
> Trying to mount root from ufs:/dev/ad0s1a
> pid 438 (kldstat), uid 0: exited on signal 11 (core dumped)
> pid 547 (kldstat), uid 0: exited on signal 11 (core dumped)
> pid 553 (kldstat), uid 0: exited on signal 11 (core dumped)

This is invoked by /etc/rc.d/* system. Do a grep for kldstat which scripts use 
it and maybe you can work out from there, which kernel modules cause the 
problem.
Can you run kldstat from console?

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Custom Kernel Problem

2008-09-20 Thread Michael Gass
Installed FreeBsd 7.0 a few weeks ago in a Pentium III 
with just 128 M of memory. Recently compiled a custom kernel.  
It seems to work ok, but dmesg gives the following at the end:

Trying to mount root from ufs:/dev/ad0s1a
pid 438 (kldstat), uid 0: exited on signal 11 (core dumped)
pid 547 (kldstat), uid 0: exited on signal 11 (core dumped)
pid 553 (kldstat), uid 0: exited on signal 11 (core dumped)

The GENERIC kernel did not give this.  Tried making some changes
to the configuration file and recompiling, but still get the same in dmesg.

Does anyone have any ideas?

Below is my complete dmesg and below that the my custome kernel
configuration file.

Thanks, for any  help.

Mike Gass

--dmesg output-
Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-PRERELEASE #0: Sat Sep 20 11:55:48 CDT 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GAUSS080920
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium III/Pentium III Xeon/Celeron (497.44-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x672  Stepping = 2
  
Features=0x383f9ff
real memory  = 134217728 (128 MB)
avail memory = 121507840 (115 MB)
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 7f0 (3) failed
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf808-0xf80b on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  on hostb0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
vgapci0:  port 0x1000-0x10ff mem 
0x4000-0x40ff,0x4100-0x41000fff irq 11 at device 0.0 on pci1
fxp0:  port 0x2000-0x201f mem 
0x4120-0x41200fff,0x4110-0x411f irq 11 at device 18.0 on pci0
miibus0:  on fxp0
inphy0:  PHY 1 on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:50:8b:09:81:51
fxp0: [ITHREAD]
isab0:  at device 20.0 on pci0
isa0:  on isab0
atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2040-0x204f at device 20.1 on pci0
ata0:  on atapci0
ata0: [ITHREAD]
ata1:  on atapci0
ata1: [ITHREAD]
uhci0:  port 0x2020-0x203f irq 11 at 
device 20.2 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0:  on usb0
uhub0: 2 ports with 2 removable, self powered
pci0:  at device 20.3 (no driver attached)
acpi_button0:  on acpi0
speaker0:  port 0x61 on acpi0
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
sio0:  port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
sio1:  port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
fdc0:  port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
cpu0:  on acpi0
acpi_throttle0:  on cpu0
pmtimer0 on isa0
orm0:  at iomem 
0xc-0xc7fff,0xc8000-0xc87ff,0xe-0xe7fff pnpid ORM on isa0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0:  on ppc0
ppbus0: [ITHREAD]
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter "TSC" frequency 497435758 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 9541MB  at ata0-master UDMA33
acd0: CDROM  at ata1-master PIO4
Trying to mount root from ufs:/dev/ad0s1a
pid 438 (kldstat), uid 0: exited on signal 11 (core dumped)
pid 547 (kldstat), uid 0: exited on signal 11 (core dumped)
pid 553 (kldstat), uid 0: exited on signal 11 (core dumped)

--Kernel Config File

# File: GAUSS080920

#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   GAUSS080920

# To statically compile in device wiring instead of /boot/device.hints
#hints  "GENERIC.hints" # Default places to look for devices.

#makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_ULE   # ULE scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options SCTP# Stream Control Transmission Protocol
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL 

Re: custom kernel problem

2005-11-06 Thread Laslo Holifeld
Hi

Thanx for reply LG, but ive managed to solve it
(tonight..).

The problem was caused by the options:
options AUTO_EOI_1
options AUTO_EOI_2

ive #-ed em out and it worked;-) Now, i'm curious why
did it happend...






__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: custom kernel problem

2005-11-04 Thread Lowell Gilbert
Laslo Holifeld <[EMAIL PROTECTED]> writes:

>   I have a problem running my custom kernel on 5.4
> fbsd.
> It compiles and loads properly but during hardware
> setup I get following errors:
> 
> ata0-master: FAILURE - ATA_IDENTIFY timed out
> ata1-master: FAILURE - ATAPI_IDENTIFY timed out
> 
> Hire is my configuration:
> 
> (any idea?)

Nothing obvious.

What happens if you compile and install a GENERIC kernel from the same sources?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


custom kernel problem

2005-11-03 Thread Laslo Holifeld

  Hi there,

  I have a problem running my custom kernel on 5.4
fbsd.
It compiles and loads properly but during hardware
setup I get following errors:

ata0-master: FAILURE - ATA_IDENTIFY timed out
ata1-master: FAILURE - ATAPI_IDENTIFY timed out

Hire is my configuration:

(any idea?)
#
# GENERIC -- Generic kernel configuration file for
FreeBSD/i386
#
# For more information on this file, please read the
handbook section on
# Kernel Configuration Files:
#
#   
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in
/usr/share/doc/handbook
# if you've installed the doc distribution, otherwise
always see the
# FreeBSD World Wide Web server
(http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed
explanations of the
# device lines is also present in the ../../conf/NOTES
and NOTES files.
# If you are in doubt as to the purpose or necessity
of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.13
2005/04/02 16:37:58 scottl Exp $

machine i386
#cpuI486_CPU
cpu I586_CPU
#cpuI686_CPU
ident   acidburn-bsd

options CPU_FASTER_5X86_FPU



# To statically compile in device wiring instead of
/boot/device.hints
#hints  "GENERIC.hints" # Default places to look for
devices.

options SCHED_4BSD  # 4BSD scheduler
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates
support
options UFS_ACL # Support for access control lists
#optionsUFS_DIRHASH # Improve performance on big
directories
#optionsMD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires
NFSCLIENT
#optionsMSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires
PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
#optionsGEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP
THIS!]
#optionsCOMPAT_FREEBSD4 # Compatible with FreeBSD4
#optionsSCSI_DELAY=15000# Delay (in ms) before
probing SCSI
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
#optionsAHC_REG_PRETTY_PRINT# Print register
bitfields in debug
# output.  Adds ~128k to driver.
#optionsAHD_REG_PRETTY_PRINT# Print register
bitfields in debug
# output.  Adds ~215k to driver.
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC

# Bus support.  Do not remove isa, even if you have no
isa slots
device  isa

options AUTO_EOI_1
options AUTO_EOI_2




device  eisa
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
#device atapifd # ATAPI floppy drives
#device atapist # ATAPI tape drives
options ATA_STATIC_ID   # Static device numbering

# SCSI Controllers
#device ahb # EISA AHA1742 family
#device ahc # AHA2940 and onboard AIC7xxx devices
#device ahd # AHA39320/29320 and onboard AIC79xx
devices
#device amd # AMD 53C974 (Tekram DC-390(T))
#device isp # Qlogic family
#device mpt # LSI-Logic MPT-Fusion
#device ncr # NCR/Symbios Logic
#device sym # NCR/Symbios Logic (newer chipsets +
those of `ncr')
#device trm # Tekram DC395U/UW/F DC315U adapters

#device adv # Advansys SCSI adapters
#device adw # Advansys wide SCSI adapters
#device aha # Adaptec 154x SCSI adapters
#device aic # Adaptec 15[012]x SCSI adapters,
AIC-6