Re: IDE strangeness

1999-05-18 Thread Soren Schmidt
It seems Brian Feldman wrote:

 It seems Brian Feldman wrote:
  I'm having two problems with IDE nowadays.
  
  1. ATA doesn't work with LS-120. That's not new. But ATA does seem to 
  crash on
 me, and there's no dump() so I can't figure out why.

Reply to my own problem: ATA crashed more often than wd, but they both crashed
with my old, faulty CPU. My K6-2 350 now works perfectly.

Aha!

 Good news is that I've gotten ahold of a LS120 drive, so I can test this now.
 
 Bad news is that it has stopped working on my ZIP drive too :(

That's bad, if it used to. LS-120 never worked under ATA, with or without
new-bus. But you say Zip always has.

Well, it suddenly failed, and going over the driver again, I've no idea
how it could have worked :) Too little sleep I guess...

 Something must have been screwed up since the newbus import, either in
 my driver (I feel at risk saying that it is not likely), or something else.

I'm pretty sure your driver isn't screwed up, as I've tracked most of the
changes.

Well, with update7 it should work, at least it does with both my ZIP 
and my LS120...

-Søren


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: IDE strangeness

1999-05-17 Thread Soren Schmidt
It seems Brian Feldman wrote:
 I'm having two problems with IDE nowadays.
 
 1. ATA doesn't work with LS-120. That's not new. But ATA does seem to crash on
me, and there's no dump() so I can't figure out why.

Good news is that I've gotten ahold of a LS120 drive, so I can test this now.

Bad news is that it has stopped working on my ZIP drive too :(

Something must have been screwed up since the newbus import, either in
my driver (I feel at risk saying that it is not likely), or something else.

-Søren


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: IDE strangeness

1999-05-17 Thread Brian Feldman
On Mon, 17 May 1999, Soren Schmidt wrote:

 It seems Brian Feldman wrote:
  I'm having two problems with IDE nowadays.
  
  1. ATA doesn't work with LS-120. That's not new. But ATA does seem to crash 
  on
 me, and there's no dump() so I can't figure out why.

Reply to my own problem: ATA crashed more often than wd, but they both crashed
with my old, faulty CPU. My K6-2 350 now works perfectly.

 
 Good news is that I've gotten ahold of a LS120 drive, so I can test this now.
 
 Bad news is that it has stopped working on my ZIP drive too :(

That's bad, if it used to. LS-120 never worked under ATA, with or without
new-bus. But you say Zip always has.

 
 Something must have been screwed up since the newbus import, either in
 my driver (I feel at risk saying that it is not likely), or something else.

I'm pretty sure your driver isn't screwed up, as I've tracked most of the
changes.

 
 -S?ren
 

 Brian Feldman_ __ ___   ___ ___ ___  
 gr...@unixhelp.org_ __ ___ | _ ) __|   \ 
 FreeBSD: The Power to Serve!  _ __ | _ \ _ \ |) |
 http://www.freebsd.org   _ |___)___/___/ 



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: IDE strangeness

1999-05-08 Thread Brian Feldman
On Thu, 6 May 1999, Lee Cremeans wrote:

 On Thu, May 06, 1999 at 10:04:19PM -0400, Brian Feldman wrote:
 
  2. wd supports UDMA on my chipset, but won't enable any kind of DMA on my
 new Seagate, which does UDMA2 fine with ATA
  
 
 Can you boot -v and give the output of the ATA_INQUIRY line? That should say
 which modes are available on the drive.

So, any ideas at all?

 
 -lee
 
 --
 ++
 |  Lee Cremeans -- Manassas, VA, USA  (WakkyMouse on WTnet)  |  
 | lcreme...@erols.com | http://wakky.dyndns.org/~lee |
 

 Brian Feldman_ __ ___   ___ ___ ___  
 gr...@unixhelp.org_ __ ___ | _ ) __|   \ 
 FreeBSD: The Power to Serve!  _ __ | _ \ _ \ |) |
 http://www.freebsd.org   _ |___)___/___/ 



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: IDE strangeness

1999-05-07 Thread Brian Feldman
On Thu, 6 May 1999, Lee Cremeans wrote:

 On Thu, May 06, 1999 at 10:04:19PM -0400, Brian Feldman wrote:
 
  2. wd supports UDMA on my chipset, but won't enable any kind of DMA on my
 new Seagate, which does UDMA2 fine with ATA
  
 
 Can you boot -v and give the output of the ATA_INQUIRY line? That should say
 which modes are available on the drive.

Here's what I've got:

