Bug 87112

Summary: Boot problems on a 16 processor AMD64 compatible machine
Product: Base System Reporter: nagy.attila
Component: amd64Assignee: Peter Wemm <peter>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description nagy.attila 2005-10-08 10:00:29 UTC
On a 16 processor/16 GB RAM AMD64 compatible machine FreeBSD halts with "Too many segments in the physical address map, giving up".

Fix: 

In src/sys/amd64/amd64/machdep.c:
-#define PHYSMAP_SIZE    (2 * 8)
+#define PHYSMAP_SIZE    (2 * 16)

After this:
FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
 cpu8 (AP): APIC ID:  8
 cpu9 (AP): APIC ID:  9
 cpu10 (AP): APIC ID: 10
 cpu11 (AP): APIC ID: 11
 cpu12 (AP): APIC ID: 12
 cpu13 (AP): APIC ID: 13
 cpu14 (AP): APIC ID: 14
 cpu15 (AP): APIC ID: 15

I didn't try with i386, but I guess that has the same problem.
How-To-Repeat: I don't know whether it's general, or only limited to this machine, but trying to boot FreeBSD with 16 processors could trigger the problem.
Comment 1 alain77260 2005-10-08 13:35:17 UTC
What is the type of computer ?

Alain
----- Original Message ----- 
From: "Attila Nagy" <bra@fsn.hu>
To: <freebsd-gnats-submit@FreeBSD.org>
Sent: Saturday, October 08, 2005 10:59 AM
Subject: amd64/87112: Boot problems on a 16 processor AMD64 
compatiblemachine


>
>>Number:         87112
>>Category:       amd64
>>Synopsis:       Boot problems on a 16 processor AMD64 compatible machine
>>Confidential:   no
>>Severity:       serious
>>Priority:       low
>>Responsible:    freebsd-amd64
>>State:          open
>>Quarter:
>>Keywords:
>>Date-Required:
>>Class:          change-request
>>Submitter-Id:   current-users
>>Arrival-Date:   Sat Oct 08 09:00:29 GMT 2005
>>Closed-Date:
>>Last-Modified:
>>Originator:     Attila Nagy
>>Release:        7-current
>>Organization:
> FSN
>>Environment:
> Not available
>>Description:
> On a 16 processor/16 GB RAM AMD64 compatible machine FreeBSD halts with 
> "Too many segments in the physical address map, giving up".
>
>>How-To-Repeat:
> I don't know whether it's general, or only limited to this machine, but 
> trying to boot FreeBSD with 16 processors could trigger the problem.
>>Fix:
> In src/sys/amd64/amd64/machdep.c:
> -#define PHYSMAP_SIZE    (2 * 8)
> +#define PHYSMAP_SIZE    (2 * 16)
>
> After this:
> FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs
> cpu0 (BSP): APIC ID:  0
> cpu1 (AP): APIC ID:  1
> cpu2 (AP): APIC ID:  2
> cpu3 (AP): APIC ID:  3
> cpu4 (AP): APIC ID:  4
> cpu5 (AP): APIC ID:  5
> cpu6 (AP): APIC ID:  6
> cpu7 (AP): APIC ID:  7
> cpu8 (AP): APIC ID:  8
> cpu9 (AP): APIC ID:  9
> cpu10 (AP): APIC ID: 10
> cpu11 (AP): APIC ID: 11
> cpu12 (AP): APIC ID: 12
> cpu13 (AP): APIC ID: 13
> cpu14 (AP): APIC ID: 14
> cpu15 (AP): APIC ID: 15
>
> I didn't try with i386, but I guess that has the same problem.
>>Release-Note:
>>Audit-Trail:
>>Unformatted:
> _______________________________________________
> freebsd-amd64@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
> To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org"
>
Comment 2 nagy.attila 2005-10-09 16:44:55 UTC
Sorry, I cannot tell. It's an evaluation platform with an NDA.

AD wrote:
> What is the type of computer ?
> 
> Alain
> ----- Original Message ----- From: "Attila Nagy" <bra@fsn.hu>
> To: <freebsd-gnats-submit@FreeBSD.org>
> Sent: Saturday, October 08, 2005 10:59 AM
> Subject: amd64/87112: Boot problems on a 16 processor AMD64 
> compatiblemachine
> 
> 
>>
>>> Number:         87112
>>> Category:       amd64
>>> Synopsis:       Boot problems on a 16 processor AMD64 compatible machine
>>> Confidential:   no
>>> Severity:       serious
>>> Priority:       low
>>> Responsible:    freebsd-amd64
>>> State:          open
>>> Quarter:
>>> Keywords:
>>> Date-Required:
>>> Class:          change-request
>>> Submitter-Id:   current-users
>>> Arrival-Date:   Sat Oct 08 09:00:29 GMT 2005
>>> Closed-Date:
>>> Last-Modified:
>>> Originator:     Attila Nagy
>>> Release:        7-current
>>> Organization:
>>
>> FSN
>>
>>> Environment:
>>
>> Not available
>>
>>> Description:
>>
>> On a 16 processor/16 GB RAM AMD64 compatible machine FreeBSD halts 
>> with "Too many segments in the physical address map, giving up".
>>
>>> How-To-Repeat:
>>
>> I don't know whether it's general, or only limited to this machine, 
>> but trying to boot FreeBSD with 16 processors could trigger the problem.
>>
>>> Fix:
>>
>> In src/sys/amd64/amd64/machdep.c:
>> -#define PHYSMAP_SIZE    (2 * 8)
>> +#define PHYSMAP_SIZE    (2 * 16)
>>
>> After this:
>> FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs
>> cpu0 (BSP): APIC ID:  0
>> cpu1 (AP): APIC ID:  1
>> cpu2 (AP): APIC ID:  2
>> cpu3 (AP): APIC ID:  3
>> cpu4 (AP): APIC ID:  4
>> cpu5 (AP): APIC ID:  5
>> cpu6 (AP): APIC ID:  6
>> cpu7 (AP): APIC ID:  7
>> cpu8 (AP): APIC ID:  8
>> cpu9 (AP): APIC ID:  9
>> cpu10 (AP): APIC ID: 10
>> cpu11 (AP): APIC ID: 11
>> cpu12 (AP): APIC ID: 12
>> cpu13 (AP): APIC ID: 13
>> cpu14 (AP): APIC ID: 14
>> cpu15 (AP): APIC ID: 15
>>
>> I didn't try with i386, but I guess that has the same problem.
>>
>>> Release-Note:
>>> Audit-Trail:
>>> Unformatted:
>>
>> _______________________________________________
>> freebsd-amd64@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
>> To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org"
>>
> 


-- 
Attila Nagy                                   e-mail: Attila.Nagy@fsn.hu
Free Software Network (FSN.HU)                 phone: +3630 306 6758
ISOs: http://www.fsn.hu/?f=download
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2005-10-28 22:22:21 UTC
State Changed
From-To: open->patched

Should be fixed by commit to sys/amd64/amd64/machdep.c by peter.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2005-10-28 22:23:34 UTC
Responsible Changed
From-To: freebsd-amd64->peter

Assign as a possible MFC reminder.
Comment 5 Xin LI freebsd_committer freebsd_triage 2006-09-23 20:54:52 UTC
State Changed
From-To: patched->feedback

Because a change to solve the problem has already committed to 
RELENG_6, can we close this PR?
Comment 6 Xin LI freebsd_committer freebsd_triage 2006-09-23 21:05:19 UTC
State Changed
From-To: feedback->closed

Submitter confirms that the MFC has solved the issue and 
this PR can be closed now.