Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 2006 07:51:42 -0700
From:      David Paul Zimmerman <dpz@ack.berkeley.edu>
To:        Vivek Khera <vivek@khera.org>
Cc:        FreeBSD AMD list <freebsd-amd64@freebsd.org>
Subject:   Re: Sun Fire X4100 now booting from LSI1064 SAS
Message-ID:  <9420324abff5db4117993ab4f327e0e3@ack.berkeley.edu>
In-Reply-To: <1B74953F-6F15-4DB7-A80D-FBC5626F08E9@khera.org>
References:  <8e904fab0b3c4704c1bc045b480b9fce@ack.berkeley.edu> <1B74953F-6F15-4DB7-A80D-FBC5626F08E9@khera.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is what I get after a minimum OS install from the snapshot CD:

$ sudo diskinfo -v -t da0s1
da0s1
         512             # sectorsize
         72999327744     # mediasize in bytes (68G)
         142576812       # mediasize in sectors
         8874            # Cylinders according to firmware.
         255             # Heads according to firmware.
         63              # Sectors according to firmware.

Seek times:
         Full stroke:      250 iter in   1.081320 sec =    4.325 msec
         Half stroke:      250 iter in   1.008685 sec =    4.035 msec
         Quarter stroke:   500 iter in   2.842515 sec =    5.685 msec
         Short forward:    400 iter in   1.369284 sec =    3.423 msec
         Short backward:   400 iter in   1.313750 sec =    3.284 msec
         Seq outer:       2048 iter in   0.274178 sec =    0.134 msec
         Seq inner:       2048 iter in   0.277063 sec =    0.135 msec
Transfer rates:
         outside:       102400 kbytes in   1.640884 sec =    62405  
kbytes/sec
         middle:        102400 kbytes in   1.896519 sec =    53994  
kbytes/sec
         inside:        102400 kbytes in   2.723277 sec =    37602  
kbytes/sec

I'll be doing a csup today to bring it up to date.  Here's my current  
kernel log, if it's interesting to anyone (the virtual CD and floppy  
errors don't bother me):

$ dmesg
Copyright (c) 1992-2006 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.
FreeBSD 7.0-CURRENT-SNAP013 #0: Fri Mar 10 07:51:58 UTC 2006
     root@harrison.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
ACPI APIC Table: <SUN    X4100   >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 248 (2193.77-MHz K8-class CPU)
   Origin = "AuthenticAMD"  Id = 0x20f51  Stepping = 1
    
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE, 
MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
   Features2=0x1<SSE3>
   AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow>
   AMD Features2=0x1<LAHF>
