grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EFI-dualbooting OSX and Linux on iMac with T7400-CPU


From: Eeri Kask
Subject: Re: EFI-dualbooting OSX and Linux on iMac with T7400-CPU
Date: Fri, 15 Dec 2006 10:16:23 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20061102)

bibo,mao wrote:
>> 2.6.18.5.
> There exists one bug in Linux kernel only EFI bios relative at
> http://marc.theaimsgroup.com/?l=linux-kernel&m=116157536316034&w=2
> I do not know whether 2.6.18.5 incorporates this bug.

Oh, I see.  This bug is not corrected in 2.6.18.5.
As a side note, in contrast, in  "arch/x86_64/kernel/"  there are
seemingly no files having anything to do with efi.  Maybe this is of no
importance though.

>> Maybe MacOS if booting from CD sets up some faked BIOS environment so
>> Linux and X11 are in believing it is usual IBM-PC-hardware, but if
>> booting with grub2 this is not the case and then linux fails?
> I am not familiar with Mac machine, In general there exists two types of
> bios. One is EFI bios, the other is legacy pc bios. I doubt that
> syslinux-CD boots from legacy pc bios but not EFI bios. You can enter
> "dmesg" command to find memory map information to judge which bios kernel
> boots from.

:-)

I sincerely apologise for the long attachment in advance; here I send
you the dmesg output in full, most of it I do not understand.

Greetings,

    Eeri Kask

--------8<--------8<--------

Bootdata ok (command line is root=/dev/sda5 BOOT_IMAGE=bzImage )
Linux version 2.6.18.5 (address@hidden) (gcc version 4.1.1 (Gentoo 4.1.1))
#1 SMP PREEMPT Wed Dec 6 16:09:02 CET 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000007f103000 (usable)
 BIOS-e820: 000000007f103000 - 000000007f304000 (ACPI NVS)
 BIOS-e820: 000000007f304000 - 000000007febe000 (ACPI data)
 BIOS-e820: 000000007febe000 - 000000007feef000 (ACPI NVS)
 BIOS-e820: 000000007feef000 - 000000007ff00000 (ACPI data)
 BIOS-e820: 000000007ff00000 - 0000000080000000 (reserved)
 BIOS-e820: 00000000f0000000 - 00000000f4000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fed14000 - 00000000fed1a000 (reserved)
 BIOS-e820: 00000000fed1c000 - 00000000fed20000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffe00000 - 0000000100000000 (reserved)
