memory problem with fec on 8250
On Monday 05 January 2004 09:15, Wojciech Kromer wrote: > U?ytkownik Samo Pogacnik napisa?: > > > >Is it possible that there is something wrong in the way how the: > >"netif_wake_queue(dev)" gets called from the interrupt handler in the > >"fcc_enet.c"? I can confirm this problem for 2.4.18 as well as 2.6.0 > >kernels on mpc82xx. > > i don't know exactly what's wrong with 82xx code, but i wrote a small > patch that frees unfreed skbuf before allocating new one, and now it > works fine > > additionaly, i had no problem with (almost) the same code on 8xx hi, Wojciech can you send the patch? did you free skbuffs from the irq handler or somewhere else? when i run netperf (snapshot) test using the 100Mbps connection, this test eats all the available RAM. the /proc/meminfo shows that most of the used memory at that point is been held by internal kernel structures (Slab). by, Samo ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Parallel port in 405GP?
Hi !!! I am a newbie to embedded and linux. And I want to know if the IBM Walnut 405GP board has a parallel port. From the meagre documentation that I have read, I find nothing to suggest that it has. Am I right on this one ?? Thanks in advance. - S u d e e pV Don't change horses in mid stream. -Original Message- From: Samo Pogacnik [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 4:23 AM To: linuxppc-embedded at lists.linuxppc.org Subject: Re: memory problem with fec on 8250 On Monday 05 January 2004 09:15, Wojciech Kromer wrote: > U?ytkownik Samo Pogacnik napisa?: > > > >Is it possible that there is something wrong in the way how the: > >"netif_wake_queue(dev)" gets called from the interrupt handler in the > >"fcc_enet.c"? I can confirm this problem for 2.4.18 as well as 2.6.0 > >kernels on mpc82xx. > > i don't know exactly what's wrong with 82xx code, but i wrote a small > patch that frees unfreed skbuf before allocating new one, and now it > works fine > > additionaly, i had no problem with (almost) the same code on 8xx hi, Wojciech can you send the patch? did you free skbuffs from the irq handler or somewhere else? when i run netperf (snapshot) test using the 100Mbps connection, this test eats all the available RAM. the /proc/meminfo shows that most of the used memory at that point is been held by internal kernel structures (Slab). by, Samo ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
cant't stop program
Hi, I sometimes (!) see the same problem when running from serial console. Telnet works ok. I did change in my kernel driver/char/tty_io.c to set noctty = 0; It seems that in shell/ash.c from busybox the call (pgrp = tcgetpgrp(fd)) returns an error code. Jaap-Jan On Mon, 2004-01-05 at 05:11, Dan Kegel wrote: > sun-zj wrote: > > After the denk's instruction, I can run the > > linuxppc-2.4.23 on PPC8xx without too much difficulty. But when running some > > programming , I want to terminate it like I do on PC by press Ctrl+C. > > It doesn't work at all :(. It can work under the U-boot environment. I > > wonder whether this is the > > problem of Linux os Or Kermit? > > I have seem problems like that when running from serial > console under Busybox. I think busybox's init is buggy. > Does the problem happen when you telnet in from another computer, > or only on a serial console? > - Dan > ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
[PATCH] Insight Memec Virtex-II Pro Development Board support
On Fri, Dec 12, 2003 at 10:56:01PM +0100, Wouter Cloetens wrote: > If needed, we can also submit the diff against the linuxppc_2_4 tree. That's available too now on ftp://ftp.mind.be/Virtex2Pro/patch-v2.4.23_linuxppc_2_4/. One notable difference with the patch against the devel tree is that I've applied a patch to allow the boot code to pick up the command line from RedBoot (arch/ppc/boot/simple/misc-embedded.c). > The patches should be applied in the following order: See the README file in that directory. > We commit to maintaining this port on an ongoing basis against the > linuxppc_2_4 tree. And that's still true. Would any of the committers be so kind as to merge this into the linuxppc_2_4[_devel] trees? Or is there anything else (besides posting the link to the patches here) we should do to get this stuff in? -- There are 10 types of people in the world: Those who understand binary, and those who don't. ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
cant't stop program
Hi,All: After the denk's instruction, I can run the linuxppc-2.4.23 on PPC8xx without too much difficulty. But when running some programming , I want to terminate it like I do on PC by press Ctrl+C. It doesn't work at all :(. It can work under the U-boot environment. I wonder whether this is the problem of Linux os Or Kermit? Thanks your instructions and help Best Regards. Zonjun Sun. ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
ep8260 board linux port serial port problem
Hello All, I am trying to port linux2.4.22 on to ep8260 board. U-boot tftps the image and then starts loading linux. the last few lines on the console show this RAMDISK driver initialized: 16 RAM disks of 5K size 1024 blocksize NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 2048 buckets, 16Kbytes TCP: Hash tables configured (established 16384 bind 16384) RAMDISK: Compressed image found at block 0 Freeing initrd memory: 1367k freed VFS: Mounted root (ext2 filesystem). Freeing unused kernel memory: 44k init tty_io.c: process 1 (swapper) used obsolete /dev/ttyS0 - update software to use /dev/ttyS0 after this somewhere down the line the CPU gets an exception and spinning in the panic function,(i know it is too little of information but..) could someone suggest what could be happening here, could it be related to the last message on the console, any sugestions would be greatley appreciated. thanks, kiran >-Original Message- >From: Kiran Mandava [mailto:kiran.mandava at skystream.com] >Sent: Tuesday, December 30, 2003 9:11 AM >To: linuxppc-embedded at lists.linuxppc.org >Subject: ep8260 board linux port serial port problem > > > >Hello All, > > I am trying to bringup linux 2.4.22 on ep8260 board. i have the >U-boot running fine. while booting the linux kernel the >execution path is >looping in serial_console_write(verified it thr'u JTAG).SMC1 >is configured >as the console. > > For the SMC port the code is setting up the proper Rx/Tx >descriptors >in the on chip DPRAM and it tries to use the actual buffers >from the RAM (on >the 6xx bus in this case) the code loops in the >serial_console_write, but if >i change the actual buffers to be from the on chip DPRAM >itself the serial >port works fine.(I guess this is how it is done in the U-boot too)..did >someone face the similar probelm, any sugestions would be greately >appreciated. > > RAM seems to be working fine, as the code gets relocated >properly to >RAM and executes from there. > > > > >thanks >kiran > > > >>-Original Message- >>From: Kiran Mandava [mailto:kiran.mandava at skystream.com] >>Sent: Thursday, December 18, 2003 11:44 AM >>To: linuxppc-embedded at lists.linuxppc.org >>Subject: ep8260 board linux port >> >> >> >>Hello All, >> >> I am trying to port linux 2.4.22 onto ep8260 board. (256 MB >>RAM on 6xx >>bus/ 32 MB Flash) using tools and source code from denx webisite. >> I was able to port u-boot and trying to boot linux now. >> i couldn't find any specific files to this board in the >>platform directory >>although est8260.h file has the basic bd structure. the >>problem i am facing >>is the processor loops in serial_console_write/ timer >>interrupt handler. i >>made sure that i am passing the baudrate proeprly by looking at the bd >>structure while passing teh control to start_kernel function. >> My console does display everything properly running u-boot >>but once the >>control goes to linux don't see anything on the console. >> >>i made only the following changes for th elinux boot. >> 1. in uart.c made sure that the console port is defines as SMC1. >> 2. defines the SMC2 to be serial port too >> 3. FCC3 is configured as the ethernet. >> >>and compiled and tried to boot the image, but i couldn't. i do >>have a BDI >>JTAG device and i was able to see the RAM properly. >> >> could some one throw light on what i could be doing wrong, >>any sugestions >>are greatley appreciated. I bet some one would have done this >>sucessfully >>years before.. >> >> >> >> >>thanks, >>kiran >> >> >> > ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
memory problem with fec on 8250
U?ytkownik Samo Pogacnik napisa?: >Hello! > >Is it possible that there is something wrong in the way how the: >"netif_wake_queue(dev)" gets called from the interrupt handler in the >"fcc_enet.c"? >I can confirm this problem for 2.4.18 as well as 2.6.0 kernels on mpc82xx. > >bye, Samo > > > > i don't know exactly what's wrong with 82xx code, but i wrote a small patch that frees unfreed skbuf before allocating new one, and now it works fine additionaly, i had no problem with (almost) the same code on 8xx -- * * * * * * * * * * * * * per pedes ad astra! * * * * * * * * * * * * *mailto:krom at dgt-lab.com.pl ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/