public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.2ac8 lost char devices
@ 2001-03-02  2:09 J . A . Magallon
  2001-03-02 14:08 ` Alan Cox
  0 siblings, 1 reply; 10+ messages in thread
From: J . A . Magallon @ 2001-03-02  2:09 UTC (permalink / raw)
  To: Alan Cox, Linux Kernel

Hi,

Well, somethig has broken in ac8, because I lost my PS/2 mouse and
(less important, but perhaps it is useful) the microcode driver. So
I think it something common to both.

The onle diff in dmesg from ac7 to ac8 is just the errors:

1c1
< Linux version 2.4.2-ac7 (root@werewolf.able.es) (gcc version 2.96 20000731
(Linux-Mandrake 8.0)) #1 SMP Fri Mar 2 02:36:23 CET 2001
---
> Linux version 2.4.2-ac8 (root@werewolf.able.es) (gcc version 2.96 20000731
(Linux-Mandrake 8.0)) #1 SMP Fri Mar 2 01:17:50 CET 2001
82c82
< Detected 400.917 MHz processor.
---
> Detected 400.914 MHz processor.
232,237c232,237
< ..... CPU clock speed is 400.8934 MHz.
< ..... host bus clock speed is 100.2232 MHz.
< cpu: 0, clocks: 1002232, slice: 334077
< CPU0<T0:1002224,T1:668144,D:3,S:334077,C:1002232>
< cpu: 1, clocks: 1002232, slice: 334077
< CPU1<T0:1002224,T1:334064,D:6,S:334077,C:1002232>
---
> ..... CPU clock speed is 400.8944 MHz.
> ..... host bus clock speed is 100.2233 MHz.
> cpu: 0, clocks: 1002233, slice: 334077
> CPU0<T0:1002224,T1:668144,D:3,S:334077,C:1002233>
> cpu: 1, clocks: 1002233, slice: 334077
> CPU1<T0:1002224,T1:334064,D:6,S:334077,C:1002233>
245c245,246
< IA-32 Microcode Update Driver: v1.08 <tigran@veritas.com>
---
> microcode: can't misc_register on minor=184
> microcode: failed to devfs_register()

What is microcode doing with devfs ? I have not configured devfs...

--
J.A. Magallon                                                      $> cd pub
mailto:jamagallon@able.es                                          $> more beer

Linux werewolf 2.4.2-ac7 #1 SMP Fri Mar 2 02:36:23 CET 2001 i686


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 2.4.2ac8 lost char devices
       [not found] ` <Pine.LNX.4.10.10103012118150.4044-100000@coffee.psychology.mcmaster.ca>
@ 2001-03-02  2:24   ` J . A . Magallon
  2001-03-02  2:27     ` Mark Hahn
  0 siblings, 1 reply; 10+ messages in thread
From: J . A . Magallon @ 2001-03-02  2:24 UTC (permalink / raw)
  To: Mark Hahn; +Cc: J . A . Magallon, linux-kernel


On 03.02 Mark Hahn wrote:
> > > > Well, somethig has broken in ac8, because I lost my PS/2 mouse and
> > > 
> > > me too </aol>.
> > > my theory at the moment is that perhaps the new apic feature
> > > killed it (I also had ioapic enabled).  mine's a kt133 system...
> > 
> > Mmmmmm, lets try noapic...
> 

No luck.

-- 
J.A. Magallon                                                      $> cd pub
mailto:jamagallon@able.es                                          $> more beer

Linux werewolf 2.4.2-ac7 #1 SMP Fri Mar 2 02:36:23 CET 2001 i686


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 2.4.2ac8 lost char devices
  2001-03-02  2:24   ` J . A . Magallon
@ 2001-03-02  2:27     ` Mark Hahn
  2001-03-02  4:20       ` J Sloan
  2001-03-02 10:14       ` Tigran Aivazian
  0 siblings, 2 replies; 10+ messages in thread
