NSLU2-Linux
view · edit · print · history

FAQ.DiskNotRecognized History

Hide minor edits - Show changes to markup

June 08, 2008, at 02:41 PM by Geo -- Same Error
Changed lines 109-113 from:

I have a LaCie? 500GB HDD I bought with my NSLU2 just a couple of days ago (Jan 2008). From time to time the NSLU2 does not recognize the disk - only the ethernet light is on. This happens also when I boot without the HDD attached and then try to plug it in. Both USB_Detect processes are running! Solution: Power off NSLU2. Then Power off the hard disk (it does not have a button just plug the HDD out) and then reboot with the HDD attached - very strange. This happens with Unslung V2.3R63-uNSLUng-6.10-beta and original Linksys firmware v23RA5. I will try to investigate further...

to:

I have a LaCie? 500GB HDD I bought with my NSLU2 just a couple of days ago (Jan 2008). From time to time the NSLU2 does not recognize the disk - only the ethernet light is on. This happens also when I boot without the HDD attached and then try to plug it in. Both USB_Detect processes are running! Solution: Power off NSLU2. Then Power off the hard disk (it does not have a button just plug the HDD out) and then reboot with the HDD attached - very strange. This happens with Unslung V2.3R63-uNSLUng-6.10-beta and original Linksys firmware v23RA5. I will try to investigate further...


I too had a similar issue whilst using OpenSlug, in which USB flashdrives and HDDs? wouldn't be recognised on boot or when plugged in - in the end, I was getting ready to return it to Linksys, having assumed the USB ports had gone, but following http://www.nslu2-linux.org/wiki/HowTo/ResetSysConf completely fixed the issue, so if you're not getting any USB activity out of your slug, you might want to try that before giving up!

January 14, 2008, at 08:08 PM by Ioannis Angelopoulos --
Added lines 107-109:

I have a LaCie? 500GB HDD I bought with my NSLU2 just a couple of days ago (Jan 2008). From time to time the NSLU2 does not recognize the disk - only the ethernet light is on. This happens also when I boot without the HDD attached and then try to plug it in. Both USB_Detect processes are running! Solution: Power off NSLU2. Then Power off the hard disk (it does not have a button just plug the HDD out) and then reboot with the HDD attached - very strange. This happens with Unslung V2.3R63-uNSLUng-6.10-beta and original Linksys firmware v23RA5. I will try to investigate further...

August 08, 2007, at 02:24 PM by fcarolo -- removed false wikilinks
Changed lines 81-82 from:

I had the SLUG lock up sometime around midnite (two different days). It is running V2.3R63-uNSLUng-6.8-beta on a 60GB Maxtor USB2?, with NTPCLIENT, VSFTPD, and BUSYBOX optware installed, and running at 266mhz. I also have a smb mount point from a windows workstation. Both times the system lost the ability to show 'date', 'who', 'uptime', 'ls' or any other command. I rebooted (power cycle), and it was unable to boot from the disk, and the disk was not connected (led out). I was able to finally get the system to boot from the system, using this method, without re-unslinging:

to:

I had the SLUG lock up sometime around midnite (two different days). It is running V2.3R63-uNSLUng-6.8-beta on a 60GB Maxtor USB2, with NTPCLIENT, VSFTPD, and BUSYBOX optware installed, and running at 266mhz. I also have a smb mount point from a windows workstation. Both times the system lost the ability to show 'date', 'who', 'uptime', 'ls' or any other command. I rebooted (power cycle), and it was unable to boot from the disk, and the disk was not connected (led out). I was able to finally get the system to boot from the system, using this method, without re-unslinging:

Changed line 90 from:
 8) type 'mount -t ext3 /dev/sda1 /mnt/tmpmnt'  (For USB2? disk)
to:
 8) type 'mount -t ext3 /dev/sda1 /mnt/tmpmnt' (For USB2 disk)
Deleted line 106:
August 05, 2007, at 11:27 PM by netspec99 --
Changed lines 92-93 from:

10) type 'ls /mnt/tmpmnt' (see if your files are here, may take awhile) 11) type 'umount /mnt/tmpmnt' (may take awhile)

