On 24 May 00 at 22:05, Petr Vandrovec wrote:
> Having solved a floppy problem earlier today, I wondered
> whether nobody else saw this problem. As it turns out
> lots of people complain. However, it may be that there is
> more than one problem.
Me too. Unfortunately
> diff -u --recursive --new-file ../linux-2.3.99p9/linux/drivers/block/floppy.c ./linux/drivers/block/floppy.c
> - --- ../linux-2.3.99p9/linux/drivers/block/floppy.c Wed May 24 15:18:10 2000
> +++ ./linux/drivers/block/floppy.c Wed May 24 15:23:44 2000
> @@ -3649,6 +3649,8 @@
> +static int floppy_open_ct = 0;
this patch did not solved problem for me... If I do 'mdir a:',
I get
--- inserting floppy driver for 2.3.99-pre9-smp Floppy drive(s): fd0 is 1.44M FDC 0 is post-1991 82077 check floppy change with opencnt 1 ( <-- I added printk here) VFS: Disk change detected on device fd(2,0) end_request: I/O error, dev 02:00 (floppy), sector 0 --- Repeating 'mdir a:' shows last three lines again. And again and again and...Also, before dump above I was awarded with this: 21:53:53 [mdir a:] vana kernel: VFS: Disk change detected on device fd(2,0) vana kernel: end_request: I/O error, dev 02:00 (floppy), sector 0 [it still does not work... Apply aeb's change, rmmod floppy; mdir a:] 21:56:34 vana kernel: Unable to handle kernel paging request at virtual address d2d325f4 vana kernel: printing eip: vana kernel: c013d4ca vana kernel: *pde = 0d518063 vana kernel: *pte = 00000000 vana kernel: Oops: 0000 vana kernel: CPU: 1 vana kernel: EIP: 0010:[blkdev_open+130/252] vana kernel: EFLAGS: 00010246 vana kernel: eax: c1539214 ebx: c15391e0 ecx: c15391f8 edx: d2d325f4 vana kernel: esi: c15391f8 edi: c49a9d40 ebp: 00000000 esp: c4295f3c vana kernel: ds: 0018 es: 0018 ss: 0018 vana kernel: Process mdir (pid: 28808, stackpage=c4295000) vana kernel: Stack: cdb00280 c49a9d40 ffffffe9 c1548ae0 c01345de c49a9d40 cdb00280 000001b6 vana kernel: c4508000 00000080 c4508000 c0134536 c49b7400 c1548ae0 00000080 c4294000 vana kernel: 00000003 bffff2bc c49b7400 c1548ae0 c4508000 bffff2bc c4508000 00000001 vana kernel: Call Trace: [dentry_open+158/280] [filp_open+82/92] [sys_open+98/344] [system_call+52/56] vana kernel: Code: 83 3a 00 74 0f 8b 44 24 18 50 57 8b 02 ff d0 89 c5 83 c4 08 [what? Segmentation fault? lsmod does not show 'floppy' module loaded. Strange...] 21:57:22 [so try mdir a: again... maybe Microsoft code in action...] vana kernel: inserting floppy driver for 2.3.99-pre9-smp vana kernel: Floppy drive(s): fd0 is 1.44M vana kernel: FDC 0 is a post-1991 82077 ... [well, no oops, but no floppy... probably died on down(&bdev->bd_sem)]
If I decoded it correctly, problem was that 'bdev->bd_op' was non-null, but pointed to unmapped area... Alexander? Petr Vandrovec vandrove@vc.cvut.cz
- 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/
This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:12 EST