ide-generic: load conflicts with IDE drivers (PORTS ALREADY IN USE)

Bug #26998 reported by StefanPotyra
20
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Hi,

versions:
linux-image-2.6.15-k7 and linux-image-2.6.15-386 (appears with both)
udev 077-0ubuntu5

Sympton:
Kernel won't find root partition (here /dev/hde3).

Hardware:
root partition on SATA-ctrler "Highpoint Rocket Raid 1520" (module hpt366)
other partitions on IDE/raid "Highpoint HPT370" (also module hpt366)

Some output:
dmesg of linux-image-2.6.15-k7:
[17179569.184000] Linux version 2.6.15-7-k7 (buildd@rothera) (gcc version 4.0.3
20051204 (prerelease) (Ubuntu 4.0.2-5ubuntu2)) #1 SMP PREEMPT Tue Dec 6 19:15:19
UTC 2005
[17179569.184000] BIOS-provided physical RAM map:
[17179569.184000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[17179569.184000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[17179569.184000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[17179569.184000] BIOS-e820: 0000000000100000 - 0000000027ff0000 (usable)
[17179569.184000] BIOS-e820: 0000000027ff0000 - 0000000027ff3000 (ACPI NVS)
[17179569.184000] BIOS-e820: 0000000027ff3000 - 0000000028000000 (ACPI data)
[17179569.184000] BIOS-e820: 00000000fff - 0000000100000000 (reserved)
[17179569.184000] 0MB HIGHMEM available.
[17179569.184000] 639MB LOWMEM available.
[17179569.184000] DMI 2.3 present.
[17179569.184000] ACPI: PM-Timer IO Port: 0x4008
[17179569.184000] Allocating PCI resources starting at 30000000 (gap:
28000000:d7ff0000)
[17179569.184000] Built 1 zonelists
[17179569.184000] Kernel command line: ro single console=ttyS0 console=tty0
[17179569.184000] Local APIC disabled by BIOS (or by default) -- you can enable
it with "lapic"
[17179569.184000] Initializing CPU#0
[17179569.184000] PID hash table entries: 4096 (order: 12, 65536 bytes)
[17179569.184000] Detected 1300.348 MHz processor.
[17179569.184000] Using pmtmr for high-res timesource
[17179569.184000] Console: colour VGA+ 80x25
[17179570.272000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[17179570.368000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[17179570.500000] Memory: 638656k/655296k available (1991k kernel code, 16048k
reserved, 559k data, 304k init, 0k highmem)
[17179570.640000] Checking if this processor honours the WP bit even in
supervisor mode... Ok.
[17179570.832000] Calibrating delay using timer specific routine.. 2603.41
BogoMIPS (lpj=5206826)
[17179570.944000] Security Framework v1.0.0 initialized
[17179571.008000] SELinux: Disabled at boot.
[17179571.064000] Mount-cache hash table entries: 512
[17179571.124000] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[17179571.224000] CPU: L2 Cache: 64K (64 bytes/line)
[17179571.284000] mtrr: v2.0 (20020519)
[17179571.332000] Enabling fast FPU save and restore... done.
[17179571.404000] Enabling unmasked SIMD FPU exception support... done.
[17179571.488000] Checking 'hlt' instruction... OK.
[17179571.564000] checking if image is initramfs... it is
[17179572.384000] Freeing initrd memory: 6032k freed
[17179572.452000] not found!
[17179572.492000] ACPI: setting ELCR to 0800 (from 0e20)
[17179572.560000] CPU0: AMD Duron(tm) processor stepping 01
[17179572.632000] SMP motherboard not detected.
[17179572.688000] Local APIC not detected. Using dummy APIC emulation.
[17179572.768000] Brought up 1 CPUs
[17179572.812000] smp2up: Dynamically optimizing SMP kernel code for UP operation...
[17179572.912000] smp2up: Made 3493 modifications to 'kernel'.
[17179572.984000] NET: Registered protocol family 16
[17179573.048000] EISA bus registered
[17179573.092000] ACPI: bus type pci registered
[17179573.164000] PCI: PCI BIOS revision 2.10 entry at 0xfb4e0, last bus=1
[17179573.252000] PCI: Using configuration type 1
[17179573.312000] ACPI: Subsystem revision 20050916
[17179573.384000] ACPI: Interpreter enabled
[17179573.436000] ACPI: Using PIC for interrupt routing
[17179573.500000] ACPI: PCI Root Bridge [PCI0] (0000:00)
[17179573.568000] ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
[17179573.644000] Disabling VIA memory write queue (PCI ID 0305, rev 02): [55]
89 & 1f -> 09
[17179573.752000] PCI quirk: region 4000-40ff claimed by vt82c586 ACPI
[17179573.836000] PCI quirk: region 6000-607f claimed by vt82c686 HW-mon
[17179573.920000] PCI quirk: region 5000-500f claimed by vt82c686 SMB
[17179574.028000] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 11 12 14
15) *9
[17179574.132000] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
[17179574.232000] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
[17179574.332000] ACPI: PCI Interrupt Link [1 3 4 *5 6 7 10 11 12 14 15)
[17179574.436000] Linux Plug and Play Support v0.97 (c) Adam Belay
[17179574.512000] pnp: PnP ACPI init
[17179574.560000] pnp: PnP ACPI: found 12 devices
[17179574.620000] PnPBIOS: Disabled by ACPI PNP
[17179574.676000] PCI: Using ACPI for IRQ routing
[17179574.732000] PCI: If a device doesn't work, try "pci=routeirq". If it
helps, post a report
[17179574.876000] PCI: Bridge: 0000:00:01.0
[17179574.928000] IO window: disabled.
[17179574.976000] MEM window: d8000000-d9ffffff
[17179575.036000] PREFETCH window: d0000000-d7ffffff
[17179575.100000] audit: initializing netlink socket (disabled)
[17179575.176000] audit(1134436238.172:1): initialized
[17179575.240000] VFS: Disk quotas dquot_6.5.1
[17179575.296000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[17179575.384000] Initializing Cryptographic API
[17179575.440000] io scheduler noop registered
[17179575.496000] io scheduler anticipatory registered
[17179575.560000] io scheduler deadline registered
[17179575.620000] io scheduler cfq registered
[17179575.672000] PCI: Disabling Via external APIC routing
[17179575.744000] isapnp: Scanning for PnP cards...
[17179576.160000] isapnp: No Plug & Play device found
[17179576.244000] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64
irq 1,12
[17179576.348000] serio: i8042 AUX port at 0x60,0x64 irq 12
[17179576.420000] serio: i8042 KBD port at 0x60,0x64 irq 1
[17179576.488000] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ
sharing enabled
[17179576.592000] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[17179576.676000] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[17179576.760000] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[17179576.836000] 00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[17179576.916000] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024
blocksize
[17179577.016000] mice: PS/2 mouse device common for all mice
[17179577.092000] EISA: Probing bus 0 at eisa.0
[17179577.148000] Cannot allocate resource for EISA slot 4
[17179577.216000] Cannot allocate resource for EISA slot 5
[17179577.284000] Cannot allocate resource for EISA slot 6
[17179577.352000] EISA: Detected 0 cards.
[17179577.404000] NET: Registered protocol family 2
[17179577.472000] input: AT Translated Set 2 keyboard as /class/input/input0
[17179577.592000] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[17179577.688000] TCP established hash table entries: 131072 (order: 8, 1572864
bytes)
[17179577.796000] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
[17179577.888000] TCP: Hash tables configured (established 131072 bind 65536)
[17179577.980000] TCP reno registered
[17179578.024000] TCP bic registered
[17179578.068000] NET: Registered protocol family 8
[17179578.128000] NET: Registered protocol family 20
[17179578.192000] Using IPI No-Shortcut mode
[17179578.244000] ACPI wakeup devices:
[17179578.292000] SLPB PCI0 USB0 USB1 MODM UAR1 UAR2
[17179578.356000] ACPI: (supports S0 S1 S4 S5)
[17179578.412000] Freeing unused kernel memory: 304k freed
[17179578.556000] Capability LSM initialized
[17179578.640000] NET: Registered protocol family 1
[17179578.744000] ACPI: CPU0 (power states: C1[C1] C2[C2])
[17179578.812000] ACPI: Processor [CPU0] (supports 2 throttling states)
[17179579.872000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[17179579.960000] ide: Assuming 33MHz system bus speed for PIO modes; override
with idebus=xx
[17179580.068000] ACPI: bus type ide registered
[17179580.124000] VP_IDE: IDE controller at PCI slot 0000:00:07.1
[17179580.204000] PCI: Via IRQ fixup for 0000:00:07.1, from 255 to 0
[17179580.284000] VP_IDE: chipset revision 16
[17179580.336000] VP_IDE: not 100% native mode: will probe irqs later
[17179580.420000] VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on
pci0000:00:07.1
[17179580.524000] ide0: BM-DMA at 0x9000-0x9007, BIOS settings: hda:DMA, hdb:DMA
[17179580.620000] ide1: BM-DMA at 0x9008-0x900f, BIOS settings: hdc:pio, hdd:pio
[17179581.584000] hda: ARTEC WRR-4848 1.00, ATAPI CD/DVD-ROM drive
[17179582.444000] hdb: HL-DT-ST DVDRAM GSA-4160B, ATAPI CD/DVD-ROM drive
[17179582.584000] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[17179583.216000] HPT302: IDE controller at PCI slot 0000:00:0f.0
[17179583.292000] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
[17179583.372000] PCI: setting IRQ 11 as level-triggered
[17179583.440000] ACPI: PCI Interrupt 0000:00:0f.0[A] -> Link [LNKB] -> GSI 11
(level, low) -> IRQ 11
[17179583.556000] HPT302: chipset revision 2
[17179583.608000] HPT302: 100% native mode on irq 11
[17179583.672000] ide2: BM-DMA at 0xb800-0xb807, BIOS settings: hde:DMA, hdf:pio
[17179583.772000] ide3: BM-DMA at 0xb808-0xb80f, BIOS settings: hdg:pio, hdh:pio
[17179583.900000] hda: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
[17179583.992000] Uniform CD-ROM driver Revision: 3.20
[17179584.060000] hdb: ATAPI 40X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache,
UDMA(66)
[17179584.188000] hde: Maxtor 6B200M0, ATA DISK drive
[17179584.756000] ide2: I/O resource 0xAC02-0xAC02 not free.
[17179584.824000] hde: ERROR, PORTS ALREADY IN USE
[17179585.004000] ide2 at 0xa800-0xa807,0xac02 on irq 11
[17179585.068000] ide3: I/O resource 0xB402-0xB402 not free.
[17179585.140000] ide3: ports already in use, skipping probe
[17179585.212000] HPT370: IDE controller at PCI slot 0000:00:13.0
[17179585.288000] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
[17179585.368000] PCI: setting IRQ 10 as level-triggered
[17179585.432000] ACPI: PCI Interrupt 0000:00:13.0[A] -> Link [LNKC] -> GSI 10
(level, low) -> IRQ 10
[17179585.552000] HPT370: chipset revision 3
[17179585.604000] HPT370: 100% native mode on irq 10
[17179585.668000] ide4: BM-DMA at 0xcc00-0xcc07, BIOS settings: hdi:pio, hdj:pio
[17179585.764000] ide5: BM-DMA at 0xcc08-0xcc0f, BIOS settings: hdk:DMA, hdl:pio
[17179586.152000] hdi: Maxtor 4D080H4, ATA DISK drive
[17179586.212000] ide4: I/O resource 0xC002-0xC002 not free.
[17179586.284000] hdi: ERROR, PORTS ALREADY IN USE
[17179586.632000] hdk: SAMSUNG SP1604N, ATA DISK drive
[17179587.032000] ide4 at 0xbc00-0xbc07,0xc002 on irq 10
[17179587.096000] ide5: I/O resource 0xC802-0xC802 not free.
[17179587.168000] hdk: ERROR, PORTS ALREADY IN USE
[17179587.228000] ide5 at 0xc400-0xc407,0xc802 on irq 10
[17179587.576000] Badness in enable_irq at kernel/irq/manage.c:126
[17179587.576000] [<c014a4c9>] enable_irq+0xa9/0x110
[17179587.576000] [<e88809b4>] probe_hwif+0x3f4/0x4e0 [ide_core]
[17179587.576000] [<c012a591>] __release_region+0x91/0xa0
[17179587.576000] [<e88818b3>] ideprobe_init+0x63/0x12f [ide_core]
[17179587.576000] [<e884c005>] ide_generic_init+0x5/0xd [ide_generic]
[17179587.576000] [<c0143407>] sys_init_module+0xd7/0x240
[17179587.576000] [<c01034a1>] syscall_call+0x7/0xb
[17179588.152000] register_blkdev: cannot get major 33 for ide2
[17179588.228000] register_blkdev: cannot get major 56 for ide4
[17179588.304000] register_blkdev: cannot get major 57 for ide5
[17179588.508000] device-mapper: 4.4.0-ioctl (2005-01-12) initialised:
<email address hidden>
[17179588.632000] cdrom: open failed.
[17179588.688000] cdrom: open failed.
[17179588.748000] cdrom: open failed.
[17179588.800000] cdrom: open failed.
---

/proc/modules at the time, I'm dropped to a shell:
dm_mod 63640 0 - Live 0xe8867000
ide_generic 1792 0 - Live 0xe8817000
ide_cd 44676 0 - Live 0xe88aa000
cdrom 41504 1 ide_cd, Live 0xe889e000
hpt366 20928 2 - Live 0xe8860000
via82cxxx 9988 0 [permanent], Live 0xe8854000
generic 5444 0 - Live 0xe8849000
ide_core 150004 5 ide_generic,ide_cd,hpt366,via82cxxx,generic, Live 0xe8878000
thermal 14088 0 - Live 0xe884f000
processor 26696 1 thermal, Live 0xe882b000
fan 5124 0 - Live 0xe8828000
unix 31504 2 - Live 0xe8840000
fbcon 44384 0 - Live 0xe8834000
tileblit 3072 1 fbcon, Live 0xe8826000
font 8640 1 fbcon, Live 0xe8822000
bitblit 6592 1 fbcon, Live 0xe881f000
softcursor 2752 1 bitblit, Live 0xe8802000
capability 5256 0 - Live 0xe881c000
commoncap 7616 1 capability, Live 0xe8819000
---

/proc/ioports:
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
02f8-02ff : serial
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial
0cf8-0cff : PCI conf1
4000-40ff : 0000:00:07.4
  4000-4003 : PM1a_EVT_BLK
  4008-400b : PM_TMR
  4010-4015 : ACPI CPU throttle
  4020-4023 : GPE0_BLK
  40f0-40f1 : PM1a_CNT_BLK
5000-500f : 0000:00:07.4
6000-607f : 0000:00:07.4
9000-900f : 0000:00:07.1
  9000-9007 : ide0
  9008-900f : ide1
9400-941f : 0000:00:07.2
9800-981f : 0000:00:07.3
9c00-9c3f : 0000:00:08.0
a000-a007 : 0000:00:08.1
a400-a4ff : 0000:00:0b.0
a800-a807 : 0000:00:0f.0
  a800-a807 : ide2
ac00-ac03 : 0000:002-ac02 : ide2
b000-b007 : 0000:00:0f.0
b400-b403 : 0000:00:0f.0
b800-b8ff : 0000:00:0f.0
  b800-b807 : ide2
  b808-b80f : ide3
bc00-bc07 : 0000:00:13.0
  bc00-bc07 : ide4
c000-c003 : 0000:00:13.0
  c002-c002 : ide4
c400-c407 : 0000:00:13.0
  c400-c407 : ide5
c800-c803 : 0000:00:13.0
  c802-c802 : ide5
cc00-ccff : 0000:00:13.0
  cc00-cc07 : ide4
  cc08-cc0f : ide5
  cc10-ccff : HPT370
---

lspci -v (booted with 2.6.12-10-k7):
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 02)
        Subsystem: ABIT Computer Corp. KT7/KT7-RAID/KT7A/KT7A-RAID Mainboard
        Flags: bus master, medium devsel, latency 8
        Memory at c0000000 (32-bit, prefetchable) [size=256M]
        Capabilities: <available only to root>

0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
(prog-if 00 [Normal decode])
        Flags: bus master, 66MHz, medium devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: d8000000-d9ffffff
        Prefetchable memory behind bridge: d0000000-d7ffffff
        Capabilities: <available only to root>

0000:00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]
(rev 22)
        Subsystem: ABIT Computer Corp.: Unknown device 0000
        Flags: bus master, stepping, medium devsel, latency 0

0000:00:07.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 10) (prog-if 8a
[Master SecP PriP])
        Subsystem: VIA Technologies, Inc.
VT82C586/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE
        Flags: bus master, medium devsel, latency 32
        I/O ports at 9000 [size=16]
        Capabilities: <available only to root>

0000:00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 10) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
        Flags: bus master, medium devsel, latency 32, IRQ 5
        I/O ports at 9400 [size=32]
        Capabilities: <available only to root>

0000:00:07.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 10) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
        Flags: bus master, medium devsel, latency 32, IRQ 5
        I/O ports at 9800 [size=32]
        Capabilities: <available only to root>

0000:00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
        Subsystem: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
        Flags: medium devsel, IRQ 11
        Capabilities: <available only to root>

0000:00:08.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
        Subsystem: Creative Labs SB Audigy 2 ZS (SB0350)
        Flags: bus master, medium devsel, latency 32, IRQ 5
        I/O ports at 9c00 [size=64]
        Capabilities: <available only to root>

0000:00:08.1 Input device controller: Creative Labs SB Audigy MIDI/Game port
(rev 04)
        Subsystem: Creative Labs SB Audigy MIDI/Game Port
        Flags: bus master, medium devsel, latency 32
        I/O ports at a000 [size=8]
        Capabilities: <available only to root>

0000:00:08.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev
04) (prog-if 10 [OHCI])
        Subsystem: Creative Labs SB Audigy FireWire Port
        Flags: bus master, medium devsel, latency 32, IRQ 11
        Memory at db005000 (32-bit, non-prefetchable) [size=2K]
        Memory at db000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <available only to root>

