USB mouse error

Neohtm neohtm at gmail.com
Wed Apr 29 09:42:59 CEST 2009


Hi all,

I tried to run the tudos-demo-cd.iso with qemu
'qemu -m 256 -cdrom tudos-demo-cd.iso -usbdevice mouse' and it's running
perfectly with the usb mouse and keyboard.

but when i tried on the one i'm compiled. the mouse and keyboard not
functioning at all and returns a kernel panic.

Please help.....

Regards,
neohtm

Below are the output of the error.


Welcome to Fiasco(ia32)!
DD-L4(v2)/ia32 microkernel (C) 1998-2009 TU Dresden
Rev: r438 compiled with gcc 4.3.2 for Intel Pentium    []
Performance-critical config option(s) detected:
  CONFIG_NDEBUG is off
  CONFIG_NO_FRAME_PTR is off

Enabling special fully nested mode for PIC
Using the PIT (i8254) on IRQ 0 for scheduling
SERIAL ESC: allocated IRQ 4 for serial uart
SERIAL ESC: allocated IRQ 4 for serial uart
Not using serial hack in slow timer handler.
Absolute KIP Syscalls using: Sysenter
CPU: GenuineIntel (6:3:3:0) Model: Pentium II (Klamath) at 1795 MHz

  32 KB L1 I Cache (8-way associative, 64 bytes per line)
  32 KB L1 D Cache (8-way associative, 64 bytes per line)
2048 KB L2 U Cache (8-way associative, 64 bytes per line)

Freeing init code/data: 24576 bytes (6 pages)

Calibrating timer loop... done.
SIGMA0: Hello!
  KIP @ 1000
  Found Fiasco: KIP syscalls: yes
  allocated 4KB for maintenance structures


Roottask.
  Command line found: "(cd)/boot/l4/l4env/roottask task modname "loader"
allow_cli task modname "bmodfs" attached 5 modules"

  261695kB ( 255MB) total RAM (reported by bootloader)
  234760kB ( 230MB) received RAM from Sigma0
   34212kB (  34MB) reserved RAM for RMGR
  Received I/O ports 0000-ffff
  Attached irqs = [ <!0> 1 <!2> 3 <!4> 5 6 7 8 9 A B C D E F 10 11 ]

Roottask: Parsing command line config.
  configured task 0x00 (loader):
    vm_offs:0 irq:3ffff lmcp:ffff allow_cli:1 mcp:ff prio:10 small:ff mods:0
  configured task 0x00 (bmodfs):
    vm_offs:0 irq:3ffff lmcp:ffff allow_cli:0 mcp:ff prio:10 small:ff mods:5

Roottask: Loading 17 modules.
#05: loading "(cd)/boot/l4/l4env/events"
     from [0612e000-0616fe99] to [01540000-01549190][0154a000-0155f590]
     entry at 0005f374 via trampoline page code
     symbols at [0eb74000-0eb76000] (8kB), lines at [0eb6d000-0eb74000]
(28kB)
#06: loading "(cd)/boot/l4/l4env/names --events"
     from [06170000-061b1c12] to [002d0000-002d6a37][002d7000-002e2000]
     entry at 0006037c via trampoline page code
     symbols at [0eb6b000-0eb6d000] (8kB), lines at [0eb65000-0eb6b000]
(24kB)
#07: loading "(cd)/boot/l4/l4env/log"
     from [061b2000-061efd07] to [00400000-00406eca][00407000-00439808]
     entry at 00061370 via trampoline page code
     symbols at [0eb63000-0eb65000] (8kB), lines at [0eb5d000-0eb63000]
(24kB)
#08: loading "(cd)/boot/l4/l4env/dm_phys --isa=0x00800000"
     from [061f0000-0628a8b4] to [01500000-01513cb7][01514000-0151e000]
     entry at 00062384 via trampoline page code
     symbols at [0eb58000-0eb5d000] (20kB), lines at [0eb4a000-0eb58000]
(56kB)
#09: loading "(cd)/boot/l4/l4env/simple_ts -t 300"
     from [0628b000-062d8310] to [01400000-01408dea][01409000-014185e8]
     entry at 0006337c via trampoline page code
     symbols at [0eb48000-0eb4a000] (8kB), lines at [0eb40000-0eb48000]
(32kB)
#0a: loading "(cd)/boot/l4/l4env/rtc"
     from [062d9000-06308a5c] to [01080000-010845c0][01085000-0108a000]
     entry at 00064370 via trampoline page code
     symbols at [0eb3e000-0eb40000] (8kB), lines at [0eb39000-0eb3e000]
