-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello,On May 11, 2010, at 5:29 PM, <rjs%fdy2.demon.co.uk@localhost> <rjs%fdy2.demon.co.uk@localhost > wrote:
Michael <macallan%netbsd.org@localhost> wrote:On May 11, 2010, at 4:20 PM, Chris Ross wrote:After replacing the primary internal disk on my Netra X1, it's running 5.1_RC1 stably. I've since added another disk to it, a Samsung SP2514N (ATA/133 250GB). The first time after I boot, I can label that disk, and when I try to newfs it: (partition a is all of the disk except the first cylinder) with the following: # newfs -i $[32*1024] -O 2 /dev/rwd1a It causes the kernel to get "lost interrupt" issues, eventually downgrading it to PIO. I see the following on the console [before newfs even begins to print the status dots]: aceride0:1:0: lost interrupt type: ata tc_bcount: 512 tc_skip: 0 aceride0:1:0: bus-master DMA error: missing interrupt, status=0x21 wd1: transfer error, downgrading to Ultra-DMA mode 3 wd1a: DMA error writing fsbn 488396159 (wd1 bn 488397167; cn 484520 tn 15 sn 62), retrying aceride0:1:0: lost interrupt type: ata tc_bcount: 512 tc_skip: 0 aceride0:1:0: bus-master DMA error: missing interrupt, status=0x21I'd try a different, known good cable before anything else.I see the same kinds of error on NetBSD/cats if I don't force the controller to PIO mode in the kernel config.
Last time I saw errors like that was on a beige G3 - I thought our Heathrow DMA support was bad but it turned out I had /two/ bad cables, after switching them out it Just Worked. May or may not be a similar issue but as I said, it's the first thing I'd check before doing anything more complex.
There is a comment in the sparc64 GENERIC config that suggests the same change is needed for Blade 100 and Netra X1 systems.
Makes sense, it's the same chip after all.Maybe I should stick an IDE disk in my Blade 2500 just to see if I get similar problems.
have fun Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iQEVAwUBS+nOu8pnzkX8Yg2nAQKpkQgArR79dsqFNjz64BRBaym/0uMhlw5PKchI h+dL6zGTF7McDgFSq6v60hy/JUF38xTVkaxR6RkSvXfag5cIw0NnHVR4XiZFGJVQ uS5hUWUbItRxV7xZ0+m3MvtIf7snIjToUJMjhAzfRgbBK/QRaQBFfhyOl7o3Msqg MkJfc3EYLSmw8PfpCgMPzqr9R48tAdul/NUoVVaZRIPA2or/iTAMuJV4i1lbPirw Qbe05j1ZH9oDDAAGf3JmTU5lO2zfsUw4LheS3YvN0rylD8zxjuXwh5M70WXWq4mB o+PsGCpe/BxHaeYK4G8al4YGitmmQJQ1ullRTcDsF83XnnDwuB7xcA== =l2KB -----END PGP SIGNATURE-----