Hello there. I've got a couple of things I don't get or can't
handle.
I'm running:
FreeBSD diablo.miekoff.local 9.1-STABLE FreeBSD 9.1-STABLE #0 r248347:
Sat Mar 16 03:20:58 MSK 2013
root at diablo.miekoff.local:/usr/obj/usr/src/sys/DIABLO64 amd64
1st of all, on dmesg there's something strange. It says:
real memory = 6442450944 (6144 MB)
avail memory = 4092743680 (3903 MB)
So real memory is about 6Gb, but localy installed only 4Gb. I tried to
disable swap and reboot but it's still the same output. And here goes
dmidecode:
SMBIOS 2.5 present.
72 structures occupying 2730 bytes.
Table at 0x000FB710.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: American Megatrends Inc.
Version: V3.4
Release Date: 03/09/2009
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 4096 kB
Characteristics:
ISA is supported
PCI is supported
PNP is supported
APM is supported
BIOS is upgradeable
BIOS shadowing is allowed
ESCD support is available
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
5.25"/1.2 MB floppy services are supported (int 13h)
3.5"/720 kB floppy services are supported (int 13h)
3.5"/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
LS-120 boot is supported
ATAPI Zip drive boot is supported
BIOS boot specification is supported
Targeted content distribution is supported
BIOS Revision: 8.15
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: MICRO-STAR INTERNATIONAL CO.,LTD
Product Name: MS-7512
Version: 1.0
Serial Number: To Be Filled By O.E.M.
UUID: 00000000-0000-0000-0000-0021851C24FA
Wake-up Type: Power Switch
SKU Number: To Be Filled By O.E.M.
Family: To Be Filled By O.E.M.
Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: MICRO-STAR INTERNATIONAL CO.,LTD
Product Name: P45 Neo2-FR (MS-7512)
Version: 1.0
Serial Number: To be filled by O.E.M.
Asset Tag: To Be Filled By O.E.M.
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To Be Filled By O.E.M.
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0
Handle 0x0003, DMI type 3, 21 bytes
Chassis Information
Manufacturer: MICRO-STAR INTERNATIONAL CO.,LTD
Type: Desktop
Lock: Not Present
Version: 1.0
Serial Number: To Be Filled By O.E.M.
Asset Tag: To Be Filled By O.E.M.
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: 1
Contained Elements: 0
Handle 0x0004, DMI type 4, 40 bytes
Processor Information
Socket Designation: CPU 1
Type: Central Processor
Family: Core 2 Duo
Manufacturer: Intel
ID: 7A 06 01 00 FF FB EB BF
Signature: Type 0, Family 6, Model 23, Stepping 10
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (FXSAVE and FXSTOR instructions supported)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Multi-threading)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Intel(R) Core(TM)2 Duo CPU E8600 @ 3.33GHz
Voltage: 1.2 V
External Clock: 333 MHz
Max Speed: 3333 MHz
Current Speed: 3333 MHz
Status: Populated, Enabled
Upgrade: Other
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0006
L3 Cache Handle: 0x0007
Serial Number: To Be Filled By O.E.M.
Asset Tag: To Be Filled By O.E.M.
Part Number: To Be Filled By O.E.M.
Core Count: 2
Core Enabled: 2
Thread Count: 2
Characteristics:
64-bit capable
Handle 0x0005, DMI type 7, 19 bytes
Cache Information
Socket Designation: L1-Cache
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 64 kB
Maximum Size: 64 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: Parity
System Type: Data
Associativity: 8-way Set-associative
Handle 0x0006, DMI type 7, 19 bytes
Cache Information
Socket Designation: L2-Cache
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Back
Location: Internal
Installed Size: 6144 kB
Maximum Size: 6144 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Unified
Associativity: Other
Handle 0x0007, DMI type 7, 19 bytes
Cache Information
Socket Designation: L3-Cache
Configuration: Disabled, Not Socketed, Level 3
Operational Mode: Unknown
Location: Internal
Installed Size: 0 kB
Maximum Size: 0 kB
Supported SRAM Types:
Unknown
Installed SRAM Type: Unknown
Speed: Unknown
Error Correction Type: Unknown
System Type: Unknown
Associativity: Unknown
Handle 0x0008, DMI type 5, 24 bytes
Memory Controller Information
Error Detecting Method: 64-bit ECC
Error Correcting Capabilities:
None
Supported Interleave: One-way Interleave
Current Interleave: One-way Interleave
Maximum Memory Module Size: 4096 MB
Maximum Total Memory Size: 16384 MB
Supported Speeds:
Other
Supported Memory Types:
DIMM
SDRAM
Memory Module Voltage: 3.3 V
Associated Memory Slots: 4
0x0009
0x000A
0x000B
0x000C
Enabled Error Correcting Capabilities:
None
Handle 0x0009, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: DIMM1
Bank Connections: 0 1
Current Speed: Unknown
Type: DIMM SDRAM
Installed Size: Not Installed
Enabled Size: Not Installed
Error Status: OK
Handle 0x000A, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: DIMM2
Bank Connections: 2 3
Current Speed: Unknown
Type: DIMM SDRAM
Installed Size: 2048 MB (Double-bank Connection)
Enabled Size: 2048 MB (Double-bank Connection)
Error Status: OK
Handle 0x000B, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: DIMM3
Bank Connections: 4 5
Current Speed: Unknown
Type: DIMM SDRAM
Installed Size: Not Installed
Enabled Size: Not Installed
Error Status: OK
Handle 0x000C, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: DIMM4
Bank Connections: 6 7
Current Speed: Unknown
Type: DIMM SDRAM
Installed Size: 4096 MB (Double-bank Connection)
Enabled Size: 4096 MB (Double-bank Connection)
Error Status: OK
Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1A1
Internal Connector Type: None
External Reference Designator: PS2Mouse
External Connector Type: PS/2
Port Type: Mouse Port
Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1A1
Internal Connector Type: None
External Reference Designator: Keyboard
External Connector Type: PS/2
Port Type: Keyboard Port
Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2A2
Internal Connector Type: None
External Reference Designator: USB1
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x0010, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2A2
Internal Connector Type: None
External Reference Designator: USB2
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x0011, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2A1
Internal Connector Type: None
External Reference Designator: COM A
External Connector Type: DB-9 male
Port Type: Serial Port 16550A Compatible
Handle 0x0012, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J6A1
Internal Connector Type: None
External Reference Designator: Audio Mic In
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port
Handle 0x0013, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J6A1
Internal Connector Type: None
External Reference Designator: Audio Line In
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port
Handle 0x0014, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J6A1
Internal Connector Type: None
External Reference Designator: Audio Line Out
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port
Handle 0x0015, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J6B1 - AUX IN
Internal Connector Type: On Board Sound Input From CD-ROM
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Audio Port
Handle 0x0016, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J6B2 - CDIN
Internal Connector Type: On Board Sound Input From CD-ROM
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Audio Port
Handle 0x0017, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J6J2 - PRI IDE
Internal Connector Type: On Board IDE
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x0018, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J6J1 - SEC IDE
Internal Connector Type: On Board IDE
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x0019, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J4J1 - FLOPPY
Internal Connector Type: On Board Floppy
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x001A, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J9H1 - FRONT PNL
Internal Connector Type: 9 Pin Dual Inline (pin 10 cut)
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x001B, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1B1 - CHASSIS REAR FAN
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x001C, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2F1 - CPU FAN
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x001D, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J8B4 - FRONT FAN
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x001E, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J9G2 - FNT USB
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x001F, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J6C3 - FP AUD
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x0020, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J9G1 - CONFIG
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x0021, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J8C1 - SCSI LED
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x0022, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J9J2 - INTRUDER
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x0023, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J9G4 - ITP
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x0024, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2H1 - MAIN POWER
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x0025, DMI type 9, 13 bytes
System Slot Information
Designation: PCI1
Type: 32-bit PCI
Current Usage: In Use
Length: Short
ID: 1
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported
Handle 0x0026, DMI type 9, 13 bytes
System Slot Information
Designation: PCI2
Type: 32-bit PCI
Current Usage: In Use
Length: Short
ID: 2
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported
Handle 0x0027, DMI type 9, 13 bytes
System Slot Information
Designation: PCIE1
Type: 64-bit PCI Express
Current Usage: In Use
Length: Short
ID: 3
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported
Handle 0x0028, DMI type 9, 13 bytes
System Slot Information
Designation: PCIE2
Type: 32-bit PCI Express
Current Usage: Available
Length: Short
ID: 3
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported
Handle 0x0029, DMI type 10, 6 bytes
On Board Device Information
Type: Video
Status: Enabled
Description: To Be Filled By O.E.M.
Handle 0x002A, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Long
Installable Languages: 1
en|US|iso8859-1
Currently Installed Language: en|US|iso8859-1
Handle 0x002B, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 4 GB
Error Information Handle: 0x002C
Number Of Devices: 4
Handle 0x002C, DMI type 18, 23 bytes
32-bit Memory Error Information
Type: Bad Read
Granularity: Device Level
Operation: Read
Vendor Syndrome: Unknown
Memory Array Address: Unknown
Device Address: Unknown
Resolution: Unknown
Handle 0x002D, DMI type 19, 15 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000FFFFFFFF
Range Size: 4 GB
Physical Array Handle: 0x002B
Partition Width: 4
Handle 0x002E, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x002B
Error Information Handle: 0x002F
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM1
Bank Locator: BANK0
Type: Unknown
Type Detail: Unknown
Speed: Unknown
Manufacturer: Manufacturer0
Serial Number: SerNum0
Asset Tag: AssetTagNum0
Part Number: PartNum0
Handle 0x002F, DMI type 18, 23 bytes
32-bit Memory Error Information
Type: Bad Read
Granularity: Device Level
Operation: Read
Vendor Syndrome: Unknown
Memory Array Address: Unknown
Device Address: Unknown
Resolution: Unknown
Handle 0x0030, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000000003FF
Range Size: 1 kB
Physical Device Handle: 0x002E
Memory Array Mapped Address Handle: 0x002D
Partition Row Position: 1
Interleaved Data Depth: 1
Handle 0x0031, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x002B
Error Information Handle: 0x0032
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: DIMM2
Bank Locator: BANK1
Type: SDRAM
Type Detail: Synchronous
Speed: Unknown
Manufacturer: Manufacturer1
Serial Number: SerNum1
Asset Tag: AssetTagNum1
Part Number: PartNum1
Handle 0x0032, DMI type 18, 23 bytes
32-bit Memory Error Information
Type: Bad Read
Granularity: Device Level
Operation: Read
Vendor Syndrome: Unknown
Memory Array Address: Unknown
Device Address: Unknown
Resolution: Unknown
Handle 0x0033, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0007FFFFFFF
Range Size: 2 GB
Physical Device Handle: 0x0031
Memory Array Mapped Address Handle: 0x002D
Partition Row Position: 1
Interleaved Data Depth: 1
Handle 0x0034, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x002B
Error Information Handle: 0x0035
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM3
Bank Locator: BANK2
Type: Unknown
Type Detail: Unknown
Speed: Unknown
Manufacturer: Manufacturer2
Serial Number: SerNum2
Asset Tag: AssetTagNum2
Part Number: PartNum2
Handle 0x0035, DMI type 18, 23 bytes
32-bit Memory Error Information
Type: Bad Read
Granularity: Device Level
Operation: Read
Vendor Syndrome: Unknown
Memory Array Address: Unknown
Device Address: Unknown
Resolution: Unknown
Handle 0x0036, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000000003FF
Range Size: 1 kB
Physical Device Handle: 0x0034
Memory Array Mapped Address Handle: 0x002D
Partition Row Position: 1
Interleaved Data Depth: 1
Handle 0x0037, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x002B
Error Information Handle: 0x0038
Total Width: 64 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: DIMM
Set: None
Locator: DIMM4
Bank Locator: BANK3
Type: SDRAM
Type Detail: Synchronous
Speed: Unknown
Manufacturer: Manufacturer3
Serial Number: SerNum3
Asset Tag: AssetTagNum3
Part Number: PartNum3
Handle 0x0038, DMI type 18, 23 bytes
32-bit Memory Error Information
Type: Bad Read
Granularity: Device Level
Operation: Read
Vendor Syndrome: Unknown
Memory Array Address: Unknown
Device Address: Unknown
Resolution: Unknown
Handle 0x0039, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00080000000
Ending Address: 0x0017FFFFFFF
Range Size: 4 GB
Physical Device Handle: 0x0037
Memory Array Mapped Address Handle: 0x002D
Partition Row Position: 1
Interleaved Data Depth: 1
Handle 0x003A, DMI type 22, 26 bytes
Portable Battery
Location: Left side of System
Manufacturer: Nikon Battery
Manufacture Date: 08/11/97
Serial Number: NI00123
Name: Nikon Ultra Plus
Chemistry: Nickel Cadmium
Design Capacity: Unknown
Design Voltage: Unknown
SBDS Version: SMART Ver 0123
Maximum Error: Unknown
OEM-specific Information: 0x00000000
Handle 0x003B, DMI type 32, 20 bytes
System Boot Information
Status: No errors detected
Handle 0x003C, DMI type 34, 11 bytes
Management Device
Description: LM78-1
Type: LM78
Address: 0x00000000
Address Type: I/O Port
Handle 0x003D, DMI type 28, 22 bytes
Temperature Probe
Description: LM78A
Location: Unknown
Status: Unknown
Maximum Value: Unknown
Minimum Value: Unknown
Resolution: Unknown
Tolerance: Unknown
Accuracy: Unknown
OEM-specific Information: 0x00000000
Nominal Value: Unknown
Handle 0x003E, DMI type 36, 16 bytes
Management Device Threshold Data
Lower Non-critical Threshold: 1
Upper Non-critical Threshold: 2
Lower Critical Threshold: 3
Upper Critical Threshold: 4
Lower Non-recoverable Threshold: 5
Upper Non-recoverable Threshold: 6
Handle 0x003F, DMI type 35, 11 bytes
Management Device Component
Description: To Be Filled By O.E.M.
Management Device Handle: 0x003C
Component Handle: 0x003C
Threshold Handle: 0x003D
Handle 0x0040, DMI type 27, 14 bytes
Cooling Device
Temperature Probe Handle: 0x003D
Type: <OUT OF SPEC>
Status: <OUT OF SPEC>
Cooling Unit Group: 1
OEM-specific Information: 0x00000000
Nominal Speed: Unknown Or Non-rotating
Handle 0x0041, DMI type 36, 16 bytes
Management Device Threshold Data
Lower Non-critical Threshold: 1
Upper Non-critical Threshold: 2
Lower Critical Threshold: 3
Upper Critical Threshold: 4
Lower Non-recoverable Threshold: 5
Upper Non-recoverable Threshold: 6
Handle 0x0042, DMI type 35, 11 bytes
Management Device Component
Description: To Be Filled By O.E.M.
Management Device Handle: 0x003C
Component Handle: 0x003F
Threshold Handle: 0x0040
Handle 0x0043, DMI type 27, 14 bytes
Cooling Device
Temperature Probe Handle: 0x003D
Type: <OUT OF SPEC>
Status: <OUT OF SPEC>
Cooling Unit Group: 1
OEM-specific Information: 0x00000000
Nominal Speed: Unknown Or Non-rotating
Handle 0x0044, DMI type 36, 16 bytes
Management Device Threshold Data
Lower Non-critical Threshold: 1
Upper Non-critical Threshold: 2
Lower Critical Threshold: 3
Upper Critical Threshold: 4
Lower Non-recoverable Threshold: 5
Upper Non-recoverable Threshold: 6
Handle 0x0045, DMI type 35, 11 bytes
Management Device Component
Description: To Be Filled By O.E.M.
Management Device Handle: 0x003C
Component Handle: 0x0042
Threshold Handle: 0x0043
Handle 0x0046, DMI type 39, 22 bytes
System Power Supply
Power Unit Group: 1
Location: To Be Filled By O.E.M.
Name: To Be Filled By O.E.M.
Manufacturer: To Be Filled By O.E.M.
Serial Number: To Be Filled By O.E.M.
Asset Tag: To Be Filled By O.E.M.
Model Part Number: To Be Filled By O.E.M.
Revision: To Be Filled By O.E.M.
Max Power Capacity: Unknown
Status: Not Present
Type: <OUT OF SPEC>
Input Voltage Range Switching: <OUT OF SPEC>
Plugged: Yes
Hot Replaceable: No
Cooling Device Handle: 0x0040
Handle 0x0047, DMI type 127, 4 bytes
End Of Table
As you see it says that in DIMM4 there's 4Gb module, but it's 2Gb
actualy. It's a Kit of 2x2Gb.
BIOS says that there's only 4Gb but FreeBSD see 6Gb. I'll try later to
switch modules into DIMM1 & DIMM3 but I'm not expecting any
difference.
-----------------------------------------
2nd - I've switched to GPT and before loader I've got an error message:
gptboot: error 4 lba 156299374
gptboot: unable to read backup GPT header
gpart show
=> 34 156299308 ada0 GPT (74G)
34 128 1 freebsd-boot (64k)
162 2097024 2 freebsd-ufs (1G)
2097186 4194304 3 freebsd-swap (2.0G)
6291490 20971520 4 freebsd-ufs (10G)
27263010 20971520 5 freebsd-ufs (10G)
48234530 104857600 6 freebsd-ufs (50G)
153092130 3207168 7 freebsd-ufs (1.5G)
156299298 44 - free - (22k)
gpart status
Name Status Components
ada0p1 OK ada0
ada0p2 OK ada0
ada0p3 OK ada0
ada0p4 OK ada0
ada0p5 OK ada0
ada0p6 OK ada0
ada0p7 OK ada0
gpart list
Geom name: ada0
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 156299341
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: ada0p1
Mediasize: 65536 (64k)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 17408
Mode: r0w0e0
rawuuid: f84e786d-6f2d-11e2-aa89-001fc6ad769b
rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f
label: bootfs
length: 65536
offset: 17408
type: freebsd-boot
index: 1
end: 161
start: 34
2. Name: ada0p2
Mediasize: 1073676288 (1G)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 82944
Mode: r1w1e1
rawuuid: f85329a4-6f2d-11e2-aa89-001fc6ad769b
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: rootfs
length: 1073676288
offset: 82944
type: freebsd-ufs
index: 2
end: 2097185
start: 162
3. Name: ada0p3
Mediasize: 2147483648 (2.0G)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 1073759232
Mode: r1w1e0
rawuuid: 0964282b-6f2e-11e2-aa89-001fc6ad769b
rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
label: (null)
length: 2147483648
offset: 1073759232
type: freebsd-swap
index: 3
end: 6291489
start: 2097186
4. Name: ada0p4
Mediasize: 10737418240 (10G)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 3221242880
Mode: r1w1e1
rawuuid: 15140b3c-6f2e-11e2-aa89-001fc6ad769b
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: varfs
length: 10737418240
offset: 3221242880
type: freebsd-ufs
index: 4
end: 27263009
start: 6291490
5. Name: ada0p5
Mediasize: 10737418240 (10G)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 1073759232
Mode: r1w1e1
rawuuid: 2ea7c506-6f2e-11e2-aa89-001fc6ad769b
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: tmpfs
length: 10737418240
offset: 13958661120
type: freebsd-ufs
index: 5
end: 48234529
start: 27263010
6. Name: ada0p6
Mediasize: 53687091200 (50G)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 3221242880
Mode: r1w1e1
rawuuid: 38bb10d2-6f2e-11e2-aa89-001fc6ad769b
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: usrfs
length: 53687091200
offset: 24696079360
type: freebsd-ufs
index: 6
end: 153092129
start: 48234530
7. Name: ada0p7
Mediasize: 1642070016 (1.5G)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 1073759232
Mode: r1w1e1
rawuuid: 5fb13e3a-6f2e-11e2-aa89-001fc6ad769b
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: configfs
length: 1642070016
offset: 78383170560
type: freebsd-ufs
index: 7
end: 156299297
start: 153092130
Consumers:
1. Name: ada0
Mediasize: 80025280000 (74G)
Sectorsize: 512
Mode: r6w6e11
How do I fix it?
-----------------------------------------
Next one.
I've got re0:
re0 at pci0:4:0:0: class=0x020000 card=0x512c1462 chip=0x816810ec rev=0x02
hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
class = network
subclass = ethernet
bar [10] = type I/O Port, range 32, base 0xd800, size 256, enabled
bar [18] = type Memory, range 64, base 0xfeaff000, size 4096, enabled
bar [20] = type Prefetchable Memory, range 64, base 0xf8ff0000,
size 65536, enabled
cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0
cap 05[50] = MSI supports 1 message, 64 bit
cap 10[70] = PCI-Express 1 endpoint IRQ 1 max data 128(256) link x1(x1)
speed 2.5(2.5)
cap 11[b0] = MSI-X supports 2 messages in map 0x20 enabled
cap 03[d0] = VPD
ecap 0001[100] = AER 1 0 fatal 0 non-fatal 2 corrected
ecap 0002[140] = VC 1 max VC0
ecap 0003[160] = Serial 1 01000000684ce000
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: ToISP
options=8218b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWCSUM,TSO4,WOL_MAGIC,LINKSTATE>
ether 00:21:85:1c:24:fa
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
and I've got sk0:
skc0 at pci0:5:1:0: class=0x020000 card=0x4b011186 chip=0x4b011186
rev=0x11 hdr=0x00
vendor = 'D-Link System Inc'
device = 'DGE-530T Gigabit Ethernet Adapter (rev 11)'
class = network
subclass = ethernet
bar [10] = type Memory, range 32, base 0xfebec000, size 16384, enabled
bar [14] = type I/O Port, range 32, base 0xe800, size 256, enabled
cap 01[48] = powerspec 2 supports D0 D1 D2 D3 current D0
cap 03[50] = VPD
sk0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric
0 mtu 1500
description: LAN_ethernet
options=80009<RXCSUM,VLAN_MTU,LINKSTATE>
ether 00:19:5b:86:3b:53
media: Ethernet autoselect (1000baseT <full-duplex,master>)
status: active
and one of them - sk0 is a member of a bridge. And there're two problems.
One is that re0 doesn't neogatiate direct link with a connected PC
(using non-crossover UTP), but sk0 does that easy. It seems to me that
according to RTL8111 chip specification there shouldn't be any
problem, probably it's a driver problem?
And next problem is about sk0.
After boot it says in ifconfig:
sk0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric
0 mtu 1500
description: LAN_ethernet
options=80009<RXCSUM,VLAN_MTU,LINKSTATE>
ether 00:19:5b:86:3b:53
media: Ethernet autoselect (1000baseT <full-duplex,master>)
status: active
next, I'd like to use txcsum
ifconfig sk0 txcsum
sk0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric
0 mtu 1500
description: LAN_ethernet
options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE>
ether 00:19:5b:86:3b:53
media: Ethernet autoselect (1000baseT <full-duplex,master>)
status: active
As you see everything is good.
But it's all already configured in rc.conf and should be applyed during
boot:
a part from rc.conf
ifconfig_ath0="mode 11g"
wlans_ath0="wlan0"
create_args_wlan0="wlanmode hostap mode 11g channel 11 country RU
regdomain etsi"
cloned_interfaces="bridge0"
ifconfig_bridge0="inet 192.168.1.1/24 addm sk0 addm wlan0 description
LAN"
ifconfig_lo0="inet 127.0.0.1/8 mtu 16464"
ifconfig_sk0="rxcsum txcsum description LAN_ethernet"
ifconfig_re0="rxcsum txcsum tso -vlanhwtag -vlanmtu -vlanhwcsum
description ToISP"
Probably I misunderstand something?