Re: oops in init_gendisk() (2.3.48)

From: Richard Gooch (rgooch@atnf.csiro.au)
Date: Mon Feb 28 2000 - 17:49:12 EST


Andre Hedrick writes:
>
> > ttyS00 at 0x03f8 (irq = 4) is a 16550A
> > ttyS01 at 0x02f8 (irq = 3) is a 16550A
> > pty: 256 Unix98 ptys configured
> > Uniform Multi-Platform E-IDE driver Revision: 6.30
> > PIIX4: IDE controller on PCI bus 00 dev 39
> > PIIX4: not 100% native mode: will probe irqs later
> > ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
> > hdc: TOSHIBA CD-ROM XM-6402B, ATAPI CDROM drive
> > ide1 at 0x170-0x177,0x376 on irq 15
>
> DRAT..............Richard, please check for NULL assignment possiblitiies
> in the ATA/IDE sub-system
> This is one of the "incestuous" natures that ATA/IDE has that Linus
> referred to in the past.......... :-(

Can you elaborate on this, please?

> > which works out (I think) to line 745 in ide-probe.c
> > sprintf (name, "ide/host%d/bus%d/target%d/lun%d",
> > hwif->channel ? hwif->mate->index : hwif->index,
> > hwif->channel, unit, 0);
> >
> > probably hwif->mate == NULL.
>
> You NAIL that nasty!!!!!!

So could you explain under what conditions (hwif->mate == NULL) ?

                                Regards,

                                        Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:21 EST