From: Mark Hahn @ 2001-03-02  2:27 UTC (permalink / raw)
  To: J . A . Magallon; +Cc: linux-kernel

> > > > > Well, somethig has broken in ac8, because I lost my PS/2 mouse and
> > > > me too </aol>.
> No luck.

it seems to be the mdelay(2) added to pc_keyb.c in -ac6.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 2.4.2ac8 lost char devices
  2001-03-02  2:27     ` Mark Hahn
@ 2001-03-02  4:20       ` J Sloan
  2001-03-02 10:14       ` Tigran Aivazian
  1 sibling, 0 replies; 10+ messages in thread
From: J Sloan @ 2001-03-02  4:20 UTC (permalink / raw)
  To: Kernel Mailing List; +Cc: Mark Hahn

Mark Hahn wrote:

> > > > > > Well, somethig has broken in ac8, because I lost my PS/2 mouse and
> > > > > me too </aol>.
> > No luck.

same here -

> it seems to be the mdelay(2) added to pc_keyb.c in -ac6.

-ac7 is fine here, but when I boot -ac8, there's no ps/2 mouse.

jjs




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 2.4.2ac8 lost char devices
@ 2001-03-02  5:42 rml
  2001-03-02  6:05 ` tachino Nobuhiro
  0 siblings, 1 reply; 10+ messages in thread
From: rml @ 2001-03-02  5:42 UTC (permalink / raw)
  To: linux-kernel

actually, its not just ps/2 mice -- it seems to be something generic to char
devices. agpgartis failing to register itself, too.

what changed with char device handling from ac7 to ac8?

robert love
rml@ufl.edu

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 2.4.2ac8 lost char devices
  2001-03-02  5:42 rml
@ 2001-03-02  6:05 ` tachino Nobuhiro
  2001-03-02 10:53   ` Philipp Rumpf
  0 siblings, 1 reply; 10+ messages in thread
From: tachino Nobuhiro @ 2001-03-02  6:05 UTC (permalink / raw)
  To: rml; +Cc: linux-kernel


Hello, 

