failing disk, or not?

George Georgalis george at galis.org
Tue Mar 29 20:14:55 PST 2005


On Tue, Mar 29, 2005 at 06:15:39PM -0800, Matthew Dillon wrote:
>    Try this patch.  It may not work.  FreeBSD has an entry for the PRO
>    but not for the PRO S1.
>
>						-Matt

Thanks for the patch! No magic smoke has escaped yet. the controller is
recognized but still performs at ~10MB/sec. HEAD from shortly before the
build. I'll load it with disk IO tonight and see if I can generate an
error.

What is that "xpt" stuff?

Is there a standard way to patch after cvsup or should I just script it in?

Under linux it runs at ~1Ghz unless there is load and it pops up to
~2.2Ghz, seems to be 3 speeds - it runs a lot cooler that way. Is this
feature near term for DFLY? How can I check the clock rate on a running
system?

Thanks,
// George


Copyright (c) 2003, 2004, 2005 The DragonFly Project.
Copyright (c) 1992-2003 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.
DragonFly 1.1-CURRENT #6: Wed Mar 30 03:42:18 GMT 2005
    root at .:/usr/obj/usr/src/sys/MYKERNEL
TSC clock: 2211129290 Hz, i8254 clock: 1193382 Hz
CPU: AMD Athlon(tm) 64 Processor 3400+ (2210.77-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0xf4a  Stepping = 10
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500000<<b20>,AMIE,<b29>,DSP,3DNow!>
real memory  = 1073676288 (1048512K bytes)
avail memory = 1032597504 (1008396K bytes)
Preloaded elf kernel "/kernel" at 0xc0671000.
Preloaded elf module "/modules/acpi.ko" at 0xc0671260.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: BIOS version 2.10
Using $PIR table, 5 entries at 0xc00fdf10
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using XMM optimized bcopy/copyin/copyout
acpi0: <XPC AWRDACPI> on motherboard
installed MI handler for int 9
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
agp0: <NVIDIA Generic AGP Controller> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
agp0: Unable to find NVIDIA Memory Controller 1.
device_probe_and_attach: agp0 attach returned 19
isab0: <PCI to ISA bridge (vendor=10de device=00e0)> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <unknown card> (vendor=0x10de, dev=0x00e4) at 1.1 irq 10
ohci0: <OHCI (generic) USB controller> mem 0xe8002000-0xe8002fff irq 10 at device 2.0 on pci0
installed MI handler for int 10
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: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
ums0: Logitech USB Receiver, rev 1.10/9.10, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
ohci1: <OHCI (generic) USB controller> mem 0xe8003000-0xe8003fff irq 10 at device 2.1 on pci0
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: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
umass0: USB2.0 CardReader, rev 2.00/91.38, addr 2
pci0: <USB controller> at 2.2 irq 10
pci0: <PCI to Other bridge (vendor=10de device=00df)> at 5.0 irq 10
pci0: <unknown card> (vendor=0x10de, dev=0x00ea) at 6.0 irq 3
atapci0: <nVIDIA nForce3 PRO controller> port 0xf000-0xf00f at device 8.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
installed MI handler for int 14
ata1: at 0x170 irq 15 on atapci0
installed MI handler for int 15
atapci1: <nVIDIA nForce3 PRO S1 controller> port 0xec00-0xec7f,0xeb00-0xeb0f,0xb70-0xb73,0x970-0x977,0xbf0-0xbf3,0x9f0-0x9f7 irq 11 at device 10.0 on pci0
ata2: at 0x9f0 on atapci1
installed MI handler for int 11
ata3: at 0x970 on atapci1
pcib1: <PCI to PCI bridge (vendor=10de device=00e2)> at device 11.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia model 0110 graphics accelerator> at 0.0 irq 5
pcib2: <PCI to PCI bridge (vendor=10de device=00ed)> at device 14.0 on pci0
pci2: <PCI bus> on pcib2
fxp0: <Intel 82557 Pro/100 Ethernet> port 0xd000-0xd01f mem 0xe6000000-0xe60fffff,0xe7000000-0xe7000fff irq 12 at device 6.0 on pci2
installed MI handler for int 12
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: MAC address: 00:a0:c9:d1:b5:5e
fwohci0: <VIA Fire II (VT6306)> port 0xd100-0xd17f mem 0xe6200000-0xe62007ff irq 11 at device 7.0 on pci2
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 00:30:1b:b7:00:00:15:a8
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:30:1b:00:15:a8
fwe0: MAC address: 02:30:1b:00:15:a8
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
orm0: <Option ROMs> at iomem 0xc0000-0xcbfff,0xcc000-0xcffff,0xd0000-0xd17ff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
installed MI handler for int 1
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
installed MI handler for int 4
sio1: can't drain, serial port might not exist, disabling
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
installed MI handler for int 7
installed MI handler for int 0
ad0: 58644MB <Maxtor 6Y060L0> [119150/16/63] at ata0-master UDMA133
ad4: DMA limited to UDMA33, non-ATA66 cable or device
ad4: 190782MB <ST3200822AS> [387621/16/63] at ata2-master UDMA33
acd0: DVD-R <TOSHIBA DVD-ROM SD-R5002> at ata1-master PIO4
**WARNING** waiting for the following device to finish configuring:
  xpt:	func=0xc0145cfc arg=0
Mounting root from ufs:/dev/ad4s3a
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TOSHIBA DVD-ROM SD-R5002 1031> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <USB2.0 CF  CardReader > Removable Direct Access SCSI-0 device 
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
da1 at umass-sim0 bus 0 target 0 lun 1
da1: <USB2.0 CBO CardReader > Removable Direct Access SCSI-0 device 
da1: 1.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present


# dd if=/dev/ad0 of=/dev/null bs=1024 count=80960
80960+0 records in
80960+0 records out
82903040 bytes transferred in 7.054865 secs (11751187 bytes/sec)


none0 at pci0:0:0:	class=0x060000 card=0x35851297 chip=0x00e110de rev=0xa1 hdr=0x00
isab0 at pci0:1:0:	class=0x060100 card=0x35851297 chip=0x00e010de rev=0xa2 hdr=0x00
none1 at pci0:1:1:	class=0x0c0500 card=0x35851297 chip=0x00e410de rev=0xa1 hdr=0x00
ohci0 at pci0:2:0:	class=0x0c0310 card=0x35851297 chip=0x00e710de rev=0xa1 hdr=0x00
ohci1 at pci0:2:1:	class=0x0c0310 card=0x35851297 chip=0x00e710de rev=0xa1 hdr=0x00
none2 at pci0:2:2:	class=0x0c0320 card=0x35851297 chip=0x00e810de rev=0xa2 hdr=0x00
none3 at pci0:5:0:	class=0x068000 card=0x35851297 chip=0x00df10de rev=0xa2 hdr=0x00
none4 at pci0:6:0:	class=0x040100 card=0x35851297 chip=0x00ea10de rev=0xa1 hdr=0x00
atapci0 at pci0:8:0:	class=0x01018a card=0x35851297 chip=0x00e510de rev=0xa2 hdr=0x00
atapci1 at pci0:10:0:	class=0x010185 card=0x35851297 chip=0x00e310de rev=0xa2 hdr=0x00
pcib1 at pci0:11:0:	class=0x060400 card=0x00000000 chip=0x00e210de rev=0xa2 hdr=0x01
pcib2 at pci0:14:0:	class=0x060400 card=0x00000000 chip=0x00ed10de rev=0xa2 hdr=0x01
hostb0 at pci0:24:0:	class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00
hostb1 at pci0:24:1:	class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00
hostb2 at pci0:24:2:	class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00
hostb3 at pci0:24:3:	class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00
none5 at pci1:0:0:	class=0x030000 card=0x0c601048 chip=0x011010de rev=0xa1 hdr=0x00
fxp0 at pci2:6:0:	class=0x020000 card=0x00018086 chip=0x12298086 rev=0x02 hdr=0x00
fwohci0 at pci2:7:0:	class=0x0c0010 card=0x30441106 chip=0x30441106 rev=0x46 hdr=0x00

-- 
George Georgalis, systems architect, administrator Linux BSD IXOYE
http://galis.org/george/ cell:646-331-2027 mailto:george at xxxxxxxxx





More information about the Bugs mailing list