Re: umass device support...how generic is it?

2003-06-11 Thread Mark Atkinson
I wish I could get this far.  I updated to the lastest stable kernel 
code, instead of 4.8-release, and re-added the quirk section.

da0: Sony CLIE MS 1.00 Removable Direct Access SCSI-0 device 
da0: 150KB/s transfers
Now using the 'start import first method'  I get this:

/kernel: umass0: Sony Sony PEG Mass Storage, rev 1.10/1.00, addr 3,8070i
(ATAPI) over CBI
/kernel: umass0:0:0:-1: Attached to scbus0 as device 0
/kernel: umass0: CBI reset failed, TIMEOUT
/kernel: umass0: CBI bulk-in stall clear failed, TIMEOUT
/kernel: umass0: CBI bulk-out stall clear failed, TIMEOUT
[repeat]
/kernel: (da0:umass-sim0:0:0:0): got CAM status 0x4
/kernel: (da0:umass-sim0:0:0:0): fatal error, failed to attach to device
/kernel: (da0:umass-sim0:0:0:0): lost device
/kernel: (da0:umass-sim0:0:0:0): removing device ent
At this point if I unplug the device, or reset the clie (since it's now
frozen solid), the system will panic and reboot.
It's interesting to note that the driver sony installs on windoze has a 
filename called sony_scsi.  I wonder if ATAPI over CBI is the wrong 
method for this device?

---
Mark
atkin901 at NOSPAM yahoo dot com
(!wired)?(coffee++):(wired);
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Palm m50x the USB stack

