Czarny ekran w terminalu

Ogólne pytania dotyczące systemu
Andrews
Posty: 3
Rejestracja: 31 grudnia 2008, 15:22

Czarny ekran w terminalu

Post autor: Andrews »

Witam.
Wczoraj zainstalowałem Debiana 4.0 Etch i pojawił się problem.
Mianowicie gdy włączam terminal przez ctrl alt f1 widze tylko czarny ekran żadnych kursorów ani nic takiego. Po ctrl alt f7 wraca normalnie do trybu graficznego.

Próbowałem dodac w ustawieniach kernela w grubie vga= ale pod żadnym parametrem nie zadzialało.

Jestem zielony więc jeśli coś skopałem to proszę o łagony wymiar kary albo chociaż o pomoc ;)
fnmirk
Senior Member
Posty: 8321
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

A spróbowałeś Ctrl+Alt+F3 lub Ctrl+Alt+F4 aż do F6?
Andrews
Posty: 3
Rejestracja: 31 grudnia 2008, 15:22

Post autor: Andrews »

¯adne nie działa od f1 do f12 oprócz f7 oczywiście.
Awatar użytkownika
lis6502
Member
Posty: 1798
Rejestracja: 05 listopada 2008, 20:14
Lokalizacja: Miasto Szybowców

Post autor: lis6502 »

Co widzisz podczas uruchamiania systemu? Przed trybem graficznym na ekranie powinny wyskakiwać takie teksty, jakie zobaczysz po wpisaniu

Kod: Zaznacz cały

dmesg
w konsoli.

Dorzuć może wyniki działania poleceń

Kod: Zaznacz cały

cat /etc/inittab
z poziomu użytkownika i

Kod: Zaznacz cały

runlevel
getty
z root'a.
Andrews
Posty: 3
Rejestracja: 31 grudnia 2008, 15:22

Post autor: Andrews »

Przed odpaleniem trybu graficznego wyświetla to co przy dmesg.

