2007年7月25日 星期三

Thanks to My BIG Octopus

Today I have a "burst device".
What it can do? You can't figure out!!
Actually, it just a reset button on my desk for convenient. It is easy to reset my computer now.
When u must reset ur computer more than ten times a day. It will be necessary to have reset button on ur hand.

2007年7月21日 星期六

using serial port to debug on minix3

Surfing on minix news group, and I find it claim it has serial port output in kernel, but actually it is not complete.
UART, controller for controlling serial port ,game port and ...I didn;t got fimiliar with it.

Implemetation:
I write init_serialport(in kernel/kprintf.c) , it will be called in kernel main function if SERIAL_DEBUG is defined.
Then what kputc()(in kernel/kprintf.c) do is to write one char to register.

Thanks to
http://www.beyondlogic.org/serial/serial.htm#1

2007年7月20日 星期五

如何灌gentoo

1.設定網路
2.用fdisk分割好所要磁區(密切注意 要換type跟開機磁區)
3.用mkreiserfs和mkswap格式化磁區
4.mount到/mnt/gentoo
mount -t proc none /mnt/proc
swapon /dev/hda3
5.用link2 http://cdpa.linux.nsysu.edu.tw下載portage跟stage3
6.解stage3到/mnt/gentoo而 portage到/mnt/gentoo/usr下
7.編輯/mnt/gentoo/etc下面的文件(先不要chroot,因為chroot後沒有vim)
8.chroot 用emerge裝grub跟gentoo-sources(kernel)
9.編kernel(要選cpu跟硬碟,可用dmesg,還有支援的fs)
10.打grub....root(hd0,3)這是grub所在位置.....setup(hd0)裝再此硬碟第一個block
11.修改grub設定檔,要注意檔案在/boot下面 root (hd0,3)表示boot檔案的位置,以此為相對位置

2007年7月13日 星期五

以後不會買IBM的小no了

不知道其他地方售後服務怎樣,不過高雄實在不怎麼好,態度很好,技術很差.....
我把小黑送修,因為發現它過熱,風扇不怎麼轉,買不到兩年,不過是一年保的機種,維修要錢了。檢測完說要換整個散熱模組,他們也不想想,這整個模組除了風扇跟sensor會壞外,還有什麼東西會壞,竟然要整個換掉,要價NT$2310,我可以體諒他們的東西都是封在一起的,不能單獨換,但是既然拆了,為什麼不順便清一清了,連我全部都是新的螺絲回來全都變成舊的,誰會在那裡檢查螺絲><"
選擇不維修,回家後拆下來清,風扇就好了。
C小D最生氣的是,有個customer說升級完的BIOS有問題,問能不能替他回復到舊的BIOS,工程師竟然跟他說他們沒有做這樣的服務,因為弄不好主機板會壞掉.......><" 他是小學生吼......軟體去燒firmware遇中斷會有問題,但至少技術人員應該要有可以直接寫ROM的機器阿!!!!!最好是會壞拉!!!

他們的技術真的很差,聽說是外包,應該不會再買IBM了,除非發現其他地方維修不錯。