NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Problems with new motherboard and 2TB drive
Hello all. I'm not sure if this belongs on the i386 list or not, but
I'll start here.
I'm using 5.1_RC4/i386
A motherboard in my server recently died, so I ran down to the local
store and bought pretty much the first thing that I found which was an
ASUS M4A78LT-M LE, and I bought a Sempron CPU to go with it. And 1 gig
of memory. Seems plenty for what it does.
I have the dmesg pasted to the bottom if anyone is wondering about it.
I also had a new 2TB SATA drive I want to be /home, and I want to copy
all of the data off of my old /home drive to the new SATA drive.
Getting the new motherboard and related hardware up and running was
fairly uneventful. The old root disk just booted once I got a GENERIC
kernel on it. The other old disks work fine, including the old /home.
I formatted the new SATA drive for /home like this:
newfs -O 2 /dev/rwd0a
It has 1 fdisk partition which takes up the whole disk, and 1 netbsd
partition (a) which takes up the whole disk.
The first attempts to rsync the data from the old IDE ATA-100 disk to
the new SATA disk ended in real problems. I was getting panics related
to ohci, and filesystem errors. I disabled all of the USB stuff in the
BIOS, along with the built in audio adapter. I continued to get errors
related to "soft errors" which were "corrected" (I might be able to
post them if they are needed). I was checking copied files with md5,
and the copied files' md5 sums did not match. They were corrupted.
This is obviously not good.
So in the BIOS I found an option to switch from SATA in IDE mode to
SATA in AHCI mode.
I newfs'd the disk again, then started rsync and now I get no errors,
and md5 sums on random files are consistent. What did I do? Why does
this work better?
Thanks,
Andy
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 5.1_RC4 (FOGHORN.SEP30_2010) #0: Thu Sep 30 06:11:32 MST 2010
root@foghorn:/usr/obj/sys/arch/i386/compile/FOGHORN.SEP30_2010
total memory = 990 MB
avail memory = 960 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
System manufacturer System Product Name (System Version)
mainbus0 (root)
cpu0 at mainbus0 apid 0: AMD 686-class, 2712MHz, id 0x100f62
cpu0: SVM disabled by the BIOS
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 21, 24 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <061110,XSDT0958,20100611>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 32-bit timer
pckbc1 at acpi0 (PSKE, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PSMS, PNP0F03) (aux port): irq 12
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
npx1 at acpi0 (COPR, PNP0C04): io 0xf0-0xff irq 13
npx1: reported by CPUID; using exception 16
LPTE (PNP0400) at acpi0 not configured
aiboost0 at acpi0 (ASOC, ATK0110-16843024)
aiboost0: ASUS AI Boost Hardware monitor
hpet0 at acpi0 (HPET, PNP0103): mem 0xfed00000-0xfed003ff
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
pckbc3 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc3: unable to map registers
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
apm0 at acpi0: Power Management spec V1.2
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
attimer1: attached to pcppi1
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1022 product 0x9600 (rev. 0x00)
ppb0 at pci0 dev 1 function 0: vendor 0x1043 product 0x9602 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 5 function 0: vendor 0x1002 product 0x9616 (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga1 not configured
ppb1 at pci0 dev 4 function 0: vendor 0x1022 product 0x9604 (rev. 0x00)
ppb1: unsupported PCI Express version
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
wm0 at pci2 dev 0 function 0: Intel i82574L, rev. 0
wm0: interrupting at ioapic0 pin 16
wm0: PCI-Express bus
wm0: FLASH
wm0: Ethernet address 00:1b:21:68:5c:4f
ukphy0 at wm0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000ac2, model 0x000b, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
ppb2 at pci0 dev 6 function 0: vendor 0x1022 product 0x9606 (rev. 0x00)
ppb2: unsupported PCI Express version
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
vendor 0x1969 product 0x1063 (ethernet network, revision 0xc0) at pci3
dev 0 function 0 not configured
ahcisata0 at pci0 dev 17 function 0: vendor 0x1002 product 0x4391
ahcisata0: interrupting at ioapic0 pin 22
ahcisata0: AHCI revision 1.1, 6 ports, 32 command slots, features 0xf722e080
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
atabus2 at ahcisata0 channel 2
atabus3 at ahcisata0 channel 3
atabus4 at ahcisata0 channel 4
atabus5 at ahcisata0 channel 5
piixpm0 at pci0 dev 20 function 0
piixpm0: vendor 0x1002 product 0x4385 (rev. 0x3c)
piixpm0: interrupting at SMIpiixpm0: polling
iic0 at piixpm0: I2C bus
ixpide0 at pci0 dev 20 function 1
ixpide0: ATI Technologies IXP IDE Controller (rev. 0x00)
ixpide0: bus-master DMA support present
ixpide0: primary channel configured to compatibility mode
ixpide0: primary channel interrupting at ioapic0 pin 14
atabus6 at ixpide0 channel 0
ixpide0: secondary channel configured to compatibility mode
ixpide0: secondary channel interrupting at ioapic0 pin 15
atabus7 at ixpide0 channel 1
pcib0 at pci0 dev 20 function 3
pcib0: vendor 0x1002 product 0x439d (rev. 0x00)
ppb3 at pci0 dev 20 function 4: vendor 0x1002 product 0x4384 (rev. 0x00)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
pdcide0 at pci4 dev 6 function 0
pdcide0: Promise Ultra133/ATA Bus Master IDE Accelerator (rev. 0x02)
pdcide0: bus-master DMA support present
pdcide0: primary channel configured to native-PCI mode
pdcide0: using ioapic0 pin 20 for native-PCI interrupt
atabus8 at pdcide0 channel 0
pdcide0: secondary channel configured to native-PCI mode
atabus9 at pdcide0 channel 1
re0 at pci4 dev 7 function 0: RealTek 8169/8110 Gigabit Ethernet (rev. 0x10)
re0: interrupting at ioapic0 pin 21
re0: Ethernet address 00:14:d1:13:46:56
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 3
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
pchb1 at pci0 dev 24 function 0
pchb1: vendor 0x1022 product 0x1200 (rev. 0x00)
pchb2 at pci0 dev 24 function 1
pchb2: vendor 0x1022 product 0x1201 (rev. 0x00)
pchb3 at pci0 dev 24 function 2
pchb3: vendor 0x1022 product 0x1202 (rev. 0x00)
amdtemp0 at pci0 dev 24 function 3
amdtemp0: AMD CPU Temperature Sensors (Family10h / Family11h)
pchb4 at pci0 dev 24 function 4
pchb4: vendor 0x1022 product 0x1204 (rev. 0x00)
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 2712247380 Hz quality 3000
ahcisata0 port 0: device present, speed: 3.0Gb/s
wd0 at atabus0 drive 0: <ST32000542AS>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 1863 GB, 3876021 cyl, 16 head, 63 sec, 512 bytes/sect x 3907029168 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6
(Ultra/133) (using DMA)
atapibus0 at atabus6: 2 targets
cd0 at atapibus0 drive 1: <MATSHITADVD-ROM SR-8583, , D54A> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
wd1 at atabus6 drive 0: <HDS722525VLAT80>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1(ixpide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
cd0(ixpide0:0:1): using PIO mode 4, DMA mode 2 (using DMA)
wd2 at atabus8 drive 0: <ST3750640A>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 698 GB, 1453521 cyl, 16 head, 63 sec, 512 bytes/sect x 1465149168 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd3 at atabus8 drive 1: <ST3500630A>
wd3: drive supports 16-sector PIO transfers, LBA48 addressing
wd3: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd3: 32-bit data port
wd3: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd2(pdcide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
wd3(pdcide0:0:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
raidattach: Asked for 8 units
Kernelized RAIDframe activated
pad: requested 1 units
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture
Searching for RAID components...
boot device: wd1
root on wd1a dumps on wd1b
dump_misc_init: max_paddr = 0x3de90000
mountroot: trying lfs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
Home |
Main Index |
Thread Index |
Old Index