Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

[solved] (none).unknown_domain (Linux i686 2.6.32-gentoo-r7)

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
29 posts
  • 1
  • 2
  • Next
Author
Message
m34n
n00b
n00b
Posts: 28
Joined: Mon Apr 05, 2010 4:02 pm

[solved] (none).unknown_domain (Linux i686 2.6.32-gentoo-r7)

  • Quote

Post by m34n » Thu Apr 29, 2010 6:49 pm

Hello,
I've got this (as the subject) result at first boot. I forget something, I think but do not know. Does anybody?

I know: maybe at kernel config. I am writing this post from links browser and cannot share on internet my config files without JavaScript support. I change computer, if somebody needs these files (for example .config, lspci output and others).

Thanks for all answers.

Regards,
m34n
Last edited by m34n on Sat May 01, 2010 5:54 am, edited 3 times in total.
Top
avx
Advocate
Advocate
User avatar
Posts: 2152
Joined: Mon Jun 21, 2004 4:06 am

  • Quote

Post by avx » Thu Apr 29, 2010 6:55 pm

Modify your /etc/hosts & /etc/conf.d/hostname according to your wishes :)

i.e.
/etc/hosts wrote:127.0.0.1 foobar.mydomain.com foobar localhost
/etc/conf.d/hostname wrote:hostname="foobar"
Edit, you may also want to customize /etc/issue.
Top
m34n
n00b
n00b
Posts: 28
Joined: Mon Apr 05, 2010 4:02 pm

  • Quote

Post by m34n » Thu Apr 29, 2010 6:59 pm

I did it at install.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Thu Apr 29, 2010 11:17 pm

check it. you lost it.
Top
m34n
n00b
n00b
Posts: 28
Joined: Mon Apr 05, 2010 4:02 pm

  • Quote

Post by m34n » Thu Apr 29, 2010 11:22 pm

I checked of course - exists.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Thu Apr 29, 2010 11:28 pm

were you asked to login?
Top
m34n
n00b
n00b
Posts: 28
Joined: Mon Apr 05, 2010 4:02 pm

  • Quote

Post by m34n » Fri Apr 30, 2010 5:42 am

Yes, but couldn't. It fails after giving login name (root) - it's not possible to give password.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Fri Apr 30, 2010 12:58 pm

boot cd, mount the gentoo partitions, enter the chroot, enter a password for root, exit, reboot

Code: Select all