cat /etc/inittab wyrzuciło:
MEM window: fdd00000-fddfffff
PREFETCH window: disabled.
PCI: Bridge: 0000:00:0f.0
IO window: 6000-6fff
MEM window: f8000000-fbffffff
PREFETCH window: e0000000-efffffff
PCI: Setting latency timer of device 0000:00:06.0 to 64
PCI: Setting latency timer of device 0000:00:0a.0 to 64
PCI: Setting latency timer of device 0000:00:0b.0 to 64
PCI: Setting latency timer of device 0000:00:0c.0 to 64
PCI: Setting latency timer of device 0000:00:0d.0 to 64
PCI: Setting latency timer of device 0000:00:0e.0 to 64
PCI: Setting latency timer of device 0000:00:0f.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1230813080.640:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Setting latency timer of device 0000:00:0a.0 to 64
pcie_portdrv_probe->Dev[0376:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:0a.:p cie00]
Allocate Port Service[0000:00:0a.:p cie03]
PCI: Setting latency timer of device 0000:00:0b.0 to 64
pcie_portdrv_probe->Dev[0374:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:0b.:p cie00]
Allocate Port Service[0000:00:0b.:p cie03]
PCI: Setting latency timer of device 0000:00:0c.0 to 64
pcie_portdrv_probe->Dev[0374:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:0c.:p cie00]
Allocate Port Service[0000:00:0c.:p cie03]
PCI: Setting latency timer of device 0000:00:0d.0 to 64
pcie_portdrv_probe->Dev[0378:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:0d.:p cie00]
Allocate Port Service[0000:00:0d.:p cie03]
PCI: Setting latency timer of device 0000:00:0e.0 to 64
pcie_portdrv_probe->Dev[0375:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:0e.:p cie00]
Allocate Port Service[0000:00:0e.:p cie03]
PCI: Setting latency timer of device 0000:00:0f.0 to 64
pcie_portdrv_probe->Dev[0377:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:0f.:p cie00]
Allocate Port Service[0000:00:0f.:p cie03]
Real Time Clock Driver v1.12ac
hpet_resources: 0xfefff000 is busy
Linux agpgart interface v0.101 (c) Dave Jones
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
pnp: the driver 'serial' has been registered
pnp: match found with the PnP device '00:09' and the driver 'serial'
00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
pnp: the driver 'i8042 kbd' has been registered
pnp: the driver 'i8042 aux' has been registered
pnp: match found with the PnP device '00:0b' and the driver 'i8042 aux'
PNP: PS/2 Controller [PNP0f13:PS2M] at 0x60,0x64 irq 12
PNP: PS/2 controller doesn't have KBD irq; using default 1
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
ACPI: (supports S0 S1 S3 S4 S5)
Freeing unused kernel memory: 176k freed
ACPI: Fan [FAN] (on)
ACPI: Thermal Zone [THRM] (40 C)
ACPI: PCI Interrupt Link [APCL] enabled at IRQ 23
GSI 16 sharing vector 0xE1 and IRQ 16
ACPI: PCI Interrupt 0000:00:02.1 -> Link [APCL] -> GSI 23 (level, low) -> IRQ 225
PCI: Setting latency timer of device 0000:00:02.1 to 64
ehci_hcd 0000:00:02.1: EHCI Host Controller
ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:02.1: debug port 1
PCI: cache line size of 64 is not supported by device 0000:00:02.1
ehci_hcd 0000:00:02.1: irq 225, io mem 0xfe02e000
ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 10 ports detected
SCSI subsystem initialized
libata version 2.00 loaded.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.56.
ieee1394: Initialized config rom entry `ip1394'
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
sata_nv 0000:00:05.0: version 2.0
ACPI: PCI Interrupt Link [APSI] enabled at IRQ 22
GSI 17 sharing vector 0xE9 and IRQ 17
ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [APSI] -> GSI 22 (level, low) -> IRQ 233
PCI: Setting latency timer of device 0000:00:05.0 to 64
ata1: SATA max UDMA/133 cmd 0x9F0 ctl 0xBF2 bmdma 0xDC00 irq 233
ata2: SATA max UDMA/133 cmd 0x970 ctl 0xB72 bmdma 0xDC08 irq 233
scsi0 : sata_nv
usb 1-1: new high speed USB device using ehci_hcd and address 2
ata1: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0x9F7
scsi1 : sata_nv
usb 1-1: configuration #1 chosen from 1 choice
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: ATAPI, max UDMA/33
ata2.00: configured for UDMA/33
Vendor: TSSTcorp Model: CD/DVDW SH-S183L Rev: SB01
Type: CD-ROM ANSI SCSI revision: 05
ACPI: PCI Interrupt Link [APSJ] enabled at IRQ 21
GSI 18 sharing vector 0x32 and IRQ 18
ACPI: PCI Interrupt 0000:00:05.1 -> Link [APSJ] -> GSI 21 (level, low) -> IRQ 50
PCI: Setting latency timer of device 0000:00:05.1 to 64
ata3: SATA max UDMA/133 cmd 0x9E0 ctl 0xBE2 bmdma 0xC800 irq 50
ata4: SATA max UDMA/133 cmd 0x960 ctl 0xB62 bmdma 0xC808 irq 50
scsi2 : sata_nv
ata3: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0x9E7
scsi3 : sata_nv
ata4: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0x967
ACPI: PCI Interrupt Link [ASA2] enabled at IRQ 20
GSI 19 sharing vector 0x3A and IRQ 19
ACPI: PCI Interrupt 0000:00:05.2[C] -> Link [ASA2] -> GSI 20 (level, low) -> IRQ 58
PCI: Setting latency timer of device 0000:00:05.2 to 64
ata5: SATA max UDMA/133 cmd 0xC400 ctl 0xC002 bmdma 0xB400 irq 58
ata6: SATA max UDMA/133 cmd 0xBC00 ctl 0xB802 bmdma 0xB408 irq 58
scsi4 : sata_nv
ata5: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0xC407
scsi5 : sata_nv
ata6: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0xBC07
ACPI: PCI Interrupt Link [APC4] enabled at IRQ 19
GSI 20 sharing vector 0x42 and IRQ 20
ACPI: PCI Interrupt 0000:01:0b.0[A] -> Link [APC4] -> GSI 19 (level, low) -> IRQ 66
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[66] MMIO=[fdefe000-fdefe7ff] Max Packet=[2048] IR/IT contexts=[4/8]
ahci 0000:06:00.0: version 2.0
ACPI: PCI Interrupt Link [APC7] enabled at IRQ 16
GSI 21 sharing vector 0x4A and IRQ 21
ACPI: PCI Interrupt 0000:06:00.0[A] -> Link [APC7] -> GSI 16 (level, low) -> IRQ 74
ACPI: PCI Interrupt Link [APCH] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [APCH] -> GSI 23 (level, low) -> IRQ 225
PCI: Setting latency timer of device 0000:00:08.0 to 64
forcedeth: using HIGHDMA
eth0: forcedeth.c: subsystem: 01043:8239 bound to 0000:00:08.0
ACPI: PCI Interrupt Link [AMC1] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [AMC1] -> GSI 22 (level, low) -> IRQ 233
PCI: Setting latency timer of device 0000:00:09.0 to 64
forcedeth: using HIGHDMA
PCI: Setting latency timer of device 0000:06:00.0 to 64
ahci 0000:06:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
ahci 0000:06:00.0: flags: 64bit ncq pm led clo pmp pio slum part
ata7: SATA max UDMA/133 cmd 0xFFFFC2000004C100 ctl 0x0 bmdma 0x0 irq 74
ata8: SATA max UDMA/133 cmd 0xFFFFC2000004C180 ctl 0x0 bmdma 0x0 irq 74
scsi6 : ahci
eth1: forcedeth.c: subsystem: 01043:8239 bound to 0000:00:09.0
ieee1394: Host added: ID:BUS[0-00:1023] GUID[0011d800013a06fc]
ata7: SATA link down (SStatus 0 SControl 300)
scsi7 : ahci
ata8: SATA link down (SStatus 0 SControl 300)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
GSI 22 sharing vector 0x52 and IRQ 22
ACPI: PCI Interrupt 0000:01:07.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 82
eth2: RTL8169sb/8110sb at 0xffffc20010082000, 00:30:4f:58:c7:37, IRQ 82
ACPI: PCI Interrupt Link [APCF] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [APCF] -> GSI 21 (level, low) -> IRQ 50
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:02.0: irq 50, io mem 0xfe02f000
Initializing USB Mass Storage driver...
scsi8 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: waiting for device to settle before scanning
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 10 ports detected
JMB361: IDE controller at PCI slot 0000:06:00.1
PCI: Enabling device 0000:06:00.1 (0000 -> 0001)
ACPI: PCI Interrupt Link [APC8] enabled at IRQ 16
ACPI: PCI Interrupt 0000:06:00.1 -> Link [APC8] -> GSI 16 (level, low) -> IRQ 74
JMB361: chipset revision 3
JMB361: 100% native mode on irq 74
PCI: Setting latency timer of device 0000:06:00.1 to 64
ide0: BM-DMA at 0x7c00-0x7c07, BIOS settings: hda :p io, hdb :p io
ide1: BM-DMA at 0x7c08-0x7c0f, BIOS settings: hdc :p io, hdd :p io
Probing IDE interface ide0...
NFORCE-MCP55: IDE controller at PCI slot 0000:00:04.0
NFORCE-MCP55: chipset revision 161
NFORCE-MCP55: not 100% native mode: will probe irqs later
NFORCE-MCP55: 0000:00:04.0 (rev a1) UDMA133 controller
ide2: BM-DMA at 0xf000-0xf007, BIOS settings: hde :D MA, hdf :D MA
Probing IDE interface ide2...
usb 2-3: new low speed USB device using ohci_hcd and address 2
usb 2-3: configuration #1 chosen from 1 choice
Probing IDE interface ide1...
usb 2-4: new low speed USB device using ohci_hcd and address 3
usb 2-4: configuration #1 chosen from 1 choice
usbcore: registered new driver hiddev
input: GreenAsia Inc. USB Joystick as /class/input/input0
input: USB HID v1.10 Joystick [GreenAsia Inc. USB Joystick ] on usb-0000:00:02.0-3
input: Logitech USB Multimedia Keyboard as /class/input/input1
input: USB HID v1.10 Keyboard [Logitech USB Multimedia Keyboard] on usb-0000:00:02.0-4
input: Logitech USB Multimedia Keyboard as /class/input/input2
input: USB HID v1.10 Device [Logitech USB Multimedia Keyboard] on usb-0000:00:02.0-4
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Probing IDE interface ide0...
Probing IDE interface ide1...
Probing IDE interface ide2...
Vendor: Seagate Model: FreeAgent Rev: 102D
Type: Direct-Access ANSI SCSI revision: 04
usb-storage: device scan complete
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: Write Protect is off
sda: Mode Sense: 1c 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: Write Protect is off
sda: Mode Sense: 1c 00 00 00
sda: assuming drive cache: write through
sda: sda1 sda2 sda3 < sda5 >
sd 8:0:0:0: Attached scsi disk sda
Attempting manual resume
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
eth1394: eth0: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
sr 1:0:0:0: Attached scsi generic sg0 type 5
sd 8:0:0:0: Attached scsi generic sg1 type 0
input: PC Speaker as /class/input/input3
i2c_adapter i2c-0: nForce2 SMBus adapter at 0x1c00
i2c_adapter i2c-1: nForce2 SMBus adapter at 0x1c40
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
pnp: the driver 'parport_pc' has been registered
pnp: match found with the PnP device '00:0a' and the driver 'parport_pc'
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 20
ACPI: PCI Interrupt 0000:00:06.1 -> Link [AAZA] -> GSI 20 (level, low) -> IRQ 58
PCI: Setting latency timer of device 0000:00:06.1 to 64
input: ImExPS/2 Generic Explorer Mouse as /class/input/input4
hda_codec: Unknown model for AD1988, trying auto-probe from BIOS...
ts: Compaq touchscreen protocol output
Adding 2048248k swap on /dev/sda5. Priority:-1 extents:1 across:2048248k
EXT3 FS on sda1, internal journal
loop: loaded (max 8 devices)
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
r8169: eth3: link down
ADDRCONF(NETDEV_UP): eth3: link is not ready
eth2: no link during initialization.
ADDRCONF(NETDEV_UP): eth2: link is not ready
eth1: no IPv6 routers present
andrew@debian:~$ su
Password:
debian:/home/andrew# cat /etc/inittab
# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:2:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.
~~:S:wait:/sbin/sulogin

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."

# What to do when the power fails/returns.
pf: :p owerwait:/etc/init.d/powerfail start
pn: :p owerfailnow:/etc/init.d/powerfail now
po: :p owerokwait:/etc/init.d/powerfail stop

# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
# <id>:<runlevels>:<action>:<process>
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

# Example how to put a getty on a serial line (for a terminal)
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

# Example how to put a getty on a modem line.
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3

debian:/home/andrew# exit
exit
andrew@debian:~$ cat /etc/inittab
# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:2:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.
~~:S:wait:/sbin/sulogin

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."

# What to do when the power fails/returns.
pf: :p owerwait:/etc/init.d/powerfail start
pn: :p owerfailnow:/etc/init.d/powerfail now
po: :p owerokwait:/etc/init.d/powerfail stop

# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
# <id>:<runlevels>:<action>:<process>
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

# Example how to put a getty on a serial line (for a terminal)
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

# Example how to put a getty on a modem line.
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3

andrew@debian:~$ clear

andrew@debian:~$ cat /etc/inittab
# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:2:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.
~~:S:wait:/sbin/sulogin

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."

# What to do when the power fails/returns.
pf: :p owerwait:/etc/init.d/powerfail start
pn: :p owerfailnow:/etc/init.d/powerfail now
po: :p owerokwait:/etc/init.d/powerfail stop

# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
# <id>:<runlevels>:<action>:<process>
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

# Example how to put a getty on a serial line (for a terminal)
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

# Example how to put a getty on a modem line.
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3

runlevel:
a getty:
Usage: getty [-hiLmw] [-l login_program] [-t timeout] [-I initstring] [-H login_host] baud_rate,... line [termtype]
or [-hiLmw] [-l login_program] [-t timeout] [-I initstring] [-H login_host] line baud_rate,... [termtype]
tomzo
Posty: 1
Rejestracja: 23 stycznia 2009, 20:17

Post autor: tomzo »

Witam
Mam ten sam problem, zainstalowałem Debiana Etch 4.0r6 z netinstall po naciśnięciu klawiszy ctrl+alt+Fn ekran staje się ciemny, to samo dla ctrl+alt+backspace, potem nie da się powrócić do gdm inaczej niż resetując system.
Widziałem posty z forów Ubuntu gdzie problem był "rozwiązany" przez wpis do GRUBa np. VGA=791, jednak to nie pomogło. Znalazłem też rozwiązanie przez dodanie do pliku
etc/initramfs-tools/modules
wpisu

Kod: Zaznacz cały

fbcon
i

Kod: Zaznacz cały

 vesafb

oraz wydanie polecenia:

Kod: Zaznacz cały

update-initramfs -u
ta metoda również nie pomogła. Jeżeli komuś udało się rozwiązać problem to proszę o pomoc.
Awatar użytkownika
lis6502
Member
Posty: 1798
Rejestracja: 05 listopada 2008, 20:14
Lokalizacja: Miasto Szybowców

Post autor: lis6502 »

Dziwna sprawa... Trzeba jednak ustalić czy problem jest z wyświetlaniem, czy po prostu system się zawiesza przy konsoli. Proponuję przełączyć się na pierwszy teminal (ctrl+alt+f1) i na ślepo wpisać root, hasło. Następnie wydać polecenie (lepiej ściszyć)

Kod: Zaznacz cały

cat /dev/urandom > /dev/dsp
Jeśli z głośników poleci kaszana, problemu należy szukać w wyświetlaniu, jeśli nie... Houston, we have problem. Zacząłbym od zmiany kernela. Podajcie jeszcze obaj

Kod: Zaznacz cały

lspci
ODPOWIEDZ