Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Thu Apr 24, 2014 9:29 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Fri May 30, 2008 6:06 pm 
Offline
Regular Member

Joined: Mon Nov 07, 2005 4:37 pm
Posts: 205
Location: Germany
Hi there,

I compiled an own kernel from the buffalo sources which contains some additional features:
  • INotify Support
  • Quota for XFS/EXT3
  • Set option in SCSI for probing multiple lun. If you conntect an multicard reader via usb, you can access it now without problems
  • FUSE Support
  • Some other things, i don't remember yet ;-)

Following drivers I've enabled:
  • NFS server support
  • IPTables
  • Infrared stuff (for receivers, connected via USB)
  • Bluetooth stuff for USB dongles
  • ALSA USB Sound driver
  • Some DVB stuff
  • Some more filesystems
  • ISDN stuff

Thats the module file list:
Code:
./net/ipv4/netfilter/ipt_TCPMSS.ko
./net/ipv4/netfilter/ip_nat_pptp.ko
./net/ipv4/netfilter/ipt_ttl.ko
./net/ipv4/netfilter/iptable_raw.ko
./net/ipv4/netfilter/ipt_ULOG.ko
./net/ipv4/netfilter/ipt_dscp.ko
./net/ipv4/netfilter/ipt_tos.ko
./net/ipv4/netfilter/ipt_TOS.ko
./net/ipv4/netfilter/ipt_ah.ko
./net/ipv4/netfilter/ipt_addrtype.ko
./net/ipv4/netfilter/ipt_iprange.ko
./net/ipv4/netfilter/ip_conntrack_ftp.ko
./net/ipv4/netfilter/ip_nat_tftp.ko
./net/ipv4/netfilter/ip_conntrack_proto_sctp.ko
./net/ipv4/netfilter/ip_conntrack_netbios_ns.ko
./net/ipv4/netfilter/ip_conntrack_tftp.ko
./net/ipv4/netfilter/ipt_SAME.ko
./net/ipv4/netfilter/ip_nat_snmp_basic.ko
./net/ipv4/netfilter/ip_nat.ko
./net/ipv4/netfilter/ipt_multiport.ko
./net/ipv4/netfilter/ipt_NETMAP.ko
./net/ipv4/netfilter/iptable_filter.ko
./net/ipv4/netfilter/ipt_owner.ko
./net/ipv4/netfilter/arp_tables.ko
./net/ipv4/netfilter/ipt_hashlimit.ko
./net/ipv4/netfilter/ipt_esp.ko
./net/ipv4/netfilter/arptable_filter.ko
./net/ipv4/netfilter/ipt_LOG.ko
./net/ipv4/netfilter/ip_conntrack_amanda.ko
./net/ipv4/netfilter/ipt_DSCP.ko
./net/ipv4/netfilter/ip_nat_amanda.ko
./net/ipv4/netfilter/ipt_ECN.ko
./net/ipv4/netfilter/ip_conntrack_pptp.ko
./net/ipv4/netfilter/ipt_ecn.ko
./net/ipv4/netfilter/ipt_MASQUERADE.ko
./net/ipv4/netfilter/ipt_TTL.ko
./net/ipv4/netfilter/ip_conntrack.ko
./net/ipv4/netfilter/ip_nat_ftp.ko
./net/ipv4/netfilter/ip_conntrack_netlink.ko
./net/ipv4/netfilter/arpt_mangle.ko
./net/ipv4/netfilter/ip_conntrack_irc.ko
./net/ipv4/netfilter/ipt_recent.ko
./net/ipv4/netfilter/iptable_nat.ko
./net/ipv4/netfilter/ipt_REDIRECT.ko
./net/ipv4/netfilter/ipt_REJECT.ko
./net/ipv4/netfilter/ip_nat_irc.ko
./net/ipv4/netfilter/ip_queue.ko
./net/ipv4/netfilter/iptable_mangle.ko
./net/ipv4/netfilter/ip_tables.ko
./net/bluetooth/rfcomm/rfcomm.ko
./net/bluetooth/hidp/hidp.ko
./net/bluetooth/cmtp/cmtp.ko
./net/bluetooth/bnep/bnep.ko
./net/bluetooth/l2cap.ko
./net/bluetooth/bluetooth.ko
./net/bluetooth/sco.ko
./net/appletalk/appletalk.ko
./net/netfilter/xt_mac.ko
./net/netfilter/xt_realm.ko
./net/netfilter/xt_pkttype.ko
./net/netfilter/xt_string.ko
./net/netfilter/xt_NFQUEUE.ko
./net/netfilter/xt_CLASSIFY.ko
./net/netfilter/x_tables.ko
./net/netfilter/xt_conntrack.ko
./net/netfilter/xt_limit.ko
./net/netfilter/xt_helper.ko
./net/netfilter/xt_NOTRACK.ko
./net/netfilter/xt_sctp.ko
./net/netfilter/nfnetlink_queue.ko
./net/netfilter/xt_dccp.ko
./net/netfilter/xt_MARK.ko
./net/netfilter/xt_tcpmss.ko
./net/netfilter/xt_state.ko
./net/netfilter/nfnetlink_log.ko
./net/netfilter/xt_comment.ko
./net/netfilter/xt_tcpudp.ko
./net/netfilter/xt_mark.ko
./net/netfilter/nfnetlink.ko
./net/netfilter/xt_length.ko
./net/802/p8022.ko
./net/802/psnap.ko
./net/irda/ircomm/ircomm-tty.ko
./net/irda/ircomm/ircomm.ko
./net/irda/irlan/irlan.ko
./net/irda/irda.ko
./net/llc/llc.ko
./drivers/isdn/capi/capi.ko
./drivers/isdn/capi/kernelcapi.ko
./drivers/usb/core/usbcore.ko
./drivers/usb/storage/usb-storage.ko
./drivers/usb/class/usblp.ko
./drivers/usb/input/usbhid.ko
./drivers/usb/host/ohci-hcd.ko
./drivers/usb/host/ehci-marvell-hcd.ko
./drivers/usb/host/uhci-hcd.ko
./drivers/usb/misc/usblcd.ko
./drivers/usb/misc/usbled.ko
./drivers/usb/media/dabusb.ko
./drivers/net/irda/donauboe.ko
./drivers/net/irda/sir-dev.ko
./drivers/net/irda/stir4200.ko
./drivers/net/irda/vlsi_ir.ko
./drivers/net/irda/irport.ko
./drivers/net/irda/irtty-sir.ko
./drivers/net/irda/irda-usb.ko
./drivers/bluetooth/hci_uart.ko
./drivers/bluetooth/hci_vhci.ko
./drivers/bluetooth/hci_usb.ko
./drivers/bluetooth/bfusb.ko
./drivers/bluetooth/bcm203x.ko
./drivers/bluetooth/bpa10x.ko
./drivers/media/video/v4l1-compat.ko
./drivers/media/video/v4l2-common.ko
./drivers/media/video/compat_ioctl32.ko
./drivers/media/video/videodev.ko
./drivers/media/dvb/dvb-core/dvb-core.ko
./drivers/media/dvb/dvb-usb/dvb-usb-vp702x.ko
./drivers/media/dvb/dvb-usb/dvb-usb-dibusb-mc.ko
./drivers/media/dvb/dvb-usb/dvb-usb-cxusb.ko
./drivers/media/dvb/dvb-usb/dvb-usb-digitv.ko
./drivers/media/dvb/dvb-usb/dvb-usb.ko
./drivers/media/dvb/dvb-usb/dvb-usb-vp7045.ko
./drivers/media/dvb/dvb-usb/dvb-usb-umt-010.ko
./drivers/media/dvb/dvb-usb/dvb-usb-a800.ko
./drivers/media/dvb/dvb-usb/dvb-usb-dtt200u.ko
./drivers/media/dvb/dvb-usb/dvb-usb-dibusb-common.ko
./drivers/media/dvb/dvb-usb/dvb-usb-dibusb-mb.ko
./drivers/media/dvb/dvb-usb/dvb-usb-nova-t-usb2.ko
./drivers/media/dvb/ttusb-dec/ttusb_dec.ko
./drivers/media/dvb/ttusb-dec/ttusbdecfe.ko
./drivers/media/dvb/frontends/cx22700.ko
./drivers/media/dvb/frontends/dib3000mc.ko
./drivers/media/dvb/frontends/cx22702.ko
./drivers/media/dvb/frontends/tda8083.ko
./drivers/media/dvb/frontends/mt352.ko
./drivers/media/dvb/frontends/stv0299.ko
./drivers/media/dvb/frontends/tda1004x.ko
./drivers/media/dvb/frontends/dib3000mb.ko
./drivers/media/dvb/frontends/dib3000-common.ko
./drivers/media/dvb/frontends/dvb-pll.ko
./drivers/media/dvb/frontends/ves1820.ko
./drivers/media/dvb/frontends/nxt6000.ko
./drivers/media/dvb/frontends/lgdt330x.ko
./drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.ko
./drivers/media/dvb/cinergyT2/cinergyT2.ko
./fs/ntfs/ntfs.ko
./fs/isofs/isofs.ko
./fs/cifs/cifs.ko
./fs/msdos/msdos.ko
./fs/vfat/vfat.ko
./fs/autofs4/autofs4.ko
./fs/nfsd/nfsd.ko
./fs/udf/udf.ko
./fs/fat/fat.ko
./fs/nls/nls_cp850.ko
./fs/nls/nls_cp874.ko
./fs/nls/nls_cp863.ko
./fs/nls/nls_cp1251.ko
./fs/nls/nls_cp950.ko
./fs/nls/nls_cp949.ko
./fs/nls/nls_koi8-ru.ko
./fs/nls/nls_cp1250.ko
./fs/nls/nls_cp866.ko
./fs/nls/nls_cp936.ko
./fs/nls/nls_cp861.ko
./fs/nls/nls_cp857.ko
./fs/nls/nls_cp737.ko
./fs/nls/nls_cp862.ko
./fs/nls/nls_ascii.ko
./fs/nls/nls_iso8859-6.ko
./fs/nls/nls_iso8859-4.ko
./fs/nls/nls_iso8859-5.ko
./fs/nls/nls_cp775.ko
./fs/nls/nls_iso8859-3.ko
./fs/nls/nls_koi8-u.ko
./fs/nls/nls_iso8859-1.ko
./fs/nls/nls_iso8859-13.ko
./fs/nls/nls_cp864.ko
./fs/nls/nls_iso8859-2.ko
./fs/nls/nls_iso8859-14.ko
./fs/nls/nls_cp860.ko
./fs/nls/nls_iso8859-7.ko
./fs/nls/nls_iso8859-9.ko
./fs/nls/nls_cp865.ko
./fs/nls/nls_cp1255.ko
./fs/nls/nls_cp855.ko
./fs/nls/nls_cp869.ko
./fs/nls/nls_koi8-r.ko
./fs/nls/nls_cp852.ko
./fs/nls/nls_iso8859-15.ko
./fs/fuse/fuse.ko
./lib/ts_kmp.ko
./lib/ts_fsm.ko
./lib/ts_bm.ko
./sound/core/snd-pcm.ko
./sound/core/snd-page-alloc.ko
./sound/core/snd-timer.ko
./sound/core/seq/snd-seq-device.ko
./sound/core/seq/snd-seq-virmidi.ko
./sound/core/seq/snd-seq.ko
./sound/core/seq/snd-seq-midi.ko
./sound/core/seq/snd-seq-dummy.ko
./sound/core/seq/snd-seq-midi-event.ko
./sound/core/snd-hwdep.ko
./sound/core/snd-rawmidi.ko
./sound/core/snd.ko
./sound/core/oss/snd-mixer-oss.ko
./sound/core/oss/snd-pcm-oss.ko
./sound/usb/snd-usb-audio.ko
./sound/usb/snd-usb-lib.ko
./sound/drivers/snd-virmidi.ko
./sound/drivers/snd-dummy.ko
./sound/soundcore.ko

