Reboot problem

From: Aleksey Gorelov
Date: Wed Aug 11 2004 - 21:43:42 EST


Hello everybody,

I noticed a weird thing while running 2.4.27 on Sony VAIO PCG-K15
laptop with ALI M5229 IDE controller. If native ALI driver
(CONFIG_BLK_DEV_ALI15X3) is enabled, machine reboots nicely. However, if
it is disabled, and only generic IDE driver is used, reboot hangs inside
machine_restart() if /dev/hda1 has ever been mounted during the session.
Any clue? Logs for both cases are attached.

Thanks,
Aleks.
000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000d0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001bf70000 (usable)
BIOS-e820: 000000001bf70000 - 000000001bf7f000 (ACPI data)
BIOS-e820: 000000001bf7f000 - 000000001bf80000 (ACPI NVS)
BIOS-e820: 000000001bf80000 - 000000001c000000 (reserved)
BIOS-e820: 000000002bf80000 - 000000002c000000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
447MB LOWMEM available.
On node 0 totalpages: 114544
zone(0): 4096 pages.
zone(1): 110448 pages.
zone(2): 0 pages.
Sony Vaio laptop detected.
ACPI: RSDP (v000 PTLTD ) @ 0x000f6fc0
ACPI: RSDT (v001 SONY K7 0x06040000 LTP 0x00000000) @ 0x1bf7a842
ACPI: FADT (v001 SONY K7 0x06040000 PTL 0x000f4240) @ 0x1bf7ef64
ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06040000 LTP 0x00000001) @ 0x1bf7efd8
ACPI: DSDT (v001 SONY K7 0x06040000 MSFT 0x0100000e) @ 0x00000000
Kernel command line: root=/dev/ram ide1=noprobe ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobe ide6=noprobe

ide_setup: ide1=noprobe
ide_setup: ide2=noprobe
ide_setup: ide3=noprobe
ide_setup: ide4=noprobe
ide_setup: ide5=noprobe
ide_setup: ide6=noprobe
Initializing CPU#0
Detected 2791.120 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 5570.56 BogoMIPS
Memory: 449088k/458176k available (1001k kernel code, 8700k reserved, 246k data, 104k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebf9ff 00000000 00000000 00000000
CPU: Common caps: bfebf9ff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@xxxxxxxxxxxxx)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20040326
PCI: PCI BIOS revision 2.10 entry at 0xfd890, last bus=1
PCI: Using configuration type 1
ACPI: IRQ9 SCI: Edge set to Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: System [ACPI] (supports S0 S3 S4 S5)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNK0] (IRQs 4) *0, disabled.
ACPI: PCI Interrupt Link [LNK1] (IRQs 3) *11
ACPI: PCI Interrupt Link [LNK2] (IRQs 10) *11
ACPI: PCI Interrupt Link [LNK3] (IRQs 11) *0, disabled.
ACPI: PCI Interrupt Link [LNK4] (IRQs 6) *10
ACPI: PCI Interrupt Link [LNK5] (IRQs *11)
ACPI: PCI Interrupt Link [LNK6] (IRQs 9) *0, disabled.
ACPI: PCI Interrupt Link [LNK7] (IRQs 9) *11
ACPI: PCI Interrupt Link [LNK8] (IRQs 3 4 5 7 10 *11)
ACPI: Embedded Controller [EC0] (gpe 24)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
schedule_task(): keventd has not started
PCI: Probing PCI hardware
ACPI: PCI Interrupt Link [LNK6] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNK7] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNK0] enabled at IRQ 4
ACPI: PCI Interrupt Link [LNK2] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNK4] enabled at IRQ 6
ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 11
PCI: No IRQ known for interrupt pin A of device 00:0f.0
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 3
PCI: Using ACPI for IRQ routing
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
apm: overridden by ACPI.
Starting kswapd
NTFS driver v1.1.22 [Flags: R/W]
vesafb: framebuffer at 0xf0000000, mapped to 0xdc808000, size 3072k
vesafb: mode is 1024x768x16, linelength=2048, pages=41
vesafb: protected mode interface info at c000:51e3
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
PCI: Enabling device 00:03.0 (0000 -> 0003)
Redundant entry in serial pci_table. Please send the output of
lspci -vv, this message (10b9,5457,104d,8175)
and the manufacturer and name of serial board or modem board
to serial-pci-info@xxxxxxxxxxxxxxxxxxxxxx
register_serial(): autoconfig failed
Real Time Clock Driver v1.10f
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller at PCI slot 00:0f.0
PCI: No IRQ known for interrupt pin A of device 00:0f.0
ALI15X3: chipset revision 196
ALI15X3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x8080-0x8087, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x8088-0x808f, BIOS settings: hdc:DMA, hdd:pio
hda: TOSHIBA MK6021GAS, ATA DISK drive
blk: queue c02785e0, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 117210240 sectors (60012 MB), CHS=7296/255/63, UDMA(100)
Partition check:
hda: hda1 hda2
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
usb.c: registered new driver hub
ehci_hcd 00:0c.2: PCI device 1033:00e0
ehci_hcd 00:0c.2: irq 11, pci mem dcb09800
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:0c.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 5 ports detected
host/usb-uhci.c: $Revision: 1.275 $ time 18:15:24 Aug 11 2004
host/usb-uhci.c: High bandwidth mode enabled
host/usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
host/usb-ohci.c: USB OHCI at membase 0xdcb0b000, IRQ 10
host/usb-ohci.c: usb-00:0c.0, PCI device 1033:0035
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
host/usb-ohci.c: USB OHCI at membase 0xdcb0d000, IRQ 6
host/usb-ohci.c: usb-00:0c.1, PCI device 1033:0035
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@xxxxxxx>
hid-core.c: USB HID support drivers
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 2187k freed
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 104k freed
Linux version 2.4.27 (aleksey@xxxxxxxxxxxxxxxxx) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #9 Wed Aug 11 19:26:50 PDT 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000d0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001bf70000 (usable)
BIOS-e820: 000000001bf70000 - 000000001bf7f000 (ACPI data)
BIOS-e820: 000000001bf7f000 - 000000001bf80000 (ACPI NVS)
BIOS-e820: 000000001bf80000 - 000000001c000000 (reserved)
BIOS-e820: 000000002bf80000 - 000000002c000000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
447MB LOWMEM available.
On node 0 totalpages: 114544
zone(0): 4096 pages.
zone(1): 110448 pages.
zone(2): 0 pages.
Sony Vaio laptop detected.
ACPI: RSDP (v000 PTLTD ) @ 0x000f6fc0
ACPI: RSDT (v001 SONY K7 0x06040000 LTP 0x00000000) @ 0x1bf7a842
ACPI: FADT (v001 SONY K7 0x06040000 PTL 0x000f4240) @ 0x1bf7ef64
ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06040000 LTP 0x00000001) @ 0x1bf7efd8
ACPI: DSDT (v001 SONY K7 0x06040000 MSFT 0x0100000e) @ 0x00000000
Kernel command line: root=/dev/ram ide1=noprobe ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobe ide6=noprobe