0000:00:0b.0 Ethernet controller: U.S. Robotics USR997902 10/100/1000 Mbps PCI
Network Card (rev 10)
        Subsystem: U.S. Robotics USR997902 10/100/1000 Mbps PCI Network Card
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 5
        I/O ports at a400 [size=256]
        Memory at db004000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <available only to root>

0000:00:0f.0 RAID bus controller: Triones Technologies, Inc. HPT302 (rev 02)
        Subsystem: Triones Technologies, Inc.: Unknown device 0001
        Flags: bus master, 66MHz, medium devsel, latency 120, IRQ 11
        I/O ports at a800 [size=8]
        I/O ports at ac00 [size=4]
        I/O ports at b000 [size=8]
        I/O ports at b400 [size=4]
        I/O ports at b800 [size=256]
        Capabilities: <available only to root>

0000:00:13.0 Mass storage controller: Triones Technologies, Inc.
HPT366/368/370/370A/372/372N (rev 03)
        Subsystem: Triones Technologies, Inc. HPT370A
        Flags: bus master, 66MHz, medium devsel, latency 120, IRQ 10
        I/O ports at bc00 [size=8]
        I/O ports at c000 [size=4]
        I/O ports at c400 [size=8]
        I/O ports at c800 [size=4]
        I/O ports at cc00 [size=256]
        Capabilities: <available only to root>

