LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 10-13-2012, 09:18 PM   #1
mariostg
Member
 
Registered: Apr 2011
Location: Gatineau, Quebec
Distribution: OpenBSD
Posts: 80

Rep: Reputation: 5
It is almost rebooting...


Just finish the 7.2 install. So close

The system reboots then when it gets to Bringing up eth1 interface...
cannot find device eth1

Then I get the login prompt, but the keyboard is not responding. That's rude!!

Some info:
Code:
root:/# cat /etc/sysconfig/network 
HOSTNAME=lfs
root:/# cat /etc/sysconfig/ifconfig.eth1 
ONBOOT=yes
IFACE=eth1
SERVICE=ipv4-static
IP=10.0.0.5
GATEWAY=10.0.0.1
PREFIX=24
BROADCAST=10.0.0.255
Code:
root:/# cat /etc/udev/rules.d/70-persistent-net.rules
# net device r8169
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="SNIP", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# net device rt2800pci
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="SNIP", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
From kernel config:
Code:
CONFIG_NET_VENDOR_REALTEK=y
# CONFIG_8139CP is not set
CONFIG_8139TOO=y
CONFIG_8139TOO_PIO=y
 
Old 10-14-2012, 01:34 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

Is it a usb keyboard?
 
Old 10-14-2012, 04:48 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by mariostg View Post
The system reboots then when it gets to Bringing up eth1 interface...
cannot find device eth1
Is your network device detected during boot and is it assigned to eth0 or eth1:
Code:
dmesg | grep -i eth
What does the following show you:
Code:
lspci | grep -i ether
and
Code:
for EDEVICE in $(lspci | grep -i ether | awk '{ print $1 }'); do lspci -vs $EDEVICE; done
 
Old 10-14-2012, 08:16 AM   #4
mariostg
Member
 
Registered: Apr 2011
Location: Gatineau, Quebec
Distribution: OpenBSD
Posts: 80

Original Poster
Rep: Reputation: 5
@spiky0011. Yes it is a USB Keyboard. Maybe I should go check my kernel settings options for USB devices.

@druuna. Well problem is I can't do any of those checks as I have no responding keyboard at the moment. But what I did for now is specify ONBOOT=no in ifconfig.eth1. Looks like it is skipped now on boot. I need to fix the keyboard.
 
Old 10-14-2012, 08:24 AM   #5
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

Have you tried a different usb port in the kernel check OHCI_HCD UHCI_HCD
 
Old 10-14-2012, 09:16 AM   #6
mariostg
Member
 
Registered: Apr 2011
Location: Gatineau, Quebec
Distribution: OpenBSD
Posts: 80

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by spiky0011 View Post
Have you tried a different usb port in the kernel check OHCI_HCD UHCI_HCD
Thanks for your patience.
This is what I have for stuff related to OHCI:
Code:
oot:/sources/linux-3.5.2# grep OHCI .config
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_PLATFORM=y
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_PROVIDE_OHCI1394_DMA_INIT=y
Code:
root:/sources/linux-3.5.2# grep UHCI .config
CONFIG_USB_UHCI_HCD=y
 
Old 10-14-2012, 09:27 AM   #7
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Did you try it in another port? do you have a ps2 keyboard you could try
 
1 members found this post helpful.
Old 10-14-2012, 12:13 PM   #8
mariostg
Member
 
Registered: Apr 2011
Location: Gatineau, Quebec
Distribution: OpenBSD
Posts: 80

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by spiky0011 View Post
Did you try it in another port? do you have a ps2 keyboard you could try
Now that interesting. Tried another port. It is working . Speak of a bare bone system, login prompt in 3.5 seconds lol.

I will mark this as solved and return when I have problems with my network. Oh and I need to fill in the get counted . One thing I notice, I have ls, lsattr, lscpu, lsblk, lsmod but no lspci command.
 
Old 10-14-2012, 04:10 PM   #9
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
Quote:
Originally Posted by mariostg

One thing I notice, I have ls, lsattr, lscpu, lsblk, lsmod but no lspci command.
See PCI Utils in the BLFS "System Utilities" chapter.

Last edited by stoat; 10-14-2012 at 05:11 PM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
RH AS 4 - Rebooting spinner57 Linux - Server 1 07-21-2008 05:57 PM
Rebooting from CD NETW204 Linux - Newbie 4 01-29-2008 11:42 AM
rebooting spuppett Linux - Newbie 3 04-11-2004 04:21 PM
rebooting into a different OS apberzerk Linux - General 2 02-04-2004 07:42 AM
rebooting to a cd lot2learn Linux - Software 6 07-19-2001 09:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration