Kevin Cozens wrote:
>Show us the lines you are using in rcS.sysinit to run the rc.local file. If
Here is the complete listing of rcS.sysinit
rcS.sysinit listint
#!/bin/sh
else
LOGLEVEL=1
fi
/sbin/dmesg -n $LOGLEVEL
fi
##### syslog and klogd are started invoked by executing an rc directory
#set system clock here
if [ -f /proc/driver/rtc ]; then
echo "setting system clock"
/sbin/hwclock -s
date
fi
if [ -f /www/apache/logs/httpd.pid ]; then
rm -f /www/apache/logs/httpd.pid
fi
THIS IS WHERE MY RC.LOCAL ADDED
if
test -x /etc/rc.d/rc.local; then
/etc/rc.d/rc.local
fi
>If you type "/etc/rc.d/rc.local" at a command prompt, does it mount the USB
>pendrive?
Yes it mounts the pendrive without any problem
from the boot message i infer that the usb device is not detected when
rc.local is executed
below is the boot messages
nitializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
Using /lib/modules/2.4.26-ts11/kernel/drivers/video/videodev.o
Linux video capture interface: v1.00
Using /lib/modules/2.4.26-ts11/kernel/drivers/video/spca5xx.o
hub.c: new USB device not_pci-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x46d/0x928) is not claimed by any active
driver.
usb.c: registered new driver spca5xx
drivers/usb/spca5xx.c: USB SPCA5XX camera found.Logitech QuickCam Express
II(SPCA561A)
drivers/usb/spca5xx.c: [spca5xx_probe:5485] Camera type S561
drivers/usb/spca5xx.c: [spca5xx_getcapability:1767] maxw 352 maxh 288 minw
160 minh 10
drivers/usb/spca5xx.c: spca5xx driver 00.60.00.1 registered
Using /lib/modules/2.4.26-ts11/kernel/drivers/video/fbgen.o
Using /lib/modules/2.4.26-ts11/kernel/drivers/video/fbcon-cfb16.o
Using /lib/modules/2.4.26-ts11/kernel/drivers/video/ts7kvfb.o
TS7KV board was not found or firmware not loaded!
insmod: init_module: ts7kvfb: Operation not permitted
>>>>>>>>>>>>>
UPTO HERE ALL THE MODLUES ARE LOADED FORM RC.LOCAL
>>>>>>>>>>>>>>
mount: special device /dev/scsi/host0/bus0/target0/lun0/part1 does not exist
>>>>>>>>>>>>>>>>>..
HERE MY USB PENDRIVE IS NOT REGOGNISED
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
ONLY IN THE FOLLOWING USB DRIVE IS DETECTED
WHY THIS DELAY??
>>>>>>>>>>>>>>>>>>>>>>>>>
INIT: Entering runlevel: 3
hub.c: new USB device not_pci-3, assigned address 3
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: SanDisk Model: Cruzer Micro Rev: 0.3
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 1000944 512-byte hdwr sectors (512 MB)
sda: Write Protect is off
Partition check:
/dev/scsi/host0/bus0/target0/lun0:Setting host p1name....
Bringing up interface eth0..
Bringing up interface lo..
setting kernel IP routing tables
Starting portmap...
Starting INETD...
IF I MOUNT THE USB NOW AFTER THE LOGIN IT IS MOUNTED
THANKS IN ADVANCE
-laks
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|