DMI 2.4 present.
ACPI: RSDP (v002 APPLE                                 ) @
0x00000000000fe020
ACPI: XSDT (v001 APPLE   Apple00 0x00000093      0x01000013) @
0x000000007fefd1c0
ACPI: FADT (v003 APPLE   Apple00 0x00000093 Loki 0x0000005f) @
0x000000007fefb000
ACPI: HPET (v001 APPLE   Apple00 0x00000001 Loki 0x0000005f) @
0x000000007fefa000
ACPI: MADT (v001 APPLE   Apple00 0x00000001 Loki 0x0000005f) @
0x000000007fef9000
ACPI: MCFG (v001 APPLE   Apple00 0x00000001 Loki 0x0000005f) @
0x000000007fef8000
ACPI: ASF! (v032 APPLE   Apple00 0x00000001 Loki 0x0000005f) @
0x000000007fef7000
ACPI: SBST (v001 APPLE   Apple00 0x00000001 Loki 0x0000005f) @
0x000000007fef5000
ACPI: ECDT (v001 APPLE   Apple00 0x00000001 Loki 0x0000005f) @
0x000000007fef4000
ACPI: SSDT (v001 APPLE   SataPri 0x00001000 INTL 0x20050309) @
0x000000007febb000
ACPI: SSDT (v001 APPLE   SataSec 0x00001000 INTL 0x20050309) @
0x000000007feba000
ACPI: SSDT (v001 APPLE     CpuPm 0x00003000 INTL 0x20050309) @
0x000000007feef000
ACPI: DSDT (v001 APPLE   iMac6,1 0x00010001 INTL 0x20050309) @
0x0000000000000000
No mptable found.
On node 0 totalpages: 511592
  DMA zone: 2296 pages, LIFO batch:0
  DMA32 zone: 509296 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x408
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 6:15 APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 6:15 APIC version 20
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Setting APIC routing to flat
ACPI: HPET id: 0x8086a201 base: 0xfed00000
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 88000000 (gap: 80000000:70000000)
Built 1 zonelists.  Total pages: 511592
Kernel command line: root=/dev/sda5 BOOT_IMAGE=bzImage
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
time.c: Using 14.318180 MHz WALL HPET GTOD HPET/TSC timer.
time.c: Detected 2161.258 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Checking aperture...
Memory: 2043072k/2081804k available (3886k kernel code, 38328k reserved,
1916k data, 232k init)
Calibrating delay using timer specific routine.. 4328.85 BogoMIPS
(lpj=8657703)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
using mwait in idle threads.
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU0: Thermal monitoring enabled (TM2)
Freeing SMP alternatives: 32k freed
ACPI: Core revision 20060707
Using local APIC timer interrupts.
result 10390656
Detected 10.390 MHz APIC timer.
Booting processor 1/2 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 4322.54 BogoMIPS
(lpj=8645080)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
CPU1: Thermal monitoring enabled (TM2)
Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz stepping 06
Brought up 2 CPUs
testing NMI watchdog ... OK.
migration_cost=27
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using MMCONFIG at f0000000
ACPI: Found ECDT
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
Boot video device is 0000:01:00.0
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEGP._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 *10 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *11 12 14 15)
ACPI: Embedded Controller [EC] (gpe 23) interrupt mode.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 9 devices
intel_rng: FWH not detected
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a
report
PCI-GART: No AMD northbridge found.
PCI: Failed to allocate mem resource #6:address@hidden for 0000:01:00.0
PCI: Bridge: 0000:00:01.0
  IO window: 2000-2fff
  MEM window: 90000000-91ffffff
  PREFETCH window: 80000000-8fffffff
PCI: Bridge: 0000:00:1c.0
  IO window: 1000-1fff
  MEM window: 92300000-923fffff
  PREFETCH window: 92500000-925fffff
PCI: Bridge: 0000:00:1c.1
  IO window: disabled.
  MEM window: 92200000-922fffff
  PREFETCH window: 92000000-920fffff
PCI: Bridge: 0000:00:1e.0
  IO window: disabled.
  MEM window: 92100000-921fffff
  PREFETCH window: disabled.
