Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Mon Jun 18, 2018 8:27 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 39 posts ]  Go to page Previous 1 2 3 Next
Author Message
PostPosted: Sat Jul 30, 2011 10:41 pm 
Offline
Newbie

Joined: Thu Jul 28, 2011 8:27 am
Posts: 12
I had to add assembly of md14. But I can see it there being added by the scan in step 62. So I suspect I had finger trouble.
The script to help build a kernel would be sweet. I thought I'd give iSCSI a go but the modules aren't there. So I tried lvm2, same thing. I've compiled loads of kernels and Grub on the Gentoo box, but couldn't face that after finally getting the NAS working via NFSv3 at least.
I'm worried about killing the boot compiling the stock Armel Debian (can it really be that easy?). I could disconnect a drive and use your boot-from-sdb script. But a proven script would be even better.


Top
   
PostPosted: Mon Aug 01, 2011 3:18 am 
Offline
Newbie

Joined: Wed Oct 07, 2009 12:00 am
Posts: 48
Script posted here...
http://forum.buffalo.nas-central.org/viewtopic.php?f=61&t=23793


Top
   
PostPosted: Thu Aug 11, 2011 10:38 am 
Offline
Newbie

Joined: Sun Mar 13, 2011 5:07 pm
Posts: 15
Hi there!
Maybe mine is a stupid question but i'll try anyway :P
Once Debian 6.0 is installed, is there a way to have the original web interface? I like that one, is clean and simple.
I would install Debian 6.0 because i want to add some other daemons (like amule and some utility i've developed) and have the original interface.
Is there any way ? or...is there any plan to develop a personalized interface here in the forum?

Many thanks!


Top
   
PostPosted: Fri Aug 12, 2011 3:49 am 
Offline
Newbie

Joined: Wed Oct 07, 2009 12:00 am
Posts: 48
The original web interface was developed by Buffalo Technologies.
If the source code is available, then you could certainly compile it and try it out.
However, it will likely require a lot of work since it was not designed to work that way.

What is it about the original Buffalo web interface that you want to preserve?
There are likely Debian packages that will do the same job.

For example, I am running a file server (samba), an FTP server (vsftpd), a DLNA-compliant media server (mediatomb), a proxy server (squid), a web server (apache2), and a web-based administration tool (webmin). I don't run a print server, but if you need that feature, I'm pretty sure there is a package for it.

michelinok wrote:
Hi there!
Maybe mine is a stupid question but i'll try anyway :P
Once Debian 6.0 is installed, is there a way to have the original web interface? I like that one, is clean and simple.
I would install Debian 6.0 because i want to add some other daemons (like amule and some utility i've developed) and have the original interface.
Is there any way ? or...is there any plan to develop a personalized interface here in the forum?

Many thanks!


Top
   
PostPosted: Sat Aug 13, 2011 10:09 am 
Offline
Newbie

Joined: Sun Mar 13, 2011 5:07 pm
Posts: 15
Thanks rpinchbeck, didn't know anything about webmin 'till now! It's a great interface and i'll try to study it as much as possible (my idea is to develop some plugins to control my selfmade usb lcd screen).

Thanks a lot, until there will be no way to restore the original firmware without opening the case i must wait for the warranty to finish (2 years...and i've the nas since march...seems to much for me).


Top
   
PostPosted: Sun Aug 14, 2011 2:44 pm 
Offline
Newbie

Joined: Sun Mar 13, 2011 5:07 pm
Posts: 15
Quick question...
If I want to revert back to the stock firmware, why should i mount the 2 hdd on a pc and delete the partitions? Isn't it possibile to do a simple:

cat /dev/zero > /dev/sda & cat /dev/zero > /dev/sdb

or something like this:

dd if=/dev/zero of=/dev/sda bs=32768 count=1
dd if=/dev/zero of=/dev/sdb bs=32768 count=1

(disabling swap) within the running system then turn off and continue the steps?


Top
   
PostPosted: Sun Aug 14, 2011 4:54 pm 
Offline
Newbie

Joined: Wed Oct 07, 2009 12:00 am
Posts: 48
After running these commands, I was able to revert to stock firmware without opening the device...
Code:
swapoff -a
dd if=/dev/zero of=/dev/sda bs=512 count=1
dd if=/dev/zero of=/dev/sdb bs=512 count=1
sync

These commands erase just the master boot record (including the partition table) of both drives.

Wiki updated accordingly...
http://buffalo.nas-central.org/wiki/Rev ... k_Firmware


Top
   
PostPosted: Sun Aug 14, 2011 6:31 pm 
Offline
Newbie

Joined: Sun Mar 13, 2011 5:07 pm
Posts: 15
rpinchbeck wrote:
After running these commands, I was able to revert to stock firmware without opening the device...
Code:
swapoff -a
dd if=/dev/zero of=/dev/sda bs=512 count=1
dd if=/dev/zero of=/dev/sdb bs=512 count=1
sync

These commands erase just the master boot record (including the partition table) of both drives.

Wiki updated accordingly...
http://buffalo.nas-central.org/wiki/Rev ... k_Firmware


So....finally we will never loose the warranty right?!?!?!?! Great! (sometimes i have strange ideas...i'm a semi-total-linux-noob :p ) :biglol: :biglol: :biglol: :biglol:


Top
   
PostPosted: Sun Aug 14, 2011 6:46 pm 
Offline
Newbie

Joined: Sun Mar 13, 2011 5:07 pm
Posts: 15
OMG! I've just checked and my linkstation mini is....LS-WSX1.0TL/R1 ...no way to install debian 6.0?


Top
   
PostPosted: Sun Aug 14, 2011 11:20 pm 
Offline
Newbie

Joined: Wed Oct 07, 2009 12:00 am
Posts: 48
The LS-WSX models employ Marvell's Kirkwood hardware. The Debian system that I developed for the wiki only works with Marvell's Orion hardware (LS-WSxxxxGL models).

There appear to be some folks who installed Debian on Kirkwood successfully (using the Buffalo supplied kernel)...
http://forum.buffalo.nas-central.org/viewtopic.php?f=68&t=22156
http://forum.buffalo.nas-central.org/viewtopic.php?f=61&t=21954

I only have the LS-WSGL model for testing. Unfortunately, given the extra cost, I will not be getting the LS-WSX model unless someone loans it to me. Of course, if anyone has a LS-WSX mainboard (no hard drives), then I would be interested in borrowing/purchasing it for testing.


Top
   
PostPosted: Mon Oct 17, 2011 8:56 pm 
Offline
Newbie

Joined: Tue Jan 04, 2011 12:28 pm
Posts: 6
I have a slight problem with the wiki install. I get to step 59 but issuing the command gives :

Code:
mdadm --create --verbose /dev/md14 --level=1 --raid-devices=2 /dev/sda4 /dev/sdb4
mdadm: /dev/sda4 appears to be part of a raid array:
    level=raid1 devices=2 ctime=Fri Oct 14 15:46:24 2011
mdadm: Note: this array has metadata at the start and
    may not be suitable as a boot device.  If you plan to
    store '/boot' on this device please ensure that
    your boot-loader understands md/v1.x metadata, or use
    --metadata=0.90
mdadm: super1.x cannot open /dev/sdb4: Device or resource busy
mdadm: /dev/sdb4 is not suitable for this array.
mdadm: create aborted


If I follow the article to the end the LSMini seems to work fine but I'm troubled by the error.

fdisk -l gives :

Code:
fdisk -l

Disk /dev/sda: 60.0 GB, 60011642880 bytes
64 heads, 32 sectors/track, 57231 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         123      125936   fd  Linux raid autodetect
/dev/sda2             124         368      250880   82  Linux swap / Solaris
/dev/sda3             369       11813    11719680   fd  Linux raid autodetect
/dev/sda4           11814       57231    46508032   fd  Linux raid autodetect

Disk /dev/sdb: 60.0 GB, 60011642880 bytes
64 heads, 32 sectors/track, 57231 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         123      125936   fd  Linux raid autodetect
/dev/sdb2             124         368      250880   82  Linux swap / Solaris
/dev/sdb3             369       11813    11719680   fd  Linux raid autodetect
/dev/sdb4           11814       57231    46508032   fd  Linux raid autodetect

Disk /dev/md14: 47.6 GB, 47624159232 bytes
2 heads, 4 sectors/track, 11626992 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/md14 doesn't contain a valid partition table

Disk /dev/md13: 12.0 GB, 12000886784 bytes
2 heads, 4 sectors/track, 2929904 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/md13 doesn't contain a valid partition table

Disk /dev/md11: 128 MB, 128843776 bytes
2 heads, 4 sectors/track, 31456 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/md11 doesn't contain a valid partition table


and /proc/mdstat shows :

Code:
cat /proc/mdstat
Personalities : [raid1]
md11 : active raid1 sda1[0] sdb1[1]
      125824 blocks [2/2] [UU]
     
md13 : active raid1 sda3[0] sdb3[1]
      11719616 blocks [2/2] [UU]
     
md14 : active raid1 sdb4[1]
      46507968 blocks [2/1] [_U]
     
unused devices: <none>


which shows sda4 isn't part of the md14 array ( as indicated by the error message before ). I'm sure I did this right so is it my hardware that's dying or should I give it another go ?


Top
   
PostPosted: Tue Oct 18, 2011 8:05 pm 
Offline
Newbie

Joined: Wed Oct 07, 2009 12:00 am
Posts: 48
Not sure why mdadm reported that /dev/sda4 was part of an array.
However, it does not appear to be part of an array after you boot Debian.
Therefore, you should be able to add it to the array...
mdadm --manage /dev/md14 --add /dev/sda4


Top
   
PostPosted: Fri Feb 03, 2012 10:47 am 
Offline
Total Newbie

Joined: Fri Feb 03, 2012 10:35 am
Posts: 3
Hi,

thank you for the great installation guide on the Wiki, I successfully installed Debian 6.0 on my LS Mini and had no problems at all!

Now I attached an additional harddrive via USB that has a partition that is formatted as NTFS that I want to read and *write*. Thus I need the ntfs-3g package which requires the Fusion module that is not part of the kernel on my LS Mini:

2.6.32-31-debian-lsmini #1 Mon Apr 25 01:19:22 EDT 2011 armv5tel GNU/Linux

My question(s):
Is there a precompiled kernel that includes the module so that I could simply download, install and be happy?
If not, can you get me started on how to solve the problem?

Cheers,
Tom


Top
   
PostPosted: Sat Feb 04, 2012 4:18 am 
Offline
Newbie

Joined: Wed Oct 07, 2009 12:00 am
Posts: 48
Sounds like I should add the fusion module to my posted kernel image.

In the meantime, here is a script which you can run on your LS Mini Debian system to build and use your own modified kernel image...
http://forum.buffalo.nas-central.org/viewtopic.php?f=61&t=23793

Let me know if you need any other modules to get it working and I will update my kernel accordingly.


Top
   
PostPosted: Sat Feb 04, 2012 11:38 am 
Offline
Total Newbie

Joined: Fri Feb 03, 2012 10:35 am
Posts: 3
Thank you for the quick reply.
rpinchbeck wrote:
Sounds like I should add the fusion module to my posted kernel image.

That would be really great and the easiest way for me to get ntfs support on my ls mini.
rpinchbeck wrote:
In the meantime, here is a script which you can run on your LS Mini Debian system to build and use your own modified kernel image...
http://forum.buffalo.nas-central.org/viewtopic.php?f=61&t=23793

I will check this out, thank you for the hint.
rpinchbeck wrote:
Let me know if you need any other modules to get it working and I will update my kernel accordingly.

According to the documentation for the debian ntfs-3g package at http://packages.debian.org/squeeze/ntfs-3g, only the fuse kernel module is required.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 39 posts ]  Go to page Previous 1 2 3 Next

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited