Koozali.org: home of the SME Server

kernel > 2.2.16

Luk Vermeylen

kernel > 2.2.16
« on: September 11, 2001, 12:37:39 AM »
Can someone deliver a kernel RPM that is bigger than 2.2.16 so my onstream DI30 is recognized and so will be usable?

David

Re: kernel > 2.2.16
« Reply #1 on: September 11, 2001, 06:18:00 AM »
Arghhh! 2.2.x is fine in its own way, but 2.4 is now getting relatively mature and Linus has integrated Alan Cox's branch in the latest development version (2.4.10 pre7).

Can't e-smith move to 2.4 in the next release? Please?

(BTW, I suspect that if you grab the RH 7.1 kernel RPMs of the RedHat FTP site, you could upgrade that way; e-smith is based on RH ...)

Luk Vermeylen

Re: kernel > 2.2.16
« Reply #2 on: September 11, 2001, 11:56:00 AM »
does not work for me
get a kernel panic (think it's related to the software raid)
but module structure seems to be the same

David

Re: kernel > 2.2.16
« Reply #3 on: September 11, 2001, 05:19:09 PM »
Quite frankly, manual kernel upgrades are so fraught with danger that I never attempt them unless absolutely necessary.

What't the error message?

Ronald Tanis

Re: kernel > 2.2.16
« Reply #4 on: September 18, 2001, 12:33:11 AM »
Compile a new kernel for E-Smith. Just look at this page:

http://www.onstreamdata.com/support/linux/di30_patch.html

 

After compiling and installing the new kernel we need to change some scripts. First change the device type.

'/sbin/e-smith/db configuration setprop backup Device /dev/ht0'

 

 

'mkdir /etc/e-smith/templates-custom/etc'

'mkdir /etc/e-smith/templates-custom/etc/flexbackup.conf'

'cp /etc/e-smith/templates/etc/flexbackup.conf/10Blocksize /etc/e-smith/templates-custom/etc/flexbackup.conf'

'mcedit /etc/e-smith/templates-custom/etc/flexbackup.conf/10Blocksize'

 

Change the blocksize to '32' in this file. Onstream supports only 32K blocks.

 

 

'cp /etc/e-smith/templates/etc/flexbackup.conf/10filesystems /etc/e-smith/templates-custom/etc/flexbackup.conf/'

'mcedit /etc/e-smith/templates-custom/etc/flexbackup.conf/10filesystems'

 

Because of the backup of /boot is overwriting the former backup of / we need to add an extra line to /etc/e-smith/templates-custom/etc/flexbackup.conf/10filesystems. We will not backup /boot anymore.

 

Between these lines:

$1 !~ /^\/var/spool/squid/ &&

push @filesys, $1;

 

place this line:

$1 !~ /^\/boot/ &&

 

At last we need to recreate /etc/flexbackup.conf with our modifications:

'/sbin/e-smith/signal-event conf-backup'

 

When using a new tape first do:

'mt -f /dev/ht0 erase'

 

Somehow I still receive errors, but backup and restore works fine.

 

errors by tape erase (/var/log/messages):

Jul  4 06:20:56 e-smith kernel: ide-tape: ht0: invalid header identification string

Jul  4 06:20:56 e-smith last message repeated 4 times

Jul  4 06:21:40 e-smith kernel: ide-tape: ht0: couldn't read header frame

Jul  4 06:21:40 e-smith last message repeated 4 times

Jul  4 06:21:40 e-smith kernel: ide-tape: ht0: failed to find valid ADRL header

 

errors by restore  (/var/log/messages):

 

Jul  4 05:46:31 e-smith kernel: ide-tape: ht0: I/O error, pc =  8, key =  3, asc = 11, ascq =  0

Jul  4 05:46:31 e-smith kernel: ide-tape: ht0: enabling read error recovery

Jul  4 05:46:31 e-smith kernel: ide-tape: ht0: skipping frame, read error

Jul  4 05:46:31 e-smith kernel: ide-tape: ht0: skipping frame, read error

Jul  4 05:46:31 e-smith kernel: ide-tape: ht0: I/O error, pc =  8, key =  3, asc = 11, ascq =  0

Jul  4 05:46:31 e-smith kernel: ide-tape: ht0: enabling read error recovery

Jul  4 05:46:31 e-smith kernel: ide-tape: ht0: skipping frame, read error

Jul  4 05:46:31 e-smith kernel: ide-tape: ht0: skipping frame, read error

Jul  4 05:46:31 e-smith kernel: ide-tape: ht0: skipping frame, frame type 8

Jul  4 05:46:31 e-smith last message repeated 9 times

Jul  4 05:46:59 e-smith kernel: ide-tape: ht0: skipping frame, eod

Jul  4 05:47:00 e-smith last message repeated 637 times

Jul  4 05:47:00 e-smith kernel: ide-tape: ht0: blank block detected, positioning tape to block 3000

Jul  4 05:48:07 e-smith e-smith[2368]:

Jul  4 05:48:07 e-smith e-smith[2368]: gzip: stdout: Broken pipe

Jul  4 05:48:07 e-smith e-smith[2368]: buffer (writer): write of data failed: Success

Jul  4 05:48:07 e-smith e-smith[2368]: bytes to write=32768, bytes written=4096, total written     154368K

Jul  4 05:48:07 e-smith e-smith[2368]: Verify tape and initialize maps

Jul  4 05:48:07 e-smith e-smith[2368]: Dump   date: Wed Jul  4 05:33:25 2001

Jul  4 05:48:07 e-smith e-smith[2368]: Dumped from: the epoch

Jul  4 05:48:07 e-smith e-smith[2368]: Level 0 dump of / on e-smith:/dev/hda6

Jul  4 05:48:07 e-smith e-smith[2368]: Label: none

Jul  4 05:48:07 e-smith e-smith[2368]: Extract directories from tape

Jul  4 05:48:07 e-smith e-smith[2368]: Initialize symbol table.

Jul  4 05:48:07 e-smith e-smith[2368]: Extract requested files

maybe this is interesting for you
Luk Vermeylen wrote:
>
> Can someone deliver a kernel RPM that is bigger than 2.2.16
> so my onstream DI30 is recognized and so will be usable?

fred hage

Re: kernel > 2.2.16
« Reply #5 on: October 02, 2001, 06:50:55 PM »
Hi,

We made a Howto for the Onstream IDE 30 GB available on http://www.e-smith.nl/sections.php?op=viewarticle&artid=2.

But kernel 2.4 is welcome anyhow!

FredLuk Vermeylen wrote:
>
> Can someone deliver a kernel RPM that is bigger than 2.2.16
> so my onstream DI30 is recognized and so will be usable?

Charlie Brady

Re: kernel > 2.2.16
« Reply #6 on: November 02, 2001, 07:13:31 PM »
Luk Vermeylen wrote:

> Can someone deliver a kernel RPM that is bigger than 2.2.16
> so my onstream DI30 is recognized and so will be usable?

SME V5 uses the 2.2.19 kernel from RedHat.

Our FAQ explains why we cannot yet move to the 2.4 kernel. Most critically, the 2.4 kernel cannot masquerade Netmeeting and related applications. Some users might also miss ICQ and quake.

Regards

Charlie