Paul on Mon, 23 Sep 2002 23:41:08 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Serial Console Oddity


Small problem. When I boot my system without having my serial console attached, the system will not boot on its own. After I connect the serial cable, start minicom, and press enter, I see the following:

----------------------------------------------
Welcome to minicom 1.83.1

OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Aug 28 2001, 15:09:33.

Press CTRL-A Z for help on special keys


Starting system logger: [ OK ] Starting kernel logger: [ OK ] Start service keytable (Y)es/(N)o/(C)ontinue? [Y] ---------------------------------------------

If I boot with the console connected everything works fine. Did I miss something or mess up somewhere? Here's what I did to enable the serial console:

Added to /etc/grub.conf: kernel /boot/vmlinuz-2.4.7-10 ro root=/dev/hda1 console=ttyS1,115200n8

Added to /etc/inittab: S1:12345:respawn:/sbin/agetty ttyS1 115200 vt100

Here's what a normal boot looks from the serial console:

---------------------------------------------
Linux version 2.4.7-10 (bhcompile@stripples.devel.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)) #1 Thu Sep 6 17:21:28 1BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000004000000 (usable)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
On node 0 totalpages: 16384
zone(0): 4096 pages.
zone(1): 12288 pages.
zone(2): 0 pages.
Kernel command line: ro root=/dev/hda1 console=ttyS1,115200n8
Initializing CPU#0
Detected 100.228 MHz processor.
Console: colour EGA 80x25
Calibrating delay loop... 199.88 BogoMIPS
Memory: 61420k/65536k available (1280k kernel code, 3344k reserved, 90k data, 216k init, 0k highmem)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 5, 131072 bytes)
Intel Pentium with F0 0F bug - workaround enabled.
Intel old style machine check architecture supported.
Intel old style machine check reporting enabled on CPU#0.
CPU: Intel Pentium 75 - 200 stepping 05
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: none
PCI: PCI BIOS revision 2.10 entry at 0xfb3a0, last bus=0
PCI: Using configuration type 1
PCI: Probing PCI hardware
Limiting direct PCI/PCI transfers.
Activating ISA DMA hang workarounds.
isapnp: Scanning for PnP cards...
isapnp: Card 'CPI ViVa CommCenter/SP 33.6'
isapnp: 1 Plug & Play card detected total
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.14)
Starting kswapd v1.8
VFS: Diskquotas version dquot_6.5.0 initialized
Detected PS/2 Mouse Port.
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ttyS00 at port 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10d
block: queued sectors max/low 40738kB/13579kB, 128 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz PCI bus speed for PIO modes; override with idebus=xx
PIIX3: IDE controller on PCI bus 00 dev 39
PIIX3: chipset revision 0
PIIX3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
hda: SAMSUNG SHD-30560A (APRO-5) SSI, ATA DISK drive
hdb: CDA46803I, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: 1096048 sectors (561 MB) w/126KiB Cache, CHS=543/32/63, DMA
ide-floppy driver 0.97
Partition check:
hda: hda1 hda2
Floppy drive(s): fd0 is 1.44M
FDC 0 is an 8272A
ide-floppy driver 0.97
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 319k freed
VFS: Mounted root (ext2 filesystem).
Red Hat nash version 3.2.6 starting
Loading jbd module
Journalled Block Device driver loaded
Loading ext3 module
Mounting /proc filesystem
Creating root device
Mounting root filesystem
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 216k freed
INIT: version 2.78 booting
Welcome to Red Hat Linux
Press 'I' to enter interactive startup.
Mounting proc filesystem: [ OK ]
Unmounting initrd: [ OK ]
Configuring kernel parameters: [ OK ]
Setting clock (localtime): Mon Sep 23 23:32:13 EDT 2002 [ OK ]
Activating swap partitions: [ OK ]
Setting hostname Webcam1: [ OK ]
Mounting USB filesystem: [ OK ]
Initializing USB controller (usb-uhci): [ OK ]
Checking root filesystem
/: clean, 33166/120360 files, 353650/480784 blocks
[/sbin/fsck.ext3 -- /] fsck.ext3 -a /dev/hda1
[ OK ]
Remounting root filesystem in read-write mode: [ OK ]
Setting hard drive parameters for hda: [ OK ]
Finding module dependencies: [ OK ]
Checking filesystems
Checking all file systems.
[ OK ]
Mounting local filesystems: [ OK ]
Enabling local filesystem quotas: [ OK ]
Enabling swap space: [ OK ]
INIT: Entering runlevel: 3
Entering non-interactive startup
Starting system logger: [ OK ]
Starting kernel logger: [ OK ]
Loading keymap: [ OK ]
Loading system font: [ OK ]
Initializing random number generator: [ OK ]
Starting crond: [ OK ]
Starting anacron: [ OK ]


Red Hat Linux release 7.2 (Enigma)
Kernel 2.4.7-10 on an i586

Webcam1 login:
---------------------------------------

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug