It is currently Mon, 26 Oct 2020 04:17:35 GMT



 
Author Message
 2.4.2ac8 lost char devices
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 (r...@werewolf.able.es) (gcc version 2.96 20000731
(Linux-Mandrake 8.0)) #1 SMP Fri Mar 2 02:36:23 CET 2001
---
(Linux-Mandrake 8.0)) #1 SMP Fri Mar 2 01:17:50 CET 2001
82c82
< Detected 400.917 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>
---
245c245,246
< IA-32 Microcode Update Driver: v1.08 <tig...@veritas.com>
---

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

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

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at   http://www.**-**.com/
Please read the FAQ at   http://www.**-**.com/



 Tue, 19 Aug 2003 10:20:03 GMT   
 2.4.2ac8 lost char devices

On 03.02 Mark Hahn wrote:

No luck.

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

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

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



 Tue, 19 Aug 2003 10:30:05 GMT   
 2.4.2ac8 lost char devices

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

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



 Tue, 19 Aug 2003 10:40:03 GMT   
 2.4.2ac8 lost char devices

same here -

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

jjs

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



 Tue, 19 Aug 2003 12:30:04 GMT   
 2.4.2ac8 lost char devices
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
r...@ufl.edu
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



 Tue, 19 Aug 2003 13:50:04 GMT   
 2.4.2ac8 lost char devices

Hello,

At Fri, 02 Mar 2001 00:42:28 -0500,

  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: tach...@open.nm.fujitsu.co.jp
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



 Tue, 19 Aug 2003 14:20:03 GMT   
 2.4.2ac8 lost char devices
Hi,

I lost graphics on my i810 - failed to get minor is the error message on
boot.
Ashwin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



 Tue, 19 Aug 2003 14:30:03 GMT   
 2.4.2ac8 lost char devices

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

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



 Tue, 19 Aug 2003 18:20:03 GMT   
 2.4.2ac8 lost char devices

indeed, this fixed the ps2 problem for me too. Patch against -ac8
attached.

        Ingo

  ps2fix-2.4.2-A0
< 1K Download


 Tue, 19 Aug 2003 19:00:05 GMT   
 2.4.2ac8 lost char devices

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.

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;
        }
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



 Tue, 19 Aug 2003 19:00:07 GMT   
 2.4.2ac8 lost char devices

oops, I didn't notice -- ignore the patch I sent a minute ago :)

Regards,
Tigran

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



 Tue, 19 Aug 2003 19:10:04 GMT   
 
   [ 16 post ]  Go to page: [1] [2]

Similar Threads

1. Char Device/pseudo device

2. char *strcasestr(char *haystack, char *needle) a simple case independent strstr()

3. Modem serial problem - lost chars

4. DOSEMU 0.53p27 Loses Filename Chars

5. lost characters from default char-set

6. WANTED: Lost posting of small program for stuffing chars into int

7. RS-232 problem with lost chars

8. serial programming, lost char

9. Remote dumb terminal loses char's with kermit


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software