Re: Help with Sparc 20 boot problems
Hi. The final results are: I had to boot entirely from floppies to get the install done. Partitioning the first drive was as someone here suggested, done with /boot and / residing within the first gigabyte of disk space. And now it's running fine, installing all the initial packages off of the distribution CD's, before I connect it to the lan for updating and maintenance. Thanks to everyone for their suggestions. I may even get my own Sparc at this rate! Curt- -- "Wherever I go, everyone is a little bit safer because I am there. Wherever I am, anyone in need has a friend. Whenever I return home, everyone is happy I am there." ---The Warrior Creed, Robert L. Humphrey, USMC
Re: sparc32 2.4.21-pre3 kernel debs
On Thu, Jan 09, 2003 at 05:33:37PM -0500, Rob Radez wrote: > I just posted 2.4.21-pre3 UP and SMP kernel debs for sparc32 to > http://osinvestor.com/sparc/debs/ but as per my usual practice have only > booted the UP ones on my sun4m machines. These work for me but might > not for you. well, as usual, installed on dual cpu SS20 running Debian sarge... Cheers, /ChJ
sparc32 2.4.21-pre3 kernel debs
I just posted 2.4.21-pre3 UP and SMP kernel debs for sparc32 to http://osinvestor.com/sparc/debs/ but as per my usual practice have only booted the UP ones on my sun4m machines. These work for me but might not for you. Regards, Rob Radez
Re: Help with Sparc
Ben Collins said: > Where did you get this CD? It does not appear to be setup properly for > booting. I downloaded a similar CD from one of the debian-cd mirrors(forgot which, either in australia or germany). Took a while to figure out how to boot the 64bit kernel manually on my ultra 1, had to specify the path to both the kernel and the root image as well. but it worked..system installed flawlessly after that. Trying out SusE 7.2 now, pretty fancy to see YaST2 on sparc. nate
Re: Help with Sparc
On Thu, 2003-01-09 at 17:22, Nathan E Norman wrote: > > Regarding the rest .. what kind of machine (which type of sparc)? > Where'd you get the CD? It looks like your boot process is trying to > do an NFS-root boot, which seems odd. Aren't you by any weird way trying to boot the linux-a.out file instead of the normal kernel image ? Or maybe your CD-ROM is fucked up and the initrd is not on it ? -- Irvin Probst There are 10 types of people in the world... those who understand binary and those who don't.
Re: Help with Sparc 20 boot problems
Good morning. After going back and repartitioning (after formatting, SILO install, etc), I am stuck at the following boot error. Note to self: Never repartition, no matter how many second thoughts I may have after a good nights sleep. SILO on sda is grabbing the boot cycle and failing, of course, since I've repartitioned without reformatting (the install software said a reboot was required before formatting could take place). Ok, just now I tried the absurd: I typed "halt" at the SILO "boot:" prompt, and got an "ok"! So "boot floppy" is now happily loading. I will continue from this point, with the new partition style (this is the first time I've seen "Whole Disk"), and let y'all know what the final results are. Curt- Here was the entire boot message, because I already had pasted it into this email. - Boot device: /iommu/sbus/[EMAIL PROTECTED],40/[EMAIL PROTECTED],80/[EMAIL PROTECTED],0 File and args: -v SILO Buggy old PROMs don't allow reading past 1GB from start of the disk. Send C Read error on block 851972 (tried 4096, got -1) Cannot find /etc/silo.conf (Unknown ext2 error) Couldn't load /etc/silo.conf No config file loaded, you can boot just from this command line Type [prompath;]part/path_to_image [parameters] on the prompt E.g. /iommu/sbus/espdma/esp/[EMAIL PROTECTED],0;4/vmlinux root=/dev/sda4 or 2/vmlinux.live (to load vmlinux.live from 2nd partition of boot disk) You have `-v' string in your boot-file variable. This string doesn't contain valid arguments to SILO. Consider doing setenv boot-file. Anyway, SILO will continue as if there were no arguments in boot-file. boot: ls Your imagename `ls' and arguments `' have either wrong syntax, or describe a label which is not present in silo.conf Type `help' at the boot: prompt if you need it and then try again. boot: - -- "Wherever I go, everyone is a little bit safer because I am there. Wherever I am, anyone in need has a friend. Whenever I return home, everyone is happy I am there." ---The Warrior Creed, Robert L. Humphrey, USMC
Re: Help with Sparc
Many thanks to everyone, I am now subscribed to the Sparc list. The cdrom was purchased by a friend of mine (whose sparc this is), I don't know from where. Yes, I agree it seems to have a default config which is seriously messed up. The cdrom is labeled as Debian 3.0 Woody. Curt- Ben Collins wrote: > > On Thu, Jan 09, 2003 at 10:22:03AM -0600, Nathan E Norman wrote: > > On Wed, Jan 08, 2003 at 08:46:57PM -0800, Curt Howland wrote: > > > Good evening. Please reply directly, as I cannot keep up with the > > > traffic on debian-user. > > > > So subscribe to debian-sparc :-) > > > > > I'm trying to install Debian Woody on a Sparc. I have successfully > > > gotten the cdrom to boot, but the boot ceases after a little while with > > > the following: > > > > > > - > > > Root-NFS: No NFS server available, giving up. > > > VFS: Unable to mount root fs via NFS, trying floppy. > > > floppy0: WARNING disk change called early > > > VFS: Insert root floppy and press ENTER > > Where did you get this CD? It does not appear to be setup properly for > booting. > > -- > Debian - http://www.debian.org/ > Linux 1394 - http://www.linux1394.org/ > Subversion - http://subversion.tigris.org/ > Deqo - http://www.deqo.com/ -- "Wherever I go, everyone is a little bit safer because I am there. Wherever I am, anyone in need has a friend. Whenever I return home, everyone is happy I am there." ---The Warrior Creed, Robert L. Humphrey, USMC
Re: Help with Sparc
You're right, and I will be. Unfortunately, after getting almost installed, I decided to go back and repartition the hard disks more intelegently. Bad move! It required a reboot after writing the new partition table, but it hits the SILO and chokes. It's asking for "where do I boot from?" and wants the Sparc device address. I'm about to write an email to the debian-sparc mailing list asking for the direct "/iommu/sbus/espdma/esp/[EMAIL PROTECTED],0;4/vmlinux root=/dev/sda4" style name for the cdrom or floppy. Onward and downward! Curt- Nathan E Norman wrote: > > On Wed, Jan 08, 2003 at 08:46:57PM -0800, Curt Howland wrote: > > Good evening. Please reply directly, as I cannot keep up with the > > traffic on debian-user. > > So subscribe to debian-sparc :-) > > > I'm trying to install Debian Woody on a Sparc. I have successfully > > gotten the cdrom to boot, but the boot ceases after a little while with > > the following: > > > > - > > Root-NFS: No NFS server available, giving up. > > VFS: Unable to mount root fs via NFS, trying floppy. > > floppy0: WARNING disk change called early > > VFS: Insert root floppy and press ENTER > > - > > > > so... I did the dd creation of a 1.44M floppy with the only root.bin > > that is on the CDROM image, put it in the drive, and... > > > > - > > Root-NFS: No NFS server available, giving up. > > VFS: Unable to mount root fs via NFS, trying floppy. > > floppy0: WARNING disk change called early > > VFS: Insert root floppy and press ENTER > > You didn't specify the type of your ufs filesystem > > > > mount -t ufs -o > > ufstype=sun|sunx86|44bsd|old|nextstep|netxstep-cd|openstep ... > > > > >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is > > >>>ufstype=old > > ufs_read_super: bad magic number > > Kernel panic: VFS: Unable to mount root fs on 02:00 > > Press L1-A to return to the boot prom > > - > > > > at which time I'm stuck hitting the power switch, because I have no idea > > how to "Press L1-A" through minicom from my Debian laptop connected to > > the console of the Sparc. > > IIRC, ctrl-a f provides stop-A functionality from minicom. > > Regarding the rest .. what kind of machine (which type of sparc)? > Where'd you get the CD? It looks like your boot process is trying to > do an NFS-root boot, which seems odd. > > Followups to debian-sparc, I think. > > -- > Nathan Norman - Incanus Networking mailto:[EMAIL PROTECTED] > There are 10 kinds of people in the world, those that can do binary > arithmetic and those that can't. -- "Wherever I go, everyone is a little bit safer because I am there. Wherever I am, anyone in need has a friend. Whenever I return home, everyone is happy I am there." ---The Warrior Creed, Robert L. Humphrey, USMC
Re: Help with Sparc
On Thu, Jan 09, 2003 at 11:26:44AM -0800, Curt Howland wrote: > Many thanks to everyone, I am now subscribed to the Sparc list. > > The cdrom was purchased by a friend of mine (whose sparc this is), I > don't know from where. Yes, I agree it seems to have a default config > which is seriously messed up. > > The cdrom is labeled as Debian 3.0 Woody. Sounds like it is booting the kernel ok, just not passing the root.bin as an initrd. Try this command line: (NOTE: the sparc32.gz might just need to be sparc32, do an "ls /boot" to see, and yes, SILO supports ls). SILO: /boot/sparc32.gz initrd=/debian/dists/stable/main/disks-sparc/current/images-1.44/root.bin -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ Deqo - http://www.deqo.com/
Re: E450 Fan tray noise
Eddie's version from a few years back did support E450 but the fan control never did work properly for that boardset. A while back it was re-written by somebody at Sun to support a few SME boardsets and the support for E450 was removed. At this time, I can vouch for envctrl on CP1400, CP1500 and possibly Netra-T1/105. Neither SME "AX" boardsets nor SMCC (E450,E250,etc) are supported by this driver. Under the sheets they are all very similar, but the OBP layout seems to change with the seasons and some are more cryptic than others. I've been toying with envctrltwo on an E250, but time is scant so I cannot commit to anything. If somebody decides to work on this I would not mind speaking with them so we can come up with a better envctrl infrastructure and possibly leverage the i2c subsystem instead of the current 'roll-your-own' support. E Ian Cass wrote: OK I've delved into this a bit deeper... It looks like there was a patch to the envctrl driver way back in 2.2.16 which changed the way the driver found the environment controls on the sbus. - if (!strcmp(edev->prom_name, "SUNW,envctrl")) + if (!strcmp(edev->prom_name, "i2c")) { My Prom returns the names the old way, like this... ebus0: [auxio] [power] [SUNW,pll] [sc] [se] [su] [su] [ecpp] [fdthree] [eeprom] [flashprom] [SUNW,envctrl] So it seems the driver isn't finding the hardware. Prom version problem perhaps? PROMLIB: Sun IEEE Boot Prom 3.12.3 1998/12/04 14:20 Is there anyone with an E450 for whom envctrl works? -- Ian Cass - Original Message - From: "Ben Collins" <[EMAIL PROTECTED]> To: "Rene van Dijk" <[EMAIL PROTECTED]> Cc: Sent: Thursday, January 02, 2003 1:42 PM Subject: Re: E450 Fan tray noise On Thu, Jan 02, 2003 at 01:30:33PM +0100, Rene van Dijk wrote: Hi, I just finished installing Debian Woody on an Ultra E450 without major problems. The only annoying thing is the systems fans keep running at full speed. Previously this system was running Solaris 2.6 and the fans ran at full speed during boot. After a successfull boot they switched to 'low' speed. How can I silence my E450 :) I recall that there is a kernel config option (compile time) for a module to handle this. I _think_ I included this as a module in the default kernels. Give modconf a look to see if there's something in the sparc specific modules (like an env module or something). -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ Deqo - http://www.deqo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Help with Sparc
On Thu, Jan 09, 2003 at 10:22:03AM -0600, Nathan E Norman wrote: > On Wed, Jan 08, 2003 at 08:46:57PM -0800, Curt Howland wrote: > > Good evening. Please reply directly, as I cannot keep up with the > > traffic on debian-user. > > So subscribe to debian-sparc :-) > > > I'm trying to install Debian Woody on a Sparc. I have successfully > > gotten the cdrom to boot, but the boot ceases after a little while with > > the following: > > > > - > > Root-NFS: No NFS server available, giving up. > > VFS: Unable to mount root fs via NFS, trying floppy. > > floppy0: WARNING disk change called early > > VFS: Insert root floppy and press ENTER Where did you get this CD? It does not appear to be setup properly for booting. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ Deqo - http://www.deqo.com/
Re: Help with Sparc
On Wed, Jan 08, 2003 at 08:46:57PM -0800, Curt Howland wrote: > Good evening. Please reply directly, as I cannot keep up with the > traffic on debian-user. So subscribe to debian-sparc :-) > I'm trying to install Debian Woody on a Sparc. I have successfully > gotten the cdrom to boot, but the boot ceases after a little while with > the following: > > - > Root-NFS: No NFS server available, giving up. > VFS: Unable to mount root fs via NFS, trying floppy. > floppy0: WARNING disk change called early > VFS: Insert root floppy and press ENTER > - > > so... I did the dd creation of a 1.44M floppy with the only root.bin > that is on the CDROM image, put it in the drive, and... > > - > Root-NFS: No NFS server available, giving up. > VFS: Unable to mount root fs via NFS, trying floppy. > floppy0: WARNING disk change called early > VFS: Insert root floppy and press ENTER > You didn't specify the type of your ufs filesystem > > mount -t ufs -o > ufstype=sun|sunx86|44bsd|old|nextstep|netxstep-cd|openstep ... > > >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is > >>>ufstype=old > ufs_read_super: bad magic number > Kernel panic: VFS: Unable to mount root fs on 02:00 > Press L1-A to return to the boot prom > - > > at which time I'm stuck hitting the power switch, because I have no idea > how to "Press L1-A" through minicom from my Debian laptop connected to > the console of the Sparc. IIRC, ctrl-a f provides stop-A functionality from minicom. Regarding the rest .. what kind of machine (which type of sparc)? Where'd you get the CD? It looks like your boot process is trying to do an NFS-root boot, which seems odd. Followups to debian-sparc, I think. -- Nathan Norman - Incanus Networking mailto:[EMAIL PROTECTED] There are 10 kinds of people in the world, those that can do binary arithmetic and those that can't.
Re: ext3 root partitions bad?
On Thu, 2003-01-09 at 09:52, Nathan E Norman wrote: > Hello, > > It's my understanding that SILO cannot handle a dirty ext3 root > partition as it really only understands ext2. Is this correct? If > so, I think the sparc install docs should mention that at least your > root should be ext2; ext3 (or some other fs) is ok for the rest of > your partitions. Attached is a patch to allow SILO to handle a dirty ext3 root partition. I'm pretty sure Ben C. has seen this already. ~spot --- Tom "spot" Callaway (SAIR LCA, RHCE) GPG: D786 8B22 D9DB 1F8B 4AB7 448E 3C5E 99AD 9305 4260 Red Hat Sales Engineer :: http://www.redhat.com Aurora SPARC Linux Project Leader :: http://www.auroralinux.org The words and opinions reflected in this message do not necessarily reflect those of my employer, Red Hat, or my project, Aurora SPARC Linux and belong solely to me. Save Firefly! :: http://www.fireflysupport.com/ :: Keep Flying! --- second/fs/ext2.c.oldMon Jan 28 03:43:50 2002 +++ second/fs/ext2.cMon Jan 28 03:45:01 2002 @@ -42,14 +42,14 @@ return; } #endif -printf ("Unknown ext2 error"); +printf ("Unknown ext2 error: %d", errcode); } static int open_ext2 (char *device) { int retval; -retval = ext2fs_open (device, EXT2_FLAG_RW, 0, 0, silo_io_manager, &fs); +retval = ext2fs_open (device, EXT2_FLAG_DIRTY, 0, 0, silo_io_manager, &fs); if (retval == EXT2_ET_BAD_MAGIC) return 0; if (retval) {
ext3 root partitions bad?
Hello, It's my understanding that SILO cannot handle a dirty ext3 root partition as it really only understands ext2. Is this correct? If so, I think the sparc install docs should mention that at least your root should be ext2; ext3 (or some other fs) is ok for the rest of your partitions. -- Nathan Norman - Incanus Networking mailto:[EMAIL PROTECTED] We are all agreed that your theory is crazy. The question which divides us is whether it is crazy enough to have a chance of being correct. My own feeling is that it is not crazy enough. -- Niels Bohr
Re: E450 Fan tray noise
OK I've delved into this a bit deeper... It looks like there was a patch to the envctrl driver way back in 2.2.16 which changed the way the driver found the environment controls on the sbus. - if (!strcmp(edev->prom_name, "SUNW,envctrl")) + if (!strcmp(edev->prom_name, "i2c")) { My Prom returns the names the old way, like this... ebus0: [auxio] [power] [SUNW,pll] [sc] [se] [su] [su] [ecpp] [fdthree] [eeprom] [flashprom] [SUNW,envctrl] So it seems the driver isn't finding the hardware. Prom version problem perhaps? PROMLIB: Sun IEEE Boot Prom 3.12.3 1998/12/04 14:20 Is there anyone with an E450 for whom envctrl works? -- Ian Cass - Original Message - From: "Ben Collins" <[EMAIL PROTECTED]> To: "Rene van Dijk" <[EMAIL PROTECTED]> Cc: Sent: Thursday, January 02, 2003 1:42 PM Subject: Re: E450 Fan tray noise > On Thu, Jan 02, 2003 at 01:30:33PM +0100, Rene van Dijk wrote: > > Hi, > > > > I just finished installing Debian Woody on an Ultra E450 without major > > problems. The only annoying thing is the systems fans keep running at full > > speed. > > Previously this system was running Solaris 2.6 and the fans ran at full > > speed during boot. After a successfull boot they switched to 'low' speed. > > > > How can I silence my E450 :) > > I recall that there is a kernel config option (compile time) for a > module to handle this. > > I _think_ I included this as a module in the default kernels. Give > modconf a look to see if there's something in the sparc specific modules > (like an env module or something). > > -- > Debian - http://www.debian.org/ > Linux 1394 - http://www.linux1394.org/ > Subversion - http://subversion.tigris.org/ > Deqo - http://www.deqo.com/ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >
Re: E450 Fan tray noise
> I recall that there is a kernel config option (compile time) for a > module to handle this. envctrl I assume? I don't have a /dev/envctrl & the module fails. What is the major/minor for this device, or where can I find it? -- Ian Cass