LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-23-2003, 10:00 PM   #1
CestusGW
Member
 
Registered: Apr 2002
Location: Carleton University, Ontario, Canada
Distribution: Free yourself from distributions! Source is where it's at
Posts: 40

Rep: Reputation: 15
cannot execute "/sbin/agetty" <-- appears during kernel boot process


Alright, I'm placing the 2.4.22 kernel (Gentoo distro) onto an old P-133 with 32mb RAM on a 1gig HDD. I've gotten a floppy disk distro of 2.4.20 to work on this system. After much struggling with the kernel on the HDD (like discovering the kernel mcpu/march flags are in the menuconfig, not make.conf for the gentoo bootstrap), i've got one that's booting - almost. The kernel seems to have problems as soon as it gets to the point where it should be brining up the console. My logger and cron job manager get started just fine, but then I get this coming up several times:

Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Along with some of these lines:
Oct 23 12:17:59 cestus133 init: Id "c1" respawning too fast: disabled for 5 minutes
And the Id "cX" cycles from 1 all the way to 6 before the system sits on its ass and does nothing. I'll include my inittab file in a minute (oops, need to reboot) but here's a relevant section taken from my /var/log/messages file:
[Yeah, I know there are problems I have yet to solve but those can be solved once I can start being able to log in ]


Oct 23 12:17:46 cestus133 syslog-ng[776]: syslog-ng version 1.6.0rc3 starting
Oct 23 12:17:46 cestus133 syslog-ng[776]: Changing permissions on special file /dev/tty12
Oct 23 12:17:46 cestus133 Linux version 2.4.22 (root@cdimage) (gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)) #2 Thu Oct 23 12:00:23 EDT 2003
Oct 23 12:17:46 cestus133 BIOS-provided physical RAM map:
Oct 23 12:17:46 cestus133 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
Oct 23 12:17:46 cestus133 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
Oct 23 12:17:46 cestus133 BIOS-e820: 0000000000100000 - 0000000002000000 (usable)
Oct 23 12:17:46 cestus133 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
Oct 23 12:17:46 cestus133 32MB LOWMEM available.
Oct 23 12:17:46 cestus133 On node 0 totalpages: 8192
Oct 23 12:17:46 cestus133 zone(0): 4096 pages.
Oct 23 12:17:46 cestus133 zone(1): 4096 pages.
Oct 23 12:17:46 cestus133 zone(2): 0 pages.
Oct 23 12:17:46 cestus133 DMI not present.
Oct 23 12:17:46 cestus133 Kernel command line: BOOT_IMAGE=linux ro root=303
Oct 23 12:17:46 cestus133 Initializing CPU#0
Oct 23 12:17:46 cestus133 Detected 133.639 MHz processor.
Oct 23 12:17:46 cestus133 Console: colour VGA+ 80x25
Oct 23 12:17:46 cestus133 Calibrating delay loop... 266.24 BogoMIPS
Oct 23 12:17:46 cestus133 Memory: 29628k/32768k available (1530k kernel code, 2756k reserved, 381k data, 272k init, 0k highmem)
Oct 23 12:17:46 cestus133 Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Oct 23 12:17:46 cestus133 Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Oct 23 12:17:46 cestus133 Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Oct 23 12:17:46 cestus133 Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Oct 23 12:17:46 cestus133 Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Oct 23 12:17:46 cestus133 Intel Pentium with F0 0F bug - workaround enabled.
Oct 23 12:17:46 cestus133 CPU: After generic, caps: 000001bf 00000000 00000000 00000000
Oct 23 12:17:46 cestus133 CPU: Common caps: 000001bf 00000000 00000000 00000000
Oct 23 12:17:46 cestus133 CPU: Intel Pentium 75 - 200 stepping 0c
Oct 23 12:17:46 cestus133 Checking 'hlt' instruction... OK.
Oct 23 12:17:46 cestus133 POSIX conformance testing by UNIFIX
Oct 23 12:17:46 cestus133 mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
Oct 23 12:17:46 cestus133 mtrr: detected mtrr type: none
Oct 23 12:17:46 cestus133 PCI: PCI BIOS revision 2.10 entry at 0xf7f00, last bus=0
Oct 23 12:17:46 cestus133 PCI: Using configuration type 1
Oct 23 12:17:46 cestus133 PCI: Probing PCI hardware
Oct 23 12:17:46 cestus133 PCI: Probing PCI hardware (bus 00)
Oct 23 12:17:46 cestus133 Limiting direct PCI/PCI transfers.
Oct 23 12:17:46 cestus133 Activating ISA DMA hang workarounds.
Oct 23 12:17:46 cestus133 Linux NET4.0 for Linux 2.4
Oct 23 12:17:46 cestus133 Based upon Swansea University Computer Society NET3.039
Oct 23 12:17:46 cestus133 Initializing RT netlink socket
Oct 23 12:17:46 cestus133 Starting kswapd
Oct 23 12:17:46 cestus133 Journalled Block Device driver loaded
Oct 23 12:17:46 cestus133 Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Oct 23 12:17:46 cestus133 Detected PS/2 Mouse Port.
Oct 23 12:17:46 cestus133 pty: 256 Unix98 ptys configured
Oct 23 12:17:46 cestus133 Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
Oct 23 12:17:46 cestus133 ttyS00 at 0x03f8 (irq = 4) is a 16550A
Oct 23 12:17:46 cestus133 ttyS01 at 0x02f8 (irq = 3) is a 16550A
Oct 23 12:17:46 cestus133 Floppy drive(s): fd0 is 1.44M
Oct 23 12:17:46 cestus133 FDC 0 is a post-1991 82077
Oct 23 12:17:46 cestus133 Linux agpgart interface v0.99 (c) Jeff Hartmann
Oct 23 12:17:46 cestus133 agpgart: Maximum main memory to use for agp memory: 4M
Oct 23 12:17:46 cestus133 agpgart: no supported devices found.
Oct 23 12:17:46 cestus133 [drm] Initialized tdfx 1.0.0 20010216 on minor 0
Oct 23 12:17:46 cestus133 [drm] Initialized radeon 1.1.1 20010405 on minor 1
Oct 23 12:17:46 cestus133 [drm:drm_init] *ERROR* Cannot initialize the agpgart module.
Oct 23 12:17:46 cestus133 Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
Oct 23 12:17:46 cestus133 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Oct 23 12:17:46 cestus133 PIIX3: IDE controller at PCI slot 00:07.1
Oct 23 12:17:46 cestus133 PIIX3: chipset revision 0
Oct 23 12:17:46 cestus133 PIIX3: not 100% native mode: will probe irqs later
Oct 23 12:17:46 cestus133 ide0: BM-DMA at 0xe800-0xe807, BIOS settings: hdaio, hdbio
Oct 23 12:17:46 cestus133 ide1: BM-DMA at 0xe808-0xe80f, BIOS settings: hdcio, hddio
Oct 23 12:17:46 cestus133 hda: QUANTUM FIREBALL1080A, ATA DISK drive
Oct 23 12:17:46 cestus133 blk: queue c034c820, I/O limit 4095Mb (mask 0xffffffff)
Oct 23 12:17:46 cestus133 ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Oct 23 12:17:46 cestus133 hda: attached ide-disk driver.
Oct 23 12:17:46 cestus133 hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
Oct 23 12:17:46 cestus133 hda: task_no_data_intr: error=0x04 { DriveStatusError }
Oct 23 12:17:46 cestus133 hda: 2128896 sectors (1090 MB) w/83KiB Cache, CHS=528/64/63, DMA
Oct 23 12:17:46 cestus133 Partition check:
Oct 23 12:17:46 cestus133 hda: hda1 hda2 hda3
Oct 23 12:17:46 cestus133 SCSI subsystem driver Revision: 1.00
Oct 23 12:17:46 cestus133 kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Oct 23 12:17:46 cestus133 NET4: Linux TCP/IP 1.0 for NET4.0
Oct 23 12:17:46 cestus133 IP Protocols: ICMP, UDP, TCP, IGMP
Oct 23 12:17:46 cestus133 IP: routing cache hash table of 512 buckets, 4Kbytes
Oct 23 12:17:46 cestus133 TCP: Hash tables configured (established 2048 bind 4096)
Oct 23 12:17:46 cestus133 NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Oct 23 12:17:46 cestus133 kjournald starting. Commit interval 5 seconds
Oct 23 12:17:46 cestus133 EXT3-fs: mounted filesystem with ordered data mode.
Oct 23 12:17:46 cestus133 VFS: Mounted root (ext3 filesystem) readonly.
Oct 23 12:17:46 cestus133 Freeing unused kernel memory: 272k freed
Oct 23 12:17:46 cestus133 EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal
Oct 23 12:17:48 cestus133 pci.agent: ... no modules for PCI slot
Oct 23 12:17:50 cestus133 pci.agent: ... no modules for PCI slot
Oct 23 12:17:51 cestus133 pci.agent: ... no modules for PCI slot
Oct 23 12:17:52 cestus133 pci.agent: ... no modules for PCI slot
Oct 23 12:17:53 cestus133 pci.agent: ... no modules for PCI slot
Oct 23 12:17:54 cestus133 pci.agent: ... no modules for PCI slot
Oct 23 12:17:56 cestus133 dhcpcd[995]: dhcpStart: ioctl SIOCGIFHWADDR: No such device
Oct 23 12:17:56 cestus133 rc-scripts: Failed to bring eth0 up
Oct 23 12:17:57 cestus133 rc-scripts: ERROR: Problem starting needed services.
Oct 23 12:17:57 cestus133 rc-scripts: "netmount" was not started.
Oct 23 12:17:58 cestus133 cron[1084]: (CRON) STARTUP (fork ok)
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: Id "c1" respawning too fast: disabled for 5 minutes
Oct 23 12:17:59 cestus133 init: Id "c2" respawning too fast: disabled for 5 minutes
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: Id "c3" respawning too fast: disabled for 5 minutes
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: Id "c4" respawning too fast: disabled for 5 minutes
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: cannot execute "/sbin/agetty"
Oct 23 12:17:59 cestus133 init: Id "c5" respawning too fast: disabled for 5 minutes
Oct 23 12:17:59 cestus133 init: Id "c6" respawning too fast: disabled for 5 minutes
Oct 23 12:17:59 cestus133 init: no more processes left in this runlevel
Oct 23 12:20:07 cestus133 init: Switching to runlevel: 6
 
