• «
  • 1
  • 2
  • »
  • Pages: 1/2     Go
主题 : 请教SBC2440的双网卡问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 593
精华: 0
发帖: 11
金钱: 110 两
威望: 11 点
综合积分: 22 分
注册时间: 2008-04-27
最后登录: 2008-05-06
楼主  发表于: 2008-04-27 19:38

 请教SBC2440的双网卡问题

我用的是SBC2440板,为什么光盘里带的已编译内核都只是支持单一网卡?
我买这板是因为我需要同时支持双网卡,请问该如何配置内核?
或者能不能给个配置?

还有,我把光盘里自带的vivi烧进去后,发现和板子买回来时的vivi不同,原来提示符是Supervivi,现在变成了FriendlyARM,而且没有了菜单功能,可不可以提供一个板子原来带的vivi?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2008-04-27 22:15
我手上只有for QQ2440的kernel,不太清楚SBC2440内核的配置。不过既然SBC2440是双网卡的硬件,我相信光盘上自带kernel默认配置里应该有这两个网卡的配置。
如果你用的是menuconfig, 网卡设备的配置一般在Device Drivers->Network device support下面
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 593
精华: 0
发帖: 11
金钱: 110 两
威望: 11 点
综合积分: 22 分
注册时间: 2008-04-27
最后登录: 2008-05-06
2楼  发表于: 2008-04-28 12:51
我把默认配置了DM9000网卡驱动的配置文件导入后,再把CS8900网卡的驱动模块配置进内核一起编译,最后竟然是8900可以用,而DM9000不能用。

在超级终端下用 ifconfig eth1 up  启用DM9000网卡时,出现如下一行提示:
enabled_irq(51)  unbalanced from c0173b7c
不知是什么意思


请问友善在哪里有提供SBC2440的技术支持?有没QQ群或BBS?
[ 此贴被what_i_know在2008-04-28 14:20重新编辑 ]
描述:这是DM9000的内核配置文件
附件: config_dm9000_n35.rar (7 K) 下载次数:18
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2008-04-28 13:27
引用第2楼what_i_know于2008-04-28 12:51发表的  :
我把默认配置了DM9000网卡驱动的配置文件导入后,再把CS8900网卡的驱动模块配置进内核一起编译,最后竟然是8900可以用,而DM9000不能用。

在超级终端下用 ifconfig eth1 up  启用DM9000网卡时,出现如下一行提示:
enabled_irq(51)  unbalanced from c0173b7c
不知是什么意思
.......


irq(51)是DM9000用的IRQ (EINT7)号,这个出错信息的意思是驱动对IRQ的enable和disable次数不匹配
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 593
精华: 0
发帖: 11
金钱: 110 两
威望: 11 点
综合积分: 22 分
注册时间: 2008-04-27
最后登录: 2008-05-06
4楼  发表于: 2008-04-28 14:19
请问该如何解决呢?

是不是内核配置错误的问题?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
5楼  发表于: 2008-04-28 14:34
一般来讲,这是驱动程序的问题,至于具体如何解决,你得看kernel里面dm9000的驱动程序源代码,以及SBC2440上对dm9000的硬件初始化配置部分源代码
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 593
精华: 0
发帖: 11
金钱: 110 两
威望: 11 点
综合积分: 22 分
注册时间: 2008-04-27
最后登录: 2008-05-06
6楼  发表于: 2008-04-28 15:04
但是单独把DM9000驱动模块编译进内核却可以正常使用,只在两者同时编译进去才会出问题。

我是做软件开发的,不是做硬件驱动开发的,所以对驱动源码根本不懂,要自己看的话就头大了。

而且友善主页上提供的就只有单网卡的配置,不知是不是不支持双网卡的同时使用。
[ 此贴被what_i_know在2008-04-28 15:40重新编辑 ]
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
7楼  发表于: 2008-04-28 16:07

