Additional wd-devices

2009-12-16 Thread Markus Bergkvist
I have 6 IDE devices; 4 of them are connected to the primary and 
secondary IDE channels and 2 of them are connected to the SATA ports 
with IDE to SATA adapter. I assumed the two drives connected to the 
SATA ports would show up as sd0 and sd1, instead the show up as wd0 
resp wd1. Was I wrong in my assumption?

I now have wd0-wd5, how do I get the additional devices wd4 and wd5 in 
/dev/ ?

BR,
Markus

OpenBSD 4.6-current (GENERIC) #453: Fri Dec 11 17:20:19 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz (GenuineIntel 686-class) 2.81 
GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,
PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
real mem  = 1610166272 (1535MB)
avail mem = 1551478784 (1479MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/03/03, BIOS32 rev. 0 @ 
0xf1d80, SMBIOS rev. 2.3 @ 0xf0040 (57 entries)
bios0: vendor Award Software, Inc. version ASUS P4G8X ACPI BIOS 
Revision 1006 date 06/03/2003
bios0: ASUSTeK Computer INC. P4G8X
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP BOOT APIC
acpi0: wakeup devices PCI1(S4) PCI2(S4) UAR1(S4) USB0(S4) USB1(S4) USB2
(S4) US20(S4) AC97(S4) PCI0(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 133MHz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCI1)
acpiprt2 at acpi0: bus 2 (PCI2)
acpicpu0 at acpi0
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc/0xf000 0xd/0x4000! 0xd4000/0x4800
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x255d 
rev 0x03
agp at pchb0 not configured
Intel E7505 Error Reporting rev 0x03 at pci0 dev 0 function 1 not 
configured
ppb0 at pci0 dev 1 function 0 Intel E7505 AGP rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce 6600 GT AGP rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x02: apic 2 
int 16 (irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x02: apic 2 
int 19 (irq 9)
uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x02: apic 2 
int 18 (irq 6)
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x02: apic 2 
int 23 (irq 9)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x82
pci2 at ppb1 bus 2
bktr0 at pci2 dev 1 function 0 Brooktree BT878 rev 0x11: apic 2 int 
22 (irq 9)
bktr0: Warning - card vendor 0x11bd (model 0x0012) unknown.
bktr0: Pinnacle/Miro TV, Temic NTSC tuner.
Brooktree BT878 Audio rev 0x11 at pci2 dev 1 function 1 not 
configured
re0 at pci2 dev 2 function 0 Realtek 8169 rev 0x10: RTL8169/8110SB 
(0x1000), apic 2 int 23 (irq 9), address 00:08:a1:c5:1c:5e
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 3
pciide0 at pci2 dev 4 function 0 CMD Technology SiI3112 SATA rev 
0x02: DMA
pciide0: using apic 2 int 21 (irq 9) for native-PCI interrupt
pciide0: port 0: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: Maxtor 6L200P0
wd0: 16-sector PIO, LBA48, 194481MB, 398297088 sectors
wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 6
pciide0: port 1: device present, speed: 1.5Gb/s
wd1 at pciide0 channel 1 drive 0: Maxtor 6L200P0
wd1: 16-sector PIO, LBA48, 194481MB, 398297088 sectors
wd1(pciide0:1:0): using BIOS timings, Ultra-DMA mode 6
bge0 at pci2 dev 5 function 0 Broadcom BCM5702X rev 0x02, 
BCM5702/5703 A2 (0x1002): apic 2 int 18 (irq 6), address 00:0c:6e:0c:73:
39
brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
ral0 at pci2 dev 6 function 0 Ralink RT2661 rev 0x00: apic 2 int 20 
(irq 9), address 00:13:f7:2a:f4:ab
ral0: MAC/BBP RT2661D, RF RT2529 (MIMO XR)
ichpcib0 at pci0 dev 31 function 0 Intel 82801DB LPC rev 0x02
pciide1 at pci0 dev 31 function 1 Intel 82801DB IDE rev 0x02: DMA, 
channel 0 configured to compatibility, channel 1 configured to 
compatibility
wd2 at pciide1 channel 0 drive 0: IC35L120AVV207-1
wd2: 16-sector PIO, LBA48, 117800MB, 241254720 sectors
wd3 at pciide1 channel 0 drive 1: Maxtor 6Y160P0
wd3: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd2(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd3(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5
wd4 at pciide1 channel 1 drive 0: Maxtor 6Y160P0
wd4: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd5 at pciide1 channel 1 drive 1: Maxtor 6Y160P0
wd5: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd4(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
wd5(pciide1:1:1): using PIO mode 4, Ultra-DMA mode 5
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x02: apic 2 
int 17 (irq 5), ICH4 AC97
ac97: codec id 0x414c4720 (Avance Logic ALC650)
ac97: codec features 20 bit 

Re: Additional wd-devices

2009-12-16 Thread Theo de Raadt
 I have 6 IDE devices; 4 of them are connected to the primary and 
 secondary IDE channels and 2 of them are connected to the SATA ports 
 with IDE to SATA adapter. I assumed the two drives connected to the 
 SATA ports would show up as sd0 and sd1, instead the show up as wd0 
 resp wd1. Was I wrong in my assumption?

that depends if the SATA controller is in AHCI mode or IDE mode.

 I now have wd0-wd5, how do I get the additional devices wd4 and wd5 in 
 /dev/ ?

If you had this problem during the installer, it would have created the
nodes for you.  You can do this by

  cd /dev
  sh MAKEDEV wd4 wd5

That makes the nodes you need.



Re: Additional wd-devices

2009-12-16 Thread Markus Bergkvist

Theo de Raadt wrote:
I now have wd0-wd5, how do I get the additional devices wd4 and wd5 in 
/dev/ ?


If you had this problem during the installer, it would have created the
nodes for you.  You can do this by

  cd /dev
  sh MAKEDEV wd4 wd5

That makes the nodes you need.



Works great. Thanks.