Subject: AW: dmesg on PCI_CONFIG_DUMP
To: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
From: Andreas Fuchs <fox@tcnet.ch>
List: port-cobalt
Date: 01/27/2004 15:37:15
more problems

there is no majors.cobalt in my conf dir which i can patch.
do i have to upgrade to -current first ? at the moment i'm running on 1.6.1

Andreas

-----Ursprungliche Nachricht-----
Von: KIYOHARA Takashi [mailto:kiyohara@kk.iij4u.or.jp]
Gesendet: Sonntag, 25. Januar 2004 06:00
An: fox@tcnet.ch
Cc: port-cobalt@NetBSD.org
Betreff: Re: dmesg on PCI_CONFIG_DUMP


Hi


Very thanks & sorry.
All the messages at the time of boot want me. A message is too long and
the buffer only of a few is carried out.

Do I extract messages or have script used?

  ex.
  ---
  1. /var/log/messages ->

       cobalt# cp /var/log/messages ~/BOOT_MESSAGES
       cobalt# vi ~/BOOT_MESSAGES   #<-----  Extract

  or

  2. script

       YOUR_HOST# script
       YOUR_HOST# tip -115200 dty0   #<----- dty0 is connected with cobalt

         <--- your cobalt power on.



From: Andreas Fuchs <fox@tcnet.ch>
Date: Sat, 24 Jan 2004 19:36:49 +0100

> You where requesting a dmesg with USB Debug option on from a Cobalt Qube2.
> Attached my kernel conf and dmesg.
>
> i hope this helps.
>
> I was able to compile a kernel which makes no mem errors by just
> configuring the NEC device 10 function 0, but i have no /dev/usb???
> devices and have no idea how to create them, do you have any idea ?

I worked umass0 yet. (other some problems.)
# My card cannot be working on i386.

Please perform it as follows.

  1. multifunction correspondence.

       patching this.
         http://mail-index.netbsd.org/port-cobalt/2004/01/10/0001.html

  2. PCI memory space correspondence

       Correction is temporarily required!!
       see. pciconf.tmp.diff

  3. majors & files

       see. cobalt_conf.diff

  4. GENERIC

       Please edit your GENERIC. I am doing in this way. see GENERIC_add

  5. build

  6. Please reconstruct, if MAKEDEV is required.
     Since I needed dtyUX, it reconstructed.

      cobalt# cd /usr/src/etc
      cobalt# <TOOLDIR>/bin/nbmake-cobalt MAKEDEV
      cobalt# mv MAKEDEV /dev/MAKEDEV.new
      cobalt# cd /dev
      cobalt# sh MAKEDEV.new usbs

  7. reboot!!!


umm..
It seems that it may work by chance if there are USB_DEBUG and
EHCI_DEBUG although my card does not work on i386. This is under
investigation. teaching the name of a card, when your card works well ?
my card is IFC-PCI7IU2 (IO DATA).

thanks
--
kiyohara