(20kB)
#0b: loading "(cd)/boot/l4/l4env/l4io"
     from [06309000-0654a391] to [00c20000-00c45315][00c46000-00cb4000]
     entry at 00066370 via trampoline page code
     symbols at [0eae3000-0eb39000] (344kB), lines at [0eac9000-0eae3000]
(104kB)
#0c: loading "(cd)/boot/l4/l4env/l4dope"
     from [0654b000-066c2384] to [01b00000-01b45ef1][01b46000-01b8b000]
     entry at 00067374 via trampoline page code
     symbols at [0eabb000-0eac9000] (56kB), lines at [0ea8d000-0eabb000]
(184kB)
#0d: loading "(cd)/boot/l4/usb/usbcore"
     from [066c3000-068faac1] to [008e0000-0092600d][00927000-0094c000]
     entry at 00068374 via trampoline page code
     symbols at [0ea81000-0ea8d000] (48kB), lines at [0ea4b000-0ea81000]
(216kB)
#0e: loading "(cd)/boot/l4/usb/usbhid"
     from [068fb000-06aa0604] to [01900000-0193e269][0193f000-01966000]
     entry at 00069370 via trampoline page code
     symbols at [0ea42000-0ea4b000] (36kB), lines at [0ea17000-0ea42000]
(172kB)
#0f: loading "(cd)/boot/l4/l4env/bmodfs"
     from [06aa1000-06b48f8d] to [01220000-01238689][01239000-01250000]
     passing module (cd)/boot/l4/cfg/l4linux26.cfg        [
06b49000-06b49165 ]
     passing module (cd)/boot/l4/l4env/libloader.s.so     [
06b4a000-06be8f11 ]
     passing module (cd)/boot/l4/l4env/libld-l4.s.so      [
06be9000-06c62219 ]
     passing module (cd)/boot/l4/l4linux/vmlinuz          [
06c63000-07019183 ]
     passing module (cd)/boot/l4/l4linux/drops.rd         [
0701a000-0801a000 ]
     entry at 0006a46c via trampoline page code
     symbols at [0ea12000-0ea17000] (20kB), lines at [0e9ff000-0ea12000]
(76kB)
#10: loading "(cd)/boot/l4/l4env/loader --fprov=BMODFS l4linux26.cfg"
     from [0801a000-080f8b6d] to [01300000-013291c9][0132a000-01349000]
     entry at 0006b390 via trampoline page code
     symbols at [0e9f8000-0e9ff000] (28kB), lines at [0e9de000-0e9f8000]
(104kB)

