Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#10357 - lenghty boot; broken usb, dvd, card reader, ieee1394

Attached to Project: Arch Linux
Opened by David Hájek (dante4d) - Sunday, 04 May 2008, 15:41 GMT
Last edited by Greg (dolby) - Tuesday, 13 May 2008, 20:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Critical
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: My boot takes over 10 minutes to reach login screen. It's most probably caused by udev, because after processing, udev shows it took about 180 seconds to load. Dvd drive device nodes don't exist any more. Usb is also broken for some hardware - my printer is not detected and memory sticks lock up the system. Also with ieee1394 and sd card reader there is probably something wrong.

Having disabled secondary ide, usb, ieee1394 and card reader solved the lenghty boot. But now of course I can't use even the stuff that worked, which was usb logitech mouse.

Some more info here: http://bbs.archlinux.org/viewtopic.php?id=47729

Additional info:
My laptop is an ASUS F3JC.

kernel 2.6.24
udev 119-1

Bootchart, dmesgo output and mkinitcipio.conf are attached.

[root ~]$ uname -a
Linux one 2.6.24-ARCH #1 SMP PREEMPT Tue Apr 15 00:19:10 CEST 2008 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz GenuineIntel GNU/Linux

[root ~]$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300] (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

Steps to reproduce:
turn on all hardware in bios and boot my laptop
This task depends upon

Closed by  Greg (dolby)
Tuesday, 13 May 2008, 20:57 GMT
Reason for closing:  Won't fix
Comment by David Hájek (dante4d) - Sunday, 04 May 2008, 15:59 GMT
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
Comment by Tobias Powalowski (tpowa) - Monday, 05 May 2008, 18:26 GMT
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000200
printing eip: c02c5a31 *pde = 00000000
Oops: 0002 [#1] PREEMPT SMP
Modules linked in: sr_mod cdrom sd_mod pata_acpi ehci_hcd uhci_hcd usbcore ata_piix ata_generic libata

Pid: 1172, comm: cdrom_id Not tainted (2.6.24-ARCH #1)
EIP: 0060:[<c02c5a31>] EFLAGS: 00010246 CPU: 1
EIP is at scsi_normalize_sense+0x41/0x100
EAX: 00000000 EBX: f7d81480 ECX: 00000002 EDX: 00000060
ESI: 00000060 EDI: 00000200 EBP: 00000200 ESP: f769bc5c
DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
Process cdrom_id (pid: 1172, ti=f769a000 task=f773cff0 task.ti=f769a000)
Stack: 00000000 f7d81480 00000003 f769bcbe c02c976b 00000000 00000000 f7d81480
00002328 00000003 00000000 f7dba000 00000003 00000200 00000001 f7dba000
c02c983f 00000000 00000000 00000200 00002328 00000003 00002328 01000001

you encounter a kernel oops during boot, that can delay a lot.
Comment by David Hájek (dante4d) - Tuesday, 06 May 2008, 19:43 GMT
Ok, so what can I do to fix this? Is it a bug somewhere inside the driver or can it be solved some other way?
Comment by Eric Oliver Paquette (inxistant) - Thursday, 08 May 2008, 22:25 GMT
" 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.
Comment by David Hájek (dante4d) - Friday, 09 May 2008, 10:49 GMT
I don't use any boot time networking. Also, in modules, I have only asus-laptop, usblp and vboxdrv. As I wrote above, if I disabled problematic hardware, this problem disappeared. So it's clearly problem with the cdrom driver od ieee1394. The usb problem disappeared. I reactivated it in BIOS and everything works fine.
Comment by David Hájek (dante4d) - Friday, 09 May 2008, 14:31 GMT
Ok, I did some experimenting. Everything is caused by the broken dvd driver. If I disable it in BIOS, I can boot my system smoothly. If I leave it turned on, I get that oops while loading dvd driver. Moreover, boot hangs at one of the forementioned lines. It's seems to randomly stall at some usb or ieee1394 line.

My fallback kernel image is also affected by this problem.

I tried booting latest arch live cd (2007.08-2) and it goes fine. No problems at all. So this isn't hardware problem (which can also cause kernel oops I suppose).

Loading...