At Fri, 02 Mar 2001 00:42:28 -0500,
<rml@ufl.edu> wrote:
> 
> actually, its not just ps/2 mice -- it seems to be something generic to char
> devices. agpgartis failing to register itself, too.
> 
> what changed with char device handling from ac7 to ac8?
> 
> robert love
> rml@ufl.edu
> -

  misc_register() in drivers/char/misc.c seems to have a problem.


 int misc_register(struct miscdevice * misc)
 {      
        static devfs_handle_t devfs_handle;
-               
+       struct miscdevice *c;
+               
        if (misc->next || misc->prev)
                return -EBUSY;
        down(&misc_sem);
+       c = misc_list.next;
+               
+       while ((c != &misc_list) && (c->minor != misc->minor))
+               c = c->next;
+       if (c == &misc_list) {

  This should be  (c != &misc_list)

+               up(&misc_sem);
+               return -EBUSY;
+       }


---
Nobuhiro Tachino
Development Department
Linux Division
Software Group
FUJITSU LIMITED
TEL: +81 559 24 7273
FAX: +81 559 24 6196
E-Mail: tachino@open.nm.fujitsu.co.jp

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: 2.4.2ac8 lost char devices
@ 2001-03-02  6:14 Ashwin D
  0 siblings, 0 replies; 10+ messages in thread
From: Ashwin D @ 2001-03-02  6:14 UTC (permalink / raw)
  To: linux-kernel

Hi, 

I lost graphics on my i810 - failed to get minor is the error message on 
boot. 
Ashwin

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 2.4.2ac8 lost char devices
  2001-03-02  2:27     ` Mark Hahn
  2001-03-02  4:20       ` J Sloan
@ 2001-03-02 10:14       ` Tigran Aivazian
  1 sibling, 0 replies; 10+ messages in thread
From: Tigran Aivazian @ 2001-03-02 10:14 UTC (permalink / raw)
  To: Mark Hahn; +Cc: J . A . Magallon, linux-kernel

On Thu, 1 Mar 2001, Mark Hahn wrote:

> > > > > > Well, somethig has broken in ac8, because I lost my PS/2 mouse and
> > > > > me too </aol>.
> > No luck.
> 
> it seems to be the mdelay(2) added to pc_keyb.c in -ac6.

are you sure? My bet is that it is to do with misc device registration as
I lost not just psaux but microcode device (which happens to be misc as
well)

Regards,
Tigran


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 2.4.2ac8 lost char devices
  2001-03-02  6:05 ` tachino Nobuhiro
@ 2001-03-02 10:53   ` Philipp Rumpf
  0 siblings, 0 replies; 10+ messages in thread
From: Philipp Rumpf @ 2001-03-02 10:53 UTC (permalink / raw)
  To: tachino Nobuhiro, Alan Cox; +Cc: rml, linux-kernel

On Fri, Mar 02, 2001 at 03:05:32PM +0900, tachino Nobuhiro wrote:
> 
> Hello, 
> 
> At Fri, 02 Mar 2001 00:42:28 -0500,
> <rml@ufl.edu> wrote:
> > 
> > actually, its not just ps/2 mice -- it seems to be something generic to char
> > devices. agpgartis failing to register itself, too.
> > 
> > what changed with char device handling from ac7 to ac8?
> > 
> > robert love
> > rml@ufl.edu
> > -
> 
>   misc_register() in drivers/char/misc.c seems to have a problem.

I guess it's too late now to pretend it's not my fault.  I foolishly assumed
if it would boot for me I couldn't have broken it too badly.

> +       c = misc_list.next;
> +               
> +       while ((c != &misc_list) && (c->minor != misc->minor))
> +               c = c->next;
> +       if (c == &misc_list) {
> 
>   This should be  (c != &misc_list)

Correct.  Alan,


diff -ur linux/drivers/char/misc.c linux-prumpf/drivers/char/misc.c
--- linux/drivers/char/misc.c	Fri Mar  2 02:48:04 2001
+++ linux-prumpf/drivers/char/misc.c	Fri Mar  2 02:49:43 2001
@@ -180,7 +180,7 @@
 
 	while ((c != &misc_list) && (c->minor != misc->minor))
 		c = c->next;
-	if (c == &misc_list) {
+	if (c != &misc_list) {
 		up(&misc_sem);
 		return -EBUSY;
 	}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 2.4.2ac8 lost char devices
  2001-03-02  2:09 J . A . Magallon
@ 2001-03-02 14:08 ` Alan Cox
  0 siblings, 0 replies; 10+ messages in thread
From: Alan Cox @ 2001-03-02 14:08 UTC (permalink / raw)
  To: J . A . Magallon; +Cc: Alan Cox, Linux Kernel

> Well, somethig has broken in ac8, because I lost my PS/2 mouse and
> (less important, but perhaps it is useful) the microcode driver. So
> I think it something common to both.

Someone broke all the misc devices.  Patch coming in ac9 RSN


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-03-02 14:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-02  6:14 2.4.2ac8 lost char devices Ashwin D
  -- strict thread matches above, loose matches on Subject: below --
2001-03-02  5:42 rml
2001-03-02  6:05 ` tachino Nobuhiro
2001-03-02 10:53   ` Philipp Rumpf
     [not found] <20010302031630.A2762@werewolf.able.es>
     [not found] ` <Pine.LNX.4.10.10103012118150.4044-100000@coffee.psychology.mcmaster.ca>
2001-03-02  2:24   ` J . A . Magallon
2001-03-02  2:27     ` Mark Hahn
2001-03-02  4:20       ` J Sloan
2001-03-02 10:14       ` Tigran Aivazian
2001-03-02  2:09 J . A . Magallon
2001-03-02 14:08 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox