Re: IDE driver assined IRQ for disabled IDE channel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
Subject: Re: IDE driver assined IRQ for disabled IDE channel
Date: Sun, 27 Jul 2008 15:56:52 +0200

> ide_generic has no enablebits checking but 'ide_generic.probe_mask=1'
> kernel parameter can be used to limit probing to the first port only.

Ok, I understood.

> However shouldn't a designated IDE PCI host driver be used instead?

I feel drivers/ide/cs5520 is unstable with TuxOnIce. So I use ide_generic
instead of cs5520 and looked at the state

> [ if this is Cx5520 PCI IDE, the cs5520 host driver misses enablebits
>   checking, untested fix attached ]

Yes, My little box has cs5520. I applied the patch, it works fine.
dmesg says:

Uniform Multi-Platform E-IDE driver
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Cyrix 5520: IDE controller (0x1078:0x0002 rev 0x00) at  PCI slot 0000:00:12.0
PCI: Setting latency timer of device 0000:00:12.0 to 64
Cyrix 5520: IDE port disabled
    ide0: BM-DMA at 0x5000-0x5007
Probing IDE interface ide0...
hda: IC25N030ATCS04-0, ATA DISK drive

> ide_generic has no enablebits checking but 'ide_generic.probe_mask=1'
> kernel parameter can be used to limit probing to the first port only.

Ok, I understood.

> However shouldn't a designated IDE PCI host driver be used instead?

I feel drivers/ide/cs5520 is unstable with TuxOnIce. So I use ide_generic
instead of cs5520 and looked at the state.

> > ide_probe_port() returns -ENODEV, so hwif->present clear to 0.
> > I think hwif->present mean IDE channel is exist/enabled. Doesn't mean
> > connected devices(disks, CD-ROM drives and others).
> 
> It used to mean both because the port was registered only if there
> were devices connected to it but it is no longer a case (seems like
> ->present documentation in ide.h is out of date now and needs fixing).

I see too.

--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux