|
Message
From: rich_daddio at yahoo.com<rich_daddio@y...>
Date: Thu Sep 4 16:59:20 CEST 2008
Subject: [openrisc] serial8250: too much work for irq2
Hi All, I have not been able to reproduce the /proc problem with linux-2.6.23 with the sim at least.
Please make certain you have downloaded the correct patches if you plan to use 2.6.23 stuff which is pretty new and only mildly tested.
The 2.6.24 patches (which are !!NOT!! released but are posted at MOF) definitely generate this kind of error/problem with /proc. This is due to "capabilities" changes introduced in 2.6.24 which I have not yet resolved for OR. So please do NOT use the 2.6.24 patch at this time.
As for the irq2 problem I will take a look at this shortly to see why we are getting stuck in the irq loop.
Although it is a cheap hack --for now-- you can usually stop the spew by simply hitting a key on your keyboard since the next serial interrupt usually clears things up.
BR,
Rich d
----- Original Message ----- From: xianfeng zeng<xianfeng.zeng@g...> To: Date: Thu Sep 4 12:43:53 CEST 2008 Subject: [openrisc] serial8250: too much work for irq2
> Hi, Jeremy, > > You wrote on Sep. 02 for this issue: > by Jeremy Bennett > <attachment.html linux-2.6.23]# or32-uclinux-sim -f sim.cfg > vmlinux > Reading script file from 'sim.cfg'... > WARNING: config.memory: Invalid parameter: bus; ignoring. > WARNING: config.memory: Invalid parameter: bus; ignoring. > WARNING: config.memory: Invalid parameter: bus; ignoring. > WARNING: config.immu: Invalid parameter: bus; ignoring. > WARNING: config.dmmu: Invalid parameter: bus; ignoring. > WARNING: config.ic: Invalid parameter: bus; ignoring. > WARNING: config.dc: Invalid parameter: bus; ignoring. > WARNING: config.cpu: Invalid parameter: bus; ignoring. > WARNING: config.cpu: Invalid parameter: dbus; ignoring. > WARNING: config.pm: Invalid parameter: bus; ignoring. > WARNING: config.debug: Invalid parameter: bus; ignoring. > WARNING: config.mc: Invalid parameter: bus; ignoring. > WARNING: config.uart: Invalid parameter: bus; ignoring. > WARNING: config.dma: Invalid parameter: bus; ignoring. > WARNING: config.ethernet: Invalid parameter: bus; ignoring. > WARNING: config.gpio: Invalid parameter: bus; ignoring. > WARNING: config.vga: Invalid parameter: bus; ignoring. > WARNING: config: Unknown section: tick; ignoring. > WARNING: config: Unknown section: pic; ignoring. > WARNING: config.fb: Invalid parameter: bus; ignoring. > WARNING: config.kbd: Invalid parameter: bus; ignoring. > WARNING: config.ata: Invalid parameter: bus; ignoring. > Verbose on, simdebug off, interactive prompt off > Machine initialization... > Clock cycle: 10us > No data cache. > No instruction cache. > BPB simulation off. > BTIC simulation off. > Building automata... done, num uncovered: 0/213. > Parsing operands data... done. > loadcode: filename vmlinux startaddr=00000000 > virtphy_transl=00000000 > Not COFF file format > ELF type: 0x0002 > ELF machine: 0x005c > ELF version: 0x00000001 > ELF sec = 37 > Section: .text, vaddr: 0xc0000000, paddr: 0xf0000000 offset: > 0x00002000, > size: 0x0026b910 > Section: .text.init.refok, vaddr: 0xc026b910, paddr: 0xf026b910 > offset: > 0x0026d910, size: 0x000004a0 > Section: .rodata, vaddr: 0xc026c000, paddr: 0xf026c000 offset: > 0x0026e000, > size: 0x0002f52e > Section: __param, vaddr: 0xc029b530, paddr: 0xf029b530 offset: > 0x0029d530, > size: 0x00000258 > Section: __ex_table, vaddr: 0xc029c000, paddr: 0xf029c000 offset: > 0x0029e000, size: 0x00000d70 Section: .data, vaddr: 0xc029e000, > paddr: 0xf029e000 offset: 0x002a0000, size: 0x0001775c Section: > .data.cacheline_aligned, vaddr: 0xc02b5760, paddr: 0xf02b5760 > offset: 0x002b7760, size: 0x000000d0 Section: .data.init_task, > vaddr: 0xc02b6000, paddr: 0xf02b6000 offset: 0x002b8000, size: > 0x00002000 Section: .init.text, vaddr: 0xc02b8000, paddr: > 0xf02b8000 offset: 0x002ba000, size: 0x00018b10 Section: > .init.data, vaddr: 0xc02d0b10, paddr: 0xf02d0b10 offset: > 0x002d2b10, size: 0x00000820 Section: .init.setup, vaddr: > 0xc02d1330, paddr: 0xf02d1330 offset: 0x002d3330, size: 0x00000234 > Section: .initcall.init, vaddr: 0xc02d1564, paddr: 0xf02d1564 > offset: 0x002d3564, size: 0x000001a4 Section: .con_initcall.init,
> vaddr: 0xc02d1708, paddr: 0xf02d1708 offset: 0x002d3708, size:
> 0x00000008 Section: .init.ramfs, vaddr: 0xc02d2000, paddr:
> 0xf02d2000 offset: 0x002d4000, size: 0x00002000 Section: .initrd,
> vaddr: 0xc02d4000, paddr: 0xf02d4000 offset: 0x002d6000, size:
> 0x00200000 WARNING: dependstats stats must be enabled to do history
> analisis. WARNING: Unable to open RX file stream. Cannot open
> Ethernet RX file "eth0.rx" UART at 0x90000000 Resetting
> memory controller. Resetting Tick Timer. Resetting Power
> Management. Resetting PIC. Starting at 0x00000000 Copying Linux...
> Ok, booting the kernel. ****************** counters reset
> ****************** cycles 154534346, insn #10632683
> ****************** counters reset ****************** Cannot open
> Ethernet RX file "eth0.rx" Linux version 2.6.23-or32
> (attachment.html) (gcc version 4.2.2) #6 Thu Sep 4 17:20:56 HKT
> 2008 Detecting Processor units: Signed 0x391 Setting up paging and
> PTEs. write protecting ro sections (0xc0002000 - 0xc029c000)
> Setting up identical mapping (0x80000000 - 0x90000000) Setting up
> identical mapping (0x92000000 - 0x92002000) Setting up identical
> mapping (0xb8070000 - 0xb8072000) Setting up identical mapping
> (0x97000000 - 0x97002000) Setting up identical mapping (0x99000000
> - 0x9a000000) Setting up identical mapping (0x93000000 -
> 0x93002000) Setting up identical mapping (0xa6000000 - 0xa6100000)
> Setting up identical mapping (0x1e50000 - 0x1fa0000)
> dtlb_miss_handler c00040c8 itlb_miss_handler c00041a8 Built 1
> zonelists in Zone order. Total pages: 3953 Kernel command line: PID
> hash table entries: 128 (order: 7, 512 bytes) start_kernel(): bug:
> interrupts were enabled early Console: colour dummy device 80x25
> Dentry cache hash table entries: 4096 (order: 1, 16384 bytes)
> Inode-cache hash table entries: 2048 (order: 0, 8192 bytes) Memory:
> 26272k/31744k available (2478k kernel code, 5472k reserved, 295k
> data, 112k init, 0k highmem) Mount-cache hash table entries: 1024
> NET: Registered protocol family 16 NET: Registered protocol family
> 2 IP route cache hash table entries: 2048 (order: 0, 8192 bytes)
> TCP established hash table entries: 1024 (order: 0, 8192 bytes) TCP
> bind hash table entries: 1024 (order: -1, 4096 bytes) TCP: Hash
> tables configured (established 1024 bind 1024) TCP reno registered
> checking if image is initramfs...it isn't (bad gzip magic numbers);
> looks like an initrd Freeing initrd memory: 2048k freed eth0: Open
> Ethernet Core Version 1.0 VFS: Disk quotas dquot_6.5.1 Dquot-cache
> hash table entries: 2048 (order 0, 8192 bytes) Installing knfsd
> (copyright (C) 1996 attachment.html). io scheduler noop registered
> io scheduler anticipatory registered (default) io scheduler
> deadline registered io scheduler cfq registered Serial: 8250/16550
> driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
> serial8250.0: ttyS0 at MMIO 0x90000000 (irq = 2) is a 16550A
> console [ttyS0] enabled RAMDISK driver initialized: 16 RAM disks of
> 8192K size 1024 blocksize loop: module loaded TCP cubic registered
> NET: Registered protocol family 1 NET: Registered protocol family
> 17 NET: Registered protocol family 15 RAMDISK: ext2 filesystem
> found at block 0 RAMDISK: Loading 2048KiB [1 disk] into ram disk...
> done. VFS: Mounted root (ext2 filesystem) readonly. Freeing unused
> kernel memory: 112k freed init started: BusyBox v1.7.5 (2008-09-04
> 17:07:38 HKT) starting pid 16, tty '': '/etc/init.d/rcS' starting
> pid 22, tty '': '/bin/sh' BusyBox v1.7.5 (2008-09-04 17:07:38 HKT)
> built-in shell (ash) Enter 'help' for a list of built-in commands.
> -sh: can't access tty; job control turned off # mount mount rootfs
> on / type rootfs (rw) /dev/root on / type ext2 (ro) tmpfs on /var
> type tmpfs (rw) devpts on /dev/pts type devpts (rw) sysfs on /sys
> type sysfs (rw) proc on /proc type proc (rw) # # cd / cd / # # ls
> -l ls -l drwxr-xr-x 2 0 0 1024 Sep 4 2008 bin drwxr-xr-x 4 0 0 1024
> Sep 4 2008 dev drwxr-xr-x 3 0 0 1024 Sep 4 2008 etc drwxr-xr-x 2 0
> 0 1024 Mar 20 2007 home lrwxrwxrwx 1 0 0 11 Sep 4 2008 linuxrc
> -> bin/busybox dr-xr-xr-x 24 0 0 0 Apr 11 11:48 proc drwxr-xr-x
> 2 0 0 1024 Mar 20 2007 root drwxr-xr-x 2 0 0 1024 Sep 4 2008 sbin
> drwxr-xr-x 10 0 0 0 Apr 11 11:48 sys drwxr-xr-x 2 0 0 1024 Mar 20
> 2007 tmp drwxr-xr-x 3 0 0 1024 Sep 4 2008 usr drwxr-xr-x 5 0 0 0
> Apr 11 11:49 var # # ls /proc ls /proc ls: can't open '/proc':
> Unknown error 22 # # umount /proc serial8250: too much work for
> irq2 serial8250: too much work for irq2 serial8250: too much work
> for irq2 serial8250: too much work for irq2 serial8250: too much
> work for irq2 serial8250: too much work for irq2 [cut off]
> ============ Toolchain & Sim: binutils-2.18.50 gcc-4.2.2
> uClibc-0.9.29 linux-2.6.23 busybox-1.7.5 or1ksim-0.2.0 Do you have
> any suggestions on this? -- Thanks & Best Regards,
> ->Xianfeng Zeng -------------- next part -------------- An HTML
> attachment was scrubbed... URL: attachment.html
>
|
 |