* AW: MPC5200,PSC in uart mode, receiving problem
From: Achim Machura @ 2005-10-10 13:13 UTC (permalink / raw)
To: 'Tomasz Prochownik'; +Cc: Linuxppc-Embedded (E-Mail)
In-Reply-To: <99477CB23E7ACB4EA366A2B6970DA618060F7E@mcdserver.mcd.com.pl>
Hello Tomasz
> blocks (there is no response in the console).
perhaps we have the same problem a few times ago.
When we connect devices on ttySx which have wrong level on the lines the
uart stay in break mode.
I have made some fixes on the psc-driver. With these fixes the uart works,
but i don't know how efficient.
(clear breakmode and clear buffer)
If you want, i can send the code
best regards
achim
^ permalink raw reply
* Re: Problem Regarding Ping in Linux kernel version 2.4.24
From: Mark Chambers @ 2005-10-10 12:36 UTC (permalink / raw)
To: apoorv sangal, Linuxppc-embedded
In-Reply-To: <a79669360510100340g2563b441w9418001c034dbe5b@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 534 bytes --]
Hi
Thanks for the inputs... As per your suggestion I commented
{ mk_mii_write(MII_REG_CR, 0x1200), NULL }, /* autonegotiate */
but it doesn't make any diffrence, still the ping doesn't worked.
At Boot loader level (u-boot) Ping works fine,
I think you need to provide more information, because there are many things
that could be wrong. Attach the output of your console from the boot sequence,
and include the output of an ifconfig command if you can.
Mark Chambers
[-- Attachment #2: Type: text/html, Size: 1650 bytes --]
^ permalink raw reply
* RE: MPC8xx slave USB driver
From: Alexey Dyatchkov @ 2005-10-10 12:19 UTC (permalink / raw)
To: 'Vitaly Bordug'; +Cc: linuxppc-embedded
In-Reply-To: <434A5998.9000208@ru.mvista.com>
Wow!
Thanks a lot!
Alexey
-----Original Message-----
From: Vitaly Bordug [mailto:vbordug@ru.mvista.com]
Sent: Monday, October 10, 2005 2:08 PM
To: Alexey Dyatchkov
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: MPC8xx slave USB driver
Alexey Dyatchkov wrote:
> Thanks!
>
> As far as I understand, it's a host (master) driver...
>
Download http://www.heeltoe.com/software/usb/ppc/ppc-usb.tar.gz, there
is usb.c in arch/ppc/8xx_io/
> Alexey
>
> -----Original Message-----
> From: Vitaly Bordug [mailto:vbordug@ru.mvista.com]
> Sent: Monday, October 10, 2005 1:37 PM
> To: Alexey Dyatchkov
> Cc: linuxppc-embedded@ozlabs.org
> Subject: Re: MPC8xx slave USB driver
>
> Alexey Dyatchkov wrote:
>
>>Hi there,
>>
>>Please help!
>>I am looking for a slave (client) USB driver for MPC850.
>>We are using slightly modified Denx linux 2.4.12 on our board (modified
>>RPXLITE)
>>
>
> Maybe http://www.heeltoe.com/software/usb/usb.html will help this
> case... Well this at least worths to take a look.
>
>>Thanks in advance,
>>Alexey
>>
>>
>>_______________________________________________
>>Linuxppc-embedded mailing list
>>Linuxppc-embedded@ozlabs.org
>>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>>
>>
>
>
>
--
Sincerely,
Vitaly
^ permalink raw reply
* Re: MPC8xx slave USB driver
From: Vitaly Bordug @ 2005-10-10 12:07 UTC (permalink / raw)
To: Alexey Dyatchkov; +Cc: linuxppc-embedded
In-Reply-To: <006101c5cd92$7bfb1920$0100000a@Omerxp>
Alexey Dyatchkov wrote:
> Thanks!
>
> As far as I understand, it's a host (master) driver...
>
Download http://www.heeltoe.com/software/usb/ppc/ppc-usb.tar.gz, there
is usb.c in arch/ppc/8xx_io/
> Alexey
>
> -----Original Message-----
> From: Vitaly Bordug [mailto:vbordug@ru.mvista.com]
> Sent: Monday, October 10, 2005 1:37 PM
> To: Alexey Dyatchkov
> Cc: linuxppc-embedded@ozlabs.org
> Subject: Re: MPC8xx slave USB driver
>
> Alexey Dyatchkov wrote:
>
>>Hi there,
>>
>>Please help!
>>I am looking for a slave (client) USB driver for MPC850.
>>We are using slightly modified Denx linux 2.4.12 on our board (modified
>>RPXLITE)
>>
>
> Maybe http://www.heeltoe.com/software/usb/usb.html will help this
> case... Well this at least worths to take a look.
>
>>Thanks in advance,
>>Alexey
>>
>>
>>_______________________________________________
>>Linuxppc-embedded mailing list
>>Linuxppc-embedded@ozlabs.org
>>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>>
>>
>
>
>
--
Sincerely,
Vitaly
^ permalink raw reply
* RE: MPC8xx slave USB driver
From: Alexey Dyatchkov @ 2005-10-10 12:02 UTC (permalink / raw)
To: 'Vitaly Bordug'; +Cc: linuxppc-embedded
In-Reply-To: <434A5263.5000903@ru.mvista.com>
Thanks!
As far as I understand, it's a host (master) driver...
Alexey
-----Original Message-----
From: Vitaly Bordug [mailto:vbordug@ru.mvista.com]
Sent: Monday, October 10, 2005 1:37 PM
To: Alexey Dyatchkov
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: MPC8xx slave USB driver
Alexey Dyatchkov wrote:
> Hi there,
>
> Please help!
> I am looking for a slave (client) USB driver for MPC850.
> We are using slightly modified Denx linux 2.4.12 on our board (modified
> RPXLITE)
>
Maybe http://www.heeltoe.com/software/usb/usb.html will help this
case... Well this at least worths to take a look.
> Thanks in advance,
> Alexey
>
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>
--
Sincerely,
Vitaly
^ permalink raw reply
* MPC5200,PSC in uart mode, receiving problem
From: Tomasz Prochownik @ 2005-10-10 11:37 UTC (permalink / raw)
To: linuxppc-embedded
Hello.
I'm beginner in ppc linux, so I believe, you can help me. I hope you'll =
be able to understand my english :o).
I have MPC5200Lite board with Linux from Denx (kernel 2.4.25).
I try to use PSC in UART mode to read chars from other system.
My init ttyS function:
i_Fd =3D open("/dev/ttyS2", O_RDWR | O_NOCTTY |O_NDELAY);
if (i_Fd =3D=3D -1 )
{DEBUG_OUT("[ERROR]\r\n");}
else
{
tcgetattr(i_Fd,&strBufOptions);=09
bzero(&strOptions, sizeof(strOptions));
strOptions.c_cflag =3D Baud | CS8 |CREAD |CLOCAL;
strOptions.c_iflag =3D 0;
strOptions.c_oflag =3D 0;
strOptions.c_lflag =3D 0;
strOptions.c_cc[VTIME] =3D 0;
strOptions.c_cc[VMIN] =3D 0;
tcflush(i_Fd, TCIFLUSH);
tcsetattr(i_Fd,TCSANOW,&strOptions);
}
Everything works fine until first framing error (FE) in receiver. Since =
then function read(i_Fd,DataBuffer,CO_MAX_BUF_LEN-1) returns number of =
received chars, but value of every char in DataBuffer is zero.
I have done some experiments and noticed one more strange things:
1. I use hyperterminal in 115200 baud as root console
2. If I change speed to 9600, send one char to MPC5200 (framing error?) =
and change speed back to 115200 -> uart blocks (there is no response in =
the console).
..so maybe bug isn't in my code...?
I have read in errata about blocking uart receiver(bug ID: 364) , but I =
don't know it can be in my application.
Best regards
-=3D=3D=3D-
Tomasz Prochownik
MCD Electronics
33 861 60 35 w. 13
916@mcd.com.pl
^ permalink raw reply
* Re: MPC8xx slave USB driver
From: Vitaly Bordug @ 2005-10-10 11:37 UTC (permalink / raw)
To: Alexey Dyatchkov; +Cc: linuxppc-embedded
In-Reply-To: <003101c5cd7a$e479aa10$0100000a@Omerxp>
Alexey Dyatchkov wrote:
> Hi there,
>
> Please help!
> I am looking for a slave (client) USB driver for MPC850.
> We are using slightly modified Denx linux 2.4.12 on our board (modified
> RPXLITE)
>
Maybe http://www.heeltoe.com/software/usb/usb.html will help this
case... Well this at least worths to take a look.
> Thanks in advance,
> Alexey
>
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>
--
Sincerely,
Vitaly
^ permalink raw reply
* Re: cur_ppc_sys_spec is NULL
From: Vitaly Bordug @ 2005-10-10 11:29 UTC (permalink / raw)
To: Dmytro Bablinyuk; +Cc: Linuxppc-embedded
In-Reply-To: <4349F072.6050309@rftechnology.com.au>
Dmytro Bablinyuk wrote:
> I have latest linux-2.6-denx (MPC8272ADS board) kernel and I have some
> questions, may be somebody knows:
> Here is the kernel output
>
> Linux version 2.6.14-rc3-g2f70d4fe ..
> Motorola PQ2 ADS PowerPC port
> Built 1 zonelists
> Kernel command line: console=ttyCPM0,115200 /dev/ram rw
> PID hash table entries: 512 (order: 9, 8192 bytes)
> Warning: real time clock seems stuck!
> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
> Memory: 62720k available (1628k kernel code, 388k data, 92k init, 0k
> highmem)
> Mount-cache hash table entries: 512
> NET: Registered protocol family 16
> <stuck here>
>
> Using gdb and BDI2000 I have allocated the problem in ppc_sys_init(void)
> - cur_ppc_sys_spec is NULL. There are 3 functions to find an appropriate
> spec:
> identify_ppc_sys_by_id
> identify_ppc_sys_by_name
> identify_ppc_sys_by_name_and_id
> None of them are called by pq2ads.c or from any other place for 8272. I
> am just wondering if anybody might know at what stage spec should be
> selected for 8272ADS?
>
Yes, that's just the point, and I know about this issue. One of those do
need to be called early in the board initialization code.
I'll come with the fix shortly (hopefully today).
> Thank you,
>
> Dimitry
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>
--
Sincerely,
Vitaly
^ permalink raw reply
* Help with PCMCIA Compact Flash on PPC405 EP
From: Andy Hawkins @ 2005-10-10 11:03 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
We're using a PCMCIA adapter (TI PCI1510 PC card Cardbus Controller) on a
PPC 405 EP running a Montavista 2.4.20 kernel. The PCMCIA adapter works
correctly, as we can insert a hard disk into there, and successfully mount
and access it.
However, when we insert a Compact Flash adapter (Lexar Media PC Card Adapter
part 2076-C) with a Compact Flash card (PNY 1 Gig CompactFlash EMET1034) the
whole board appears to go into a tight loop. I've stepped the code using a
BDI, and it appears that the PCMCIA adapter is continually generating
interrupts, but the handler routine in yenta.c thinks that there's nothing
to do.
Removing the CF card will bring the system back to life. It appears to be
generating something like 350,000 interrupts every second while the card is
inserted.
Can anyone offer any advice?
Thanks
Andy
^ permalink raw reply
* Re: Problem Regarding Ping in Linux kernel version 2.4.24
From: apoorv sangal @ 2005-10-10 10:40 UTC (permalink / raw)
To: Aristeu Sergio Rozanski Filho, Linuxppc-embedded, david.jander
Cc: apoorv sangal, vikrant_basotra, sibi_mathew
In-Reply-To: <20051007123126.GA6879@cathedrallabs.org>
[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]
Hi
Thanks for the inputs... As per your suggestion I commented
{ mk_mii_write(MII_REG_CR, 0x1200), NULL }, /* autonegotiate */
but it doesn't make any diffrence, still the ping doesn't worked.
At Boot loader level (u-boot) Ping works fine,
Regards
Apoorv Sangal
On 10/7/05, Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org> wrote:
>
> Hi,
> > I have ported Linux kernel version 2.4.24 on MPC8266 based customized
> > Board, having LXT971 ethernet chip.
> > The root file system is JFFS2 which i have made using mkfs.jffs2 utility
> which
> > comes along with the ELDK 3.0
> > In the kernel code i checked that there is support for the LXT971 chip,
> but
> > even after enabling all the network related funcuntionalities in the
> linux
> > kernel configuration, I am either not able to ping from the board to any
> > machine on the network, nor from the any other machine to the board.
> > The board is able to ping itself.
> > Can some one please throw some light why the board is not able to ping
> any
> > other machine.
> try to comment this line in LXT971 section of driver:
> { mk_mii_write(MII_REG_CR, 0x1200), NULL }, /* autonegotiate */
> and check if it works
>
> --
> Aristeu
>
>
[-- Attachment #2: Type: text/html, Size: 1998 bytes --]
^ permalink raw reply
* MPC8xx slave USB driver
From: Alexey Dyatchkov @ 2005-10-10 9:13 UTC (permalink / raw)
To: linuxppc-embedded
Hi there,
Please help!
I am looking for a slave (client) USB driver for MPC850.
We are using slightly modified Denx linux 2.4.12 on our board (modified
RPXLITE)
Thanks in advance,
Alexey
^ permalink raw reply
* Re: mpc8248 and FCC ethernet
From: Wojciech Kromer @ 2005-10-10 6:22 UTC (permalink / raw)
To: linuxppc-embedded
In-Reply-To: <1CFEB358338412458B21FAA0D78FE86D4F0E0D@rennsmail02.eu.thmulti.com>
>
>so double check your manual. The MPC8555E manual is still wrong in
>this regard, and no errata has been issued yet.
>
>
>
Uff, it works now.Thank You for quick reply.
Surely MPC8272 familly doc says there are 8K DPRAM from 0 to 0x1fff
It should be updated in include/asm/cpm_8260.h
^ permalink raw reply
* cur_ppc_sys_spec is NULL
From: Dmytro Bablinyuk @ 2005-10-10 4:39 UTC (permalink / raw)
To: Linuxppc-embedded
I have latest linux-2.6-denx (MPC8272ADS board) kernel and I have some
questions, may be somebody knows:
Here is the kernel output
Linux version 2.6.14-rc3-g2f70d4fe ..
Motorola PQ2 ADS PowerPC port
Built 1 zonelists
Kernel command line: console=ttyCPM0,115200 /dev/ram rw
PID hash table entries: 512 (order: 9, 8192 bytes)
Warning: real time clock seems stuck!
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 62720k available (1628k kernel code, 388k data, 92k init, 0k
highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
<stuck here>
Using gdb and BDI2000 I have allocated the problem in ppc_sys_init(void)
- cur_ppc_sys_spec is NULL. There are 3 functions to find an appropriate
spec:
identify_ppc_sys_by_id
identify_ppc_sys_by_name
identify_ppc_sys_by_name_and_id
None of them are called by pq2ads.c or from any other place for 8272. I
am just wondering if anybody might know at what stage spec should be
selected for 8272ADS?
Thank you,
Dimitry
^ permalink raw reply
* Re: pmd_alloc() usage incorrect?
From: Benjamin Herrenschmidt @ 2005-10-10 1:37 UTC (permalink / raw)
To: Grant Grundler; +Cc: linuxppc-dev
In-Reply-To: <20051009202301.GC21977@colo.lackof.org>
On Sun, 2005-10-09 at 14:23 -0600, Grant Grundler wrote:
> Hi,
> I stumbled across what looks like incorrect code in
> arch/ppc/kernel/dma-mapping.c:
>
> static int __init dma_alloc_init(void)
> {
> ...
> do {
> pgd = pgd_offset(&init_mm, CONSISTENT_BASE);
> pmd = pmd_alloc(&init_mm, pgd, CONSISTENT_BASE);
> if (!pmd) {
> ...
>
> Doesn't pmd_alloc() want a pud_t * for the second parameter?
> ie also need to call pud_alloc() or the equivalent.
>
> I've very little clue how this works...just looking at different
> bits of code in my quest to understand it well enough to enable
> USE_HPPA_IOREMAP in include/asm-parisc/io.h.
In theory you are right... However, ppc32 uses a 2 level page tables, so
this doesn't matter, pud is folded into pgd (and pmd too in fact, you
probably don't need it neither). It would still be nicer to do the full
conversion to pud types though.
Ben.
^ permalink raw reply
* New Security Measures
From: PayPal @ 2005-10-10 0:06 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/html, Size: 2066 bytes --]
^ permalink raw reply
* New Security Measures
From: PayPal @ 2005-10-10 0:06 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/html, Size: 2066 bytes --]
^ permalink raw reply
* pmd_alloc() usage incorrect?
From: Grant Grundler @ 2005-10-09 20:23 UTC (permalink / raw)
To: linuxppc-dev
Hi,
I stumbled across what looks like incorrect code in
arch/ppc/kernel/dma-mapping.c:
static int __init dma_alloc_init(void)
{
...
do {
pgd = pgd_offset(&init_mm, CONSISTENT_BASE);
pmd = pmd_alloc(&init_mm, pgd, CONSISTENT_BASE);
if (!pmd) {
...
Doesn't pmd_alloc() want a pud_t * for the second parameter?
ie also need to call pud_alloc() or the equivalent.
I've very little clue how this works...just looking at different
bits of code in my quest to understand it well enough to enable
USE_HPPA_IOREMAP in include/asm-parisc/io.h.
ciao,
grant
^ permalink raw reply
* QMC driver
From: Robin Mathew @ 2005-10-09 12:33 UTC (permalink / raw)
To: Linuxppc-embedded
Hi,
Can anybody tell me from where i can get hold of a QMC(for MPC
8247) driver for linux 2.4?
Thanks in advance..
Regards,
+Robin
^ permalink raw reply
* Re: USB IRQ Handling in IBMSTBx25xx
From: Dale Farnsworth @ 2005-10-08 22:26 UTC (permalink / raw)
To: Linuxppc-embedded
In-Reply-To: <8e78982e0510080306n48d9c8b2p858f22bed588f6b9@mail.gmail.com>
On Sat, Oct 08, 2005 at 10:06:36AM +0000, Vijesh VH wrote:
> Has any one worked on Interrupt handling in PPC 405 for STBx25xx. I am
> working in interfacing USB devices for STB. The Device Driver is getting
> stuck or runs unconditional in calling ISR. I Identified that that the
> spin_unlock_irqrestore function call in the kernel does it. So i am unable
> to go ahead and could not find what to do further. If any one is aware or
> worked on this kind of problem plz help me.
On which kernel?
It works for me in linux-2.6.13.
-Dale
^ permalink raw reply
* Re: onboard pci ethernet controller(i82551)without eprom(linuxppc2.2.4 MPC5200)
From: Frank @ 2005-10-08 17:51 UTC (permalink / raw)
To: xiay, linuxppc-embedded
In-Reply-To: <200510082230.AA69861636@NARI-RELAYS.COM>
--- ÏÄÓêÏÄÓêiayxiayinariays.com> wrote:
> After i modified e100_initinitn e100_main.c , the pci
pcieethernetcard could been found :
>
> bash-2.05b# ifcoifconfig
> eth0eth Link encaencapernet HWadHWaddrFF:FF:FF:FF:FF
> BROADCAST MULTMULTICASTU:MTU0 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqutxqueuelen0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Memory:40000000-40000038
>
> eth1eth Link encaencapernet HWadHWaddr04:9F:00:15:2B
> inetinetraddr.87.102.215 BcasBcast.87.102.255
> Mask:255.255.255.0
> UP BROADCAST RUNNING MULTMULTICASTU:MTU0 Metric:1
> RX packets:12606 errors:42 dropped:0 overruns:0
> frame:0
> TX packets:7668 errors:3 dropped:0 overruns:3
> carrier:0
> collisions:0 txqutxqueuelen0
> RX bytes:10596597 (10.1 Mb) TX bytes:1218624 (1.1
> Mb)
> Interrupt:43
>
> lo Link encaencapal LoopLoopback
inetinetraddr.0.0.1 Mask:255.0.0.0
> UP LOOPLOOPBACKNING MTU:MTU36 Metric:1
> RX packets:4 errors:0 dropped:0 overruns:0 frame:0
> TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqutxqueuelen>
> But i still could not confconfig0eth>
> bash-2.05b# ifcoifconfig0eth8.87.102.140
> SIOCSIOCSIFFLAGSsource temporarily unavailable
>
> I noticed that there was message as blow during kernel
bootbootup
> POSIPOSIXformance testing by UNIFUNIFIXPCI:PCIobing PCI
PCIdware
> PCI:PCInnot allocate resource region 0 of device 00:1a.0
> Linux NET4.0 for Linux 2.4
>
> Intel(R) PRO/100 Network Driver - version 2.3.38-k1
> Copyright (c) 2004 Intel Corporation
>
> PCI:PCIabling device 00:18.0 (0006 -> 0007)
> e100: eth0ethntel(R) PRO/100 Network Connection
> Hardware receive checchecksumsbled
>
> IP-CIPfConfigiled to open eth0eth
> what is wrong?
>
> Best regards
>
> XiayXiayuu don't have a valid mac address. Try
temptemporarilydhard codingand see what happens...
>
>
>
>
>
>
>
> _______________________________________________
> LinuLinuxppcedded mailing list
> LinuLinuxppcedded@ozlaozlabs
> httphttpszlaozlabs/mailman/listlistinfoulinuxppcedded
>
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
^ permalink raw reply
* onboard pci ethernet controller(i82551)without eprom(linuxppc2.2.4 MPC5200)
From: ÏÄÓê @ 2005-10-08 14:30 UTC (permalink / raw)
To: linuxppc-embedded
After i modified e100_init() in e100_main.c , the pci ethernet card could been found :
bash-2.05b# ifconfig -a
eth0 Link encap:Ethernet HWaddr FF:FF:FF:FF:FF:FF
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Memory:40000000-40000038
eth1 Link encap:Ethernet HWaddr 00:04:9F:00:15:2B
inet addr:198.87.102.215 Bcast:198.87.102.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12606 errors:42 dropped:0 overruns:0 frame:0
TX packets:7668 errors:3 dropped:0 overruns:3 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10596597 (10.1 Mb) TX bytes:1218624 (1.1 Mb)
Interrupt:43
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
But i still could not config eth0:
bash-2.05b# ifconfig eth0 198.87.102.140
SIOCSIFFLAGS: Resource temporarily unavailable
I noticed that there was message as blow during kernel bootup:
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 0 of device 00:1a.0
Linux NET4.0 for Linux 2.4
Intel(R) PRO/100 Network Driver - version 2.3.38-k1
Copyright (c) 2004 Intel Corporation
PCI: Enabling device 00:18.0 (0006 -> 0007)
e100: eth0: Intel(R) PRO/100 Network Connection
Hardware receive checksums enabled
IP-Config: Failed to open eth0
what is wrong?
Best regards
Xiayu
^ permalink raw reply
* USB IRQ Handling in IBMSTBx25xx
From: Vijesh VH @ 2005-10-08 10:06 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 460 bytes --]
Hi,
Has any one worked on Interrupt handling in PPC 405 for STBx25xx. I am
working in interfacing USB devices for STB. The Device Driver is getting
stuck or runs unconditional in calling ISR. I Identified that that the
spin_unlock_irqrestore function call in the kernel does it. So i am unable
to go ahead and could not find what to do further. If any one is aware or
worked on this kind of problem plz help me.
--
Thanks and Regards,
Vijesh V H
[-- Attachment #2: Type: text/html, Size: 510 bytes --]
^ permalink raw reply
* porting 82xx HCI driver
From: Russell McGuire @ 2005-10-08 2:00 UTC (permalink / raw)
To: linuxppc-embedded
In-Reply-To: <20051007020004.517E8684D1@ozlabs.org>
Everyone,
I am attempting to port the 8xx HCI driver over to the MPC8280, and have it
compiling...
However, there are a few functions that seem to be missing, that are
implicitly defined... These are just warnings during a compile but turn up
as errors when attempting to load the modules...
I was curious if it was just a missing piece of the kernel that I have not
included in the build.
Here are a few of the functions...
stop_sof_timer
ack_sof_timer
assert_reset
board_stop_force_disconnect
I have done a complete text search on the kernel source I have for 2.4.25
and haven't turned up anything.
Any ideas?
-Russ
^ permalink raw reply
* Updated high mem patch
From: Paolo Galtieri @ 2005-10-07 18:09 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 109 bytes --]
There was a minor error in the high mem patch I posted yesterday. I
have attached the correct patch.
Paolo
[-- Attachment #2: PPC-highmempatch --]
[-- Type: text/plain, Size: 692 bytes --]
--- linux-2.6.14/arch/ppc/kernel/dma-mapping.c.orig 2005-10-06 15:50:46.000000000 -0700
+++ linux-2.6.14/arch/ppc/kernel/dma-mapping.c 2005-10-07 08:36:33.000000000 -0700
@@ -401,10 +401,10 @@
static inline void __dma_sync_page_highmem(struct page *page,
unsigned long offset, size_t size, int direction)
{
- size_t seg_size = min((size_t)PAGE_SIZE, size) - offset;
+ size_t seg_size = min((size_t)(PAGE_SIZE - offset), size);
size_t cur_size = seg_size;
unsigned long flags, start, seg_offset = offset;
- int nr_segs = PAGE_ALIGN(size + (PAGE_SIZE - offset))/PAGE_SIZE;
+ int nr_segs = 1 + ((size - seg_size) + PAGE_SIZE - 1)/PAGE_SIZE;
int seg_nr = 0;
local_irq_save(flags);
^ permalink raw reply
* Re: stepping through atomic_dec_return
From: Michael Richardson @ 2005-10-07 17:46 UTC (permalink / raw)
To: linuxppc-embedded
In-Reply-To: <19942.1128705328@marajade.sandelman.ottawa.on.ca>
-----BEGIN PGP SIGNED MESSAGE-----
>>>>> "Michael" == Michael Richardson <mcr@sandelman.ottawa.on.ca> writes:
Michael> I can see how setting through this code with the debugger
Michael> could cause a problem, since there would be debug
Michael> exceptions, and there would be other code in the debug
Michael> stubs that could set the RESERVED=0. It's hard to know,
Michael> but it seems unlikely to me.
Actually, I'm wrong.
I was trying to single step through the code, since much of the code
is inline, and doing "n" in the debugger won't set a break point after
that statement, it may well single step through.
Setting a break point after the down() worked.
- --
] ON HUMILITY: to err is human. To moo, bovine. | firewalls [
] Michael Richardson, Xelerance Corporation, Ottawa, ON |net architect[
] mcr@xelerance.com http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys
iQCVAwUBQ0a0f4qHRg3pndX9AQHs7AP+NVMj0Wy3aT9j1XW6t2hZqgjzVZZpAFuV
8b6hPtMVh/SYv6KbdWD4EmxQ7WMqB1rmx6oknxo6l7zTKHFwqmeW3Nod7X/xhNjy
SW4H8U/y7RjuI68i0rf1jkpUff6+3prKRvnVQ6dml7xH6IygBqDHjVP2hZlut++3
l30N1y5x1mU=
=d/sP
-----END PGP SIGNATURE-----
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox