Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

USB Dual Bay Dock Won't Mount Both HDs
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
USB Dual Bay Dock Won't Mount Both HDs
31st Aug, 2013, 04:07 AM
Post: #13
weekend Offline
Registered
Posts: 1
Joined: Aug 2013
Reputation: 0
RE: USB Dual Bay Dock Won't Mount Both HDs
I have the exact same problem but the fix doesn't work for me. The versions of the files above have since changed so I couldn't test with those and had to take the ones currently on your server.
After searching if I could fix it myself it seems that CONFIG_SCSI_MULTI_LUN=y has to be set. (it isn't in https://github.com/xbianonpi/xbian-patches/blob/master/kernel/.config and I assume that is one of the changes you made)
I compiled the kernel following the instructions at https://github.com/xbianonpi/xbian/wiki/Compiling-the-Linux-kernel-&-Raspberry-Pi-firmware and changed that setting. After some fooling around (and messing up the filesystem on the SD in such a way that plugging it into my laptop caused it to crash O.O) I got the fresh kernel working just fine but it still wouldn't create the second device.
In the end I just did it manually which seems like a good enough work around for now although a more permanent solution would be nice.

# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HDD Model: Rev: 1234
Type: Direct-Access ANSI SCSI revision: 05

# echo "scsi add-single-device 0 0 0 1" > /proc/scsi/scsi

# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HDD Model: Rev: 1234
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 00 Lun: 01
Vendor: HDD Model: Rev: 1234
Type: Direct-Access ANSI SCSI revision: 05

The device is now usable and shows up in /dev

Lessons learned:
CONFIG_SCSI_MULTI_LUN=y should probably be set.
Creating a backup of your SD is a lot less painful than filling in a 50 char wifi password 6 times in a day.
Same bug exists in raspbmc and in my quest to fix it I found I like xbian more than raspbmc or openelec.

Special thanks to the xbian dev's and especially mk01, I would have never given xbian a chance if it wasn't for the existing bug report and quick reply about this issue.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
USB Dual Bay Dock Won't Mount Both HDs - adt1340 - 13th Aug, 2013, 07:13 AM
RE: USB Dual Bay Dock Won't Mount Both HDs - mk01 - 13th Aug, 2013, 09:39 AM
RE: USB Dual Bay Dock Won't Mount Both HDs - adt1340 - 13th Aug, 2013, 01:31 PM
RE: USB Dual Bay Dock Won't Mount Both HDs - mk01 - 13th Aug, 2013, 01:38 PM
RE: USB Dual Bay Dock Won't Mount Both HDs - adt1340 - 13th Aug, 2013, 03:40 PM
RE: USB Dual Bay Dock Won't Mount Both HDs - mk01 - 13th Aug, 2013, 04:25 PM
RE: USB Dual Bay Dock Won't Mount Both HDs - adt1340 - 14th Aug, 2013, 03:04 AM
RE: USB Dual Bay Dock Won't Mount Both HDs - mk01 - 14th Aug, 2013, 03:28 AM
RE: USB Dual Bay Dock Won't Mount Both HDs - adt1340 - 14th Aug, 2013, 01:35 PM
RE: USB Dual Bay Dock Won't Mount Both HDs - mk01 - 14th Aug, 2013, 05:29 PM
RE: USB Dual Bay Dock Won't Mount Both HDs - adt1340 - 15th Aug, 2013, 01:33 PM
RE: USB Dual Bay Dock Won't Mount Both HDs - mk01 - 15th Aug, 2013, 06:56 PM
RE: USB Dual Bay Dock Won't Mount Both HDs - weekend - 31st Aug, 2013 04:07 AM
RE: USB Dual Bay Dock Won't Mount Both HDs - mk01 - 3rd Sep, 2013, 11:00 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 12th Jun, 2025, 05:48 PM Powered By MyBB, © 2002-2025 MyBB Group.