2003-06-11 Thread Adriaan de Groot
[It seems the last time this came up was in march, under the heading of Sony 
Cybershot should be in hardware notes. This message is intended mainly to 
document what I've managed to track down.]

The m500s still will not sync with pilot-link 0.11.7 in -STABLE. An easily 
triggerable panic is another issue [1]. The pilot-link code first opens 
/dev/ugenX and then switches to /dev/ugenX.2, which is the HotSync endpoint 
for HotSyncs (endpoint 1 is listed as Generic in the endpoint 
descriptions).  Relevant code is then:

i = 0; /* 0 or USBD_SHORT_XFER_OK */
if (ioctl(endpoint_fd, USB_SET_SHORT_XFER, i)  0) {

i = 50;
if (ioctl(endpoint_fd, USB_SET_TIMEOUT, i)  0) {

later, writes to the endpoint go fine, but a read() on the endpoint_fd returns 
immediately with ETIMEDOUT if the USB_TIMEOUT is non-0. I've started 
following this through the ugen code, but get totally lost in kernel 
intricacies. Mostly I need a good way to dump debug info to the console while 
running though this code. Is kprintf() the right way to go? Will (over)using 
it cause timing problems in the ugen code?

I've got 5.1-RELEASE on a laptop, I'll check tomorrow if the situation is any 
different there (though cvsweb indicates not much has changed, really, 
recently, and NetBSD 1.6.1 fails just as miserably as FreeBSD 4.8 in doing 
anything with an m500.).

[ade]

[1] open(/dev/ugen0) open(/dev/ugen0.2) ioctl(/dev/ugen0.2) is pretty much it, 
as documented in the pilot-link source.

-- 
pub  1024D/FEA2A3FE 2002-06-18 Adriaan de Groot [EMAIL PROTECTED]
 Key fingerprint = 934E 31AA 80A7 723F 54F9  50ED 76AC EE01 FEA2 A3FE
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Palm m50x the USB stack

2003-06-11 Thread Larry Rosenman
I don't believe that things are any better now.



--On Thursday, June 12, 2003 01:10:41 +0200 Adriaan de Groot 
[EMAIL PROTECTED] wrote:

[It seems the last time this came up was in march, under the heading of
Sony  Cybershot should be in hardware notes. This message is intended
mainly to  document what I've managed to track down.]
The m500s still will not sync with pilot-link 0.11.7 in -STABLE. An
easily  triggerable panic is another issue [1]. The pilot-link code first
opens  /dev/ugenX and then switches to /dev/ugenX.2, which is the HotSync
endpoint  for HotSyncs (endpoint 1 is listed as Generic in the endpoint
descriptions).  Relevant code is then:
i = 0; /* 0 or USBD_SHORT_XFER_OK */
if (ioctl(endpoint_fd, USB_SET_SHORT_XFER, i)  0) {
i = 50;
if (ioctl(endpoint_fd, USB_SET_TIMEOUT, i)  0) {
later, writes to the endpoint go fine, but a read() on the endpoint_fd
returns  immediately with ETIMEDOUT if the USB_TIMEOUT is non-0. I've
started  following this through the ugen code, but get totally lost in
kernel  intricacies. Mostly I need a good way to dump debug info to the
console while  running though this code. Is kprintf() the right way to
go? Will (over)using  it cause timing problems in the ugen code?
I've got 5.1-RELEASE on a laptop, I'll check tomorrow if the situation is
any  different there (though cvsweb indicates not much has changed,
really,  recently, and NetBSD 1.6.1 fails just as miserably as FreeBSD
4.8 in doing  anything with an m500.).
[ade]

[1] open(/dev/ugen0) open(/dev/ugen0.2) ioctl(/dev/ugen0.2) is pretty
much it,  as documented in the pilot-link source.
--
pub  1024D/FEA2A3FE 2002-06-18 Adriaan de Groot [EMAIL PROTECTED]
 Key fingerprint = 934E 31AA 80A7 723F 54F9  50ED 76AC EE01 FEA2 A3FE
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


sequences or steps of make installworld

2003-06-11 Thread pirat
hi sirs,

a few minutes ago, i made installworld on my other machine but error occur at some 
points in between.  at that point of error, i can do a make, make install manuallyi 
without any errors.

but i do not know that from that on what the rest are not installed yet.

i have attached a script of make installworld with this mail, an editted one. 
any helps and hints are welcome and appreciated.

-- 
with best regards,
psr

http://www.thai-aec.org
http://www.thai.net/makham
Script started on Thu Jun 12 07:41:49 2003
nika# pwd
/usr/src
nika# date
Thu Jun 12 07:41:54 ICT 2003
nika# make installworld
mkdir -p /tmp/install.34941
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find grep  ln make 
makewhatis mkdir mtree mv perl pwd_mkdb rm sed sh sysctl  test true uname wc zic; do  
cp `which $prog` /tmp/install.34941;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  
OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec  
PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503  
GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin  
GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font  
GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac  
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/tmp/install.34941
 make -f Makefile.inc1 reinstall
--
 Making hierarchy
--
cd /usr/src; make -f Makefile.inc1 hierarchy
cd /usr/src/etc;make distrib-dirs
set - `grep ^[a-zA-Z] /usr/src/etc/locale.deprecated`;  while [ $# -gt 0 ] ;  do  
for dir in /usr/share/locale  /usr/share/nls  /usr/local/share/nls;  do  test -d 
/${dir}  cd /${dir};  test -L $2  rm -rf $2;  test \! -L $1  test -d $1 
 mv $1 $2;  done;  shift; shift;  done
mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p /
mtree -deU -f /usr/src/etc/mtree/BSD.var.dist -p /var
mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr
mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/include
mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/libdata/perl/5.00503/mach
mtree -deU -f /usr/src/etc/mtree/BSD.sendmail.dist -p /
cd /; rm -f /sys; ln -s usr/src/sys sys
cd /usr/share/man/en.ISO8859-1; ln -sf ../man* .
cd /usr/share/man;  set - `grep ^[a-zA-Z] /usr/src/etc/man.alias`;  while [ $# -gt 0 
] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift;  done
cd /usr/share/locale;  set - `grep ^[a-zA-Z] /usr/src/etc/locale.alias`;  while [ $# 
-gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift;  done
cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
cd /usr/share/nls;  set - `grep ^[a-zA-Z] /usr/src/etc/nls.alias`;  while [ $# -gt 0 
] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift;  done

--
 Installing everything..
--
cd /usr/src; make -f Makefile.inc1 install
=== share/info
=== include
=== include/arpa
=== include/protocols
=== include/rpc
=== include/rpcsvc
=== lib
=== lib/csu/i386-elf
=== lib/libcom_err
=== lib/libcom_err/doc
=== lib/libcrypt
=== lib/msun
=== lib/libmd
=== lib/libncurses
=== lib/libradius
=== lib/libskey
=== lib/libtacplus
=== lib/libutil
=== lib/libsbuf
=== lib/compat
=== lib/libalias
=== lib/libatm
=== lib/libbind
=== lib/libbz2
=== lib/libc
=== lib/libc_r
=== lib/libcalendar
=== lib/libcam
=== lib/libcompat
=== lib/libdevstat
=== lib/libdisk
=== lib/libedit
=== lib/libfetch
=== lib/libform
=== lib/libftpio
=== lib/libipsec
=== lib/libipx
=== lib/libisc
=== lib/libkvm
=== lib/libmenu
=== lib/libmilter
=== lib/libncp
=== lib/libnetgraph
=== lib/libopie
=== lib/libpam
=== lib/libpam/modules
=== lib/libpam/modules/pam_cleartext_pass_ok
=== lib/libpam/modules/pam_deny
=== lib/libpam/modules/pam_opie
=== lib/libpam/modules/pam_opieaccess
=== lib/libpam/modules/pam_permit
=== lib/libpam/modules/pam_radius
=== lib/libpam/modules/pam_skey
=== lib/libpam/modules/pam_ssh
=== lib/libpam/modules/pam_tacplus
=== lib/libpam/modules/pam_unix
=== lib/libpam/libpam
=== lib/libpanel
=== lib/libpcap
=== lib/libposix1e
=== lib/librpcsvc
=== lib/libsm
=== lib/libsmb
=== lib/libsmdb
=== lib/libsmutil
=== lib/libstand
=== lib/libusbhid
=== lib/libvgl
=== lib/libwrap
=== lib/libxpg4
=== lib/liby
=== lib/libz
=== bin
=== bin/cat
=== bin/chio
=== bin/chmod
=== bin/cp
=== bin/date
=== bin/dd
=== bin/df
=== bin/domainname
=== bin/echo
=== bin/ed
=== bin/expr  -- here it is
=== bin/hostname
=== bin/kill
=== bin/ln
=== bin/ls
=== bin/mkdir
=== bin/mv
=== bin/pax
=== bin/ps
=== bin/pwd
=== bin/rcp
=== bin/rm
=== bin/rmdir
=== bin/sh
=== bin/sleep
=== bin/stty
=== bin/sync
=== bin/test
=== bin/csh
=== bin/csh/nls
=== bin/csh/nls/finnish
=== bin/csh/nls/french
=== bin/csh/nls/german
=== bin/csh/nls/greek
=== bin/csh/nls/italian
=== bin/csh/nls/ja
=== bin/csh/nls/russian
=== bin/csh/nls/spanish
=== bin/csh/nls/ukrainian
=== 

Re: sequences or steps of make installworld

2003-06-11 Thread Ruslan Ermilov
On Thu, Jun 12, 2003 at 09:38:35AM +0700, pirat wrote:
 hi sirs,
 
 a few minutes ago, i made installworld on my other machine but error occur at some 
 points in between.  at that point of error, i can do a make, make install manuallyi 
 without any errors.
 
 but i do not know that from that on what the rest are not installed yet.
 
 i have attached a script of make installworld with this mail, an editted one. 
 any helps and hints are welcome and appreciated.
 
FAQ question.  Check the time on the building and installing systems.
make(1) is confised to think that it should rebuild some things we
are not expecting it to do during the install phase of the world.

 --
  Installing everything..
 --
 install -o root -g wheel  -m 444 
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/DESC
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/TR
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/TI
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/TB
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/TBI
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/CR
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/CI
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/CB
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/CBI
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/HR
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/HI
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/HB
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/HBI
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/NR
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/NI
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/NB
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/NBI
  
 /usr/src/gnu/usr.bin/groff/font/devX75-12/../../../../../contrib/groff/font/devX75-12/S
  /usr/share/groff_font/devX75-12
 === gnu/usr.bin/groff/font/devascii
 Making R
 expr: not found
 *** Error code 127


-- 
Ruslan Ermilov  Sysadmin and DBA,
[EMAIL PROTECTED]   Sunbay Software Ltd,
[EMAIL PROTECTED]   FreeBSD committer


pgp0.pgp
Description: PGP signature


Re: [Cerb-list] CerbNG v1.0-RC2 is now avaliable!

2003-06-11 Thread clemens fischer
* Pawel Jakub Dawidek:

 We are proudly announce that CerbNG-1.0 Release Candidate 2 is now
 avaliable.

congratulations!  may i suggest to always include the CVS tag of any
release announced here?  i just tried to make(1) the CVS HEAD on my
freebsd-4.8, but this failed the compilation.

  clemens
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Cerb-list] CerbNG v1.0-RC2 is now avaliable!

2003-06-11 Thread Pawel Jakub Dawidek
On Wed, Jun 11, 2003 at 07:20:26PM +0200, clemens fischer wrote:
+  We are proudly announce that CerbNG-1.0 Release Candidate 2 is now
+  avaliable.
+ 
+ congratulations!  may i suggest to always include the CVS tag of any
+ release announced here?  i just tried to make(1) the CVS HEAD on my
+ freebsd-4.8, but this failed the compilation.

Could you please send any compilation output on cerb mailing list?
Maybe it's just because cerb releases don't needed bison and source
from CVS head branch does.

-- 
Pawel Jakub Dawidek   [EMAIL PROTECTED]
UNIX Systems Programmer/Administrator http://garage.freebsd.pl
Am I Evil? Yes, I Am! http://cerber.sourceforge.net


pgp0.pgp
Description: PGP signature


Re: [Cerb-list] CerbNG v1.0-RC2 is now avaliable!

2003-06-11 Thread clemens fischer
* Pawel Jakub Dawidek:

 On Wed, Jun 11, 2003 at 07:20:26PM +0200, clemens fischer wrote:
 +  We are proudly announce that CerbNG-1.0 Release Candidate 2 is now
 +  avaliable.
 + 
 + congratulations!  may i suggest to always include the CVS tag of any
 + release announced here?  i just tried to make(1) the CVS HEAD on my
 + freebsd-4.8, but this failed the compilation.

 Could you please send any compilation output on cerb mailing list?
 Maybe it's just because cerb releases don't needed bison and source
 from CVS head branch does.

(i have bison installed)  this is what i did:

 1509  cvs up -A
 1510  make clean all install

=== ucerb
cc -O -pipe  -g -Wall -Wno-unused -I. -I/www/src/cerb-ng/ucerb/../kcerb -c -o clang2.o 
clang2.c
In file included from clang2.y:21:
libtree.h:5: y.tab.h: No such file or directory
In file included from clang2.y:21:
libtree.h:8: syntax error before `int'
libtree.h:9: syntax error before `int'
libtree.h:10: syntax error before `expr_list'
libtree.h:11: syntax error before `char'
libtree.h:12: syntax error before `int'
libtree.h:13: syntax error before `int'
libtree.h:14: syntax error before `char'
libtree.h:15: syntax error before `expr'
libtree.h:16: syntax error before `char'
libtree.h:17: syntax error before `char'
libtree.h:18: syntax error before `char'
libtree.h:19: syntax error before `expr'
*** Error code 1

Stop in /www/src/cerb-ng/ucerb.
*** Error code 1

Stop in /www/src/cerb-ng.

  clemens
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]