usable memory  = 1062342656 (1013 MB)
avail memory = 1023963136 (976 MB)
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-23 on motherboard
ioapic1 <Version 1.1> irqs 24-27 on motherboard
ioapic2 <Version 1.1> irqs 28-31 on motherboard
ioapic3 <Version 1.1> irqs 32-35 on motherboard
ioapic4 <Version 1.1> irqs 36-39 on motherboard
acpi0: <SUN X4100> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x5008-0x500b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
em0: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port  
0x9c00-0x9c3f mem 0xfbfe0000-0xfbffffff irq 26 at device 1.0 on pci1
em0: Ethernet address: 00:14:4f:01:a4:94
em0: [FAST]
em1: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port  
0x9800-0x983f mem 0xfbfc0000-0xfbfdffff irq 27 at device 1.1 on pci1
em1: Ethernet address: 00:14:4f:01:a4:95
em1: [FAST]
em2: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port  
0x9400-0x943f mem 0xfbfa0000-0xfbfbffff irq 24 at device 2.0 on pci1
em2: Ethernet address: 00:14:4f:01:a4:96
em2: [FAST]
em3: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port  
0x9000-0x903f mem 0xfbf80000-0xfbf9ffff irq 25 at device 2.1 on pci1
em3: Ethernet address: 00:14:4f:01:a4:97
em3: [FAST]
pci0: <base peripheral, interrupt controller> at device 1.1 (no driver  
attached)
pcib2: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci2: <ACPI PCI bus> on pcib2
mpt0: <LSILogic SAS Adapter> port 0xa800-0xa8ff mem  
0xfc2fc000-0xfc2fffff,0xfc2e0000-0xfc2effff irq 28 at device 3.0 on  
pci2
mpt0: [GIANT-LOCKED]
mpt0: MPI Version=1.5.9.0
mpt0: Capabilities: ( RAID-0 RAID-1 )
mpt0: 1 Active Volume (2 Max)
mpt0: 2 Hidden Drive Members (10 Max)
pci0: <base peripheral, interrupt controller> at device 2.1 (no driver  
attached)
pcib3: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci3: <ACPI PCI bus> on pcib3
ohci0: <OHCI (generic) USB controller> mem 0xfe3fe000-0xfe3fefff irq 19  
at device 0.0 on pci3
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xfe3fd000-0xfe3fdfff irq 19  
at device 0.1 on pci3
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: <AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 3 ports with 3 removable, self powered
vgapci0: <VGA-compatible display> port 0xb800-0xb8ff mem  
0xfd000000-0xfdffffff,0xfe3ff000-0xfe3fffff irq 16 at device 3.0 on  
pci3
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 8111 UDMA133 controller> port  
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 7.2 (no driver attached)
pci0: <bridge> at device 7.3 (no driver attached)
pcib4: <ACPI Host-PCI bridge> on acpi0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 1.0 on pci4
pci5: <ACPI PCI bus> on pcib5
pci4: <base peripheral, interrupt controller> at device 1.1 (no driver  
attached)
pcib6: <ACPI PCI-PCI bridge> at device 2.0 on pci4
pci6: <ACPI PCI bus> on pcib6
pci4: <base peripheral, interrupt controller> at device 2.1 (no driver  
attached)
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on  
acpi0
sio0: type 16550A
sio0: [FAST]
acpi_hpet0: <HPET - High Precision Event Timers> iomem  
0xfec01000-0xfec013ff irq 0,8 on acpi0
acpi_hpet0: Vendor: 0x1022
acpi_hpet0: Leg_Route_Cap: 1
acpi_hpet0: Count_Size_Cap: 0
acpi_hpet0: Num_Tim_Cap: 8
acpi_hpet0: Rev_id: 0x3
acpi_hpet0: Period: 69841279 fs (14318180 Hz)
acpi_hpet0: HPET attach
orm0: <ISA Option ROMs> at iomem  
0xc0000-0xc9fff,0xca000-0xcafff,0xcb000-0xcbfff,0xcc000 
-0xccfff,0xcd000-0xcdfff,0xce000-0xd27ff,0xd2800-0xd37ff pnpid ORM0000  
on isa0
ppc0: cannot reserve I/O port range
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on  
isa0
ukbd0: <American Megatrends Inc. Virtual Keyboard and Mouse, class 0/0,  
rev 1.10/1.00, addr 2> on uhub0
kbd0 at ukbd0
ums0: <American Megatrends Inc. Virtual Keyboard and Mouse, class 0/0,  
rev 1.10/1.00, addr 2> on uhub0
ums0: X report 0x0002 not supported
device_attach: ums0 attach returned 6
umass0: <American Megatrends Inc. Virtual Cdrom Device, class 0/0, rev  
1.10/1.00, addr 2> on uhub1
umass1: <American Megatrends Inc. Virtual Floppy Device, class 0/0, rev  
1.10/1.00, addr 3> on uhub1
Timecounter "TSC" frequency 2193768131 Hz quality 800
Timecounters tick every 1.000 msec
module_register_init: MOD_LOAD (amr_linux, 0xffffffff80603100, 0) error  
6
mpt0: mpt_read_cfg_page: Config Info Status 22
mpt0:vol0(mpt0:0:0): mpt_refresh_raid_vol: Failed to read RAID Vol  
Page(0)
mpt0:vol0(mpt0:0:0): Settings ( )
mpt0:vol0(mpt0:0:0): 0 Members:
mpt0:vol0(mpt0:0:0): RAID-0 - Optimal
(mpt0:0:3): Physical (mpt0:0:3), Pass-thru (mpt0:1:0)
(mpt0:0:3): Online
(mpt0:0:4): Physical (mpt0:0:4), Pass-thru (mpt0:1:1)
(mpt0:0:4): Online
acd0: DVDROM <DV-28SL/1.0A> at ata0-master UDMA33
pass1 at mpt0 bus 1 target 0 lun 0
pass1: <FUJITSU MAV2073RCSUN72G 0301> Fixed unknown SCSI-4 device
pass1: 300.000MB/s transfers, Tagged Queueing Enabled
pass2 at mpt0 bus 1 target 1 lun 0
pass2: <FUJITSU MAV2073RCSUN72G 0301> Fixed unknown SCSI-4 device
pass2: 300.000MB/s transfers, Tagged Queueing Enabled
da0 at mpt0 bus 0 target 2 lun 0
da0: <LSILOGIC Logical Volume 3000> Fixed Direct Access SCSI-2 device
da0: 300.000MB/s transfers, Tagged Queueing Enabled
da0: 69618MB (142577664 512 byte sectors: 255H 63S/T 8875C)
cd0 at umass-sim0 bus 0 target 0 lun 0
cd0: <AMI Virtual CDROM 1.00> Removable CD-ROM SCSI-0 device
cd0: 1.000MB/s transfers
cd0: Attempt to query device size failed: UNIT ATTENTION, Not ready to  
ready change, medium may have changed
da1 at umass-sim1 bus 1 target 0 lun 0
da1: <AMI Virtual Floppy 1.00> Removable Direct Access SCSI-0 device
da1: 1.000MB/s transfers
da1: Attempt to query device size failed: UNIT ATTENTION, Not ready to  
ready change,
(da1:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error
(da1:umass-sim1:1:0:0): SCSI Status: Check Condition
(da1:umass-sim1:1:0:0): UNIT ATTENTION asc:28,0
(da1:umass-sim1:1:0:0): Not ready to ready change, medium may have  
changed
(da1:umass-sim1:1:0:0): Retrying Command (per Sense Data)
(da1:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error
(da1:umass-sim1:1:0:0): SCSI Status: Check Condition
(da1:umass-sim1:1:0:0): UNIT ATTENTION asc:28,0
(da1:umass-sim1:1:0:0): Not ready to ready change, medium may have  
changed
(da1:umass-sim1:1:0:0): Retrying Command (per Sense Data)
(da1:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error
(da1:umass-sim1:1:0:0): SCSI Status: Check Condition
(da1:umass-sim1:1:0:0): UNIT ATTENTION asc:28,0
(da1:umass-sim1:1:0:0): Not ready to ready change, medium may have  
changed
(da1:umass-sim1:1:0:0): Retrying Command (per Sense Data)
(da1:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error
(da1:umass-sim1:1:0:0): SCSI Status: Check Condition
(da1:umass-sim1:1:0:0): UNIT ATTENTION asc:28,0
(da1:umass-sim1:1:0:0): Not ready to ready change, medium may have  
changed
(da1:umass-sim1:1:0:0): Retrying Command (per Sense Data)
(da1:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error
(da1:umass-sim1:1:0:0): SCSI Status: Check Condition
(da1:umass-sim1:1:0:0): NOT READY asc:3a,0
(da1:umass-sim1:1:0:0): Medium not present
(da1:umass-sim1:1:0:0): Unretryable error
Opened disk da1 -> 6
(da1:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error
(da1:umass-sim1:1:0:0): SCSI Status: Check Condition
(da1:umass-sim1:1:0:0): NOT READY asc:3a,0
(da1:umass-sim1:1:0:0): Medium not present
(da1:umass-sim1:1:0:0): Unretryable error
Opened disk da1 -> 6
Trying to mount root from ufs:/dev/da0s1a
em0: link state changed to UP

		dp

On Apr 4, 2006, at 6:37 AM, Vivek Khera wrote:

> Awesome!  What kind of numbers do you get out of "diskinfo -v -t" in  
> the RAID1 config?
>
> On Apr 3, 2006, at 5:23 PM, David Paul Zimmerman wrote:
>
>> *Many* thanks to mjacob for his mpt driver improvements.  I was able  
>> to boot 7.0-CURRENT-SNAP013-amd64-disc1.iso (3/10/2006 snapshot) from  
>> CD on my X4100 and install from scratch directly to a SAS disk in  
>> slot 0.  Booted perfectly.  Did a csup at ~3/30/2006 15:17,  
>> buildworld/kernel, installkernel/world, all is still good.
>>
>> Now I get to go back and do it all again with two drives in a  
>> hardware RAID 1.  Silly metadata.
>>
>> 		dp




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9420324abff5db4117993ab4f327e0e3>