mount /dev/sda3 /mnt/gentoo #use your device names if different from sda1, sda3
mount /dev/sda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"
passwd
enter and confirm password for root
add a day to day user, if desired
# useradd -m -G users john
# passwd john
New password: (Enter john's password)
Re-enter password: (Re-enter john's password)
then

Code: Select all

nano /etc/passwd # check user name(s) in list
exit
reboot
Top
m34n
n00b
n00b
Posts: 28
Joined: Mon Apr 05, 2010 4:02 pm

  • Quote

Post by m34n » Fri Apr 30, 2010 4:28 pm

Hm.
Why do you think am I rookey? I know how can I use passwd and useradd.

When you type a name at login and hit enter, you always get another prompt to type the password also, but not at this case: after getting login name (<ENTER>) I get an error message and the same prompt ("login:_").

I do not think that, my problem is so simple as you suppose.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Fri Apr 30, 2010 6:52 pm

I get an error message
What is it?
Top
m34n
n00b
n00b
Posts: 28
Joined: Mon Apr 05, 2010 4:02 pm

  • Quote

Post by m34n » Fri Apr 30, 2010 7:44 pm

It's the same as I wrote in the subject.
I left a bit alone the computer and when returned read a strange message:
A new harddrive was detected and mounted on /dev/sdb. It's impossible. I have got only one and removed my boot pendrive (and USB mouse also).

I'm trying to install again (almost) as the step-by-step sais.
Why almost?
Because this is an ASUS X50RL notebook and has got two network card. The Ethernet card is Attensinc (Atheros) L2 which driver (atl2) doesn't exists on liveCD instead of Atheros ath5k which one is my wireless card. I added net.wlan0 also to the default runlevel correctly (linked it to net.lo). This is all the difference between step-by-step and my configuration.
I've choosen config_eth0=("dhcp") and config_wlan0=("dhcp") in /etc/conf.d/net and wrote an extra line: dns_domain_lo="thnet" # as "test home net" #. There is HOSTNAME="gemeany" in /etc/conf.d/hostname and added a line in /etc/hosts like this:
127.0.0.1 gemeany.thnet gemeany localhost
I've checked it many times (tought it is the problem) but never forgot it.

I suspected to forget load correct SATA or SCSI modules at kernel config, but checked and not found any mistake. Tried to load all of these (from module /etc/modules.autoload.d/kernel-2.6), but not solved.

I really do not know, what is the problem.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Fri Apr 30, 2010 7:56 pm

I think the system rescue cd will see both NIC's. rescue64 at the boot prompt for 64 bit.
Better yet, an ubuntu cd of the appropriate bitness should connect both. You will need to "sudo su -" and "mkdir /mnt/gentoo".
Last edited by DONAHUE on Fri Apr 30, 2010 9:59 pm, edited 1 time in total.
Top
M
Guru
Guru
Posts: 432
Joined: Tue Dec 12, 2006 11:59 am

  • Quote

Post by M » Fri Apr 30, 2010 8:10 pm

Hi, did you add syslog-ng to default runlevel? If you did boot some livecd and chroot again to your install and check and paste log files. You can emerge wgetpaste, it can help you to cat and paste relevant informations here.
Top
m34n
n00b
n00b
Posts: 28
Joined: Mon Apr 05, 2010 4:02 pm

  • Quote

Post by m34n » Fri Apr 30, 2010 8:28 pm

I am going to try both of two last. It 'make'-s the new kernel now, but I try to be very fast.

OK, then the last post before this:
I merged wgetpaste and started wgetpaste --help (there is no manual) how to use. I do not know, how can this helps.

Now it comes: boot from SystemRescueCD...
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Fri Apr 30, 2010 10:02 pm

example:
# wgetpaste /etc/fstab
Your paste can be seen here: http://dpaste.com/189602/
Top
m34n
n00b
n00b
Posts: 28
Joined: Mon Apr 05, 2010 4:02 pm

  • Quote

Post by m34n » Fri Apr 30, 2010 10:58 pm

Thanks. I'm late a bit.
I downloaded and wrote the SystemRescueCD to a CD-rom. It booted - once whole life and not anymore. I've hit the windows popup menu button on keyboard and had to power off, because keyboard turned off (I do not know why is there this bug at gentoo install disk, but hate). So, I need to create an usb stick to continue configuration.

Strange:
/dev/sdb still exists (USB stick is /dev/sdc and the partition is /dev/sdc1 - so not that one)
In output of lsscsi:
disk Generic- xD/SDMMC/MS/Pro /dev/sdb
Looks OK.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Fri Apr 30, 2010 11:31 pm

gentoo dousb dodhcp or rescue64 dousb dodhcp at boot prompt may work

generic-xD/SDMMC/MS/Pro is your sd card reader

an ubuntu link about its problems
Top
m34n
n00b
n00b
Posts: 28
Joined: Mon Apr 05, 2010 4:02 pm

  • Quote

Post by m34n » Sat May 01, 2010 1:23 am

DONAHUE wrote:gentoo dousb dodhcp or rescue64 dousb dodhcp at boot prompt may work
I do not know what does it help. I've got usb and dhcp setting is not possible still

Code: Select all

$ modprobe ath5k 
or

Code: Select all

$ modprobe atl2
if I use SystemRescueCD
generic-xD/SDMMC/MS/Pro is your sd card reader

an ubuntu link about its problems
How does it help? I'm not sure this is the main problem...
... but I've got an idea (its not new):

I want to see boot process step by step - maybe that helps. Little problem: not found a list of boot options (any) on internet. Does somebody know one or other way to read info about my boot process? There is no /var/log/boot.log or any other boot.log on harddisk - boot process stops before could write that, I think.

An intresting message:
I tried to bootup many ways from SystemRescueCD. One of these is booting an existing operating system on harddrive. It stops with this message:

Code: Select all

...
Attempting to mount device: /dev/sda3
File /sbin/init found on device /dev/sda3
Checking /sbin/init can be executed by the kernel...
/sbin/init on the root filesystem is an ELF32 binary
The current running kernel architecture is i686
Executing /sbin/init from the root filesystem...
INIT: version 2.87 booting
INIT: Entering runlevel: 3

# And now it comes without mounting other partitions:

This is (none).unknown_domain (Linux i686 2.6.32-11-std152-i386) # time here #

(none) login: _

# logging is still not possible of course
Problem is still the same.

Before I miss:
Here are some of my config files:
/etc/mtab http://dpaste.com/189612/
/etc/hosts http://dpaste.com/189613/
/etc/conf.d/hostname http://dpaste.com/189614/
/etc/conf.d/net http://dpaste.com/189615/
/etc/make.conf http://dpaste.com/189620/
`lspci` http://dpaste.com/189621/
`lsusb` http://dpaste.com/189623/
`lshw` http://dpaste.com/189624/
/etc/fstab http://dpaste.com/189636/
`fdisk -l /dev/sda` http://dpaste.com/189637/

.config is too large to share at http://dpaste.com/

If you need more, please write which one (exactly).
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Sat May 01, 2010 2:54 am

I suggest putting /bin back on the / partition, I am bothered by the coincidence of login problems and mounting problems and the nature of the programs residing in /bin
boot whatever you have that you boot with,

Code: Select all

mount /dev/sda3 /mnt/gentoo/
mount /dev/sda1 /mnt/gentoo/boot
mount /dev/sda5 /mnt/gentoo/binpartition
ls /mnt/gentoo/binpartition #verify you have files there, if you don't skip the next 3 lines
rm -rf /mnt/gentoo/bin #1
mkdir /mnt/gentoo/bin #2
cp -rf /mnt/gentoo/binpartition /mnt/gentoo/bin #3
nano /etc/fstab # and comment out #/dev/sda5 /bin ext3 noatime 0 1
reboot
BTW's
recommend comment out the cdrom line in /etc/fstab, it will interfere with automounting

atl2 is on the sysresccd though ath5k is apparently not

Before the reboot, you might want to check that the kernel hard drive controller drivers are configured as follows:
Device Drivers --->
< > ATA/ATAPI/MFM/RLL support --->
SCSI device support --->
*** SCSI support type (disk, tape, CD-ROM) ***
<*> SCSI disk support
< > SCSI tape support
< > SCSI OnStream SC-x0 tape support
<*> SCSI CDROM support
<*> Serial ATA (prod) and Parallel ATA (experimental) drivers --->
--- Serial ATA (prod) and Parallel ATA (experimental) drivers
[*] ATA ACPI Support
[ ] SATA Port Multiplier support
<*> AHCI SATA support
< > Silicon Image 3124/3132 SATA support
[*] ATA SFF support
< > ServerWorks Frodo / Apple K2 SATA support
< > Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
< > Marvell SATA support (HIGHLY EXPERIMENTAL)
< > NVIDIA SATA support
< > Pacific Digital ADMA support
< > Pacific Digital SATA QStor support
< > Promise SATA TX2/TX4 support
< > Promise SATA SX4 support
< > Silicon Image SATA support
< > SiS 964/965/966/180 SATA support
< > ULi Electronics SATA support
< > VIA SATA support
< > VITESSE VSC-7174 / INTEL 31244 SATA support
< > Initio 162x SATA support
< > ACPI firmware driver for PATA
< > ALi PATA support (Experimental)
< > AMD/NVidia PATA support
< > ARTOP 6210/6260 PATA support
<*> ATI PATA support
< > CMD640 PCI PATA support (Very Experimental)
< > CMD64x PATA support
< > CS5510/5520 PATA support
< > CS5530 PATA support (Experimental)
< > Cypress CY82C693 PATA support (Very Experimental)
< > EFAR SLC90E66 support
< > Generic ATA support
< > HPT 366/368 PATA support
< > HPT 370/370A/371/372/374/302 PATA support (Experimental)
< > HPT 372N/302N PATA support (Very Experimental)
< > HPT 343/363 PATA support
< > IT8211/2 PATA support
< > IT8213 PATA support (Experimental)
< > JMicron PATA support
< > Compaq Triflex PATA support
< > Marvell PATA support via legacy mode
< > Intel PATA MPIIX support
< > Intel PATA old PIIX support
< > NETCELL Revolution RAID support
< > Ninja32/Delkin Cardbus ATA support (Experimental)
< > Nat Semi NS87415 PATA support (Experimental)
< > OPTI621/6215 PATA support (Very Experimental)
< > OPTI FireStar PATA support (Very Experimental)
< > Older Promise PATA controller support (Experimental)
< > RADISYS 82600 PATA support (Very Experimental)
< > PC Tech RZ1000 PATA support
< > SC1200 PATA support (Very Experimental)
< > SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support
< > Promise PATA 2027x support
< > CMD / Silicon Image 680 PATA support
< > SiS PATA support (Experimental)
< > VIA PATA support
< > Winbond SL82C105 PATA support
< > Intel SCH PATA support
Top
m34n
n00b
n00b
Posts: 28
Joined: Mon Apr 05, 2010 4:02 pm

  • Quote

Post by m34n » Sat May 01, 2010 6:02 am

Really. It was the reason. Thanks for help.
I didn't write /bin to a separate partition by chance. Does somebody know, how is it possible? I think it works by a boot option - I think, not sure. I should be glad to find a list of available boot options.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Sat May 01, 2010 2:11 pm

Gentoo partitions and /etc/fstab have to be created by the human who is installing them. Possibly a 4:00 in the morning decision? Possibly you researched partition layouts before starting and got bad or even malicious advice? I would suspect that an initrd/initramfs could be used to make the separate /bin partition successful.
Top
m34n
n00b
n00b
Posts: 28
Joined: Mon Apr 05, 2010 4:02 pm

  • Quote

Post by m34n » Sun May 02, 2010 8:57 am

DONAHUE wrote:Gentoo partitions and /etc/fstab have to be created by the human who is installing them. Possibly a 4:00 in the morning decision?
I don't remember - sleep too few.
DONAHUE wrote: Possibly you researched partition layouts before starting and got bad or even malicious advice?
No. I used partitions like this on other linux distributions - where installing was automated, so I never had to dare and this way never suspected this mistake.
DONAHUE wrote: I would suspect that an initrd/initramfs could be used to make the separate /bin partition successful.
It's in cue. I'm going to solve it a bit later, because I'm searching an other answer on the internet:

I can write a really small bash script to setup my wifi. Now it is fixed to only one wifi router and it isn't accesable. But I do not know where can I run it automatically at boot. Of course it is not enough to run only at boot - the wifi connenction is not so calculable as wired: often lose, needs to be rescanned.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Sun May 02, 2010 1:47 pm

No. I used partitions like this on other linux distributions - where installing was automated, so I never had to dare and this way never suspected this mistake.
This is the answer. The auto install distro used an initrd/initramfs to do mounting and module selection before passing control to real_root.

Have you started another thread for the wireless network question under Networking & Security?
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Sun May 02, 2010 2:30 pm

The handbook Chapter 1 Section 8.b and The handbook Chapter 4 Section 4 provide the rudiments of the gentoo way of network wireless (which does work). I'll give you a shortcut

For purposes of example I will pretend I know your wireless interface is named eth1. Obviously you will substitute the actual name if you choose to use the suggestions below. I will give a full list of steps even though I know you have done some or all of them. I also assume dhcp will be used. If your script is run automatically at boot I suggest disabling that feature before trying:

Code: Select all

emerge wpa_supplicant wireless-tools dhcpcd
To /etc/conf.d/net add:
modules_eth1=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=15
config_eth1=( "dhcp" )
dhcpcd_eth1="-t 1" # Timeout after 10 seconds
make the symlink

Code: Select all

ln -s /etc/init.d/net.lo /etc/init.d/net.eth1
add to default run level (although this seems redundant if dbus and hal have been emerged and dbus and hald are in the default runlevel):

Code: Select all

rc-update add net.eth1 default
Put
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
in /etc/wpa_supplicant/wpa_supplicant.conf

Code: Select all

reboot
When rebooted, run:

Code: Select all

wpa_gui
this should produce a dialog box that will scan for and allow you to connect to wireless access points. Click the scan button to start. Double click the desired access point when scan finds it and configure and connect and save. save will add the selected network settings to wpa_supplicant.conf.
Top
m34n
n00b
n00b
Posts: 28
Joined: Mon Apr 05, 2010 4:02 pm

  • Quote

Post by m34n » Sun May 02, 2010 11:36 pm

DONAHUE wrote:
No. I used partitions like this on other linux distributions - where installing was automated, so I never had to dare and this way never suspected this mistake.
This is the answer. The auto install distro used an initrd/initramfs to do mounting and module selection before passing control to real_root.
Thanks. Do you know a complete list and discription of kernel boot options. I didn't found any yet.
DONAHUE wrote:Have you started another thread for the wireless network question under Networking & Security?
Not yet. I think it is not necessary if I find docs - have to search at first.

Maybe you suggest here (I do not use WPA at beginning - just step-by-step):
DONAHUE wrote:The handbook Chapter 1 Section 8.b and The handbook Chapter 4 Section 4 provide the rudiments of the gentoo way of network wireless (which does work). I'll give you a shortcut

For purposes of example I will pretend I know your wireless interface is named eth1. Obviously you will substitute the actual name if you choose to use the suggestions below. I will give a full list of steps even though I know you have done some or all of them. I also assume dhcp will be used. If your script is run automatically at boot I suggest disabling that feature before trying:

Code: Select all

emerge wpa_supplicant wireless-tools dhcpcd
To /etc/conf.d/net add:
modules_eth1=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=15
config_eth1=( "dhcp" )
dhcpcd_eth1="-t 1" # Timeout after 10 seconds
make the symlink

Code: Select all

ln -s /etc/init.d/net.lo /etc/init.d/net.eth1
add to default run level (although this seems redundant if dbus and hal have been emerged and dbus and hald are in the default runlevel):

Code: Select all

rc-update add net.eth1 default
Put
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
in /etc/wpa_supplicant/wpa_supplicant.conf

Code: Select all

reboot
When rebooted, run:

Code: Select all

wpa_gui
this should produce a dialog box that will scan for and allow you to connect to wireless access points. Click the scan button to start. Double click the desired access point when scan finds it and configure and connect and save. save will add the selected network settings to wpa_supplicant.conf.
I'm going to do it now and want to share the results here. I haven't got X win sys yet. Processing...
Top
Post Reply

29 posts
  • 1
  • 2
  • Next

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy