https://book.douban.com/review/8385449/
把我发现及综合楼主的贴一下, 有一些不是错误, 只是由于我这边的硬件条件与书中不一致(如书中用了virtualbox,而我这边用kvm等,,其中不同硬件的驱动会与书中有不少出入,基本整书都翻过, 我照着书做到chapter6中的前面部分(也就是把SSHD搭完我就收手了, 毕竟后期折腾windowX与我一开始的想法有些出入)
深度探索Linux操作系统:系统构建和原理解析.pdf
errata :
p50.
while
on the /vita/build
mkdir glibc-build
modify to
mkdir -p glibc_build/posix
p49的安装内核头文件这一小节中:
”make ARCH=i386 INSTALL_HDR_PATH=$SYSROOT/usr/headers_install“, 请在"headers_install" 前加一个空格。
compile the glibc first times,
--with-headers=$SYSROOT/include
modify to
--with-headers=$SYSROOT/headers_include/include
这里不用改也没毛病的。。
if you use the us1404 server with the
gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
while compile the
p47
cross-gcc-tmp
would report error
编译gcc-4.7.2出错:In function '__absvdi2':internal compi...
http://tieba.baidu.com/p/2748495799
you'd better use the 4.7.3..
with the kvm I use the virtio as the disk controller, but not work,
so add a scsi disk with the virt-manager instead,
and then, I follow the guilde with
https://forums.gentoo.org/viewtopic-t-297185-view-next.html?sid=5c21a1c8867d7629e0858be085c96b79
compile the
Code:SYM53C8XX Version 2 SCSI support (SCSI_SYM53C8XX_2)
Location:
-> Device Drivers
-> SCSI device support
-> SCSI device support (SCSI)
-> SCSI low-level drivers
Depends:
PCI && SCSI
and then done
---------------------------------------------------------------------------------------------
102 页
sed -r -e 这行我得不出结果,
这一个就是要从输出的中括号中得到库的文件名.
---------------------------------------------------------------------------------------------
P126
mkdir -p initramfs/lib/modules/3.7.4/kernel/drivers/ata
--change the
cp -drf /vita/sysroot/lib/modules/3.7.4 /vita/initramfs/lib/modules/
because the driver (modules you really needed may different from the book)
--------------------------------------------------------------------------------------------------------------------
P288
openssh make install could report error
edit the Makefile int the openssh dir
and search the
install
then
change the
install: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files install-sysconf host-key check-config
to
install: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files install-sysconf host-key