Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sun Nov 19, 2017 6:12 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 132 posts ]  Go to page Previous 15 6 7 8 9 Next
Author Message
PostPosted: Sun Jan 01, 2006 11:11 pm 
Offline
Newbie

Joined: Mon Dec 26, 2005 10:53 am
Posts: 6
next problem:
when i manually start mc_ctld (copied from openlink) at debian i get following message:
/proc/linkstation: No such file or directory

because i didn't completely understand the proc-system i absolutely don't know what to do now. :-(

in openlink i get:
cat /proc/linkstation
PRODUCTNAME=HD-HLAN(IENOBU)
VERSION=2.03
SUBVERSION=FLASH 1.1
PRODUCTID=0x00000006
BUILDDATE=2005/2/25 20:19:52
BOOTDEVICE=HDD
CONSOLE=OFF
MAC=xx:xx:xx:xx:xx:xx
RESERVE_MAC1=xx:xx:xx:xx:xx:xx
RESERVE_MAC2=xx:xx:xx:xx:xx:xx


which programm/process generates this file?
or do i simply have to create it once? is this saved on hdd (i don't think so, because proc)

[edit]
i thought the problem could perhaps be a not correctly mounted proc, but after creating a correct fstab mount displays this:
LINKSTATION:~# mount
/dev/hda1 on / type ext3 (rw,noatime,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)

but the problem is the same

[edit2]
oh dear!
the problem was, that i forgot to copy /usr/sbin/mc_ctld to my debian :-/
i found this hint in the script
ok, now i'll have a look at tune2fs :-))


Top
   
PostPosted: Sat Jan 07, 2006 12:41 am 
Offline
Regular Member

Joined: Fri Oct 21, 2005 2:51 pm
Posts: 75
im getting mail in /var/mail about /dev/tty:

an 4 18:10:13 linkstation getty[1926]: /dev/tty4: cannot open as standard input: No such device
Jan 4 18:10:14 linkstation getty[1927]: /dev/tty6: cannot open as standard input: No such device
Jan 4 18:10:16 linkstation getty[1931]: /dev/tty3: cannot open as standard input: No such device
Jan 4 18:10:21 linkstation getty[1933]: /dev/tty2: cannot open as standard input: No such device
Jan 4 18:10:22 linkstation getty[1935]: /dev/tty5: cannot open as standard input: No such device
Jan 4 18:10:23 linkstation getty[1937]: /dev/tty1: cannot open as standard input: No such device
Jan 4 18:10:24 linkstation getty[1939]: /dev/tty4: cannot open as standard input: No such device
Jan 4 18:10:24 linkstation snmpd[22740]: Connection from UDP: [127.0.0.1]:2820
Jan 4 18:10:25 linkstation getty[1941]: /dev/tty6: cannot open as standard input: No such device
Jan 4 18:10:26 linkstation init: Id "3" respawning too fast: disabled for 5 minutes
Jan 4 18:10:31 linkstation init: Id "2" respawning too fast: disabled for 5 minutes
Jan 4 18:10:32 linkstation init: Id "5" respawning too fast: disabled for 5 minutes
Jan 4 18:10:33 linkstation init: Id "1" respawning too fast: disabled for 5 minutes
Jan 4 18:10:34 linkstation init: Id "4" respawning too fast: disabled for 5 minutes
Jan 4 18:10:35 linkstation init: Id "6" respawning too fast: disabled for 5 minutes
Jan 4 18:10:50 linkstation mc_ctld[537]: Timer is released. (because timer file isn't able to be read)
Jan 4 18:10:50 linkstation mc_ctld[537]: Timer is released. (because timer file isn't able to be read)
Jan 4 18:12:50 linkstation mc_ctld[537]: Timer is released. (because timer file isn't able to be read)
Jan 4 18:14:50 linkstation mc_ctld[537]: Timer is released. (because timer file isn't able to be read)
Jan 4 18:15:24 linkstation snmpd[22740]: Connection from UDP: [127.0.0.1]:2821
Jan 4 18:15:30 linkstation getty[1950]: /dev/tty3: cannot open as standard input: No such device
Jan 4 18:15:30 linkstation mc_ctld[537]: Timer is released. (because timer file isn't able to be read)
Jan 4 18:15:35 linkstation getty[1955]: /dev/tty5: cannot open as standard input: No such device
Jan 4 18:15:35 linkstation getty[1953]: /dev/tty2: cannot open as standard input: No such device
Jan 4 18:15:35 linkstation getty[1954]: /dev/tty4: cannot open as standard input: No such device
Jan 4 18:15:35 linkstation getty[1952]: /dev/tty1: cannot open as standard input: No such device
Jan 4 18:15:36 linkstation getty[1960]: /dev/tty6: cannot open as standard input: No such device

and about mt_ctld, I commented out the lines in inittab as suggested in the pits, anyone know what these messges are about?


Top
   
PostPosted: Sat Jan 07, 2006 1:52 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
what about PITS / 00004 ?

_________________
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
   
PostPosted: Tue Jan 10, 2006 9:26 pm 
Offline
Regular Member

Joined: Fri Oct 21, 2005 2:51 pm
Posts: 75
what could be causing the messges

Jan 10 15:01:33 linkstation mc_ctld[433]: Timer is released. (because timer file isn't able to be read)
Jan 10 15:02:13 linkstation mc_ctld[433]: Timer is released. (because timer file isn't able to be read)


Top
   
PostPosted: Wed Jan 11, 2006 12:24 am 
Offline
Regular Member
User avatar

Joined: Sun Jul 10, 2005 9:12 pm
Posts: 192
Location: Aachen, Germany
Please check the PITS and search the Wiki and the forums first. Your "Timer is released" problem is mentioned in PITS00003, where you can also find the solution.


Top
   
PostPosted: Tue Jan 31, 2006 11:35 am 
Offline
Newbie
User avatar

Joined: Fri Nov 18, 2005 8:54 am
Posts: 20
I currently face a Problem with shutting down my debianzed LS2.

When pressing the power button for ~5 sec my LS shuts only down the HDD, leaving the lights on and still running the fan.
Also my tries to shut down the LS with a telnet session with the shutdown now command did not work.

How can I config the "old" LS settings? Does someone faced this behaviour as well? thanks


Top
   
PostPosted: Sat Feb 18, 2006 4:24 pm 
Offline
Newbie

Joined: Sat Feb 18, 2006 4:21 pm
Posts: 7
Hi!

Could anyone make me a kernel with "Device drivers -> Network device support -> Universal TUN/TAP device driver support" and "Networking -> Networking options -> 802.1d Ethernet Bridging" support compiled into the kernel?

Or could someone mail me the correct config-file for the kernel, then can I compile one by myself with the correct options for me.

One last thing: Where do I have to put the kernel? /boot is empty on my debian-linkstation?


Top
   
PostPosted: Sat Feb 18, 2006 5:25 pm 
Offline
Regular Member
User avatar

Joined: Sun Jul 10, 2005 9:12 pm
Posts: 192
Location: Aachen, Germany
> Could anyone make me a kernel with "Device drivers -> Network device support -> Universal TUN/TAP device driver support"

There is a TUN module available, I compiled it some time ago. Search the forums and you'll find the link (and an appropriate thread) for that. Most of your other questions have been answered there, too.

> Or could someone mail me the correct config-file for the kernel, then can I compile one by myself with the correct options for me.

You can find one with the GPL source IIRC - and you'll need that anyway, as the LinkStation doesn't use the vanilla kernel but some tweaked MontaVista variant. You can get it from the download section of the Wiki. But there have been various discussions on that and not every module works "out of the box".

One last thing: Where do I have to put the kernel? /boot is empty on my debian-linkstation?

The standard boot process is no different for a debianized LinkStation, you just get the Debian userland. You need to put the kernel into the flash, but as there's no serial console for LSII, you don't want to mess with untested kernels. And right now there's nothing like the 'loader' module for HG LinkStations to try a new kernel without flashing.


Top
   
PostPosted: Sat Feb 18, 2006 6:10 pm 
Offline
Newbie

Joined: Sat Feb 18, 2006 4:21 pm
Posts: 7
Okay, thanks, I've found the tun module and it works! Great.

Could anybody who has the crosstools installed make me the module 802.1d Ethernet Bridging? Then I can test it.

Thanks very much!

(Now I only play with modules, the other way is a little bit zu hot for me.)


Top
   
PostPosted: Sat Feb 18, 2006 6:14 pm 
Offline
Newbie

Joined: Sat Feb 18, 2006 4:21 pm
Posts: 7
Me again..

I've downloaded (for my LSII) the file http://buffalo.nas-central.org/downloads/source_code/gpl_mipsel-hdhlan.zip
and now? I find only rpms and tgz. One, the kernel-headers-2.4.20_dev......rpm ist the only interessting file, but when I install it it only generate in /usr/src/rpm some (in my eyes) senseless files. Where are the makefile to make menuconfig????


Top
   
PostPosted: Sat Feb 18, 2006 9:21 pm 
Offline
Regular Member
User avatar

Joined: Sun Jul 10, 2005 9:12 pm
Posts: 192
Location: Aachen, Germany
> One, the kernel-headers-2.4.20_dev......rpm ist the only interessting file, [...]

No, IIRC not. You need the kernel sources and the config that comes with it. If there's no .config included, I can put up mine - but you still need the Buffalo/Montavista kernel sources. And you don't need the crosstools, I compiled the modules on the LinkStation. It works, although it's not really fast %-).

Anyway - I also compiled some modules from the 'kernel/net/' tree back then. You can try them out, but no warranty from me (and no, I didn't test them). You can find them here, there's a 'bridge.o' module included.


Top
   
PostPosted: Sat Feb 18, 2006 9:54 pm 
Offline
Newbie

Joined: Sat Feb 18, 2006 4:21 pm
Posts: 7
Thanks, but:
modprobe bridge:
/lib/modules/2.4.20_mipsel_linkstation/kernel/net/bridge/bridge.o: /lib/modules/2.4.20_mipsel_linkstation/kernel/net/bridge/bridge.o: unresolved symbol br_ioctl_hook
/lib/modules/2.4.20_mipsel_linkstation/kernel/net/bridge/bridge.o: /lib/modules/2.4.20_mipsel_linkstation/kernel/net/bridge/bridge.o: unresolved symbol br_handle_frame_hook
/lib/modules/2.4.20_mipsel_linkstation/kernel/net/bridge/bridge.o: insmod /lib/modules/2.4.20_mipsel_linkstation/kernel/net/bridge/bridge.o failed
/lib/modules/2.4.20_mipsel_linkstation/kernel/net/bridge/bridge.o: insmod bridge failed

$hi&. I had the same error as I tried to compile a new module on my Debian-Server. I had to compile the whole kernel new and then it worked. Okay, any ideas what to do for the LSII?

Second: Where do I find the kernel??? I have the .config file, but no kernel sources.


Top
   
PostPosted: Sat Feb 18, 2006 10:38 pm 
Offline
Newbie

Joined: Sat Feb 18, 2006 4:21 pm
Posts: 7
If anyone have the kernel-sources should please backup the .config, then try 'make distclean' and 'make clean dep' and 'make modules'

This should help.

Thanks!


Top
   
PostPosted: Sun Feb 19, 2006 6:46 pm 
Offline
Regular Member
User avatar

Joined: Sun Jul 10, 2005 9:12 pm
Posts: 192
Location: Aachen, Germany
> If anyone have the kernel-sources should please backup the .config, then try 'make distclean' and 'make clean dep' and 'make modules'

Oh, come on - we're not stupid here. If you think you have an idea to get your modules to work, then try it yourself. You can get the Buffalo GPL sources in the download section, for the MIPSel LinkStation that would be http://buffalo.nas-central.org/downloads/source_code/gpl_mipsel-hdhlan.zip. You get a lot of crap with this big ZIP, but inside you'll find another TAR archive called 'linux-2.4.20_mipsel_linkstation.tar.gz'. There you have your kernel sources. As you're already on Debian, just apt-get the development environment and give it a try. Good Luck.

And yes, I just downloaded these 179MB just to see if the kernel sources are still in there ... .


Top
   
PostPosted: Mon Feb 20, 2006 3:24 pm 
Offline
Newbie

Joined: Sat Feb 18, 2006 4:21 pm
Posts: 7
Sorry, I don't think that you are stupid, but I think that nobody has tried and tested around with the bridge-module, why should someone test a bridge modul on an device with one one physical ethernet-port....but for OpenVpn it is very useful.

Okay, I'll try it....

Thanks


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 132 posts ]  Go to page Previous 15 6 7 8 9 Next

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 9 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