Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Mam taki dziwaczny problem od dłuższego czasu - nawet nie pamiętam jak długo - gdy próbuję przejść na jakiś terminal TTY1-TTY6 zamiast prompta widzę coś takiego:
https://www.youtube.com/watch?v=lMc9y1L0-3s
Tak samo mam jak próbuję wejść w trybie recovery.
Bez x'ów system jest kompletnie nie używalny (o ironio :))
Na pewno jest to związane jakoś z nvidia ale nie wiem co z trym zrobić
# cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-4.16.0-2-amd64 root=UUID=0bc07204-e2be-496a-95ee-0ffa3233fd5b ro
# cat /etc/default/grub # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: # info -f grub -n 'Simple configuration' GRUB_DEFAULT=0 GRUB_TIMEOUT=1 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="" ##"nomodeset " GRUB_CMDLINE_LINUX="" # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef" # Uncomment to disable graphical terminal (grub-pc only) GRUB_TERMINAL=console GRUB_TERMINAL_OUTPUT=console # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480 #GRUB_GFXPAYLOAD_LINUX=1152x864x24 # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY="true" # Uncomment to get a beep at grub start GRUB_INIT_TUNE="480 440 1"
# lsmod | grep nvidia nvidia_drm 49152 9 nvidia_modeset 1089536 30 nvidia_drm nvidia 14045184 2163 nvidia_modeset drm_kms_helper 200704 1 nvidia_drm drm 462848 12 nvidia_drm,drm_kms_helper ipmi_msghandler 61440 2 nvidia,ipmi_devintf
# modinfo nvidia filename: /lib/modules/4.16.0-2-amd64/updates/dkms/nvidia.ko alias: char-major-195-* version: 396.24 supported: external license: NVIDIA srcversion: B8759CF3D70979C35D5752D alias: pci:v000010DEd00000E00sv*sd*bc04sc80i00* alias: pci:v000010DEd*sv*sd*bc03sc02i00* alias: pci:v000010DEd*sv*sd*bc03sc00i00* depends: ipmi_msghandler retpoline: Y name: nvidia vermagic: 4.16.0-2-amd64 SMP mod_unload modversions parm: NVreg_Mobile:int parm: NVreg_ResmanDebugLevel:int parm: NVreg_RmLogonRC:int parm: NVreg_ModifyDeviceFiles:int parm: NVreg_DeviceFileUID:int parm: NVreg_DeviceFileGID:int parm: NVreg_DeviceFileMode:int parm: NVreg_UpdateMemoryTypes:int parm: NVreg_InitializeSystemMemoryAllocations:int parm: NVreg_UsePageAttributeTable:int parm: NVreg_MapRegistersEarly:int parm: NVreg_RegisterForACPIEvents:int parm: NVreg_CheckPCIConfigSpace:int parm: NVreg_EnablePCIeGen3:int parm: NVreg_EnableMSI:int parm: NVreg_TCEBypassMode:int parm: NVreg_UseThreadedInterrupts:int parm: NVreg_EnableStreamMemOPs:int parm: NVreg_EnableBacklightHandler:int parm: NVreg_EnableUserNUMAManagement:int parm: NVreg_MemoryPoolSize:int parm: NVreg_IgnoreMMIOCheck:int parm: NVreg_RegistryDwords:charp parm: NVreg_RegistryDwordsPerDevice:charp parm: NVreg_RmMsg:charp parm: NVreg_AssignGpus:charp
Offline
To chyba SystemD coś miesza.
U mnie na sterze konsola na sterze Nvidia 396.24 chodzi normalnie na wszystkich jajkach 4.16.x i 4.17.x.
Używam starego Gruba-1
modinfo nvidia filename: /lib/modules/4.16.13-g1/video/nvidia.ko alias: char-major-195-* version: 396.24 supported: external license: NVIDIA srcversion: B8759CF3D70979C35D5752D alias: pci:v000010DEd00000E00sv*sd*bc04sc80i00* alias: pci:v000010DEd*sv*sd*bc03sc02i00* alias: pci:v000010DEd*sv*sd*bc03sc00i00* depends: name: nvidia vermagic: 4.16.13-g1 SMP preempt mod_unload modversions RANDSTRUCT_PLUGIN_470663657121431c2749c1d3504573674c85236ddbb4d469aeee3fdffe9bf595 parm: NVreg_Mobile:int parm: NVreg_ResmanDebugLevel:int parm: NVreg_RmLogonRC:int parm: NVreg_ModifyDeviceFiles:int parm: NVreg_DeviceFileUID:int parm: NVreg_DeviceFileGID:int parm: NVreg_DeviceFileMode:int parm: NVreg_UpdateMemoryTypes:int parm: NVreg_InitializeSystemMemoryAllocations:int parm: NVreg_UsePageAttributeTable:int parm: NVreg_MapRegistersEarly:int parm: NVreg_RegisterForACPIEvents:int parm: NVreg_CheckPCIConfigSpace:int parm: NVreg_EnablePCIeGen3:int parm: NVreg_EnableMSI:int parm: NVreg_TCEBypassMode:int parm: NVreg_UseThreadedInterrupts:int parm: NVreg_EnableStreamMemOPs:int parm: NVreg_EnableBacklightHandler:int parm: NVreg_EnableUserNUMAManagement:int parm: NVreg_MemoryPoolSize:int parm: NVreg_IgnoreMMIOCheck:int parm: NVreg_RegistryDwords:charp parm: NVreg_RegistryDwordsPerDevice:charp parm: NVreg_RmMsg:charp parm: NVreg_AssignGpus:charp
Utknąłem za to na jaju 4.16.13, bo na wyższych Compiz i bibloteka Qtwebengine łapią jakieś dziwaczne segfaulty, blokując w ten sposób działanie między innymi Akregatora.
Ostatnio edytowany przez Jacekalex (2018-06-29 20:44:00)
Offline
U mnie na nvidii i z takim GRUBym jak poniżej działa:
# If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: # info -f grub -n 'Simple configuration' GRUB_DEFAULT=0 GRUB_TIMEOUT=3 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet" GRUB_CMDLINE_LINUX="" # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef" # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' GRUB_GFXMODE=2560x1440 GRUB_GFXPAYLOAD_LINUX=keep # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY="true" # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1"
Offline
@Jacekalex, możliwe, ze coś z framebufferem ? Ale znów, nie wiem jak to ugryźć :V
@yaros, nope, teraz mam ładne niebieskie tło a potem ładny niebieski pasek :)
Offline
Jakby to była wina systemd, to pewnie by było widać to tutaj:
# systemctl list-unit-files | grep tty console-getty.service disabled container-getty@.service static getty-static.service static getty@.service enabled serial-getty@.service disabled getty-pre.target static getty.target static
Jeśli masz pliki usług w jakiś sposób pozmieniane, to zobacz sobie na:
# systemd-delta
Zawsze też możesz odpalić system w trybie debug i poszukać komunikatów:
https://freedesktop.org/wiki/Software/systemd/Debugging/
Offline
[quote=urbinek]@Jacekalex, możliwe, ze coś z framebufferem ? Ale znów, nie wiem jak to ugryźć :V[/quote]
Ten Framebuffer chodzi na jakim sterze, Vesa, Uvesa?
U mnie bryka grzecznie na Vesa.
Ostatnio edytowany przez Jacekalex (2018-06-30 13:06:09)
Offline
@morfik, z tego co widzę, mam tak samo
# systemctl list-unit-files | grep tty console-getty.service disabled container-getty@.service static getty-static.service static getty@.service enabled serial-getty@.service disabled getty-pre.target static getty.target static
@Jacekalex,
# dmesg | grep -i 'frame\|fb' [ 0.570265] efifb: probing for efifb [ 0.570272] efifb: framebuffer at 0xf1000000, using 3072k, total 3072k [ 0.570272] efifb: mode is 1024x768x32, linelength=4096, pages=1 [ 0.570272] efifb: scrolling: redraw [ 0.570273] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0 [ 0.574282] Console: switching to colour frame buffer device 128x48 [ 0.578265] fb0: EFI VGA frame buffer device
Tak, używam uefi
Offline
To przedyskutuj sprawę ze sterem efifb na początek.
Rzuć okiem na wynik:
hwinfo --framebuffer
Może coś tam wykombinujesz.
Ostatnio edytowany przez Jacekalex (2018-06-30 13:52:49)
Offline
To już antyczny problem, wynikający z kiepskiego działania sterowników NVidii poza serwerem X (brak obsługi KMS i innych linuksowych standardów).
Trzeba ręcznie dodać niezbędne parametry do Gruba.
Offline
@Jacekalex, według hwinfo fb ma się dobrze :)
# hwinfo --framebuffer 02: None 00.0: 11001 VESA Framebuffer [Created at bios.459] Unique ID: rdCR.PFxKO2hSZ+2 Hardware Class: framebuffer Model: "NVIDIA GM206 Board" Vendor: "NVIDIA Corporation" Device: "GM206 Board" SubVendor: "NVIDIA" SubDevice: Revision: "Chip Rev" Memory Size: 16 MB Memory Range: 0x01000000-0x01ffffff (rw) Mode 0x0300: 640x400 (+640), 8 bits Mode 0x0301: 640x480 (+640), 8 bits Mode 0x0303: 800x600 (+800), 8 bits Mode 0x0305: 1024x768 (+1024), 8 bits Mode 0x0307: 1280x1024 (+1280), 8 bits Mode 0x030e: 320x200 (+640), 16 bits Mode 0x030f: 320x200 (+1280), 24 bits Mode 0x0311: 640x480 (+1280), 16 bits Mode 0x0312: 640x480 (+2560), 24 bits Mode 0x0314: 800x600 (+1600), 16 bits Mode 0x0315: 800x600 (+3200), 24 bits Mode 0x0317: 1024x768 (+2048), 16 bits Mode 0x0318: 1024x768 (+4096), 24 bits Mode 0x031a: 1280x1024 (+2560), 16 bits Mode 0x031b: 1280x1024 (+5120), 24 bits Mode 0x0330: 320x200 (+320), 8 bits Mode 0x0331: 320x400 (+320), 8 bits Mode 0x0332: 320x400 (+640), 16 bits Mode 0x0333: 320x400 (+1280), 24 bits Mode 0x0334: 320x240 (+320), 8 bits Mode 0x0335: 320x240 (+640), 16 bits Mode 0x0336: 320x240 (+1280), 24 bits Mode 0x033d: 640x400 (+1280), 16 bits Mode 0x033e: 640x400 (+2560), 24 bits Mode 0x0345: 1600x1200 (+1600), 8 bits Mode 0x0346: 1600x1200 (+3200), 16 bits Mode 0x034a: 1600x1200 (+6400), 24 bits Mode 0x034b: 1920x1080 (+1920), 8 bits Mode 0x034c: 1920x1080 (+3840), 16 bits Mode 0x034d: 1920x1080 (+7680), 24 bits Mode 0x0360: 1280x800 (+1280), 8 bits Mode 0x0361: 1280x800 (+5120), 24 bits Config Status: cfg=new, avail=yes, need=no, active=unknown
@yossarian, a wiesz może jakie :)? Grzebię po necie od jakiegoś czasu i jestem już na etapie gdzie pogodziłem się z tym i zamiast tty1 używam ssh w telefonie
Offline
To zobacz w jakimś trybie FB, może ruszy po podaniu ręcznie w cmdline kernela któregoś parametru, np: 0x034d
Wygląda na to, że masz dosyć znany problem z efifb.
Tutaj do Nvidii radzą przy efi używać simplefb.
https://forums.gentoo.org/viewtopic-t-1013132.html
https://forums.gentoo.org/viewtopic-p-7719338.html#7719338
Ostatnio edytowany przez Jacekalex (2018-07-01 15:42:24)
Offline
Time (s) | Query |
---|---|
0.00039 | SET CHARSET latin2 |
0.00007 | SET NAMES latin2 |
0.00124 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.141.29.90' WHERE u.id=1 |
0.00090 | UPDATE punbb_online SET logged=1732188469 WHERE ident='3.141.29.90' |
0.00062 | SELECT * FROM punbb_online WHERE logged<1732188169 |
0.00105 | DELETE FROM punbb_online WHERE ident='18.217.140.224' |
0.00089 | SELECT topic_id FROM punbb_posts WHERE id=319947 |
0.00008 | SELECT id FROM punbb_posts WHERE topic_id=30511 ORDER BY posted |
0.00059 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=30511 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00157 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=30511 ORDER BY p.id LIMIT 0,25 |
0.00104 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=30511 |
Total query time: 0.00849 s |