rendered paste body+ DEVMAP=/var/media/devmap
+ SYSFS=/var/sysfs
+ TIMEOUT=30
+ FTPUID=1000
+ FTPGID=0
+ FIRST=0
+ MSTART=/sbin/start_mediasrv
+ MSTOP=/sbin/stop_mediasrv
+ health_check
+ local DELTA=0
+ date +%s
+ local NOW=1174473286
+ pidof pause
+ local PAUSE=
+ test -z
+ passeeren
+ pidof storage run_mount
+ test 1929 = 1929
+ return
+ test 0 -eq 0
+ lsmod
+ grep usb-storage
+ FIRST=1
+ test 1 -eq 1
+ touch /var/STARTING
+ modprobe sd_mod
SCSI subsystem initialized
+ modprobe usb-storage
Initializing USB Mass Storage driver...
USB Mass Storage device (13fe:1a00) detected...
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 10
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
+ wait4exist /proc/scsi/usb-storage 5
+ local COUNT=0
+ ls /proc/scsi/usb-storage
+ test 0 -ne 5
+ modprobe nls_iso8859-1
+ modprobe nls_cp437
+ modprobe vfat
+ test -d /var/sysfs
+ test -d /var/media/ftp
+ mkdir -p /var/media/ftp
+ touch /var/media/devmap
+ rm /var/STARTING
+ vrijgeven
+ pidof storage run_mount
+ test 1929 != 1929
+ test 1929 != 3216
+ test -f /var/X.3216
+ HOST=
+ DEVPATH=001/010
+ grep Path: 001/010 /proc/scsi/usb-storage/0
+ cat /proc/scsi/usb-storage/0
+ sed -n s/.* scsi\([0-9]*\): usb.*/\1/p
+ HOST=0
+ LOOP=0
+ test 0 -lt 10
+ ls /var/sysfs/block/sd*
+ test 0 -lt 99
+ echo storage: SCSI device not responding!
storage: SCSI device not responding!
+ sleep 1
+ LOOP=1
+ test 1 -lt 10
+ ls /var/sysfs/block/sd*
+ test 1 -lt 99
+ echo storage: SCSI device not responding!
storage: SCSI device not responding!
+ sleep 1
+ LOOP=2
+ test 2 -lt 10
+ ls /var/sysfs/block/sd*
+ test 2 -lt 99
+ echo storage: SCSI device not responding!
storage: SCSI device not responding!
+ sleep 1
+ LOOP=3
+ test 3 -lt 10
+ ls /var/sysfs/block/sd*
+ test 3 -lt 99
+ echo storage: SCSI device not responding!
storage: SCSI device not responding!
+ sleep 1
Vendor: Model: USB DISK 28X Rev: PMAP
Type: Direct-Access ANSI SCSI revision: 00
extract_dst: dev lan no iph found
+ LOOP=4
+ test 4 -lt 10
+ ls /var/sysfs/block/sd*
+ test 4 -lt 99
+ echo storage: SCSI device not responding!
storage: SCSI device not responding!
+ sleep 1
SCSI device sda: 2015232 512-byte hdwr sectors (1032 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 2015232 512-byte hdwr sectors (1032 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
sda: sda1
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
usb-storage: device scan complete
+ LOOP=5
+ test 5 -lt 10
+ ls /var/sysfs/block/sda
+ ls -la /var/sysfs/block/sda/device
+ grep host0/target
+ /etc/hotplug/run_mount 010 /proc/bus/usb/001/010 sda
+ LOOP=99
+ break
+ test 99 -lt 99
+ LOOP=100
+ test 100 -lt 10
+ test 100 -lt 100
Mounting uStor01 to device /dev/sda1...