GSI 16 sharing vector 0xA9 and IRQ 16
ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:01.0 to 64
GSI 17 sharing vector 0xB1 and IRQ 17
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1c.0 to 64
ACPI: PCI Interrupt 0000:00:1c.1[B] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1c.1 to 64
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
IA-32 Microcode Update Driver: v1.14a <address@hidden>
audit: initializing netlink socket (disabled)
audit(1166022473.876:1): initialized
Total HugeTLB memory allocated, 0
Installing knfsd (copyright (C) 1996 address@hidden).
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Setting latency timer of device 0000:00:01.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:01.0:pcie00]
Allocate Port Service[0000:00:01.0:pcie03]
PCI: Setting latency timer of device 0000:00:1c.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.0:pcie00]
Allocate Port Service[0000:00:1c.0:pcie02]
Allocate Port Service[0000:00:1c.0:pcie03]
PCI: Setting latency timer of device 0000:00:1c.1 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.1:pcie00]
Allocate Port Service[0000:00:1c.1:pcie02]
Allocate Port Service[0000:00:1c.1:pcie03]
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
vga16fb: initializing
vga16fb: mapped to 0xffff8100000a0000
Console: switching to colour frame buffer device 80x30
fb0: VGA16 VGA frame buffer device
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
Using specific hotkey driver
ACPI (exconfig-0455): Dynamic SSDT Load - OemId [APPLE ] OemTableId [
Cpu0Ist] [20060707]
ACPI (exconfig-0455): Dynamic SSDT Load - OemId [APPLE ] OemTableId [
Cpu0Cst] [20060707]
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 8 throttling states)
ACPI (exconfig-0455): Dynamic SSDT Load - OemId [APPLE ] OemTableId [
Cpu1Ist] [20060707]
ACPI (exconfig-0455): Dynamic SSDT Load - OemId [APPLE ] OemTableId [
Cpu1Cst] [20060707]
ACPI: CPU1 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU1] (supports 8 throttling states)
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.101 (c) Dave Jones
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:02:00.0 to 64
sky2 v1.5 addr 0x92300000 irq 16 Yukon-EC (0xb6) rev 2
sky2 eth0: addr 00:16:cb:a0:0c:4a
PPP generic driver version 2.4.2
bcm43xx driver
Linux video capture interface: v2.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH7: IDE controller at PCI slot 0000:00:1f.1
GSI 18 sharing vector 0xB9 and IRQ 18
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18
ICH7: chipset revision 2
ICH7: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x30c0-0x30c7, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x30c8-0x30cf, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: PIONEER DVD-RW DVR-K06, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
hda: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache
Uniform CD-ROM driver Revision: 3.20
Loading iSCSI transport class v1.1-646.<7>libata version 2.00 loaded.
ata_piix 0000:00:1f.2: version 2.00
ata_piix 0000:00:1f.2: MAP [ P0 P2 XX XX ]
Losing some ticks... checking if CPU frequency changed.
ata_piix 0000:00:1f.2: invalid MAP value 0
GSI 19 sharing vector 0xC1 and IRQ 19
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x30D8 ctl 0x30F6 bmdma 0x3020 irq 19
ata2: SATA max UDMA/133 cmd 0x30D0 ctl 0x30F2 bmdma 0x3028 irq 19
scsi0 : ata_piix
ATA: abnormal status 0x7F on port 0x30DF
ATA: abnormal status 0x7F on port 0x30DF
ata1.01: ATA-7, max UDMA/133, 976773168 sectors: LBA48 NCQ (depth 0/32)
ata1.01: configured for UDMA/133
scsi1 : ata_piix
ATA: abnormal status 0x7F on port 0x30D7
  Vendor: ATA       Model: ST3500641AS  Q    Rev: 3.BT
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 sda4 sda5
sd 0:0:1:0: Attached scsi disk sda
sd 0:0:1:0: Attached scsi generic sg0 type 0
SCSI Media Changer driver v0.25
I2O subsystem v1.325
i2o: max drivers = 8
I2O Configuration OSM v1.323
I2O Bus Adapter OSM v1.317
I2O Block Device OSM v1.325
I2O SCSI Peripheral OSM v1.316
I2O ProcFS OSM v1.316
ieee1394: Initialized config rom entry `ip1394'
ACPI: PCI Interrupt 0000:04:03.0[A] -> GSI 19 (level, low) -> IRQ 19
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[19]
MMIO=[92104000-921047ff]  Max Packet=[4096]  IR/IT contexts=[4/8]
video1394: Installed video1394 module
ieee1394: raw1394: /dev/raw1394 device initialized
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
GSI 20 sharing vector 0xC9 and IRQ 20
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 20, io mem 0x92405400
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
Initializing USB Mass Storage driver...
usb 1-4: new high speed USB device using ehci_hcd and address 3
usb 1-4: configuration #1 chosen from 1 choice
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22
13:55:50 2006 UTC).
no UART detected at 0x1
Motu MidiTimePiece on parallel port irq: 7 ioport: 0x378
GSI 21 sharing vector 0xD1 and IRQ 21
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 21
PCI: Setting latency timer of device 0000:00:1b.0 to 64
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[0017f2fffe7d08fe]
hda_codec: Unknown model for ALC882, trying auto-probe from BIOS...
ALSA device list:
  #0: Dummy 1
  #1: Virtual MIDI Card 1
  #2: MTPAV on parallel port at 0x378
  #3: HDA Intel at 0x92400000 irq 21
NET: Registered protocol family 1
NET: Registered protocol family 15
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation
<address@hidden>
ieee80211_crypt: registered algorithm 'NULL'
ieee80211_crypt: registered algorithm 'WEP'
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 232k freed
EXT3 FS on sda5, internal journal

--------8<--------8<--------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]