1. 单独编译dm9000时kernel启动的log
2. 同时编译dm9000和CS8900时kernel的启动log
3. 同时编译dm9000和CS8900时执行"ifconfig eth1 up"的kernel信息
都贴出来看看吧
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 593
精华: 0
发帖: 11
金钱: 110 两
威望: 11 点
综合积分: 22 分
注册时间: 2008-04-27
最后登录: 2008-05-06
8楼  发表于: 2008-04-29 14:25
*****************************单独编译dm9000时kernel启动的log**********************************

<5>Linux version 2.6.13 (root@localhost.domain) (gcc version 3.4.1) #4 Mon Apr 2
8 23:49:52 CST 2008
<4>CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
<4>Machine: SBC2440
<7>Converting old-style param struct to taglist
<4>ATAG_INITRD is deprecated; please update your bootloader.
<4>Memory policy: ECC disabled, Data cache writeback
<4>CPU S3C2440A (id 0x32440001)
<4>BUG: mapping for 0x19000000 at 0xd0000000 overlaps vmalloc space
<4>S3C2440: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
<6>S3C2410 Clocks, (c) 2004 Simtec Electronics
<7>On node 0 totalpages: 16384
<7>  DMA zone: 16384 pages, LIFO batch:7
<7>  Normal zone: 0 pages, LIFO batch:1
<7>  HighMem zone: 0 pages, LIFO batch:1
<4>CPU0: D VIVT write-back cache
<4>CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
<4>CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
<4>Built 1 zonelists
<5>Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySA
C0
<4>irq: clearing pending ext status 00000200
<4>irq: clearing pending status 02000000
<4>irq: clearing subpending status 00000002
<4>PID hash table entries: 512 (order: 9, 8192 bytes)
<4>timer tcon=00000000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57
<4>Console: colour dummy device 80x30
<7>selected clock c02dfa48 (pclk) quot 26, calc 117187
<4>Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
<4>Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>Memory: 64MB = 64MB total
<5>Memory: 61056KB available (2538K code, 1004K data, 148K init)
<7>Calibrating delay loop... 202.34 BogoMIPS (lpj=505856)
<4>Mount-cache hash table entries: 512
<6>CPU: Testing write buffer coherency: ok
<6>NET: Registered protocol family 16
<4>USB Power Control, (c) 2004 Simtec Electronics
<4>S3C2440: Initialising architecture
<4>S3C2440: IRQ Support
<4>S3C2440: Clock Support, UPLL 48.000 MHz
<5>SCSI subsystem initialized
<6>usbcore: registered new driver hub
<4>S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics
<4>DMA channel 0 at c4800000, irq 33
<4>DMA channel 1 at c4800040, irq 34
<4>DMA channel 2 at c4800080, irq 35
<4>DMA channel 3 at c48000c0, irq 36
<4>NetWinder Floating Point Emulator V0.97 (double precision)
<6>devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
<6>devfs: boot_options: 0x1
<4>yaffs Apr 28 2008 23:47:59 Installing.
<6>Initializing Cryptographic API
<4>Console: switching to colour frame buffer device 48x40
<6>S3C24X0 fb0: s3c2410fb frame buffer device initialize done
<4>GPIO L3 bus interface for S3C2440, installed
<4>S3C2410 RTC, (c) 2004 Simtec Electronics
<6>s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
<4>leds initialized
<6>Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
<4>s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
<4>devfs_mk_dev: could not append to parent for tts/0
<4>s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
<4>devfs_mk_dev: could not append to parent for tts/1
<4>s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
<4>devfs_mk_dev: could not append to parent for tts/2
<6>io scheduler noop registered
<6>io scheduler anticipatory registered
<6>io scheduler deadline registered
<6>io scheduler cfq registered
<4>RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
<6>loop: loaded (max 8 devices)
<6>nbd: registered device at major 43
<4>DM9000 ethernet driver V1.26 I/O: c480c300, VID: 90000a46
<6>Linux video capture interface: v1.00
<6>ovcamchip: v2.27 for Linux 2.6 : OV camera chip I2C driver
<7>i2c-core: driver ovcamchip registered.
<6>Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
<6>ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
<4>ide_s3c2440_init
<4>ide0: S3C2410 IDE interface
<7>Probing IDE interface ide0...
<4>S3C24XX NAND Driver, (c) 2004 Simtec Electronics
<7>s3c2410_nand_probe(c02ad29c)
<6>s3c2410-nand: mapped registers at c4880000
<7>result 1 from 101250, 0
<7>result 297 from 101250, 30
<4>30 ns is too big for current clock rate 101250
<7>result 1 from 101250, 0
<6>s3c2410-nand: timing: Tacls 0ns, Twrph0 4294ns, Twrph1 0ns
<7>s3c2410-nand: NF_CONF is 0xfffffe00
<7>initialising set 0 (c0504400, info c0505920)
<6>NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-
bit)
<6>Scanning device for bad blocks
<4>Bad eraseblock 686 at 0x00ab8000
<4>Bad eraseblock 1372 at 0x01570000
<4>Bad eraseblock 1825 at 0x01c84000
<5>Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
<5>0x00000000-0x00030000 : "bootloader"
<6>mtd: Giving out device 0 to bootloader
<5>0x00050000-0x00250000 : "kernel"
<6>mtd: Giving out device 1 to kernel
<5>0x00250000-0x03ffc000 : "root"
<6>mtd: Giving out device 2 to root
<7>initialised ok
<6>s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
<6>s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
<6>s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 2 ports detected
<6>Initializing USB Mass Storage driver...
<6>usbcore: registered new driver usb-storage
<6>USB Mass Storage support registered.
<6>usbcore: registered new driver usbhid
<6>drivers/usb/input/hid-core.c: v2.01:USB HID core driver
<6>usbcore: registered new driver ov511
<6>drivers/usb/media/ov511.c: v1.64 for Linux 2.5 : ov511 USB Camera Driver
<6>usbcore: registered new driver gspca
<6>drivers/usb/media/gspca/gspca_core.c: gspca driver 00.60.00 registered
<6>mice: PS/2 mouse device common for all mice
<6>ts: Compaq touchscreen protocol output
<7>Entering s3c2410ts_init
<7>got and enabled clock
<6>s3c2410 TouchScreen successfully loaded
<6>i2c /dev entries driver
<7>i2c-core: driver dev_driver registered.
<7>s3c2440-i2c s3c2440-i2c: clock source c02abc68
<7>s3c2440-i2c s3c2440-i2c: registers c4b80000 (c05e33a0, c02acd9c)
<6>s3c2440-i2c s3c2440-i2c: slave address 0x10
<7>s3c2440-i2c s3c2440-i2c: pdata c02fab38, freq 100000 0..400000
<6>s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz
<7>s3c2440-i2c s3c2440-i2c: S3C2410_IICCON=0xe0
<7>s3c2440-i2c s3c2440-i2c: S3C2440_IICLC=00000005
<7>s3c2440-i2c s3c2440-i2c: irq resource c02acdb8 (43)
<7>i2c_adapter i2c-0: Registered as minor 0
<7>i2c_adapter i2c-0: registered as adapter #0
<6>s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
<6>mmci-s3c2410: probe: mapped sdi_base=c4d00000 irq=37 irq_cd=60 dma=0.
<6>mmci-s3c2410: initialisation done.
<4>SBC2440 SOUND driver register
<4>SBC2440 SOUND driver probe!
<4>SBC2440 UDA1341 audio driver initialized
<6>NET: Registered protocol family 2
<4>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<4>TCP established hash table entries: 4096 (order: 3, 32768 bytes)
<4>TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
<6>TCP: Hash tables configured (established 4096 bind 4096)
<6>TCP reno registered
<6>TCP bic registered
<6>NET: Registered protocol family 1
<6>NET: Registered protocol family 17
<7>MMC: starting cmd 00 arg 00000000 flags 00000000
<7>MMC: sd_app_op_cond to 00100000
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<3>MMC: sd_app_op_cond locked busy. Probably have broken SD-Card.
<7>MMC: starting cmd 02 arg 00000000 flags 00000002
<7>MMC: starting cmd 01 arg 00100000 flags 00000001
<7>MMC: starting cmd 02 arg 00000000 flags 00000002
<6>yaffs: dev is 32505858 name is "mtdblock2"
<4>yaffs: Attempting MTD mount on 31.2, "mtdblock2"
<4>yaffs: yaffs_GutsInitialise()
<4>block 539 is bad
<4>block 1225 is bad
<4>block 1678 is bad
<4>yaffs: yaffs_GutsInitialise() done.
<4>
<4>VFS: Mounted root (yaffs filesystem).
<6>Mounted devfs on /dev
<6>Freeing init memory: 148K
<7>selected clock c02dfa48 (pclk) quot 26, calc 117187
<7>selected clock c02dfa48 (pclk) quot 26, calc 117187
<7>selected clock c02dfa48 (pclk) quot 26, calc 117187
<7>selected clock c02dfa48 (pclk) quot 26, calc 117187
<7>selected clock c02dfa48 (pclk) quot 26, calc 117187
<4>enable_irq(51) unbalanced from c0172970
<7>selected clock c02dfa48 (pclk) quot 26, calc 117187