I thing, the kernel have now the most important things "on board" ;-) The binary can found here: http://download.prodigy7.de/files/packa ... 7r1.tar.gz

Maybe mindbender the file can be moved to the nas-central ftp?

prodigy7

_________________
LS2 (U-Boot + Freelink) | Kurobox (U-Boot + Deboostraped) | LS Pro Duo (Freelink)


Top
 Profile  
 
PostPosted: Fri May 30, 2008 6:47 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7702
Location: Austria, Vienna
file can be downloaded here:
http://buffalo.nas-central.org/download ... l_sources/

prodigy7...can you maybe also provide the .config that you used? also unpack the package again....you ll notice there is a file which should not be inside.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
 Profile  
 
PostPosted: Fri May 30, 2008 7:18 pm 
Offline
Regular Member

Joined: Mon Nov 07, 2005 4:37 pm
Posts: 205
Location: Germany
mindbender wrote:
prodigy7...can you maybe also provide the .config that you used? also unpack the package again....you ll notice there is a file which should not be inside.
I uploaded the file again - this time not with the tar.gz ;-) and with an small update: I compile the quota in both version. Quota works now on my duo. The config was included in /boot as .config-2.6.16.16-arm1-wtgl-p7r1. Maybe you've overseen this because the file begins with a dot. I renamed it without a dot.

