Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137552 - System get stuck while booting up if any USB device is pluged in
Summary: System get stuck while booting up if any USB device is pluged in
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-22 02:02 UTC by Pavel Krizek
Modified: 2006-07-10 05:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Krizek 2006-06-22 02:02:14 UTC
Hi,
I have motherboard with SIS 756 + SIS 964L chipset (Asus A6Km-Q010 laptop). If any USB device is pluged in, system get stuck while booting up, see dmesg. Same problem has Gentoo 2005.1 and 2006.0 instalation CD for AMD64.

Other observed problems with USB:

1) USB support has to be compiled as a module and modprobed later on. If it is build into kernel, booting get stuck even without plugged USB devices (I think here, the problem is with ehci-hcd driver).

2) Gentoo 2006.0 installation CD has to be run with "nousb" option, otherwise
only blank screen appears after bzImage load and system get stuck. USB drivers are modprobed automaticaly later on anyway.

Regards
          Pavel

----- dmesg  ------

Bootdata ok (command line is root=/dev/hda2)
Linux version 2.6.16-gentoo-r9 (root@turion) (gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)) #2 Wed Jun 21 22:52:50 CEST 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001ffd0000 (usable)
 BIOS-e820: 000000001ffd0000 - 000000001ffde000 (ACPI data)
 BIOS-e820: 000000001ffde000 - 0000000020000000 (ACPI NVS)
 BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
ACPI: RSDP (v000 ACPIAM                                ) @ 0x00000000000f7870
ACPI: RSDT (v001 A M I  OEMRSDT  0x05000608 MSFT 0x00000097) @ 0x000000001ffd0000
ACPI: FADT (v002 A M I  OEMFACP  0x05000608 MSFT 0x00000097) @ 0x000000001ffd0200
ACPI: MADT (v001 A M I  OEMAPIC  0x05000608 MSFT 0x00000097) @ 0x000000001ffd0390
ACPI: MCFG (v001 A M I  OEMMCFG  0x05000608 MSFT 0x00000097) @ 0x000000001ffd03f0
ACPI: OEMB (v001 A M I  AMI_OEM  0x05000608 MSFT 0x00000097) @ 0x000000001ffde040
ACPI: DSDT (v001  1ABZX 1ABZX001 0x00000001 INTL 0x02002026) @ 0x0000000000000000
No mptable found.
On node 0 totalpages: 128274
  DMA zone: 3081 pages, LIFO batch:0
  DMA32 zone: 125193 pages, LIFO batch:31
  Normal zone: 0 pages, LIFO batch:0
  HighMem zone: 0 pages, LIFO batch:0
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:4 APIC version 16
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 20, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Setting APIC routing to flat
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 30000000 (gap: 20000000:df780000)
Checking aperture...
CPU 0: aperture @ 6180000000 size 32 MB
Aperture from northbridge cpu 0 too small (32 MB)
No AGP bridge found
Built 1 zonelists
Kernel command line: root=/dev/hda2
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 65536 bytes)
time.c: Using 3.579545 MHz WALL PM GTOD PIT/TSC timer.
time.c: Detected 1800.103 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Memory: 512000k/524096k available (2062k kernel code, 11476k reserved, 889k data, 176k init)
Calibrating delay using timer specific routine.. 3604.50 BogoMIPS (lpj=7209001)
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: AMD Turion(tm) 64 Mobile Technology MT-32 stepping 02
Using local APIC timer interrupts.
result 12500722
Detected 12.500 MHz APIC timer.
testing NMI watchdog ... OK.
DMI 2.3 present.
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
PCI: Using MMCONFIG at e0000000
ACPI: Subsystem revision 20060127

>>>>>>>>>>>>                                           <<<<<<<<<<<<<<<<<
>>>>>>>>>>>> Here it get stuck with pluged USB device  <<<<<<<<<<<<<<<<<
>>>>>>>>>>>>                                           <<<<<<<<<<<<<<<<<

ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: Embedded Controller [EC0] (gpe 25) interrupt mode.
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 *5 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 *4 5 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 *5 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 *5 7 10 11 12 14 15)
ACPI: Power Resource [GFAN] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 14 devices
SCSI subsystem initialized

etc.

------   emerge --info   ----------

Portage 2.1 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Turion(tm) 64 Mobile Technology MT-32
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="cs_CZ"
LC_ALL="cs_CZ"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa avi berkdb bitmap-fonts cdr cli crypt cups dri dvd dvdr eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 ieee1394 imlib ipv6 isdnlog jpeg lm_sensors lzw lzw-tiff mp3 mpeg ncurses nls nptl nsplugin nvidia opengl pam pcmcia pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb userlocales xorg xpm xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Pavel Krizek 2006-06-25 00:35:59 UTC
Hmm, I found that it might be a BIOS problem. See https://launchpad.net/products/linux/+bug/36583
http://bugzilla.kernel.org/show_bug.cgi?id=6208
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2006-07-01 09:01:01 UTC
Are there any bios updates available?
Comment 3 Pavel Krizek 2006-07-08 05:27:04 UTC
As far as I found, there are bugs in DSDT even in newes BIOS updates. It seem fixing DSDT helps to solve this problem.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2006-07-09 11:34:32 UTC
Is that a "no, there are no BIOS updates available"?
Comment 5 Pavel Krizek 2006-07-10 05:55:02 UTC
There are new BIOS updates available for this laptop. Unfortunately,they still contain bugs in DSDT, particularly in USB part, and linux cannot handle it. I found that several other people experienced the same problem with this laptop 
with various linux distibutions. I think I'll mark this bug as fixed because it's not a problem of linux but Asus developers. USB problems can be solved by repairing DSDT and compliling it into kernel or by initrd DSDT overide. There is how to on http://gentoo-wiki.com/HOWTO_Fix_Common_ACPI_Problems
Regards
        Pavel