NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: View flags used in wd device



> Sent: Wednesday, October 14, 2015 at 1:19 PM
> From: "Manuel Bouyer" <bouyer%antioche.eu.org@localhost>
> To: "Rocky Hotas" <rockyhotas%post.com@localhost>
> Cc: "NetBSD Users Mailing List" <netbsd-users%netbsd.org@localhost>
> Subject: Re: View flags used in wd device
[...]
> The flags are defined in the kenrel config file, so you could see them
> with:
> config -x /netbsd
> (if the config file has been embeeded in the kernel binary).
> But most of the time the flags are set to 0 and the kernel autodetects the
> modes to use. You can see this in the boot message:

Ok, they are 0 as you said: the message is in fact

# IDE drives
# [...] comments
wd*	at atabus? drive ? flags 0x0000

> armandeche:/#egrep ^wd /var/run/dmesg.boot 
> wd0 at atabus0 drive 0
> wd0: <ST500DM002-1BD142>
> wd0: drive supports 16-sector PIO transfers, LBA48 addressing
> wd0: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 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)

Yes, I have a message almost equal.
Thank you!

Rocky


Home | Main Index | Thread Index | Old Index