Re: How to edit the boot.img

2005-10-25 Thread Geert Stappers
On Tue, Oct 25, 2005 at 12:16:17AM +0200, Riccardo Tortorici wrote:
 (CCing Geert Stappers and debian-sparc list)
( this message is also crossposted and assumes subscription to MLs )

 snip/
 Just a question: how can I edit my own boot.img? I'm new to D-I and I  
 would like to customize a 2.6.12 kernel in order to fix the FB and  
 put it inside the image I used this time. Thanks in advance,

More eye-balls on d-i, especial in the sparc corner,
are allways welcome.

The boot.img is a kernel and Debian-Installer initial ramdisk (initrd)
in one file. Visit http://wiki.debian.org/?DebianInstaller for
information how to edit it.


Cheers
Geert Stappers



signature.asc
Description: Digital signature


please review alsaconf patch

2005-10-25 Thread Martin Habets
I created the patch below to make alsaconf work with the DBRI and
CS4231 chips. But I'm not sure if this will work for the AMD7930
chip. The patch tries to find a SUNW,AMD7930* directory in this
case, but I don't know if that exists. Can somebody with an AMD7930
sound chip confirm/deny this?

Other feedback (like better approaches) is welcome too. I'll submit
it to Takashi once the AMD7930 issue is resolved.

-- 
Martin

--- alsaconf.orig   2005-10-25 16:00:11.0 +0100
+++ alsaconf2005-10-25 17:17:51.0 +0100
@@ -696,6 +696,27 @@
echo PowerMac $i  $FOUND
done
 fi
+
+#
+# Sparc
+#
+if grep -q Sparc $PROCFS/cpuinfo; then
+   test -r $PROCFS/openprom || /bin/mount -t openpromfs none 
$PROCFS/openprom /dev/null 21
+   /sbin/modprobe -a -l | grep 'snd-sun-' | \
+   while read i; do
+   i=${i##*/}
+   i=${i%%.o}
+   i=${i%%.ko}
+   sdev=`echo ${i#snd-sun-} | tr [a-z] [A-Z]`
+
+   if test -r $PROCFS/openprom; then
+   find $PROCFS/openprom -follow -type d -name SUNW,${sdev}* \
+   -exec echo $sdev $i \; 2/dev/null  $FOUND
+   else
+   echo $sdev $i  $FOUND
+   fi
+   done
+fi
 }
 
 #


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



booting a sunblade 100

2005-10-25 Thread Matt Dunford
Hi All,

Has anyone successfully installed debian on a SunBlade 100?  I've been
trying various netinst images:

http://cdimage.debian.org/debian-cd/3.1_r0a/sparc/iso-cd/debian-31r0a-sparc-netinst.iso
http://cdimage.debian.org/pub/cdimage-testing/daily/sparc/current/debian-testing-sparc-netinst.iso

I never get to the debian installer itself.  The stable complains of
cramfs: wrong magic.  The current pukes with Remapping the
kernel... Fast Instruction Access MMU Miss.

I've been googling around, reading the documention, trying everything
I see other people doing.  I've played with various boot params:
ramdisk_size=16000, mem=128m, etc.  I've got a stack of Blades
collecting dust and I'm anxious to get them off Solaris.  Any
thoughts?

-- 
Sincerely,
Matt Dunford
Unix Systems Administrator
DOE Joint Genome Institute
url:   http://www.jgi.doe.gov
email: [EMAIL PROTECTED]
phone: 925-296-5844


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



Re: booting a sunblade 100

2005-10-25 Thread Riccardo Tortorici

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Oct 25, 2005, at 6:57 PM, Matt Dunford wrote:


Hi All,

Has anyone successfully installed debian on a SunBlade 100?  I've been
trying various netinst images:

http://cdimage.debian.org/debian-cd/3.1_r0a/sparc/iso-cd/ 
debian-31r0a-sparc-netinst.iso
http://cdimage.debian.org/pub/cdimage-testing/daily/sparc/current/ 
debian-testing-sparc-netinst.iso