Edit: I uploaded a txt file with the description from me, what the kernel contains -> http://download.prodigy7.de/files/packa ... 1-p7r1.txt

Edit 2: It's important, that depmod is executed for this kernel so that they can find his own modules

_________________
LS2 (U-Boot + Freelink) | Kurobox (U-Boot + Deboostraped) | LS Pro Duo (Freelink)


Top
 Profile  
 
PostPosted: Sat May 31, 2008 12:43 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7702
Location: Austria, Vienna
http://buffalo.nas-central.org/download ... l_sources/
updated.

instructions how to install the package would be good.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
 Profile  
 
PostPosted: Mon Jun 02, 2008 8:53 am 
Offline
Regular Member

Joined: Mon Nov 07, 2005 4:37 pm
Posts: 205
Location: Germany
I refreshed the txt (http://download.prodigy7.de/files/packa ... 1-p7r1.txt).

Here a small install instruction:

  • Backup the original kernel - e.g: rename to uImage.buffalo.orig
  • Copy the archive to your ls pro duo
  • extract the tar.gz directly in /
  • Execute the command
    depmod -ae 2.6.16.16-arm1-wtgl-p7r1
  • Reboot

ATTENTION: This kernel is compiled for ls pro duo release 1. It could be, that this kernel doesn't work on newer releases

_________________
LS2 (U-Boot + Freelink) | Kurobox (U-Boot + Deboostraped) | LS Pro Duo (Freelink)


Top
 Profile  
 
PostPosted: Mon Jun 09, 2008 8:06 am 
Offline
Regular Member

Joined: Mon Nov 07, 2005 4:37 pm
Posts: 205
Location: Germany
I update the archive (can be found under the same url):
  • TUN/TAP device support enabled
  • Add depencies - depmod execution not needed

_________________
LS2 (U-Boot + Freelink) | Kurobox (U-Boot + Deboostraped) | LS Pro Duo (Freelink)


Top
 Profile  
 
PostPosted: Mon Jun 09, 2008 9:20 am 
Offline
Total Newbie

Joined: Mon Jun 09, 2008 9:06 am
Posts: 4
My first contribution here:

I found prodigy7's kernel working on my ls pro duo rev3. I simply altered the variables PRODUCTID and BUILDDATE in the file:
/etc/linkstation_release to conform to /proc/buffalo/firmware.

/proc/buffalo/firmware differs in prodigy7's kernel when compared to the stock version.

The equality between these variables is checked during startup in the procedure TestRootfs() of linuxrc.

I grepped through all /etc, /usr and kernel source files for these variables and think there are no further downsides to this change.

Thanks prodigy7 for your kernel!

_________________
ls pro duo rev3


Top
 Profile  
 
PostPosted: Mon Jun 09, 2008 2:27 pm 
Offline
Regular Member

Joined: Mon Nov 07, 2005 4:37 pm
Posts: 205
Location: Germany
herrBlaschke wrote:
I found prodigy7's kernel working on my ls pro duo rev3. I simply altered the variables PRODUCTID and BUILDDATE in the file:
/etc/linkstation_release to conform to /proc/buffalo/firmware.
Perfect :-)
I think, the information in /proc/buffalo is taken from the kernel itself. During kernel configuration also an board/product id must be defined. So I think, if there's an "firmware hack" without compiling an complete new kernel and this hack is easy, it should be an suitable way.

