Перейти к содержанию

Пряник

Members
  • Постов

    23
  • Зарегистрирован

  • Посещение

    Никогда

Весь контент Пряник

  1. alsamixer и kmix проверяю программами glame и skype по-моему они обе используют alsa
  2. Регулировал я и для arts и для alsa. Поднял все, стало лучше, но все равно недостаточно. Микрофон точно не паршивый, т.к. А: у меня два микрофона и на обоих эти симптомы Б: В винде все нормально
  3. Дистрибутив Слакварь 10.0. Материнская плата chaintech 6aja4, звук встроенный, c-media CMI8738-MC6. При установке система определила звуковую карту автоматически. Проблема в следующем: Микрофон работает очень тихо. Я установил максимальный уровень во всех микшерах и включил Microphone Boost, но записывать звук можо только увеличивая громкость записи многократно в звуковом редакторе после записи. Разговаривать по Skype невозможно.
  4. Заработало! Косяк был из-за того, что после установки драйвера я пересобирал ядро, а модуль nvidia не пересобрал.
  5. Я обнаружил, что opengl в software mode работает, правда ОЧЕНЬ медленно(слабый проц), так что проблемы с драйвером видухи наверное...
  6. Цитата: И при таком выводе lsmod, если пробуете запустить Х, картинка идентична описанной выше? То что я цитировал выше - это пр запущенном Xorg, попробую без него позже, сейчас не могу выключить. Насчет драйвера: у меня dial-up и тянуть 10 метров только для того, чтобы проверить заработает или нет, мне как-то неохота...
  7. Ну что, никто не знает, как мне помочь? Выходит, что модуля glx нет. Вот что выдает lsmod Цитата: Module Size Used by Tainted: PF ppp_deflate 3032 0 (autoclean) zlib_deflate 18744 0 (autoclean) [ppp_deflate] bsd_comp 4216 0 (autoclean) ppp_async 6528 1 (autoclean) ppp_generic 19364 3 (autoclean) [ppp_deflate bsd_comp ppp_async] slhc 4592 0 (autoclean) [ppp_generic] nvidia 3643836 4 snd-pcm-oss 36704 0 (unused) snd-mixer-oss 12152 2 [snd-pcm-oss] snd-cmipci 16704 3 gameport 1420 0 [snd-cmipci] snd-pcm 54504 1 [snd-pcm-oss snd-cmipci] snd-opl3-lib 5860 0 [snd-cmipci] snd-hwdep 4352 0 [snd-opl3-lib] snd-timer 13412 0 [snd-pcm snd-opl3-lib] snd-mpu401-uart 3200 0 [snd-cmipci] snd-rawmidi 12320 0 [snd-mpu401-uart] snd-seq-device 3812 0 [snd-opl3-lib snd-rawmidi] snd 31268 0 [snd-pcm-oss snd-mixer-oss snd-cmipci snd-pcm snd-opl3-lib snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device] snd-page-alloc 4712 0 [snd-mixer-oss snd-pcm snd-hwdep snd-timer snd -rawmidi snd-seq-device snd] soundcore 3396 4 [snd] nls_koi8-u 3836 2 (autoclean) nls_cp866 3836 2 (autoclean) ptserial 53412 2 pctel 1039184 1 [ptserial] ide-scsi 9392 1 agpgart 45092 0 apm 9452 2
  8. Цитата: modprobe: Can't locate module glx
  9. dri уже убрал - не помогло Вот еще отрывок файла Xorg.0.log (II) NVIDIA(0): Setting mode "1024x768" (II) Loading extension NV-GLX (II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized (II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture (==) NVIDIA(0): Backing store disabled (==) NVIDIA(0): Silken mouse enabled (II) Loading extension NV-CONTROL (EE) NVIDIA(0): Failed to load GLX (==) RandR enabled
  10. там уже стоит "nvidia" glxinfo выводит это Цитата: name of display: :0.0 display: :0 screen: 0 direct rendering: No server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig client glx vendor string: SGI client glx version string: 1.4 client glx extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group GLX extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 (1.5 Mesa 6.1) OpenGL extensions: GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow, GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays glu version: 1.3 glu extensions: GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat ------------------------------------------------------------ ---------- 0x23 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None 0x24 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 None 0x25 16 tc 0 24 0 r y . 5 6 5 8 0 16 8 16 16 16 16 0 0 None 0x26 16 tc 0 24 0 r . . 5 6 5 8 0 16 8 16 16 16 16 0 0 None 0x27 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None 0x28 16 dc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 None 0x29 16 dc 0 24 0 r y . 5 6 5 8 0 16 8 16 16 16 16 0 0 None 0x2a 16 dc 0 24 0 r . . 5 6 5 8 0 16 8 16 16 16 16 0 0 None 0x2b 16 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None 0x2c 16 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None 0x2d 16 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None 0x2e 16 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None 0x2f 16 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None 0x30 16 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None xorg.conf вот Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/TTF" FontPath "/usr/X11R6/lib/X11/fonts/cyrillic" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/X11R6/lib/X11/fonts/CID" FontPath "/usr/X11R6/lib/X11/fonts/Speedo" FontPath "/usr/local/share/fonts" FontPath "/usr/X11R6/lib/X11/fonts" FontPath "/usr/share/fonts" FontPath "/usr/share/fonts/default" FontPath "/usr/X11R6/lib/X11/fonts/local" EndSection Section "Module" Load "record" Load "extmod" Load "dbe" Load "dri" Load "xtrap" Load "glx" Load "freetype" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "us,ru(winkeys)" Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/mouse" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg optional #Option "DigitalVibrance" # <i> #Option "NoFlip" # [<bool>] #Option "Dac8Bit" # [<bool>] #Option "NoLogo" # [<bool>] #Option "UBB" # [<bool>] #Option "Stereo" # <i> #Option "SWcursor" # [<bool>] #Option "HWcursor" # [<bool>] #Option "VideoKey" # <i> #Option "NvAGP" # <i> #Option "IgnoreEDID" # [<bool>] #Option "NoDDC" # [<bool>] #Option "ConnectedMonitor" # <str> #Option "ConnectedMonitors" # <str> #Option "TVStandard" # <str> #Option "TVOutFormat" # <str> #Option "RenderAccel" # [<bool>] #Option "CursorShadow" # [<bool>] #Option "CursorShadowAlpha" # <i> #Option "CursorShadowXOffset" # <i> #Option "CursorShadowYOffset" # <i> #Option "UseEdidFreqs" # [<bool>] #Option "FlatPanelProperties" # <str> #Option "TwinView" # [<bool>] #Option "TwinViewOrientation" # <str> #Option "SecondMonitorHorizSync" # <str> #Option "SecondMonitorVertRefresh" # <str> #Option "MetaModes" # <str> #Option "UseInt10Module" # [<bool>] #Option "NoTwinViewXineramaInfo" # [<bool>] #Option "NoRenderExtension" # [<bool>] #Option "Overlay" # [<bool>] #Option "CIOverlay" # [<bool>] #Option "ForceEmulatedOverlay" # [<bool>] #Option "TransparentIndex" # <i> #Option "OverlayDefaultVisual" # [<bool>] #Option "NvEmulate" # <i> #Option "NoBandWidthTest" # [<bool>] #Option "CustomEDID-CRT-0" # <str> #Option "CustomEDID-CRT-1" # <str> #Option "CustomEDID-DFP-0" # <str> #Option "CustomEDID-DFP-1" # <str> #Option "CustomEDID-TV-0" # <str> #Option "CustomEDID-TV-1" # <str> #Option "TVOverScan" # <f> #Option "IgnoreDisplayDevices" # <str> #Option "MultisampleCompatibility" # [<bool>] #Option "RegistryDwords" # <str> #Option "RegistryBinary" # <str> #Option "NoPowerConnectorCheck" # [<bool>] #Option "AllowDFPStereo" # [<bool>] #Option "XvMCUsesTextures" # [<bool>] #Option "HorizSync" # <str> #Option "VertRefresh" # <str> #Option "AllowGLXWithComposite" # [<bool>] #Option "RandRRotation" # [<bool>] #Option "ExactModeTimingsDVI" # [<bool>] Identifier "Card0" Driver "nvidia" VendorName "nVidia Corporation" BoardName "NV11 [GeForce2 MX/MX 400]" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 16 EndSubSection EndSection
  11. Дистр у меня slackware 10.1, а видуха GeForce 2 MX400. Поставил драйвер для видео с сайта нвидии, иксы заработали, все было ОК, но 3д ускорение я не использовал. А недавно качнул себе две игрухи на opengl, foobillard и SuperTux. При попытке запустить foobillard экран становится черным и комп не реагирует ни на что, кроме ресета. Игра SuperTux по умолчанию opengl не использует, но если выбрать пункт Use OpenGL в меню, сразу же происходит то же, что и с foobillard'ом. Подскажите, что делать...плззз
  12. Дистрибутив Slackware 10.1 Не пойму в чем дело. Вроде и компилятор не старый и SIM продукт не сырой. Файлов *.i после ошибки не остается. Цитата: skipped if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H - I. -I. -I../.. -I../../sim/api -I../../sim/ui -I../_core -I/opt/kde/include -I/u sr/lib/qt/include -I/usr/lib/qt/include -I/usr/X11R6/include -DPIC -fPIC -DQT_ THREAD_SUPPORT -DPIC -fPIC -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/l ibxml2 -I/usr/include/libxml2 -O2 -fno-exceptions -fno-check-new -MT icqmessag e.lo -MD -MP -MF ".deps/icqmessage.Tpo" \ -c -o icqmessage.lo `test -f 'icqmessage.cpp' || echo './'`icqmessage. cpp; \ then mv -f ".deps/icqmessage.Tpo" ".deps/icqmessage.Plo"; \ else rm -f ".deps/icqmessage.Tpo"; exit 1; \ fi icqmessage.cpp: In member function `SIM::Message* ICQClient::parseMessage(short unsigned int, const char*, std::string&, Buffer&, MessageId&, unsigned int) ': icqmessage.cpp:650: internal compiler error: in final, at final.c:1898 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make[3]: *** [icqmessage.lo] Ошибка 1 make[3]: Leaving directory `/root/musor/sim-0.9.3/plugins/icq' make[2]: *** [all-recursive] Ошибка 1 make[2]: Leaving directory `/root/musor/sim-0.9.3/plugins/icq' make[1]: *** [all-recursive] Ошибка 1 make[1]: Leaving directory `/root/musor/sim-0.9.3' make: *** [all] Ошибка 2
  13. Я случайно снес некоторое файло, часть программ стала ругаться на то, что нет файла /usr/lib/libgmodule-1.2.so.0 Переписал этот файл у друга - теперь не находит libgthread-1.2.so.0 В дистрибутиве искал везде, но не могу найти. Подскажите, в каком они пакете? Дистрибутив 10.1
  14. В x-chat нашел переключение кодировки, а в текстовых процах нет. Локаль у меня koi8-r, а RTF-ники в CP1251 Так что мне, каждый раз, как собирусь РТФ открывать прописывать в конфиги его кодировку?
  15. Я настроил кириллицу по документации, все нормально работает, кроме: 1. В X-chat не могу читать сообщения на кириллице и другие юзеры не могут читать мои 2. Ни Kword, ни abiword не желают читать виндовые кириллические RTF-файлы(вместо текста крякозябры) Как это исправить? Дистрибутив у меня 10.1, ядро 2.4.29
  16. вот makefile, но я не понимаю, что нужно в нем изменить Цитата: # Makefile generated from configure at Пнд Май 9 12:04:27 MSD 2005 # CFLAGS options KERNEL_INC=/usr/src/linux/include GCC_VERSION=3.3.4 VERSION=0.9.7-9-rht MODVERSIONS=/usr/src/linux/include/linux/modversions.h UTS_RELEASE_PCTEL=2.4.29 HAL=HAL_PCT789 AUDIOROUTING= # which ptserial to use PTSERIAL=ptserial-2.4.7.c # what to compile TARGET=pct789 # $Id: Makefile.orig,v 1.1 2003/11/03 21:27:56 cvs Exp $ # BUILD_SYSTEM modified to work with uname 5.0, which does not support the -p # switch - instead we use -o (Operating System). # Robert Thornburrow <robert@tsac.fsnet.co.uk> 09/04/2004 CFLAGS= -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes \ -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe \ -fno-strength-reduce \ $(AUDIOROUTING) \ -DVERSION=\"$(VERSION)\" -DGCC_VERSION=\"$(GCC_VERSION)\" \ -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB \ -DBUILD_SYSTEM=\""`uname -s -m -r -o`\"" \ -D__KERNEL__ -I$(KERNEL_INC) -D$(HAL) -include $(MODVERSIONS) # -DBUILD_SYSTEM=\""`uname -s -m -r -p`\"" \ all: $(TARGET) vuart.o: as vuart.s -o vuart.o i8xxhal.a: as i8xxhal.s -o i8xxhal.o ar rv i8xxhal.a i8xxhal.o ptmodule.o: gcc $(CFLAGS) -o ptmodule.o -c ptmodule.c ptserial.o: gcc $(CFLAGS) -o ptserial.o -c $(PTSERIAL) ld -r -o ../driver/ptserial.o ptserial.o pct789: ptmodule.o vuart.o ptserial.o ld -r -o ../driver/pctel.o ptmodule.o lib/control.a vuart.o \ lib/pct789/dsp.a lib/pct789/pcthal.a cm8738: ptmodule.o ptserial.o make fix_cm8738_symbols ld -r -o ../driver/pctel.o ptmodule.o pctel-cm8738.tmp.o i8xx: vuart.o i8xxhal.a ptserial.o ptmodule.o ld -r -o tmp.o lib/control.a vuart.o lib/amr/dsp.a i8xxhal.a @echo "-=- Fixing wrong symbol names: kmalloc, kfree, printk and __udelay. -=-" make fix_amr_symbols ld -r -o ../driver/pctel.o ptmodule.o tmp.o @echo "-=- Fixing .modinfo section -=-" make fix_amr_modinfo sis: vuart.o ptserial.o ptmodule.o ld -r -o tmp.o lib/control.a vuart.o lib/sis/dsp.a lib/sis/sishal.a @echo "-=- Fixing wrong symbol names: kmalloc, kfree, printk and __udelay. -=-" make fix_amr_symbols ld -r -o ../driver/pctel.o ptmodule.o tmp.o @echo "-=- Fixing .modinfo section -=-" make fix_amr_modinfo via686a: vuart.o ptserial.o ptmodule.o ld -r -o tmp.o lib/control.a vuart.o lib/via/dsp.a \ lib/via/via686ahal.a @echo "-=- Fixing wrong symbol names: kmalloc, kfree, printk and __udelay. -=-" make fix_amr_symbols ld -r -o ../driver/pctel.o ptmodule.o tmp.o @echo "-=- Fixing .modinfo section -=-" make fix_amr_modinfo clean: rm -f *.o i8xxhal.a rm -f ../driver/*.o rm -f make.log inst.log install: ./inst fix_cm8738_symbols: echo "Removing symbols: init_module, cleanup_module, __module_kernel_version and __module_using_checksums."; \ modinfo=../driver/modinfo; \ module=lib/cm8738/pctel-cm8738.o; \ module_tmp=pctel-cm8738.tmp.o; \ (echo -ne "kernel_version="$(UTS_RELEASE_PCTEL)"\0" > $$modinfo) && \ (echo -ne `objdump -s -j .modinfo $$module | \ awk 'BEGIN{v=0;} /Contents/ {v=1; next; } { if (v==1) print $$0; }' | \ cut -c7-41 | \ awk '{ printf($$0); }' | \ sed 's/ //g;s/../\\\\x&/g;'` | \ tr '\000' '\n' | \ awk '/^kernel_version=/ { next;} {print $$0;}' | \ tr '\n' '\000' >> $$modinfo) && \ (objcopy \ --strip-symbol=__module_kernel_version \ --strip-symbol=__module_using_checksums \ --strip-symbol=init_module \ --strip-symbol=cleanup_module \ --remove-section=.modinfo \ --add-section=.modinfo=$$modinfo \ $$module $$module_tmp) && rm -f $$modinfo # Added __udelay_R9e7d6bd0, schedule_timeout_R17d59d01 and # _const_udelay_Reae3dfd6 symbols, all of which are defined in the kernel. # Robert Thornburrow <robert@tsac.fsnet.co.uk> 09/04/2004 fix_amr_symbols: (wrong_symbols="kmalloc_R93d4cfe6 kfree_R037a0cba printk_R1b7d4074 __udelay_R9e7d6bd0 schedule_timeout_R17d59d01 __const_udelay_Reae3dfd6"; \ for sym in $$wrong_symbols; do \ tsym=`echo $$sym | awk '{ gsub(/_R[0-9a-fA-F]+/,""); printf("%s", $$1); }'`; \ case $$tsym in \ printk|schedule_timeout|__const_udelay) \ fsym="`awk '/ '$$tsym'/ { printf("%s", $$2); }' < /proc/ksyms`"; \ ;; \ *) \ fsym="pctel_$$tsym"; \ ;; \ esac; \ redef_cmd="$$redef_cmd --redefine-sym=$$sym=$$fsym"; \ done && \ objcopy \ $$redef_cmd \ tmp.o tmp2.o) && \ (rm -f tmp.o && mv -f tmp2.o tmp.o) fix_amr_modinfo: modinfo=../driver/modinfo; \ module=../driver/pctel.o; \ module_tmp=../driver/pctel.tmp.o; \ (echo -ne "kernel_version="$(UTS_RELEASE_PCTEL)"\0" > $$modinfo) && \ (echo -ne `objdump -s -j .modinfo $$module | \ awk 'BEGIN{v=0;} /Contents/ {v=1; next; } { if (v==1) print $$0; }' | \ cut -c7-41 | \ awk '{ printf($$0); }' | \ sed 's/ //g;s/../\\\\x&/g;'` | \ tr '\000' '\n' | \ awk '/^kernel_version=/ { next;} {print $$0;}' | \ tr '\n' '\000' >> $$modinfo) && \ (objcopy --remove-section=.modinfo --add-section=.modinfo=$$modinfo \ $$module $$module_tmp) && \ (rm -f $$module $$modinfo && mv -f $$module_tmp $$module)
  17. Понимаете, я в никсах новичок. Может вы просто объясните, что и как нужно сделать, чтобы модем заработал?
  18. root@darkstar:~/musor/pctel-0.9.7-9-rht/src# ./configure -auto checking for running kernel version...2.4.29 checking for ptserial...ptserial-2.4.7.c checking for gcc...3.3.4 searching for kernel includes...found at /usr/src/linux/include checking for modversions.h.../usr/src/linux/include/linux/modversions.h checking for kernel_version...UTS_RELEASE is 2.4.29 detecting your modem...found. Your modem is a pct789 type modem. root@darkstar:~/musor/pctel-0.9.7-9-rht/src# make gcc -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DVERSION=\"0.9.7-9-rht\" -DGCC_VERSION=\"3.3.4\" -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DBUILD_SYSTEM=\""`uname -s -m -r -o`\"" -D__KERNEL__ -I/usr/src/linux/include -DHAL_PCT789 -include /usr/src/linux/include/linux/modversions.h -o ptmodule.o -c ptmodule.c as vuart.s -o vuart.o gcc -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DVERSION=\"0.9.7-9-rht\" -DGCC_VERSION=\"3.3.4\" -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DBUILD_SYSTEM=\""`uname -s -m -r -o`\"" -D__KERNEL__ -I/usr/src/linux/include -DHAL_PCT789 -include /usr/src/linux/include/linux/modversions.h -o ptserial.o -c ptserial-2.4.7.c ld -r -o ../driver/ptserial.o ptserial.o ld -r -o ../driver/pctel.o ptmodule.o lib/control.a vuart.o \ lib/pct789/dsp.a lib/pct789/pcthal.a root@darkstar:~/musor/pctel-0.9.7-9-rht/src# make install ./inst installing device file...done installing driver...done root@darkstar:~/musor/pctel-0.9.7-9-rht/src# insmod pctel Using /lib/modules/2.4.29/misc/pctel.o /lib/modules/2.4.29/misc/pctel.o: The module you are trying to load (/lib/modules/2.4.29/misc/pctel.o) is compiled with a gcc version 2 compiler, while the kernel you are running is compiled with a gcc version 3 compiler. This is known to not work. root@darkstar:~/musor/pctel-0.9.7-9-rht/src# insmod ptserial Using /lib/modules/2.4.29/misc/ptserial.o /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol COM_Vlcr /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol PctelInitCtrlVars /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol Pctel_module_free /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol get_uart_ier /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol get_uart_dll /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol get_uart_dlm /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol GlobalTimer /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol put_uart_ier /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol get_uart_scr /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol HAL_GetTimer /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol put_uart_dll /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol put_uart_tx /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol put_uart_dlm /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol get_uart_lcr /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol get_uart_msr /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol put_uart_scr /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol put_uart_lcr /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol put_uart_msr /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol HAL_DoInterrupt /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol get_uart_iir /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol PctelInitVUartVars /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol get_uart_mcr /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol get_uart_lsr /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol modem_main /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol get_uart_rx /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol put_uart_iir /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol HAL_Deinit /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol Pctel_module_init /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol dspMain /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol HAL_Init /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol put_uart_lsr /lib/modules/2.4.29/misc/ptserial.o: /lib/modules/2.4.29/misc/ptserial.o: unresolved symbol put_uart_mcr /lib/modules/2.4.29/misc/ptserial.o: Hint: You are trying to load a module without a GPL compatible license and it has unresolved symbols. The module may be trying to access GPLONLY symbols but the problem is more likely to be a coding or user error. Contact the module supplier for assistance, only they can help you. root@darkstar:~/musor/pctel-0.9.7-9-rht/src#
  19. Скачал драйвер для своего модема. У становка проходит нормально, но модем не работает. Делаю insmod pctel, выводит сообщение об ошибке, процитировать не могу, но смысл в том, что данный модуль откомпилирован gcc 2, а ядро gcc 3 и работать это совместно не будет. Что делать? Может где нибудь другой драйвер достать можно?
  20. Пряник

    GUI

    Сделал, все работает, спасибо!
  21. Пряник

    GUI

    В какую директорию надо положить файл .xinitrc ?
  22. Пряник

    GUI

    Сначала я запускаю Xorg, перевожу его в фоновый режим, а потом Цитата: root@darkstar:~# blackbox failed to open catalog, using default messages BaseDisplay::BaseDisplay: connection to X server failed. root@darkstar:~# kdesktop ERROR: KUniqueApplication: Can't determine DISPLAY. Aborting. root@darkstar:~# twm twm: unable to open display "" root@darkstar:~# Причем то же самое я получаю, если Xorg НЕ запущен. Программа xorgcfg запускается, не смотря на то, что она использует графический интерфейс. Пробовал запустить twm с параметрами -display 0 или -display "Screen0" - тоже безрезультатно
  23. Пряник

    GUI

    По инструкции на сайте http://slackware.pp.ru настроил иксы, дрова для видео поставил с сайта производителя. Иксы врубаются нормально, но ни одна графическая оболочка работать не хочет. Все ругаются на DISPLAY. Помогите, плзззз....
×
×
  • Создать...