Re: boot messages (U)DMA,swapon, .....

Bryn Paul Arnold Jones (bpaj@gytha.demon.co.uk)
Tue, 5 Jan 1999 18:55:26 +0000 (GMT)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 4 Jan 1999, David Feuer wrote:

> Some assorted boot messages from 2.2.0-pre3 (same in pre4 IIANM):
>
> PIIX3: IDE controller on PCI bus 00 dev 39
> PIIX3: not 100% native mode: will probe irqs later
>
> what does this mean?
>

Your (and everyone elses) IDE chipset isn't in 100% PCI (native) mode , ie
it's got a compatiblity bells and whistles so it looks like a normal ISA
IDE adapter to the bios.

That's fine by us, it just means we can't just read the irq(s) from the
PCI config space on the chip, and get the right answer. We have to go
throught the whole "make the device generate an irq and see which one it
was" probing thing.

> ....
>
> ide2: ports already in use, skipping probe
>
> what's this mean?
>

It means that some or all of the IO ports for the third ide channel (hde &
hdf) have been marked inuse by something else. I had this problem which
turned out to be the second builtin serial port was set to use 0x01e8,
and ide2 wanted to use it too. The serial port won, so I couldn't use
ide2 (which was a problem because I have a tape drive on that adapter, and
I was tring to recover from a harddisk failure at the time). The fix was
just to disable the serial port, I don't use it so that's ok.

> *******************
>
> biggie!
>
> hdb: (U)DMA capability is broken for WDC AC33100H
> hdb: DMA disabled
>
> What's this mean? I don't remember seeing such a thing in
> earlier kernels..... drive seems to work fine when mounted....
>

The drive has been blacklisted for DMA, that means you have to use PIO
instead. It's not a problem everything should still work, it's just that
the CPU is doing the copying instead of the drive doing busmaster DMA.

> *******************
>
> ..................
>
> annoying little one, isn't it?:
>
> swapon: can't load library 'libc.so.5'
>
> I suspect maybe the drive's not mounted yet, but I can't figure
> out why swapon wants/needs libc.so.5.... just about everything
> on the system (RH 5.1) is glibc2.0.7/libc6
>
> ~> /sbin/swapon --version
> swapon: mount-2.7l
>

Do an ldd `which swapon`, if it sais libc.so.5, it's linked against that
(sounds likely).

root@gytha:~# ldd `which swapon`
libc.so.6 => /lib/libc.so.6 (0x40004000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
root@gytha:~# rpm -qf `which swapon`
mount-2.8a-2
root@gytha:~# swapon --version
swapon: mount-2.8a

But this is Red Hat 5.2 ;).

Oh, does swapon work after you've booted? There is a bug in 2.0.x (x<26
IIRC, but maybe any x) that allows you to use libraries which don't have
the execute bit set, 2.1.70ish+ have that bug fixed, so make sure to chmod
your libraries if they need it ;).

Bryn
- --
PGP pubkeys from http://www.gytha.demon.co.uk/pubkey.asc.
Men often believe -- or pretend -- that the "Law" is something sacred, or at
least a science -- an unfounded assumption very convenient to governments.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Comment: Silly comment here ...
Charset: noconv

iQA/AwUBNpJgId94IUtvfSqaEQLOPwCg1Yz/0jspFBtwbiRFOk5+Lz7FwigAnjSI
S8CP63B1YhbH4kY7uLSPuwBN
=hwHH
-----END PGP SIGNATURE-----

-
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/