
Linux驱动开发
swq1982
从事软件研发,曾研究软件无线电软件开发。现从事Linux驱动开发。
展开
-
在BIOS源码里初始化BSS段内存
今天调试BIOS会发生注册ethernet_register_protocol函数里发生注册失败的问题。内核代码:/* netman_start_monitor_device - start the monitor device and all protocol handlers for it */int netman_start_monitor_device(void){原创 2012-10-06 14:36:27 · 996 阅读 · 0 评论 -
基于ubuntu的TFTP服务器配置
(1) 配置文件server@ubuntu:~$ cat /etc/xinetd.d/tftp# default: off# description: The tftp server serves files using the trivial file transfer \# protocol. The tftp protocol is often used to boo原创 2012-10-06 14:24:27 · 506 阅读 · 0 评论 -
网卡网络唤醒WOL
1. 要实现网络唤醒,网卡要支持WOL (Wake On LAN)技术。网络唤醒帧Magic Packet由AMD公司拥有注册的专利技术,得到很多网卡制造商的支持。Magic Paket的数据包里包含有6字节的'F'和连续重复16次的MAC地址;利用tcpdump工具可以抓下的数据包演示如下(1) 发送魔包工具tftpboot@ubuntu-desktop:~$ sudo wakeonla原创 2012-10-12 15:28:29 · 2537 阅读 · 0 评论 -
alloc_skb与dev_alloc_skb异同
(1) alloc_skb函数static inline struct sk_buff *alloc_skb(unsigned intsize,gfp_t priority){ return__alloc_skb(size, priority, 0, -1);} __alloc_skb函数定义于文件,它分配sk_bu原创 2012-10-27 17:20:26 · 10851 阅读 · 0 评论 -
kernel BUG at mm/slab.c
GMAC: swgmac_linux_xmit_frames No More Free Tx DescriptorsGMAC: swgmac_linux_xmit_frames No More Free Tx DescriptorsGMAC: swgmac_linux_xmit_frames No More Free Tx DescriptorsGMAC: swgmac_linux_xmit原创 2012-10-12 15:17:51 · 5142 阅读 · 4 评论