Realtek RTL8169

Drivers for network cards
  • Ух, оффтопщики!

    Кстати, hidnplayr сейчас работает над поддержкой обработки прерываний от сетевых карт, что уже возволило ему, насколько я понял, принимать (а может заодно и передавать, не помню) данные со скоростью то ли 400, то ли все 800 КБ/сек.
  • В связи с тем, что недавно (28-го сентября) shurf пофиксил (в транке) драйвер, который я когда-то написал (за что ему огромный респект, так как у меня сейчас даже autodhcp работает), я решил это дело отпраздновать и в свою очередь пофиксил баг в сетевом стеке, который приводил к крэшу ядра. Воспроизвести можно было так: запускаем HTTPS (проявлялось и на других программах, описывать не буду), жмём Activate и загружаем пару раз страничку (например, с другого компа). Результат виден на доске отладки (режим Kern), запущенной преждевременно, потому как далее работа с системой невозможна (визуально - курсор начинает жутко морозить, реакции на мышь/клавиатуру нет).

    Фикс залит в транк и все бранчи. Просьба протестить, что-ли... :)
    in code we trust
  • mike.dld
    Теперь сеть работает, правда зависает web сервер при частом/активном обращении к нему (я обновлял страницу статистики /tinystat - после 20 обновлений сервер подвис система работает) - наверное это проблемы самого веб сервера а не проблемы со стеком :)
  • winnt
    Да, я в курсе и эта проблема обсуждалась на канале (IRC). Пока что не разбирался, что к чему, возможно проблема и в ядре (в скорости работы сетевого стека).
    in code we trust
  • Здравствуй всем , я только что заредился здесь , так что не судити строго , меня интересует рускоязычная документация на rtl8169 и rtl8139 , очень надо.
    Просто я не знаю всех тонкостей колибри и что откудо берется , вот и хочу разобраться.
  • Да к стати можете сказать кто писал драйвера под эти сетевухи , может они мне помогут в моей проблеме ?
  • n.Romario: if i understand correctly you are looking for information how to program the RTL8139 and RTL8169 ?
    If so, start here: http://wiki.osdev.org/Category:Network_devices (especially read the devices datasheet, and 'programmers guidel' if available.
    Also, start with the RTL8139, 8169 is more complex and there is less documentation available.
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • http://websvn.kolibrios.org/log.php?rep ... tl8139.inc&
    http://websvn.kolibrios.org/log.php?rep ... tl8169.inc&
    Т.е. над 8169 работали Mike.dld, Victor, Serge, Shurf и Clevermouse. Такие дела.
  • Запуск KolibriOS.iso на Dell Inspirion 3537
    Лог тест
    BOARDLOG.TXT (6.07 KiB)
    Downloaded 396 times


    P.S. ! NetCFG - загрузка CPU 99%
    PCI test
    PCIDEV.TXT (2.3 KiB)
    Downloaded 392 times
  • Kopa wrote:P.S. ! NetCFG - загрузка CPU 99%
    PCI test
    PCIDEV.TXT
    Если в BIOS вместо AHCI выставить ATA или IDE, то должно увидеть HDD и ATAPI.
    Только потом нужно обратно настройку вернуть, а то большая ОС установленная на HDD не запустится.
    Всем чмоки в этом проекте! Засуньте эти 11 лет себе в жопу!
  • Kopa wrote:Запуск KolibriOS.iso на Dell Inspirion 3537
    Лог тест
    BOARDLOG.TXT


    P.S. ! NetCFG - загрузка CPU 99%
    PCI test
    PCIDEV.TXT
    Sounds like network driver hangs.
    Please try the attached driver and post the boardlog.
    Last edited by hidnplayr on Sat Oct 14, 2017 1:33 pm, edited 1 time in total.
    Reason: Attachment removed
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • hidnplayr wrote:Sounds like network driver hangs.
    Please try the attached driver and post the boardlog.
    BOARDLOG.TXT (6.45 KiB)
    Downloaded 390 times
    P.S. the problem persists
  • Kopa wrote:P.S. the problem persists
    Yes the driver I previously attached had no changes in the code, it only helped me to indicate where the problem can be.
    The one attached here might actually fix the problem.
    Last edited by hidnplayr on Sat Oct 14, 2017 1:34 pm, edited 1 time in total.
    Reason: Attachment removed
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • hidnplayr wrote:
    Kopa wrote:P.S. the problem persists
    Yes the driver I previously attached had no changes in the code, it only helped me to indicate where the problem can be.
    The one attached here might actually fix the problem.
    NetCFG still uses 99% CPU with this driver. Attached board log + PCIDEV output. SVN #4719.
    EDIT: When the network cable is connected, the CPU load drops to normal, but the log is running in a loop.
    Attachments
    Downloaded 353 times
    Downloaded 359 times
    BOARDLOG.TXT (4.57 KiB)
    Downloaded 364 times
  • Who is online

    Users browsing this forum: No registered users and 1 guest