**************************同时编译dm9000和CS8900时kernel的启动log*****************************

<5>Linux version 2.6.13 (root@localhost.domain) (gcc version 3.4.1) #8 Mon Apr 2
8 23:58:43 CST 2008
<4>CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
<4>Machine: SBC2440
<7>Converting old-style param struct to taglist
<4>ATAG_INITRD is deprecated; please update your bootloader.
<4>Memory policy: ECC disabled, Data cache writeback
<4>CPU S3C2440A (id 0x32440001)
<4>BUG: mapping for 0x19000000 at 0xd0000000 overlaps vmalloc space
<4>S3C2440: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
<6>S3C2410 Clocks, (c) 2004 Simtec Electronics
<7>On node 0 totalpages: 16384
<7>  DMA zone: 16384 pages, LIFO batch:7
<7>  Normal zone: 0 pages, LIFO batch:1
<7>  HighMem zone: 0 pages, LIFO batch:1
<4>CPU0: D VIVT write-back cache
<4>CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
<4>CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
<4>Built 1 zonelists
<5>Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySA
C0
<4>irq: clearing pending ext status 00000200
<4>irq: clearing pending status 02000000
<4>irq: clearing subpending status 00000002
<4>PID hash table entries: 512 (order: 9, 8192 bytes)
<4>timer tcon=00000000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57
<4>Console: colour dummy device 80x30
<7>selected clock c02e1a48 (pclk) quot 26, calc 117187
<4>Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
<4>Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>Memory: 64MB = 64MB total
<5>Memory: 61056KB available (2543K code, 1008K data, 148K init)
<7>Calibrating delay loop... 202.34 BogoMIPS (lpj=505856)
<4>Mount-cache hash table entries: 512
<6>CPU: Testing write buffer coherency: ok
<6>NET: Registered protocol family 16
<4>USB Power Control, (c) 2004 Simtec Electronics
<4>S3C2440: Initialising architecture
<4>S3C2440: IRQ Support
<4>S3C2440: Clock Support, UPLL 48.000 MHz
<5>SCSI subsystem initialized
<6>usbcore: registered new driver hub
<4>S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics
<4>DMA channel 0 at c4800000, irq 33
<4>DMA channel 1 at c4800040, irq 34
<4>DMA channel 2 at c4800080, irq 35
<4>DMA channel 3 at c48000c0, irq 36
<4>NetWinder Floating Point Emulator V0.97 (double precision)
<6>devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
<6>devfs: boot_options: 0x1
<4>yaffs Apr 28 2008 23:47:59 Installing.
<6>Initializing Cryptographic API
<4>Console: switching to colour frame buffer device 48x40
<6>S3C24X0 fb0: s3c2410fb frame buffer device initialize done
<4>GPIO L3 bus interface for S3C2440, installed
<4>S3C2410 RTC, (c) 2004 Simtec Electronics
<6>s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
<4>leds initialized
<6>Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
<4>s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
<4>devfs_mk_dev: could not append to parent for tts/0
<4>s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
<4>devfs_mk_dev: could not append to parent for tts/1
<4>s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
<4>devfs_mk_dev: could not append to parent for tts/2
<6>io scheduler noop registered
<6>io scheduler anticipatory registered
<6>io scheduler deadline registered
<6>io scheduler cfq registered
<4>RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
<6>loop: loaded (max 8 devices)
<6>nbd: registered device at major 43
<4>Cirrus Logic CS8900A driver for Linux (Modified for SMDK2410)
<6>eth0: CS8900A rev E at 0xd0000300 irq=53, no eeprom , addr: 08: 0:3E:26:0A:5B

