Re: RSC console redirection on a Fire 280R

2007-06-24 Thread Josip Rodin
On Sun, Jun 24, 2007 at 11:50:54PM +0200, Emanuele Rocca wrote:
> Known problem, I don't remember when it's been fixed but 2.6.22-rc3 (or
> later) kernels should not be affected.

Surely if it's already known, we're waiting for an urgent update in
the 2.6.21.x branch?

I found several commits in the ChangeLog-2.6.22-rc1 file, and one
also in the ChangeLog-2.6.22-rc4 file, that mention bug fixes.

Who does one have to notify to get this propagated?

I installed 2.6.22-rc5 now and it seems to work. Fingers crossed.

-- 
 2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: RSC console redirection on a Fire 280R

2007-06-24 Thread Emanuele Rocca
Hey Josip,

* Josip Rodin <[EMAIL PROTECTED]>, [2007-06-24 22:24 +0200]:
>  QLogic Fibre Channel HBA Driver
>  sym0: <875> rev 0x37 at pci 0001:00:06.0 irq 14
>  qla2xxx :00:04.0: Found an ISP2200, irq 19, iobase 0x07fd0010
>  qla2xxx :00:04.0: Configuring PCI space...
>  qla2xxx :00:04.0: Configure NVRAM parameters...
>  qla2xxx :00:04.0: Inconsistent NVRAM detected: checksum=0x0 id=<6>scsi0 
> : qla2xxx
>  usbcore: registered new interface driver usbfs
>  usbcore: registered new interface driver hub
>  sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
>  sym0: SCSI BUS has been reset.
>  scsi1 : sym-2.2.3
>  usbcore: registered new device driver usb
>  Unable to handle kernel NULL pointer dereference
>  tsk->{mm,active_mm}->context = 0176
>  tsk->{mm,active_mm}->pgd = f8007f2e4000
>\|/  \|/
>"@'/ .. \`@"
>/_| \__/ |_\
>   \__U_/
>  modprobe(514): Oops [#1]
[...]

Known problem, I don't remember when it's been fixed but 2.6.22-rc3 (or
later) kernels should not be affected.

ciao,
ema


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: RSC console redirection on a Fire 280R

2007-06-24 Thread Josip Rodin
On Sun, Jun 24, 2007 at 10:24:20PM +0200, Josip Rodin wrote:
> Let's try 2.6.19.2 that used to work... oh, I seem to have demolished its
> initramfs image. Somehow.

Just so I don't leave that issue 'up in the air', the kernel had said:

checking if image is initramfs...it isn't (no cpio magic); looks like an initrd

and then it panicked when it couldn't mount root fs.

It looks like that initrd.img image got rebuilt with a newer version of
update-initramfs, and that actually made the old kernel (compiled in an
older environment) not recognize it. Oh well, an (updated and) recompiled
kernel works.

-- 
 2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: RSC console redirection on a Fire 280R

2007-06-24 Thread Josip Rodin
On Sun, Jun 24, 2007 at 07:44:22PM +0100, Martin Habets wrote:
> Looks okay to me. Try booting linux215sc with '-p', hopefully
> you'll see where it goes wrong.

How do you mean boot it with -p? Like, enter 'linux215sc -p' on the SILO
prompt?

[a few minutes later :)]

Wow, that actually worked! Now I see output, and the kernel said:

Console: colour dummy device 80x25

Console: switching to mono PROM 80x34

And later the true problem:

QLogic Fibre Channel HBA Driver
sym0: <875> rev 0x37 at pci 0001:00:06.0 irq 14
qla2xxx :00:04.0: Found an ISP2200, irq 19, iobase 0x07fd0010
qla2xxx :00:04.0: Configuring PCI space...
qla2xxx :00:04.0: Configure NVRAM parameters...
qla2xxx :00:04.0: Inconsistent NVRAM detected: checksum=0x0 id=<6>scsi0 : 
qla2xxx
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
sym0: SCSI BUS has been reset.
scsi1 : sym-2.2.3
usbcore: registered new device driver usb
Unable to handle kernel NULL pointer dereference
tsk->{mm,active_mm}->context = 0176
tsk->{mm,active_mm}->pgd = f8007f2e4000
  \|/  \|/
  "@'/ .. \`@"
  /_| \__/ |_\
 \__U_/