0000:01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX
5200] (rev a1) (prog-if 00 [VGA])
        Subsystem: PROLINK Microsystems Corp: Unknown device 1152
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 10
        Memory at d8000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: <available only to root>

Do you need s.th. else?

Thanks in advance,
    Stefan aka sistpoty
    <email address hidden>

Revision history for this message
StefanPotyra (sistpoty) wrote :

I just tried 2.6.15-8-k7, but it has still the same behaviour.

Cheers,
    Stefan.

Revision history for this message
Ben Collins (ben-collins) wrote :

I'm still trying to understand how it's possible for this to happen. From my
research of the hpt366 driver, it is really crappy and buggy. I'm not sure if
the regression is caused by some change in hpt366 itself, or a change in the
ide-core that hpt366 needs to be updated for.

Hopefully I'll have time over the weekend to look into this more.

Revision history for this message
StefanPotyra (sistpoty) wrote :

Works now with linux-image-2.6.9-15-k7. Thx.

Revision history for this message
StefanPotyra (sistpoty) wrote :

Argl. Typo: 2.6.15-9-k7 even.

Revision history for this message
Chuck Short (zulcss) wrote :

Thanks, Closing

Revision history for this message
StefanPotyra (sistpoty) wrote :
Download full text (17.6 KiB)