I never get to the debian installer itself.  The stable complains of
cramfs: wrong magic.  The current pukes with Remapping the
kernel... Fast Instruction Access MMU Miss.

I've been googling around, reading the documention, trying everything
I see other people doing.  I've played with various boot params:
ramdisk_size=16000, mem=128m, etc.  I've got a stack of Blades
collecting dust and I'm anxious to get them off Solaris.  Any
thoughts?


It seems the current D-I for SPARC is broken for Sunblades. I had  
exactly your problem on a Sunblade 150 64bits. Try to install it via  
netboot with the image you can find here:


http://people.debian.org/~stappers/d-i/images/daily/sparc64/netboot/

I tried the 2.6 one and it works. There are some issues regarding the  
frame buffer (first char truncated). Actually I'm working on a kernel  
customization in order to fix it. I hope it will work on your  
sunblade as well.

Rick

- - Riccardo Tortorici -
Linux Registered User #365170
Count yourself @ http://counter.li.org/ !
- --
Encrypted Mail Welcomes
GPG key: 0xF3FCE306 available on  wwwkeys.pgp.net
GPG key fingerprint = C1C4 CA17 5135 8F5C 94C2  3347 4A22 67DB F3FC E306
- --
no1984.org - Stop TCG!
- --
HTML email can be dangerous, is not always readable, wastes bandwidth
and is simply not necessary please don't send them to me!





-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDXmpgSiJn2/P84wYRAlC3AJwL6QIxN5cDCLBiwXH3TQSz4pNctACggetb
m8PnvlKHkP5v20jCVjT1iSA=
=c2SV
-END PGP SIGNATURE-


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



Re: booting a sunblade 100

2005-10-25 Thread Andrew M.A. Cater
On Tue, Oct 25, 2005 at 09:57:39AM -0700, Matt Dunford wrote:
 Hi All,
 
 Has anyone successfully installed debian on a SunBlade 100?  I've been
 trying various netinst images:
 
 http://cdimage.debian.org/debian-cd/3.1_r0a/sparc/iso-cd/debian-31r0a-sparc-netinst.iso
 http://cdimage.debian.org/pub/cdimage-testing/daily/sparc/current/debian-testing-sparc-netinst.iso
 
I seem to recall that there was a post to an unofficial netinst 
that would work when I asked this question about six weeks ago. If I recall
correctly, the netinst on the official images wasn't actually ready
for the Sun Blades as we released Sarge. I've helped to get
Debian installed on a Sun Blade at work: there were ide problems and
intermittent CD recognition problems.  

In the end, I think we disconnected the CD in order to get the 
thing to install and did a TFTP boot over the network. Not fun and not
ultra reliable. I'd like to try again but this was done in a hurry to
meet a fairly urgent deadline. Others also appear to be having problems.

One other solution which has worked is to use debootstrap from a Solaris
install. This takes considerable application but appears to work fine.
I _think_ this way you may have fewer problems. [Floppy, it seems, will
never work - something about obscure hardware interfaces and
non-standard connections.]