<4>DM9000 ethernet driver V1.26 I/O: c480c300, VID: 90000a46
<6>Linux video capture interface: v1.00
<6>ovcamchip: v2.27 for Linux 2.6 : OV camera chip I2C driver
<7>i2c-core: driver ovcamchip registered.
<6>Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
<6>ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
<4>ide_s3c2440_init
<4>ide0: S3C2410 IDE interface
<7>Probing IDE interface ide0...
<4>S3C24XX NAND Driver, (c) 2004 Simtec Electronics
<7>s3c2410_nand_probe(c02af29c)
<6>s3c2410-nand: mapped registers at c4880000
<7>result 1 from 101250, 0
<7>result 297 from 101250, 30
<4>30 ns is too big for current clock rate 101250
<7>result 1 from 101250, 0
<6>s3c2410-nand: timing: Tacls 0ns, Twrph0 4294ns, Twrph1 0ns
<7>s3c2410-nand: NF_CONF is 0xfffffe00
<7>initialising set 0 (c0503400, info c0504920)
<6>NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-
bit)
<6>Scanning device for bad blocks
<4>Bad eraseblock 686 at 0x00ab8000
<4>Bad eraseblock 1372 at 0x01570000
<4>Bad eraseblock 1825 at 0x01c84000
<5>Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
<5>0x00000000-0x00030000 : "bootloader"
<6>mtd: Giving out device 0 to bootloader
<5>0x00050000-0x00250000 : "kernel"
<6>mtd: Giving out device 1 to kernel
<5>0x00250000-0x03ffc000 : "root"
<6>mtd: Giving out device 2 to root
<7>initialised ok
<6>s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
<6>s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
<6>s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 2 ports detected
<6>Initializing USB Mass Storage driver...
<6>usbcore: registered new driver usb-storage
<6>USB Mass Storage support registered.
<6>usbcore: registered new driver usbhid
<6>drivers/usb/input/hid-core.c: v2.01:USB HID core driver
<6>usbcore: registered new driver ov511
<6>drivers/usb/media/ov511.c: v1.64 for Linux 2.5 : ov511 USB Camera Driver
<6>usbcore: registered new driver gspca
<6>drivers/usb/media/gspca/gspca_core.c: gspca driver 00.60.00 registered
<6>mice: PS/2 mouse device common for all mice
<6>ts: Compaq touchscreen protocol output
<7>Entering s3c2410ts_init
<7>got and enabled clock
<6>s3c2410 TouchScreen successfully loaded
<6>i2c /dev entries driver
<7>i2c-core: driver dev_driver registered.
<7>s3c2440-i2c s3c2440-i2c: clock source c02adc68
<7>s3c2440-i2c s3c2440-i2c: registers c4b80000 (c05e7380, c02aed9c)
<6>s3c2440-i2c s3c2440-i2c: slave address 0x10
<7>s3c2440-i2c s3c2440-i2c: pdata c02fcdac, freq 100000 0..400000
<6>s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz
<7>s3c2440-i2c s3c2440-i2c: S3C2410_IICCON=0xe0
<7>s3c2440-i2c s3c2440-i2c: S3C2440_IICLC=00000005
<7>s3c2440-i2c s3c2440-i2c: irq resource c02aedb8 (43)
<7>i2c_adapter i2c-0: Registered as minor 0
<7>i2c_adapter i2c-0: registered as adapter #0
<6>s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
<6>mmci-s3c2410: probe: mapped sdi_base=c4d00000 irq=37 irq_cd=60 dma=0.
<6>mmci-s3c2410: initialisation done.
<4>SBC2440 SOUND driver register
<4>SBC2440 SOUND driver probe!
<4>SBC2440 UDA1341 audio driver initialized
<6>NET: Registered protocol family 2
<4>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<4>TCP established hash table entries: 4096 (order: 3, 32768 bytes)
<4>TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
<6>TCP: Hash tables configured (established 4096 bind 4096)
<6>TCP reno registered
<6>TCP bic registered
<6>NET: Registered protocol family 1
<6>NET: Registered protocol family 17
<7>MMC: starting cmd 00 arg 00000000 flags 00000000
<7>MMC: sd_app_op_cond to 00100000
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<7>MMC: starting cmd 37 arg 00000000 flags 00000009
<3>MMC: sd_app_op_cond: at least one card is busy - trying again.
<3>MMC: sd_app_op_cond locked busy. Probably have broken SD-Card.
<7>MMC: starting cmd 02 arg 00000000 flags 00000002
<7>MMC: starting cmd 01 arg 00100000 flags 00000001
<7>MMC: starting cmd 02 arg 00000000 flags 00000002
<6>yaffs: dev is 32505858 name is "mtdblock2"
<4>yaffs: Attempting MTD mount on 31.2, "mtdblock2"
<4>yaffs: yaffs_GutsInitialise()
<4>block 539 is bad
<4>block 1225 is bad
<4>block 1678 is bad
<4>yaffs: yaffs_GutsInitialise() done.
<4>
<4>VFS: Mounted root (yaffs filesystem).
<6>Mounted devfs on /dev
<6>Freeing init memory: 148K


