* Bug in 2.6.29 ide-cd: Kernel freeze: bisected + unacceptable workaround
@ 2009-03-29 19:25 Michael Roth
2009-03-29 20:13 ` Borislav Petkov
0 siblings, 1 reply; 13+ messages in thread
From: Michael Roth @ 2009-03-29 19:25 UTC (permalink / raw)
To: linux-kernel; +Cc: Borislav Petkov, Bartlomiej Zolnierkiewicz
Hello,
first, thank you for your great work on the kernel!
Second, I have an issue:
I tried 2.6.29 but my maschine is always freezing after 2 minutes
and about 10 seconds running.
So I bisected that beast and found the cause (?):
commit 1e91477aa335fc1c97eb15649ed1a1714cc758ec
Author: Borislav Petkov <petkovbb@gmail.com>
Date: Tue Jan 6 17:20:57 2009 +0100
ide-cd: start DMA before sending the actual packet command
as it is done for all other IDE ATAPI devices.
There should be no functionality change resulting from this patch.
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
I tried to revert this patch in 2.6.29 but the revert produced a merge
conflict and I don't have the knowledge to resolve this conflict.
So as a quick workaround I disabled ide-cd in my kernel config:
# CONFIG_BLK_DEV_IDECD is not set
which does the trick but is of course no solution. (I'm writing
this email with 2.6.29 and disabled ide-cd.)
My CD is a ide dvd drive attached to an promise pci-controller:
$ /usr/sbin/lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:09.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
00:0a.0 Mass storage controller: Promise Technology, Inc. 20269 (rev 02)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01)
01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (Secondary) (rev 01)
The git bisect log is:
# bad: [8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84] Linux 2.6.29
# good: [4a6908a3a050aacc9c3a2f36b276b46c0629ad91] Linux 2.6.28
git bisect start 'v2.6.29' 'v2.6.28'
# good: [2774de17ba65130165a2cbca92e5a685581f7916] Staging: benet: build is broken unless CONFIG_NETPOLL is enabled
git bisect good 2774de17ba65130165a2cbca92e5a685581f7916
# bad: [9219a3b9889dbc7dae68e472f239672ff48860b0] Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
git bisect bad 9219a3b9889dbc7dae68e472f239672ff48860b0
# bad: [97d61b8e3aef163a75f80f4762794c154572293d] Merge branch 'bkl-removal' of git://git.lwn.net/linux-2.6
git bisect bad 97d61b8e3aef163a75f80f4762794c154572293d
# bad: [06af15e086e39a5a2a2413973a64af8e10122f28] Blackfin arch: fix bug - BF527 0.2 silicon has different CPUID (DSPID) value
git bisect bad 06af15e086e39a5a2a2413973a64af8e10122f28
# bad: [40d7ee5d162203b40b5f4fbb312ab016edddb97f] Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6
git bisect bad 40d7ee5d162203b40b5f4fbb312ab016edddb97f
# good: [51ca58dcc9f0d6b1e78954d08bd4954fb6a1421c] eCryptfs: Filename Encryption: Encoding and encryption functions
git bisect good 51ca58dcc9f0d6b1e78954d08bd4954fb6a1421c
# bad: [59e3af21e94bd56f6a31ba774786a2bfc753581b] Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
git bisect bad 59e3af21e94bd56f6a31ba774786a2bfc753581b
# good: [e953ac2195659940d0d042f7ac962700a6a0f0e3] ipc: do not goto to the next line
git bisect good e953ac2195659940d0d042f7ac962700a6a0f0e3
# bad: [9600dcf1347d304cf4dff34ef50569d6584b6968] ide: make "paranoia" ->handler check in ide_intr() more strict
git bisect bad 9600dcf1347d304cf4dff34ef50569d6584b6968
# good: [7f3c868ba78e486bd9d7569f884dd46d8f59bb18] ide: remove ide_driver_t typedef
git bisect good 7f3c868ba78e486bd9d7569f884dd46d8f59bb18
# good: [a32296f93821497d794ab8e1312d677717479777] ide: NUMA aware allocation of host and port structures
git bisect good a32296f93821497d794ab8e1312d677717479777
# good: [744a82b004b0a08d55f579daa55e32d963353edc] ide: Fix drive's DWORD-IO handling
git bisect good 744a82b004b0a08d55f579daa55e32d963353edc
# bad: [1e91477aa335fc1c97eb15649ed1a1714cc758ec] ide-cd: start DMA before sending the actual packet command
git bisect bad 1e91477aa335fc1c97eb15649ed1a1714cc758ec
# good: [7a38f3cf019c4187d3d0e757e1c11b2b460e5b57] ide-cd: wait for DRQ to get set per default
git bisect good 7a38f3cf019c4187d3d0e757e1c11b2b460e5b57
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: Bug in 2.6.29 ide-cd: Kernel freeze: bisected + unacceptable workaround 2009-03-29 19:25 Bug in 2.6.29 ide-cd: Kernel freeze: bisected + unacceptable workaround Michael Roth @ 2009-03-29 20:13 ` Borislav Petkov 2009-03-29 21:37 ` Michael Roth 0 siblings, 1 reply; 13+ messages in thread From: Borislav Petkov @ 2009-03-29 20:13 UTC (permalink / raw) To: Michael Roth; +Cc: linux-kernel, Bartlomiej Zolnierkiewicz Hi Michael, On Sun, Mar 29, 2009 at 09:25:30PM +0200, Michael Roth wrote: > > commit 1e91477aa335fc1c97eb15649ed1a1714cc758ec > Author: Borislav Petkov <petkovbb@gmail.com> > Date: Tue Jan 6 17:20:57 2009 +0100 > > ide-cd: start DMA before sending the actual packet command > > as it is done for all other IDE ATAPI devices. > > There should be no functionality change resulting from this patch. > > Signed-off-by: Borislav Petkov <petkovbb@gmail.com> > Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> > > > I tried to revert this patch in 2.6.29 but the revert produced a merge > conflict and I don't have the knowledge to resolve this conflict. Well, its kinda strange that this piece of code could be the problem since the bits it touches are gone (this'll explain the confict when attempting to revert the patch.) Can we please see a dmesg of a working kernel on your machine and also is it possible to catch any kernel output of the crash, any oops or something when your machine freezes - the more the better. Probably over a serial console would be best but photographed with a digicam and uploaded somewhere as a screenshot would do too. > So as a quick workaround I disabled ide-cd in my kernel config: > > # CONFIG_BLK_DEV_IDECD is not set > > which does the trick but is of course no solution. (I'm writing > this email with 2.6.29 and disabled ide-cd.) You could also try the following patch to see whether that is of any help: --- diff --git a/drivers/ide/ide-atapi.c b/drivers/ide/ide-atapi.c index e9d042d..99fb0b0 100644 --- a/drivers/ide/ide-atapi.c +++ b/drivers/ide/ide-atapi.c @@ -567,10 +567,7 @@ static ide_startstop_t ide_transfer_pc(ide_drive_t *drive) timeout, expiry); /* Begin DMA, if necessary */ - if (dev_is_idecd(drive)) { - if (drive->dma) - hwif->dma_ops->dma_start(drive); - } else { + if (!dev_is_idecd(drive)) { if (pc->flags & PC_FLAG_DMA_OK) { pc->flags |= PC_FLAG_DMA_IN_PROGRESS; hwif->dma_ops->dma_start(drive); @@ -581,6 +578,12 @@ static ide_startstop_t ide_transfer_pc(ide_drive_t *drive) if ((drive->atapi_flags & IDE_AFLAG_ZIP_DRIVE) == 0) hwif->tp_ops->output_data(drive, NULL, rq->cmd, cmd_len); + /* Begin DMA, if necessary */ + if (dev_is_idecd(drive)) { + if (drive->dma) + hwif->dma_ops->dma_start(drive); + } + return ide_started; } -- Thanks. -- Regards/Gruss, Boris. ^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: Bug in 2.6.29 ide-cd: Kernel freeze: bisected + unacceptable workaround 2009-03-29 20:13 ` Borislav Petkov @ 2009-03-29 21:37 ` Michael Roth 2009-03-30 7:27 ` Borislav Petkov 0 siblings, 1 reply; 13+ messages in thread From: Michael Roth @ 2009-03-29 21:37 UTC (permalink / raw) To: petkovbb, Michael Roth, linux-kernel, Bartlomiej Zolnierkiewicz Hello Borislav, thank you for your help. Borislav Petkov schrieb: > Can we please see a dmesg of a working > kernel on your machine Sure, dmesg output appended beneath. I also added the dmesg output of the patched kernel. See below. > and also is it possible to catch any kernel output of the crash > any oops or something when your machine freezes - the more the better. There aren't any messages, neither on the console nor in the syslog. The kernel simple freeze, cursor on the console stops blinking, no more ide activity. I have to hit the reset-bottom to restart. > Probably over a serial console would be best but photographed > with a digicam and uploaded somewhere as a screenshot would do too. I will do that on request, but it will take some time (about days) because currently I don't have access to a second computer or so. > You could also try the following patch to see whether that is of any > help: Your patch helps perfectly. I'm writing this email on the patched 2.6.29. I also tested CD and DVD access: They work well. Burning not tested but I assume it will work too. Ok, here the dmesg of the original 2.6.29 with deactivated idecd: Linux version 2.6.29 (root@nautilus) (gcc version 4.3.3 (Gentoo 4.3.3-r1) ) #6 PREEMPT Sun Mar 29 20:11:02 CEST 2009 KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD NSC Geode by NSC Cyrix CyrixInstead Centaur CentaurHauls Transmeta GenuineTMx86 Transmeta TransmetaCPU UMC UMC UMC UMC BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003fff0000 (usable) BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS) BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) DMI 2.2 present. Phoenix BIOS detected: BIOS may corrupt low RAM, working around it. last_pfn = 0x3fff0 max_arch_pfn = 0x100000 x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106 kernel direct mapping tables up to 377fe000 @ 10000-15000 RAMDISK: 37e7d000 - 37fef7fa Allocated new RAMDISK: 005d8000 - 0074a7fa Move RAMDISK from 0000000037e7d000 - 0000000037fef7f9 to 005d8000 - 0074a7f9 ACPI: RSDP 000F6F30, 0014 (r0 VKT333) ACPI: RSDT 3FFF3000, 002C (r1 VKT333 AWRDACPI 42302E31 AWRD 0) ACPI: FACP 3FFF3040, 0074 (r1 VKT333 AWRDACPI 42302E31 AWRD 0) FADT: X_PM1a_EVT_BLK.bit_width (16) does not match PM1_EVT_LEN (4) ACPI: DSDT 3FFF30C0, 3E82 (r1 VKT333 AWRDACPI 1000 MSFT 100000D) ACPI: FACS 3FFF0000, 0040 ACPI: APIC 3FFF6F80, 0054 (r1 VKT333 AWRDACPI 42302E31 AWRD 0) ACPI: Local APIC address 0xfee00000 135MB HIGHMEM available. 887MB LOWMEM available. mapped low ram: 0 - 377fe000 low ram: 00000000 - 377fe000 bootmap 00011000 - 00017f00 (7 early reservations) ==> bootmem [0000000000 - 00377fe000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] #1 [0000100000 - 00005d4f2c] TEXT DATA BSS ==> [0000100000 - 00005d4f2c] #2 [00005d5000 - 00005d8000] INIT_PG_TABLE ==> [00005d5000 - 00005d8000] #3 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000] #4 [0000010000 - 0000011000] PGTABLE ==> [0000010000 - 0000011000] #5 [00005d8000 - 000074a7fa] NEW RAMDISK ==> [00005d8000 - 000074a7fa] #6 [0000011000 - 0000018000] BOOTMAP ==> [0000011000 - 0000018000] Zone PFN ranges: DMA 0x00000010 -> 0x00001000 Normal 0x00001000 -> 0x000377fe HighMem 0x000377fe -> 0x0003fff0 Movable zone start PFN for each node early_node_map[2] active PFN ranges 0: 0x00000010 -> 0x0000009f 0: 0x00000100 -> 0x0003fff0 On node 0 totalpages: 262015 free_area_init_node: node 0, pgdat c052f380, node_mem_map c1000200 DMA zone: 32 pages used for memmap DMA zone: 0 pages reserved DMA zone: 3951 pages, LIFO batch:0 Normal zone: 1744 pages used for memmap Normal zone: 221486 pages, LIFO batch:31 HighMem zone: 272 pages used for memmap HighMem zone: 34530 pages, LIFO batch:7 ACPI: PM-Timer IO Port: 0x4008 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 2, version 3, 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 dfl dfl) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Enabling APIC mode: Flat. Using 1 I/O APICs Using ACPI (MADT) for SMP configuration information nr_irqs_gsi: 24 Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000) Built 1 zonelists in Zone order, mobility grouping on. Total pages: 259967 Kernel command line: crypt_root=/dev/vg1/root.crypt dolvm lvmraid=/dev/md3 video=radeonfb Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 16384 bytes) Fast TSC calibration using PIT Detected 1994.344 MHz processor. Console: colour VGA+ 80x25 console [tty0] enabled Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1032240k/1048512k available (3184k kernel code, 15444k reserved, 1134k data, 324k init, 139208k highmem) virtual kernel memory layout: fixmap : 0xfffac000 - 0xfffff000 ( 332 kB) pkmap : 0xff800000 - 0xffc00000 (4096 kB) vmalloc : 0xf7ffe000 - 0xff7fe000 ( 120 MB) lowmem : 0xc0000000 - 0xf77fe000 ( 887 MB) .init : 0xc053a000 - 0xc058b000 ( 324 kB) .data : 0xc041c29f - 0xc0537d40 (1134 kB) .text : 0xc0100000 - 0xc041c29f (3184 kB) Checking if this processor honours the WP bit even in supervisor mode...Ok. Calibrating delay loop (skipped), value calculated using timer frequency.. 3988.68 BogoMIPS (lpj=1994344) Mount-cache hash table entries: 512 CPU: CLK_CTL MSR was 60031223. Reprogramming to 20031223 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: AMD Athlon(tm) XP 2400+ stepping 01 Checking 'hlt' instruction... OK. Freeing SMP alternatives: 0k freed ACPI: Core revision 20081204 ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 net_namespace: 932 bytes NET: Registered protocol family 16 ACPI: bus type pci registered PCI: PCI BIOS revision 2.10 entry at 0xfb3b0, last bus=1 PCI: Using configuration type 1 for base access bio: create slab <bio-0> at 0 ACPI: EC: Look up EC in DSDT ACPI: Interpreter enabled ACPI: (supports S0 S5) ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) pci 0000:00:00.0: reg 10 32bit mmio: [0xd0000000-0xd7ffffff] pci 0000:00:01.0: supports D1 pci 0000:00:09.0: reg 10 32bit mmio: [0xe8100000-0xe811ffff] pci 0000:00:09.0: reg 14 32bit mmio: [0xe8120000-0xe813ffff] pci 0000:00:09.0: reg 18 io port: [0xa000-0xa03f] pci 0000:00:09.0: reg 30 32bit mmio: [0x000000-0x01ffff] pci 0000:00:09.0: PME# supported from D0 D3hot D3cold pci 0000:00:09.0: PME# disabled pci 0000:00:0a.0: reg 10 io port: [0xa400-0xa407] pci 0000:00:0a.0: reg 14 io port: [0xa800-0xa803] pci 0000:00:0a.0: reg 18 io port: [0xac00-0xac07] pci 0000:00:0a.0: reg 1c io port: [0xb000-0xb003] pci 0000:00:0a.0: reg 20 io port: [0xb400-0xb40f] pci 0000:00:0a.0: reg 24 32bit mmio: [0xe8160000-0xe8163fff] pci 0000:00:0a.0: reg 30 32bit mmio: [0x000000-0x003fff] pci 0000:00:0a.0: supports D1 pci 0000:00:10.0: reg 20 io port: [0xb800-0xb81f] pci 0000:00:10.0: supports D1 D2 pci 0000:00:10.0: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:00:10.0: PME# disabled pci 0000:00:10.1: reg 20 io port: [0xbc00-0xbc1f] pci 0000:00:10.1: supports D1 D2 pci 0000:00:10.1: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:00:10.1: PME# disabled pci 0000:00:10.2: reg 20 io port: [0xc000-0xc01f] pci 0000:00:10.2: supports D1 D2 pci 0000:00:10.2: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:00:10.2: PME# disabled pci 0000:00:10.3: reg 10 32bit mmio: [0xe8164000-0xe81640ff] pci 0000:00:10.3: supports D1 D2 pci 0000:00:10.3: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:00:10.3: PME# disabled HPET not enabled in BIOS. You might try hpet=force boot option pci 0000:00:11.0: quirk: region 4000-407f claimed by vt8235 PM pci 0000:00:11.0: quirk: region 5000-500f claimed by vt8235 SMB pci 0000:00:11.1: reg 20 io port: [0xc400-0xc40f] pci 0000:00:11.5: reg 10 io port: [0xc800-0xc8ff] pci 0000:00:11.5: supports D1 D2 pci 0000:00:12.0: reg 10 io port: [0xcc00-0xccff] pci 0000:00:12.0: reg 14 32bit mmio: [0xe8165000-0xe81650ff] pci 0000:00:12.0: supports D1 D2 pci 0000:00:12.0: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:00:12.0: PME# disabled pci 0000:01:00.0: reg 10 32bit mmio: [0xd8000000-0xdfffffff] pci 0000:01:00.0: reg 14 io port: [0x9000-0x90ff] pci 0000:01:00.0: reg 18 32bit mmio: [0xe8020000-0xe802ffff] pci 0000:01:00.0: reg 30 32bit mmio: [0x000000-0x01ffff] pci 0000:01:00.0: supports D1 D2 pci 0000:01:00.1: reg 10 32bit mmio: [0xe0000000-0xe7ffffff] pci 0000:01:00.1: reg 14 32bit mmio: [0xe8030000-0xe803ffff] pci 0000:01:00.1: supports D1 D2 pci 0000:00:01.0: bridge io port: [0x9000-0x9fff] pci 0000:00:01.0: bridge 32bit mmio: [0xe8000000-0xe80fffff] pci 0000:00:01.0: bridge 32bit mmio pref: [0xd8000000-0xe7ffffff] pci_bus 0000:00: on NUMA node 0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 *5 6 7 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 *10 11 12 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 *11 12 14 15) ACPI: PCI Interrupt Link [ALKA] (IRQs 20) *0 ACPI: PCI Interrupt Link [ALKB] (IRQs 21) *0 ACPI: PCI Interrupt Link [ALKC] (IRQs 22) *0 ACPI: PCI Interrupt Link [ALKD] (IRQs 23) *0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb PCI: Using ACPI for IRQ routing pnp: PnP ACPI init ACPI: bus type pnp registered pnp: PnP ACPI: found 12 devices ACPI: ACPI bus type pnp unregistered system 00:00: iomem range 0xd0000-0xd3fff has been reserved system 00:00: iomem range 0xd9800-0xdbfff has been reserved system 00:00: iomem range 0xf0000-0xfbfff could not be reserved system 00:00: iomem range 0xfc000-0xfffff could not be reserved system 00:00: iomem range 0x3fff0000-0x3fffffff could not be reserved system 00:00: iomem range 0xffff0000-0xffffffff has been reserved system 00:00: iomem range 0x0-0x9ffff could not be reserved system 00:00: iomem range 0x100000-0x3ffeffff could not be reserved system 00:00: iomem range 0xfec00000-0xfec00fff has been reserved system 00:00: iomem range 0xfee00000-0xfee00fff has been reserved system 00:00: iomem range 0xfff80000-0xfffeffff has been reserved system 00:02: ioport range 0x4d0-0x4d1 has been reserved system 00:02: ioport range 0x800-0x805 has been reserved pci 0000:00:01.0: PCI bridge, secondary bus 0000:01 pci 0000:00:01.0: IO window: 0x9000-0x9fff pci 0000:00:01.0: MEM window: 0xe8000000-0xe80fffff pci 0000:00:01.0: PREFETCH window: 0x000000d8000000-0x000000e7ffffff pci 0000:00:01.0: setting latency timer to 64 pci_bus 0000:00: resource 0 io: [0x00-0xffff] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff] pci_bus 0000:01: resource 0 io: [0x9000-0x9fff] pci_bus 0000:01: resource 1 mem: [0xe8000000-0xe80fffff] pci_bus 0000:01: resource 2 mem: [0xd8000000-0xe7ffffff] pci_bus 0000:01: resource 3 mem: [0x0-0x0] NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 8, 1048576 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered NET: Registered protocol family 1 checking if image is initramfs... it is Freeing initrd memory: 1481k freed Machine check exception polling timer started. highmem bounce pool size: 64 pages VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) msgmni has been set to 1747 alg: No test for cipher_null (cipher_null-generic) alg: No test for digest_null (digest_null-generic) alg: No test for compress_null (compress_null-generic) alg: No test for fcrypt (fcrypt-generic) alg: No test for stdrng (krng) alg: No test for stdrng (ansi_cprng) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered (default) io scheduler cfq registered PCI: VIA PCI bridge detected. Disabling DAC. pci 0000:01:00.0: Boot video device radeonfb 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 radeonfb: Found Intel x86 BIOS ROM Image radeonfb: Retrieved PLL infos from BIOS radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=240.00 Mhz, System=166.00 MHz radeonfb: PLL min 20000 max 40000 i2c-adapter i2c-2: unable to read EDID block. i2c-adapter i2c-2: unable to read EDID block. Switched to high resolution mode on CPU 0 i2c-adapter i2c-2: unable to read EDID block. i2c-adapter i2c-3: unable to read EDID block. i2c-adapter i2c-3: unable to read EDID block. i2c-adapter i2c-3: unable to read EDID block. radeonfb: Monitor 1 type DFP found radeonfb: EDID probed radeonfb: Monitor 2 type no found Console: switching to colour frame buffer device 160x64 radeonfb (0000:01:00.0): ATI Radeon 5960 "Y`" vga16fb: initializing vga16fb: mapped to 0xc00a0000 fb1: VGA16 VGA frame buffer device input: Power Button (FF) as /class/input/input0 ACPI: Power Button (FF) [PWRF] input: Power Button (CM) as /class/input/input1 ACPI: Power Button (CM) [PWRB] input: Sleep Button (CM) as /class/input/input2 ACPI: Sleep Button (CM) [SLPB] fan PNP0C0B:00: registered as cooling_device0 ACPI: Fan [FAN] (on) ACPI: CPU0 (power states: C1[C1] C2[C2]) processor ACPI_CPU:00: registered as cooling_device1 thermal LNXTHERM:01: registered as thermal_zone0 ACPI: Thermal Zone [THRM] (40 C) Linux agpgart interface v0.103 agpgart: Detected VIA KT266/KY266x/KT333 chipset agpgart-via 0000:00:00.0: AGP aperture is 128M @ 0xd0000000 [drm] Initialized drm 1.1.0 20060810 [drm] Initialized radeon 1.29.0 20080528 on minor 0 Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A brd: module loaded Uniform Multi-Platform E-IDE driver pdc202xx_new 0000:00:0a.0: IDE controller (0x105a:0x4d69 rev 0x02) Promise_IDE 0000:00:0a.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 pdc202xx_new 0000:00:0a.0: PLL input clock is 16623 kHz pdc202xx_new 0000:00:0a.0: 100% native mode on irq 18 ide2: BM-DMA at 0xb400-0xb407 ide3: BM-DMA at 0xb408-0xb40f Probing IDE interface ide2... hde: HL-DT-ST DVDRAM GSA-H42N, ATAPI CD/DVD-ROM drive hde: host max PIO4 wanted PIO255(auto-tune) selected PIO4 hde: UDMA/66 mode selected Probing IDE interface ide3... ide2 at 0xa400-0xa407,0xa802 on irq 18 ide3 at 0xac00-0xac07,0xb002 on irq 18 via82cxxx 0000:00:11.1: VIA vt8235 (rev 00) IDE UDMA133 via82cxxx 0000:00:11.1: IDE controller (0x1106:0x0571 rev 0x06) ACPI: PCI Interrupt Link [ALKA] BIOS reported IRQ 0, using IRQ 20 ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 20 VIA_IDE 0000:00:11.1: PCI INT A -> Link[ALKA] -> GSI 20 (level, low) -> IRQ 20 via82cxxx 0000:00:11.1: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xc400-0xc407 ide1: BM-DMA at 0xc408-0xc40f Probing IDE interface ide0... hda: SAMSUNG HD400LD, ATA DISK drive hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4 hda: UDMA/100 mode selected Probing IDE interface ide1... hdc: SAMSUNG HD400LD, ATA DISK drive hdc: host max PIO5 wanted PIO255(auto-tune) selected PIO4 hdc: UDMA/100 mode selected ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports ide-gd driver 1.18 hda: max request size: 512KiB hda: 781422768 sectors (400088 MB) w/8192KiB Cache, CHS=48641/255/63 hda: cache flushes supported hda: hda1 hda2 hda3 hda4 hdc: max request size: 512KiB hdc: 781422768 sectors (400088 MB) w/8192KiB Cache, CHS=48641/255/63 hdc: cache flushes supported hdc: hdc1 hdc2 hdc3 hdc4 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ACPI: PCI Interrupt Link [ALKB] BIOS reported IRQ 0, using IRQ 21 ACPI: PCI Interrupt Link [ALKB] enabled at IRQ 21 ehci_hcd 0000:00:10.3: PCI INT D -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21 ehci_hcd 0000:00:10.3: EHCI Host Controller ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:10.3: irq 21, io mem 0xe8164000 ehci_hcd 0000:00:10.3: USB 2.0 started, EHCI 1.00 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: EHCI Host Controller usb usb1: Manufacturer: Linux 2.6.29 ehci_hcd usb usb1: SerialNumber: 0000:00:10.3 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 6 ports detected uhci_hcd: USB Universal Host Controller Interface driver uhci_hcd 0000:00:10.0: PCI INT A -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21 uhci_hcd 0000:00:10.0: UHCI Host Controller uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:10.0: irq 21, io base 0x0000b800 usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: Product: UHCI Host Controller usb usb2: Manufacturer: Linux 2.6.29 uhci_hcd usb usb2: SerialNumber: 0000:00:10.0 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected uhci_hcd 0000:00:10.1: PCI INT B -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21 uhci_hcd 0000:00:10.1: UHCI Host Controller uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:10.1: irq 21, io base 0x0000bc00 usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb3: Product: UHCI Host Controller usb usb3: Manufacturer: Linux 2.6.29 uhci_hcd usb usb3: SerialNumber: 0000:00:10.1 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected uhci_hcd 0000:00:10.2: PCI INT C -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21 uhci_hcd 0000:00:10.2: UHCI Host Controller uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:10.2: irq 21, io base 0x0000c000 usb usb4: New USB device found, idVendor=1d6b, idProduct=0001 usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb4: Product: UHCI Host Controller usb usb4: Manufacturer: Linux 2.6.29 uhci_hcd usb usb4: SerialNumber: 0000:00:10.2 usb usb4: configuration #1 chosen from 1 choice hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected PNP: No PS/2 controller found. Probing ports directly. serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX port at 0x60,0x64 irq 12 mice: PS/2 mouse device common for all mice input: PC Speaker as /class/input/input3 md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: dm-devel@redhat.com cpuidle: using governor ladder cpuidle: using governor menu usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver TCP cubic registered NET: Registered protocol family 17 Using IPI Shortcut mode Freeing unused kernel memory: 324k freed Marking TSC unstable due to TSC halts in idle usb 1-4: new high speed USB device using ehci_hcd and address 4 usb 1-4: New USB device found, idVendor=0dda, idProduct=2005 usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-4: Product: USB2.0 Card Reader usb 1-4: Manufacturer: ICSI usb 1-4: SerialNumber: 0000001 usb 1-4: configuration #1 chosen from 1 choice usb 2-1: new low speed USB device using uhci_hcd and address 2 usb 2-1: New USB device found, idVendor=046a, idProduct=0004 usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 2-1: configuration #1 chosen from 1 choice input: HID 046a:0004 as /class/input/input4 generic-usb 0003:046A:0004.0001: input,hidraw0: USB HID v1.10 Keyboard [HID 046a:0004] on usb-0000:00:10.0-1/input0 input: HID 046a:0004 as /class/input/input5 generic-usb 0003:046A:0004.0002: input,hidraw1: USB HID v1.10 Device [HID 046a:0004] on usb-0000:00:10.0-1/input1 usb 2-2: new low speed USB device using uhci_hcd and address 3 usb 2-2: New USB device found, idVendor=046d, idProduct=c024 usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 2-2: Product: USB-PS/2 Optical Mouse usb 2-2: Manufacturer: B16_b_02 usb 2-2: configuration #1 chosen from 1 choice input: B16_b_02 USB-PS/2 Optical Mouse as /class/input/input6 generic-usb 0003:046D:C024.0003: input,hidraw2: USB HID v1.10 Mouse [B16_b_02 USB-PS/2 Optical Mouse] on usb-0000:00:10.0-2/input0 md: Autodetecting RAID arrays. md: Scanned 4 and added 4 devices. md: autorun ... md: considering hdc3 ... md: adding hdc3 ... md: hdc2 has different UUID to hdc3 md: adding hda3 ... md: hda2 has different UUID to hdc3 md: created md2 md: bind<hda3> md: bind<hdc3> md: running: <hdc3><hda3> raid1: raid set md2 active with 2 out of 2 mirrors md: considering hdc2 ... md: adding hdc2 ... md: adding hda2 ... md: created md3 md: bind<hda2> md: bind<hdc2> md: running: <hdc2><hda2> raid1: raid set md3 active with 2 out of 2 mirrors md: ... autorun DONE. md2: unknown partition table md3: unknown partition table kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. rtc_cmos 00:04: RTC can wake from S4 rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0 rtc0: alarms up to one year, y3k, 242 bytes nvram Intel(R) PRO/1000 Network Driver - version 7.3.21-k3-NAPI Copyright (c) 1999-2006 Intel Corporation. e1000 0000:00:09.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 e1000 0000:00:09.0: PCI: Disallowing DAC for device via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker via-rhine: Broken BIOS detected, avoid_D3 enabled. IT8705 SuperIO detected. parport_pc 00:0a: reported by Plug and Play ACPI parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA] Initializing USB Mass Storage driver... scsi0 : SCSI emulation for USB Mass Storage devices usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usb-storage: device found at 4 usb-storage: waiting for device to settle before scanning Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 e1000: 0000:00:09.0: e1000_probe: (PCI:33MHz:32-bit) 00:07:e9:17:35:86 e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection ACPI: PCI Interrupt Link [ALKD] BIOS reported IRQ 0, using IRQ 23 ACPI: PCI Interrupt Link [ALKD] enabled at IRQ 23 via-rhine 0000:00:12.0: PCI INT A -> Link[ALKD] -> GSI 23 (level, low) -> IRQ 23 eth1: VIA Rhine II at 0xe8165000, 00:0a:e6:62:b1:b3, IRQ 23. eth1: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000. ACPI: PCI Interrupt Link [ALKC] BIOS reported IRQ 0, using IRQ 22 ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22 VIA 82xx Audio 0000:00:11.5: PCI INT C -> Link[ALKC] -> GSI 22 (level, low) -> IRQ 22 VIA 82xx Audio 0000:00:11.5: setting latency timer to 64 EXT3 FS on dm-3, internal journal scsi 0:0:0:0: Direct-Access ICSI IC1210 CF 1.6B PQ: 0 ANSI: 0 CCS scsi 0:0:0:1: Direct-Access ICSI IC1210 MS 1.6B PQ: 0 ANSI: 0 CCS scsi 0:0:0:2: Direct-Access ICSI IC1210 MMC/SD 1.6B PQ: 0 ANSI: 0 CCS scsi 0:0:0:3: Direct-Access ICSI IC1210 SM 1.6B PQ: 0 ANSI: 0 CCS usb-storage: device scan complete Driver 'sd' needs updating - please use bus_type methods sd 0:0:0:0: [sda] Attached SCSI removable disk sd 0:0:0:1: [sdb] Attached SCSI removable disk sd 0:0:0:2: [sdc] Attached SCSI removable disk sd 0:0:0:3: [sdd] Attached SCSI removable disk sd 0:0:0:0: Attached scsi generic sg0 type 0 sd 0:0:0:1: Attached scsi generic sg1 type 0 sd 0:0:0:2: Attached scsi generic sg2 type 0 sd 0:0:0:3: Attached scsi generic sg3 type 0 kjournald starting. Commit interval 5 seconds EXT3 FS on md2, internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on dm-5, internal journal EXT3-fs: mounted filesystem with ordered data mode. fuse init (API version 7.11) Adding 524280k swap on /dev/mapper/swap. Priority:-1 extents:1 across:524280k hda: UDMA/100 mode selected hda: cache flushes supported hdc: UDMA/100 mode selected hdc: cache flushes supported e1000: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX eth1: link down Bridge firewalling registered device eth0 entered promiscuous mode device eth1 entered promiscuous mode br0: topology change detected, propagating br0: port 1(eth0) entering forwarding state NET: Registered protocol family 10 lo: Disabled Privacy Extensions ADDRCONF(NETDEV_UP): eth1: link is not ready RPC: Registered udp transport module. RPC: Registered tcp transport module. Installing knfsd (copyright (C) 1996 okir@monad.swb.de). NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory NFSD: starting 90-second grace period warning: `squid' uses 32-bit capabilities (legacy support in use) br0: no IPv6 routers present eth0: no IPv6 routers present agpgart-via 0000:00:00.0: AGP 2.0 bridge agpgart-via 0000:00:00.0: putting AGP V2 device into 4x mode radeonfb 0000:01:00.0: putting AGP V2 device into 4x mode [drm] Setting GART location based on new memory map [drm] Loading R200 Microcode [drm] writeback test succeeded in 1 usecs agpgart-via 0000:00:00.0: AGP 2.0 bridge agpgart-via 0000:00:00.0: putting AGP V2 device into 4x mode radeonfb 0000:01:00.0: putting AGP V2 device into 4x mode [drm] Loading R200 Microcode loop: module loaded And this is the dmesg output of the patched (localversion misleading) 2.6.29: Linux version 2.6.29bisect (root@nautilus) (gcc version 4.3.3 (Gentoo 4.3.3-r1) ) #16 PREEMPT Sun Mar 29 22:47:23 CEST 2009 KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD NSC Geode by NSC Cyrix CyrixInstead Centaur CentaurHauls Transmeta GenuineTMx86 Transmeta TransmetaCPU UMC UMC UMC UMC BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003fff0000 (usable) BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS) BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) DMI 2.2 present. Phoenix BIOS detected: BIOS may corrupt low RAM, working around it. last_pfn = 0x3fff0 max_arch_pfn = 0x100000 x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106 kernel direct mapping tables up to 377fe000 @ 10000-15000 RAMDISK: 37e7d000 - 37fef7fc Allocated new RAMDISK: 005fc000 - 0076e7fc Move RAMDISK from 0000000037e7d000 - 0000000037fef7fb to 005fc000 - 0076e7fb ACPI: RSDP 000F6F30, 0014 (r0 VKT333) ACPI: RSDT 3FFF3000, 002C (r1 VKT333 AWRDACPI 42302E31 AWRD 0) ACPI: FACP 3FFF3040, 0074 (r1 VKT333 AWRDACPI 42302E31 AWRD 0) FADT: X_PM1a_EVT_BLK.bit_width (16) does not match PM1_EVT_LEN (4) ACPI: DSDT 3FFF30C0, 3E82 (r1 VKT333 AWRDACPI 1000 MSFT 100000D) ACPI: FACS 3FFF0000, 0040 ACPI: APIC 3FFF6F80, 0054 (r1 VKT333 AWRDACPI 42302E31 AWRD 0) ACPI: Local APIC address 0xfee00000 135MB HIGHMEM available. 887MB LOWMEM available. mapped low ram: 0 - 377fe000 low ram: 00000000 - 377fe000 bootmap 00011000 - 00017f00 (7 early reservations) ==> bootmem [0000000000 - 00377fe000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] #1 [0000100000 - 00005f89ac] TEXT DATA BSS ==> [0000100000 - 00005f89ac] #2 [00005f9000 - 00005fc000] INIT_PG_TABLE ==> [00005f9000 - 00005fc000] #3 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000] #4 [0000010000 - 0000011000] PGTABLE ==> [0000010000 - 0000011000] #5 [00005fc000 - 000076e7fc] NEW RAMDISK ==> [00005fc000 - 000076e7fc] #6 [0000011000 - 0000018000] BOOTMAP ==> [0000011000 - 0000018000] Zone PFN ranges: DMA 0x00000010 -> 0x00001000 Normal 0x00001000 -> 0x000377fe HighMem 0x000377fe -> 0x0003fff0 Movable zone start PFN for each node early_node_map[2] active PFN ranges 0: 0x00000010 -> 0x0000009f 0: 0x00000100 -> 0x0003fff0 On node 0 totalpages: 262015 free_area_init_node: node 0, pgdat c0550c40, node_mem_map c1000200 DMA zone: 32 pages used for memmap DMA zone: 0 pages reserved DMA zone: 3951 pages, LIFO batch:0 Normal zone: 1744 pages used for memmap Normal zone: 221486 pages, LIFO batch:31 HighMem zone: 272 pages used for memmap HighMem zone: 34530 pages, LIFO batch:7 ACPI: PM-Timer IO Port: 0x4008 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 2, version 3, 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 dfl dfl) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Enabling APIC mode: Flat. Using 1 I/O APICs Using ACPI (MADT) for SMP configuration information nr_irqs_gsi: 24 Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000) Built 1 zonelists in Zone order, mobility grouping on. Total pages: 259967 Kernel command line: crypt_root=/dev/vg1/root.crypt dolvm lvmraid=/dev/md3 video=radeonfb Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 16384 bytes) Fast TSC calibration using PIT Detected 1994.519 MHz processor. Console: colour VGA+ 80x25 console [tty0] enabled Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1032096k/1048512k available (3289k kernel code, 15588k reserved, 1165k data, 328k init, 139208k highmem) virtual kernel memory layout: fixmap : 0xfffac000 - 0xfffff000 ( 332 kB) pkmap : 0xff800000 - 0xffc00000 (4096 kB) vmalloc : 0xf7ffe000 - 0xff7fe000 ( 120 MB) lowmem : 0xc0000000 - 0xf77fe000 ( 887 MB) .init : 0xc055c000 - 0xc05ae000 ( 328 kB) .data : 0xc04367d7 - 0xc0559d40 (1165 kB) .text : 0xc0100000 - 0xc04367d7 (3289 kB) Checking if this processor honours the WP bit even in supervisor mode...Ok. Calibrating delay loop (skipped), value calculated using timer frequency.. 3989.03 BogoMIPS (lpj=1994519) Mount-cache hash table entries: 512 CPU: CLK_CTL MSR was 60031223. Reprogramming to 20031223 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: AMD Athlon(tm) XP 2400+ stepping 01 Checking 'hlt' instruction... OK. Freeing SMP alternatives: 0k freed ACPI: Core revision 20081204 ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 net_namespace: 932 bytes NET: Registered protocol family 16 ACPI: bus type pci registered PCI: PCI BIOS revision 2.10 entry at 0xfb3b0, last bus=1 PCI: Using configuration type 1 for base access bio: create slab <bio-0> at 0 ACPI: EC: Look up EC in DSDT ACPI: Interpreter enabled ACPI: (supports S0 S5) ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) pci 0000:00:00.0: reg 10 32bit mmio: [0xd0000000-0xd7ffffff] pci 0000:00:01.0: supports D1 pci 0000:00:09.0: reg 10 32bit mmio: [0xe8100000-0xe811ffff] pci 0000:00:09.0: reg 14 32bit mmio: [0xe8120000-0xe813ffff] pci 0000:00:09.0: reg 18 io port: [0xa000-0xa03f] pci 0000:00:09.0: reg 30 32bit mmio: [0x000000-0x01ffff] pci 0000:00:09.0: PME# supported from D0 D3hot D3cold pci 0000:00:09.0: PME# disabled pci 0000:00:0a.0: reg 10 io port: [0xa400-0xa407] pci 0000:00:0a.0: reg 14 io port: [0xa800-0xa803] pci 0000:00:0a.0: reg 18 io port: [0xac00-0xac07] pci 0000:00:0a.0: reg 1c io port: [0xb000-0xb003] pci 0000:00:0a.0: reg 20 io port: [0xb400-0xb40f] pci 0000:00:0a.0: reg 24 32bit mmio: [0xe8160000-0xe8163fff] pci 0000:00:0a.0: reg 30 32bit mmio: [0x000000-0x003fff] pci 0000:00:0a.0: supports D1 pci 0000:00:10.0: reg 20 io port: [0xb800-0xb81f] pci 0000:00:10.0: supports D1 D2 pci 0000:00:10.0: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:00:10.0: PME# disabled pci 0000:00:10.1: reg 20 io port: [0xbc00-0xbc1f] pci 0000:00:10.1: supports D1 D2 pci 0000:00:10.1: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:00:10.1: PME# disabled pci 0000:00:10.2: reg 20 io port: [0xc000-0xc01f] pci 0000:00:10.2: supports D1 D2 pci 0000:00:10.2: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:00:10.2: PME# disabled pci 0000:00:10.3: reg 10 32bit mmio: [0xe8164000-0xe81640ff] pci 0000:00:10.3: supports D1 D2 pci 0000:00:10.3: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:00:10.3: PME# disabled HPET not enabled in BIOS. You might try hpet=force boot option pci 0000:00:11.0: quirk: region 4000-407f claimed by vt8235 PM pci 0000:00:11.0: quirk: region 5000-500f claimed by vt8235 SMB pci 0000:00:11.1: reg 20 io port: [0xc400-0xc40f] pci 0000:00:11.5: reg 10 io port: [0xc800-0xc8ff] pci 0000:00:11.5: supports D1 D2 pci 0000:00:12.0: reg 10 io port: [0xcc00-0xccff] pci 0000:00:12.0: reg 14 32bit mmio: [0xe8165000-0xe81650ff] pci 0000:00:12.0: supports D1 D2 pci 0000:00:12.0: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:00:12.0: PME# disabled pci 0000:01:00.0: reg 10 32bit mmio: [0xd8000000-0xdfffffff] pci 0000:01:00.0: reg 14 io port: [0x9000-0x90ff] pci 0000:01:00.0: reg 18 32bit mmio: [0xe8020000-0xe802ffff] pci 0000:01:00.0: reg 30 32bit mmio: [0x000000-0x01ffff] pci 0000:01:00.0: supports D1 D2 pci 0000:01:00.1: reg 10 32bit mmio: [0xe0000000-0xe7ffffff] pci 0000:01:00.1: reg 14 32bit mmio: [0xe8030000-0xe803ffff] pci 0000:01:00.1: supports D1 D2 pci 0000:00:01.0: bridge io port: [0x9000-0x9fff] pci 0000:00:01.0: bridge 32bit mmio: [0xe8000000-0xe80fffff] pci 0000:00:01.0: bridge 32bit mmio pref: [0xd8000000-0xe7ffffff] pci_bus 0000:00: on NUMA node 0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 *5 6 7 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 *10 11 12 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 *11 12 14 15) ACPI: PCI Interrupt Link [ALKA] (IRQs 20) *0 ACPI: PCI Interrupt Link [ALKB] (IRQs 21) *0 ACPI: PCI Interrupt Link [ALKC] (IRQs 22) *0 ACPI: PCI Interrupt Link [ALKD] (IRQs 23) *0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb PCI: Using ACPI for IRQ routing pnp: PnP ACPI init ACPI: bus type pnp registered pnp: PnP ACPI: found 12 devices ACPI: ACPI bus type pnp unregistered system 00:00: iomem range 0xd0000-0xd3fff has been reserved system 00:00: iomem range 0xd9800-0xdbfff has been reserved system 00:00: iomem range 0xf0000-0xfbfff could not be reserved system 00:00: iomem range 0xfc000-0xfffff could not be reserved system 00:00: iomem range 0x3fff0000-0x3fffffff could not be reserved system 00:00: iomem range 0xffff0000-0xffffffff has been reserved system 00:00: iomem range 0x0-0x9ffff could not be reserved system 00:00: iomem range 0x100000-0x3ffeffff could not be reserved system 00:00: iomem range 0xfec00000-0xfec00fff has been reserved system 00:00: iomem range 0xfee00000-0xfee00fff has been reserved system 00:00: iomem range 0xfff80000-0xfffeffff has been reserved system 00:02: ioport range 0x4d0-0x4d1 has been reserved system 00:02: ioport range 0x800-0x805 has been reserved pci 0000:00:01.0: PCI bridge, secondary bus 0000:01 pci 0000:00:01.0: IO window: 0x9000-0x9fff pci 0000:00:01.0: MEM window: 0xe8000000-0xe80fffff pci 0000:00:01.0: PREFETCH window: 0x000000d8000000-0x000000e7ffffff pci 0000:00:01.0: setting latency timer to 64 pci_bus 0000:00: resource 0 io: [0x00-0xffff] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff] pci_bus 0000:01: resource 0 io: [0x9000-0x9fff] pci_bus 0000:01: resource 1 mem: [0xe8000000-0xe80fffff] pci_bus 0000:01: resource 2 mem: [0xd8000000-0xe7ffffff] pci_bus 0000:01: resource 3 mem: [0x0-0x0] NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 8, 1048576 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered NET: Registered protocol family 1 checking if image is initramfs... it is Freeing initrd memory: 1481k freed Machine check exception polling timer started. audit: initializing netlink socket (disabled) type=2000 audit(1238368509.235:1): initialized highmem bounce pool size: 64 pages VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) msgmni has been set to 1747 alg: No test for cipher_null (cipher_null-generic) alg: No test for digest_null (digest_null-generic) alg: No test for compress_null (compress_null-generic) alg: No test for fcrypt (fcrypt-generic) alg: No test for stdrng (krng) alg: No test for stdrng (ansi_cprng) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered (default) io scheduler cfq registered PCI: VIA PCI bridge detected. Disabling DAC. pci 0000:01:00.0: Boot video device radeonfb 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 radeonfb: Found Intel x86 BIOS ROM Image radeonfb: Retrieved PLL infos from BIOS radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=240.00 Mhz, System=166.00 MHz radeonfb: PLL min 20000 max 40000 i2c-adapter i2c-2: unable to read EDID block. i2c-adapter i2c-2: unable to read EDID block. i2c-adapter i2c-2: unable to read EDID block. i2c-adapter i2c-3: unable to read EDID block. i2c-adapter i2c-3: unable to read EDID block. i2c-adapter i2c-3: unable to read EDID block. radeonfb: Monitor 1 type DFP found radeonfb: EDID probed radeonfb: Monitor 2 type no found Console: switching to colour frame buffer device 160x64 radeonfb (0000:01:00.0): ATI Radeon 5960 "Y`" vga16fb: initializing vga16fb: mapped to 0xc00a0000 fb1: VGA16 VGA frame buffer device input: Power Button (FF) as /class/input/input0 ACPI: Power Button (FF) [PWRF] input: Power Button (CM) as /class/input/input1 ACPI: Power Button (CM) [PWRB] input: Sleep Button (CM) as /class/input/input2 ACPI: Sleep Button (CM) [SLPB] fan PNP0C0B:00: registered as cooling_device0 ACPI: Fan [FAN] (on) ACPI: CPU0 (power states: C1[C1] C2[C2]) processor ACPI_CPU:00: registered as cooling_device1 thermal LNXTHERM:01: registered as thermal_zone0 ACPI: Thermal Zone [THRM] (40 C) Linux agpgart interface v0.103 agpgart: Detected VIA KT266/KY266x/KT333 chipset agpgart-via 0000:00:00.0: AGP aperture is 128M @ 0xd0000000 [drm] Initialized drm 1.1.0 20060810 [drm] Initialized radeon 1.29.0 20080528 on minor 0 Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A brd: module loaded Uniform Multi-Platform E-IDE driver pdc202xx_new 0000:00:0a.0: IDE controller (0x105a:0x4d69 rev 0x02) Promise_IDE 0000:00:0a.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 pdc202xx_new 0000:00:0a.0: PLL input clock is 16608 kHz pdc202xx_new 0000:00:0a.0: 100% native mode on irq 18 ide2: BM-DMA at 0xb400-0xb407 ide3: BM-DMA at 0xb408-0xb40f Probing IDE interface ide2... hde: HL-DT-ST DVDRAM GSA-H42N, ATAPI CD/DVD-ROM drive hde: host max PIO4 wanted PIO255(auto-tune) selected PIO4 hde: UDMA/66 mode selected Probing IDE interface ide3... ide2 at 0xa400-0xa407,0xa802 on irq 18 ide3 at 0xac00-0xac07,0xb002 on irq 18 via82cxxx 0000:00:11.1: VIA vt8235 (rev 00) IDE UDMA133 via82cxxx 0000:00:11.1: IDE controller (0x1106:0x0571 rev 0x06) ACPI: PCI Interrupt Link [ALKA] BIOS reported IRQ 0, using IRQ 20 ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 20 VIA_IDE 0000:00:11.1: PCI INT A -> Link[ALKA] -> GSI 20 (level, low) -> IRQ 20 via82cxxx 0000:00:11.1: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xc400-0xc407 ide1: BM-DMA at 0xc408-0xc40f Probing IDE interface ide0... hda: SAMSUNG HD400LD, ATA DISK drive hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4 hda: UDMA/100 mode selected Probing IDE interface ide1... hdc: SAMSUNG HD400LD, ATA DISK drive hdc: host max PIO5 wanted PIO255(auto-tune) selected PIO4 hdc: UDMA/100 mode selected ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports ide-gd driver 1.18 hda: max request size: 512KiB hda: 781422768 sectors (400088 MB) w/8192KiB Cache, CHS=48641/255/63 hda: cache flushes supported hda: hda1 hda2 hda3 hda4 hdc: max request size: 512KiB hdc: 781422768 sectors (400088 MB) w/8192KiB Cache, CHS=48641/255/63 hdc: cache flushes supported hdc: hdc1 hdc2 hdc3 hdc4 ide-cd driver 5.00 ide-cd: hde: ATAPI 48X DVD-ROM DVD-R/RAM CD-R/RW drive, 2048kB Cache Uniform CD-ROM driver Revision: 3.20 usbmon: debugfs is not available ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ACPI: PCI Interrupt Link [ALKB] BIOS reported IRQ 0, using IRQ 21 ACPI: PCI Interrupt Link [ALKB] enabled at IRQ 21 ehci_hcd 0000:00:10.3: PCI INT D -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21 ehci_hcd 0000:00:10.3: EHCI Host Controller ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:10.3: irq 21, io mem 0xe8164000 ehci_hcd 0000:00:10.3: USB 2.0 started, EHCI 1.00 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: EHCI Host Controller usb usb1: Manufacturer: Linux 2.6.29bisect ehci_hcd usb usb1: SerialNumber: 0000:00:10.3 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 6 ports detected uhci_hcd: USB Universal Host Controller Interface driver uhci_hcd 0000:00:10.0: PCI INT A -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21 uhci_hcd 0000:00:10.0: UHCI Host Controller uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:10.0: irq 21, io base 0x0000b800 usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: Product: UHCI Host Controller usb usb2: Manufacturer: Linux 2.6.29bisect uhci_hcd usb usb2: SerialNumber: 0000:00:10.0 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected uhci_hcd 0000:00:10.1: PCI INT B -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21 uhci_hcd 0000:00:10.1: UHCI Host Controller uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:10.1: irq 21, io base 0x0000bc00 usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb3: Product: UHCI Host Controller usb usb3: Manufacturer: Linux 2.6.29bisect uhci_hcd usb usb3: SerialNumber: 0000:00:10.1 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected uhci_hcd 0000:00:10.2: PCI INT C -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21 uhci_hcd 0000:00:10.2: UHCI Host Controller uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:10.2: irq 21, io base 0x0000c000 usb usb4: New USB device found, idVendor=1d6b, idProduct=0001 usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb4: Product: UHCI Host Controller usb usb4: Manufacturer: Linux 2.6.29bisect uhci_hcd usb usb4: SerialNumber: 0000:00:10.2 usb usb4: configuration #1 chosen from 1 choice hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected PNP: No PS/2 controller found. Probing ports directly. serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX port at 0x60,0x64 irq 12 mice: PS/2 mouse device common for all mice input: PC Speaker as /class/input/input3 md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: dm-devel@redhat.com cpuidle: using governor ladder usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver TCP cubic registered NET: Registered protocol family 17 Using IPI Shortcut mode Freeing unused kernel memory: 328k freed Marking TSC unstable due to TSC halts in idle usb 1-4: new high speed USB device using ehci_hcd and address 4 usb 1-4: New USB device found, idVendor=0dda, idProduct=2005 usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-4: Product: USB2.0 Card Reader usb 1-4: Manufacturer: ICSI usb 1-4: SerialNumber: 0000001 usb 1-4: configuration #1 chosen from 1 choice usb 2-1: new low speed USB device using uhci_hcd and address 2 usb 2-1: New USB device found, idVendor=046a, idProduct=0004 usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 2-1: configuration #1 chosen from 1 choice input: HID 046a:0004 as /class/input/input4 generic-usb 0003:046A:0004.0001: input,hidraw0: USB HID v1.10 Keyboard [HID 046a:0004] on usb-0000:00:10.0-1/input0 input: HID 046a:0004 as /class/input/input5 generic-usb 0003:046A:0004.0002: input,hidraw1: USB HID v1.10 Device [HID 046a:0004] on usb-0000:00:10.0-1/input1 usb 2-2: new low speed USB device using uhci_hcd and address 3 md: Autodetecting RAID arrays. usb 2-2: New USB device found, idVendor=046d, idProduct=c024 usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 2-2: Product: USB-PS/2 Optical Mouse usb 2-2: Manufacturer: B16_b_02 usb 2-2: configuration #1 chosen from 1 choice input: B16_b_02 USB-PS/2 Optical Mouse as /class/input/input6 generic-usb 0003:046D:C024.0003: input,hidraw2: USB HID v1.10 Mouse [B16_b_02 USB-PS/2 Optical Mouse] on usb-0000:00:10.0-2/input0 md: Scanned 4 and added 4 devices. md: autorun ... md: considering hdc3 ... md: adding hdc3 ... md: hdc2 has different UUID to hdc3 md: adding hda3 ... md: hda2 has different UUID to hdc3 md: created md2 md: bind<hda3> md: bind<hdc3> md: running: <hdc3><hda3> raid1: raid set md2 active with 2 out of 2 mirrors md: considering hdc2 ... md: adding hdc2 ... md: adding hda2 ... md: created md3 md: bind<hda2> md: bind<hdc2> md: running: <hdc2><hda2> raid1: raid set md3 active with 2 out of 2 mirrors md: ... autorun DONE. md2: unknown partition table md3: unknown partition table EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds rtc_cmos 00:04: RTC can wake from S4 rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0 rtc0: alarms up to one year, y3k, 242 bytes nvram via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker via-rhine: Broken BIOS detected, avoid_D3 enabled. ACPI: PCI Interrupt Link [ALKD] BIOS reported IRQ 0, using IRQ 23 ACPI: PCI Interrupt Link [ALKD] enabled at IRQ 23 via-rhine 0000:00:12.0: PCI INT A -> Link[ALKD] -> GSI 23 (level, low) -> IRQ 23 eth0: VIA Rhine II at 0xe8165000, 00:0a:e6:62:b1:b3, IRQ 23. eth0: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000. Intel(R) PRO/1000 Network Driver - version 7.3.21-k3-NAPI Copyright (c) 1999-2006 Intel Corporation. e1000 0000:00:09.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 e1000 0000:00:09.0: PCI: Disallowing DAC for device IT8705 SuperIO detected. parport_pc 00:0a: reported by Plug and Play ACPI parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA] Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 udev: renamed network interface eth0 to eth1 Initializing USB Mass Storage driver... scsi0 : SCSI emulation for USB Mass Storage devices usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usb-storage: device found at 4 usb-storage: waiting for device to settle before scanning e1000: 0000:00:09.0: e1000_probe: (PCI:33MHz:32-bit) 00:07:e9:17:35:86 e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection ACPI: PCI Interrupt Link [ALKC] BIOS reported IRQ 0, using IRQ 22 ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22 VIA 82xx Audio 0000:00:11.5: PCI INT C -> Link[ALKC] -> GSI 22 (level, low) -> IRQ 22 VIA 82xx Audio 0000:00:11.5: setting latency timer to 64 EXT3 FS on dm-3, internal journal scsi 0:0:0:0: Direct-Access ICSI IC1210 CF 1.6B PQ: 0 ANSI: 0 CCS scsi 0:0:0:1: Direct-Access ICSI IC1210 MS 1.6B PQ: 0 ANSI: 0 CCS scsi 0:0:0:2: Direct-Access ICSI IC1210 MMC/SD 1.6B PQ: 0 ANSI: 0 CCS scsi 0:0:0:3: Direct-Access ICSI IC1210 SM 1.6B PQ: 0 ANSI: 0 CCS usb-storage: device scan complete Driver 'sd' needs updating - please use bus_type methods sd 0:0:0:0: [sda] Attached SCSI removable disk sd 0:0:0:1: [sdb] Attached SCSI removable disk sd 0:0:0:2: [sdc] Attached SCSI removable disk sd 0:0:0:3: [sdd] Attached SCSI removable disk sd 0:0:0:0: Attached scsi generic sg0 type 0 sd 0:0:0:1: Attached scsi generic sg1 type 0 sd 0:0:0:2: Attached scsi generic sg2 type 0 sd 0:0:0:3: Attached scsi generic sg3 type 0 kjournald starting. Commit interval 5 seconds EXT3 FS on md2, internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on dm-5, internal journal EXT3-fs: mounted filesystem with ordered data mode. fuse init (API version 7.11) Adding 524280k swap on /dev/mapper/swap. Priority:-1 extents:1 across:524280k hda: UDMA/100 mode selected hda: cache flushes supported hdc: UDMA/100 mode selected hdc: cache flushes supported hde: UDMA/66 mode selected e1000: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX eth1: link down Bridge firewalling registered device eth0 entered promiscuous mode device eth1 entered promiscuous mode br0: topology change detected, propagating br0: port 1(eth0) entering forwarding state NET: Registered protocol family 10 lo: Disabled Privacy Extensions ADDRCONF(NETDEV_UP): eth1: link is not ready RPC: Registered udp transport module. RPC: Registered tcp transport module. Installing knfsd (copyright (C) 1996 okir@monad.swb.de). NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory NFSD: starting 90-second grace period warning: `squid' uses 32-bit capabilities (legacy support in use) br0: no IPv6 routers present eth0: no IPv6 routers present agpgart-via 0000:00:00.0: AGP 2.0 bridge agpgart-via 0000:00:00.0: putting AGP V2 device into 4x mode radeonfb 0000:01:00.0: putting AGP V2 device into 4x mode [drm] Setting GART location based on new memory map [drm] Loading R200 Microcode [drm] writeback test succeeded in 1 usecs agpgart-via 0000:00:00.0: AGP 2.0 bridge agpgart-via 0000:00:00.0: putting AGP V2 device into 4x mode radeonfb 0000:01:00.0: putting AGP V2 device into 4x mode [drm] Loading R200 Microcode ISO 9660 Extensions: Microsoft Joliet Level 3 ISO 9660 Extensions: RRIP_1991A ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Bug in 2.6.29 ide-cd: Kernel freeze: bisected + unacceptable workaround 2009-03-29 21:37 ` Michael Roth @ 2009-03-30 7:27 ` Borislav Petkov 2009-03-30 11:10 ` Michael Roth ` (2 more replies) 0 siblings, 3 replies; 13+ messages in thread From: Borislav Petkov @ 2009-03-30 7:27 UTC (permalink / raw) To: Michael Roth, bzolnier; +Cc: linux-kernel Hi Michael, On Sun, Mar 29, 2009 at 11:37:40PM +0200, Michael Roth wrote: > Hello Borislav, > > thank you for your help. > > Borislav Petkov schrieb: > > > Can we please see a dmesg of a working > > kernel on your machine > > Sure, dmesg output appended beneath. I also added the dmesg output > of the patched kernel. See below. > > > > and also is it possible to catch any kernel output of the crash > > any oops or something when your machine freezes - the more the better. > > There aren't any messages, neither on the console nor in the syslog. > The kernel simple freeze, cursor on the console stops blinking, no > more ide activity. I have to hit the reset-bottom to restart. > > > > Probably over a serial console would be best but photographed > > with a digicam and uploaded somewhere as a screenshot would do too. > > I will do that on request, but it will take some time (about days) > because currently I don't have access to a second computer or so. That'll definitely be very helpful since I wanna know exactly why it locks up. If you still have no output it'd be cool if you could enable ide-cd debugging and retry catching the output. Here's a patch for that, just recompile and reboot (I admit this is not one of the finest ways to enable debugging but since this is work in progress...:) ): -- diff --git a/drivers/ide/ide-atapi.c b/drivers/ide/ide-atapi.c index e9d042d..4ef3b7e 100644 --- a/drivers/ide/ide-atapi.c +++ b/drivers/ide/ide-atapi.c @@ -8,6 +8,8 @@ #include <linux/ide.h> #include <scsi/scsi.h> +#define DEBUG 1 + #ifdef DEBUG #define debug_log(fmt, args...) \ printk(KERN_INFO "ide: " fmt, ## args) diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index ddfbea4..ea36295 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c @@ -1991,7 +1991,7 @@ static int ide_cd_probe(ide_drive_t *drive) } } - drive->debug_mask = debug_mask; + drive->debug_mask = 0xffffffff; drive->irq_handler = cdrom_newpc_intr; info = kzalloc(sizeof(struct cdrom_info), GFP_KERNEL); diff --git a/drivers/ide/ide-cd.h b/drivers/ide/ide-cd.h index c878bfc..225afca 100644 --- a/drivers/ide/ide-cd.h +++ b/drivers/ide/ide-cd.h @@ -8,7 +8,7 @@ #include <linux/cdrom.h> #include <asm/byteorder.h> -#define IDECD_DEBUG_LOG 0 +#define IDECD_DEBUG_LOG 1 #if IDECD_DEBUG_LOG #define ide_debug_log(lvl, fmt, args...) __ide_debug_log(lvl, fmt, args) > > You could also try the following patch to see whether that is of any > > help: > > Your patch helps perfectly. I'm writing this email on the patched > 2.6.29. I also tested CD and DVD access: They work well. Burning not > tested but I assume it will work too. @Bart: can you take at look at this. Somehow, if the device is behind a PCI IDE controller, the order of issuing the command and enabling DMA is important. Seen something like that before? > Probing IDE interface ide2... > hde: HL-DT-ST DVDRAM GSA-H42N, ATAPI CD/DVD-ROM drive > hde: host max PIO4 wanted PIO255(auto-tune) selected PIO4 > hde: UDMA/66 mode selected > Probing IDE interface ide3... > ide2 at 0xa400-0xa407,0xa802 on irq 18 > ide3 at 0xac00-0xac07,0xb002 on irq 18 > via82cxxx 0000:00:11.1: VIA vt8235 (rev 00) IDE UDMA133 > via82cxxx 0000:00:11.1: IDE controller (0x1106:0x0571 rev 0x06) > ACPI: PCI Interrupt Link [ALKA] BIOS reported IRQ 0, using IRQ 20 > ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 20 > VIA_IDE 0000:00:11.1: PCI INT A -> Link[ALKA] -> GSI 20 (level, low) -> IRQ 20 > via82cxxx 0000:00:11.1: not 100% native mode: will probe irqs later > ide0: BM-DMA at 0xc400-0xc407 > ide1: BM-DMA at 0xc408-0xc40f > Probing IDE interface ide0... > hda: SAMSUNG HD400LD, ATA DISK drive > hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4 > hda: UDMA/100 mode selected > Probing IDE interface ide1... > hdc: SAMSUNG HD400LD, ATA DISK drive > hdc: host max PIO5 wanted PIO255(auto-tune) selected PIO4 > hdc: UDMA/100 mode selected > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > ide1 at 0x170-0x177,0x376 on irq 15 > ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports > ide-gd driver 1.18 > hda: max request size: 512KiB > hda: 781422768 sectors (400088 MB) w/8192KiB Cache, CHS=48641/255/63 > hda: cache flushes supported > hda: hda1 hda2 hda3 hda4 > hdc: max request size: 512KiB > hdc: 781422768 sectors (400088 MB) w/8192KiB Cache, CHS=48641/255/63 > hdc: cache flushes supported > hdc: hdc1 hdc2 hdc3 hdc4 > ide-cd driver 5.00 > ide-cd: hde: ATAPI 48X DVD-ROM DVD-R/RAM CD-R/RW drive, 2048kB Cache > Uniform CD-ROM driver Revision: 3.20 -- Regards/Gruss, Boris. ^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: Bug in 2.6.29 ide-cd: Kernel freeze: bisected + unacceptable workaround 2009-03-30 7:27 ` Borislav Petkov @ 2009-03-30 11:10 ` Michael Roth 2009-03-30 11:38 ` Michael Roth 2009-03-30 20:28 ` Bartlomiej Zolnierkiewicz 2 siblings, 0 replies; 13+ messages in thread From: Michael Roth @ 2009-03-30 11:10 UTC (permalink / raw) To: petkovbb, Michael Roth, bzolnier, linux-kernel Hello Borislav, > That'll definitely be very helpful since I wanna know exactly why it > locks up. If you still have no output it'd be cool if you could enable > ide-cd debugging and retry catching the output. Here's a patch for that, I got even no output over the serial console when the kernel freeze. So I tried your patch and the complete log from the boot to the freezing state is attached below. One additional observance: Without your hotfix starting /usr/sbin/hald takes quite longer (about 3 to 5 seconds) compared to about a half second with your hotfix. Same behaviour with the commit found by bisect: Before that commit hald starts fast and from that commit hald takes some seconds. To me it looks like that probing (?) by /usr/sbin/hald maybe left the ide-cd in some erroneous state which result in a freeze after about 2 minutes? Linux version 2.6.29debug (root@nautilus) (gcc version 4.3.3 (Gentoo 4.3.3-r1) ) #18 PREEMPT Mon Mar 30 12:06:08 CEST 2009 KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD NSC Geode by NSC Cyrix CyrixInstead Centaur CentaurHauls Transmeta GenuineTMx86 Transmeta TransmetaCPU UMC UMC UMC UMC BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003fff0000 (usable) BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS) BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) Early serial console at I/O port 0x2f8 (options '115200n8') console [uart0] enabled DMI 2.2 present. Phoenix BIOS detected: BIOS may corrupt low RAM, working around it. last_pfn = 0x3fff0 max_arch_pfn = 0x100000 x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106 RAMDISK: 37e7d000 - 37fef853 Allocated new RAMDISK: 00621000 - 00793853 Move RAMDISK from 0000000037e7d000 - 0000000037fef852 to 00621000 - 00793852 ACPI: RSDP 000F6F30, 0014 (r0 VKT333) ACPI: RSDT 3FFF3000, 002C (r1 VKT333 AWRDACPI 42302E31 AWRD 0) ACPI: FACP 3FFF3040, 0074 (r1 VKT333 AWRDACPI 42302E31 AWRD 0) FADT: X_PM1a_EVT_BLK.bit_width (16) does not match PM1_EVT_LEN (4) ACPI: DSDT 3FFF30C0, 3E82 (r1 VKT333 AWRDACPI 1000 MSFT 100000D) ACPI: FACS 3FFF0000, 0040 ACPI: APIC 3FFF6F80, 0054 (r1 VKT333 AWRDACPI 42302E31 AWRD 0) 135MB HIGHMEM available. 887MB LOWMEM available. mapped low ram: 0 - 377fe000 low ram: 00000000 - 377fe000 bootmap 00011000 - 00017f00 (7 early reservations) ==> bootmem [0000000000 - 00377fe000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] #1 [0000100000 - 000061dcec] TEXT DATA BSS ==> [0000100000 - 000061dcec] #2 [000061e000 - 0000621000] INIT_PG_TABLE ==> [000061e000 - 0000621000] #3 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000] #4 [0000010000 - 0000011000] PGTABLE ==> [0000010000 - 0000011000] #5 [0000621000 - 0000793853] NEW RAMDISK ==> [0000621000 - 0000793853] #6 [0000011000 - 0000018000] BOOTMAP ==> [0000011000 - 0000018000] Zone PFN ranges: DMA 0x00000010 -> 0x00001000 Normal 0x00001000 -> 0x000377fe HighMem 0x000377fe -> 0x0003fff0 Movable zone start PFN for each node early_node_map[2] active PFN ranges 0: 0x00000010 -> 0x0000009f 0: 0x00000100 -> 0x0003fff0 ACPI: PM-Timer IO Port: 0x4008 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 2, version 3, 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 dfl dfl) Enabling APIC mode: Flat. Using 1 I/O APICs Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000) Built 1 zonelists in Zone order, mobility grouping on. Total pages: 259967 Kernel command line: earlycon=uart8250,io,0x2f8,115200n8 console=uart8250,io,0x2f8,115200n8 console=tty0 crypt_root=/dev/vg1/root.crypt dolvm lvmraid=/dev/md3 video=radeonfb Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 16384 bytes) Fast TSC calibration using PIT Detected 1994.511 MHz processor. Console: colour VGA+ 80x25 console handover: boot [uart0] -> real [tty0] Linux version 2.6.29debug (root@nautilus) (gcc version 4.3.3 (Gentoo 4.3.3-r1) ) #18 PREEMPT Mon Mar 30 12:06:08 CEST 2009 KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD NSC Geode by NSC Cyrix CyrixInstead Centaur CentaurHauls Transmeta GenuineTMx86 Transmeta TransmetaCPU UMC UMC UMC UMC BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003fff0000 (usable) BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS) BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) Early serial console at I/O port 0x2f8 (options '115200n8') console [uart0] enabled DMI 2.2 present. Phoenix BIOS detected: BIOS may corrupt low RAM, working around it. last_pfn = 0x3fff0 max_arch_pfn = 0x100000 x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106 RAMDISK: 37e7d000 - 37fef853 Allocated new RAMDISK: 00621000 - 00793853 Move RAMDISK from 0000000037e7d000 - 0000000037fef852 to 00621000 - 00793852 ACPI: RSDP 000F6F30, 0014 (r0 VKT333) ACPI: RSDT 3FFF3000, 002C (r1 VKT333 AWRDACPI 42302E31 AWRD 0) ACPI: FACP 3FFF3040, 0074 (r1 VKT333 AWRDACPI 42302E31 AWRD 0) FADT: X_PM1a_EVT_BLK.bit_width (16) does not match PM1_EVT_LEN (4) ACPI: DSDT 3FFF30C0, 3E82 (r1 VKT333 AWRDACPI 1000 MSFT 100000D) ACPI: FACS 3FFF0000, 0040 ACPI: APIC 3FFF6F80, 0054 (r1 VKT333 AWRDACPI 42302E31 AWRD 0) 135MB HIGHMEM available. 887MB LOWMEM available. mapped low ram: 0 - 377fe000 low ram: 00000000 - 377fe000 bootmap 00011000 - 00017f00 (7 early reservations) ==> bootmem [0000000000 - 00377fe000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] #1 [0000100000 - 000061dcec] TEXT DATA BSS ==> [0000100000 - 000061dcec] #2 [000061e000 - 0000621000] INIT_PG_TABLE ==> [000061e000 - 0000621000] #3 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000] #4 [0000010000 - 0000011000] PGTABLE ==> [0000010000 - 0000011000] #5 [0000621000 - 0000793853] NEW RAMDISK ==> [0000621000 - 0000793853] #6 [0000011000 - 0000018000] BOOTMAP ==> [0000011000 - 0000018000] Zone PFN ranges: DMA 0x00000010 -> 0x00001000 Normal 0x00001000 -> 0x000377fe HighMem 0x000377fe -> 0x0003fff0 Movable zone start PFN for each node early_node_map[2] active PFN ranges 0: 0x00000010 -> 0x0000009f 0: 0x00000100 -> 0x0003fff0 ACPI: PM-Timer IO Port: 0x4008 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 2, version 3, 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 dfl dfl) Enabling APIC mode: Flat. Using 1 I/O APICs Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000) Built 1 zonelists in Zone order, mobility grouping on. Total pages: 259967 Kernel command line: earlycon=uart8250,io,0x2f8,115200n8 console=uart8250,io,0x2f8,115200n8 console=tty0 crypt_root=/dev/vg1/root.crypt dolvm lvmraid=/dev/md3 video=radeonfb Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 16384 bytes) Fast TSC calibration using PIT Detected 1994.511 MHz processor. Console: colour VGA+ 80x25 console handover: boot [uart0] -> real [tty0] console [ttyS1] enabled Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1031948k/1048512k available (3389k kernel code, 15736k reserved, 1193k data, 348k init, 139208k highmem) virtual kernel memory layout: fixmap : 0xfffac000 - 0xfffff000 ( 332 kB) pkmap : 0xff800000 - 0xffc00000 (4096 kB) vmalloc : 0xf7ffe000 - 0xff7fe000 ( 120 MB) lowmem : 0xc0000000 - 0xf77fe000 ( 887 MB) .init : 0xc057c000 - 0xc05d3000 ( 348 kB) .data : 0xc044f64d - 0xc0579dc0 (1193 kB) .text : 0xc0100000 - 0xc044f64d (3389 kB) Checking if this processor honours the WP bit even in supervisor mode...Ok. Calibrating delay loop (skipped), value calculated using timer frequency.. 3989.02 BogoMIPS (lpj=1994511) Mount-cache hash table entries: 512 CPU: CLK_CTL MSR was 60031223. Reprogramming to 20031223 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: AMD Athlon(tm) XP 2400+ stepping 01 Checking 'hlt' instruction... OK. Freeing SMP alternatives: 0k freed ACPI: Core revision 20081204 ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 net_namespace: 932 bytes NET: Registered protocol family 16 ACPI: bus type pci registered PCI: PCI BIOS revision 2.10 entry at 0xfb3b0, last bus=1 PCI: Using configuration type 1 for base access bio: create slab <bio-0> at 0 ACPI: Interpreter enabled ACPI: (supports S0 S5) ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) pci 0000:00:09.0: PME# supported from D0 D3hot D3cold pci 0000:00:09.0: PME# disabled pci 0000:00:10.0: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:00:10.0: PME# disabled pci 0000:00:10.1: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:00:10.1: PME# disabled pci 0000:00:10.2: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:00:10.2: PME# disabled pci 0000:00:10.3: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:00:10.3: PME# disabled HPET not enabled in BIOS. You might try hpet=force boot option pci 0000:00:11.0: quirk: region 4000-407f claimed by vt8235 PM pci 0000:00:11.0: quirk: region 5000-500f claimed by vt8235 SMB pci 0000:00:12.0: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:00:12.0: PME# disabled ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 *5 6 7 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 *10 11 12 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 *11 12 14 15) ACPI: PCI Interrupt Link [ALKA] (IRQs 20) *0 ACPI: PCI Interrupt Link [ALKB] (IRQs 21) *0 ACPI: PCI Interrupt Link [ALKC] (IRQs 22) *0 ACPI: PCI Interrupt Link [ALKD] (IRQs 23) *0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb PCI: Using ACPI for IRQ routing pnp: PnP ACPI init ACPI: bus type pnp registered pnp: PnP ACPI: found 12 devices ACPI: ACPI bus type pnp unregistered system 00:00: iomem range 0xd0000-0xd3fff has been reserved system 00:00: iomem range 0xd9800-0xdbfff has been reserved system 00:00: iomem range 0xf0000-0xfbfff could not be reserved system 00:00: iomem range 0xfc000-0xfffff could not be reserved system 00:00: iomem range 0x3fff0000-0x3fffffff could not be reserved system 00:00: iomem range 0xffff0000-0xffffffff has been reserved system 00:00: iomem range 0x0-0x9ffff could not be reserved system 00:00: iomem range 0x100000-0x3ffeffff could not be reserved system 00:00: iomem range 0xfec00000-0xfec00fff has been reserved system 00:00: iomem range 0xfee00000-0xfee00fff has been reserved system 00:00: iomem range 0xfff80000-0xfffeffff has been reserved system 00:02: ioport range 0x4d0-0x4d1 has been reserved system 00:02: ioport range 0x800-0x805 has been reserved pci 0000:00:01.0: PCI bridge, secondary bus 0000:01 pci 0000:00:01.0: IO window: 0x9000-0x9fff pci 0000:00:01.0: MEM window: 0xe8000000-0xe80fffff pci 0000:00:01.0: PREFETCH window: 0x000000d8000000-0x000000e7ffffff NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 8, 1048576 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered NET: Registered protocol family 1 checking if image is initramfs... it is Freeing initrd memory: 1482k freed Machine check exception polling timer started. audit: initializing netlink socket (disabled) type=2000 audit(1238416744.453:1): initialized highmem bounce pool size: 64 pages VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) msgmni has been set to 1747 alg: No test for cipher_null (cipher_null-generic) alg: No test for digest_null (digest_null-generic) alg: No test for compress_null (compress_null-generic) alg: No test for fcrypt (fcrypt-generic) alg: No test for stdrng (krng) alg: No test for stdrng (ansi_cprng) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered (default) io scheduler cfq registered PCI: VIA PCI bridge detected. Disabling DAC. radeonfb 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 radeonfb: Found Intel x86 BIOS ROM Image radeonfb: Retrieved PLL infos from BIOS radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=240.00 Mhz, System=166.00 MHz radeonfb: PLL min 20000 max 40000 i2c-adapter i2c-2: unable to read EDID block. i2c-adapter i2c-2: unable to read EDID block. i2c-adapter i2c-2: unable to read EDID block. i2c-adapter i2c-3: unable to read EDID block. i2c-adapter i2c-3: unable to read EDID block. i2c-adapter i2c-3: unable to read EDID block. radeonfb: Monitor 1 type DFP found radeonfb: EDID probed radeonfb: Monitor 2 type no found Console: switching to colour frame buffer device 160x64 radeonfb (0000:01:00.0): ATI Radeon 5960 "Y`" vga16fb: mapped to 0xc00a0000 fb1: VGA16 VGA frame buffer device input: Power Button (FF) as /class/input/input0 ACPI: Power Button (FF) [PWRF] input: Power Button (CM) as /class/input/input1 ACPI: Power Button (CM) [PWRB] input: Sleep Button (CM) as /class/input/input2 ACPI: Sleep Button (CM) [SLPB] fan PNP0C0B:00: registered as cooling_device0 ACPI: Fan [FAN] (on) ACPI: CPU0 (power states: C1[C1] C2[C2]) processor ACPI_CPU:00: registered as cooling_device1 thermal LNXTHERM:01: registered as thermal_zone0 ACPI: Thermal Zone [THRM] (40 C) Linux agpgart interface v0.103 agpgart: Detected VIA KT266/KY266x/KT333 chipset agpgart-via 0000:00:00.0: AGP aperture is 128M @ 0xd0000000 [drm] Initialized drm 1.1.0 20060810 [drm] Initialized radeon 1.29.0 20080528 on minor 0 Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A brd: module loaded Uniform Multi-Platform E-IDE driver pdc202xx_new 0000:00:0a.0: IDE controller (0x105a:0x4d69 rev 0x02) Promise_IDE 0000:00:0a.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 pdc202xx_new 0000:00:0a.0: PLL input clock is 16599 kHz pdc202xx_new 0000:00:0a.0: 100% native mode on irq 18 ide2: BM-DMA at 0xb400-0xb407 ide3: BM-DMA at 0xb408-0xb40f hde: HL-DT-ST DVDRAM GSA-H42N, ATAPI CD/DVD-ROM drive hde: UDMA/66 mode selected ide2 at 0xa400-0xa407,0xa802 on irq 18 ide3 at 0xac00-0xac07,0xb002 on irq 18 via82cxxx 0000:00:11.1: VIA vt8235 (rev 00) IDE UDMA133 via82cxxx 0000:00:11.1: IDE controller (0x1106:0x0571 rev 0x06) ACPI: PCI Interrupt Link [ALKA] BIOS reported IRQ 0, using IRQ 20 ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 20 VIA_IDE 0000:00:11.1: PCI INT A -> Link[ALKA] -> GSI 20 (level, low) -> IRQ 20 via82cxxx 0000:00:11.1: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xc400-0xc407 ide1: BM-DMA at 0xc408-0xc40f hda: SAMSUNG HD400LD, ATA DISK drive hda: UDMA/100 mode selected hdc: SAMSUNG HD400LD, ATA DISK drive hdc: UDMA/100 mode selected ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports ide-gd driver 1.18 hda: max request size: 512KiB hda: 781422768 sectors (400088 MB) w/8192KiB Cache, CHS=48641/255/63 hda: cache flushes supported hda: hda1 hda2 hda3 hda4 hdc: max request size: 512KiB hdc: 781422768 sectors (400088 MB) w/8192KiB Cache, CHS=48641/255/63 hdc: cache flushes supported hdc: hdc1 hdc2 hdc3 hdc4 ide-cd driver 5.00 ide-cd: Call ide_cdrom_setup ide-cd: Call ide_cdrom_probe_capabilities, drive->media: 0x5, drive->atapi_flags: 0x2 ide-cd: Call ide_cdrom_get_capabilities ide-cd: Call ide_cd_queue_pc, cmd[0]: 0x5a, write: 0x0, timeout: 7000, cmd_flags: 0x0 ide-cd: Call ide_cd_do_request, rq->cmd[0]: 0x5a, rq->cmd_type: 0xa, block: 4294967295 ide-cd: Call cdrom_do_block_pc, rq->cmd[0]: 0x5a, rq->cmd_type: 0xa ide-cd: Call cdrom_newpc_intr, rq->cmd[0]: 0x5a, write: 0x0 ide-cd: cdrom_newpc_intr: DRQ: stat: 0x58, thislen: 24 ide-cd: Call ide_cd_check_ireason, ireason: 0x2, rw: 0x0 ide-cd: cdrom_newpc_intr: data transfer, rq->cmd_type: 0xa, ireason: 0x2 ide-cd: Call cdrom_newpc_intr, rq->cmd[0]: 0x5a, write: 0x0 ide-cd: cdrom_newpc_intr: DRQ: stat: 0x50, thislen: 0 ide-cd: Call ide_cd_request_sense_fixup, rq->cmd[0]: 0x5a ide-cd: Call cdrom_end_request, cmd: 0x5a, uptodate: 0x1, nsectors: 0 ide-cd: Exit cdrom_end_request, uptodate: 0x1, nsectors: 1 ide-cd: Call ide_cdrom_update_speed ide-cd: ide_cdrom_update_speed: curspeed: 8467, maxspeed: 8467 ide-cd: hde: ATAPI 48X DVD-ROM DVD-R/RAM CD-R/RW drive, 2048kB Cache ide-cd: Call ide_cdrom_register, nslots: 1 Uniform CD-ROM driver Revision: 3.20 ide-cd: Call ide_cd_read_toc ide-cd: Call cdrom_check_status ide-cd: Call ide_cd_queue_pc, cmd[0]: 0x0, write: 0x0, timeout: 0, cmd_flags: 0x8000 ide-cd: Call ide_cd_do_request, rq->cmd[0]: 0x0, rq->cmd_type: 0xa, block: 4294967295 ide-cd: Call cdrom_do_block_pc, rq->cmd[0]: 0x0, rq->cmd_type: 0xa ide-cd: Call cdrom_newpc_intr, rq->cmd[0]: 0x0, write: 0x0 ide-cd: cdrom_decode_status: stat: 0x51, good_stat: 0x0, rq->cmd[0]: 0x0, rq->cmd_type: 0xa, err: 0x24 ide-cd: Call cdrom_queue_request_sense ide-cd: failed_cmd: 0x0 ide-cd: Call ide_cd_do_request, rq->cmd[0]: 0x3, rq->cmd_type: 0x3, block: 4294967295 ide-cd: Call cdrom_do_block_pc, rq->cmd[0]: 0x3, rq->cmd_type: 0x3 ide-cd: Call cdrom_newpc_intr, rq->cmd[0]: 0x3, write: 0x0 ide-cd: cdrom_newpc_intr: DRQ: stat: 0x58, thislen: 18 ide-cd: Call ide_cd_check_ireason, ireason: 0x2, rw: 0x0 ide-cd: cdrom_newpc_intr: data transfer, rq->cmd_type: 0x3, ireason: 0x2 ide-cd: Call cdrom_newpc_intr, rq->cmd[0]: 0x3, write: 0x0 ide-cd: cdrom_newpc_intr: DRQ: stat: 0x50, thislen: 0 ide-cd: Call ide_cd_request_sense_fixup, rq->cmd[0]: 0x3 ide-cd: Call cdrom_end_request, cmd: 0x3, uptodate: 0x1, nsectors: 0 ide-cd: Call cdrom_analyze_sense_data, error_code: 0x70, sense_key: 0x2 ide-cd: cdrom_analyze_sense_data: failed cmd: 0x0 ide-cd: Call cdrom_log_sense, sense_key: 0x2 ide-cd: Exit cdrom_end_request, uptodate: 0x1, nsectors: 1 ide-cd: Call cdrom_read_capacity ide-cd: Call ide_cd_queue_pc, cmd[0]: 0x25, write: 0x0, timeout: 0, cmd_flags: 0x8000 ide-cd: Call ide_cd_do_request, rq->cmd[0]: 0x25, rq->cmd_type: 0xa, block: 4294967295 ide-cd: Call cdrom_do_block_pc, rq->cmd[0]: 0x25, rq->cmd_type: 0xa ide-cd: Call cdrom_newpc_intr, rq->cmd[0]: 0x25, write: 0x0 ide-cd: cdrom_decode_status: stat: 0x51, good_stat: 0x0, rq->cmd[0]: 0x25, rq->cmd_type: 0xa, err: 0x24 ide-cd: Call cdrom_queue_request_sense ide-cd: failed_cmd: 0x25 ide-cd: Call ide_cd_do_request, rq->cmd[0]: 0x3, rq->cmd_type: 0x3, block: 4294967295 ide-cd: Call cdrom_do_block_pc, rq->cmd[0]: 0x3, rq->cmd_type: 0x3 ide-cd: Call cdrom_newpc_intr, rq->cmd[0]: 0x3, write: 0x0 ide-cd: cdrom_newpc_intr: DRQ: stat: 0x58, thislen: 18 ide-cd: Call ide_cd_check_ireason, ireason: 0x2, rw: 0x0 ide-cd: cdrom_newpc_intr: data transfer, rq->cmd_type: 0x3, ireason: 0x2 ide-cd: Call cdrom_newpc_intr, rq->cmd[0]: 0x3, write: 0x0 ide-cd: cdrom_newpc_intr: DRQ: stat: 0x50, thislen: 0 ide-cd: Call ide_cd_request_sense_fixup, rq->cmd[0]: 0x3 ide-cd: Call cdrom_end_request, cmd: 0x3, uptodate: 0x1, nsectors: 0 ide-cd: Call cdrom_analyze_sense_data, error_code: 0x70, sense_key: 0x2 ide-cd: cdrom_analyze_sense_data: failed cmd: 0x25 ide-cd: Call cdrom_log_sense, sense_key: 0x2 ide-cd: Exit cdrom_end_request, uptodate: 0x1, nsectors: 1 ide-cd: Call cdrom_read_tocentry ide-cd: Call ide_cd_queue_pc, cmd[0]: 0x43, write: 0x0, timeout: 0, cmd_flags: 0x8000 ide-cd: Call ide_cd_do_request, rq->cmd[0]: 0x43, rq->cmd_type: 0xa, block: 4294967295 ide-cd: Call cdrom_do_block_pc, rq->cmd[0]: 0x43, rq->cmd_type: 0xa ide-cd: Call cdrom_newpc_intr, rq->cmd[0]: 0x43, write: 0x0 ide-cd: cdrom_decode_status: stat: 0x51, good_stat: 0x0, rq->cmd[0]: 0x43, rq->cmd_type: 0xa, err: 0x24 ide-cd: Call cdrom_queue_request_sense ide-cd: failed_cmd: 0x43 ide-cd: Call ide_cd_do_request, rq->cmd[0]: 0x3, rq->cmd_type: 0x3, block: 4294967295 ide-cd: Call cdrom_do_block_pc, rq->cmd[0]: 0x3, rq->cmd_type: 0x3 ide-cd: Call cdrom_newpc_intr, rq->cmd[0]: 0x3, write: 0x0 ide-cd: cdrom_newpc_intr: DRQ: stat: 0x58, thislen: 18 ide-cd: Call ide_cd_check_ireason, ireason: 0x2, rw: 0x0 ide-cd: cdrom_newpc_intr: data transfer, rq->cmd_type: 0x3, ireason: 0x2 ide-cd: Call cdrom_newpc_intr, rq->cmd[0]: 0x3, write: 0x0 ide-cd: cdrom_newpc_intr: DRQ: stat: 0x50, thislen: 0 ide-cd: Call ide_cd_request_sense_fixup, rq->cmd[0]: 0x3 ide-cd: Call cdrom_end_request, cmd: 0x3, uptodate: 0x1, nsectors: 0 ide-cd: Call cdrom_analyze_sense_data, error_code: 0x70, sense_key: 0x2 ide-cd: cdrom_analyze_sense_data: failed cmd: 0x43 ide-cd: Call cdrom_log_sense, sense_key: 0x2 ide-cd: Exit cdrom_end_request, uptodate: 0x1, nsectors: 1 usbmon: debugfs is not available ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ACPI: PCI Interrupt Link [ALKB] BIOS reported IRQ 0, using IRQ 21 ACPI: PCI Interrupt Link [ALKB] enabled at IRQ 21 ehci_hcd 0000:00:10.3: PCI INT D -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21 ehci_hcd 0000:00:10.3: EHCI Host Controller ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:10.3: irq 21, io mem 0xe8164000 ehci_hcd 0000:00:10.3: USB 2.0 started, EHCI 1.00 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: EHCI Host Controller usb usb1: Manufacturer: Linux 2.6.29debug ehci_hcd usb usb1: SerialNumber: 0000:00:10.3 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 6 ports detected uhci_hcd: USB Universal Host Controller Interface driver uhci_hcd 0000:00:10.0: PCI INT A -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21 uhci_hcd 0000:00:10.0: UHCI Host Controller uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:10.0: irq 21, io base 0x0000b800 usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: Product: UHCI Host Controller usb usb2: Manufacturer: Linux 2.6.29debug uhci_hcd usb usb2: SerialNumber: 0000:00:10.0 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected uhci_hcd 0000:00:10.1: PCI INT B -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21 uhci_hcd 0000:00:10.1: UHCI Host Controller uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:10.1: irq 21, io base 0x0000bc00 usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb3: Product: UHCI Host Controller usb usb3: Manufacturer: Linux 2.6.29debug uhci_hcd usb usb3: SerialNumber: 0000:00:10.1 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected uhci_hcd 0000:00:10.2: PCI INT C -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21 uhci_hcd 0000:00:10.2: UHCI Host Controller uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:10.2: irq 21, io base 0x0000c000 usb usb4: New USB device found, idVendor=1d6b, idProduct=0001 usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb4: Product: UHCI Host Controller usb usb4: Manufacturer: Linux 2.6.29debug uhci_hcd usb usb4: SerialNumber: 0000:00:10.2 usb usb4: configuration #1 chosen from 1 choice hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected PNP: No PS/2 controller found. Probing ports directly. serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX port at 0x60,0x64 irq 12 mice: PS/2 mouse device common for all mice input: PC Speaker as /class/input/input3 md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: dm-devel@redhat.com cpuidle: using governor ladder usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver TCP cubic registered NET: Registered protocol family 17 Using IPI Shortcut mode Freeing unused kernel memory: 348k freed Write protecting the kernel text: 3392k Write protecting the kernel read-only data: 960k ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Bug in 2.6.29 ide-cd: Kernel freeze: bisected + unacceptable workaround 2009-03-30 7:27 ` Borislav Petkov 2009-03-30 11:10 ` Michael Roth @ 2009-03-30 11:38 ` Michael Roth 2009-03-30 11:50 ` Michael Roth 2009-03-30 20:28 ` Bartlomiej Zolnierkiewicz 2 siblings, 1 reply; 13+ messages in thread From: Michael Roth @ 2009-03-30 11:38 UTC (permalink / raw) To: petkovbb, Michael Roth, bzolnier, linux-kernel Hello Borislav, I made two more tests: a.) unpatched 2.6.29, boot with dvd in drive and starting /usr/sbin/hald by the init scripts results in a freeze in 2 minutes and about 10 seconds. b.) unpatched 2.6.29, boot without a medium in an drive but _not_ starting /usr/sbin/hald result in _no_ freeze! I can also mount DVDs and access them, with an unpatched kernel without started /usr/sbin/hald, without any problems, as far as I can see. Used hald version is 0.5.11. Hopefully these observances will help somehow. Michael Roth ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Bug in 2.6.29 ide-cd: Kernel freeze: bisected + unacceptable workaround 2009-03-30 11:38 ` Michael Roth @ 2009-03-30 11:50 ` Michael Roth 0 siblings, 0 replies; 13+ messages in thread From: Michael Roth @ 2009-03-30 11:50 UTC (permalink / raw) To: petkovbb, Michael Roth, bzolnier, linux-kernel > b.) unpatched 2.6.29, boot without a medium in an drive > but _not_ starting /usr/sbin/hald result in _no_ freeze! > > I can also mount DVDs and access them, with an unpatched kernel > without started /usr/sbin/hald, without any problems, as far > as I can see. c.) I unmounted the DVD, started /usr/sbin/hald and it took about 40 seconds until the kernel freeze. So far as I see, /usr/sbin/hald somehow triggers a bug. But the bug isn't triggered, when the dma is started after the command is sent. Michael Roth ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Bug in 2.6.29 ide-cd: Kernel freeze: bisected + unacceptable workaround 2009-03-30 7:27 ` Borislav Petkov 2009-03-30 11:10 ` Michael Roth 2009-03-30 11:38 ` Michael Roth @ 2009-03-30 20:28 ` Bartlomiej Zolnierkiewicz 2009-03-31 7:45 ` Borislav Petkov 2 siblings, 1 reply; 13+ messages in thread From: Bartlomiej Zolnierkiewicz @ 2009-03-30 20:28 UTC (permalink / raw) To: petkovbb; +Cc: Michael Roth, linux-kernel On Monday 30 March 2009, Borislav Petkov wrote: > Hi Michael, > > On Sun, Mar 29, 2009 at 11:37:40PM +0200, Michael Roth wrote: > > Hello Borislav, > > > > thank you for your help. > > > > Borislav Petkov schrieb: > > > > > Can we please see a dmesg of a working > > > kernel on your machine > > > > Sure, dmesg output appended beneath. I also added the dmesg output > > of the patched kernel. See below. > > > > > > > and also is it possible to catch any kernel output of the crash > > > any oops or something when your machine freezes - the more the better. > > > > There aren't any messages, neither on the console nor in the syslog. > > The kernel simple freeze, cursor on the console stops blinking, no > > more ide activity. I have to hit the reset-bottom to restart. > > > > > > > Probably over a serial console would be best but photographed > > > with a digicam and uploaded somewhere as a screenshot would do too. > > > > I will do that on request, but it will take some time (about days) > > because currently I don't have access to a second computer or so. > > That'll definitely be very helpful since I wanna know exactly why it > locks up. If you still have no output it'd be cool if you could enable > ide-cd debugging and retry catching the output. Here's a patch for that, > just recompile and reboot (I admit this is not one of the finest ways to > enable debugging but since this is work in progress...:) ): > > -- > diff --git a/drivers/ide/ide-atapi.c b/drivers/ide/ide-atapi.c > index e9d042d..4ef3b7e 100644 > --- a/drivers/ide/ide-atapi.c > +++ b/drivers/ide/ide-atapi.c > @@ -8,6 +8,8 @@ > #include <linux/ide.h> > #include <scsi/scsi.h> > > +#define DEBUG 1 > + > #ifdef DEBUG > #define debug_log(fmt, args...) \ > printk(KERN_INFO "ide: " fmt, ## args) > diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c > index ddfbea4..ea36295 100644 > --- a/drivers/ide/ide-cd.c > +++ b/drivers/ide/ide-cd.c > @@ -1991,7 +1991,7 @@ static int ide_cd_probe(ide_drive_t *drive) > } > } > > - drive->debug_mask = debug_mask; > + drive->debug_mask = 0xffffffff; > drive->irq_handler = cdrom_newpc_intr; > > info = kzalloc(sizeof(struct cdrom_info), GFP_KERNEL); > diff --git a/drivers/ide/ide-cd.h b/drivers/ide/ide-cd.h > index c878bfc..225afca 100644 > --- a/drivers/ide/ide-cd.h > +++ b/drivers/ide/ide-cd.h > @@ -8,7 +8,7 @@ > #include <linux/cdrom.h> > #include <asm/byteorder.h> > > -#define IDECD_DEBUG_LOG 0 > +#define IDECD_DEBUG_LOG 1 > > #if IDECD_DEBUG_LOG > #define ide_debug_log(lvl, fmt, args...) __ide_debug_log(lvl, fmt, args) > > > > You could also try the following patch to see whether that is of any > > > help: > > > > Your patch helps perfectly. I'm writing this email on the patched > > 2.6.29. I also tested CD and DVD access: They work well. Burning not > > tested but I assume it will work too. > > @Bart: can you take at look at this. Somehow, if the device is behind a > PCI IDE controller, the order of issuing the command and enabling DMA is > important. Seen something like that before? Spec is unclear on the ordering but empirically it seems that some hosts may need packet command to start DMA. I think that we should proceed with your patch (please repost with patch description) and also apply the same change to the rest of ATAPI devices in a subsequent patch. Thanks, Bart ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Bug in 2.6.29 ide-cd: Kernel freeze: bisected + unacceptable workaround 2009-03-30 20:28 ` Bartlomiej Zolnierkiewicz @ 2009-03-31 7:45 ` Borislav Petkov 2009-03-31 11:28 ` Alan Cox 2009-03-31 18:01 ` Bartlomiej Zolnierkiewicz 0 siblings, 2 replies; 13+ messages in thread From: Borislav Petkov @ 2009-03-31 7:45 UTC (permalink / raw) To: Bartlomiej Zolnierkiewicz; +Cc: Michael Roth, linux-kernel Hi, > > @Bart: can you take at look at this. Somehow, if the device is behind a > > PCI IDE controller, the order of issuing the command and enabling DMA is > > important. Seen something like that before? > > Spec is unclear on the ordering but empirically it seems that some hosts > may need packet command to start DMA. I think that we should proceed with > your patch (please repost with patch description) and also apply the same > change to the rest of ATAPI devices in a subsequent patch. Why two patches, do we really need to differentiate between ide-cd and other ATAPI devices? Besides the patch is so simple: 4 lines moved up. Anyway, I lightly tested it with ide-cd and ide-floppy and both seem to take it ok. Also, if I remember correctly, the original ide-cd behavior was to issue the command and _then_ start DMA so we're back to that. I guess now we should be concerned whether the other ATAPI devices can handle the reverse situation where you first issue a command and _then_ start DMA.. Hmm... -- From: Borislav Petkov <petkovbb@gmail.com> Date: Tue, 31 Mar 2009 09:36:44 +0200 Subject: [PATCH] ide-atapi: start DMA after issuing a packet command MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Apparently¹, some ATAPI devices want to see the packet command first before enabling DMA otherwise they simply hang indefinitely. Reorder the two steps and start DMA only after having issued the command first. [1] http://marc.info/?l=linux-kernel&m=123835520317235&w=2 Signed-off-by: Borislav Petkov <petkovbb@gmail.com> --- drivers/ide/ide-atapi.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/ide/ide-atapi.c b/drivers/ide/ide-atapi.c index c139cc7..3e43b88 100644 --- a/drivers/ide/ide-atapi.c +++ b/drivers/ide/ide-atapi.c @@ -563,6 +563,10 @@ static ide_startstop_t ide_transfer_pc(ide_drive_t *drive) : ide_pc_intr), timeout); + /* Send the actual packet */ + if ((drive->atapi_flags & IDE_AFLAG_ZIP_DRIVE) == 0) + hwif->tp_ops->output_data(drive, NULL, rq->cmd, cmd_len); + /* Begin DMA, if necessary */ if (dev_is_idecd(drive)) { if (drive->dma) @@ -574,10 +578,6 @@ static ide_startstop_t ide_transfer_pc(ide_drive_t *drive) } } - /* Send the actual packet */ - if ((drive->atapi_flags & IDE_AFLAG_ZIP_DRIVE) == 0) - hwif->tp_ops->output_data(drive, NULL, rq->cmd, cmd_len); - return ide_started; } -- 1.6.2.1 -- Regards/Gruss, Boris. ^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: Bug in 2.6.29 ide-cd: Kernel freeze: bisected + unacceptable workaround 2009-03-31 7:45 ` Borislav Petkov @ 2009-03-31 11:28 ` Alan Cox 2009-03-31 12:35 ` Michael Roth 2009-03-31 18:01 ` Bartlomiej Zolnierkiewicz 1 sibling, 1 reply; 13+ messages in thread From: Alan Cox @ 2009-03-31 11:28 UTC (permalink / raw) To: petkovbb; +Cc: petkovbb, Bartlomiej Zolnierkiewicz, Michael Roth, linux-kernel > take it ok. Also, if I remember correctly, the original ide-cd behavior > was to issue the command and _then_ start DMA so we're back to that. I > guess now we should be concerned whether the other ATAPI devices can > handle the reverse situation where you first issue a command and _then_ > start DMA.. Hmm... Most devices don't care but you do need to follow the exact ATAPI spec. If you search way back through the archives you'll find long discussions on this during either 2.4 or 2.2 when HP hit problems caused by us turning DMA on too early. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Bug in 2.6.29 ide-cd: Kernel freeze: bisected + unacceptable workaround 2009-03-31 11:28 ` Alan Cox @ 2009-03-31 12:35 ` Michael Roth 2009-03-31 14:06 ` Borislav Petkov 0 siblings, 1 reply; 13+ messages in thread From: Michael Roth @ 2009-03-31 12:35 UTC (permalink / raw) To: Alan Cox; +Cc: petkovbb, petkovbb, Bartlomiej Zolnierkiewicz, linux-kernel >> take it ok. Also, if I remember correctly, the original ide-cd behavior >> was to issue the command and _then_ start DMA so we're back to that. I >> guess now we should be concerned whether the other ATAPI devices can >> handle the reverse situation where you first issue a command and _then_ >> start DMA.. Hmm... > > Most devices don't care but you do need to follow the exact ATAPI spec. > If you search way back through the archives you'll find long discussions > on this during either 2.4 or 2.2 when HP hit problems caused by us > turning DMA on too early. AFAIK, the old bevavior was to start DMA _after_ issuing the command _only_ for CD-drives and for the remaining ide devices the other way around, why not just restore the old behavior and do the DMA after command only for CD-drives? ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Bug in 2.6.29 ide-cd: Kernel freeze: bisected + unacceptable workaround 2009-03-31 12:35 ` Michael Roth @ 2009-03-31 14:06 ` Borislav Petkov 0 siblings, 0 replies; 13+ messages in thread From: Borislav Petkov @ 2009-03-31 14:06 UTC (permalink / raw) To: Michael Roth; +Cc: Alan Cox, Bartlomiej Zolnierkiewicz, linux-kernel Hi, On Tue, Mar 31, 2009 at 2:35 PM, Michael Roth <mroth@nessie.de> wrote: >>> take it ok. Also, if I remember correctly, the original ide-cd behavior >>> was to issue the command and _then_ start DMA so we're back to that. I >>> guess now we should be concerned whether the other ATAPI devices can >>> handle the reverse situation where you first issue a command and _then_ >>> start DMA.. Hmm... >> >> Most devices don't care but you do need to follow the exact ATAPI spec. >> If you search way back through the archives you'll find long discussions >> on this during either 2.4 or 2.2 when HP hit problems caused by us >> turning DMA on too early. > > AFAIK, the old bevavior was to start DMA _after_ issuing the command _only_ > for CD-drives and for the remaining ide devices the other way around, > why not just restore the old behavior and do the DMA after command only > for CD-drives? because common atapi code should adhere to the spec, as Alan said, no matter whether it is a cd or a floppy or [you name it]-drive. @Alan: I guess you refer to http://lkml.indiana.edu/hypermail/linux/kernel/0305.1/2241.html, for example. I think I'll be on the safe side when I turn on DMA _after_ writing the ATAPI command packet into the data register - it is the correct order of steps according to the ATA spec. So, if there are devices which still choke on that, then they're simply buggy and those will hopefully be a small number so that a blacklist with a flag as a workaround would be more or less ok for them - we do that for other b0rked devices anyway. -- Regards/Gruss, Boris ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Bug in 2.6.29 ide-cd: Kernel freeze: bisected + unacceptable workaround 2009-03-31 7:45 ` Borislav Petkov 2009-03-31 11:28 ` Alan Cox @ 2009-03-31 18:01 ` Bartlomiej Zolnierkiewicz 1 sibling, 0 replies; 13+ messages in thread From: Bartlomiej Zolnierkiewicz @ 2009-03-31 18:01 UTC (permalink / raw) To: petkovbb; +Cc: Michael Roth, linux-kernel On Tuesday 31 March 2009, Borislav Petkov wrote: > Hi, > > > > @Bart: can you take at look at this. Somehow, if the device is behind a > > > PCI IDE controller, the order of issuing the command and enabling DMA is > > > important. Seen something like that before? > > > > Spec is unclear on the ordering but empirically it seems that some hosts > > may need packet command to start DMA. I think that we should proceed with > > your patch (please repost with patch description) and also apply the same > > change to the rest of ATAPI devices in a subsequent patch. > > Why two patches, do we really need to differentiate between ide-cd and > other ATAPI devices? Besides the patch is so simple: 4 lines moved up. Good engineering practice -- we've changed only ide-cd in 2.6.29 so we should start with reverting the change and backporting it to -stable. Fixing other ATAPI devices can be handled later and preferrably after testing them first -- who knows if there are no devices which depend on the reverse order of doing things or that it won't uncover/trigger some other problem. Feel free to call me (over-)paranoid... :) However based on later comments from Alan and the current libata code I feel that we should be pretty safe in this particular case so we may as well fix everything in one go. > Anyway, I lightly tested it with ide-cd and ide-floppy and both seem to > take it ok. Also, if I remember correctly, the original ide-cd behavior > was to issue the command and _then_ start DMA so we're back to that. I > guess now we should be concerned whether the other ATAPI devices can > handle the reverse situation where you first issue a command and _then_ > start DMA.. Hmm... > > -- > From: Borislav Petkov <petkovbb@gmail.com> > Date: Tue, 31 Mar 2009 09:36:44 +0200 > Subject: [PATCH] ide-atapi: start DMA after issuing a packet command > MIME-Version: 1.0 > Content-Type: text/plain; charset=utf-8 > Content-Transfer-Encoding: 8bit > > Apparently¹, some ATAPI devices want to see the packet command first > before enabling DMA otherwise they simply hang indefinitely. Reorder the > two steps and start DMA only after having issued the command first. > > [1] http://marc.info/?l=linux-kernel&m=123835520317235&w=2 I added "Reported-by:" here > Signed-off-by: Borislav Petkov <petkovbb@gmail.com> applied ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2009-03-31 17:59 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-03-29 19:25 Bug in 2.6.29 ide-cd: Kernel freeze: bisected + unacceptable workaround Michael Roth 2009-03-29 20:13 ` Borislav Petkov 2009-03-29 21:37 ` Michael Roth 2009-03-30 7:27 ` Borislav Petkov 2009-03-30 11:10 ` Michael Roth 2009-03-30 11:38 ` Michael Roth 2009-03-30 11:50 ` Michael Roth 2009-03-30 20:28 ` Bartlomiej Zolnierkiewicz 2009-03-31 7:45 ` Borislav Petkov 2009-03-31 11:28 ` Alan Cox 2009-03-31 12:35 ` Michael Roth 2009-03-31 14:06 ` Borislav Petkov 2009-03-31 18:01 ` Bartlomiej Zolnierkiewicz
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox