You are not logged in.

#1 2008-04-26 21:11:31

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

[SOLVED] 12min boot

Hi,

can you tell me what takes so long for boot process with this bootchart please? I think it's the scsi_id and cdrom_id, but I'm not sure. Here's the dmesg output.

Edit: Btw, booting stalls at some line, I don't know which one now, will add it later. It also stalls at the UDev line before entering login screen. My cdrom device node is also not present in /dev.

Thanks,
David

Last edited by dante4d (2008-05-21 20:30:15)

Offline

#2 2008-04-26 23:01:19

dschauer
Member
Registered: 2008-02-28
Posts: 95

Re: [SOLVED] 12min boot

That bootchart image is on your hard drive. file:///home/dante4d/bootchart.png

Offline

#3 2008-04-27 01:10:21

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: [SOLVED] 12min boot

rofl!

Offline

#4 2008-04-27 01:22:31

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: [SOLVED] 12min boot

As far as your dmesg goes, it looks like your cdrom or hardrive are having trouble. Try unplugging your cdrom and booting. Do you have trouble with a live cd like say knoppix? That could narrow it down to a driver bug. I've heard of the ata_piix module giving people trouble at one time and the way around it was to load it first during boot. Can't remember the exact syntax though or whether its necessary to do anymore...

Offline

#5 2008-04-27 12:12:27

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Re: [SOLVED] 12min boot

Bootchart link is fixed, these things do happen tongue. Aside form that, I'm gonna try "disconnecting my cdrom drive".

Edit:

T-Dawg wrote:

As far as your dmesg goes, it looks like your cdrom or hardrive are having trouble. Try unplugging your cdrom and booting.

I disabled cdrom drive in bios. Result is the same: bootchart, dmesg. This is the line in dmesg, where boot process stalls:

ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00e01800036e5c3c]

And later there goes line sayng like: "UDev processing took 180000 milliseconds." Roughly 3 minutes.

T-Dawg wrote:

Do you have trouble with a live cd like say knoppix? That could narrow it down to a driver bug. I've heard of the ata_piix module giving people trouble at one time and the way around it was to load it first during boot. Can't remember the exact syntax though or whether its necessary to do anymore...

I'll try that as soon as I have working live cd. So far, this worked without problems.

Edit2: Latest Knoppix Live DVD is over 4GB, so I tried booting latest Arch core iso. It booted without this problem, but the boot was also quite long. Dmesg of live cd. Boot hung at this line for very long:

iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection

I'm getting more confused hmm.

Last edited by dante4d (2008-04-27 13:43:58)

Offline

#6 2008-04-28 20:10:59

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: [SOLVED] 12min boot

it seems you can't connect to the network at boot, and this stalls the boot process.
try not loading(maybe blacklist) the module, and not start the network automatically at boot.
i don't know of a solution, but if this is the issue, then you'd be on the right track to a resolution

Offline

#7 2008-04-29 08:29:08

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [SOLVED] 12min boot

This is a really odd issue, there's definitely a bug here if udev is taking so long!

I've got no idea what's causing it. If you can get your hands on it, try and older kernel version.

Please file a bug at http://bugs.archlinux.org

Offline

#8 2008-05-01 16:49:33

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Re: [SOLVED] 12min boot

iphitus wrote:

This is a really odd issue, there's definitely a bug here if udev is taking so long!

I've got no idea what's causing it. If you can get your hands on it, try and older kernel version.

Please file a bug at http://bugs.archlinux.org

Ok, but first I would like to point out following (I have other hardware related issues now):
1) plugging in usb memory stick gradually hangs my system - I plug stick in, everything looks fine - except UDev does nothing, then my system becomes sluggish and finally hangs with hard reset only way out
2) my cdrom drive is not detected - you can check out my bootchart here
3) sd card reader is not working any more

My boot process stalls on one of these lines each time:

drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00e01800036e5c3c]
Loading UDev uevents

To me it looks like something went wrong with UDev, but I don't have enough experience with this to examine into much depth.

Edit: I have package kernel26-2.6.22.9-1-i686.pkg.tar.gz. I'll try that one.

Last edited by dante4d (2008-05-01 19:12:20)

Offline

#9 2008-05-01 20:59:18

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Re: [SOLVED] 12min boot

iphitus wrote:

This is a really odd issue, there's definitely a bug here if udev is taking so long!

I've got no idea what's causing it. If you can get your hands on it, try and older kernel version.

Please file a bug at http://bugs.archlinux.org

So I decided not to try older kernel as of dependencies... I don't want to risk messing something up now. But, I disabled USB, 1394 and Secondary IDE (cdrom uses this) in BIOS and UDev finished in 3 seconds and no stalls. Basically, only this combination works, looks like each of these causes UDev or something to wait for minutes...

I suggest that even if my hardware was broken, UDev shouldn't wait for something for so long, right?

If I understand correctly, I can try to blacklist specific modules for this HW and load them explicitly in rc.conf and that would omit them from UDev thing/"detection"?

After I'm sure whats happening here, I'll file a bug.

Thanks

Edit: while browsing Flyspray I found this bug, which also applies for me. My printer is no longer detected.

Last edited by dante4d (2008-05-01 21:13:09)

