flogged11
02-02-2008, 04:06
OK, I'm hoping someone is going to help with this.
I've got a 500Gp and a standard USB2.0 HD.
I followed all the tutorials, but for some reason the Filesystems are coming up screwy.
dmeg:
ehci_hcd 01:03.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 4 ports detected
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
hub.c: connect-debounce failed, port 1 disabled
hub.c: new USB device 01:03.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x67b/0x2506) is not claimed by any active driver
.
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
Linux video capture interface: v1.00
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: ST332062 Model: 0A Rev: 3.AA
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
Partition check:
/dev/scsi/host0/bus0/target0/lun0: p1 p2 p3
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
eth0: no IPv6 routers present
vlan0: no IPv6 routers present
eth1: no IPv6 routers present
br0: no IPv6 routers present
vlan1: no IPv6 routers present
VFS: Can't find ext3 filesystem on dev sd(8,0).
MSDOS FS: Using codepage 950
MSDOS FS: IO charset cp950
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 08:00.
FAT: freeing iocharset=cp950
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 08:00.
VFS: Can't find ext3 filesystem on dev sd(8,1).
MSDOS FS: Using codepage 950
MSDOS FS: IO charset cp950
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 08:01.
FAT: freeing iocharset=cp950
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 08:01.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,2), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Can't find ext3 filesystem on dev sd(8,3).
MSDOS FS: Using codepage 950
MSDOS FS: IO charset cp950
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 08:03.
FAT: freeing iocharset=cp950
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 08:03.
Adding Swap: 257000k swap-space (priority -1)
[admin@NFS bin]$
For the HD Tutorial I did the following
/dev/scsi/host0/bus0/target0/lun0/part1 = 256M for SWAP
/dev/scsi/host0/bus0/target0/lun0/part2 = 768M for OPT
/dev/scsi/host0/bus0/target0/lun0/part3 = 318+ G for share later (unformated)
Discovered that the partitions work better if formatted in Ext3 (or with -j?)
so after I find a few more diffs from the original samba tutorial
1) ipkg.sh vs ipkg
2) wget samba_3.0.28-1_mipsel.ipk
I thought I had it it, but I guess not!
For what ever reason when the ipkg install installs the packages it does not write to the mount/filesystem correctly
The problem is that when I go to start /opt/etc/init.d/S08samba
Output:
> ./S08samba
Starting nmbd:
./S08samba: ./S08samba: 21: /opt/sbin/nmbd: not found
Starting smbd:
./S08samba: ./S08samba: 23: /opt/sbin/smbd: not found
Whenever I try any files in the /opt/bin or sbin they come up as
Output:
[admin@NFS harddisk]$ ./smbget
-sh: ./smbget: not found
I created my own test script, chmod, and it works fine. So I have no idea as to why the other files don't work.
Not sure if it's related but once the file systems are automounted the don't umount even with -f (may not be related)
Come on help me out guys! I'm close here and it's killing me!:confused:
I've got a 500Gp and a standard USB2.0 HD.
I followed all the tutorials, but for some reason the Filesystems are coming up screwy.
dmeg:
ehci_hcd 01:03.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 4 ports detected
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
hub.c: connect-debounce failed, port 1 disabled
hub.c: new USB device 01:03.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x67b/0x2506) is not claimed by any active driver
.
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
Linux video capture interface: v1.00
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: ST332062 Model: 0A Rev: 3.AA
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
Partition check:
/dev/scsi/host0/bus0/target0/lun0: p1 p2 p3
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
eth0: no IPv6 routers present
vlan0: no IPv6 routers present
eth1: no IPv6 routers present
br0: no IPv6 routers present
vlan1: no IPv6 routers present
VFS: Can't find ext3 filesystem on dev sd(8,0).
MSDOS FS: Using codepage 950
MSDOS FS: IO charset cp950
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 08:00.
FAT: freeing iocharset=cp950
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 08:00.
VFS: Can't find ext3 filesystem on dev sd(8,1).
MSDOS FS: Using codepage 950
MSDOS FS: IO charset cp950
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 08:01.
FAT: freeing iocharset=cp950
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 08:01.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,2), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Can't find ext3 filesystem on dev sd(8,3).
MSDOS FS: Using codepage 950
MSDOS FS: IO charset cp950
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 08:03.
FAT: freeing iocharset=cp950
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 08:03.
Adding Swap: 257000k swap-space (priority -1)
[admin@NFS bin]$
For the HD Tutorial I did the following
/dev/scsi/host0/bus0/target0/lun0/part1 = 256M for SWAP
/dev/scsi/host0/bus0/target0/lun0/part2 = 768M for OPT
/dev/scsi/host0/bus0/target0/lun0/part3 = 318+ G for share later (unformated)
Discovered that the partitions work better if formatted in Ext3 (or with -j?)
so after I find a few more diffs from the original samba tutorial
1) ipkg.sh vs ipkg
2) wget samba_3.0.28-1_mipsel.ipk
I thought I had it it, but I guess not!
For what ever reason when the ipkg install installs the packages it does not write to the mount/filesystem correctly
The problem is that when I go to start /opt/etc/init.d/S08samba
Output:
> ./S08samba
Starting nmbd:
./S08samba: ./S08samba: 21: /opt/sbin/nmbd: not found
Starting smbd:
./S08samba: ./S08samba: 23: /opt/sbin/smbd: not found
Whenever I try any files in the /opt/bin or sbin they come up as
Output:
[admin@NFS harddisk]$ ./smbget
-sh: ./smbget: not found
I created my own test script, chmod, and it works fine. So I have no idea as to why the other files don't work.
Not sure if it's related but once the file systems are automounted the don't umount even with -f (may not be related)
Come on help me out guys! I'm close here and it's killing me!:confused: