Hi everyone
I have installed srss 4.2 on debian lenny and came up against the problem
that I generally can't mount usb-sticks.
The same usb-sticks can be mounted on srss 4.1 (on etch, without patch
139550-02)
without any problems.
It seems that, in contrast to srss 4.1, the 'partition'-file:
/tmp/SUNWUT/units/dev/dsk/disk1p1
can't be created. There's only:
/tmp/SUNWUT/units/dev/dsk/disk1
The building of the kernel-modules went fine except for the file
'utdisk.c/h' where
I had to change the 'request_queue_t' struct into 'request_queue'.
An 'strace' cutting of 'utstoraged' looks like this:
==========================================================
[pid 27046] write(2, "ut_mknode: /tmp/SUNWut/units/IEEE"..., 64) = 64
[pid 27046]
unlink("/tmp/SUNWut/units/IEEE802.0003bab00450/dev/dsk/disk1") = -1
ENOENT (No such file or directory)
[pid 27046]
mknod("/tmp/SUNWut/units/IEEE802.0003bab00450/dev/dsk/disk1",
S_IFBLK|0600, makedev(252, 1)) = 0
[pid 27046] gettimeofday({1255090472, 199418}, NULL) = 0
[pid 27046] stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=1892, ...}) = 0
[pid 27046] stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=1892, ...}) = 0
[pid 27046] stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=1892, ...}) = 0
[pid 27046] write(2, "2009.10.09 14:14:32.199418 CEST "..., 32) = 32
[pid 27046] write(2, "ut_chowner: /tmp/SUNWut/units/IEE"..., 65) = 65
[pid 27046]
chown32("/tmp/SUNWut/units/IEEE802.0003bab00450/dev/dsk/disk1", 18004,
0) = 0
[pid 27046]
open("/tmp/SUNWut/units/IEEE802.0003bab00450/devices/u...@1/_,usb_d...@1,ctl",
O_RDWR|O_EXCL) = 9
[pid 27046] clone(Process 27047 attached
child_stack=0xf65b84c4,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0xf65b8bd8, tls=0xf65b8bd8, child_tidptr=0xf6db829c) = 27047
[pid 27046] gettimeofday( <unfinished ...>
[pid 27047] set_robust_list(0xf65b8be0, 0xc <unfinished ...>
[pid 27046] <... gettimeofday resumed> {1255090472, 199858}, NULL) = 0
[pid 27047] <... set_robust_list resumed> ) = 0
[pid 27046] stat64("/etc/localtime", <unfinished ...>
[pid 27047] ioctl(3, 0x5548 <unfinished ...>
[pid 27046] <... stat64 resumed> {st_mode=S_IFREG|0644, st_size=1892,
...}) = 0
[pid 27046] stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=1892, ...}) = 0
[pid 27046] stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=1892, ...}) = 0
[pid 27046] write(2, "2009.10.09 14:14:32.199858 CEST "..., 32) = 32
[pid 27046] write(2, "servicing /tmp/SUNWut/units/IEEE8"..., 109) = 109
[pid 27046] ioctl(9, 0x5546 <unfinished ...>
[pid 27047] <... ioctl resumed> , 0xf65b83ac) = 0
[pid 27047] write(10, "device uid=18004 xid=12 ctlmin=1 "..., 91) = 91
[pid 27047] _exit(0) = ?
Process 27047 detached
[pid 24392] <... poll resumed> ) = 0 (Timeout)
[pid 24392] gettimeofday({1255090482, 207276}, NULL) = 0
[pid 24392] poll([{fd=4, events=POLLIN}, {fd=8, events=POLLIN}], 2,
10000) = 0 (Timeout)
[pid 24392] gettimeofday({1255090492, 217347}, NULL) = 0
[pid 24392] write(8, "UT\0\20\0004\0\0~\r\371\367z\232\5\10"..., 16) = 16
[pid 24392] gettimeofday({1255090492, 217436}, NULL) = 0
[pid 24392] gettimeofday({1255090492, 217460}, NULL) = 0
[pid 24392] poll([{fd=4, events=POLLIN}, {fd=8, events=POLLIN}], 2,
10000) = 0 (Timeout)
[pid 24392] gettimeofday({1255090502, 227549}, NULL) = 0
[pid 24392] poll([{fd=4, events=POLLIN}, {fd=8, events=POLLIN}], 2,
10000) = 1 ([{fd=8, revents=POLLIN}])
[pid 24392] read(8, "UT\0\20"..., 4) = 4
[pid 24392] read(8, "\0004\0\0\0\0\0\0\0\0\0\0"..., 12) = 12
[pid 24392] read(8, 0x93376c0, 4) = -1 EAGAIN (Resource
temporarily unavailable)
[pid 24392] gettimeofday({1255090505, 735793}, NULL) = 0
[pid 24392] poll([{fd=4, events=POLLIN}, {fd=8, events=POLLIN}], 2,
10000) = 0 (Timeout)
[pid 24392] gettimeofday({1255090515, 745896}, NULL) = 0
[pid 24392] write(8, "UT\0\20\0004\0\0~\r\371\367z\232\5\10"..., 16) = 16
[pid 24392] gettimeofday({1255090515, 745975}, NULL) = 0
[pid 24392] gettimeofday({1255090515, 745997}, NULL) = 0
[pid 24392] poll([{fd=4, events=POLLIN}, {fd=8, events=POLLIN}], 2,
10000) = 1 ([{fd=8, revents=POLLIN}])
[pid 24392] read(8, "UT\0\20"..., 4) = 4
[pid 24392] read(8, "\0004\0\0\0\0\0\0\0\0\0\0"..., 12) = 12
[pid 24392] read(8, 0x93376c0, 4) = -1 EAGAIN (Resource
temporarily unavailable)
[pid 24392] gettimeofday({1255090525, 538605}, NULL) = 0
and so on with process 24392......
==========================================================
Any idea?
Thanks in advance
--
Harry Giger
(ISG.EE)
Tel. 27147
Physikstrasse 3 (ETL F22)
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users