can't mount root disk with ACPI enabled

Johannes Hofmann johannes.hofmann at gmx.de
Tue May 19 04:33:33 PDT 2009


Hi,

starting with revision

commit 50b53814fb840b70162a846420b75c5bb9432931
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun May 17 13:11:50 2009 +0800

    More clock cleanup:
    
    - Move rtc initialization to SI_BOOT2_CLOCKREG, SI_ORDER_FIRST
    - Staticize cpu_initclocks()


My thinkpad T42 fails to mount the root device with ACPI enabled. When
I boot without ACPI it works fine.
The previous revision (ef6125390e79ef76642279863a7b6c880157e690) still
works ok with APCI enabled.

Regards,
Johannes

dmesg output from boot with non-affected version:

Copyright (c) 2003-2009 The DragonFly Project.
Copyright (c) 1992-2003 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.
DragonFly 2.3.1-DEVELOPMENT #3: Tue May 19 12:50:02 CEST 2009
    hofmann at blob.baaderstrasse.com:/hammer/usr/obj/hammer/usr/src/sys/T42
TSC clock: 1798463222 Hz, i8254 clock: 1193176 Hz
CPU: Intel(R) Pentium(R) M processor 1.80GHz (1798.48-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6d6  Stepping = 6
  Features=0xafe9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
  Features2=0x180<EST,TM2>
real memory  = 1609957376 (1572224K bytes)
avail memory = 1552347136 (1515964K bytes)
Preloaded elf kernel "/boot/kernel" at 0xc05ac000.
Preloaded elf module "/boot/modules/if_iwi.ko" at 0xc05ac240.
Preloaded elf module "/boot/modules/snd_ich.ko" at 0xc05ac2ec.
Preloaded elf module "/boot/modules/sound.ko" at 0xc05ac39c.
Preloaded elf module "/boot/modules/est.ko" at 0xc05ac448.
Preloaded elf module "/boot/modules/acpi.ko" at 0xc05ac4f4.
Enhanced SpeedStep (1340 mV) 1800 MHz
Enhanced SpeedStep frequencies available (MHz): 1800 1600 1400 1200 1000 800 600
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: BIOS version 2.10
Using $PIR table, 15 entries at 0xc00fdea0
ACPI: RSDP @ 0x0xf6d70/0x0024 (v  2 IBM   )
ACPI: XSDT @ 0x0x5ff6a672/0x004C (v  1 IBM    TP-1R    0x00003230  LTP 0x00000000)
ACPI: FACP @ 0x0x5ff6a700/0x00F4 (v  3 IBM    TP-1R    0x00003230 IBM  0x00000001)
ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero address or length:        0    102C/0 [20061109]
ACPI: DSDT @ 0x0x5ff6a8e7/0xC530 (v  1 IBM    TP-1R    0x00003230 MSFT 0x0100000E)
ACPI: FACS @ 0x0x5ff78000/0x0040
ACPI: SSDT @ 0x0x5ff6a8b4/0x0033 (v  1 IBM    TP-1R    0x00003230 MSFT 0x0100000E)
ACPI: ECDT @ 0x0x5ff76e17/0x0052 (v  1 IBM    TP-1R    0x00003230 IBM  0x00000001)
ACPI: TCPA @ 0x0x5ff76e69/0x0032 (v  1 IBM    TP-1R    0x00003230 PTL  0x00000001)
ACPI: BOOT @ 0x0x5ff76fd8/0x0028 (v  1 IBM    TP-1R    0x00003230  LTP 0x00000001)
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using XMM optimized bcopy/copyin/copyout
acpi0: <IBM TP-1R> on motherboard
acpi_ec0: <Embedded Controller: GPE 0x1c, ECDT> port 0x66,0x62 on acpi0
acpi0: Power Button (fixed)
Warning: ACPI is disabling APM's device.  You can't run both
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> 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
sio0: can't drain, serial port might not exist, disabling
sio0 port 0x2f8-0x2ff irq 3 drq 3 on acpi0
sio0: type 16550A
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
legacypci0 on motherboard
pcib0: <Host to PCI bridge> on legacypci0
pci0: <PCI bus> on pcib0
agp0: <Intel 82855 host to AGP bridge> mem 0xd0000000-0xdfffffff at device 0.0 on pci0
pcib1: <PCI to PCI bridge (vendor=8086 device=3341)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
drm0: <ATI FireGL T2/T2e> port 0x3000-0x30ff mem 0xc0100000-0xc010ffff,0xe0000000-0xe7ffffff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xd0000000 256MB
info: [drm] Initialized radeon 1.29.0 20080528
pci0: <UHCI USB controller> at 29.0 irq 11
pci0: <UHCI USB controller> at 29.1 irq 11
pci0: <UHCI USB controller> at 29.2 irq 11
pci0: <USB controller> at 29.7 irq 11
pcib2: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
pci2: <PCI to CardBus bridge (vendor=104c device=ac46)> at 0.0 irq 11
pci2: <PCI to CardBus bridge (vendor=104c device=ac46)> at 0.1 irq 11
pci2: <unknown card> (vendor=0x8086, dev=0x101e) at 1.0 irq 11
iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xc0214000-0xc0214fff irq 11 at device 2.0 on pci2
iwi0: MAC address: 00:16:6f:64:b3:47
isab0: <PCI to ISA bridge (vendor=8086 device=24cc)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0x1860-0x186f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ad0: 238475MB <WDC WD2500BEVE-00WZT0 01.01A01> at ata0-master UDMA100
ata1: <ATA channel 1> on atapci0
acd0: DVDR <MATSHITADVD-RAM UJ-812/K103> at ata1-master UDMA33
pci0: <unknown card> (vendor=0x8086, dev=0x24c3) at 31.3 irq 11
pcm0: <Intel ICH4 (82801DB)> port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xc0000800-0xc00008ff,0xc0000c00-0xc0000dff irq 11 at device 31.5 on pci0
pcm0: <Analog Devices AD1981B AC97 Codec>
pci0: <unknown card> (vendor=0x8086, dev=0x24c6) at 31.6 irq 11
pmtimer0 on isa0
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>
ip: MPSAFE
arp: MPSAFE
Mounting root from ufs:/dev/ad0s1a
cd0 at ata1 bus 0 target 0 lun 0
cd0: <MATSHITA DVD-RAM UJ-812 K103> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
ipfw2 initialized, default to deny, logging disabled
info: [drm] Setting GART location based on new memory map
info: [drm] Loading R300 Microcode
info: [drm] Num pipes: 1
info: [drm] writeback test succeeded in 1 usecs









More information about the Bugs mailing list