Old 01-10-2004, 12:35 PM   #2
jacktheripper
LQ Newbie
 
Registered: Jul 2003
Location: warsaw, Poland
Distribution: slackware 9.0
Posts: 13

Rep: Reputation: 0
yeah, got same problem after applaying nvidia patch on the kernel.. than i patched the kernel with 2.6.1 patch, rebooted and...... the rest is the same "cannot execute /sbin/agetty" ... anybody? im kinda depressed by that
 
Old 01-10-2004, 05:16 PM   #3
CestusGW
Member
 
Registered: Apr 2002
Location: Carleton University, Ontario, Canada
Distribution: Free yourself from distributions! Source is where it's at
Posts: 40

Original Poster
Rep: Reputation: 15
I managed to solve that one by cheating lol. I just had another stable Linux box around, so I manually copied over the /sbin/agetty executable (making sure that the kernel was the same version and that the kernel targeted a compatible processor) and that showed me yet _another_ executable was missing. So then I just kept manually copying until it worked. *shrugs* it doesn't explain what happened, or fix the root cause of the problem, but it got my box running
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ZipSlack 10 + LOADLIN give error message(s) --INIT: Cannot execute "/sbin/agetty"-- dhv Slackware 9 07-24-2006 10:02 PM
INIT: cannot execute /sbin/agetty xrado Slackware 5 08-06-2005 04:44 AM
Configuring Boot Process on Mandrake 10 to include command "ifup eith0" Bennyjamin Linux - Hardware 3 12-27-2004 04:22 PM
boot process freezes at "Probing IDE interface ide0..." drowstar Mandriva 8 11-03-2004 01:43 AM
"Bringing up loopback address" hangs boot process Callahan Linux - Networking 4 12-07-2002 03:32 AM


All times are GMT -5. The time now is 11:42 PM.

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