Offline

#10 2008-05-04 15:46:27

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Re: [SOLVED] 12min boot

iphitus wrote:

This is a really odd issue, there's definitely a bug here if udev is taking so long!

I've got no idea what's causing it. If you can get your hands on it, try and older kernel version.

Please file a bug at http://bugs.archlinux.org

Ok. Here: FS#10357. I forgot to change the category roll. Can I edit it? I know it's stupid...

Last edited by dante4d (2008-05-04 15:46:52)

Offline

#11 2008-05-08 22:26:22

inXistant
Member
From: Montreal, Canada
Registered: 2008-04-11
Posts: 51
Website

Re: [SOLVED] 12min boot

Left a message on the bug thread:

"" I forgot to mention, that the boot stops for all that time during one of these lines:
ieee1394: Host added: ID:BUS[0-00:1023] GUID[00e01800036e5c3c]
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection "

This is because your laptop tries to connect to some network and doesn't find anything. Try to disable your automatic connexion in rc.conf. Then, there is likely to be a bad module code causing the oops. Try to deactivate all the modules with a '!' in front of them on your module line in rc.conf. Then activate them one by one to see which is the one that cause the oops.

Hope this help. "

-- I leave it here just in case you didn't subscribe there...


Nothing is sacred

Offline

#12 2008-05-13 16:33:47

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Re: [SOLVED] 12min boot

inXistant wrote:

Left a message on the bug thread:

"" I forgot to mention, that the boot stops for all that time during one of these lines:
ieee1394: Host added: ID:BUS[0-00:1023] GUID[00e01800036e5c3c]
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection "

This is because your laptop tries to connect to some network and doesn't find anything. Try to disable your automatic connexion in rc.conf. Then, there is likely to be a bad module code causing the oops. Try to deactivate all the modules with a '!' in front of them on your module line in rc.conf. Then activate them one by one to see which is the one that cause the oops.

Hope this help. "

-- I leave it here just in case you didn't subscribe there...

I subscribed. But hey, thanks. Anyways, that really can't be the case as I pinned it down to the dvd driver. Now I'm learning how to post useful kernel bug report... If it's really a bug. I think it is...

Offline

#13 2008-05-21 20:29:58

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Re: [SOLVED] 12min boot

Hell yea, I just tried new kernel from [testing] and everything got fixed up by itself. No more sluggish boots and broken devices. Gotta love kernel developers smile.

Offline

#14 2008-05-21 20:41:36

inXistant
Member
From: Montreal, Canada
Registered: 2008-04-11
Posts: 51
Website

Re: [SOLVED] 12min boot

Cool! I'm happy for you.


Nothing is sacred

Offline

#15 2008-05-25 19:57:10

kclive18
Member
From: Columbus, Ohio, USA
Registered: 2008-05-08
Posts: 219

Re: [SOLVED] 12min boot

I may try installing the testing kernel.  Are you having any stability issues with that kernel, dante4d?


My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! tongue, OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686 cool
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor

Offline

#16 2008-05-25 20:45:37

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Re: [SOLVED] 12min boot

inXistant wrote:

Cool! I'm happy for you.

Thanks smile

kclive18 wrote:

I may try installing the testing kernel.  Are you having any stability issues with that kernel, dante4d?

Well, none so far. Everything seems to be pretty fine. All hardware issues seem to be fixed now. Only problem is alsa - which is not working since 3-4 versions back for me - and SD card reader. I tried compiling the drivers in, but that didn't help. That's for the Asus F3JC. As soon as I got the alsa working fine, I'll be completely happy.
So I from my point of view, surely go for it. Or make parallel install of kernel (ie. wiki, custom kernel).

Btw, I heard that alsa project founder lives in same city as I do in Czech Republic smile. But he's surely 100% busy with his own stuff.

Offline

#17 2008-05-25 22:56:10

kclive18
Member
From: Columbus, Ohio, USA
Registered: 2008-05-08
Posts: 219

Re: [SOLVED] 12min boot

Actually, I fixed this problem on my laptop without having to install the testing kernel.  What I did was turn MOD_AUTOLOAD off in /etc/rc.conf.  Then I ran hwdetect --modules to make a list of modules suitable for my system.  After that, I copied what hwdetect spit out for me and put it in the MODULES array in /etc/rc.conf.  I had to replace bcm43xx with b43 in MODULEs to get my wireless firmware working.  Now it boots nice and fast! smile

Last edited by kclive18 (2008-05-25 22:56:36)


My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! tongue, OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686 cool
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor

Offline

#18 2008-05-26 12:02:12

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Re: [SOLVED] 12min boot

kclive18 wrote:

Actually, I fixed this problem on my laptop without having to install the testing kernel.  What I did was turn MOD_AUTOLOAD off in /etc/rc.conf.  Then I ran hwdetect --modules to make a list of modules suitable for my system.  After that, I copied what hwdetect spit out for me and put it in the MODULES array in /etc/rc.conf.  I had to replace bcm43xx with b43 in MODULEs to get my wireless firmware working.  Now it boots nice and fast! smile

I didn't try that. And I think this wouldn't help me.

Offline

Board footer

Powered by FluxBB