ide_setup: ide1=noprobe
ide_setup: ide2=noprobe
ide_setup: ide3=noprobe
ide_setup: ide4=noprobe
ide_setup: ide5=noprobe
ide_setup: ide6=noprobe
Initializing CPU#0
Detected 2791.127 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 5570.56 BogoMIPS
Memory: 449100k/458176k available (998k kernel code, 8688k reserved, 244k data, 100k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebf9ff 00000000 00000000 00000000
CPU: Common caps: bfebf9ff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@xxxxxxxxxxxxx)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20040326
PCI: PCI BIOS revision 2.10 entry at 0xfd890, last bus=1
PCI: Using configuration type 1
ACPI: IRQ9 SCI: Edge set to Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: System [ACPI] (supports S0 S3 S4 S5)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNK0] (IRQs 4) *0, disabled.
ACPI: PCI Interrupt Link [LNK1] (IRQs 3) *11
ACPI: PCI Interrupt Link [LNK2] (IRQs 10) *11
ACPI: PCI Interrupt Link [LNK3] (IRQs 11) *0, disabled.
ACPI: PCI Interrupt Link [LNK4] (IRQs 6) *10
ACPI: PCI Interrupt Link [LNK5] (IRQs *11)
ACPI: PCI Interrupt Link [LNK6] (IRQs 9) *0, disabled.
ACPI: PCI Interrupt Link [LNK7] (IRQs 9) *11
ACPI: PCI Interrupt Link [LNK8] (IRQs 3 4 5 7 10 *11)
ACPI: Embedded Controller [EC0] (gpe 24)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
schedule_task(): keventd has not started
PCI: Probing PCI hardware
ACPI: PCI Interrupt Link [LNK6] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNK7] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNK0] enabled at IRQ 4
ACPI: PCI Interrupt Link [LNK2] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNK4] enabled at IRQ 6
ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 11
PCI: No IRQ known for interrupt pin A of device 00:0f.0
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 3
PCI: Using ACPI for IRQ routing
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
apm: overridden by ACPI.
Starting kswapd
NTFS driver v1.1.22 [Flags: R/W]
vesafb: framebuffer at 0xf0000000, mapped to 0xdc808000, size 3072k
vesafb: mode is 1024x768x16, linelength=2048, pages=41
vesafb: protected mode interface info at c000:51e3
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
PCI: Enabling device 00:03.0 (0000 -> 0003)
Redundant entry in serial pci_table. Please send the output of
lspci -vv, this message (10b9,5457,104d,8175)
and the manufacturer and name of serial board or modem board
to serial-pci-info@xxxxxxxxxxxxxxxxxxxxxx
register_serial(): autoconfig failed
Real Time Clock Driver v1.10f
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: TOSHIBA MK6021GAS, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 117210240 sectors (60012 MB), CHS=7296/255/63
Partition check:
hda: hda1 hda2
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
usb.c: registered new driver hub
ehci_hcd 00:0c.2: PCI device 1033:00e0
ehci_hcd 00:0c.2: irq 11, pci mem dcb09800
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:0c.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 5 ports detected
host/usb-uhci.c: $Revision: 1.275 $ time 19:27:11 Aug 11 2004
host/usb-uhci.c: High bandwidth mode enabled
host/usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
host/usb-ohci.c: USB OHCI at membase 0xdcb0b000, IRQ 10
host/usb-ohci.c: usb-00:0c.0, PCI device 1033:0035
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
host/usb-ohci.c: USB OHCI at membase 0xdcb0d000, IRQ 6
host/usb-ohci.c: usb-00:0c.1, PCI device 1033:0035
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@xxxxxxx>
hid-core.c: USB HID support drivers
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 2187k freed
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 100k freed