You could try setting up the drive's partitions from within Oleg's firmware, but that would make you lose any data that is currently on your drive.
Code:fdisk /dev/scsi/host0/bus0/target0/lun0/disc mke2fs -j /dev/scsi/host0/bus0/target0/lun0/part1
I've got two ext2 partitions on my harddisk, work fine with ASUS firmware but OLEG does not seem to find them. I've searched this forum but found nothing. What to do?
Here's a part of the log:
Jan 1 01:00:07 kernel: Vendor: Maxtor Model: 3200 Rev: 0341
Jan 1 01:00:07 kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 1 01:00:07 kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Jan 1 01:00:07 kernel: SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
Jan 1 01:00:07 kernel: Partition check:
Jan 1 01:00:07 kernel: p1 p2
Jan 1 01:00:07 kernel: USB Mass Storage support registered.
Jan 1 01:00:17 kernel: VFS: Can't find ext3 filesystem on dev sd(8,0).
Jan 1 01:00:17 kernel: MSDOS FS: Using codepage 950
Jan 1 01:00:17 kernel: MSDOS FS: IO charset cp950
Jan 1 01:00:17 kernel: FAT: bogus logical sector size 22278
Jan 1 01:00:17 kernel: VFS: Can't find a valid FAT filesystem on dev 08:00.
Jan 1 01:00:17 kernel: FAT: freeing iocharset=cp950
Jan 1 01:00:17 kernel: FAT: bogus logical sector size 22278
Jan 1 01:00:17 kernel: VFS: Can't find a valid FAT filesystem on dev 08:00.
Jan 1 01:00:17 kernel: ext3: No journal on filesystem on sd(8,1)
Jan 1 01:00:17 kernel: MSDOS FS: Using codepage 950
Jan 1 01:00:17 kernel: MSDOS FS: IO charset cp950
Jan 1 01:00:17 kernel: FAT: bogus logical sector size 63222
Jan 1 01:00:17 kernel: VFS: Can't find a valid FAT filesystem on dev 08:01.
Jan 1 01:00:17 kernel: FAT: freeing iocharset=cp950
Jan 1 01:00:17 kernel: FAT: bogus logical sector size 63222
Jan 1 01:00:17 kernel: VFS: Can't find a valid FAT filesystem on dev 08:01.
Jan 1 01:00:17 kernel: ext3: No journal on filesystem on sd(8,2)
Jan 1 01:00:17 kernel: MSDOS FS: Using codepage 950
Jan 1 01:00:17 kernel: MSDOS FS: IO charset cp950
Jan 1 01:00:17 kernel: FAT: bogus logical sector size 63222
Jan 1 01:00:17 kernel: VFS: Can't find a valid FAT filesystem on dev 08:02.
Jan 1 01:00:17 kernel: FAT: freeing iocharset=cp950
Jan 1 01:00:17 kernel: FAT: bogus logical sector size 63222
Jan 1 01:00:17 kernel: VFS: Can't find a valid FAT filesystem on dev 08:02.
You could try setting up the drive's partitions from within Oleg's firmware, but that would make you lose any data that is currently on your drive.
Code:fdisk /dev/scsi/host0/bus0/target0/lun0/disc mke2fs -j /dev/scsi/host0/bus0/target0/lun0/part1
Did you try to mount your harddisc manually? If I plug my USB HDD (partition 1: VFAT, 2: Swap, 3: ext3) or a ext3 formatted USB stick in my WL500GP I get precisely the same messages. Anyway, if I try to mount the partition manually, this works without problems.
If this works you could just add the following to your /usr/local/sbin/post-boot script:
This activates the swap partition and mounts the harddisc to the /opt directory. Works perfectly for me.Code:# test if USB disc has been attached # if not - then insert needed modules if [ ! -d /dev/discs ] then insmod scsi_mod && insmod sd_mod && insmod usb-storage && sleep 5s fi #Wait for /opt to mount mount /dev/discs/disc0/part3 /opt i=0 while [ $i -le 30 ] do if [ -d /opt/etc ] then break fi sleep 1 i=`expr $i + 1` done # Activate swap swapon /dev/discs/disc0/part2
Had the same problem after upgrading to Olegs firm.
Solved it by pluging the USB disk into a linux box and created a journal
(ext3 = ext2 + journal)
For example, if the USB disk is assigned to the device (/dev/sdb1) when pluged into a linux box, then the command for journal creation is:
tune2fs -j /dev/sdb1
perfectly safe (no data is lost in the process).
Last edited by xpto.xpto; 13-12-2006 at 20:53.