PDA

Bekijk de volledige versie : problem installing oleg firmware



neroo
23-04-2008, 17:41
Hi,

I have a 500gPremium and a Seagate 160gb SATAI connected to it. the hdd is formated on ext3.
I'm trying to install a oleg firmware but I'm stuck on that point where I should do an fdisk on my HDD... cause I can't see my disk on the system. (either on tmp or dev) either on df command... It is like it wasn't even connected.

I used to work with download master and have access to the disk on my desktop using wifi... but that was with the original firmware.

can somebody help here?

I have follow ALL the steps on the tutorial about HOW TO INSTALL the firmware... so I'm running nearly as factory default too.

newbiefan
23-04-2008, 18:56
You can find your disk under /dev/discs/disc0/

there you can find your partitions.

Just follow the tut....

neroo
23-04-2008, 20:07
but I don't have a /dev/discs...

that's the problem!!!

newbiefan
23-04-2008, 20:28
Try with a usb stick to see that your asus works.
Check usb cable, use an other one if available.
connect your hdd to your pc to see it works.

If your hdd is not recognized, plse post result of:

'top'
'ls /proc/scsi'
'ls /dev/discs/disc0'
'mount'

and your post-boot


With top your can see your running processes, with ls /proc/scsi that your hdd gets recognized of your router, with ls /dev/discs/disc0 that recognized hdd gets integrated in your system and mount shows all your mounted filesystems.

neroo
23-04-2008, 22:07
Try with a usb stick to see that your asus works.
Check usb cable, use an other one if available.
connect your hdd to your pc to see it works.

If your hdd is not recognized, plse post result of:

'top'
'ls /proc/scsi'
'ls /dev/discs/disc0'
'mount'

and your post-boot


With top your can see your running processes, with ls /proc/scsi that your hdd gets recognized of your router, with ls /dev/discs/disc0 that recognized hdd gets integrated in your system and mount shows all your mounted filesystems.



[admin@JUNK root]$ ls /proc/scsi
ls: /proc/scsi: No such file or directory
[admin@JUNK root]$ ls /dev/discs/disc0
ls: /dev/discs/disc0: No such file or directory
[admin@JUNK root]$ mount
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)


that's the result of the commands you asked me to do...


PID USER STATUS RSS PPID %CPU %MEM COMMAND
131 admin R 444 123 0.7 1.4 top
122 admin S 728 113 0.3 2.4 dropbear
3 admin SWN 0 1 0.1 0.0 ksoftirqd_CPU0
1 admin S 632 0 0.0 2.0 init
119 admin S 560 1 0.0 1.8 upnp
72 admin S 552 1 0.0 1.8 nas
123 admin S 548 122 0.0 1.8 sh
68 nobody S 492 1 0.0 1.6 dnsmasq
113 admin S 480 1 0.0 1.5 dropbear
89 admin S 448 1 0.0 1.4 watchdog
111 admin S 440 1 0.0 1.4 udhcpc
62 admin S 428 1 0.0 1.4 httpd
69 admin S 408 1 0.0 1.3 syslogd
70 admin S 364 1 0.0 1.2 klogd
93 admin S 344 89 0.0 1.1 ntp
57 admin S 316 1 0.0 1.0 telnetd
7 admin SW 0 1 0.0 0.0 mtdblockd
2 admin SW 0 1 0.0 0.0 keventd
75 admin SW 0 1 0.0 0.0 khubd
6 admin SW 0 1 0.0 0.0 kupdated
4 admin SW 0 1 0.0 0.0 kswapd
5 admin SW 0 1 0.0 0.0 bdflush


and the top...

I'm skrewed!!!

newbiefan
23-04-2008, 22:25
Do a 'cat /tmp/local/sbin/post-boot'
if the following lines are missing, just insert them with vi:



#!bin/sh
# 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
fi


don't forget to store your post-boot with:


flashfs save && flashfs commit && flashfs enable && reboot


If you don't know how to edit your post-boot just ask.

hope it helps....

neroo
23-04-2008, 22:47
Do a 'cat /tmp/local/sbin/post-boot'
if the following lines are missing, just insert them with vi:



#!bin/sh
# 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
fi


don't forget to store your post-boot with:


flashfs save && flashfs commit && flashfs enable && reboot


If you don't know how to edit your post-boot just ask.

hope it helps....

THANKS!

I did that commands and the HDD suddenly was there!!! :D
I'm formating it right now!!
I will try that script aswell to see if it works.. but only later on the evening... when my brother isn't playing CSS. :\