ROOT: Sending ports 0070-0070 to task #0a
ROOT: Sending ports 0080-0080 to task #0a
ROOT: Sending ports 0071-0071 to task #0a
names   | Starting thread listening for `exit' events
rtc     | Date:29.04.2009 Time:07:33:01
simplets| Configured for 300 tasks.
loader  | Can't map tbuf status page
usbcore | main(): DDE USB CORE initiaizing:
usbcore | main(): Initializing DDE base system.
io      | Using platform configuration 'x86'
ROOT: Sending ports 0cfb-0cfb to task #0b
ROOT: Sending ports 0cf8-0cfb to task #0b
ROOT: Sending ports 0cfe-0cff to task #0b
io      | PCI: Using configuration type 1
io      | PCI: Probing PCI hardware
io      | PCI: Probing PCI hardware (bus 00)
ROOT: Sending ports 0cfc-0cff to task #0b
io      | PCI: PIIX3: Enabling Passive Release on 00:01.0
io      | Limiting direct PCI/PCI transfers.
io      | Activating ISA DMA hang workarounds.
io      | 00000000-ffffffff : PCI mem
io      |   f0000000-f1ffffff : Cirrus Logic GD 5446
io      |   f2000000-f2000fff : Cirrus Logic GD 5446
io      | 0000-ffff : PCI IO
io      |   0cf8-0cff : PCI conf1
io      |   b000-b03f : Intel Corporation 82371AB/EB/MB PIIX4 ACPI
io      |   b100-b11f : Intel Corporation 82371AB/EB/MB PIIX4 ACPI
io      |   c000-c00f : Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton
II]
io      |   c020-c03f : Intel Corporation 82371SB PIIX3 USB [Natoma/Triton
II]
io      |   c100-c1ff : Realtek Semiconductor Co., Ltd. RTL-8029(AS)
bmodfs  | Passed the following modules:
bmodfs  |   module "(cd)/boot/l4/cfg/l4linux26.cfg" (1kB)
bmodfs  |   module "(cd)/boot/l4/l4env/libloader.s.so" (636kB)
bmodfs  |   module "(cd)/boot/l4/l4env/libld-l4.s.so" (485kB)
bmodfs  |   module "(cd)/boot/l4/l4linux/vmlinuz" (3801kB)
bmodfs  |   module "(cd)/boot/l4/l4linux/drops.rd" (16384kB)
loader  | sleeping for 1000 ms
io      | Available IRQs=[ <!0> 1 <!2> 3 <!4> 5 6 7 8 9 a b c d e f 10 11 ]
l4dope  | L4INPUT native mode activated
l4dope  | L4INPUT:                !!! W A R N I N G !!!
l4dope  | L4INPUT:  Please, do not use Fiasco's "-esc" with L4INPUT.
l4dope  | L4INPUT:                !!! W A R N I N G !!!
ROOT: Sending ports 0060-006f to task #0b
l4dope  | Failed to disable AUX port, but continuing anyway... Is this a
SiS?
l4dope  | If AUX port is really absent please use the 'i8042.noaux' option.
l4dope  | serio: i8042 KBD port at 0x60,0x64 irq 1
l4dope  | input: AT Raw Set 2 keyboard on isa0060/serio0
l4dope  | input: PC Speaker
l4dope  | input: L4 input event injector
l4dope  | L4 input event injector: IRQ handler up
l4dope  | connect "AT Raw Set 2 keyboard", isa0060/serio0/input0
l4dope  | connect "PC Speaker", isa0061/input0
l4dope  | connect "L4 input event injector", l4/sys
l4dope  | SharedMem(alloc): hl.raw=100000, id=44, size=800
l4dope  | SharedMem(get_adr): address = 0x5000
l4dope  | SharedMem(alloc): hl.raw=100000, id=45, size=800
l4dope  | SharedMem(get_adr): address = 0x6000
l4dope  | SharedMem(alloc): hl.raw=100000, id=46, size=800
l4dope  | SharedMem(get_adr): address = 0x7000
l4dope  | SharedMem(alloc): hl.raw=100000, id=47, size=800
l4dope  | SharedMem(get_adr): address = 0xd000
l4dope  | SharedMem(alloc): hl.raw=100000, id=48, size=800
l4dope  | SharedMem(get_adr): address = 0xe000
l4dope  | SharedMem(alloc): hl.raw=100000, id=49, size=800
l4dope  | SharedMem(get_adr): address = 0xf000
l4dope  | SharedMem(alloc): hl.raw=100000, id=4b, size=800
l4dope  | SharedMem(get_adr): address = 0x16000
usbcore | main(): Initializing DDE kmalloc.
usbcore | main(): Initializing DDE process.
usbcore | main(): Initializing DDE timers.
usbhid  | l4dde_mm_init(): Using ...
usbhid  |   16 kB at 0x00002000 (vmem)
usbhid  |   128 kB in 1 regions (kmem)
l4dope  | SharedMem(alloc): hl.raw=100000, id=55, size=484
l4dope  | SharedMem(get_adr): address = 0x20000
l4dope  | dope: paddr=f0000000 size=4096KiB
l4dope  | Mapped video memory at f0000000 to 00400000+000000 [4096kB] via
L4IO
l4dope  | mapping: vaddr=0x400000 size=4194304(0x400000) offset=0(0x0)
l4dope  | Frame buffer base:  0x400000
l4dope  | Resolution:         1024x768x16
l4dope  | Bytes per scanline: 2048
l4dope  | Current video mode is 1024x768 red=11:5 green=5:6 blue=0:5 res=0:0
usbcore | main(): Initializing DDE softirq.
usbcore | Softirq daemon starting
usbcore | main(): Doing initcalls...
usbcore | Initializing DDE page cache
usbcore | <6>usbcore: registered new interface driver hub
usbhid  | register_chrdev(): called input
usbhid  | register_chrdev(): called usb
usbhid  | usb: registered new driver hub
usbhid  | usb: $Revision: 238 $ time 17:10:21 Apr 11 2009
usbhid  | usb: High bandwidth mode enabled
io      | PCI: Setting latency timer of device 00:01.2 to 64
usbhid  |
/home/user/Desktop/tudos/l4/pkg/usbhid/server/lib-linux/contrib/usb/h
usbhid  : ost/usb-uhci.c: USB UHCI at I/O 0xc020, IRQ 9
ROOT: Sending ports c030-c031 to task #0e
ROOT: Sending ports c032-c033 to task #0e
ROOT: Sending ports c034-c035 to task #0e
usbhid  | usb: Detected 2 ports
ROOT: Cannot send port c030 to task #0b, owner is #0e
io      | [B.2] l4io/server/src/res.c:414:l4_io_request_region_component():
io      |  sigma0 request for I/O ports [c020,c040) failed (err=0 dw1=0)
io      |

    --PANIC, 'g' for exit------------------------------------IP:
00c21185
[io] (b.02) jdb:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20090429/5543c42d/attachment.html>


More information about the l4-hackers mailing list