[Bug 635439] Re: No UEFI boot on Dell Precision M4500

2011-05-08 Thread Marek Kubica
*** This bug is a duplicate of bug 705588 ***
https://bugs.launchpad.net/bugs/705588

** This bug has been marked a duplicate of bug 705588
   Dell latitute E6510 doesn't boot in uefi mode
 * You can subscribe to bug 705588 by following this link: 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/705588/+subscribe

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/635439

Title:
  No UEFI boot on Dell Precision M4500

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 635439] Re: No UEFI boot on Dell Precision M4500

2011-04-20 Thread exactt
this bug might be related:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/721576

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/635439

Title:
  No UEFI boot on Dell Precision M4500

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 635439] Re: No UEFI boot on Dell Precision M4500

2010-11-30 Thread Jaap-Jan van der Veen
It's been a while and you might have other priorities, but still. Can
you tell me if you're making any progress?

-- 
No UEFI boot on Dell Precision M4500
https://bugs.launchpad.net/bugs/635439
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 635439] Re: No UEFI boot on Dell Precision M4500

2010-09-13 Thread Colin Watson
I finally have a serial console and am investigating.

-- 
No UEFI boot on Dell Precision M4500
https://bugs.launchpad.net/bugs/635439
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 635439] Re: No UEFI boot on Dell Precision M4500

2010-09-12 Thread Colin Watson
On my system, also labelled as a Dell Precision M4500 although it's a
development system so could be a bit different, GRUB shows the
set_virtual_address_map function as being at address 0xbb65d280.  I
wouldn't be surprised if my memory map was a bit different from yours,
but this is still in the bottom 4GB of memory rather than way up at the
top.

I notice this in your log, which is odd and suggests a problem:

[0.00] Kernel-defined memdesc doesn't match the one from EFI!

I'll look into this more when I can.

-- 
No UEFI boot on Dell Precision M4500
https://bugs.launchpad.net/bugs/635439
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 635439] Re: No UEFI boot on Dell Precision M4500

2010-09-11 Thread Jaap-Jan van der Veen
Maybe this will shed some light on it. ;) I happen to have a suitable
docking station for my Precision M4500.

The real problem is this:

[0.088777] BUG: unable to handle kernel paging request at cccafed0
[0.095752] IP: [cccafed0] 0xcccafed0
[0.100992] PGD 1a2c067 PUD 1a2d067 PMD 0 
[0.105148] Oops: 0010 [#1] SMP 
[0.108421] last sysfs file: 
[0.111378] CPU 0 
[0.113222] Modules linked in:
[0.116492] 
[0.117984] Pid: 0, comm: swapper Not tainted 2.6.35-19-generic #28-Ubuntu 
041WH1/Precision M4500
[0.126833] RIP: 0010:[cccafed0]  [cccafed0] 
0xcccafed0
[0.134488] RSP: :81a01e08  EFLAGS: 00010002
[0.139784] RAX: cf5de878 RBX: 4650 RCX: 746e7665
[0.146913] RDX:  RSI: 4650 RDI: cf65d280
[0.154046] RBP: 81a01f38 R08: 0001 R09: 00048000
[0.161174] R10:  R11: 00048000 R12: 0030
[0.168301] R13: 00048000 R14: 0001 R15: 00046000
[0.175415] FS:  () GS:880001e0() 
knlGS:
[0.183491] CS:  0010 DS:  ES:  CR0: 80050033
[0.189227] CR2: cccafed0 CR3: 01a2a000 CR4: 06b0
[0.196349] DR0:  DR1:  DR2: 
[0.203472] DR3:  DR6: 0ff0 DR7: 0400
[0.210584] Process swapper (pid: 0, threadinfo 81a0, task 
81a32020)
[0.218653] Stack:
[0.220658]  cf65d34b 746e7665  
88012fc046e0
[0.227924] 0 81a01ec0  8000 
0200
[0.235672] 0 cf5de8a0 cf5dee18 cf5de878 

[0.243608] Call Trace:
[0.246050]  [81031fd6] ? efi_call4+0x46/0x80
[0.251271]  [81afea91] ? efi_enter_virtual_mode+0x15b/0x284
[0.257786]  [81aedc26] start_kernel+0x310/0x390
[0.263260]  [81aed341] x86_64_start_reservations+0x12c/0x130
[0.269857]  [81aed43f] x86_64_start_kernel+0xfa/0x109
[0.275854] Code:  Bad RIP value.
[0.279212] RIP  [cccafed0] 0xcccafed0
[0.284526]  RSP 81a01e08
[0.288009] CR2: cccafed0
[0.291344] ---[ end trace a7919e7f17c0a725 ]---
[0.295958] Kernel panic - not syncing: Attempted to kill the idle task!
[0.302654] Pid: 0, comm: swapper Tainted: G  D 2.6.35-19-generic 
#28-Ubuntu
[0.310382] Call Trace:
[0.312837]  [815849e4] panic+0x90/0x111
[0.317626]  [8106437e] do_exit+0x3be/0x3f0
[0.322660]  [81588ce0] oops_end+0xb0/0xf0
[0.327619]  [8103d1dc] no_context+0xfc/0x190
[0.332838]  [8103d395] __bad_area_nosemaphore+0x125/0x1e0
[0.339174]  [8103d463] bad_area_nosemaphore+0x13/0x20
[0.345172]  [8158b5df] do_page_fault+0x28f/0x350
[0.350738]  [81587ff5] page_fault+0x25/0x30
[0.355866]  [81031fd6] ? efi_call4+0x46/0x80
[0.361108]  [81afea91] ? efi_enter_virtual_mode+0x15b/0x284
[0.367622]  [81aedc26] start_kernel+0x310/0x390
[0.373100]  [81aed341] x86_64_start_reservations+0x12c/0x130
[0.379700]  [81aed43f] x86_64_start_kernel+0xfa/0x109


Off-topic:
I don't know if it's just my machine, but does yours also take a long time to 
show the boot menu when pressing F12? On my machine takes a second or 15 
between the BIOS screen disappearing and (for now) Windows 7 boot screen 
appearing when booting normally. In between there seems to be some hard disk 
activity, as if the BIOS scans all partitions for boot loaders.

** Attachment added: kern.log
   
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/635439/+attachment/1571969/+files/kern.log

-- 
No UEFI boot on Dell Precision M4500
https://bugs.launchpad.net/bugs/635439
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 635439] Re: No UEFI boot on Dell Precision M4500