to:
 10) type 'ls /mnt/tmpmnt' (see if your files are here, may take awhile)
 11) type 'umount /mnt/tmpmnt' (may take awhile)
Changed lines 95-104 from:

12) type 'mount -t ext3 /dev/sda1 /share/flash/data' 13) type 'mount -t ext3 /dev/sda1 /share/flash/conf' 14) type 'df' (The mount points should show up) 15) type 'ls /share/flash/data' (Files still here, right?) Ok, perhaps the disk is bonked and needs a 'scandisk' 16) type 'fsck.ext3 -y -f -v /dev/sda1' (Clean this disk up, fix inodes, force updates) You may see a bunch of items that get fixed. Hopefully it corrects your problem. 17) type 'df' (the disk should still be here) 18) Finally, perform a GUI reboot. All should be well. If not, you may have other problems.

to:
 12) type 'mount -t ext3 /dev/sda1 /share/flash/data'
 13) type 'mount -t ext3 /dev/sda1 /share/flash/conf'
 14) type 'df' (The mount points should show up)
 15) type 'ls /share/flash/data' (Files still here, right?)
 Ok, perhaps the disk is bonked and needs a 'scandisk'
 16) type 'fsck.ext3 -y -f -v /dev/sda1' (Clean this disk up, fix inodes, force updates)
 You may see a bunch of items that get fixed. Hopefully it corrects your problem.
 17) type 'df' (the disk should still be here)
 18) Finally, perform a GUI reboot. All should be well. If not, you may have other problems.
August 05, 2007, at 11:26 PM by netspec99 -- Fix Missing disk using mount and fsck.ext3
Changed lines 77-107 from:

really thanks this page, the solution one works for me. I delete the usb_det.pid file, and reboot, then everything is okays now, my flash disk(FAT) now recognized in port 2. My version is V2.3R29-uNSLUng-5.5-beta. Without this solution, I have to manually telnet to the box, manually mount, edit smb.conf, and restart samba. (For the time being, I have no root disk yet)

to:

really thanks this page, the solution one works for me. I delete the usb_det.pid file, and reboot, then everything is okays now, my flash disk(FAT) now recognized in port 2. My version is V2.3R29-uNSLUng-5.5-beta. Without this solution, I have to manually telnet to the box, manually mount, edit smb.conf, and restart samba. (For the time being, I have no root disk yet)


I had the SLUG lock up sometime around midnite (two different days). It is running V2.3R63-uNSLUng-6.8-beta on a 60GB Maxtor USB2?, with NTPCLIENT, VSFTPD, and BUSYBOX optware installed, and running at 266mhz. I also have a smb mount point from a windows workstation. Both times the system lost the ability to show 'date', 'who', 'uptime', 'ls' or any other command. I rebooted (power cycle), and it was unable to boot from the disk, and the disk was not connected (led out). I was able to finally get the system to boot from the system, using this method, without re-unslinging:

 1) Shut NSLU2 Down
 2) Switch off USB disk and disconnect USB cable
 3) Turn on NSLU2
 4) Enable Telnet
 5) Login with Root
 6) Perform 'df' to see what is mounted
 7) type 'sh'
 8) type 'mount -t ext3 /dev/sda1 /mnt/tmpmnt'  (For USB2? disk)
 9) type 'df' see what got mounted

10) type 'ls /mnt/tmpmnt' (see if your files are here, may take awhile) 11) type 'umount /mnt/tmpmnt' (may take awhile)

 The GUI showed that the disk was not formatted. But it was and should be.

12) type 'mount -t ext3 /dev/sda1 /share/flash/data' 13) type 'mount -t ext3 /dev/sda1 /share/flash/conf' 14) type 'df' (The mount points should show up) 15) type 'ls /share/flash/data' (Files still here, right?) Ok, perhaps the disk is bonked and needs a 'scandisk' 16) type 'fsck.ext3 -y -f -v /dev/sda1' (Clean this disk up, fix inodes, force updates) You may see a bunch of items that get fixed. Hopefully it corrects your problem. 17) type 'df' (the disk should still be here) 18) Finally, perform a GUI reboot. All should be well. If not, you may have other problems.

