Re: Oops on arm pxa270 2.6.22

2007-07-19 Thread Rok Markovic

Mike Rapoport wrote:

I think you have conflict between PXA serial and 8250 drivers. Make sure 
you use only one of them.
If you need to use PCMCIA serial cards, please see 
http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2007-July/040604.html 




Thanks, I already fixed my problem. You are right it was serial port
problem. I had wrong MAJOR and MINOR numbers in serial/pxa.c Now kerel boots 
and works fine with -ck patch.


My I ask you if you (compulab) have any plans of merging machine cm-x270 patches
into mainline kernel.

Thanks again,
Rok Markovic


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


Re: Oops on arm pxa270 2.6.22

2007-07-19 Thread Mike Rapoport

Rok Markovic wrote:

Hi

I would like to ask what could be a problem or how could I start 
debuging it.

My board is cm-x270 from compulab and it successfully boot until it should
start init from busysbox. I get the folowing report.

environment:
pxa270
128Mb RAM
network boot
gcc 3.4.5 softfloat


Linux image detected in memory at 0xA010, booting...


[snip]


pxa2xx-fb: probe of pxa2xx-fb failed with error -22
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled


[snip]


RAMDISK driver initialized: 4 RAM disks of 4096K size 1024 blocksize
bootserver=0.0.0.0, rootserver=192.168.10.124, rootpath=
Looking up port of RPC 13/2 on 192.168.10.124
Looking up port of RPC 15/1 on 192.168.10.124
VFS: Mounted root (nfs filesystem).
Freeing init memory: 108K
Unable to handle kernel NULL pointer dereference at virtual address 
0004

