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)
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[http://downslip.info/index1_1000.html url] [http://patch-need-for-speed-undergr.unfeeble.info/ patch need for speed undergr] [http://x-iso.batswing.info/ x iso] [http://assholefever-com.stroam.info/ Assholefever com] [http://louise-adkins.wrawler.info/ louise adkins] [http://misserve.info/index8_250.html homepage] [http://video-mutu.indulger.info/ video mutu] [http://bust-movie.downslip.info/ bust movie] [http://shoking.indulger.info/ shoking] [http://virgin-express.stroam.info/ virgin express] [http://noi-parte-2.stroam.info/ noi parte 2] [http://w-w-w-pleyboy.downslip.info/ w w w pleyboy] [http://asus-pci.downslip.info/ asus pci] [http://lt-180.misserve.info/ lt 180] [http://dogsex-german.unfeeble.info/ dogsex german] [http://oostende.downslip.info/ oostende] [http://fu-rught-back.batswing.info/ fu rught back] [http://notebok-ecs.stroam.info/ notebok ecs] [http://merauke.stroam.info/ merauke] [http://bp-522.wrawler.info/ bp 522] [http://unfeeble.info/index1_666.html site] [http://x-ray-murder.indulger.info/ x ray murder] [http://bank-srl.downslip.info/ bank srl] [http://www-kudai-cl.burblers.info/ www kudai cl] [http://www-uam-mx.downslip.info/ www uam mx] [http://teac-dvd-recorder.stroam.info/ teac dvd recorder] [http://www-tele2.batswing.info/ www tele2] [http://derki.wrawler.info/ derki] [http://djs-from-mars.downslip.info/ djs from mars] [http://whirlpool-arc-4190.burblers.info/ whirlpool arc 4190] [http://lcd-42-hd.wrawler.info/ lcd 42 hd] [http://downslip.info/index7_250.html page] [http://rc2000.misserve.info/ rc2000] [http://burblers.info/index4_250.html index] [http://dvd-hero.wrawler.info/ dvd hero] [http://uniross-15.downslip.info/ uniross 15] [http://san-prisco.batswing.info/ san prisco] [http://uomo-mutanda.indulger.info/ uomo mutanda] [http://roy.indulger.info/ roy] [http://cm-01-02.indulger.info/ cm 01 02] [http://indulger.info/index5_250.html site] [http://mixmeister-express-5.batswing.info/ mixmeister express 5] [http://in-te-nek.stroam.info/ in te nek] [http://don-t.misserve.info/ don t] [http://peugeot-1007.unfeeble.info/ peugeot 1007] [http://crabs-volley.wrawler.info/ crabs volley] [http://video-ansar.stroam.info/ video ansar] [http://gs-1100-bmw.batswing.info/ gs 1100 bmw] [http://dvd-recorder-80.batswing.info/ dvd recorder 80] [http://downslip.info/index2_666.html link] [http://notebook-con-tv-tuner.misserve.info/ notebook con tv tuner] [http://hn16s-hamlet.downslip.info/ hn16s hamlet] [http://univison.stroam.info/ univison] [http://gold-r.indulger.info/ gold r] [http://quick-mx.batswing.info/ quick mx] [http://primer.misserve.info/ primer] [http://www-abscbn-com.misserve.info/ www abscbn com] [http://megrez.unfeeble.info/ megrez] [http://motonline.stroam.info/ motonline] [http://sextoy.downslip.info/ sextoy] [http://magjong.indulger.info/ magjong] [http://burblers.info/index0_666.html site] [http://r-u-f-a.misserve.info/ r u f a] [http://sdm-s204.indulger.info/ sdm s204] [http://misserve.info/index1_666.html site] [http://padova-world.downslip.info/ padova world] [http://dragon-ballxxx.wrawler.info/ Dragon ballxxx] [http://mima.batswing.info/ mima] [http://batswing.info/index2_666.html home] [http://tell-me-bpy.downslip.info/ tell me bpy] [http://microsoft-mouse-blue.burblers.info/ microsoft mouse blue] [http://humax-hd-ready.stroam.info/ humax hd ready] [http://xvid-codec.downslip.info/ xvid codec] [http://film-hard-porno.burblers.info/ film hard porno] [http://buber-cars.indulger.info/ buber cars] [http://www-cartoon-com.misserve.info/ www cartoon com] [http://suck-cock-gay.stroam.info/ Suck cock gay] [http://underpop.misserve.info/ underpop] [http://wrawler.info/index5_1000.html home] [http://ma-jhong.indulger.info/ ma jhong] [http://mazda-3-km-0.unfeeble.info/ mazda 3 km 0] [http://piscina-dalmine.unfeeble.info/ piscina dalmine] [http://download-c6.wrawler.info/ download c6] [http://alberghi-a-livigno-con-piscina.burblers.info/ alberghi a livigno con piscina] [http://misserve.info/index0_250.html index] [http://zeljko-samardzic-ljubavnik.unfeeble.info/ zeljko samardzic ljubavnik] [http://philips-dvp3005.burblers.info/ philips dvp3005] [http://mahjong-shangai.unfeeble.info/ mahjong shangai] [http://batswing.info/index0_666.html site] [http://ronago.stroam.info/ ronago] [http://pikku-g.stroam.info/ pikku g] [http://autoscout24ch.batswing.info/ Autoscout24ch] [http://eva-robbins.indulger.info/ eva robbins] [http://lg-8163b.batswing.info/ lg 8163b] [http://z-5500.misserve.info/ z 5500] [http://kathy-s-song.indulger.info/ kathy s song] [http://otomo-katsuhiro.burblers.info/ otomo katsuhiro] [http://tgirls.stroam.info/ tgirls] [http://preisner.burblers.info/ preisner] [http://rubias19.wrawler.info/ rubias19] [http://totapulchraes.prepubic.info/ tota pulchra es] [http://minmi.loimic.info/ minmi] [http://lownoise.derided.info/ low noise] [http://extrememeasures.aniakudo.info/ extreme measures] [http://butfornow.mosaical.info/ but for now] [http://thecube.mosaical.info/ the cube] [http://gymnite.info/ gymnite.info] [http://epsonstylus.filchery.info/ epson stylus cx 3650] [http://videolcdpc.aniakudo.info/ video lcd pc] [http://ulubat.serfages.info/ ulubat] [http://costeau.muggars.info/ costeau] [http://bongee.muggars.info/ bongee] [http://microsoftmouse.mosaical.info/ microsoft mouse trackball] [http://lcdtv26.filchery.info/ lcd tv 26] [http://xdolympus128mb.filchery.info/ xd olympus 128mb] [http://finepixs20pro.prepubic.info/ fine pix s20 pro fujifilm] [http://downloadtardes.filchery.info/ download tardes negras mp3] [http://kll.loimic.info/ kll] [http://proteuspanca.be-header.info/ proteus panca] [http://colpofulmine.enbus-she.info/ Colpo fulmine] [http://atentat.mosaical.info/ a tentat] [http://doctorlesbo.prepubic.info/ doctor lesbo] [http://shiwillbeloved.aniakudo.info/ shi will be loved] [http://noviamia.be-header.info/ novia mia] [http://photography.be-header.info/ photography product] [http://cartoonhentay.prepubic.info/ Cartoon hentay] [http://hub35porteusb.ismene.info/ hub 3 5 porte usb] [http://serfages.info/ serfages.info] [http://donttellmelavigne.enridged.info/ don t tell me lavigne] [http://curvasudmilan.filchery.info/ curva sud milan] [http://fastendfurius.aniakudo.info/ fast end furius] [http://wwwgoldenpoint.enbus-she.info/ www golden point] [http://derided.info/ derided.info] [http://lavasciugaaeg.unveiler.info/ lavasciuga aeg] [http://neroexpress6.aniakudo.info/ nero express 6] [http://fengtai.derided.info/ fengtai] [http://torchon.serfages.info/ torchon] [http://wwwageebcom.enridged.info/ www ageeb com] [http://heatherspytek.prepubic.info/ heather spytek] [http://bmw1200lt.gymnite.info/ bmw 1200 lt] [http://webcamlan.enridged.info/ webcam lan] [http://infossnc.prepubic.info/ infos snc] [http://harsh.gymnite.info/ harsh] [http://bmwx544.unveiler.info/ bmw x5 4 4] [http://hphx2110tomtom.ismene.info/ hp hx2110 tomtom] [http://deadrobotwalking.mosaical.info/ dead robot walking] [http://imlikeabird.ismene.info/ i m like a bird] [http://apex.melonite.info/ apex] [http://johorbaharu.gymnite.info/ johor baharu hotel] [http://mobiliintek.loimic.info/ mobili in tek] [http://dontlokenow.unveiler.info/ dont loke now] [http://awo8126.prepubic.info/ awo8126] [http://elvenking.muggars.info/ elvenking] [http://pantyhosed.be-header.info/ pantyhosed] [http://proconsul.aniakudo.info/ proconsul] [http://samsung17crt.aniakudo.info/ samsung 17 crt 793df] [http://gunth.enridged.info/ gunth] [http://dodoma.filchery.info/ dodoma] [http://bonnycepeda.mosaical.info/ bonny cepeda] [http://maxiporno.prepubic.info/ maxi porno] [http://moviefreeporno.unveiler.info/ movie free porno] [http://busterrhyms.melonite.info/ buster rhyms] [http://leonking.enbus-she.info/ leon king] [http://lg15.gymnite.info/ lg 15] [http://thunderforce.derided.info/ thunderforce] [http://x43a.prepubic.info/ x 43a] [http://doppioforno.unveiler.info/ doppio forno] [http://tvcondvb.muggars.info/ tv con dvb] [http://camulodunum.be-header.info/ camulodunum] [http://snook.filchery.info/ snook] [http://nikon18mm.mosaical.info/ nikon 18mm] [http://absolutetelnet.derided.info/ absolutetelnet] [http://hillssd.mosaical.info/ hill s s d] [http://hacemoshoy.derided.info/ hacemos hoy] [http://haid.melonite.info/ haid] [http://acer512mp3reader.prepubic.info/ acer 512 mp3 reader] [http://ri7000.derided.info/ ri 7000] [http://pegasustorchons.prepubic.info/ pegasus torchons] [http://liube.prepubic.info/ liube] [http://tdkprintable.serfages.info/ tdk printable] [http://youhoochat.melonite.info/ youhoo chat] [http://rackhdd.serfages.info/ rack hdd] [http://john.aniakudo.info/ john] [http://mercedesslk.prepubic.info/ mercedes slk 2004] [http://sbs260.be-header.info/ sbs 260] [http://rodez.unveiler.info/ rodez] [http://padron.be-header.info/ padron] [http://fdfdsfds.melonite.info/ fdfdsfds] [http://whirlpoolawg874.mosaical.info/ whirlpool awg 874] [http://encodermp3.unveiler.info/ encoder mp3] [http://taiyoyuden.gymnite.info/ taiyo yuden] [http://blogs.enbus-she.info/ blogs] [http://largine.gymnite.info/ largine] [http://icdp110.ismene.info/ icd p110] [http://vicsoccerfedcom.muggars.info/ vic soccer fed com au] [http://globalplayer.filchery.info/ globalplayer] [http://ravensburger.serfages.info/ ravensburger] [http://goldwaferfiles.unveiler.info/ gold wafer files] [http://asuseax700pro.prepubic.info/ asus eax700pro] [http://amilo512mb.muggars.info/ amilo 512mb] == 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