This worked for me. Not sure why the disk gets boogered, perhaps it is the cron jobs to get the dyndns.org address, or the smbmount. Good Luck.

June 19, 2007, at 03:58 PM by fcarolo -- removed false wikilinks
Changed lines 61-62 from:

I have a Western Digital MyBook? Essential 500GB I bought with my NSLU2 in Nov 2006. From time to time the NSLU2 just does not boot up - only the ethernet light is on and the slug freezes - I have to unplug the power connector. Then it boots up normaly again - very strange. This happens with Unslung 6.8 and original Linksys firmware v23RA5. - Anguel Stankov

to:

I have a Western Digital MyBook Essential 500GB I bought with my NSLU2 in Nov 2006. From time to time the NSLU2 just does not boot up - only the ethernet light is on and the slug freezes - I have to unplug the power connector. Then it boots up normaly again - very strange. This happens with Unslung 6.8 and original Linksys firmware v23RA5. - Anguel Stankov

Changed lines 65-66 from:

I also have a Western Digital MyBook? Essential 500GB, one in this case, and had problems unslinging to disk1. I had formatted the drive with the original LinkSys? firmware. When I tried to unsling the disk was detected properly, but had the wrong size. Mounting it with mount /dev/sdb1 gave the correct size, but the unsling script reported that the drive was not formatted correctly. Reformatting the drive from the NSLU Admin page did not fix this (seems to be some kind of quickformat). So I connected the drive to my Windows PC, removed all partitions from it, and created a new NTFS partition. Next, I connected it to the slug again as described in the unsling procedure. Next, I formatted it from the web page. Now the unsling script worked fine. Note: if you follow this procedure, make sure you have no data on your disk!

to:

I also have a Western Digital MyBook Essential 500GB, one in this case, and had problems unslinging to disk1. I had formatted the drive with the original Linksys firmware. When I tried to unsling the disk was detected properly, but had the wrong size. Mounting it with mount /dev/sdb1 gave the correct size, but the unsling script reported that the drive was not formatted correctly. Reformatting the drive from the NSLU Admin page did not fix this (seems to be some kind of quickformat). So I connected the drive to my Windows PC, removed all partitions from it, and created a new NTFS partition. Next, I connected it to the slug again as described in the unsling procedure. Next, I formatted it from the web page. Now the unsling script worked fine. Note: if you follow this procedure, make sure you have no data on your disk!

June 18, 2007, at 02:45 PM by xiangz --
Added lines 76-77:

really thanks this page, the solution one works for me. I delete the usb_det.pid file, and reboot, then everything is okays now, my flash disk(FAT) now recognized in port 2. My version is V2.3R29-uNSLUng-5.5-beta. Without this solution, I have to manually telnet to the box, manually mount, edit smb.conf, and restart samba. (For the time being, I have no root disk yet)

June 18, 2007, at 08:35 AM by seniorsimon -- Added detail for flash drive users. Titled the two solutions
Added lines 12-13:

Solution 1 - Quick, disk data is unchanged.

Changed lines 24-25 from:
to:

Solution 2 - Requires a new unsling, may stop some things working.

Added lines 66-75:

I am running Unslung 6.8 from a 1Gb Flash Drive. One day the slug stopped responding to ssh logins so I checked and found i was running from internal flash.

I used solution 1, but didn't find a /var.state/run/ folder.

After that, rebooted with the flash drive in again and everything was ok. The only thing I had to do was manually restart the ssh service once the slug had rebooted.

April 14, 2007, at 02:31 PM by Andreas --
Added lines 59-62:

_______________________________________________________________________

I also have a Western Digital MyBook? Essential 500GB, one in this case, and had problems unslinging to disk1. I had formatted the drive with the original LinkSys? firmware. When I tried to unsling the disk was detected properly, but had the wrong size. Mounting it with mount /dev/sdb1 gave the correct size, but the unsling script reported that the drive was not formatted correctly. Reformatting the drive from the NSLU Admin page did not fix this (seems to be some kind of quickformat). So I connected the drive to my Windows PC, removed all partitions from it, and created a new NTFS partition. Next, I connected it to the slug again as described in the unsling procedure. Next, I formatted it from the web page. Now the unsling script worked fine. Note: if you follow this procedure, make sure you have no data on your disk!