Not straightforward: almost enough to put me off Debian on architectures
other than Intel/AMD immediately :(

 I never get to the debian installer itself.  The stable complains of
 cramfs: wrong magic.  The current pukes with Remapping the
 kernel... Fast Instruction Access MMU Miss.
 
 I've been googling around, reading the documention, trying everything
 I see other people doing.  I've played with various boot params:
 ramdisk_size=16000, mem=128m, etc.  I've got a stack of Blades
 collecting dust and I'm anxious to get them off Solaris.  Any
 thoughts?
 
 -- 
 Sincerely,
 Matt Dunford
 Unix Systems Administrator
 DOE Joint Genome Institute
 url:   http://www.jgi.doe.gov
 email: [EMAIL PROTECTED]
 phone: 925-296-5844
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


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



Problems when cp/mv large numbers of files/time:...alloc_streaming_cluster...failed

2005-10-25 Thread Roger Zimmermann
Hi,

on my ultra5 I'm frequently experiencing problems with the filesystem
(error - ext3 aborted journal - remounted readonly)

* following a cutout from kern.log:
---
kernel: kjournald starting.  Commit interval 5 seconds
kernel: EXT3 FS on sdc1, internal journal
kernel: EXT3-fs: mounted filesystem with ordered data mode.
kernel: pci_iommu: alloc_streaming_cluster of npages(131) failed!
kernel: end_request: I/O error, dev sdc, sector 12600
kernel: Aborting journal on device sdc1.
kernel: ext3_abort called.
kernel: EXT3-fs error (device sdc1): ext3_journal_start_sb: Detected
aborted journal
kernel: Remounting filesystem read-only
kernel: __journal_remove_journal_head: freeing b_committed_data
---
This occurs only when creating a large number of files per time
(tar xvf linux.tar will do ...). Typically the tar will run for some
time (1-2 mins) before the problem occurs. Typical values for
npages(...) failed are around 130. Operations with a lower creation rate
(e.g. larger files of 1-2 GB) run without problems.

The actual version of linux is 2.6.13.2 (from kernel.org) - I didn't
remember seeing this in 2.6.12(.4). The disk is a Maxtor 200GB SATA
disk, the controller is a Silicon Image Sil 3112.

Any hints or clues ?

Roger


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



Re: booting a sunblade 100

2005-10-25 Thread Sebastien LANGE
Andrew M.A. Cater a écrit :
 On Tue, Oct 25, 2005 at 09:57:39AM -0700, Matt Dunford wrote:
 
Hi All,

Has anyone successfully installed debian on a SunBlade 100?  I've been
trying various netinst images:

http://cdimage.debian.org/debian-cd/3.1_r0a/sparc/iso-cd/debian-31r0a-sparc-netinst.iso
http://cdimage.debian.org/pub/cdimage-testing/daily/sparc/current/debian-testing-sparc-netinst.iso

 
 I seem to recall that there was a post to an unofficial netinst 
 that would work when I asked this question about six weeks ago. If I recall
 correctly, the netinst on the official images wasn't actually ready
 for the Sun Blades as we released Sarge. I've helped to get
 Debian installed on a Sun Blade at work: there were ide problems and
 intermittent CD recognition problems.  
 
 In the end, I think we disconnected the CD in order to get the 
 thing to install and did a TFTP boot over the network. Not fun and not
 ultra reliable. I'd like to try again but this was done in a hurry to
 meet a fairly urgent deadline. Others also appear to be having problems.
 
 One other solution which has worked is to use debootstrap from a Solaris
 install. This takes considerable application but appears to work fine.
 I _think_ this way you may have fewer problems. [Floppy, it seems, will
 never work - something about obscure hardware interfaces and
 non-standard connections.]
 
 Not straightforward: almost enough to put me off Debian on architectures
 other than Intel/AMD immediately :(

I'v just finished install a Sarge on Sun Blade 150 with a tftpboot and
no problem.

-- 
Sébastien LANGE
_(__)_
 Secrétaire d'Ornix'-e e -'__,--.__)
(°  Groupe d'utilisateur   (o_o))
//\  des logiciels libres \. /___.  |
V_/_ dans l'Orne   |||  )/ )/
 http://ornix.org  //_(/_(/_(

Registered Linux-User #313144


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



Re: booting a sunblade 100

2005-10-25 Thread Riccardo Tortorici

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Oct 25, 2005, at 11:32 PM, Sebastien LANGE wrote:


I'v just finished install a Sarge on Sun Blade 150 with a tftpboot and
no problem.


Did you use the daily build? Official sarge D-I seems not working  
booting with both 2.4 and 2.6 kernels.
Which kernel are you using? No probs with FB? Neither with ide-cd  
module? My workaround was to put ide-cd module in blacklist.

Ric

- - Riccardo Tortorici -
Linux Registered User #365170
Count yourself @ http://counter.li.org/ !
- --
Encrypted Mail Welcomes
GPG key: 0xF3FCE306 available on  wwwkeys.pgp.net
GPG key fingerprint = C1C4 CA17 5135 8F5C 94C2  3347 4A22 67DB F3FC E306
- --
no1984.org - Stop TCG!
- --
HTML email can be dangerous, is not always readable, wastes bandwidth
and is simply not necessary please don't send them to me!





-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDXrkSSiJn2/P84wYRAjRJAJ4y8yWxm3NYwbso9QQws9+BZd0U5QCeJ3L/
yPhCena3znl++8bJCERne/g=
=gQ1U
-END PGP SIGNATURE-


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



Re: Bug#334609: Installation Report: Sunblade 150 netboot - SUCCEDEED!

2005-10-25 Thread Riccardo Tortorici

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi,
testing the daily build 2005-10-25 I noticed ide-cd module returns  
not working. It freezes everything.
I'm starting to think it is a kernel problem for both issues: ide-cd  
(I'm not the only one who encounters this obstacle) and FB issue. It  
seems the latest kernel that works regarding the FB is the 2.6.8 (but  
still no ide-cd module working). I was thinking about trying with a  
vanilla 2.6.13.4 but it's not debian patched yet... are there any  
problems if I debianize a vanilla and put it into the netboot image?

Ric

On Oct 25, 2005, at 12:16 AM, Riccardo Tortorici wrote:

Hi, the daily netboot D-I from stappers page seems work better than  
previous images. This time it didn't freeze during ide-cd module  
but the FB issue still persists.

Below the installation report:


Package: installation-reports

Debian-installer-version: http://people.debian.org/~stappers/d-i/ 
images/daily/sparc64/netboot/2.6/boot.img (2005-10-24)

Method: netboot

Machine: Sunblade 150

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot worked:[O ]
Configure network HW:   [O ]
Config network: [O ]
Detect CD:  [O ]
Load installer modules: [O ]
Detect hard drives: [ O]
Partition hard drives:  [ O]
Create file systems:[O ]
Mount partitions:   [ O]
Install base system:[O ]
Install boot loader:[ O]
Reboot: [O ]


- - Riccardo Tortorici -
Linux Registered User #365170
Count yourself @ http://counter.li.org/ !
- --
Encrypted Mail Welcomes
GPG key: 0xF3FCE306 available on  wwwkeys.pgp.net
GPG key fingerprint = C1C4 CA17 5135 8F5C 94C2  3347 4A22 67DB F3FC E306
- --
no1984.org - Stop TCG!
- --
HTML email can be dangerous, is not always readable, wastes bandwidth
and is simply not necessary please don't send them to me!





-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDXsPmSiJn2/P84wYRAnBcAJ9SzamfVBMdVNpQWh2Dy547A0uPswCfTcRV
Hsq/JUEXgxzHrvLG7sxL99c=
=Oq3f
-END PGP SIGNATURE-


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



Re: Bug#334609: Installation Report: Sunblade 150 netboot - SUCCEDEED!

2005-10-25 Thread Jurij Smakov

On Wed, 26 Oct 2005, Riccardo Tortorici wrote:


Hi,
testing the daily build 2005-10-25 I noticed ide-cd module returns
not working. It freezes everything.
I'm starting to think it is a kernel problem for both issues: ide-cd
(I'm not the only one who encounters this obstacle) and FB issue. It
seems the latest kernel that works regarding the FB is the 2.6.8 (but
still no ide-cd module working). I was thinking about trying with a
vanilla 2.6.13.4 but it's not debian patched yet... are there any
problems if I debianize a vanilla and put it into the netboot image?
Ric



Hi Riccardo,

The FB problem has been reported a while ago as the bug #321200. There was 
a bunch of changes which broke it, so I could not figure it out myself and 
forwarded the problem upstream. There has been no reaction so far.


If you want to try newer kernel, there are kernel debs available for 
2.6.13, see my message [0] and followups. I am in the process of building 
the debs for 2.6.14-rc5 which was uploaded to experimental yesterday, but 
due to various hardware issues it will probably take another couple of 
days.


[0] http://lists.debian.org/debian-sparc/2005/10/msg00043.html

Best regards,

Jurij Smakov[EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/   KeyID: C99E03CC


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