Sorry for crying "fixed" though it still doesn't work. It worked only once after
rebooting to 2.6.15-9-k7, and now results again in "error, ports already in use".

Here the kernel.log from the one time, where everythink was ok:

Dec 20 15:48:55 localhost kernel: Inspecting /boot/System.map-2.6.15-9-k7
Dec 20 15:48:56 localhost kernel: Loaded 22896 symbols from
/boot/System.map-2.6.15-9-k7.
Dec 20 15:48:56 localhost kernel: Symbols match kernel version 2.6.15.
Dec 20 15:48:56 localhost kernel: No module symbols loaded - kernel modules not
enabled.
Dec 20 15:48:56 localhost kernel: ] Mount-cache hash table entries: 512
Dec 20 15:48:56 localhost kernel: [4294671.581000] CPU: After generic identify,
caps: 0383f9ff c1cbf9ff 00000000 00000000 00000000 00000000 00000000
Dec 20 15:48:56 localhost kernel: [4294671.581000] CPU: After vendor identify,
caps: 0383f9ff c1cbf9ff 00000000 00000000 00000000 00000000 00000000
Dec 20 15:48:56 localhost kernel: [4294671.581000] CPU: L1 I Cache: 64K (64
bytes/line), D cache 64K (64 bytes/line)
Dec 20 15:48:56 localhost kernel: [4294671.581000] CPU: L2 Cache: 64K (64
bytes/line)
Dec 20 15:48:56 localhost kernel: [4294671.581000] CPU: After all inits, caps:
0383f9ff c1cbf9ff 00000000 00000020 00000000 00000000 00000000
Dec 20 15:48:56 localhost kernel: [4294671.581000] mtrr: v2.0 (20020519)
Dec 20 15:48:56 localhost kernel: [4294671.581000] Enabling fast FPU save and
restore... done.
Dec 20 15:48:56 localhost kernel: [4294671.581000] Enabling unmasked SIMD FPU
exception support... done.
Dec 20 15:48:56 localhost kernel: [4294671.581000] Checking 'hlt' instruction... OK.
Dec 20 15:48:56 localhost kernel: [4294671.585000] checking if image is
initramfs... it is
Dec 20 15:48:56 localhost kernel: [4294672.331000] Freeing initrd memory: 5962k
freed
Dec 20 15:48:56 localhost kernel: [4294672.338000] not found!
Dec 20 15:48:56 localhost kernel: [4294672.343000] ACPI: setting ELCR to 0800
(from 0e20)
Dec 20 15:48:56 localhost kernel: [4294672.345000] CPU0: AMD Duron(tm) processor
stepping 01
Dec 20 15:48:56 localhost kernel: [4294672.345000] SMP motherboard not detected.
Dec 20 15:48:56 localhost kernel: [4294672.345000] Local APIC not detected.
Using dummy APIC emulation.
Dec 20 15:48:56 localhost kernel: [4294672.345000] Brought up 1 CPUs
Dec 20 15:48:56 localhost kernel: [4294672.346000] NET: Registered protocol
family 16
Dec 20 15:48:56 localhost kernel: [4294672.346000] EISA bus registered
Dec 20 15:48:56 localhost kernel: [4294672.346000] ACPI: bus type pci registered
Dec 20 15:48:56 localhost kernel: [4294672.362000] PCI: PCI BIOS revision 2.10
entry at 0xfb4e0, last bus=1
Dec 20 15:48:56 localhost kernel: [4294672.362000] PCI: Using configuration type 1
Dec 20 15:48:56 localhost kernel: [4294672.363000] ACPI: Subsystem revision 20050916
Dec 20 15:48:56 localhost kernel: [4294672.375000] ACPI: Interpreter enabled
Dec 20 15:48:56 localhost kernel: [4294672.375000] ACPI: Using PIC for interrupt
routing
Dec 20 15:48:56 localhost kernel: [4294672.376000] ACPI: PCI Root Bridge [PCI0]
(0000:00)
Dec 20 15:48:56 localhost kernel: [4294672.376000] PCI: Probing PCI hardware
(bus 00)
Dec 20 15:48:56 localhost kernel: [429467...

Revision history for this message
Ben Collins (ben-collins) wrote :

(In reply to comment #6)
> Sorry for crying "fixed" though it still doesn't work. It worked only once after
> rebooting to 2.6.15-9-k7, and now results again in "error, ports already in use".

I'm inclined to think that if it booted ok once, then it's a hardware issue.
Have you checked for BIOS updates for your system? Have you tried to set
fail-safe defaults in your BIOS?

Revision history for this message
StefanPotyra (sistpoty) wrote :

[00:04:42] <infinity> Can you try "echo 'blacklist ide-generic' >
/etc/modprobe.d/blacklist-ide && update-initramfs -u"?

That's what I did and it works now (repeatable).

Revision history for this message
Ben Collins (ben-collins) wrote :

*** Bug 27356 has been marked as a duplicate of this bug. ***

Revision history for this message
Bruno (bruno666-666) wrote :

Same hardware (yes HPT370 is buggy), same problem, same solution.
Thanks a lot.
I think Bug #27446 is a duplicate (same problem with a Promise controller)

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

udev will only load ide-generic if loading the real IDE driver does not produce the root device...

All IDE drivers are supposed to finish probing before returning, so if one isn't doing that, that's a kernel bug!

Reassigning to kernel

Changed in udev:
assignee: keybuk → ubuntu-kernel-team
Revision history for this message
Przemek K. (azrael) wrote :

I have a similar error after today's update on my second laptop (acer aspire 5002) which is running feisty fawn (64-bit):
hda error, ports already in use
I can't start my feisty install in recovery mode too.

Revision history for this message
Peter Cherriman (pjcherriman) wrote :

I've got a similar problem with my mum's dapper installation.

I installed the current 2.6.20-generic kernel from the feisty respository on a dapper machine,
to fix a problem with not detecting a USB scanner at power-up (needed to unplug/replug to see it)

However I found in about 1 in 5 boots the 2.6.20 kernel failed to boot,
with it waiting for ages with:

Begin: Waiting for root file system... ...

whenever this occurred it was preceeded by a:

hda: ERROR PORTS ALREADY IN USE

Its seems it might be a race condition, where the via v82cxxx driver
doesn't always claim /dev/hda before ide-generic does. Which causes the boot to fail.

After a while in the fault contidition it drops into a busybox shell and
I found only/dev/hdc the cdrom drive was listed in /dev

Not sure If I found a fix, but its booted 10 times without problem since I commented the ide-generic and recreated the
initrd file for the 2.6.20 kernel as sort of explained in bug report 76872

Revision history for this message
Peter Cherriman (pjcherriman) wrote :

The above bug fix I mentioned (commenting ide-generic and recreating initrd) works most of the time.
But about 1 in 30 boots it fails, unfortunately I haven't been there when it has to see if its the same error
message. On each occasion a reboot fixed the problem, so I'm convinced the problem is via v82cxxx driver taking too long
and sometime much too long to be initialised (possible not at all - since I've not been there to see)

Revision history for this message
seisen1 (seisen-deactivatedaccount-deactivatedaccount) wrote :

Can you please test this in the latest version of Ubuntu, Hardy Heron, to see if its still a problem?

Revision history for this message
StefanPotyra (sistpoty) wrote :

Nope, I don't have the mainboard in question any longer.

Revision history for this message
seisen1 (seisen-deactivatedaccount-deactivatedaccount) wrote :

I am marking this bug as invalid.

Changed in linux-source-2.6.15:
status: New → Invalid
assignee: ubuntu-kernel-team → nobody
Revision history for this message
Jeremy Salwen (jeremy.salwen) wrote :

I am having this same problem with a fresh installation of ubuntu hardy. It was not an issue in 2.6.18-2, but is in 2.6.18-4 and 2.6.18-6 kernels. It isn't actually fresh as in it was directly installed, but was upgraded from a fresh installation of an old debian version.

I haven't tried any fixes as of yet, but I thought I should let you know you are not the only person getting this problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.