Port-cobalt archive

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

Re: USB and more PCI device support



On Sun, Dec 12, 2010 at 4:31 AM, Izumi Tsutsui 
<tsutsui%ceres.dti.ne.jp@localhost> wrote:
> I received a question about support of PCI USB card,
> so I'd answer it here.
>
> GENERIC kernel of NetBSD/cobalt 5.1 doesn't have necessary drivers
> for USB devices so it doesn't work by default installation.
> NetBSD/cobalt itself supports PCI and USB devices and
> we have to config and compile a new kernel from sources.
>
> I know it's a bit annoying so I also put a compiled sample kernel
> which includes much more PCI and USB device drivers:
> ftp://ftp.NetBSD.org/pub/NetBSD/arch/cobalt/5.1/
> - kern-GENERIC.tgz includes "/netbsd" kernel based on GENERIC
>  but with more drivers.
> - "PCIDEVS" is a kernel config file to build this one

Well, so far it's looking good. I grabbed the PCIDEVS file and then
included it from my kernel config file rather than the other way
around, seems easier for me.

I forgot that I don't have sd support in the kernel, so I need to
rebuild again. But here's the dmesg for now:



NetBSD 5.1_STABLE (DEC13_2010) #0: Mon Dec 13 21:01:14 MST 2010
        root@foghorn:/usr/obj-cobalt/sys/arch/cobalt/compile/DEC13_2010
Cobalt Qube 2
total memory = 65536 KB
avail memory = 56308 KB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
com0 at mainbus0 addr 0x1c800000 level 3: st16650a, working fifo
com0: console
cpu0 at mainbus0: QED RM5200 CPU (0x28a0) Rev. 10.0 with built-in FPU Rev. 10.0
cpu0: 32KB/32B 2-way set-associative L1 Instruction cache, 48 TLB entries
cpu0: 32KB/32B 2-way set-associative write-back L1 Data cache
mcclock0 at mainbus0 addr 0x10000070: mc146818 compatible time-of-day clock
gt0 at mainbus0 addr 0x14000000
pci0 at gt0
pci0: i/o space, memory space enabled, rd/line, wr/inv ok
pchb0 at pci0 dev 0 function 0: Galileo GT-64111 System Controller, rev 1
tlp0 at pci0 dev 7 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at level 1
tlp0: Ethernet address
lxtphy0 at tlp0 phy 1: LXT970 10/100 media interface, rev. 3
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 9 function 0
pcib0: vendor 0x1106 product 0x0586, rev 39
viaide0 at pci0 dev 9 function 1
viaide0: VIA Technologies VT82C586 (Apollo VP) ATA33 controller
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at irq 15
atabus1 at viaide0 channel 1
uhci0 at pci0 dev 9 function 2: vendor 0x1106 product 0x3038 (rev. 0x02)
uhci0: can't map i/o space
uhci1 at pci0 dev 10 function 0: vendor 0x1106 product 0x3038 (rev. 0x61)
uhci1: interrupting at irq 9
usb0 at uhci1: USB revision 1.0
uhci2 at pci0 dev 10 function 1: vendor 0x1106 product 0x3038 (rev. 0x61)
uhci2: interrupting at irq 9
usb1 at uhci2: USB revision 1.0
ehci0 at pci0 dev 10 function 2: vendor 0x1106 product 0x3104 (rev. 0x63)
ehci0: interrupting at irq 9
ehci0: dropped intr workaround enabled
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci1 uhci2
usb2 at ehci0: USB revision 2.0
fwohci0 at pci0 dev 10 function 3: vendor 0x1106 product 0x3044 (rev. 0x46)
fwohci0: interrupting at irq 9
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:11:06:00:00:00:e3:32
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S100, max_rec 2 bytes.
fwohci0: max_rec 2 -> 2048
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
tlp1 at pci0 dev 12 function 0: DECchip 21143 Ethernet, pass 4.1
tlp1: interrupting at level 2
tlp1: Ethernet address
lxtphy1 at tlp1 phy 1: LXT970 10/100 media interface, rev. 3
lxtphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mips3_cp0_counter" frequency 125000000 Hz quality 100
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)
uhub0 at usb0: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: vendor 0x1106 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
wd0 at atabus0 drive 0: <IC25N030ATDA04-0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 28615 MB, 62016 cyl, 15 head, 63 sec, 512 bytes/sect x 58605120 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
umass0 at uhub2 port 1 configuration 1 interface 0
umass0: Maxtor OneTouch, rev 2.00/1.25, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
scsibus0 target 0 lun 0: <Maxtor, OneTouch, 0125> disk fixed not configured

Now to compile in scsi disk support, and see if it likes that disk.

Andy


Home | Main Index | Thread Index | Old Index