LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 05-06-2011, 08:23 AM   #1
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 244

Rep: Reputation: 31
Serial port working, but kernel console output to it disappears


I am moving a server to new hardware (just moved the hard drive), and since the new hardware has a serial port, I am trying to have all startup output redirected to the serial port. The port is built-in to the motherboard. I have successfully configured GRUB to use the serial port, and I have a getty start correctly on the port after boot, but when I tried to configure the kernel to output to the serial port, the output disappeared off the VGA output but didn't appear on the serial port.

Remote serial terminal settings:
Baud: 38400
Data bits: 8
Stop bits: 1
Parity: none
Flow control: RTS/CTS

Kernel: 2.6.21.7

Option used to set kernel output:
Code:
console=ttyS0,38400n8r
Option used to set GRUB output:
Code:
serial --speed=38400
Command line to start getty:
Code:
/sbin/getty 38400 ttyS0
lspci -v output:
Code:
00:00.0 Class 0600: 8086:2530 (rev 04)
	Subsystem: 1028:010c
	Flags: bus master, fast devsel, latency 0
	Memory at e8000000 (32-bit, prefetchable) [size=128M]
	Capabilities: [a0] AGP version 2.0

00:01.0 Class 0604: 8086:2532 (rev 04)
	Flags: bus master, 66Mhz, fast devsel, latency 64
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
	Memory behind bridge: fc000000-fdffffff
	Prefetchable memory behind bridge: f0000000-f7ffffff

00:1e.0 Class 0604: 8086:244e (rev 04)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: fe100000-fe2fffff
	Prefetchable memory behind bridge: 40000000-400fffff

00:1f.0 Class 0601: 8086:2440 (rev 04)
	Flags: bus master, medium devsel, latency 0

