Skip to contentSkip to conversation

2.4 Kernel for mpc860

DISCUSSION Thomas 6 participants 6 messages Jan 10, 2001 – Jan 18, 2001

lore
Share & tools
lore

Thomas

author
#0 lore raw

Hi all.
I want to compile 2.4 for my custom board with
a mpc860. Which source tree should I base my
kernel on?

Regards,
/Thomas Lange/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

Hi,
I have same problem. It is not clear wich is better.
I'm trying to adapt to my board in this days the linux-2.4.0-test9, previous version was 2.2.13
but now?
/Giacomo Borlizzi

Quoted 8 lines · Thomas

Hi all.
I want to compile 2.4 for my custom board with
a mpc860. Which source tree should I base my
kernel on?

Regards,
/Thomas Lange/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw

405GP f_dentry panics

In reply to Thomas

Hi all,

We have a custom 405GP board and the "Walnut" board. We are using the 2.4-test2 (Version released Nov 26 2000) kernel supplied via the Montavista web site. Our custom board has an IDE harddisk while the Walnut board uses NFS. We are experiencing f_dentry = 0 problems when untarring a 750 MB file (This seems to lead to memory corruption and hence kernel panics). The problem is more pronounced when using the IDE but nevertheless occurs when using the Walnut board over NFS. This appears to be a known problem, but would like to know whether the problem can be fixed, and if so what is required to fix it? Or is there a better workaround to the ones currently available?
We have another problem that may relate to the above. During the untar process of large files including the one mentioned above, we get a file system error "Could not write to file: bad file descriptor" every now and then (both NFS and IDE, more frequently on the IDE). Could anyone shed light on this problem?

Thanks

Glenn

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#3 lore raw

Re: 405GP f_dentry panics

Quoted 19 lines · Glenn Toshi Martin

Hi all,

We have a custom 405GP board and the "Walnut" board. We are using the 2.4-test2 (Version released Nov 26 2000) kernel supplied via the Montavista web site. Our custom board has an IDE harddisk while the Walnut board uses NFS. We are experiencing f_dentry = 0 problems when untarring a 750 MB file (This seems to lead to memory corruption and hence kernel panics). The problem is more pronounced when using the IDE but nevertheless occurs when using the Walnut board over NFS. This appears to be a known problem, but would like to know whether the problem can be fixed, and if so what is required to fix it? Or is there a better workaround to the ones currently available?
We have another problem that may relate to the above. During the untar process of large files including the one mentioned above, we get a file system error "Could not write to file: bad file descriptor" every now and then (both NFS and IDE, more frequently on the IDE). Could anyone shed light on this problem?

Quoted 3 lines

Thanks

Glenn

We didn't implement the "f_dentry == 0" workarounds everywhere that the problem could manifest itself. We just implemented it opportunistically in places where we saw the problem under stress testing. We expect the problem to be resolved when we move up to 2.4.0 (I'm doing the merge now...). If you want to mask the problem in the interim, you need to search out all places where f_dentry is dereferenced and check for the value of zero before allowing the dereference.

-Frank
--
Frank Rowand <[email protected]>
MontaVista Software, Inc

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#5 lore raw

Re: Booting MCP750 stand alone

In reply to Tom Shaver
Quoted 4 lines · Tom Shaver

Is it possible to boot MVista Linux on a Motorola MCP750 without a bootp/tftp server? ie, off of the on board flash, or possibly a compact flash card?

Of course, otherwise how would you deploy an MCP750 system? :)

Booting out of the onboard flash is mentioned in the README, you need to use the BugBoot utility.

IDE is supported so the device in the onboard CF socket will show up as hda. Make a type 41 PReP partition on there, dd a kernel directly into the partition. Reboot and do a 'pboot 14' at the PPCBUG prompt.

Oh yes, make sure you populate an initrd or CF partition with the HHL filesystem to root off of.

--
Matt Porter
MontaVista Software, Inc.
[email protected]

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#4 lore raw

Booting MCP750 stand alone

In reply to Frank Rowand

Is it possible to boot MVista Linux on a Motorola MCP750 without a bootp/tftp server? ie, off of the on board flash, or possibly a compact flash card?

Thanks,
Tom Shaver
Electrical Engineer
Planning Systems Inc.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/