PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Debian ohne Tastatur starten



achim_22
22.09.06, 17:37
Hi!
Habe hier einen Debianserver aufgesetzt, der nur per SSH verwaltet werden soll.
Dieser meckert aber, wenn man ihn ohne Tastatur bzw. Maus startet.

Kann ich das abstellen.
Und er soll nur die Grafische Oberfläche starten wenn diese gebraucht wird.

Also mit startx


Gruß
Achim

kreol
22.09.06, 17:50
Hi!
Habe hier einen Debianserver aufgesetzt, der nur per SSH verwaltet werden soll.
Dieser meckert aber, wenn man ihn ohne Tastatur bzw. Maus startet.

Kann ich das abstellen.
Und er soll nur die Grafische Oberfläche starten wenn diese gebraucht wird.

Also mit startx


Gruß
AchimWer/was "meckert" und wie äußert sich das (Fehlermeldungen im Wortlaut)? Da steht ja wohl kaum "mecker", oder?

Wenn das BIOS nicht ohne Tastatur startet überprüfe die Einstellungen. Da gibt es sowas wie "halt on errors", stelle das ab.

Wenn X eine Tastatur anmahnt ist das Problem ja zunächst sekundär, wenn es ohnehin nicht gestartet werden soll. Ein Äquivalent zu "AllowMouseOpenFail" ist mir mit der Tastatur leider nicht bekannt.

Wenn Du den Start von X unterbinden willst, boote in Runlevel 3 (id:3:initdefault: in der /etc/inittab eintragen). Ggf mußt Du den RL noch anpassen, indem Du gdm/xdm oder was auch immer Du verwendest aus der init.d herausnimmst Link (http://www.tutorials.de/forum/linux-unix/236616-welcher-runlevel.html) und Debiananwenderhandbuch (debiananwenderhandbuch.de).


Kreol

dread66
22.09.06, 18:01
Hallo Zusammen,

ich plane momentan mein bestehendes Debian System auf einen neuen Rechner umzuziehen, der als Primär-Festplatte eine SATA-Platte benutzt, welche auf einem Silicon 3112 SATARaid-Controller läuft. Meine Frage ist jetzt, kann ich Debian in der aktuellen Version einfach installieren (erkennt die Installation meinen Raid-Controller) oder muss ich irgendein Workaround nutzen, um Debian auf dieser Platte zu installieren?

Vielen Dank für eure Hilfe.

dread66

kreol
22.09.06, 18:03
Hallo Zusammen,

ich plane momentan mein bestehendes Debian System auf einen neuen Rechner umzuziehen, der als Primär-Festplatte eine SATA-Platte benutzt, welche auf einem Silicon 3112 SATARaid-Controller läuft. Meine Frage ist jetzt, kann ich Debian in der aktuellen Version einfach installieren (erkennt die Installation meinen Raid-Controller) oder muss ich irgendein Workaround nutzen, um Debian auf dieser Platte zu installieren?

Vielen Dank für eure Hilfe.

dread66Was hat diese (neue) Frage denn bitte hier im Thread verloren? Und warum probierst Du es nicht einfach aus und postest, wenn es ein Problem gibt, in einem eigenen Thread?


Kreol

achim_22
22.09.06, 18:30
Was hat diese (neue) Frage denn bitte hier im Thread verloren? Und warum probierst Du es nicht einfach aus und postest, wenn es ein Problem gibt, in einem eigenen Thread?


Kreol

das verstehe ich auch nicht:)

Aber zu meinem Problem.
Debi fäng an hochzufahren und bleibt hängen, wenn keine Maus bzw. Tastatur eingesteckt ist.

Es kommt keine Fehlermeldung vom Bios!

Unter Suse ist das ganz einfach, nachträglich nur im Textmodus zu starten.
Fange gerade erst mit Debian an :-)

dread66
22.09.06, 18:34
Tut mir leid, es sollte eigentlich in einen neuen Thread, hat hier nichts verloren. Habe leider den falschen Button erwischt, wie auch immer das passieren konnte. -_-

kreol
22.09.06, 18:38
Debi fäng an hochzufahren und bleibt hängen, wenn keine Maus bzw. Tastatur eingesteckt ist.

Es kommt keine Fehlermeldung vom Bios!Da müßte es aber zumindest eine Fehlermeldung vom System geben. Wo genau bleibt es hängen? Was sagt "dmesg", was "cat /var/log/XFree86.0.log"?

Wahrscheinlich beschwert sich X. Boote ggf. mal mit der Option "single" ob es dann geht bzw. pass den Runlevel wie oben angeregt an.


Kreol

achim_22
22.09.06, 19:23
ok, poste ich mal alles:)
Die andere Ausgabe hänge ich als Datei an....ist zu groß




