Date: Tue, 15 Dec 1998 22:53:15 +0100 From: Jean-Michel DRICOT <jdricot@ulb.ac.be> To: freebsd-questions@FreeBSD.ORG Subject: trouble with IDE controller detection Message-ID: <3676DA4B.D941AA05@ulb.ac.be>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------C1F3CFA11610F741165D8E3E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sir,
Here's my problem: I compiled my kernel with second IDE controller
support.
But the detection of this controller seems to be quite uncertain:
sometimes BSD finds it and many times not !
I included my kernel configuration file ("mykernel" attachement...) and
the output of a "dmesg" command ("message" attachement)...
Of course, it should work... I tried many other configuration and
rebuilding of the kernel but nothing worked...
What did I wrong ?
My FreeBSD is 3.0-RELEASE
Thanks for your help
Jim
PS: of course, I've already read up the doc, handbook, FAQ .... You are
my last resort...
________________________________________________________________________
Printed on 100% Recyclable Electrons
Dricot Jean-Michel
3rd Year of Computing Science Engineering's degree.
Ecole Polytechnique - Free University of Brussels, Belgium.
URL: http://student.ulb.ac.be/~jdricot
E-Mail: jdricot@ulb.ac.be
--------------C1F3CFA11610F741165D8E3E
Content-Type: text/plain; charset=us-ascii; name="mykernel"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="mykernel"
#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration ->
# Configuring the FreeBSD Kernel -> The Configuration File.
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server
# <URL:http://www.FreeBSD.ORG/>
#
# An exhaustive list of options and more detailed explanations of the
# device lines is present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $Id: GENERIC,v 1.125 1998/10/16 01:30:11 obrien Exp $
machine "i386"
cpu "I586_CPU"
ident GENERIC
maxusers 32
options BOUNCE_BUFFERS
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options MFS #Memory Filesystem
options MFS_ROOT #MFS usable as root device, "MFS" req'ed
options NFS #Network Filesystem
options NFS_ROOT #NFS usable as root device, "NFS" req'ed
options MSDOSFS #MSDOS Filesystem
options "CD9660" #ISO 9660 Filesystem
options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed
options "EXT2FS" #Linux :-)
options PROCFS #Process filesystem
options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
options UCONSOLE #Allow users to grab the console
options FAILSAFE #Be conservative
config kernel root on wd0
controller pci0
controller isa0
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk fd0 at fdc0 drive 0
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
disk wd0 at wdc0 drive 0
disk wd1 at wdc0 drive 1
controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
disk wd2 at wdc1 drive 0
disk wd3 at wdc1 drive 1
options ATAPI #Enable ATAPI support for IDE bus
options ATAPI_STATIC #Don't do it as an LKM
device wcd0 #IDE CD-ROM
device wcd1 #Second IDE CDROM
# syscons is the default console driver, resembling an SCO console
device sc0 at isa? port "IO_KBD" conflicts tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
device vt0 at isa? port "IO_KBD" conflicts tty irq 1 vector pcrint
options XSERVER # support for X server
device npx0 at isa? port "IO_NPX" irq 13 vector npxintr
device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr
device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
device lpt0 at isa? port? tty irq 7 vector lptintr
device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device ed0
pseudo-device loop
pseudo-device ether
pseudo-device sl 1
pseudo-device ppp 1
pseudo-device tun 1
pseudo-device pty 16
pseudo-device gzip # Exec gzipped a.out's
# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options KTRACE #kernel tracing
# This provides support for System V shared memory.
#
options SYSVSHM
# Sound support
controller snd0
device sb0 at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr
device sbxvi0 at isa? drq 3
options "SB16_DMA=3"
device sbmidi0 at isa? port 0x330
--------------C1F3CFA11610F741165D8E3E
Content-Type: text/plain; charset=us-ascii; name="message"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="message"
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 3.0-RELEASE #0: Tue Dec 15 21:21:39 CET 1998
root@euler.localnet:/usr/src/sys/compile/MYKERNEL
Timecounter "i8254" frequency 1193182 Hz cost 3990 ns
Timecounter "TSC" frequency 200456147 Hz cost 121 ns
CPU: Pentium/P55C (200.46-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x543 Stepping=3
Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory = 67108864 (65536K bytes)
avail memory = 62922752 (61448K bytes)
Probing for devices on PCI bus 0:
chip0: <VIA 82C597 (Apollo VP3) system controller> rev 0x04 on pci0.0.0
chip1: <PCI to PCI bridge (vendor=1106 device=8598)> rev 0x00 on pci0.1.0
chip2: <VIA 82C586 PCI-ISA bridge> rev 0x41 on pci0.7.0
ide_pci0: <VIA 82C586x (Apollo) Bus-master IDE controller> rev 0x06 on pci0.7.1
chip3: <VIA 82C586B ACPI interface> rev 0x10 on pci0.7.3
ed1: <NE2000 PCI Ethernet (RealTek 8029)> rev 0x00 int a irq 11 on pci0.8.0
ed1: address 00:40:33:94:c7:2e, type NE2000 (16 bit)
Probing for devices on PCI bus 1:
vga0: <VGA-compatible display device> rev 0x21 int a irq 11 on pci1.0.0
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
vt0 at 0x60-0x6f irq 1 on motherboard
vt0 not attached due to irq conflict with sc0 at 1
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <ST33232A>
wd0: 3077MB (6303024 sectors), 6253 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (atapi): <Pioneer CD-ROM ATAPI Model DR-744 0102/E1.02>, removable, accel, dma, iordis
wcd0: 5511Kb/sec, 128Kb cache, audio play, 256 volume levels, ejectable tray
wcd0: no disc inside, unlocked
wdc1 not found at 0x170
npx0 on motherboard
npx0: INT 16 interface
sb0 at 0x220 irq 5 drq 1 on isa
snd0: <SoundBlaster 16 4.16>
SB16 Error: Invalid DMA channel 1/3
sbxvi0 not found
sbmidi0 at 0x330 on isa
snd0: <SoundBlaster MPU-401>
Intel Pentium F00F detected, installing workaround
changing root device to wd0s2a
--------------C1F3CFA11610F741165D8E3E--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3676DA4B.D941AA05>