2010-09-11 Thread Colin Watson
On Sat, Sep 11, 2010 at 08:42:17PM -, Jaap-Jan van der Veen wrote:
 Maybe this will shed some light on it. ;) I happen to have a suitable
 docking station for my Precision M4500.
[...]
 [0.243608] Call Trace:
 [0.246050]  [81031fd6] ? efi_call4+0x46/0x80
 [0.251271]  [81afea91] ? efi_enter_virtual_mode+0x15b/0x284
 [0.257786]  [81aedc26] start_kernel+0x310/0x390
 [0.263260]  [81aed341] x86_64_start_reservations+0x12c/0x130
 [0.269857]  [81aed43f] x86_64_start_kernel+0xfa/0x109
 [0.275854] Code:  Bad RIP value.
 [0.279212] RIP  [cccafed0] 0xcccafed0

Thanks, that's interesting.  Sort of similar to what Mario found on a
different machine, although the symptom is very slightly different.

I think it will be easiest to debug this when I can iteratively install
new test kernels and GRUB images on my machine and observe the output.
In the meantime, I can confirm that the fault is at
arch/x86/kernel/efi.c:167, matching Mario's log:

status = efi_call_phys4(efi_phys.set_virtual_address_map,
memory_map_size, descriptor_size,
descriptor_version, virtual_map);

It is interesting that 0xcccafed0 is way up in the kernel module
mapping area, not in anything that seems a plausible physical address,
and it doesn't match anything in the EFI memory map either (which seems
to tentatively rule out the idea that GRUB might just be constructing
the E820 map wrongly).  I would have expected this function to be in one
of the EfiRuntimeServicesCode ranges, namely:

[0.00] EFI: mem355: type=5, attr=0x800f, 
range=[0xcf5df000-0xcf636000) (0MB)
[0.00] EFI: mem356: type=5, attr=0x800f, 
range=[0xcf636000-0xcf65f000) (0MB)

I smell a rat, but as yet I'm not sure what kind.  In-kernel memory
corruption, or are we failing to mark the EFI system table as reserved
so it gets overwritten?  Or something else?

 Off-topic:
 I don't know if it's just my machine, but does yours also take a long
 time to show the boot menu when pressing F12? On my machine takes a
 second or 15 between the BIOS screen disappearing and (for now)
 Windows 7 boot screen appearing when booting normally. In between
 there seems to be some hard disk activity, as if the BIOS scans all
 partitions for boot loaders.

Yes, I suspect that's pretty much what it's doing.  I haven't been
worrying about it too much as yet ...

-- 
No UEFI boot on Dell Precision M4500
https://bugs.launchpad.net/bugs/635439
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs