Bug#237603: My computer hangs when discover loads parport_pc and I don't have a parport

2004-03-21 Thread Carlos Perelló Marín
El sáb, 13-03-2004 a las 12:20, Gaudenz Steinlin escribió:
 On Fri, Mar 12, 2004 at 11:46:46AM +0100, Carlos Perelló Marín wrote:
  Package: discover
  Version: 1.5-2
  Severity: critical
  Tags: sid
  Justification: breaks the whole system
  
  The kernel module parport_pc.o hangs my computers (imac TFT 15 and
  Tibook G4). I have filed a bug report about it to kernel-image. The
  problem is that discover loads that module on boot always but those
  PowerMac computer don't have a parport. Discover should load only
  drivers to handle devices I have, shouldn't it?
 No it should not load this module. However i fail to see why discover loads
 this module on your computer. Below you find the list of devices for which
 discover currently loads this module. I doubt you have any of these in your
 computer (check the PCI ID's with lspci -n). On my TiBook G4 (first
 generation) this does not happen.

Mine is a 
 
   10b59050bridge  parport_pc  PCI - IOBus Bridge
   11060686bridge  parport_pc  VT82C686 South Bridge [ISA]
   131f1020bridge  parport_pc  CyberParallel (1-port)
   131f1021bridge  parport_pc  CyberParallel (2-port)
   131f2020bridge  parport_pc  CyberParallel (1-port)
   131f2021bridge  parport_pc  CyberParallel (2-port)
   14078000bridge  parport_pc  Lava Parallel
   14078002bridge  parport_pc  Lava Dual Parallel port A
   14078003bridge  parport_pc  Lava Dual Parallel port B
   14078800bridge  parport_pc  BOCA Research IOPPAR
   14097168bridge  parport_pc  PCI2S550 (Dual 16550 UART)
   14158403bridge  parport_pc  VScom 011H-EP1 1 port parallel adaptor
   14d28001bridge  parport_pc  VScom 010L 1 port parallel adaptor
   14db2120bridge  parport_pc  TK9902
   15920782bridge  parport_pc  Parallel Port Card 2xEPP
   15920783bridge  parport_pc  Multi-IO Card
   416c0100bridge  parport_pc  AladdinCARD
   97109815bridge  parport_pc  VScom 021H-EP2 2 port parallel adaptor
 
   PCI ID
   

Here you have my imac devices:

bilbo:/home/carlos# lspci -n
00:0b.0 Class 0600: 106b:0027
00:10.0 Class 0300: 10de:0110 (rev b2)
10:0b.0 Class 0600: 106b:0028
10:17.0 Class ff00: 106b:0025
10:18.0 Class 0c03: 106b:0026
10:19.0 Class 0c03: 106b:0026
20:0b.0 Class 0600: 106b:0029
20:0e.0 Class 0c00: 106b:0030
20:0f.0 Class 0200: 106b:0024

And here my powerbook ones:

00:0b.0 Class 0600: 106b:002d
00:10.0 Class 0300: 1002:4c59
10:0b.0 Class 0600: 106b:002e
10:17.0 Class ff00: 106b:0022 (rev 03)
10:18.0 Class 0c03: 106b:0019
10:19.0 Class 0c03: 106b:0019
10:1a.0 Class 0607: 104c:ac50 (rev 02)
24:0b.0 Class 0600: 106b:002f
24:0e.0 Class 0c00: 11c1:5811
24:0f.0 Class 0200: 106b:0021 (rev 01)


I don't understand either why my powerpc computers are loading the lp
driver, but they do that.

A normal boot with my powerbook hangs with the discover message, then I
boot in single mode and discover runs without problems :-? but It loads
lp and parport drivers, here you have my lsmod after a boot in single
mode:

Module  Size  Used byNot tainted
af_packet  15112   0  (autoclean)
ide-scsi   11052   0 
yenta_socket   11984   0 
pcmcia_core44424   0  [yenta_socket]
lp  7388   0  (autoclean)
parport28900   0  (autoclean) [lp]
airport 3348   0 
orinoco36088   0  [airport]
hermes  9072   0  [airport orinoco]
i2c-keywest 7532   0  (autoclean) (unused)
dmasound_pmac  65424   0  (unused)
dmasound_core  12848   0  [dmasound_pmac]
soundcore   4200   3  [dmasound_core]
i2c-core   14532   0  [i2c-keywest dmasound_pmac]

I have inside my /etc/modules:

dmasound_pmac
airport

If I exit from single mode (with Ctr+D) the powerbook does not hangs and
it reachs the runlevel 2 without problems.

I don't know any way to give you more information, but please feel free
to ask anything you need so we can get this issue fixed.

As a side note, my powerbook does not have any printer spool installed
so I don't think it's a problem with a printer spool, also cups
maintainers added an option to disable the parport driver so it's not
loaded.


More info:

I did try what Sven told me (add skip parport_pc to
/etc/discover.conf) but the system hangs as always. It also hangs in
single mode now :-?

It only works if I remove the parport_pc.o file by hand with an rm
after a boot with init=/bin/bash

Cheers.

   
 Gaudenz
-- 
Carlos Perelló Marín
Debian GNU/Linux Sid (PowerPC)
Linux Registered User #121232
mailto:[EMAIL PROTECTED] || mailto:[EMAIL PROTECTED]
http://carlos.pemas.net
Valencia - Spain



signature.asc
Description: Esta parte del mensaje 

Bug#237603: My computer hangs when discover loads parport_pc and I don't have a parport

2004-03-12 Thread Carlos Perell Marn
Package: discover
Version: 1.5-2
Severity: critical
Tags: sid
Justification: breaks the whole system

The kernel module parport_pc.o hangs my computers (imac TFT 15 and
Tibook G4). I have filed a bug report about it to kernel-image. The
problem is that discover loads that module on boot always but those
PowerMac computer don't have a parport. Discover should load only
drivers to handle devices I have, shouldn't it?

Cheers.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.4.25-powerpc
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8

Versions of packages discover depends on:
ii  ash 0.4.24   Compatibility package for the Debi
ii  dash0.4.24   The Debian Almquist Shell
ii  debconf 1.4.15   Debian configuration management sy
ii  libc6   2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libdiscover11.5-2hardware identification library

-- debconf information:
* discover/manage_cdrom_devices: false
  discover/cdrom_base_mountpoint: /
  discover/cdrom_base_mountpoint_error: 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]