********************同时编译dm9000和CS8900时执行"ifconfig eth1 up"的kernel信息****************
<7>selected clock c02e1a48 (pclk) quot 26, calc 117187
<7>selected clock c02e1a48 (pclk) quot 26, calc 117187
<7>selected clock c02e1a48 (pclk) quot 26, calc 117187
<7>selected clock c02e1a48 (pclk) quot 26, calc 117187
<7>selected clock c02e1a48 (pclk) quot 26, calc 117187
<7>selected clock c02e1a48 (pclk) quot 26, calc 117187
<4>enable_irq(51) unbalanced from c0173b7c
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
9楼  发表于: 2008-04-29 15:40
从这两个log看,问题应该不是由"enabled_irq(51)  unbalanced from c0173b7c"引起的。这个错在单独编译DM9000时也有。我想这是因为友善之臂移植DM9000驱动程序时多写了一个enable_irq()引起的,内核只是检测到次数不匹配报一个warning而已。
另外,从同时编译DM9000和CS8900的内核启动log看,这两个驱动似乎都成功加载了,没有明细的出错信息。看不出DM9000为什么会无法使用。
我建议你把CS8900作为Kernel module不要编译进内核,在这种情况下先确认DM9000可以正常使用,然后再从文件系统加载CS8900的module
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
  • «
  • 1
  • 2
  • »
  • Pages: 1/2     Go