Subject: Error messages in dmesg (regarding new IDE controller, new IDE drive)
To: port-cobalt <port-cobalt@netbsd.org>
From: Carsten Pache <newsabo@gmx.info>
List: port-cobalt
Date: 09/16/2004 09:55:44
I successfully installed an IDE controller (Promise Ultra100TX2) and a
second hard disk (SAMSUNG SP1614N) in my Qube II (running NetBSD
1.6.1). After partitioning and formatting the new drive, I get some
messages in dmesg, regarding the new disk (wd1):

(...)
pciide1 at pci0 dev 10 function 0: Promise Ultra100TX2/ATA Bus Master IDE Accelerator (rev. 0x02)
pciide1: bus-master DMA support present
pciide1: primary channel configured to native-PCI mode
pciide1: using irq 9 for native-PCI interrupt
wd1 at pciide1 channel 0 drive 0: <SAMSUNG SP1614N>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 149 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
pciide1: secondary channel configured to native-PCI mode
tlp1 at pci0 dev 12 function 0: DECchip 21143 Ethernet, pass 4.1
tlp1: interrupting at level 2
tlp1: Ethernet address 00:10:e0:00:79:87
lxtphy1 at tlp1 phy 1: LXT970 10/100 media interface, rev. 3
lxtphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
lcd0 at mainbus0IPsec: Initialized Security Association Processing.
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wd1: transfer error, downgrading to Ultra-DMA mode 2
wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
wd1d: error reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
wd1: (aborted command, interface CRC error)
wd1: soft error (corrected)

My impressions are very mixed: Although some errors are shown, I had
no problems transferring a bunch of files (nearly 20 GB) from a
Windows"-powered" PC to the Qube's new disk.


"fdisk wd1" shows the following:

Disk: /dev/rwd1d
NetBSD disklabel disk geometry:
cylinders: 16383 heads: 16 sectors/track: 63 (1008 sectors/cylinder)

BIOS disk geometry:
cylinders: 16383 heads: 16 sectors/track: 63 (1008 sectors/cylinder)

Partition table:
0: sysid 169 (NetBSD)
    start 0, size 312581808 (152627 MB), flag 0x0
        beg: cylinder    0, head   0, sector  1
        end: cylinder 1022, head  15, sector 63
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>


Can I just ignore the errors or is there something else I can do to
patch this?


-- 
Regards, Carsten