_________________
LS2 (U-Boot + Freelink) | Kurobox (U-Boot + Deboostraped) | LS Pro Duo (Freelink)


Top
 Profile  
 
PostPosted: Fri Jun 20, 2008 10:37 am 
Offline
Total Newbie

Joined: Fri Jun 20, 2008 10:34 am
Posts: 2
I would like ext3 quota support as well, do you expect that your kernel should work on a linkstation live running freelink?

Best regards,
Allan


Top
 Profile  
 
PostPosted: Fri Jun 20, 2008 10:56 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7702
Location: Austria, Vienna
hm? why don`t you use the kernels made for the LS Pro/LS Live?
viewtopic.php?f=18&t=4329

-> viewtopic.php?p=45556#p45556

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
 Profile  
 
PostPosted: Mon Jun 23, 2008 12:43 pm 
Offline
Total Newbie

Joined: Fri Jun 20, 2008 10:34 am
Posts: 2
Just from reading the thread it seems that quota (ext3) doesn't work on that one, but it might be my misinterpretation.


Top
 Profile  
 
PostPosted: Mon Jun 23, 2008 8:32 pm 
Offline
Regular Member

Joined: Mon Nov 07, 2005 4:37 pm
Posts: 205
Location: Germany
I tested the LS Pro/LS Live kernel before I installed the serial console. Maybe I find this weekend a little bit time - than I could see, where the kernel hangs.

_________________
LS2 (U-Boot + Freelink) | Kurobox (U-Boot + Deboostraped) | LS Pro Duo (Freelink)


Top
 Profile  
 
PostPosted: Sat Jul 12, 2008 6:49 pm 
Offline
Total Newbie

Joined: Sat Jul 12, 2008 6:34 pm
Posts: 1
Hiya I've been reading this forum for a while, but this is my first post...

I just tried prodigy7's custom kernel as the latest version had the tap/tun drivers so i could try OpenVPN. followed the instructions from the latest readme.

On reboot my LS Duo was in EM mode. Caused me a minor panic...but Have managed to get it going again using the Linkstation Firmware updater from the buffalo site - (Version 1.03 is the latest on offer).

Not sure what I did wrong.
-backed up the original kernel by renaming it
-copied the archive and extracted it to /
-rebooted

Any thoughts? I would like to try it again but just want to know what anyone here thinks I did wrong and should do differently next time?


Top
 Profile  
 
PostPosted: Sat Jul 12, 2008 9:22 pm 
Offline
Regular Member

Joined: Mon Nov 07, 2005 4:37 pm
Posts: 205
Location: Germany
Hm.... the problem is, that without any more information (from serial console for example) many reasons could be... do you've freelink on your ls?

_________________
LS2 (U-Boot + Freelink) | Kurobox (U-Boot + Deboostraped) | LS Pro Duo (Freelink)


Top
 Profile  
 
PostPosted: Thu Jul 24, 2008 4:25 am 
Offline
Newbie

Joined: Fri Jul 18, 2008 10:14 pm
Posts: 29
nswims wrote:
Hiya I've been reading this forum for a while, but this is my first post...

I just tried prodigy7's custom kernel as the latest version had the tap/tun drivers so i could try OpenVPN. followed the instructions from the latest readme.

On reboot my LS Duo was in EM mode. Caused me a minor panic...but Have managed to get it going again using the Linkstation Firmware updater from the buffalo site - (Version 1.03 is the latest on offer).

Not sure what I did wrong.
-backed up the original kernel by renaming it
-copied the archive and extracted it to /
-rebooted

Any thoughts? I would like to try it again but just want to know what anyone here thinks I did wrong and should do differently next time?


Assuming you're trying to run prodigy7's kernel on top of the stock firmware, see below... otherwise I think more info is needed.

For running a 'souped up' kernel with the v3 LS Pro Duo firmware look here: viewtopic.php?f=50&t=6531&start=15&st=0&sk=t&sd=a for my trials and tribulations and ideas. I've got it 99% working with prodigy7's kernel, though I was still having some permission issues. It does have some rough corners in terms of making the web UI's disk management ~ useless, but I plan on debugging that and seeing what needs to be done to fix it next.

Cheers!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot] 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:

Protected by Anti-Spam ACP
Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group