ide_pci0: Acer Aladdin IV/V (M5229) Bus-master IDE controller at device 15.0 
on pci0
ide_pci: busmaster 0 status: 84 from port: ffa2
ide_pci: busmaster 1 status: 84 from port: ffaa
wdc0 at port 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa0
wd0: wdsetmode() setting transfer mode to 42
wdc0: unit 0 (wd0): ST36422A, 32-bit, multi-block-16
wd0: 6103MB (12500460 sectors), 13228 cyls, 15 heads, 63 S/T, 512 B/S
wd0: ATA INQUIRE valid = 0007, dmamword = 0407, apio = 0003, udma = 0007
wdc0: unit 1 (atapi): NEC CD-ROM DRIVE:285/3.04, removable, 
dma, iordy
wcd0: drive speed 2067KB/sec, 128KB cache
wcd0: supported read types: CD-R, CD-DA
wcd0: Audio: play, 16 volume levels
wcd0: Mechanism: ejectable tray
wcd0: Medium: no/blank disc inside, unlocked
wdc0: interrupting at irq 14
wdc1 at port 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa0
wd3: wdsetmode() setting transfer mode to 22
wdc1: unit 1 (wd3): Maxtor 71626 AP, DMA, 32-bit, multi-block-32
wd3: 1554MB (3183264 sectors), 3158 cyls, 16 heads, 63 S/T, 512 B/S
wd3: ATA INQUIRE valid = 0003, dmamword = 0407, apio = 0003, udma = 
wdc1: unit 0 (atapi): LS-120 COSM   02  UHD Floppy/0271C09T, 
removable, iordy
wfd0: medium type unknown (no disk)
wdc1: interrupting at irq 15


 
 -lee
 
 --
 ++
 |  Lee Cremeans -- Manassas, VA, USA  (WakkyMouse on WTnet)  |  
 | lcreme...@erols.com | http://wakky.dyndns.org/~lee |
 

 Brian Feldman_ __ ___   ___ ___ ___  
 gr...@unixhelp.org_ __ ___ | _ ) __|   \ 
 FreeBSD: The Power to Serve!  _ __ | _ \ _ \ |) |
 http://www.freebsd.org   _ |___)___/___/ 



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: IDE strangeness

1999-05-07 Thread Doug Russell

On Fri, 7 May 1999, Brian Feldman wrote:

   2. wd supports UDMA on my chipset, but won't enable any kind of DMA on my
  new Seagate, which does UDMA2 fine with ATA
 
 Here's what I've got:
 wdc0 at port 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa0
 wd0: wdsetmode() setting transfer mode to 42
 wdc0: unit 0 (wd0): ST36422A, 32-bit, multi-block-16
 wd0: 6103MB (12500460 sectors), 13228 cyls, 15 heads, 63 S/T, 512 B/S
 wd0: ATA INQUIRE valid = 0007, dmamword = 0407, apio = 0003, udma = 0007

H..  I just started playing with 4.0-CURRENT the other day, and I've
been using a nice SCSI disk, however, when I connected a couple of Western
Digital IDEs, I had a couple strange problems:

Same controller in an Asus P5A-A, K6-III 400 MHz @ 100x4...

/kernel: ide_pci0: Acer Aladdin IV/V (M5229) Bus-master IDE controller
at device 15.0 on pci0

wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
wdc0: unit 0 (wd0): WDCAC420400D, 32-bit, multi-block-16
wd0: 19470MB (39876480 sectors), 39560 cyls, 16 heads, 63 S/T, 512 B/S

Note there is no DMA on there either...  I couldn't get either the 13 or
20 Gig to do DMA, even though I have done it before on -STABLE.

The other oddity with early AM yesterday's world  kernel was:

wdc0 at port 0x1f0-0x1f7 irq 1 drq 0 flags 0xa0ffa0ff on isa0
wdc0: unit 0 (wd0): WDC AC420400D, DMA,32-bit, multi-block-16
wd0: 19470MB (39876480 sectors), 39560 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: interrupting at irq 1

What gives with the irq 1?  All sorts of things were showing up on irq 1,
even though they were actually configured on 14, 15, 5 (for sio2), etc...

I thought this was something funky in the bus changes, and may be gone
now, I haven't tried the IDE disks again on anything since, but other
things (like sio2) are back to normal on the last 5 or 6 builds.

Boy these K6-IIIs are FAST...  My worldstone is under 1h WITHOUT turning
on softupdates, no async mounting, no noatime, no -j, and src and obj are
on the same (/usr) partition of one SCSI disk!

Later.. Doug




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: IDE strangeness

1999-05-06 Thread Lee Cremeans
On Thu, May 06, 1999 at 10:04:19PM -0400, Brian Feldman wrote:

 2. wd supports UDMA on my chipset, but won't enable any kind of DMA on my
new Seagate, which does UDMA2 fine with ATA
 

Can you boot -v and give the output of the ATA_INQUIRY line? That should say
which modes are available on the drive.

-lee

--
++
|  Lee Cremeans -- Manassas, VA, USA  (WakkyMouse on WTnet)  |  
| lcreme...@erols.com | http://wakky.dyndns.org/~lee |


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message