Subject: accessing IDE hard drive via pcmcia card
To: None <>
From: Steve Bellovin <>
List: netbsd-users
Date: 05/17/2004 11:24:55
I bought a new hard drive for my laptop, and I'd like to copy things 
over from the existing drive.  I have a pcmcia IDE adapter that I can 
plug the new drive into.  Win2k recognizes the drive, but it doesn't 
seem to spin up under NetBSD 2.0beta.  Here are the relevant dmesg 

wdc2 at pcmcia1 function 0
atabus2 at wdc2 channel 0

I can remove and reinsert the card:

atabus2 detached
wdc2 detached
wdc2 at pcmcia0 function 0
atabus2 at wdc2 channel 0

My config file appears to have the right entries:

# PCMCIA IDE controllers
wdc*    at pcmcia? function ?

# ATA (IDE) bus support
atabus* at ata? 

wd*     at atabus? drive ? flags 0x0000

Any suggestions?  (The machine is a Thinkpad T21.)

		--Steve Bellovin,