Recent -CURRENT doesn't find ata controller
Thorsten Greiner
thorsten at tgreiner.net
Sat Apr 10 04:38:06 PDT 2004
Hi list,
a kernel built from a recent cvsup doesn't recognize my ata
controller. I suspect this is related to the recent PCI changes by
Warner Losh. The attached dmesg shows a successful boot by a kernel
built from Apr 6th sources.
Today's faulty one differs from the sucessful boot in that the lines
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
are missing. Instead the line
atapci0: Bus reserved 0x10 bytes for rid 0x20 type 4 at 0xbfa0
is displayed. Of course this means that the kernel cannot find its
root device and panics later...
Please find a dmesg from a working kernel and my kernel config
attached.
Cheers
-Thorsten
--
Perfection (in design) is achieved not when there is nothing more to
add, but rather when there is nothing more to take away.
-------------- next part --------------
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-CURRENT #102: Tue Apr 6 13:48:46 CEST 2004
toor at tybalt:/usr/src/sys/i386/compile/TYBALT
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0826000.
Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc08261cc.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0826278.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0826324.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz (1595.30-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf24 Stepping = 4
Features=0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory = 536748032 (511 MB)
avail memory = 515506176 (491 MB)
Pentium 4 TCC support enabled, current performance 100%
Pentium Pro MTRR support enabled
cpu0 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL CPi R > on motherboard
acpi0: [GIANT-LOCKED]
pcibios: BIOS version 2.10
Found $PIR table, 11 entries at 0xc00fbb90
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_cmbat1: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 29 INTA is routed to irq 11
pcib0: slot 29 INTC is routed to irq 11
pcib0: slot 31 INTB is routed to irq 11
pcib0: slot 31 INTB is routed to irq 11
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib1: slot 0 INTA is routed to irq 11
pci1: <display, VGA> at device 0.0 (no driver attached)
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0xbf80-0xbf9f irq 11 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
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
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port 0xbf20-0xbf3f irq 11 at device 29.2 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-C> 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
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib2: slot 0 INTA is routed to irq 11
pcib2: slot 1 INTA is routed to irq 11
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xec80-0xecff mem 0xf8fffc00-0xf8fffc7f irq 11 at device 0.0 on pci2
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:06:5b:bc:a4:a4
xl0: [GIANT-LOCKED]
cbb0: <TI4451 PCI-CardBus Bridge> at device 1.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pcib2: slot 1 INTA is routed to irq 11
cbb1: <TI4451 PCI-CardBus Bridge> at device 1.1 on pci2
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pcib2: slot 1 INTA is routed to irq 11
fwohci0: <Texas Instruments PCI4451> mem 0xf8ff8000-0xf8ffbfff,0xf8fff000-0xf8fff7ff irq 11 at device 1.2 on pci2
fwohci0: [GIANT-LOCKED]
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 47:4f:c0:00:1b:96:b4:10
fwohci0: Phy 1394a available S400, 1 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 46:4f:c0:96:b4:10
fwe0: Ethernet address: 46:4f:c0:96:b4:10
fwohci0: Initiate bus reset
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 UDMA100 controller> port 0xbfa0-0xbfaf,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
pcm0: <Intel ICH3 (82801CA)> port 0xdc80-0xdcbf,0xd800-0xd8ff irq 11 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Cirrus Logic CS4205 AC97 Codec>
pci0: <simple comms> at device 31.6 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model GlidePoint, device ID 0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x280-0x287,0x2f8-0x2ff irq 3 drq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 1 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pmtimer0 on isa0
orm0: <Option ROMs> at iomem 0xcf800-0xcffff,0xcf000-0xcf7ff,0xce800-0xcefff,0xce000-0xce7ff,0xc0000-0xcdfff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1595302784 Hz quality 800
Timecounters tick every 1.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ad0: 28615MB <HITACHI_DK23DA-30> [58140/16/63] at ata0-master UDMA100
acd0: CDRW <TOSHIBA CD-RW/DVD-ROM SD-R2102> at ata0-slave UDMA33
Mounting root from ufs:/dev/ad0s1a
-------------- next part --------------
#
# TYBALT -- configuration for my Dell Inspiron 8200 laptop
#
include GENERIC
ident TYBALT
nomakeoption DEBUG
makeoptions MODULES_OVERRIDE="linux sound/pcm sound/driver/ich accf_http acpi linprocfs ipfw smbfs libiconv libmchain msdosfs geom/geom_bde pf pflog pfsync"
nooption SCHED_ULE
option SCHED_4BSD #4BSD scheduler
# Removed because 'pf' needs INET6
# nooption INET6
nooption MD_ROOT
nooption NFS_ROOT
nooption AHC_REG_PRETTY_PRINT
nooption AHD_REG_PRETTY_PRINT
options PQ_CACHESIZE=512 # color for 512k/16k cache
options HZ=1000 # Increase scheduler granularity
options RANDOM_IP_ID
options SC_KERNEL_CONS_ATTR="(FG_GREEN|BG_BLACK)"
options CPU_ENABLE_TCC
# Turn off debugging present in GENERIC
# nooption DDB #Enable the kernel debugger
nooption INVARIANTS #Enable calls of extra sanity checking
nooption INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
nooption WITNESS #Enable checks to detect deadlocks and cycles
nooption WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
# Turn off SMP
nooption SMP
# We don't really need eisa
nodevice eisa
# ATA and ATAPI devices
# device atapicam
nodevice ataraid
nodevice atapifd
nodevice atapisd
# SCSI Controllers
nodevice ahb
nodevice ahc
nodevice ahd
nodevice amd
nodevice isp
nodevice mpt
nodevice ncr
nodevice sym
nodevice trm
nodevice adv
nodevice adw
nodevice aha
nodevice aic
nodevice bt
nodevice ncv
nodevice nsp
nodevice stg
# SCSI peripherals
nodevice ch
nodevice sa
nodevice ses
# RAID controllers interfaced to the SCSI subsystem
nodevice amr
nodevice asr
nodevice ciss
nodevice dpt
nodevice iir
nodevice ips
nodevice mly
nodevice twa
# RAID controllers
nodevice aac
nodevice aacp
nodevice ida
nodevice mlx
nodevice pst
nodevice twe
# Keep nvidia driver happy
nodevice agp
# Power management support (see NOTES for more options)
device apm
# Add suspend/resume support for the i8254.
device pmtimer
# Parallel port
nodevice plip
# PCI Ethernet NICs.
nodevice de
nodevice em
nodevice txp
nodevice vx
# PCI Ethernet NICs that use the common MII bus controller code.
nodevice bfe
nodevice bge
nodevice dc
nodevice fxp
nodevice pcn
nodevice re
nodevice rl
nodevice sf
nodevice sis
nodevice sk
nodevice ste
nodevice ti
nodevice tl
nodevice tx
nodevice vr
nodevice wb
# ISA Ethernet NICs. pccard nics included.
nodevice cs
# 'device ed' requires 'device miibus'
nodevice ed
nodevice ex
nodevice ep
nodevice fe
nodevice ie
nodevice lnc
nodevice sn
nodevice xe
# ISA devices that use the old ISA shims
nodevice le
# Wireless NIC cards
nodevice wlan
nodevice an
nodevice awi
nodevice wi
nodevice wl
# Pseudo devices - the number indicates how many units to allocate.
nodevice sl
nodevice ppp
nodevice tun
# USB support
nodevice ohci
nodevice urio
# USB Ethernet, requires mii
nodevice aue
nodevice axe
nodevice cue
nodevice kue
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040410/176dbe47/attachment.bin
More information about the freebsd-current
mailing list