Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2004 21:25:57 -0500
From:      <srenna@vdbmusic.com>
To:        Kris Kennaway <kris@obsecurity.org>, scott renna <flexble2547@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Devfs not creating da0, 1, etcetera on 5.2
Message-ID:  <web-80031299@atlantech.net>
In-Reply-To: <20040126014124.GA35061@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Here's what dmesg is showing:

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991,
1992, 1993, 1994
        The Regents of the University of California. All
rights reserved.
FreeBSD 5.2-RELEASE #3: Thu Jan 22 22:04:58 EST 2004
    srenna@pluto.dc.cox.net:/usr/obj/usr/src/sys/JUICY1_04_VMWARE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0868000.
Preloaded elf module "/boot/kernel/ng_ubt.ko" at
0xc08681a4.
Preloaded elf module "/boot/kernel/netgraph.ko" at
0xc0868250.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) Processor (651.48-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x621  Stepping = 1
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268435456 (256 MB)
avail memory = 251105280 (239 MB)
netsmb_dev: loaded
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00fde40
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci_cfgintr: 0:7 INTD BIOS irq 5
pci_cfgintr: 0:7 INTD BIOS irq 5
pci_cfgintr: 0:8 INTA BIOS irq 12
pci_cfgintr: 0:9 INTA BIOS irq 11
pci_cfgintr: 0:10 INTA BIOS irq 10
pci_cfgintr: 0:12 INTB BIOS irq 12
pci_cfgintr: 0:12 INTA BIOS irq 5
agp0: <VIA Generic host to PCI bridge> mem
0xd8000000-0xdbffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci_cfgintr: 0:1 INTA routed to irq 12
pcib1: slot 0 INTA is routed to irq 12
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686A UDMA66 controller> port 0xc000-0xc00f
at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 5
at device 7.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Microsoft Microsoft IntelliMouse\M-. Explorer, rev
1.10/1.21, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
umass0: Acer Communications & Multimedia Inc. USB Optical
Storage Device, rev 1.00/a.03, addr 3
uhci1: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 5
at device 7.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pcm0: <Creative EMU10K1> port 0xcc00-0xcc1f irq 12 at
device 8.0 on pci0
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
atapci1: <HighPoint HPT370 UDMA100 controller> port
0xe400-0xe4ff,0xe000-0xe003,0xdc00-0xdc07,0xd800-0xd803,0xd400-0xd40
7 irq 11 at device 9.0 on pci0
atapci1: [MPSAFE]
ata2: at 0xd400 on atapci1
ata2: [MPSAFE]
ata3: at 0xdc00 on atapci1
ata3: [MPSAFE]
sis0: <NatSemi DP8381[56] 10/100BaseTX> port 0xe800-0xe8ff
mem 0xdf000000-0xdf000fff irq 10 at device 10.0 on pci0
sis0: Silicon Revision: DP83815D
sis0: Ethernet address: 00:09:5b:0b:43:47
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
auto
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem
0xdf001000-0xdf001fff irq 12 at device 12.0 on pci0
usb2: OHCI version 1.0, legacy support
usb2: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb2: USB revision 1.0
uhub2: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub2: 2 ports with 2 removable, self powered
ubt0: vendor 0x0a12 product 0x0001, rev 1.10/2.72, addr 2
ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82,
bulk-out=0x2
ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83,
isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294
ehci0: <EHCI (generic) USB 2.0 controller> mem
0xdf002000-0xdf0020ff irq 5 at device 12.3 on pci0
ehci_pci_attach: companion usb2
usb3: EHCI version 1.0
usb3: companion controller, 2 ports each: usb2
usb3: <EHCI (generic) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: AcerLabs EHCI root hub, class 9/0, rev 2.00/1.00,
addr 1
ugen0: Creative Technology NOMAD Jukebox Zen (USB 2.0), rev
2.00/0.01, addr 2
orm0: <Option ROM> at iomem 0xcc000-0xcffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on
isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <Enhanced floppy controller (i82077, NE72065 or
clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem
0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
Timecounter "TSC" frequency 651480924 Hz quality 800
Timecounters tick every 10.000 msec
GEOM: create disk ad0 dp=0xc2e1f960
ad0: 39266MB <IC35L060AVV207-0> [79780/16/63] at
ata0-master UDMA66
acd0: CDROM <ATAPI 48X CDROM> at ata1-slave PIO4
GEOM: create disk ad6 dp=0xc2e1f160
ad6: 156334MB <Maxtor 6Y160P0> [317632/16/63] at
ata3-master UDMA100
GEOM: create disk ad7 dp=0xc2e1f760
ad7: 114473MB <ST3120026A> [232581/16/63] at ata3-slave
UDMA100
ubt0: at uhub2 port 1 (addr 2) disconnected
ubt0: detached
ubt0: vendor 0x0a12 product 0x0001, rev 1.10/2.72, addr 2
ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82,
bulk-out=0x2
ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83,
isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294
pass0 at umass-sim0 bus 0 target 0 lun 0
pass0: <USB CD-R/RW 6X4X6 E.CC> Removable CD-ROM SCSI-0
device 
pass0: 1.000MB/s transfers
pass1 at ata1 bus 0 target 1 lun 0
pass1: <ATAPI 48X CDROM 3.30> Removable CD-ROM SCSI-0
device 
pass1: 16.000MB/s transfers
Mounting root from ufs:/dev/ad0s1a
sis0: Applying short cable fix (reg=f7)
WARNING: driver "vmmon" used unreserved major device number
200
vmmon: Module vmmon: registered with major=200 minor=0
tag=$Name: build-570 (3.2.x mvm) $
vmmon: Module vmmon: initialized
sis0: Applying short cable fix (reg=e8)
sis0: promiscuous mode enabled
vmnet1: promiscuous mode enabled
ugen0: Creative Technology NOMAD Jukebox Zen (USB 2.0), rev
2.00/0.01, addr 2

Kernel excerpt:

# ATA and ATAPI devices
device          ata
device          atadisk                 # ATA disk drives
device          ataraid                 # ATA RAID drives
device          atapicd                 # ATAPI CDROM
drives
device          atapicam
options         ATA_STATIC_ID           #Static device
numbering

# SCSI peripherals
device          scbus           # SCSI bus (required for
SCSI)
device          da              # Direct Access (disks)
device          pass            # Passthrough device
(direct SCSI access)
-----snip# 

USB support
device          uhci            # UHCI PCI->USB interface
device          ohci            # OHCI PCI->USB interface
device          usb             # USB Bus (required)
#device         udbp            # USB Double Bulk Pipe
devices
device          ugen            # Generic
device          uhid            # "Human Interface Devices"
device          ukbd            # Keyboard
device          ulpt            # Printer
device          umass           # Disks/Mass storage -
Requires scbus and da
device          ums             # Mouse
device          urio            # Diamond Rio 500 MP3
player
device          ehci            # USB 2.0






On Sun, 25 Jan 2004 17:41:24 -0800
 Kris Kennaway <kris@obsecurity.org> wrote:
> On Sun, Jan 25, 2004 at 05:28:16PM -0800, scott renna
> wrote:
> > I have been struggling trying to get a USB external
> > CDRW to work recently and I've noticed that within
> > /dev, the devices da0.... are not present.
> 
> I don't think a CDRW would be attached as a da0 device
> (CD devices are
> usually cd devices ;-)
> 
> > da is present in my kernel as is scbus.  I'm wondering
> > how to go about creating them manually.
> > 
> > any advice on this?
> 
> Post your kernel config and dmesg (and anything
> appropriate from the
> kernel logs), for starters.
> 
> Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?web-80031299>