Hi Ralph,
On Sat, 03 Feb 2007 at 18:18 +0100, Ralph Passgang wrote:
> Am Samstag, 3. Februar 2007 10:29 schrieb Waldemar Brodkorb:
> > Hi,
> >
> > can you provide a ipkg for testers? I think normally external
> > testers like to just install a ipkg and test the functionality.
>
> sure, here it is:
>
> http://packages.debianbase.de/external/scsi-spin_0.9-1_mipsel.ipk
I tried this today with a fresh FreeWRT 1.0 installation on a Asus
WL500g Premium:
[EMAIL PROTECTED]:~# fdisk -l
Disk /dev/scsi/host0/bus0/target0/lun0/disc: 300.0 GB, 300069052416
bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End
Blocks Id System
/dev/scsi/host0/bus0/target0/lun0/part1 1 36481
293033601 83 Linux
[EMAIL PROTECTED]:~# scsi-spin --verbose=2 -d
/dev/scsi/host0/bus0/target0/lun0/disc
cmd = 1b 01 00 00 00 00
SG_IO: status = 0x0 cmd = 0x1b
sense =
Invalid argument
start/stop failed
I have a external 300 GB USB 2.0 disk attached, which is recognized
by usb-storage module.
These ioctl functions are implemented in drivers/scsi/sg.c, which is
not built by default.
With -I i get:
scsi-spin -I -d /dev/scsi/host0/bus0/target0/lun0/disc
scsi-spin: illegal option -- I
With --oldioctl I get exit 0, but disk does not spin down:
scsi-spin --oldioctl -d /dev/scsi/host0/bus0/target0/lun0/disc
[EMAIL PROTECTED]:~#
If i manually load sg.o kernel module, it is funny, it is included
in kmod-usb-storage, but never get loaded automatically (Bug!), I get
the same error message.
Perhaps this would be an alternative solution?
http://de.nntp2http.com/comp/os/unix/linux/misc/2006/08/48646a4c7a352fe5ca787d56db009c81.html
There is an external USB disk in our office at my place on the
window sill. You can use it, if you like to avoid ping-pong-email
games with the testers :}
bye
Waldemar
--
don't open your wrt, free it
http://www.freewrt.org
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers