Re: 2.2.0pre2: unable to print

Bryn Paul Arnold Jones (bpaj@gytha.demon.co.uk)
Thu, 7 Jan 1999 16:19:51 +0000 (GMT)


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

On Wed, 6 Jan 1999, Tim Waugh wrote:

> On Tue, 5 Jan 1999, Bryn Paul Arnold Jones wrote:
>
> > I can't get parport_pc to load if I pass it any parameters (such as "irq=7
> > io=0x378 dma=1", or just "irq=7"), it just fails to load silently with
> > modprobe, and with a SEGV with insmod (I assume modprobe is just hiding it
> > from me).
>
> How do you mean 'silently'? Does dmesg have anything to say?
>

Silently as in it sais nothing:

Script started on Thu Jan 7 15:48:15 1999
root@gytha:~# lsmod
Module Size Used by
ppp_deflate 38504 0 (autoclean)
bsd_comp 3456 0 (autoclean)
serial 16816 0 (autoclean)
root@gytha:~# file core
core: ELF 32-bit LSB core file of 'insmod' (signal 11), Intel 80386, version 1
root@gytha:~# rm core
root@gytha:~# modprobe parport_pc
root@gytha:~# lsmod
Module Size Used by
parport_pc 5056 0
parport 6596 0 [parport_pc]
ppp_deflate 38504 0 (autoclean)
bsd_comp 3456 0 (autoclean)
serial 16816 0 (autoclean)
root@gytha:~# modprobe -r parport_pc
root@gytha:~# ls core
ls: core: No such file or directory
root@gytha:~# modprobe parport_pc irq=7 io=0x378
root@gytha:~# lsmod
Module Size Used by
ppp_deflate 38504 0 (autoclean)
bsd_comp 3456 0 (autoclean)
serial 16816 0 (autoclean)
root@gytha:~# ls core
core
root@gytha:~# file core
core: ELF 32-bit LSB core file of 'insmod' (signal 11), Intel 80386, version 1
root@gytha:~# exit
exit

Script done on Thu Jan 7 15:50:04 1999

All that puts in my syslog is this:
Jan 7 15:46:43 gytha kernel: parport0: PC-style at 0x378 [SPP]
Jan 7 15:48:40 gytha kernel: parport0: PC-style at 0x378 [SPP]
Jan 7 16:02:03 gytha PAM_pwdb[1326]: (su) session opened for user nobody by (uid=99)

As you can see, only the middle line falls in that script session. I have
the same on sysloged to tty8 which set to *.*, so no oops.

> As a sidenote, you can't just say "irq=7"; you must specify a base address
> too.
>

No difference as you can see above.

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/AwUBNpTesN94IUtvfSqaEQKfxgCfZgFa2BcG3t1d3CxaAfRsirbNSOQAn2Il
qCzYfDiFvny1QO7fuqqUOy1l
=/5ki
-----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/