Sevan / Venture37 | 1 Sep 18:55 2008
Picon

usb support revisted


Hi Guys
I still can't seem to get usb support working on my Qube2, the kernel picks up the prolific controller but
there is no device file in /dev
I've made a new MAKEDEV script & tried sh MAKEDEV usbs, but upon inspection I found there was no makedev
enteries for ucom & uplcom.
I've been using 
http://mail-index.netbsd.org/port-cobalt/2007/09/08/0000.html  &
http://mail-index.netbsd.org/port-cobalt/2008/05/24/msg000114.html
as the source material for getting this going as previously instructed on here.

dmesg & patches below

Sevan / Venture37

cpu0: 32KB/32B 2-way set-associative write-back L1 Data cache
mcclock0 at mainbus0 addr 0x10000070: mc146818 compatible time-of-day clock
panel0 at mainbus0 addr 0x1f000000
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 00:10:e0:
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: VIA Technologies VT82C586 PCI-ISA Bridge, rev 39
viaide0 at pci0 dev 9 function 1
(Continue reading)

Izumi Tsutsui | 1 Sep 19:07 2008
Picon

Re: usb support revisted

venture37 <at> hotmail.com wrote:

> I've made a new MAKEDEV script & tried sh MAKEDEV usbs,
> but upon inspection I found there was no makedev enteries
> for ucom & uplcom.

Try /dev/ttyU? as noted in ucom(4) man page.
---
Izumi Tsutsui

Sevan / Venture37 | 1 Sep 19:10 2008
Picon

RE: usb support revisted


> Try /dev/ttyU? as noted in ucom(4) man page.

Doh!
no, I was looking at the man for uplcom(4)
connecting to ttyU0 worked a treat! :D
Cool!

Sevan / Venture37
_________________________________________________________________
Get all your favourite content with the slick new MSN Toolbar - FREE
http://clk.atdmt.com/UKM/go/111354027/direct/01/
Sevan / Venture37 | 1 Sep 20:06 2008
Picon

RE: usb support revisted


> Try /dev/ttyU? as noted in ucom(4) man page.

Is it possible to use more then 2 usb serial adapters?
I've edited the MAKEDEV script & added ttyU2 & ttyU3 but when I rerun the script they're not created

uplcom0 at uhub4 port 2
uplcom0: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 3
ucom0 at uplcom0
uplcom1 at uhub4 port 3
uplcom1: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 4
ucom1 at uplcom1
uplcom2 at uhub4 port 4
uplcom2: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 5
ucom2 at uplcom2
uplcom3 at uhub0 port 2
uplcom3: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 6
ucom3 at uplcom3

Sevan
_________________________________________________________________
Make a mini you and download it into Windows Live Messenger
http://clk.atdmt.com/UKM/go/111354029/direct/01/
Izumi Tsutsui | 2 Sep 01:37 2008
Picon

Re: usb support revisted

venture37 <at> hotmail.com wrote:

> I've edited the MAKEDEV script & added ttyU2 & ttyU3
> but when I rerun the script they're not created

What did you actually try?

---
# ls -l ttyU*
crw-------  1 uucp  wheel  66, 0 May  7  2003 ttyU0
crw-------  1 uucp  wheel  66, 1 May  7  2003 ttyU1
# sh MAKEDEV ttyU2 ttyU3 ttyU4
# ls -l ttyU*
crw-------  1 uucp  wheel  66, 0 May  7  2003 ttyU0
crw-------  1 uucp  wheel  66, 1 May  7  2003 ttyU1
crw-------  1 uucp  wheel  66, 2 Sep  2 08:32 ttyU2
crw-------  1 uucp  wheel  66, 3 Sep  2 08:32 ttyU3
crw-------  1 uucp  wheel  66, 4 Sep  2 08:32 ttyU4
# 
---
Izumi Tsutsui

Brian McEwen | 5 Sep 12:04 2008
Picon
Picon

Re: console accesses


On Sep 5, 2008, at 5:39 AM, Brian wrote:
>
>
> but if I wait until after the filesystem checks I can't get  
> anything but the regular login prompt.
>
> What am I missing here from the console?
>
> Thank you;
>
> Brian
>

ahh, mount -a and a fsck.

sorry, it's early.

B

Brian McEwen | 11 Sep 10:31 2008
Picon
Picon

most current install disk


Hi all;

Fall/ winter is coming so there is soon to be bad weather but time to  
upgrade the boxes.

What is the suggested install disk to be using at this time?  Does  
someone have a CD more current than that on the NetBSD site (which is  
usually the case).

Thank you;

Brian

netbsd | 11 Sep 12:43 2008

RE:most current install disk

Brian,
AFAIK the most current install disk (at least for my Raq2+'s) is the  
NetBSD 4.0-release disk intended for boot on an x86 to be installed  
over a network line. I have used that for all of my machines and then  
manually done cvs/build/src upgrades from there without trouble.

I do not remember where I initially found this bootable image (it may  
have been through NetBSD.org rather than another search), but I did  
save it. There is a copy at  
http://pub.dayid.org/NetBSD/cobalt/restorecd-4.0-20080423.iso.bz2 ;  
however that is on a very poor connection so you may be better seeking  
it elsewhere.

-Dayid Alan

Izumi Tsutsui | 13 Sep 05:51 2008
Picon

4.99.72 -current restorecd

I've put an updated restorecd based on 4.99.72 -current:
ftp://ftp.NetBSD.org/pub/NetBSD/arch/cobalt/restore-cd/4.99.72
Tesetd on Qube2, but not well confirmed.

Note restorecd completely initializes your harddisk
so you can't use it to upgrade your cobalt with your
current settings on the disk.

You might be able to try sysinst based RAMDISK kernel
for actual "upgrade" via serial console:
ftp://ftp.NetBSD.org/pub/NetBSD-daily/HEAD/200809100002Z/cobalt/binary/kernel/netbsd-RAMDISK.gz
but it isn't tested at all.
(see also NetBSD guide
 http://www.NetBSD.org/docs/guide/en/chap-upgrading.html 
 about upgrade via sysinst)
---
Izumi Tsutsui

Dave J. Barnes | 14 Sep 05:58 2008
Picon

re: 4.99.72 -current restorecd

 >You might be able to try sysinst based RAMDISK kernel
 >for actual "upgrade" via serial console:

>ftp://ftp.NetBSD.org/pub/NetBSD-daily/HEAD/200809100002Z/cobalt/binary/kernel/netbsd-RAMDISK.gz 

 >but it isn't tested at all.

It has now! On a RaQ 2.
NetBSD PaperThin 4.99.72 NetBSD 4.99.72 (GENERIC) #0: Wed Sep 10 
04:48:22 PDT 2008 

builds <at> wb35:/home/builds/ab/HEAD/cobalt/200809100002Z-obj/home/builds/ab/HEAD/src/sys/arch/cobalt/compile/GENERIC 
cobalt

Upgraded from 4.0 to 4.99.72 with RAMDISK kernel.  Sysinst went fine.  A 
couple of screen errors (probably curses
related) otherwise OK.

djb


Gmane