Hardware related code in Linux-kernel

Hardware related code in Linux-kernel

Post by Toni Van Remorte » Wed, 16 Jan 2002 22:07:28



Hello,

I started at a project that wants to rescale a Linux-kernel to fit into
microprocessors.
Because I need to find out what parts of the kernel are hardware-related,
I'm looking for tutorials/courses/information about the hardware-related
sourcecode from the Linux kernel.

It doesn't matter which kernel version, we are not sure about which version
we should resize (probably starting from 2.2.20).
Because each microprocessor has it's own asm-code, I finally need to write
all asm-code to fit the kernel on that particular microprocessor (main
target is the Motorola MBX, but others will also be used).

Does anybody know where to find such information, or other projects that
cover a part of our project? It may be anything (site, couse, book, ...)

Thank you in advance.

ing Toni Van Remortel

 
 
 

1. 2.5.34 BUG at kernel/sched.c:944 (partitions code related?)

Hello!

    Starting with yesterday I am seeing kernel BUG at sched.c:944
    on 2.5.3[34], I've seen similar report for 2.5.31 in the list with no
    responces, however 2.5.31 was working fine for me.

    Stack trace for the BUG was entirely within idle task (default_idle,
    rest_init, cpu_idle, ...)

    It explodes immediatelly after printing:
 hda: hda1 hda2 hda3 hda4 < hda5

    Then panics trying to kill interrupt handler.

    On 2.4 this partition layout looks like this:
 hda: [PTBL] [7476/255/63] hda1 hda2 hda3 hda4 < hda5 hda6 >

   Box itself is Dual Athlon MP 1700+. IDE only, 1G RAM, highmem enabled.

   Other strange thing that caught my attention is this, if in 2.5.31 I had
   this order or disk detection:
<4>hda: IC35L060AVER07-0, ATA DISK drive
<4>hdb: IC35L060AVER07-0, ATA DISK drive
<4>ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
<4>hda: host protected area => 1
<6>hda: 120103200 sectors (61493 MB) w/1916KiB Cache, CHS=119150/16/63
<4>hdb: host protected area => 1
<6>hdb: 120103200 sectors (61493 MB) w/1916KiB Cache, CHS=119150/16/63
<6> hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
<6> hdb: hdb1

   Now it does it in reverse like this:
hdb: host protected area => 1
hdb: 120103200 sectors (61493 MB) w/1916KiB Cache, CHS=119150/16/63
hdb: hdb1
hda: host protected area => 1
hda: 120103200 sectors (61493 MB) w/1916KiB Cache, CHS=119150/16/63
hda: hda1 hda2 hda3 hda4 < hda5PANIC

   Is anybody interested in more information/whatever?

Bye,
    Oleg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. nntpproxy-0.1.1 (for connecting to secure servers...)

3. Win9X Vs Linux Question (hardware related)

4. RedHat install problems

5. Code fragments/plug-ins for solaris?

6. Pb with mount when user is not root

7. I want to modify TCP-related code in linux that is suitable for wireless condition.

8. Linux on PS/Valuepoint

9. proposal: feed smaller mailing lists into linux-kernel, add linux-kernel-core and linux-kernel-bugs

10. 2 hardware relate issues

11. Need advice on new Linux/*BSD-compatible hardware (and Linux Hardware Database is gone)

12. Hardware Related Issues would like working !

13. General trouble (probably PCI-hardware-related)