modprobe(514): Oops [#1]
TSTATE: 11009604 TPC: 1001ab90 TNPC: 1001ab94 Y: 
Not tainted
TPC: 
g0:  g1:  g2: f8007f514000 g3: 
f8007eaa1908
g4: f8007e9f21e0 g5: f8742840 g6: f8007ebd8000 g7: 
0001
o0: f8007f514500 o1: f8007f514178 o2: f8007e8f o3: 
fffee2af
o4: f8007f514000 o5: 0020 sp: f8007ebdaeb1 ret_pc: 
100034b8
RPC: 
l0: f8007f514580 l1: f8007f516808 l2: 0070 l3: 
f8007f514000
l4: f8007f514500 l5:  l6: 007000d8 l7: 
0009
i0:  i1: 100298e0 i2: 0065b520 i3: 
0061ad58
i4:  i5: f8007e9fe000 i6: f8007ebdaff1 i7: 
00544600
I7: 
Caller[00544600]: pci_device_probe+0x5c/0x8c
Caller[00574e20]: really_probe+0xc8/0x170
Caller[00574fc8]: __driver_attach+0x44/0x68
Caller[005744ac]: bus_for_each_dev+0x38/0x6c
Caller[005747e8]: bus_add_driver+0x60/0x19c
Caller[005447cc]: __pci_register_driver+0x94/0xd8
Caller[1002e0c8]: qla2x00_module_init+0xd0/0xf8 [qla2xxx]
Caller[0047c9a4]: sys_init_module+0x1608/0x1740
Caller[00406294]: linux_sparc_syscall32+0x3c/0x40
Caller[000133b4]: 0x133bc
Instruction DUMP: 83287003  c25a0001  d458a4f8  c4084000  c6086003  
8f29f030  da086002  8528b038 

And then this doesn't go well with the fact that qla2xxx is used to access
the only hard disks in the machine. :/

Let's try 2.6.19.2 that used to work... oh, I seem to have demolished its
initramfs image. Somehow.

I wish I knew the explanation for that -p switch :) I can't find it
documented anywhere...

-- 
 2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: RSC console redirection on a Fire 280R

2007-06-24 Thread Martin Habets
Looks okay to me. Try booting linux215sc with '-p', hopefully
you'll see where it goes wrong.

Martin 

On Sat, Jun 23, 2007 at 09:33:13PM +0200, Josip Rodin wrote:
> Hi,
> 
> Has anyone got a working console redirection set up with a Sun Fire 280R's
> RSC card and a Linux kernel 2.6.x? I do a 'bootmode -u normal' followed
> by a 'reset', and that temporarily resets the PROM variables output-device
> and input-device so that it goes to rsc-console. (The keyboard and monitor
> remain plugged in physically at the time.)
> 
> This gets me the PROM input/output nicely, then I boot into SILO, but then
> problems arise. With a 2.4.x kernel, I get the console output, but no input.
> With 2.6.x I get nothing after the screen is cleared for the first time by
> the kernel.
> 
> The relevant silo.conf bits are:
> 
> append="video=atyfb:off"
> [...]
> 
> # this is the 2.4.x image that output to RSC (but doesn't take input from it)
> image=/boot/vmlinuz.old
>   label=linux.oldsc
>   append="video=atyfb:off console=ttyS0,9600n8"
> 
> # these two don't output anything to the RSC
> image=/boot/vmlinuz-2.6.21.5
>   label=linux215
>   initrd=/boot/initrd.img-2.6.21.5
> image=/boot/vmlinuz-2.6.21.5
>   label=linux215sc
>   initrd=/boot/initrd.img-2.6.21.5
>   append="video=atyfb:off console=ttyS0,9600n8"
> 
> I also tried removing all of framebuffer and boot logo from the 2.6 kernel,
> but nothing changed.
> 
> What am I doing wrong?
> 
> -- 
>  2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: RSC console redirection on a Fire 280R

2007-06-24 Thread Daniel van Eeden
Josip,

The only thing I know is that the RSC firmware can be buggy. Maybe you
can try to upgrade the RSC firmware and the OBP firmware.

Cheers,

Daniel van Eeden

On Sat, 2007-06-23 at 21:33 +0200, Josip Rodin wrote:
> Hi,
> 
> Has anyone got a working console redirection set up with a Sun Fire 280R's
> RSC card and a Linux kernel 2.6.x? I do a 'bootmode -u normal' followed
> by a 'reset', and that temporarily resets the PROM variables output-device
> and input-device so that it goes to rsc-console. (The keyboard and monitor
> remain plugged in physically at the time.)
> 
> This gets me the PROM input/output nicely, then I boot into SILO, but then
> problems arise. With a 2.4.x kernel, I get the console output, but no input.
> With 2.6.x I get nothing after the screen is cleared for the first time by
> the kernel.
> 
> The relevant silo.conf bits are:
> 
> append="video=atyfb:off"
> [...]
> 
> # this is the 2.4.x image that output to RSC (but doesn't take input from it)
> image=/boot/vmlinuz.old
>   label=linux.oldsc
>   append="video=atyfb:off console=ttyS0,9600n8"
> 
> # these two don't output anything to the RSC
> image=/boot/vmlinuz-2.6.21.5
>   label=linux215
>   initrd=/boot/initrd.img-2.6.21.5
> image=/boot/vmlinuz-2.6.21.5
>   label=linux215sc
>   initrd=/boot/initrd.img-2.6.21.5
>   append="video=atyfb:off console=ttyS0,9600n8"
> 
> I also tried removing all of framebuffer and boot logo from the 2.6 kernel,
> but nothing changed.
> 
> What am I doing wrong?
> 
> -- 
>  2. That which causes joy or happiness.
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]