pgd = c0004000
[0004] *pgd=
Internal error: Oops: f5 [#1]
Modules linked in:
CPU: 0Not tainted  (2.6.22-cm-x270 #2)
PC is at init_dev+0x38/0x5b8
LR is at tty_open+0xf8/0x33c
pc : []lr : []psr: 6013


[snip]

3fe0:    c0423ff8 c003c9e8 c0008b30 e1a01007 
ebfd4ec0

Backtrace:
[] (init_dev+0x0/0x5b8) from [] (tty_open+0xf8/0x33c)
[] (tty_open+0x0/0x33c) from [] 
(chrdev_open+0x114/0x174)

r8:c04e0d20 r7: r6: r5:c048f76c r4:c02e5c3c
[] (chrdev_open+0x0/0x174) from [] 
(__dentry_open+0x188/0x228)

r8:c0531c80 r7:c04ae364 r6:c00884ec r5:c048f76c r4:c04e0d20
[] (__dentry_open+0x0/0x228) from [] 
(nameidata_to_filp+0x34/0x4c)
[] (nameidata_to_filp+0x0/0x4c) from [] 
(do_filp_open+0x4c/0x50)

r4:0002
[] (do_filp_open+0x0/0x50) from [] 
(do_sys_open+0x5c/0xec)

r5: r4:0002
[] (do_sys_open+0x0/0xec) from [] (sys_open+0x24/0x28)
[] (sys_open+0x0/0x28) from [] (init_post+0x2c/0xfc)
[] (init_post+0x0/0xfc) from [] 
(kernel_init+0x15c/0x2bc)

r4:c02afed8
[] (kernel_init+0x0/0x2bc) from [] (do_exit+0x0/0x86c)
Code: e3a03000 e5823000 059030b8 e1a06000 (07935107)
Kernel panic - not syncing: Attempted to kill init!


I think you have conflict between PXA serial and 8250 drivers. Make sure you use 
only one of them.
If you need to use PCMCIA serial cards, please see 
http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2007-July/040604.html



--
Sincerely yours,
Mike.

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


Oops on arm pxa270 2.6.22

2007-07-19 Thread Rok Markovic

Hi

I would like to ask what could be a problem or how could I start debuging it.
My board is cm-x270 from compulab and it successfully boot until it should
start init from busysbox. I get the folowing report.

environment:
pxa270
128Mb RAM
network boot
gcc 3.4.5 softfloat


Linux image detected in memory at 0xA010, booting...
Kernel parameters: root=/dev/nfs ip=:eth0: console=ttySA1,38400N1 bpp=16 
nfsroot=192.168.10.124:/cm-x270
KERNEL_PARAMS: 0xA100
Linux version 2.6.22-cm-x270 ([EMAIL PROTECTED]) (gcc version 3.4.5) #2 Thu Jul 
19 09:54:50 CEST 2007
CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=397f
Machine: Compulab CM-x270
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
Run Mode clock: 208.00MHz (*16)
Turbo Mode clock: 520.00MHz (*2.5, active)
Memory clock: 208.00MHz (/2)
System bus clock: 208.00MHz
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 1 zonelists.  Total pages: 32512
Kernel command line: root=/dev/nfs ip=:eth0: console=ttySA1,38400N1 bpp=16 
nfsroot=192.168.10.124:/cm-x270
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 126848KB available (2492K code, 371K data, 108K init)
SLUB: Genslabs=22, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Time: pxa_timer clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
io scheduler noop registered
io scheduler cfq registered (default)
pxa2xx-fb pxa2xx-fb: Invalid resolution or bit depth
pxa2xx-fb: probe of pxa2xx-fb failed with error -22
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
RAMDISK driver initialized: 4 RAM disks of 4096K size 1024 blocksize
loop: module loaded
dm9000 Ethernet Driver
eth0: dm9000 at c8802000,c8804008 IRQ 42 MAC: 00:01:c0:02:45:9a
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 
8-bit)
Scanning device for bad blocks
Bad eraseblock 299 at 0x0256
Bad eraseblock 2236 at 0x1178
Using static partition definition
Creating 1 MTD partitions on "NAND 512MiB 3,3V 8-bit":
0x-0x2000 : "cmx270-0"
usbmon: debugfs is not available
pxa27x-ohci pxa27x-ohci: PXA27x OHCI
pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1
pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
XScale iWMMXt coprocessor detected.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.10.76
IP-Config: Complete:
 device=eth0, addr=192.168.10.76, mask=255.255.255.0, gw=192.168.10.1,
host=192.168.10.76, domain=spina.si, nis-domain=(none),
bootserver=0.0.0.0, rootserver=192.168.10.124, rootpath=
Looking up port of RPC 13/2 on 192.168.10.124
Looking up port of RPC 15/1 on 192.168.10.124
VFS: Mounted root (nfs filesystem).
Freeing init memory: 108K
Unable to handle kernel NULL pointer dereference at virtual address 0004
pgd = c0004000
[0004] *pgd=
Internal error: Oops: f5 [#1]
Modules linked in:
CPU: 0Not tainted  (2.6.22-cm-x270 #2)
PC is at init_dev+0x38/0x5b8
LR is at tty_open+0xf8/0x33c
pc : []lr : []psr: 6013
sp : c0423dec  ip : c0423e38  fp : c0423e34
r10:   r9 :   r8 : 0002
r7 : 0001  r6 : c04e2200  r5 : c04e0d20  r4 : c02e5c3c
r3 :   r2 : c0423df0  r1 : c0423e08  r0 : c04e2200
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: 397f  Table: a0004000  DAC: 0017
Process swapper (pid: 1, stack limit = 0xc0422260)
Stack: (0xc0423dec to 0xc0424000)
3de0:c003ab44  c0423e3c c04e2200 

Oops on arm pxa270 2.6.22

2007-07-19 Thread Rok Markovic

Hi

I would like to ask what could be a problem or how could I start debuging it.
My board is cm-x270 from compulab and it successfully boot until it should
start init from busysbox. I get the folowing report.

environment:
pxa270
128Mb RAM
network boot
gcc 3.4.5 softfloat


Linux image detected in memory at 0xA010, booting...
Kernel parameters: root=/dev/nfs ip=:eth0: console=ttySA1,38400N1 bpp=16 
nfsroot=192.168.10.124:/cm-x270
KERNEL_PARAMS: 0xA100
Linux version 2.6.22-cm-x270 ([EMAIL PROTECTED]) (gcc version 3.4.5) #2 Thu Jul 
19 09:54:50 CEST 2007
CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=397f
Machine: Compulab CM-x270
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
Run Mode clock: 208.00MHz (*16)
Turbo Mode clock: 520.00MHz (*2.5, active)
Memory clock: 208.00MHz (/2)
System bus clock: 208.00MHz
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 1 zonelists.  Total pages: 32512
Kernel command line: root=/dev/nfs ip=:eth0: console=ttySA1,38400N1 bpp=16 
nfsroot=192.168.10.124:/cm-x270
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 126848KB available (2492K code, 371K data, 108K init)
SLUB: Genslabs=22, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Time: pxa_timer clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
io scheduler noop registered
io scheduler cfq registered (default)
pxa2xx-fb pxa2xx-fb: Invalid resolution or bit depth
pxa2xx-fb: probe of pxa2xx-fb failed with error -22
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
RAMDISK driver initialized: 4 RAM disks of 4096K size 1024 blocksize
loop: module loaded
dm9000 Ethernet Driver
eth0: dm9000 at c8802000,c8804008 IRQ 42 MAC: 00:01:c0:02:45:9a
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 
8-bit)
Scanning device for bad blocks
Bad eraseblock 299 at 0x0256
Bad eraseblock 2236 at 0x1178
Using static partition definition
Creating 1 MTD partitions on "NAND 512MiB 3,3V 8-bit":
0x-0x2000 : "cmx270-0"
usbmon: debugfs is not available
pxa27x-ohci pxa27x-ohci: PXA27x OHCI
pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1
pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
XScale iWMMXt coprocessor detected.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.10.76
IP-Config: Complete:
 device=eth0, addr=192.168.10.76, mask=255.255.255.0, gw=192.168.10.1,
host=192.168.10.76, domain=spina.si, nis-domain=(none),
bootserver=0.0.0.0, rootserver=192.168.10.124, rootpath=
Looking up port of RPC 13/2 on 192.168.10.124
Looking up port of RPC 15/1 on 192.168.10.124
VFS: Mounted root (nfs filesystem).
Freeing init memory: 108K
Unable to handle kernel NULL pointer dereference at virtual address 0004
pgd = c0004000
[0004] *pgd=
Internal error: Oops: f5 [#1]
Modules linked in:
CPU: 0Not tainted  (2.6.22-cm-x270 #2)
PC is at init_dev+0x38/0x5b8
LR is at tty_open+0xf8/0x33c
pc : []lr : []psr: 6013
sp : c0423dec  ip : c0423e38  fp : c0423e34
r10:   r9 :   r8 : 0002
r7 : 0001  r6 : c04e2200  r5 : c04e0d20  r4 : c02e5c3c
r3 :   r2 : c0423df0  r1 : c0423e08  r0 : c04e2200
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: 397f  Table: a0004000  DAC: 0017
Process swapper (pid: 1, stack limit = 0xc0422260)
Stack: (0xc0423dec to 0xc0424000)
3de0:c003ab44  c0423e3c c04e2200 

Oops on arm pxa270 2.6.22

2007-07-19 Thread Rok Markovic

Hi

I would like to ask what could be a problem or how could I start debuging it.
My board is cm-x270 from compulab and it successfully boot until it should
start init from busysbox. I get the folowing report.

environment:
pxa270
128Mb RAM
network boot
gcc 3.4.5 softfloat


Linux image detected in memory at 0xA010, booting...
Kernel parameters: root=/dev/nfs ip=:eth0: console=ttySA1,38400N1 bpp=16 
nfsroot=192.168.10.124:/cm-x270
KERNEL_PARAMS: 0xA100
Linux version 2.6.22-cm-x270 ([EMAIL PROTECTED]) (gcc version 3.4.5) #2 Thu Jul 
19 09:54:50 CEST 2007
CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=397f
Machine: Compulab CM-x270
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
Run Mode clock: 208.00MHz (*16)
Turbo Mode clock: 520.00MHz (*2.5, active)
Memory clock: 208.00MHz (/2)
System bus clock: 208.00MHz
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 1 zonelists.  Total pages: 32512
Kernel command line: root=/dev/nfs ip=:eth0: console=ttySA1,38400N1 bpp=16 
nfsroot=192.168.10.124:/cm-x270
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 126848KB available (2492K code, 371K data, 108K init)
SLUB: Genslabs=22, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Time: pxa_timer clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
io scheduler noop registered
io scheduler cfq registered (default)
pxa2xx-fb pxa2xx-fb: Invalid resolution or bit depth
pxa2xx-fb: probe of pxa2xx-fb failed with error -22
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
RAMDISK driver initialized: 4 RAM disks of 4096K size 1024 blocksize
loop: module loaded
dm9000 Ethernet Driver
eth0: dm9000 at c8802000,c8804008 IRQ 42 MAC: 00:01:c0:02:45:9a
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 
8-bit)
Scanning device for bad blocks
Bad eraseblock 299 at 0x0256
Bad eraseblock 2236 at 0x1178
Using static partition definition
Creating 1 MTD partitions on NAND 512MiB 3,3V 8-bit:
0x-0x2000 : cmx270-0
usbmon: debugfs is not available
pxa27x-ohci pxa27x-ohci: PXA27x OHCI
pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1
pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
XScale iWMMXt coprocessor detected.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.10.76
IP-Config: Complete:
 device=eth0, addr=192.168.10.76, mask=255.255.255.0, gw=192.168.10.1,
host=192.168.10.76, domain=spina.si, nis-domain=(none),
bootserver=0.0.0.0, rootserver=192.168.10.124, rootpath=
Looking up port of RPC 13/2 on 192.168.10.124
Looking up port of RPC 15/1 on 192.168.10.124
VFS: Mounted root (nfs filesystem).
Freeing init memory: 108K
Unable to handle kernel NULL pointer dereference at virtual address 0004
pgd = c0004000
[0004] *pgd=
Internal error: Oops: f5 [#1]
Modules linked in:
CPU: 0Not tainted  (2.6.22-cm-x270 #2)
PC is at init_dev+0x38/0x5b8
LR is at tty_open+0xf8/0x33c
pc : [c0135dd8]lr : [c0136450]psr: 6013
sp : c0423dec  ip : c0423e38  fp : c0423e34
r10:   r9 :   r8 : 0002
r7 : 0001  r6 : c04e2200  r5 : c04e0d20  r4 : c02e5c3c
r3 :   r2 : c0423df0  r1 : c0423e08  r0 : c04e2200
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: 397f  Table: a0004000  DAC: 0017
Process swapper (pid: 1, stack limit = 0xc0422260)
Stack: (0xc0423dec to 0xc0424000)
3de0:c003ab44  c0423e3c 

Oops on arm pxa270 2.6.22

2007-07-19 Thread Rok Markovic

Hi

I would like to ask what could be a problem or how could I start debuging it.
My board is cm-x270 from compulab and it successfully boot until it should
start init from busysbox. I get the folowing report.

environment:
pxa270
128Mb RAM
network boot
gcc 3.4.5 softfloat


Linux image detected in memory at 0xA010, booting...
Kernel parameters: root=/dev/nfs ip=:eth0: console=ttySA1,38400N1 bpp=16 
nfsroot=192.168.10.124:/cm-x270
KERNEL_PARAMS: 0xA100
Linux version 2.6.22-cm-x270 ([EMAIL PROTECTED]) (gcc version 3.4.5) #2 Thu Jul 
19 09:54:50 CEST 2007
CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=397f
Machine: Compulab CM-x270
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
Run Mode clock: 208.00MHz (*16)
Turbo Mode clock: 520.00MHz (*2.5, active)
Memory clock: 208.00MHz (/2)
System bus clock: 208.00MHz
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 1 zonelists.  Total pages: 32512
Kernel command line: root=/dev/nfs ip=:eth0: console=ttySA1,38400N1 bpp=16 
nfsroot=192.168.10.124:/cm-x270
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 126848KB available (2492K code, 371K data, 108K init)
SLUB: Genslabs=22, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Time: pxa_timer clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
io scheduler noop registered
io scheduler cfq registered (default)
pxa2xx-fb pxa2xx-fb: Invalid resolution or bit depth
pxa2xx-fb: probe of pxa2xx-fb failed with error -22
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
RAMDISK driver initialized: 4 RAM disks of 4096K size 1024 blocksize
loop: module loaded
dm9000 Ethernet Driver
eth0: dm9000 at c8802000,c8804008 IRQ 42 MAC: 00:01:c0:02:45:9a
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 
8-bit)
Scanning device for bad blocks
Bad eraseblock 299 at 0x0256
Bad eraseblock 2236 at 0x1178
Using static partition definition
Creating 1 MTD partitions on NAND 512MiB 3,3V 8-bit:
0x-0x2000 : cmx270-0
usbmon: debugfs is not available
pxa27x-ohci pxa27x-ohci: PXA27x OHCI
pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1
pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
XScale iWMMXt coprocessor detected.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.10.76
IP-Config: Complete:
 device=eth0, addr=192.168.10.76, mask=255.255.255.0, gw=192.168.10.1,
host=192.168.10.76, domain=spina.si, nis-domain=(none),
bootserver=0.0.0.0, rootserver=192.168.10.124, rootpath=
Looking up port of RPC 13/2 on 192.168.10.124
Looking up port of RPC 15/1 on 192.168.10.124
VFS: Mounted root (nfs filesystem).
Freeing init memory: 108K
Unable to handle kernel NULL pointer dereference at virtual address 0004
pgd = c0004000
[0004] *pgd=
Internal error: Oops: f5 [#1]
Modules linked in:
CPU: 0Not tainted  (2.6.22-cm-x270 #2)
PC is at init_dev+0x38/0x5b8
LR is at tty_open+0xf8/0x33c
pc : [c0135dd8]lr : [c0136450]psr: 6013
sp : c0423dec  ip : c0423e38  fp : c0423e34
r10:   r9 :   r8 : 0002
r7 : 0001  r6 : c04e2200  r5 : c04e0d20  r4 : c02e5c3c
r3 :   r2 : c0423df0  r1 : c0423e08  r0 : c04e2200
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: 397f  Table: a0004000  DAC: 0017
Process swapper (pid: 1, stack limit = 0xc0422260)
Stack: (0xc0423dec to 0xc0424000)
3de0:c003ab44  c0423e3c 

Re: Oops on arm pxa270 2.6.22

2007-07-19 Thread Mike Rapoport

Rok Markovic wrote:

Hi

I would like to ask what could be a problem or how could I start 
debuging it.

My board is cm-x270 from compulab and it successfully boot until it should
start init from busysbox. I get the folowing report.

environment:
pxa270
128Mb RAM
network boot
gcc 3.4.5 softfloat


Linux image detected in memory at 0xA010, booting...


[snip]


pxa2xx-fb: probe of pxa2xx-fb failed with error -22
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled


[snip]


RAMDISK driver initialized: 4 RAM disks of 4096K size 1024 blocksize
bootserver=0.0.0.0, rootserver=192.168.10.124, rootpath=
Looking up port of RPC 13/2 on 192.168.10.124
Looking up port of RPC 15/1 on 192.168.10.124
VFS: Mounted root (nfs filesystem).
Freeing init memory: 108K
Unable to handle kernel NULL pointer dereference at virtual address 
0004

pgd = c0004000
[0004] *pgd=
Internal error: Oops: f5 [#1]
Modules linked in:
CPU: 0Not tainted  (2.6.22-cm-x270 #2)
PC is at init_dev+0x38/0x5b8
LR is at tty_open+0xf8/0x33c
pc : [c0135dd8]lr : [c0136450]psr: 6013


[snip]

3fe0:    c0423ff8 c003c9e8 c0008b30 e1a01007 
ebfd4ec0

Backtrace:
[c0135da0] (init_dev+0x0/0x5b8) from [c0136450] (tty_open+0xf8/0x33c)
[c0136358] (tty_open+0x0/0x33c) from [c0088600] 
(chrdev_open+0x114/0x174)

r8:c04e0d20 r7: r6: r5:c048f76c r4:c02e5c3c
[c00884ec] (chrdev_open+0x0/0x174) from [c00847d0] 
(__dentry_open+0x188/0x228)

r8:c0531c80 r7:c04ae364 r6:c00884ec r5:c048f76c r4:c04e0d20
[c0084648] (__dentry_open+0x0/0x228) from [c00848a4] 
(nameidata_to_filp+0x34/0x4c)
[c0084870] (nameidata_to_filp+0x0/0x4c) from [c0084908] 
(do_filp_open+0x4c/0x50)

r4:0002
[c00848bc] (do_filp_open+0x0/0x50) from [c0084c48] 
(do_sys_open+0x5c/0xec)

r5: r4:0002
[c0084bec] (do_sys_open+0x0/0xec) from [c0084cfc] (sys_open+0x24/0x28)
[c0084cd8] (sys_open+0x0/0x28) from [c0023300] (init_post+0x2c/0xfc)
[c00232d4] (init_post+0x0/0xfc) from [c0008c80] 
(kernel_init+0x15c/0x2bc)

r4:c02afed8
[c0008b24] (kernel_init+0x0/0x2bc) from [c003c9e8] (do_exit+0x0/0x86c)
Code: e3a03000 e5823000 059030b8 e1a06000 (07935107)
Kernel panic - not syncing: Attempted to kill init!


I think you have conflict between PXA serial and 8250 drivers. Make sure you use 
only one of them.
If you need to use PCMCIA serial cards, please see 
http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2007-July/040604.html



--
Sincerely yours,
Mike.

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


Re: Oops on arm pxa270 2.6.22

2007-07-19 Thread Rok Markovic

Mike Rapoport wrote:

I think you have conflict between PXA serial and 8250 drivers. Make sure 
you use only one of them.
If you need to use PCMCIA serial cards, please see 
http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2007-July/040604.html 




Thanks, I already fixed my problem. You are right it was serial port
problem. I had wrong MAJOR and MINOR numbers in serial/pxa.c Now kerel boots 
and works fine with -ck patch.


My I ask you if you (compulab) have any plans of merging machine cm-x270 patches
into mainline kernel.

Thanks again,
Rok Markovic


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