linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sis630 - help needed debugging in the kernel
@ 2001-06-13 15:23 René Rebe
  2001-06-13 16:54 ` James Simmons
  2001-06-13 21:25 ` René Rebe
  0 siblings, 2 replies; 10+ messages in thread
From: René Rebe @ 2001-06-13 15:23 UTC (permalink / raw)
  To: linux-kernel, Ademar de Souza Reis Jr.; +Cc: Rolf Schillinger

Hi all!

I currently try to debug why the sisfb driver crashes my machine. (SIS 630
based laptop - linux-2.4.5-ac13).

On my serial-console I get:
[...]
sisfb: framebuffer at 0xe0000000, mapped to 0xcb800000, size 16384k
sisfb: MMIO at 0xefce0000, mapped to 0xcc801000, size 128k
sisfb: encountered LCD # debug output by me
sisfb: fall back to 1024x768 # debug ouput by me
sisfb: LCD mode # debug output by me
sisfb: mode is 800x600x8, linelength=800
[...]
Unable to handle kernel paging request at virtual address cc800180
[oops]

This happens in the method: register_framebuffer called from sisfb_init.

I compared the sisfb_init with other framebuffer drivers and can't find what is wrong.
(I normally don't do kernel hacking...). What does the kernel try to do with the
_io-memory_, mapped around line 2230 in sis_main.c? - Must the memory reqeuested or
mapped in an other way?

Another strange thing is, that the code seems to work for some people ...

I would be nice if anyone could give me a hint - because the sis-drivers (kernel and X)
doesn't work for many people ...

k33p h4ck1n6 René

-- 
René Rebe (Registered Linux user: #127875)
http://www.rene.rebe.myokay.net/
-Germany-

Anyone sending unwanted advertising e-mail to this address will be charged
$25 for network traffic and computing time. By extracting my address from
this message or its header, you agree to these terms.

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

* Re: sis630 - help needed debugging in the kernel
  2001-06-13 15:23 sis630 - help needed debugging in the kernel René Rebe
@ 2001-06-13 16:54 ` James Simmons
  2001-06-16 21:27   ` René Rebe
  2001-06-13 21:25 ` René Rebe
  1 sibling, 1 reply; 10+ messages in thread
From: James Simmons @ 2001-06-13 16:54 UTC (permalink / raw)
  To: René Rebe
  Cc: Linux Kernel Mailing List, Ademar de Souza Reis Jr.,
	Rolf Schillinger, Linux Fbdev development list

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 1863 bytes --]


> I currently try to debug why the sisfb driver crashes my machine. (SIS 630
> based laptop - linux-2.4.5-ac13).

You can do one of two things. Post both System.map and the complete oops
or you can run ksymoops on the oops. I can find the problem then. Thanks.

> On my serial-console I get:
> [...]
> sisfb: framebuffer at 0xe0000000, mapped to 0xcb800000, size 16384k
> sisfb: MMIO at 0xefce0000, mapped to 0xcc801000, size 128k
> sisfb: encountered LCD # debug output by me
> sisfb: fall back to 1024x768 # debug ouput by me
> sisfb: LCD mode # debug output by me
> sisfb: mode is 800x600x8, linelength=800
> [...]
> Unable to handle kernel paging request at virtual address cc800180
> [oops]
> 
> This happens in the method: register_framebuffer called from sisfb_init.
> 
> I compared the sisfb_init with other framebuffer drivers and can't find what is wrong.
> (I normally don't do kernel hacking...). What does the kernel try to do with the
> _io-memory_, mapped around line 2230 in sis_main.c? - Must the memory reqeuested or
> mapped in an other way?
> 
> Another strange thing is, that the code seems to work for some people ...
> 
> I would be nice if anyone could give me a hint - because the sis-drivers (kernel and X)
> doesn't work for many people ...
> 
> k33p h4ck1n6 René
> 
> -- 
> René Rebe (Registered Linux user: #127875)
> http://www.rene.rebe.myokay.net/
> -Germany-
> 
> Anyone sending unwanted advertising e-mail to this address will be charged
> $25 for network traffic and computing time. By extracting my address from
> this message or its header, you agree to these terms.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


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

* Re: sis630 - help needed debugging in the kernel
  2001-06-13 15:23 sis630 - help needed debugging in the kernel René Rebe
  2001-06-13 16:54 ` James Simmons
@ 2001-06-13 21:25 ` René Rebe
  1 sibling, 0 replies; 10+ messages in thread
From: René Rebe @ 2001-06-13 21:25 UTC (permalink / raw)
  To: James Simmons; +Cc: linux-kernel, ademar, rolf, linux-fbdev-devel

[-- Attachment #1: Type: text/plain, Size: 746 bytes --]

Thanks for the quick reply!

On Wed, 13 Jun 2001 09:54:21 -0700 (PDT)
James Simmons <jsimmons@transvirtual.com> wrote:

> 
> > I currently try to debug why the sisfb driver crashes my machine. (SIS 630
> > based laptop - linux-2.4.5-ac13).
> 
> You can do one of two things. Post both System.map and the complete oops
> or you can run ksymoops on the oops. I can find the problem then. Thanks.

ksymoops' output is attached.

[...]

k33p h4ck1n6 René

-- 
René Rebe (Registered Linux user: #127875)
http://www.rene.rebe.myokay.net/
-Germany-

Anyone sending unwanted advertising e-mail to this address will be charged
$25 for network traffic and computing time. By extracting my address from
this message or its header, you agree to these terms.

[-- Attachment #2: ksymoops.txt --]
[-- Type: application/octet-stream, Size: 2452 bytes --]

ksymoops 2.3.7 on i686 2.4.4-ac5.  Options used
     -V (specified)
     -K (specified)
     -L (specified)
     -O (specified)
     -m /mnt/net/portable/usr/src/linux/System.map (specified)

Unable to handle kernel paging request at virtual address cc800180
c01b8f61
*pde = 0af2d067
Oops: 0002
CPU:    0
EIP:    0010:[<c01b8f61>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010206
eax: 0f0f0f0f   ebx: c026e51c   ecx: 00000003   edx: 00000000
esi: cc800180   edi: c026f460   ebp: 0f0f0f0f   esp: c12fde50
ds: 0018   es: 0018   ss: 0018
Process swapper (pid: 1, stackpage=c12fd000)
Stack: c02c23e0 c02dc4c0 00000593 00000000 cc7fdc08 ffffffff 00000000 00000320 
       cc7fdc00 c01ac77c c12ee000 c02dc4c0 c12fe342 00000001 0000051e 00000000 
       c12fe340 c12fe342 00000001 00000593 c018150c c12ee000 c12fe340 00000001 
Call Trace: [<cc7fdc08>] [<cc7fdc00>] [<c01ac77c>] [<c018150c>] [<c0181584>] 
   [<c01adede>] [<c0181f04>] [<c01856f9>] [<c01aaeb9>] [<c0105013>] [<c010542c>] 
Code: 89 06 8a 03 24 0f 0f b6 d0 8b 44 24 18 23 04 97 31 e8 89 46 

>>EIP; c01b8f61 <fbcon_cfb8_putcs+1ad/2c8>   <=====
Trace; cc7fdc08 <END_OF_CODE+c51ad78/????>
Trace; cc7fdc00 <END_OF_CODE+c51ad70/????>
Trace; c01ac77c <fbcon_putcs+b8/d0>
Trace; c018150c <do_update_region+118/164>
Trace; c0181584 <update_region+2c/38>
Trace; c01adede <fbcon_switch+1aa/1bc>
Trace; c0181f04 <redraw_screen+e0/160>
Trace; c01856f9 <take_over_console+ed/188>
Trace; c01aaeb9 <register_framebuffer+f9/140>
Trace; c0105013 <init+7/114>
Trace; c010542c <kernel_thread+28/38>
Code;  c01b8f61 <fbcon_cfb8_putcs+1ad/2c8>
00000000 <_EIP>:
Code;  c01b8f61 <fbcon_cfb8_putcs+1ad/2c8>   <=====
   0:   89 06                     mov    %eax,(%esi)   <=====
Code;  c01b8f63 <fbcon_cfb8_putcs+1af/2c8>
   2:   8a 03                     mov    (%ebx),%al
Code;  c01b8f65 <fbcon_cfb8_putcs+1b1/2c8>
   4:   24 0f                     and    $0xf,%al
Code;  c01b8f67 <fbcon_cfb8_putcs+1b3/2c8>
   6:   0f b6 d0                  movzbl %al,%edx
Code;  c01b8f6a <fbcon_cfb8_putcs+1b6/2c8>
   9:   8b 44 24 18               mov    0x18(%esp,1),%eax
Code;  c01b8f6e <fbcon_cfb8_putcs+1ba/2c8>
   d:   23 04 97                  and    (%edi,%edx,4),%eax
Code;  c01b8f71 <fbcon_cfb8_putcs+1bd/2c8>
  10:   31 e8                     xor    %ebp,%eax
Code;  c01b8f73 <fbcon_cfb8_putcs+1bf/2c8>
  12:   89 46 00                  mov    %eax,0x0(%esi)

 <0>Kernel panic: Attempted to kill init!

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

* Re: sis630 - help needed debugging in the kernel
  2001-06-13 16:54 ` James Simmons
@ 2001-06-16 21:27   ` René Rebe
  2001-06-17 14:03     ` James Simmons
  2001-06-18 18:32     ` René Rebe
  0 siblings, 2 replies; 10+ messages in thread
From: René Rebe @ 2001-06-16 21:27 UTC (permalink / raw)
  To: René Rebe; +Cc: jsimmons, linux-kernel, ademar, rolf, linux-fbdev-devel

Hi all!

On Wed, 13 Jun 2001 23:25:02 +0200
René Rebe <rene.rebe@gmx.net> wrote:

> Thanks for the quick reply!
> 
> On Wed, 13 Jun 2001 09:54:21 -0700 (PDT)
> James Simmons <jsimmons@transvirtual.com> wrote:
> 
> > 
> > > I currently try to debug why the sisfb driver crashes my machine. (SIS 630
> > > based laptop - linux-2.4.5-ac13).
> > 
> > You can do one of two things. Post both System.map and the complete oops
> > or you can run ksymoops on the oops. I can find the problem then. Thanks.
> 
> ksymoops' output is attached.

Is there any result with this trace??

[...]

k33p h4ck1n6 René

-- 
René Rebe (Registered Linux user: #127875)
http://www.rene.rebe.myokay.net/
-Germany-

Anyone sending unwanted advertising e-mail to this address will be charged
$25 for network traffic and computing time. By extracting my address from
this message or its header, you agree to these terms.

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

* Re: sis630 - help needed debugging in the kernel
  2001-06-16 21:27   ` René Rebe
@ 2001-06-17 14:03     ` James Simmons
  2001-06-18 18:32     ` René Rebe
  1 sibling, 0 replies; 10+ messages in thread
From: James Simmons @ 2001-06-17 14:03 UTC (permalink / raw)
  To: =?X-UNKNOWN?Q?Ren=E9_Rebe?=; +Cc: linux-kernel, ademar, rolf, linux-fbdev-devel


> > > > I currently try to debug why the sisfb driver crashes my machine. (SIS 630
> > > > based laptop - linux-2.4.5-ac13).
> > > 
> > > You can do one of two things. Post both System.map and the complete oops
> > > or you can run ksymoops on the oops. I can find the problem then. Thanks.
> > 
> > ksymoops' output is attached.
> 
> Is there any result with this trace??

Yes. It oops in fbcon_cfb8_putc. I haven't figured out yet what exactly
caused it. I don't have this card to play with :-( Did you run the other
test I suggested. Try booting at 640x480 with a color depth of 32. Then
try booting at a different resolution (1024x768) at the default color
depth. I want to see if its a error with the resolution setting or if it
is a error with setting up the data relating to the color depth handling. 
The results should give me some clue.


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

* Re: sis630 - help needed debugging in the kernel
  2001-06-16 21:27   ` René Rebe
  2001-06-17 14:03     ` James Simmons
@ 2001-06-18 18:32     ` René Rebe
  2001-06-18 19:28       ` Paul Mundt
  2001-06-18 21:01       ` René Rebe
  1 sibling, 2 replies; 10+ messages in thread
From: René Rebe @ 2001-06-18 18:32 UTC (permalink / raw)
  To: James Simmons; +Cc: linux-kernel, ademar, rolf, linux-fbdev-devel

On Sun, 17 Jun 2001 07:03:55 -0700 (PDT)
James Simmons <jsimmons@transvirtual.com> wrote:

[...]

> Yes. It oops in fbcon_cfb8_putc. I haven't figured out yet what exactly
> caused it. I don't have this card to play with :-( Did you run the other
> test I suggested.

Never arrived here :-(. (Pleas cc me, since I'm not on this lists ...)

> Try booting at 640x480 with a color depth of 32. Then
> try booting at a different resolution (1024x768) at the default color
> depth. I want to see if its a error with the resolution setting or if it
> is a error with setting up the data relating to the color depth handling. 
> The results should give me some clue.

I can't set the videomode for the driver ...? I tried:

video=sis:vesa:0x112
video=sis:xres:640,yres:480,depth:32
video=sis,xres:640,yres:480,depth:32

Is there another way to tell the fb driver what mode to use??

I set the shared memory size from 16MB to 64 MB: results:
  sisfb: framebuffer at 0xe0000000, mapped to 0xc8800000, size 65536k
  sisfb: MMIO at 0xefce0000, mapped to 0xcc801000, size 128k
  Unable to handle kernel paging request at virtual address cc8002e0

old results:
  sisfb: framebuffer at 0xe0000000, mapped to 0xcb800000, size 16384k
  sisfb: MMIO at 0xefce0000, mapped to 0xcc801000, size 128k
  Unable to handle kernel paging request at virtual address cc800180

(Maybe some typo somewhere ??)

PS: I have more free time the next days -> shorter latency and more kernel
source read time ...

k33p h4ck1n6 René

-- 
René Rebe (Registered Linux user: #127875)
http://www.rene.rebe.myokay.net/
-Germany-

Anyone sending unwanted advertising e-mail to this address will be charged
$25 for network traffic and computing time. By extracting my address from
this message or its header, you agree to these terms.

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

* Re: sis630 - help needed debugging in the kernel
  2001-06-18 18:32     ` René Rebe
@ 2001-06-18 19:28       ` Paul Mundt
  2001-06-18 21:58         ` James Simmons
  2001-06-18 21:01       ` René Rebe
  1 sibling, 1 reply; 10+ messages in thread
From: Paul Mundt @ 2001-06-18 19:28 UTC (permalink / raw)
  To: René Rebe
  Cc: James Simmons, linux-kernel, ademar, rolf, linux-fbdev-devel

On Mon, Jun 18, 2001 at 08:32:03PM +0200, René Rebe wrote:
> > Try booting at 640x480 with a color depth of 32. Then
> > try booting at a different resolution (1024x768) at the default color
> > depth. I want to see if its a error with the resolution setting or if it
> > is a error with setting up the data relating to the color depth handling. 
> > The results should give me some clue.
> 
> I can't set the videomode for the driver ...? I tried:
> 
> video=sis:vesa:0x112
> video=sis:xres:640,yres:480,depth:32
> video=sis,xres:640,yres:480,depth:32
> 
> Is there another way to tell the fb driver what mode to use??
> 
Yep, in fbmem.c the name entry is "sisfb" as opposed to just "sis". Also, the
driver requires that the mode is passed video a "mode:" argument as is
outlined in the sisfb_setup(). Take a look at drivers/video/sis/sis_main.h,
specifically sisbios_mode[] for a list of supported modes.

Something like:

video=sisfb:mode:640x480x32

should do the job.

Regards,

-- 
Paul Mundt <lethal@chaoticdreams.org>


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

* Re: sis630 - help needed debugging in the kernel
  2001-06-18 18:32     ` René Rebe
  2001-06-18 19:28       ` Paul Mundt
@ 2001-06-18 21:01       ` René Rebe
  1 sibling, 0 replies; 10+ messages in thread
From: René Rebe @ 2001-06-18 21:01 UTC (permalink / raw)
  To: Paul Mundt; +Cc: jsimmons, linux-kernel, ademar, rolf, linux-fbdev-devel

On Mon, 18 Jun 2001 12:28:00 -0700
Paul Mundt <lethal@ChaoticDreams.ORG> wrote:

[...]

> Yep, in fbmem.c the name entry is "sisfb" as opposed to just "sis". Also, the
> driver requires that the mode is passed video a "mode:" argument as is
> outlined in the sisfb_setup(). Take a look at drivers/video/sis/sis_main.h,
> specifically sisbios_mode[] for a list of supported modes.
> 
> Something like:
> 
> video=sisfb:mode:640x480x32
> 
> should do the job.

It crashed, too.

Full boot-up messages:

Kernel command line: root=/dev/discs/disc0/part2 video=sisfb:mode:640x480x32 console=ttyS0,9600 console=tty0  mem=131008K
Initializing CPU#0
Detected 631.427 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1258.29 BogoMIPS
Memory: 126484k/131008k available (1159k kernel code, 4136k reserved, 325k data, 204k init, 0k highmem)
Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel Celeron (Coppermine) stepping 03
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfda38, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router SIS [1039/0008] at 00:01.0
PCI: Found IRQ 10 for device 00:03.0
PCI: The same IRQ used for device 00:01.4
PCI: The same IRQ used for device 00:01.6
  got res[10000000:10000fff] for resource 0 of O2 Micro, Inc. OZ6812 Cardbus Controller
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
PnP: PNP BIOS installation structure at 0xc00f70b0
PnP: PNP BIOS version 1.0, entry at f0000:5f34, dseg at f0000
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd v1.8
VFS: Diskquotas version dquot_6.5.0 initialized
devfs: v0.102 (20000622) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
sisfb: framebuffer at 0xe0000000, mapped to 0xc8800000, size 65536k
sisfb: MMIO at 0xefce0000, mapped to 0xcc801000, size 128k
sisfb: encountered LCD
sisfb: fall back to 1024x768
sisfb: mode is 640x480x32, linelength=2560
sisfb: before sisfb_pre_setmod
sisfb: before SISSetMode
sisfb: before sisfb_post_setmode
sisfb: before sisfb_crtc_to_var
sisfb: before sisfb_set_disp
sisfb: before sisfb_heap_init
sisfb: before vc_resize_con
sisfb: before register_framebuffer
Unable to handle kernel paging request at virtual address cc800600
 printing eip:
c01ba5c0
*pde = 07f82067
*pte = 00000000
Oops: 0002
CPU:    0
EIP:    0010:[<c01ba5c0>]
EFLAGS: 00010246
eax: 00000000   ebx: 00000000   ecx: cc800600   edx: c02dc400
esi: 00000000   edi: c026d527   ebp: ffffffff   esp: c123de58
ds: 0018   es: 0018   ss: 0018
Process swapper (pid: 1, stackpage=c123d000)
Stack: c02c23e0 c02dc4c0 000006e4 00000000 00000a00 00000008 cc7fc000 c01ac77c 
       c1221000 c02dc4c0 c123f344 00000001 00000666 00000000 c123f342 c123f344 
       00000001 000006e4 c018150c c1221000 c123f342 00000001 000006e4 00000000 
Call Trace: [<cc7fc000>] [<c01ac77c>] [<c018150c>] [<c0181584>] [<c01adede>] 
   [<c0181f04>] [<c01856f9>] [<c01aaeb9>] [<c0105013>] [<c010542c>] 

Code: 89 01 88 d0 c0 e8 06 83 e0 01 f7 d8 21 d8 31 f0 89 41 04 88 
 <0>Kernel panic: Attempted to kill init!

ksymoops output:

ksymoops 2.3.7 on i686 2.4.4-ac5.  Options used
     -V (specified)
     -K (specified)
     -L (specified)
     -O (specified)
     -m /mnt/net/portable/usr/src/linux/System.map (specified)

Unable to handle kernel paging request at virtual address cc800180
c01b8f61
*pde = 0af2d067
Oops: 0002
CPU:    0
EIP:    0010:[<c01b8f61>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010206
eax: 0f0f0f0f   ebx: c026e51c   ecx: 00000003   edx: 00000000
esi: cc800180   edi: c026f460   ebp: 0f0f0f0f   esp: c12fde50
ds: 0018   es: 0018   ss: 0018
Process swapper (pid: 1, stackpage=c12fd000)
Stack: c02c23e0 c02dc4c0 00000593 00000000 cc7fdc08 ffffffff 00000000 00000320 
       cc7fdc00 c01ac77c c12ee000 c02dc4c0 c12fe342 00000001 0000051e 00000000 
       c12fe340 c12fe342 00000001 00000593 c018150c c12ee000 c12fe340 00000001 
Call Trace: [<cc7fdc08>] [<cc7fdc00>] [<c01ac77c>] [<c018150c>] [<c0181584>] 
   [<c01adede>] [<c0181f04>] [<c01856f9>] [<c01aaeb9>] [<c0105013>] [<c010542c>] 
Code: 89 06 8a 03 24 0f 0f b6 d0 8b 44 24 18 23 04 97 31 e8 89 46 

>>EIP; c01b8f61 <fbcon_cfb8_putcs+1ad/2c8>   <=====
Trace; cc7fdc08 <END_OF_CODE+c51ad78/????>
Trace; cc7fdc00 <END_OF_CODE+c51ad70/????>
Trace; c01ac77c <fbcon_putcs+b8/d0>
Trace; c018150c <do_update_region+118/164>
Trace; c0181584 <update_region+2c/38>
Trace; c01adede <fbcon_switch+1aa/1bc>
Trace; c0181f04 <redraw_screen+e0/160>
Trace; c01856f9 <take_over_console+ed/188>
Trace; c01aaeb9 <register_framebuffer+f9/140>
Trace; c0105013 <init+7/114>
Trace; c010542c <kernel_thread+28/38>
Code;  c01b8f61 <fbcon_cfb8_putcs+1ad/2c8>
00000000 <_EIP>:
Code;  c01b8f61 <fbcon_cfb8_putcs+1ad/2c8>   <=====
   0:   89 06                     mov    %eax,(%esi)   <=====
Code;  c01b8f63 <fbcon_cfb8_putcs+1af/2c8>
   2:   8a 03                     mov    (%ebx),%al
Code;  c01b8f65 <fbcon_cfb8_putcs+1b1/2c8>
   4:   24 0f                     and    $0xf,%al
Code;  c01b8f67 <fbcon_cfb8_putcs+1b3/2c8>
   6:   0f b6 d0                  movzbl %al,%edx
Code;  c01b8f6a <fbcon_cfb8_putcs+1b6/2c8>
   9:   8b 44 24 18               mov    0x18(%esp,1),%eax
Code;  c01b8f6e <fbcon_cfb8_putcs+1ba/2c8>
   d:   23 04 97                  and    (%edi,%edx,4),%eax
Code;  c01b8f71 <fbcon_cfb8_putcs+1bd/2c8>
  10:   31 e8                     xor    %ebp,%eax
Code;  c01b8f73 <fbcon_cfb8_putcs+1bf/2c8>
  12:   89 46 00                  mov    %eax,0x0(%esi)

 <0>Kernel panic: Attempted to kill init!

Another prolem (which may be related) is that XFree's sis-drivers is also not working
(but only because the sis301's LCD port is not enabled correct ... - Without a special
hack of me and the VESA framebuffer I get simply a black screen (NO crash ...). Only the
latest revisions of the SIS chip are affected by this problems. Older ones seem to work
(at least in X). (I only have this new chip ...).

> Regards,
> 
> -- 
> Paul Mundt <lethal@chaoticdreams.org>
> 



k33p h4ck1n6 René

-- 
René Rebe (Registered Linux user: #127875)
http://www.rene.rebe.myokay.net/
-Germany-

Anyone sending unwanted advertising e-mail to this address will be charged
$25 for network traffic and computing time. By extracting my address from
this message or its header, you agree to these terms.

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

* Re: sis630 - help needed debugging in the kernel
  2001-06-18 19:28       ` Paul Mundt
@ 2001-06-18 21:58         ` James Simmons
  2001-06-18 22:02           ` Paul Mundt
  0 siblings, 1 reply; 10+ messages in thread
From: James Simmons @ 2001-06-18 21:58 UTC (permalink / raw)
  To: Paul Mundt; +Cc: René Rebe, linux-kernel, ademar, rolf, linux-fbdev-devel


> > Is there another way to tell the fb driver what mode to use??
> > 
> Yep, in fbmem.c the name entry is "sisfb" as opposed to just "sis". 

Agh!!! That needs to be fixed. 

> Also, the
> driver requires that the mode is passed video a "mode:" argument as is
> outlined in the sisfb_setup(). Take a look at drivers/video/sis/sis_main.h,
> specifically sisbios_mode[] for a list of supported modes.

Broken. It should be using modedb. When I get the time I will send a fix.


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

* Re: sis630 - help needed debugging in the kernel
  2001-06-18 21:58         ` James Simmons
@ 2001-06-18 22:02           ` Paul Mundt
  0 siblings, 0 replies; 10+ messages in thread
From: Paul Mundt @ 2001-06-18 22:02 UTC (permalink / raw)
  To: James Simmons
  Cc: René Rebe, linux-kernel, ademar, rolf, linux-fbdev-devel

On Mon, Jun 18, 2001 at 02:58:17PM -0700, James Simmons wrote:
> > Yep, in fbmem.c the name entry is "sisfb" as opposed to just "sis". 
> 
> Agh!!! That needs to be fixed. 
> 
I've already fixed it in ruby..

Regards,

-- 
Paul Mundt <lethal@chaoticdreams.org>


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

end of thread, other threads:[~2001-06-18 22:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-13 15:23 sis630 - help needed debugging in the kernel René Rebe
2001-06-13 16:54 ` James Simmons
2001-06-16 21:27   ` René Rebe
2001-06-17 14:03     ` James Simmons
2001-06-18 18:32     ` René Rebe
2001-06-18 19:28       ` Paul Mundt
2001-06-18 21:58         ` James Simmons
2001-06-18 22:02           ` Paul Mundt
2001-06-18 21:01       ` René Rebe
2001-06-13 21:25 ` René Rebe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).