Linux version 2.6.16-2-486 (Debian 2.6.16-17) (waldi@debian.org) (gcc version 4.0.4 20060630 (prerelease) (Debian 4.0.3-4)) #1 Sat Jul 15 21:23:01 UTC 2006
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000bfb0000 (usable)
BIOS-e820: 000000000bfb0000 - 000000000bfbe000 (ACPI data)
BIOS-e820: 000000000bfbe000 - 000000000bfe0000 (ACPI NVS)
BIOS-e820: 000000000bfe0000 - 000000000c000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fecc0000 - 00000000fecc1000 (reserved)
BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
191MB LOWMEM available.
found SMP MP-table at 000ff780
On node 0 totalpages: 49072
DMA zone: 4096 pages, LIFO batch:0
DMA32 zone: 0 pages, LIFO batch:0
Normal zone: 44976 pages, LIFO batch:7
HighMem zone: 0 pages, LIFO batch:0
DMI 2.3 present.
ACPI: RSDP (v000 ACPIAM ) @ 0x000fa850
ACPI: RSDT (v001 A M I OEMRSDT 0x06000619 MSFT 0x00000097) @ 0x0bfb0000
ACPI: FADT (v002 A M I OEMFACP 0x06000619 MSFT 0x00000097) @ 0x0bfb0200
ACPI: MADT (v001 A M I OEMAPIC 0x06000619 MSFT 0x00000097) @ 0x0bfb0390
ACPI: MCFG (v001 A M I OEMMCFG 0x06000619 MSFT 0x00000097) @ 0x0bfb0400
ACPI: OEMB (v001 A M I AMI_OEM 0x06000619 MSFT 0x00000097) @ 0x0bfbe040
ACPI: DSDT (v001 A0339 A0339000 0x00000000 INTL 0x02002026) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:15 APIC version 16
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x81] disabled)
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 3, address 0xfec00000, GSI 0-23
ACPI: IOAPIC (id[0x02] address[0xfecc0000] gsi_base[24])
IOAPIC[1]: apic_id 2, version 3, address 0xfecc0000, GSI 24-47
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode: Flat. Using 2 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 10000000 (gap: 0c000000:f2c00000)
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=Linux ro root=301
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
mapped IOAPIC to ffffb000 (fecc0000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Detected 2000.425 MHz processor.
Using pmtmr for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 187356k/196288k available (1484k kernel code, 8448k reserved, 570k data, 228k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4005.56 BogoMIPS (lpj=8011139)
Security Framework v1.0.0 initialized
SELinux: Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 078bfbff e3d3fbff 00000000 00000000 00000001 00000000 00000001
CPU: After vendor identify, caps: 078bfbff e3d3fbff 00000000 00000000 00000001 00000000 00000001
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: After all inits, caps: 078bfbff e3d3fbff 00000000 00000410 00000001 00000000 00000001
CPU: AMD Athlon(tm) 64 Processor 3200+ stepping 02
Checking 'hlt' instruction... OK.
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=0 pin2=0
checking if image is initramfs... it is
Freeing initrd memory: 4157k freed
NET: Registered protocol family 16
EISA bus registered
ACPI: bus type pci registered
PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=5
PCI: Using MMCONFIG
ACPI: Subsystem revision 20060127
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:01:00.0
PCI: Transparent bridge - 0000:00:13.1
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P7._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0PA._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *10 11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 14 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
pnp: 00:06: ioport range 0x290-0x297 has been reserved
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: fa000000-fbefffff
PREFETCH window: d0000000-dfffffff
PCI: Bridge: 0000:00:13.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Bridge: 0000:00:13.1
IO window: e000-efff
MEM window: fbf00000-fbffffff
PREFETCH window: 10000000-100fffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
PCI: Setting latency timer of device 0000:00:13.0 to 64
PCI: Setting latency timer of device 0000:00:13.1 to 64
audit: initializing netlink socket (disabled)
audit(1158948558.992:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:0b: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
EISA: Probing bus 0 at eisa.0
EISA: Detected 0 cards.
NET: Registered protocol family 2
input: AT Translated Set 2 keyboard as /class/input/input0
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI Shortcut mode
ACPI wakeup devices:
PCI0 PS2K PS2M UAR2 USB1 USB2 USB3 USB4 ILAN PCI1 PCI2 SLPB PWRB
ACPI: (supports S0 S1 S3 S4 S5)
Freeing unused kernel memory: 228k freed
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU1] (supports 16 throttling states)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: pci dev 0000:05:08.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
8139cp: Try the "8139too" driver instead.
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt 0000:05:08.0[A] -> GSI 16 (level, low) -> IRQ 169
eth0: RealTek RTL8139 at 0xe800, 00:14:c1:0f:02:ec, IRQ 169
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:0f.1
PCI: VIA IRQ fixup for 0000:00:0f.1, from 255 to 0
VP_IDE: chipset revision 7
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8251 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: ExcelStor Technology J880, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: LITE-ON DVD SHD-16P1S, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 512KiB
hda: 160836480 sectors (82348 MB) w/1719KiB Cache, CHS=16383/255/63, UDMA(133)
hda: cache flushes supported
hda: hda1 hda2 < hda5 >
hdc: ATAPI 48X DVD-ROM drive, 1727kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
Attempting manual resume
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Real Time Clock Driver v1.12ac
input: PC Speaker as /class/input/input1
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
Modular ISDN Stack core $Revision: 1.37 $
mISDNd: kernel daemon started (current:ba8f8550)
mISDNd: test event done
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
CAPI Subsystem Rev 1.1.2.8
capifs: Rev 1.1.2.3
capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
ISDN L1 driver version 1.17
ISDN L2 driver version 1.30
mISDN: DSS1 Rev. 1.40
input: ImPS/2 Generic Wheel Mouse as /class/input/input2
mISDN Capi 2.0 driver file version 1.20
ts: Compaq touchscreen protocol output
mice: PS/2 mouse device common for all mice
mISDN: HFC-multi driver Rev. 1.54
HFC-multi: card manufacturer: 'Cologne Chip AG' card name: 'HFC-2S Beronet Card' clock: double
ACPI: PCI Interrupt 0000:05:09.0[A] -> GSI 17 (level, low) -> IRQ 177
HFC-2S#1: defined at IOBASE 0xe400 IRQ 177 HZ 250 leds-type 3
HFC_multi: resetting HFC with chip ID=0xc revision=1
hfcpci_probe: DIPs(0x8f) jumpers(0x0)
layer2: Windowsize 1
l1_manager prim f1482 not handled
mISDNStackd started for id(00000100)
mISDNStackd started for id(10010100)
mISDNStackd started for id(10020100)
layer2: Windowsize 1
l1_manager prim f1482 not handled
mISDNStackd started for id(00000200)
mISDNStackd started for id(10010200)
mISDNStackd started for id(10020200)
1 devices registered
mISDN_dsp: Audio DSP Rev. 1.24 (debug=0x0) EchoCancellor MG2 dtmftreshold(100)
mISDN_dsp: DSP clocks every 128 samples. This equals 4 jiffies.
Adding 554200k swap on /dev/hda5. Priority:-1 extents:1 across:554200k
EXT3 FS on hda1, internal journal
loop: loaded (max 8 devices)
device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@redhat.com
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Power Button (CM) [PWRB]
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
NET: Registered protocol family 5
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: starting 90-second grace period
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present

kreol
22.09.06, 19:54
Die Ausgaben sind wohl beide unvollständig... Bei dmesg fehlt das Ende, bei cat der Anfang...

Aber zuerst: Hast Du "single" mal ausprobiert?

Als reiner Versuchsballon: Kommentiere in der /etc/X11/XF86Config-4 mal die Section "Input Device" aus, die mit dem Keyboard zu tun hat. also die mit "driver kbd". Und zugleich kommentiere in der Section "ServerLayout" die Zeile mit "Input Device" "Keyboard" aus. Könnte schon helfen, habe es hier (aus verständlichen Gründen) aber nicht ausprobiert.

Wenn Du auch keine Maus hast nutze "AllowMouseOpenFail"


Kreol

P.S.: Wenn Du die /var/log/XFree86.0.log nochmal posten möchtest, kannst du die Ausgabe mit
egrep 'WW|EE' /var/log/XFree86.0.log auf die Warnungen und Fehlermeldungen beschränken. Würde schon reichen, um zu sehen, woran es krankt...

achim_22
22.09.06, 20:10
Hi!
Single habe ich ausprobiert,jedoch ohne Erfolg.

Habe das hier gerade gefunden (Link von Dir)

Zu Deinem Versuchsballon :p

Was mache ich wenn mir die ganze Kiste abschmiert....da steckt viel Arbeit dahinter. Dann lass ich lieber die Tastatur bzw. Maus an den Ports.


aus dem LINK..................
Wenn du die löscht wird die Anwendung nicht gestartet, das sollte deinen Zweck erfüllen. Ansonsten kannst du XDM/GDM/KDM auch einfach deinstallieren und dann mit dem angemeldeten User direkt X starten wenn du es trotzdem brauchst...

kreol
22.09.06, 20:22
Die schmiert nicht komplett ab, ggf. geht halt keine Tastatur/Maus. Solange Du ssh-Zugang hast ist das kein Problem. Hier wollte ich es nur nicht ausprobieren, weil ich dazu den anderen Rechner anwerfen müsste... ;)

Und sieh mal auf mein (geändertes) P.S. im Vorpost.

Den Vorschlag, xdm/gdm zu "deinstallieren" würde ich allerdings mit Vorsicht geniessen, zumal mir nicht ganz klar ist, was damit gemeint ist. Der Link ist eher interessant um sich einen eigenen Runlevel ohne ?dm zu schaffen. Das war ja schon weiter oben vorgeschlagen... Und dazu brauchst Du nichts zu deinstallieren sondern lediglich den ?dm Aufruf aus /etc/init.d/rc3.d zu nehmen (bzw. umzubenennen).


Kreol