00:1f.1 Class 0101: 8086:244b (rev 04) (prog-if 80 [Master])
	Subsystem: 1028:010c
	Flags: bus master, medium devsel, latency 0
	[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
	[virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled]
	[virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
	[virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled]
	I/O ports at ffa0 [size=16]

00:1f.2 Class 0c03: 8086:2442 (rev 04)
	Subsystem: 1028:010c
	Flags: bus master, medium devsel, latency 0, IRQ 11
	I/O ports at ff80 [size=32]

00:1f.3 Class 0c05: 8086:2443 (rev 04)
	Subsystem: 1028:010c
	Flags: medium devsel, IRQ 10
	I/O ports at dcd0 [size=16]

00:1f.4 Class 0c03: 8086:2444 (rev 04)
	Subsystem: 1028:010c
	Flags: bus master, medium devsel, latency 0, IRQ 9
	I/O ports at ff60 [size=32]

01:00.0 Class 0300: 10de:0110 (rev b2)
	Subsystem: 10de:010f
	Flags: 66Mhz, medium devsel, IRQ 3
	Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
	Memory at f0000000 (32-bit, prefetchable) [size=128M]
	Expansion ROM at fd000000 [disabled] [size=64K]
	Capabilities: [60] Power Management version 2
	Capabilities: [44] AGP version 2.0

02:08.0 Class 0401: 1102:0002 (rev 07)
	Subsystem: 1102:8022
	Flags: bus master, medium devsel, latency 64, IRQ 10
	I/O ports at ece0 [size=32]
	Capabilities: [dc] Power Management version 1

02:08.1 Class 0980: 1102:7002 (rev 07)
	Subsystem: 1102:0020
	Flags: bus master, medium devsel, latency 64
	I/O ports at ecd8 [size=8]
	Capabilities: [dc] Power Management version 1

02:09.0 Class 0200: 1282:9102 (rev 31)
	Subsystem: 4554:434e
	Flags: bus master, medium devsel, latency 64, IRQ 11
	I/O ports at e800 [size=256]
	Memory at fe1ffc00 (32-bit, non-prefetchable) [size=256]
	Expansion ROM at 40000000 [disabled] [size=256K]
	Capabilities: [50] Power Management version 2
Kernel log (/var/log/messages):
Code:
May  6 07:41:01 (none) syslog.info syslogd exiting
May  6 03:50:44 (none) syslog.info syslogd started: BusyBox v1.8.2
May  6 03:50:44 (none) user.notice kernel: klogd started: BusyBox v1.8.2 (2007-11-30 09:20:42 GMT-8)
May  6 03:50:44 (none) user.notice kernel: Linux version 2.6.21.7 (root@puppypc) (gcc version 4.2.2) #1 Sun Feb 24 10:22:08 GMT-8 2008
May  6 03:50:44 (none) user.info kernel: BIOS-provided physical RAM map:
May  6 03:50:44 (none) user.warn kernel: sanitize start
May  6 03:50:44 (none) user.warn kernel: sanitize end
May  6 03:50:44 (none) user.warn kernel: copy_e820_map() start: 0000000000000000 size: 00000000000a0000 end: 00000000000a0000 type: 1
May  6 03:50:44 (none) user.warn kernel: copy_e820_map() type is E820_RAM
May  6 03:50:44 (none) user.warn kernel: copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end: 0000000000100000 type: 2
May  6 03:50:44 (none) user.warn kernel: copy_e820_map() start: 0000000000100000 size: 000000002fe77000 end: 000000002ff77000 type: 1
May  6 03:50:44 (none) user.warn kernel: copy_e820_map() type is E820_RAM
May  6 03:50:44 (none) user.warn kernel: copy_e820_map() start: 000000002ff77000 size: 0000000000002000 end: 000000002ff79000 type: 4
May  6 03:50:44 (none) user.warn kernel: copy_e820_map() start: 000000002ff79000 size: 0000000000087000 end: 0000000030000000 type: 2
May  6 03:50:44 (none) user.warn kernel: copy_e820_map() start: 00000000fec00000 size: 0000000000010000 end: 00000000fec10000 type: 2
May  6 03:50:44 (none) user.warn kernel: copy_e820_map() start: 00000000fee00000 size: 0000000000010000 end: 00000000fee10000 type: 2
May  6 03:50:44 (none) user.warn kernel: copy_e820_map() start: 00000000ffb00000 size: 0000000000500000 end: 0000000100000000 type: 2
May  6 03:50:44 (none) user.warn kernel:  BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
May  6 03:50:44 (none) user.warn kernel:  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
May  6 03:50:44 (none) user.warn kernel:  BIOS-e820: 0000000000100000 - 000000002ff77000 (usable)
May  6 03:50:44 (none) user.warn kernel:  BIOS-e820: 000000002ff77000 - 000000002ff79000 (ACPI NVS)
May  6 03:50:44 (none) user.warn kernel:  BIOS-e820: 000000002ff79000 - 0000000030000000 (reserved)
May  6 03:50:44 (none) user.warn kernel:  BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
May  6 03:50:44 (none) user.warn kernel:  BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved)
May  6 03:50:44 (none) user.warn kernel:  BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
May  6 03:50:44 (none) user.notice kernel: 0MB HIGHMEM available.
May  6 03:50:44 (none) user.notice kernel: 767MB LOWMEM available.
May  6 03:50:44 (none) user.debug kernel: Entering add_active_range(0, 0, 196471) 0 entries of 256 used
May  6 03:50:44 (none) user.warn kernel: Zone PFN ranges:
May  6 03:50:44 (none) user.warn kernel:   DMA             0 ->     4096
May  6 03:50:44 (none) user.warn kernel:   Normal       4096 ->   196471
May  6 03:50:44 (none) user.warn kernel:   HighMem    196471 ->   196471
May  6 03:50:44 (none) user.warn kernel: early_node_map[1] active PFN ranges
May  6 03:50:44 (none) user.warn kernel:     0:        0 ->   196471
May  6 03:50:44 (none) user.debug kernel: On node 0 totalpages: 196471
May  6 03:50:44 (none) user.debug kernel:   DMA zone: 32 pages used for memmap
May  6 03:50:44 (none) user.debug kernel:   DMA zone: 0 pages reserved
May  6 03:50:44 (none) user.debug kernel:   DMA zone: 4064 pages, LIFO batch:0
May  6 03:50:44 (none) user.debug kernel:   Normal zone: 1502 pages used for memmap
May  6 03:50:44 (none) user.debug kernel:   Normal zone: 190873 pages, LIFO batch:31
May  6 03:50:44 (none) user.debug kernel:   HighMem zone: 0 pages used for memmap
May  6 03:50:44 (none) user.info kernel: DMI 2.3 present.
May  6 03:50:44 (none) user.warn kernel: ACPI: RSDP 000FD550, 0014 (r0 DELL  )
May  6 03:50:44 (none) user.warn kernel: ACPI: RSDT 000FD564, 0034 (r1 DELL    8200           8 ASL        61)
May  6 03:50:44 (none) user.warn kernel: ACPI: FACP 000FD598, 0074 (r1 DELL    8200           8 ASL        61)
May  6 03:50:44 (none) user.warn kernel: ACPI: DSDT FFFE3C22, 2170 (r1   DELL    dt_ex     1000 MSFT  100000D)
May  6 03:50:44 (none) user.warn kernel: ACPI: FACS 2FF77000, 0040
May  6 03:50:44 (none) user.warn kernel: ACPI: SSDT FFFE5ECF, 00BA (r1   DELL    st_ex     1000 MSFT  100000D)
May  6 03:50:44 (none) user.warn kernel: ACPI: APIC 000FD60C, 006C (r1 DELL    8200           8 ASL        61)
May  6 03:50:44 (none) user.warn kernel: ACPI: BOOT 000FD678, 0028 (r1 DELL    8200           8 ASL        61)
May  6 03:50:44 (none) user.info kernel: ACPI: PM-Timer IO Port: 0x808
May  6 03:50:44 (none) user.warn kernel: Allocating PCI resources starting at 40000000 (gap: 30000000:cec00000)
May  6 03:50:44 (none) user.warn kernel: Built 1 zonelists.  Total pages: 194937
May  6 03:50:44 (none) user.notice kernel: Kernel command line: pmedia=idehd psubdir=puppy400 pfix=nox earlyprintk=vga console=ttyS0,38400n8r loglevel=9
May  6 03:50:44 (none) user.info kernel: Enabling fast FPU save and restore... done.
May  6 03:50:44 (none) user.info kernel: Enabling unmasked SIMD FPU exception support... done.
May  6 03:50:44 (none) user.info kernel: Initializing CPU#0
May  6 03:50:44 (none) user.warn kernel: PID hash table entries: 4096 (order: 12, 16384 bytes)
May  6 03:50:44 (none) user.warn kernel: Detected 1994.122 MHz processor.
May  6 03:50:44 (none) user.warn kernel: disabling early console
May  6 03:50:44 (none) user.warn kernel: Console: colour VGA+ 80x25
May  6 03:50:44 (none) user.warn kernel: Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
May  6 03:50:44 (none) user.warn kernel: Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
May  6 03:50:44 (none) user.info kernel: Memory: 773328k/785884k available (2415k kernel code, 11824k reserved, 827k data, 200k init, 0k highmem)
May  6 03:50:44 (none) user.warn kernel: virtual kernel memory layout:
May  6 03:50:44 (none) user.warn kernel:     fixmap  : 0xfffea000 - 0xfffff000   (  84 kB)
May  6 03:50:44 (none) user.warn kernel:     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
May  6 03:50:44 (none) user.warn kernel:     vmalloc : 0xf0800000 - 0xff7fe000   ( 239 MB)
May  6 03:50:44 (none) user.warn kernel:     lowmem  : 0xc0000000 - 0xeff77000   ( 767 MB)
May  6 03:50:44 (none) user.warn kernel:       .init : 0xc042e000 - 0xc0460000   ( 200 kB)
May  6 03:50:44 (none) user.warn kernel:       .data : 0xc035bc99 - 0xc042aaf4   ( 827 kB)
May  6 03:50:44 (none) user.warn kernel:       .text : 0xc0100000 - 0xc035bc99   (2415 kB)
May  6 03:50:44 (none) user.warn kernel: Checking if this processor honours the WP bit even in supervisor mode... Ok.
May  6 03:50:44 (none) user.warn kernel: Calibrating delay using timer specific routine.. 3991.13 BogoMIPS (lpj=7982274)
May  6 03:50:44 (none) user.warn kernel: Mount-cache hash table entries: 512
May  6 03:50:44 (none) user.debug kernel: CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000
May  6 03:50:44 (none) user.info kernel: CPU: Trace cache: 12K uops, L1 D cache: 8K
May  6 03:50:44 (none) user.info kernel: CPU: L2 cache: 512K
May  6 03:50:44 (none) user.debug kernel: CPU: After all inits, caps: bfebfbff 00000000 00000000 00003080 00004400 00000000 00000000
May  6 03:50:44 (none) user.info kernel: Intel machine check architecture supported.
May  6 03:50:44 (none) user.info kernel: Intel machine check reporting enabled on CPU#0.
May  6 03:50:44 (none) user.info kernel: CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
May  6 03:50:44 (none) user.warn kernel: Compat vDSO mapped to ffffe000.
May  6 03:50:44 (none) user.warn kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz stepping 09
May  6 03:50:44 (none) user.info kernel: Checking 'hlt' instruction... OK.
May  6 03:50:44 (none) user.info kernel: ACPI: Core revision 20070126
May  6 03:50:44 (none) user.warn kernel: ACPI: setting ELCR to 0200 (from 0e08)
May  6 03:50:44 (none) user.info kernel: NET: Registered protocol family 16
May  6 03:50:44 (none) user.info kernel: EISA bus registered
May  6 03:50:44 (none) user.info kernel: ACPI: bus type pci registered
May  6 03:50:44 (none) user.info kernel: PCI: PCI BIOS revision 2.10 entry at 0xfbe9e, last bus=2
May  6 03:50:44 (none) user.info kernel: PCI: Using configuration type 1
May  6 03:50:44 (none) user.warn kernel: Setting up standard PCI resources
May  6 03:50:44 (none) user.info kernel: ACPI: Interpreter enabled
May  6 03:50:44 (none) user.info kernel: ACPI: (supports S0 S1 S3 S4 S5)
May  6 03:50:44 (none) user.info kernel: ACPI: Using PIC for interrupt routing
May  6 03:50:44 (none) user.info kernel: ACPI: PCI Root Bridge [PCI0] (0000:00)
May  6 03:50:44 (none) user.debug kernel: PCI: Probing PCI hardware (bus 00)
May  6 03:50:44 (none) user.warn kernel: PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO
May  6 03:50:44 (none) user.warn kernel: PCI quirk: region 0880-08bf claimed by ICH4 GPIO
May  6 03:50:44 (none) user.debug kernel: Boot video device is 0000:01:00.0
May  6 03:50:44 (none) user.info kernel: PCI: Transparent bridge - 0000:00:1e.0
May  6 03:50:44 (none) user.debug kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
May  6 03:50:44 (none) user.debug kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
May  6 03:50:44 (none) user.warn kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs *3 4 5 6 7 9 10 11 12 15)
May  6 03:50:44 (none) user.warn kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 15)
May  6 03:50:44 (none) user.warn kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11 12 15)
May  6 03:50:44 (none) user.warn kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 12 15)
May  6 03:50:44 (none) user.warn kernel: ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled.
May  6 03:50:44 (none) user.warn kernel: ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled.
May  6 03:50:44 (none) user.warn kernel: ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled.
May  6 03:50:44 (none) user.warn kernel: ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *9 10 11 12 15)
May  6 03:50:44 (none) user.info kernel: Linux Plug and Play Support v0.97 (c) Adam Belay
May  6 03:50:44 (none) user.info kernel: pnp: PnP ACPI init
May  6 03:50:44 (none) user.info kernel: pnp: PnP ACPI: found 10 devices
May  6 03:50:44 (none) user.info kernel: PnPBIOS: Disabled by ACPI PNP
May  6 03:50:44 (none) user.notice kernel: SCSI subsystem initialized
May  6 03:50:44 (none) user.debug kernel: libata version 2.20 loaded.
May  6 03:50:44 (none) user.info kernel: PCI: Using ACPI for IRQ routing
May  6 03:50:44 (none) user.info kernel: PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
May  6 03:50:44 (none) user.info kernel: Time: tsc clocksource has been installed.
May  6 03:50:44 (none) user.info kernel: pnp: 00:00: iomem range 0x0-0x9ffff could not be reserved
May  6 03:50:44 (none) user.info kernel: pnp: 00:00: iomem range 0x100000-0xffffff could not be reserved
May  6 03:50:44 (none) user.info kernel: pnp: 00:00: iomem range 0x1000000-0x2ff76fff could not be reserved
May  6 03:50:44 (none) user.info kernel: pnp: 00:00: iomem range 0xf0000-0xfffff could not be reserved
May  6 03:50:44 (none) user.info kernel: pnp: 00:09: ioport range 0x800-0x85f has been reserved
May  6 03:50:44 (none) user.info kernel: pnp: 00:09: ioport range 0xc00-0xc7f has been reserved
May  6 03:50:44 (none) user.info kernel: pnp: 00:09: ioport range 0x860-0x8ff could not be reserved
May  6 03:50:44 (none) user.info kernel: PCI: Bridge: 0000:00:01.0
May  6 03:50:44 (none) user.info kernel:   IO window: disabled.
May  6 03:50:44 (none) user.info kernel:   MEM window: fc000000-fdffffff
May  6 03:50:44 (none) user.info kernel:   PREFETCH window: f0000000-f7ffffff
May  6 03:50:44 (none) user.info kernel: PCI: Bridge: 0000:00:1e.0
May  6 03:50:44 (none) user.info kernel:   IO window: e000-efff
May  6 03:50:44 (none) user.info kernel:   MEM window: fe100000-fe2fffff
May  6 03:50:44 (none) user.info kernel:   PREFETCH window: 40000000-400fffff
May  6 03:50:44 (none) user.debug kernel: PCI: Setting latency timer of device 0000:00:1e.0 to 64
May  6 03:50:44 (none) user.info kernel: NET: Registered protocol family 2
May  6 03:50:44 (none) user.warn kernel: IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
May  6 03:50:44 (none) user.warn kernel: TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
May  6 03:50:44 (none) user.warn kernel: TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
May  6 03:50:44 (none) user.info kernel: TCP: Hash tables configured (established 131072 bind 65536)
May  6 03:50:44 (none) user.info kernel: TCP reno registered
May  6 03:50:44 (none) user.info kernel: checking if image is initramfs... it is
May  6 03:50:44 (none) user.info kernel: Freeing initrd memory: 1237k freed
May  6 03:50:44 (none) user.info kernel: Simple Boot Flag at 0x7a set to 0x1
May  6 03:50:44 (none) user.info kernel: NTFS driver 2.1.28 [Flags: R/W].
May  6 03:50:44 (none) user.info kernel: io scheduler noop registered
May  6 03:50:44 (none) user.info kernel: io scheduler cfq registered (default)
May  6 03:50:44 (none) user.info kernel: isapnp: Scanning for PnP cards...
May  6 03:50:44 (none) user.info kernel: isapnp: No Plug & Play device found
May  6 03:50:44 (none) user.info kernel: Switched to NOHz mode on CPU #0
May  6 03:50:44 (none) user.info kernel: Real Time Clock Driver v1.12ac
May  6 03:50:44 (none) user.info kernel: Intel 82802 RNG detected
May  6 03:50:44 (none) user.info kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
May  6 03:50:44 (none) user.info kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
May  6 03:50:44 (none) user.info kernel: 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
May  6 03:50:44 (none) user.info kernel: Floppy drive(s): fd0 is 1.44M
May  6 03:50:44 (none) user.info kernel: FDC 0 is a post-1991 82077
May  6 03:50:44 (none) user.warn kernel: RAMDISK driver initialized: 16 RAM disks of 13824K size 1024 blocksize
May  6 03:50:44 (none) user.info kernel: loop: loaded (max 8 devices)
May  6 03:50:44 (none) user.info kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
May  6 03:50:44 (none) user.info kernel: ide: Assu
May  6 03:50:44 (none) user.info kernel: ming 33MHz system bus speed for PIO modes; override with idebus=xx
May  6 03:50:44 (none) user.info kernel: ICH2: IDE controller at PCI slot 0000:00:1f.1
May  6 03:50:44 (none) user.info kernel: ICH2: chipset revision 4
May  6 03:50:44 (none) user.info kernel: ICH2: not 100% native mode: will probe irqs later
May  6 03:50:44 (none) user.info kernel:     ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
May  6 03:50:44 (none) user.info kernel:     ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
May  6 03:50:44 (none) user.debug kernel: Probing IDE interface ide0...
May  6 03:50:44 (none) user.warn kernel: hda: ST340014A, ATA DISK drive
May  6 03:50:44 (none) user.warn kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
May  6 03:50:44 (none) user.debug kernel: Probing IDE interface ide1...
May  6 03:50:44 (none) user.warn kernel: hdc: ST340016A, ATA DISK drive
May  6 03:50:44 (none) user.warn kernel: hdd: _NEC CD-RW NR-7900A, ATAPI CD/DVD-ROM drive
May  6 03:50:44 (none) user.warn kernel: ide1 at 0x170-0x177,0x376 on irq 15
May  6 03:50:44 (none) user.info kernel: hda: max request size: 512KiB
May  6 03:50:44 (none) user.info kernel: hda: 78125000 sectors (40000 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
May  6 03:50:44 (none) user.info kernel: hda: cache flushes supported
May  6 03:50:44 (none) user.info kernel:  hda: hda1 hda2 hda3 < hda5 hda6 hda7 >
May  6 03:50:44 (none) user.info kernel: hdc: max request size: 128KiB
May  6 03:50:44 (none) user.info kernel: hdc: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
May  6 03:50:44 (none) user.info kernel: hdc: cache flushes not supported
May  6 03:50:44 (none) user.info kernel:  hdc: hdc1
May  6 03:50:44 (none) user.info kernel: PNP: No PS/2 controller found. Probing ports directly.
May  6 03:50:44 (none) user.info kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
May  6 03:50:44 (none) user.info kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
May  6 03:50:44 (none) user.info kernel: mice: PS/2 mouse device common for all mice
May  6 03:50:44 (none) user.info kernel: TCP cubic registered
May  6 03:50:44 (none) user.info kernel: NET: Registered protocol family 1
May  6 03:50:44 (none) user.info kernel: NET: Registered protocol family 17
May  6 03:50:44 (none) user.warn kernel: Using IPI Shortcut mode
May  6 03:50:44 (none) user.info kernel: Freeing unused kernel memory: 200k freed
May  6 03:50:44 (none) user.warn kernel: Warning: unable to open an initial console.
May  6 03:50:44 (none) user.info kernel: squashfs: version 3.3 (2007/10/31) Phillip Lougher
May  6 03:50:44 (none) user.info kernel: hdd: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
May  6 03:50:44 (none) user.info kernel: Uniform CD-ROM driver Revision: 3.20
May  6 03:50:44 (none) user.info kernel: usbcore: registered new interface driver usbfs
May  6 03:50:44 (none) user.info kernel: usbcore: registered new interface driver hub
May  6 03:50:44 (none) user.info kernel: usbcore: registered new device driver usb
May  6 03:50:44 (none) user.info kernel: USB Universal Host Controller Interface driver v3.0
May  6 03:50:44 (none) user.warn kernel: ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
May  6 03:50:44 (none) user.debug kernel: PCI: setting IRQ 11 as level-triggered
May  6 03:50:44 (none) user.info kernel: ACPI: PCI Interrupt 0000:00:1f.2[D] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
May  6 03:50:44 (none) user.debug kernel: PCI: Setting latency timer of device 0000:00:1f.2 to 64
May  6 03:50:44 (none) user.info kernel: uhci_hcd 0000:00:1f.2: UHCI Host Controller
May  6 03:50:44 (none) user.info kernel: uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1
May  6 03:50:44 (none) user.info kernel: uhci_hcd 0000:00:1f.2: irq 11, io base 0x0000ff80
May  6 03:50:44 (none) user.info kernel: usb usb1: configuration #1 chosen from 1 choice
May  6 03:50:44 (none) user.info kernel: hub 1-0:1.0: USB hub found
May  6 03:50:44 (none) user.info kernel: hub 1-0:1.0: 2 ports detected
May  6 03:50:44 (none) user.warn kernel: ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 9
May  6 03:50:44 (none) user.debug kernel: PCI: setting IRQ 9 as level-triggered
May  6 03:50:44 (none) user.info kernel: ACPI: PCI Interrupt 0000:00:1f.4[C] -> Link [LNKH] -> GSI 9 (level, low) -> IRQ 9
May  6 03:50:44 (none) user.debug kernel: PCI: Setting latency timer of device 0000:00:1f.4 to 64
May  6 03:50:44 (none) user.info kernel: uhci_hcd 0000:00:1f.4: UHCI Host Controller
May  6 03:50:44 (none) user.info kernel: uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 2
May  6 03:50:44 (none) user.info kernel: uhci_hcd 0000:00:1f.4: irq 9, io base 0x0000ff60
May  6 03:50:44 (none) user.info kernel: usb usb2: configuration #1 chosen from 1 choice
May  6 03:50:44 (none) user.info kernel: hub 2-0:1.0: USB hub found
May  6 03:50:44 (none) user.info kernel: hub 2-0:1.0: 2 ports detected
May  6 03:50:44 (none) user.info kernel: Initializing USB Mass Storage driver...
May  6 03:50:44 (none) user.info kernel: usbcore: registered new interface driver usb-storage
May  6 03:50:44 (none) user.info kernel: USB Mass Storage support registered.
May  6 03:50:44 (none) user.info kernel: usbcore: registered new interface driver hiddev
May  6 03:50:44 (none) user.info kernel: usbcore: registered new interface driver usbhid
May  6 03:50:44 (none) user.info kernel: drivers/usb/input/hid-core.c: v2.6:USB HID core driver
May  6 03:50:44 (none) user.warn kernel: Registering unionfs 2.1.2 (for 2.6.21.7)
May  6 03:50:44 (none) user.warn kernel: fuse init (API version 7.8)
May  6 03:50:44 (none) user.warn kernel: EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
May  6 03:50:44 (none) user.warn kernel: EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
May  6 03:50:44 (none) user.warn kernel: EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
May  6 03:50:44 (none) user.warn kernel: EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
May  6 03:50:44 (none) user.info kernel: Adding 979956k swap on /dev/hda2.  Priority:-1 extents:1 across:979956k
May  6 03:50:44 (none) user.debug kernel: unionfs: unhashed dentry being revalidated: moved2cd
May  6 03:50:44 (none) user.info kernel: Linux agpgart interface v0.102 (c) Dave Jones
May  6 03:50:44 (none) user.info kernel: agpgart: Detected an Intel i850 Chipset.
May  6 03:50:44 (none) user.info kernel: agpgart: AGP aperture is 128M @ 0xe8000000
May  6 03:50:44 (none) user.warn kernel: ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
May  6 03:50:44 (none) user.debug kernel: PCI: setting IRQ 10 as level-triggered
May  6 03:50:44 (none) user.info kernel: ACPI: PCI Interrupt 0000:00:1f.3[B] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
May  6 03:50:44 (none) user.warn kernel: snd: no version for "unregister_sound_special" found: kernel tainted.
May  6 03:50:44 (none) user.info kernel: ACPI: PCI Interrupt 0000:02:08.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
May  6 03:50:44 (none) user.info kernel: gameport: EMU10K1 is pci0000:02:08.1/gameport0, io 0xecd8, speed 932kHz
May  6 03:50:44 (none) user.info kernel: dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
May  6 03:50:44 (none) user.warn kernel: ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
May  6 03:50:44 (none) user.info kernel: ACPI: PCI Interrupt 0000:02:09.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
May  6 03:50:44 (none) user.info kernel: eth0: Davicom DM9102 at pci0000:02:09.0, 00:80:ad:c0:fd:29, irq 11.
May  6 03:50:45 (none) user.info kernel: usbcore: registered new interface driver usblp
May  6 03:50:45 (none) user.info kernel: drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
May  6 07:50:48 (none) user.warn kernel: EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
May  6 07:50:49 (none) user.info kernel: parport: PnPBIOS parport detected.
May  6 07:50:49 (none) user.info kernel: parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
May  6 07:50:49 (none) user.info kernel: lp0: using parport0 (interrupt-driven).
May  6 07:50:49 (none) user.info kernel: lp0: console ready
May  6 07:50:50 (none) daemon.notice named[3949]: starting BIND 9.6.0-P1
May  6 07:50:50 (none) daemon.notice named[3949]: built with '-C' '--with-openssl' '--with-gnu-ld'
May  6 07:50:50 (none) daemon.info named[3949]: using up to 4096 sockets
May  6 07:50:50 (none) daemon.info named[3949]: loading configuration from '/etc/named.conf'
May  6 07:50:50 (none) daemon.info named[3949]: using default UDP/IPv4 port range: [1024, 65535]
May  6 07:50:50 (none) daemon.info named[3949]: using default UDP/IPv6 port range: [1024, 65535]
May  6 07:50:50 (none) daemon.info named[3949]: no IPv6 interfaces found
May  6 07:50:50 (none) daemon.info named[3949]: listening on IPv4 interface lo, 127.0.0.1#53
May  6 07:50:50 (none) daemon.info named[3949]: listening on IPv4 interface eth0, 192.168.1.210#53
May  6 07:50:50 (none) daemon.info named[3949]: automatic empty zone: 0.IN-ADDR.ARPA
May  6 07:50:50 (none) daemon.info named[3949]: automatic empty zone: 127.IN-ADDR.ARPA
May  6 07:50:50 (none) daemon.info named[3949]: automatic empty zone: 254.169.IN-ADDR.ARPA
May  6 07:50:50 (none) daemon.info named[3949]: automatic empty zone: 2.0.192.IN-ADDR.ARPA
May  6 07:50:50 (none) daemon.info named[3949]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
May  6 07:50:50 (none) daemon.info named[3949]: automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
May  6 07:50:50 (none) daemon.info named[3949]: automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
May  6 07:50:50 (none) daemon.info named[3949]: automatic empty zone: D.F.IP6.ARPA
May  6 07:50:50 (none) daemon.info named[3949]: automatic empty zone: 8.E.F.IP6.ARPA
May  6 07:50:50 (none) daemon.info named[3949]: automatic empty zone: 9.E.F.IP6.ARPA
May  6 07:50:50 (none) daemon.info named[3949]: automatic empty zone: A.E.F.IP6.ARPA
May  6 07:50:50 (none) daemon.info named[3949]: automatic empty zone: B.E.F.IP6.ARPA
May  6 07:50:50 (none) daemon.err named[3949]: none:0: open: /etc/rndc.key: file not found
May  6 07:50:50 (none) daemon.notice named[3949]: couldn't add command channel 127.0.0.1#953: file not found
May  6 07:50:51 (none) mail.info sendmail[3962]: starting daemon (8.14.3): SMTP+queueing@00:10:00
May  6 07:50:51 (none) auth.info sshd[3975]: Server listening on 0.0.0.0 port 22.
May  6 07:50:53 (none) user.info kernel: dmfe: Change Speed to 100Mhz full duplex
May  6 07:51:01 (none) auth.info login[4012]: root login on 'ttyS0'
May  6 07:53:00 (none) auth.info sshd[4205]: Accepted publickey for root from 192.168.1.10 port 1079 ssh2
May  6 07:53:00 (none) auth.info sshd[4205]: subsystem request for sftp
May  6 07:53:27 (none) auth.info sshd[4257]: Accepted publickey for root from 192.168.1.10 port 1080 ssh2
May  6 07:53:27 (none) auth.info sshd[4257]: subsystem request for sftp
Distro-specific boot log (Puppy Linux):
Code:
...
/etc/rc.d/rc.sysinit: line 27: /dev/console: No such device
/etc/rc.d/rc.sysinit: line 30: /dev/console: No such device
/etc/rc.d/rc.sysinit: line 31: /dev/console: No such device
etc.
...

Last edited by hda7; 05-09-2011 at 11:51 AM.
 
Old 05-06-2011, 10:20 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,388
Blog Entries: 2

Rep: Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900
Quote:
Originally Posted by hda7 View Post
Option used to set kernel output:
Code:
console=ttyS0,38400n8r
Try this seemingly redundant kernel command:
Code:
console=tty0 console=ttyS0,38400n8r
--- rod.
 
Old 05-06-2011, 08:39 PM   #3
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 244

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by theNbomr View Post
Try this seemingly redundant kernel command:
Code:
console=tty0 console=ttyS0,38400n8r
--- rod.
No luck, but thanks anyway.

Could this be a hardware initialization problem?
 
Old 05-09-2011, 11:11 AM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,388
Blog Entries: 2

Rep: Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900
Doesn't seem likely, since grub had already set up the hardware, which on a UART isn't much anyway. I don't know in what state grub leaves the UART, but it doesn't seem likely it would be too radical for the kernel to reconfigure it (thinking interrupts and/or hardware handshake here).
Does the console output vanish forever, or only during the kernel startup?
Try reversing the kernel arguments:
Code:
console=ttyS0,38400n8r console=tty0
Hmm, just noticed the 'r' at the end of your port configuration arguments. That isn't familiar to me. Is that suppoed to be there?

--- rod.
 
Old 05-09-2011, 11:46 AM   #5
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 244

Original Poster
Rep: Reputation: 31
Just found out: if
Code:
console=tty0
is present at all on the command line, console output is to VGA (my guess is that if the first listed console doesn't work, it uses the second, etc.).
Quote:
Originally Posted by theNbomr View Post
Does the console output vanish forever, or only during the kernel startup?
When console output is set to the serial port only (no console=tty0), writing to /dev/console produces a "No such device" error even after kernel setup.
Quote:
Originally Posted by theNbomr View Post
Hmm, just noticed the 'r' at the end of your port configuration arguments. That isn't familiar to me. Is that suppoed to be there?
According to the kernel docs, if the "r" is present, the port uses RTS/CTS flow control. Removing it doesn't seem to help.

Last edited by hda7; 05-09-2011 at 11:51 AM.
 
Old 05-09-2011, 12:01 PM   #6
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 244

Original Poster
Rep: Reputation: 31
I tried using ttyS1 instead of ttyS0 in the kernel console option, but no change.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help: tty console to serial port Rostfrei Linux - General 1 11-03-2010 04:05 AM
Redirect serial console output otix Programming 0 05-08-2010 06:08 AM
serial console - working, then "stuck" output and can't login srfeo Linux - General 0 03-29-2007 04:45 AM
linux serial port to router console port connection? frankie_fix Linux - General 3 02-26-2007 09:32 PM
Console will default to serial port 1, and now? bako Linux - General 5 02-18-2002 06:03 PM


All times are GMT -5. The time now is 08:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration