sysvinit-devel
[Top][All Lists]
Advanced

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

[sysvinit-devel] Init freezes on: close(2)


From: Mariusz Bialonczyk
Subject: [sysvinit-devel] Init freezes on: close(2)
Date: Thu, 23 Sep 2010 08:49:09 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.12) Gecko/20100824 Thunderbird/3.0.7

Hello
I have a problem with booting linux using INIT. More information below:
I have two identical boot devices (raid1 with ext4fs on it):
/dev/md0 on GPT partition table disk
/dev/md10 on old style msdos/mbr partition table
When i am passing to the kernel root=/dev/md10 - then all is fine (i
have 'INIT: version 2.88 booting' and the system is up in a while.
BUT: when i am passing root=/dev/md0 then the kernel launch init but
init freezes (i even don't have the INIT: version... output).
First i thought it is a kernel problem but... i put a lot of debuging
output to the init.c file using printf's and i can see that
init is running but it freeze!
I bisected the place of a problem - and it is hunging on line
close(2) in init_main(). I believe this is closing stderr, isn't it?
Do you suspect why i have such a weird behavior?
I also tryed to comment this line out - it helps a little because the
INIT goes further - but it hungs later on check_init_fifo() - at the
end on pause() (when the pipe could not be opened).
Please help me solve this issue.

My configuration:
arch: x86_64
boot manager: grub2
distro: debian testing
kernel: tested on 2.6.34 and 2.6.36-rc4

regards,
--
Mariusz Bialonczyk
jabber/e-mail: address@hidden
http://manio.skyboo.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]