November 30, 2006, at 11:12 PM by Anguel Stankov -- WD Essential 500GB Problem
Changed lines 56-58 from:
to:

I have a Western Digital MyBook? Essential 500GB I bought with my NSLU2 in Nov 2006. From time to time the NSLU2 just does not boot up - only the ethernet light is on and the slug freezes - I have to unplug the power connector. Then it boots up normaly again - very strange. This happens with Unslung 6.8 and original Linksys firmware v23RA5. - Anguel Stankov

July 18, 2006, at 08:29 PM by KM -- Drive not mounted when unslings with 6.8
Changed lines 52-56 from:
to:

_______________________________________________________________________

I had a similar problem when trying to initially unsling to drive 1 using 6.8 as I have 2 natively formated drives. I had to telnet into the slug and manually mount /dev/sdb1 and /dev/sdb2 before I was able to unsling my SLUG. Prior to this my slug was showing the drive in the GUI with the wrong size but correct EXT format and would fail trying to unsling. I would receive errors that the drive was not mounted. After mounting the drives the GUI showed the correct size and everything went well after that.

June 05, 2006, at 08:50 PM by Seab Butler --
Added line 40:
Added line 42:
Added line 44:
Added line 46:
Added line 49:
June 05, 2006, at 08:49 PM by Seab Butler -- Fix for similar but different problem
Changed lines 30-47 from:

Thanks to http://groups.yahoo.com/group/nslu2-linux/message/10837

to:

Thanks to http://groups.yahoo.com/group/nslu2-linux/message/10837


I had very similar symptoms on disk2 only (unslung 5.5). Tried the above steps with no luck, even though USB_Detect was not running.

With help from folks at the IRC channel we found that the directories /share/flash/data and /share/flash/conf were missing. To fix:

mkdir /share/flash/data mkdir /share/flash/conf chown admin:everyone /share/flash/data chmod 755 /share/flash/conf chmod 775 /share/flash/data

I then manually mounted the drive partitions and it looked good. I rebooted and they were automatically mounted and working.

January 19, 2006, at 03:20 PM by cwebb -- Another workaround
Added lines 21-30:

This worked for me:

  • reboot the slug with no drives
  • telnet in and remove the "/.unslung" and "/.sd??root" files on the internal flash
  • reboot once again
  • telnet in again, attach the external flash drive, and "unsling" it again.
  • reboot with the flash drive attached; all should be well this time.

Thanks to http://groups.yahoo.com/group/nslu2-linux/message/10837

January 10, 2006, at 03:40 PM by mda --
Changed lines 1-2 from:
to:
January 09, 2006, at 04:12 PM by mda --
Added lines 1-2:
January 09, 2006, at 03:46 PM by mda -- note that /var.state/run needs checking too
Added line 10:
  • if USB_Detect is running this will probably not help. If you encounter that and find a solution, please mention it here.
Changed lines 13-17 from:
  • remove this file and reboot

Good luck.

PS: if USB_Detect is running this will probably not help. If you encounter that and find a solution, please mention it here.

to:
  • remove this file. do the same in /var.state/run/ if it has a usb_det.pid
  • reboot
August 28, 2005, at 10:17 PM by effem -- created
Added lines 1-16:

Symptoms:

  • Your NSLU2 does not boot from the hard disk any more and the top light stays off.
  • If you boot without a disk and connect a disk it is not automatically recognized or mounted

Do the following:

  • boot the NSLU2 without a disk
  • login as root (root/uNSLUng if you use the standard password)
  • check if there are two processes running with the name USB_Detect
  • if not, go to /var/run
  • in this dir there is a file called usb_det.pid; it probably has an older date than the other files in the dir
  • remove this file and reboot

Good luck.

PS: if USB_Detect is running this will probably not help. If you encounter that and find a solution, please mention it here.

view · edit · print · history · Last edited by Geo.
Based on work by Ioannis Angelopoulos, fcarolo, netspec99, xiangz, seniorsimon, Andreas, Anguel Stankov, KM, Seab Butler, cwebb, and mda.
Originally by effem.
Page last modified on June 08, 2008, at 02:41 PM