Difference between revisions of "Serial console TsP"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m
(How to get a serial console log on the TsP)
(48 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[http://wc1.worldcrossing.com/WebX/.1de609fa free online pharmacy] [http://wc1.worldcrossing.com/WebX/.1de60a22 but phentermine] [http://news.engin.brown.edu/forums/thread-view.asp?tid=208 free motorola ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1357 levitra online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=195 free mono ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=199 zyban online] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=363 samsung ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2901 mp3 ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30235 soma online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=136 ultram online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=72 ambien online] [http://students.hsc.unt.edu/housing/item.cfm?type=2862 vicodin online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30258 vicodin online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=182 funny ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2890 zanaflex online] [http://wc1.worldcrossing.com/WebX/.1de609dc albuterol online] [http://wc1.worldcrossing.com/WebX/.1de60a20 nexium online] [http://students.hsc.unt.edu/housing/item.cfm?type=2875 propecia online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=165 but ambien] [http://wc1.worldcrossing.com/WebX/.1de609f8 nokia ringtones] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=350 alprazolam online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=139 cheap viagra] [http://students.hsc.unt.edu/housing/item.cfm?type=2874 cheap ultracet] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=91 cheap hoodia] [http://news.engin.brown.edu/forums/thread-view.asp?tid=175 cyclobenzaprine online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=201 free ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=153 phentermine online] [http://students.hsc.unt.edu/housing/item.cfm?type=2848 soma online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30337 free real ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=94 free jazz ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a0a online vicodin] [http://students.hsc.unt.edu/housing/item.cfm?type=2896 buy zyban] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=178 ericsson ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a01 sagem ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1346 cheap diazepam] [http://news.engin.brown.edu/forums/thread-view.asp?tid=222 sharp ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a1d free cingular ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30230 but adipex] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=138 verizon ringtones] [http://wc1.worldcrossing.com/WebX/.1de609fe qwest ringtones] [http://wc1.worldcrossing.com/WebX/.1de609e4 cheap clonazepam] [http://wc1.worldcrossing.com/WebX/.1de60a31 buy zanaflex] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=106 free mtv ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a1a mtv ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a15 free kyocera ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=218 free sony ericsson ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=132 cheap tenuate] [http://students.hsc.unt.edu/housing/item.cfm?type=2904 free real ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=137 cheap valium] [http://news.engin.brown.edu/forums/thread-view.asp?tid=168 paxil online] [http://library.cshl.edu/wp/vb/member.php?u=1367 cheap didrex] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30295 sildenafil online] [http://wc1.worldcrossing.com/WebX/.1de609f7 free nextel ringtones] [http://wc1.worldcrossing.com/WebX/.1de609f3 midi ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1348 cheap ativan] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=337 online xanax] [http://wc1.worldcrossing.com/WebX/.1de609e6 buy cyclobenzaprine] [http://library.cshl.edu/wp/vb/member.php?u=1360 lorazepam online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=162 alltel ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=176 didrex online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=204 free mp3 ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2911 cingular ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a07 tracfone ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30241 xanax online] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=356 tracfone ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=111 cheap norco] [http://wc1.worldcrossing.com/WebX/.1de60a13 fioricet online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=191 lorazepam online] [http://library.cshl.edu/wp/vb/member.php?u=1369 free free ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2858 cheap viagra] [http://news.engin.brown.edu/forums/thread-view.asp?tid=224 wwe ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2852 xanax online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30307 cheap zoloft] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30331 free free ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a27 cheap sildenafil] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=145 cheap xenical] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30339 free samsung ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30294 prozac online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=176 buy ultracet] [http://library.cshl.edu/wp/vb/member.php?u=1352 buy norco] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=189 but lipitor] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=362 free motorola ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=224 sagem ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=101 buy meridia] [http://wc1.worldcrossing.com/WebX/.1de609ee cheap hydrocodone] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30244 cheap diazepam] [http://wc1.worldcrossing.com/WebX/.1de609e0 ativan online] [http://students.hsc.unt.edu/housing/item.cfm?type=2861 norco online] [http://students.hsc.unt.edu/housing/item.cfm?type=2877 cheap prozac] [http://news.engin.brown.edu/forums/thread-view.asp?tid=216 free sonyericsson ringtones] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=360 qwest ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=190 lisinopril online] [http://wc1.worldcrossing.com/WebX/.1de60a10 cheap didrex] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=228 ultram online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=76 cialis] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30259 alprazolam online] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=359 free nextel ringtones] [http://wc1.worldcrossing.com/WebX/.1de609e5 free cool ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2888 cheap lortab] [http://library.cshl.edu/wp/vb/member.php?u=1373 free nextel ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=216 cheap zyban] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=206 cheap pharmacy online] [http://library.cshl.edu/wp/vb/member.php?u=1344 xanax online] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=344 online ativan] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30345 free sprint ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30248 ativan online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=131 sprint ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2871 cheap wellbutrin] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=146 buy zanaflex] [http://news.engin.brown.edu/forums/thread-view.asp?tid=154 buy carisoprodol] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30280 propecia online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=118 prozac online] [http://library.cshl.edu/wp/vb/member.php?u=1341 valium online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=144 xanax online] [http://students.hsc.unt.edu/housing/item.cfm?type=2905 free motorola ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=112 cheap ortho] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=223 wellbutrin online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=169 cheap levitra] [http://news.engin.brown.edu/forums/thread-view.asp?tid=156 fioricet] [http://library.cshl.edu/wp/vb/member.php?u=1377 free samsung ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30312 cheap ortho] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30356 free cool ringtones] [http://wc1.worldcrossing.com/WebX/.1de609f0 lorazepam online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=187 celexa online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30230 tramadol online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=211 free polyphonic ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=214 zanaflex online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=110 nokia ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=189 ortho online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=237 free samsung ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=151 soma online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=99 lorazepam online] [http://students.hsc.unt.edu/housing/item.cfm?type=2912 free sagem ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2907 sprint ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a17 buy lipitor] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30334 mp3 ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=234 free sprint ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=141 vigrx online] [http://wc1.worldcrossing.com/WebX/.1de60a23 free polyphonic ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a1f lisinopril online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=197 free mp3 ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1349 viagra online] [http://library.cshl.edu/wp/vb/member.php?u=1382 cingular ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30310 cheap tenuate] [http://students.hsc.unt.edu/housing/item.cfm?type=2922 free kyocera ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=206 qwest ringtones] [http://wc1.worldcrossing.com/WebX/.1de609f9 norco online] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=351 clonazepam online] [http://students.hsc.unt.edu/housing/item.cfm?type=2878 cheap sildenafil] [http://students.hsc.unt.edu/housing/item.cfm?type=2902 free nextel ringtones] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=357 free funny ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1347 cialis] [http://library.cshl.edu/wp/vb/member.php?u=1365 cheap ultracet] [http://news.engin.brown.edu/forums/thread-view.asp?tid=210 sprint ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=158 diazepam online] [http://wc1.worldcrossing.com/WebX/.1de609ea free free ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a25 free samsung ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=88 free free ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1358 hydrocodone online] [http://library.cshl.edu/wp/vb/member.php?u=1339 cheap tramadol] [http://students.hsc.unt.edu/housing/item.cfm?type=2868 cheap ambien] [http://news.engin.brown.edu/forums/thread-view.asp?tid=228 free mtv ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=104 free motorola ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=89 funny ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=211 music ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=80 cool ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1388 fioricet online] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=361 free real ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=172 lorazepam] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=333 cheap soma] [http://news.engin.brown.edu/forums/thread-view.asp?tid=182 cheap clomid] [http://library.cshl.edu/wp/vb/member.php?u=1355 but clonazepam] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=205 paxil online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=184 lisinopril online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=124 samsung ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a04 sonyericsson ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=115 phentermine online] [http://library.cshl.edu/wp/vb/member.php?u=1387 alltel ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a05 free sprint ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=167 cheap clonazepam] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30283 didrex online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=157 cheap ultram] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=230 verizon ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30309 cheap celexa] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=348 but norco] [http://wc1.worldcrossing.com/WebX/.1de60a11 diethylpropion online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=188 tenuate online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=212 free verizon ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30308 lipitor online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=82 buy diazepam] [http://library.cshl.edu/wp/vb/member.php?u=1380 verizon ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=163 cheap adipex] [http://students.hsc.unt.edu/housing/item.cfm?type=2859 cheap meridia] [http://news.engin.brown.edu/forums/thread-view.asp?tid=209 samsung ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=170 free cingular ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=78 clomid] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30298 lisinopril online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=74 carisoprodol online] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=352 paxil online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=227 free ericsson ringtones] == What is the Serial Console ==
+
{{Template:Articles|TerastationProV1}}
 +
[[Image:Ts-pro-1.jpg|frame|right]]
 +
__TOC__
 +
== What is the Serial Console ==
 
The serial console is allowing to get message output from the boot process. You can check the boot log (you can even interrupt it to enter some commands), and also the kernel boot log.
 
The serial console is allowing to get message output from the boot process. You can check the boot log (you can even interrupt it to enter some commands), and also the kernel boot log.
 
It's mainly usefull when developping some boot or kernel modifications, this way, if something goes wrong at the startup (aka kernel panic), you'll be able to see where it stopped.
 
It's mainly usefull when developping some boot or kernel modifications, this way, if something goes wrong at the startup (aka kernel panic), you'll be able to see where it stopped.
Line 6: Line 9:
 
Many Bufalo's devices need some soldering work to get the console output over the serial link, the good news with the TeraStation Pro is that you don't even need to open the box to get serial console access because you can use the UPS serial port ! The "bad" news is that you need to start the TsP at least one time to switch the serial link from ''UPS function'' to ''serial function''.
 
Many Bufalo's devices need some soldering work to get the console output over the serial link, the good news with the TeraStation Pro is that you don't even need to open the box to get serial console access because you can use the UPS serial port ! The "bad" news is that you need to start the TsP at least one time to switch the serial link from ''UPS function'' to ''serial function''.
 
There are 2 methods to switch the serial link to console mode :
 
There are 2 methods to switch the serial link to console mode :
* Open your browser, and open this page : http://{TeraStation_Pro_IP}/cgi-bin/task.cgi?task=console
+
* Open your browser, and open this page : http://{TeraStation_Pro_IP}/cgi-bin/task.cgi?task=console&param=on*
 +
* Log in telnet/SSH and run this command : /usr/sbin/miconapl -a serialmode_console
 +
Once the switching is done, you can reboot your TsP (A power-off will reset the serial switchin to UPS function, but a reboot will keep the setting as defined by the user). You'll then be able to see console output using HyperTerminal application.
 +
 
 +
The serial port configuration is the following :
 +
57600bps, 8bit, 1 stop bit, no parity, no flow control
 +
You'll also need to connect your computer to the TsP using a cross over serial cable.
 +
 +
'''Note:''' This also works on the TSP2, except the serial port should be set to 115200 bps, 8 bit, 1 stop bit, no parity, no flow control.
 +
 
 +
== Console output ==
 +
Here are some console output logs :
 +
* The bootloader
 +
BOOTCODE 1.24 (Jul 6 2006 - 15:30:34)
 +
romsum=0b521f8f Setup MMU
 +
Memtest64bit
 +
MemtestData
 +
aaaaaaaa 55555555 ffffffff 00000000 MemtestAdrs
 +
isUseRevClock=0
 +
idsel=11:816910ec
 +
idsel=12:35121095
 +
idsel=13:35121095
 +
idsel=14:00351033
 +
 +
******* Product Information *******
 +
----------------------------------
 +
Product Name: TS-TGL(IENARI)
 +
VER: 3.09
 +
Date: 2006/7/18 9:29:29
 +
----------------------------------
 +
Firmware check:done.
 +
 +
>>root=/dev/md0
 +
hit any key to Enter cmd mode.
 +
Now Loading...zimage_start=FFC0006C
 +
zimage_size=000FD3BD
 +
done.
 +
Now Booting
 +
 
 +
* The kernel startup (just few lines)
 +
KERNELBASE=c0000000 r6=900030 r7=900052
 +
cmd_line=root=/dev/md0 panic=5 BOOTVER=1.24
 +
Memory BAT mapping: BAT2=128Mb, BAT3=0Mb, residual: 0Mb
 +
Linux version 2.4.20_mvl31-ppc_terastation (root@develop) (gcc version 3.3.1 (MontaVista  3.3.1-7.0.13.0500039 2005-01-13)) #3 Tue Jul 18 09:29:11 JST 2006
 +
BUFFALO Network Attached Storage Series
 +
(C) 2002-2005 BUFFALO INC.
 +
On node 0 totalpages: 32768
 +
zone(0): 32768 pages.
 +
zone(1): 0 pages.
 +
zone(2): 0 pages.
 +
Kernel command line: root=/dev/md0 panic=5 BOOTVER=1.24
 +
OpenPIC Version 1.2 (1 CPUs and 10 IRQ sources) at 80040000
 +
decrementer frequency = 32.768000 MHz
 +
Calibrating delay loop... 174.48 BogoMIPS
 +
Memory: 125200k available (1692k kernel code, 532k data, 68k init, 0k highmem)
 +
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
 +
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
 +
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
 +
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
 +
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
 +
POSIX conformance testing by UNIFIX
 +
PCI: Probing PCI hardware
 +
Linux NET4.0 for Linux 2.4
 +
Based upon Swansea University Computer Society NET3.039
 +
Initializing RT netlink socket
 +
BUFFALO INC. RTC driver ver 1.00
 +
MICON V2 (C) BUFFALO INC. V.1.00 installed.
 +
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
 +
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
 +
LSP Revision 1
 +
Starting kswapd
 +
Disabling the Out Of Memory Killer
 +
Journalled Block Device driver loaded

Revision as of 06:26, 13 November 2012

Ts-pro-1.jpg

Contents

What is the Serial Console

The serial console is allowing to get message output from the boot process. You can check the boot log (you can even interrupt it to enter some commands), and also the kernel boot log. It's mainly usefull when developping some boot or kernel modifications, this way, if something goes wrong at the startup (aka kernel panic), you'll be able to see where it stopped.

How to get a serial console log on the TsP

Many Bufalo's devices need some soldering work to get the console output over the serial link, the good news with the TeraStation Pro is that you don't even need to open the box to get serial console access because you can use the UPS serial port ! The "bad" news is that you need to start the TsP at least one time to switch the serial link from UPS function to serial function. There are 2 methods to switch the serial link to console mode :

Once the switching is done, you can reboot your TsP (A power-off will reset the serial switchin to UPS function, but a reboot will keep the setting as defined by the user). You'll then be able to see console output using HyperTerminal application.

The serial port configuration is the following : 57600bps, 8bit, 1 stop bit, no parity, no flow control You'll also need to connect your computer to the TsP using a cross over serial cable.

Note: This also works on the TSP2, except the serial port should be set to 115200 bps, 8 bit, 1 stop bit, no parity, no flow control.

Console output

Here are some console output logs :

  • The bootloader
BOOTCODE 1.24 (Jul 6 2006 - 15:30:34) 		
romsum=0b521f8f Setup MMU 		
Memtest64bit 		
MemtestData 		
aaaaaaaa 55555555 ffffffff 00000000 MemtestAdrs 		
isUseRevClock=0 		
idsel=11:816910ec 		
idsel=12:35121095 		
idsel=13:35121095 		
idsel=14:00351033 		
******* Product Information ******* 		
---------------------------------- 		
Product Name: TS-TGL(IENARI) 		
VER: 3.09 		
Date: 2006/7/18 9:29:29 		
---------------------------------- 		
Firmware check:done. 		
		
>>root=/dev/md0 		
hit any key to Enter cmd mode. 		
Now Loading...zimage_start=FFC0006C 		
zimage_size=000FD3BD 		
done. 		
Now Booting		
  • The kernel startup (just few lines)
KERNELBASE=c0000000 r6=900030 r7=900052		
cmd_line=root=/dev/md0 panic=5 BOOTVER=1.24		
Memory BAT mapping: BAT2=128Mb, BAT3=0Mb, residual: 0Mb		
Linux version 2.4.20_mvl31-ppc_terastation (root@develop) (gcc version 3.3.1 (MontaVista  3.3.1-7.0.13.0500039 2005-01-13)) #3 Tue Jul 18 09:29:11 JST 2006		
BUFFALO Network Attached Storage Series		
(C) 2002-2005 BUFFALO INC.		
On node 0 totalpages: 32768		
zone(0): 32768 pages.		
zone(1): 0 pages.		
zone(2): 0 pages.		
Kernel command line: root=/dev/md0 panic=5 BOOTVER=1.24		
OpenPIC Version 1.2 (1 CPUs and 10 IRQ sources) at 80040000		
decrementer frequency = 32.768000 MHz 		
Calibrating delay loop... 174.48 BogoMIPS		
Memory: 125200k available (1692k kernel code, 532k data, 68k init, 0k highmem)		
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)		
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)		
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)		
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)		
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)		
POSIX conformance testing by UNIFIX		
PCI: Probing PCI hardware		
Linux NET4.0 for Linux 2.4		
Based upon Swansea University Computer Society NET3.039		
Initializing RT netlink socket		
BUFFALO INC. RTC driver ver 1.00		
MICON V2 (C) BUFFALO INC. V.1.00 installed.		
MICON ctrl (C) BUFFALO INC. V.1.00 installed.		
Kernel event proc (C) BUFFALO INC. V.1.00 installed.		
LSP Revision 1		
Starting kswapd		
Disabling the Out Of Memory Killer		
Journalled Block Device driver loaded