View previous topic :: View next topic |
Author |
Message |
JeffW_ Retired Dev
Joined: 19 Sep 2004 Posts: 80 Location: Fremont CA, USA
|
Posted: Mon Sep 20, 2004 4:21 am Post subject: Gentoo, 2.6.x, RaQ 3i (updated 2005/07/28) |
|
|
After damn near 6 months of not touching this thread, I decided to bust out my keen BBCode skills (notice the complete lack of it?) and tell you all that everything can be found at http://gentoo.404ster.com/. I don't have an installation howto up yet, but that's coming. When you register (if you register), be sure to atleast sign up for the newsletter, a nice easy way of staying up date.
Note: I fixed the bug in the registration system where it wasn't delivering the activation emails, silly PHP... _________________ JeffWalter
Last edited by JeffW_ on Fri Jul 29, 2005 4:07 am; edited 22 times in total |
|
Back to top |
|
|
Linoxx n00b
Joined: 14 Jan 2004 Posts: 20
|
Posted: Sat Oct 09, 2004 9:08 pm Post subject: |
|
|
That is really impressive my friend. You are a true kernel hacker . I think I might try some of that out on mine. Again, incredible work.
Thanks for your great effort.
Linoxx |
|
Back to top |
|
|
JeffW_ Retired Dev
Joined: 19 Sep 2004 Posts: 80 Location: Fremont CA, USA
|
Posted: Sun Oct 10, 2004 10:47 am Post subject: |
|
|
A quick update. I've had no troubles with this build, been very stable. If an issue does crop up, let me know. _________________ JeffWalter
Last edited by JeffW_ on Tue Jan 11, 2005 1:33 am; edited 1 time in total |
|
Back to top |
|
|
N3s!um n00b
Joined: 06 Jan 2005 Posts: 1
|
Posted: Thu Jan 06, 2005 4:45 am Post subject: Raq550 |
|
|
I'm new to the *nix world and inherited a RaQ550. I'v been looking around and found man general guides to hacking these. Unfortunately some have been very vague on how to proceed. Especially with Gentoo. I've only recompiled a kernel on freebsd before and wondered how to "patch" a kernel for the LCD support.
I have to admit that i'm nervous about trying the install and risk losing this 1u. I'm just starting my searching and have found tons of into to wade through. What is and how can i find the important information to prep for the install.
Also, i should be able to build the vmlinux.bz2 on a openbsd machine right? or will i have to install gentoo on that to build the kernel?
I'm looking forward to diving into it soon! |
|
Back to top |
|
|
JeffW_ Retired Dev
Joined: 19 Sep 2004 Posts: 80 Location: Fremont CA, USA
|
Posted: Thu Jan 06, 2005 4:54 am Post subject: |
|
|
BEFORE DOING ANYTHING, UPDATE YOUR ROM IMAGE!!!! If you fail to do this first, you will be re-installing the RaQ linux distro again to do it.
___________________________________________________________________________________________
When I installed Gentoo on my RaQ 3i I pulled the primary disk and put it into another system to build the OS. You pretty much do everything the same as a normal Gentoo install, but you do not do the kernel or bootloader.
The kernel source has to be downloaded (I would use the 2.6.10, ie. current), then patch with what I've written. Then just follow the directions I originally laid out. Move the disk back to the RaQ, and boot.
If push comes to shove, you can go back to the RaQ distro via a rescue disk. _________________ JeffWalter
Last edited by JeffW_ on Tue Jan 11, 2005 1:34 am; edited 1 time in total |
|
Back to top |
|
|
sebest Apprentice
Joined: 03 Jul 2002 Posts: 163 Location: Paris - France
|
Posted: Thu Jan 06, 2005 3:50 pm Post subject: |
|
|
Hello, i'd like to know if it's possible to change the harddisk and replace them big bigger one?
and how big?
and what about the raid? i've a raq 4 with 2 hard disk, if i install gentoo, will it reconstruct the raid array?
thanx for the answers _________________ --
Seb aka "Mr Est" |
|
Back to top |
|
|
JeffW_ Retired Dev
Joined: 19 Sep 2004 Posts: 80 Location: Fremont CA, USA
|
Posted: Thu Jan 06, 2005 4:54 pm Post subject: |
|
|
You can put in larger disks, though I don't recall any limit. And the RAID (at least in the 3i) is software based, not hardware. So you'd have to setup the kernel with software RAID support and emerge mdadm. _________________ JeffWalter
Last edited by JeffW_ on Tue Jan 11, 2005 1:34 am; edited 1 time in total |
|
Back to top |
|
|
JeffW_ Retired Dev
Joined: 19 Sep 2004 Posts: 80 Location: Fremont CA, USA
|
Posted: Fri Jan 07, 2005 3:32 am Post subject: |
|
|
From Timothy Hockin @ http://www.hockin.org/~thockin/cobalt-hack-faq.html
Quote: | Q: What size disks can I put in my Cobalt?
A: All Cobalt systems used LBA24 disk controllers. This means that the
largest disks you can put into a Cobalt are approximately 137 GB. Even
if you put LBA48 capable disks into your system, it will not work. In
fact, putting LBA48 disks on an LBA24 controller may cause some kernel
version not to boot at all (see 'My Cobalt hangs at "Partition check:"'). |
_________________ JeffWalter
Last edited by JeffW_ on Tue Jan 11, 2005 1:34 am; edited 1 time in total |
|
Back to top |
|
|
JeffW_ Retired Dev
Joined: 19 Sep 2004 Posts: 80 Location: Fremont CA, USA
|
Posted: Mon Jan 10, 2005 8:34 am Post subject: |
|
|
Updated for 2.6.10 -
Code: | [cobalt-2.6.10-20050109] - Jeff Walter (jeff@404ster.com)
- Fixed soft reboots (I forgot to put the cobalt_restart() in the kernel restart function, oops)
- Fixed MOD_INC_USE_COUNT and MOD_DEC_USE_COUNT in drivers/cobalt/raminfo.c by removing the lines
- In 2.6.9 these macros were basically "do { } while (0)", in 2.6.10 they no longer exist... buh bye
- Added a base .config for Cobalt RaQ 3i, only base requirements
- I'd call it stable (2.6.8.1 - 104 day uptime with no hiccups)
- Still need to fix all the deprecated crap that gcc complains about |
http://www.serialexperiments.us/cobalt-patches/2.6/ _________________ JeffWalter
Last edited by JeffW_ on Tue Jan 11, 2005 1:34 am; edited 1 time in total |
|
Back to top |
|
|
JeffW_ Retired Dev
Joined: 19 Sep 2004 Posts: 80 Location: Fremont CA, USA
|
Posted: Mon Jan 10, 2005 9:26 am Post subject: |
|
|
"Bug" fix
Code: | cobalt-2.6.10-20050110] - Jeff Walter (jeff@044ster.com)
- Fixed RAM Info module from loading before /proc/cobalt is created |
_________________ JeffWalter |
|
Back to top |
|
|
patricko n00b
Joined: 13 Jan 2005 Posts: 9
|
Posted: Thu Jan 13, 2005 8:55 am Post subject: Wow. Very good job |
|
|
Hi,
I am try your kernel on all my distros
Cheers
Patrick |
|
Back to top |
|
|
JeffW_ Retired Dev
Joined: 19 Sep 2004 Posts: 80 Location: Fremont CA, USA
|
Posted: Thu Jan 13, 2005 10:28 am Post subject: |
|
|
The kernel should work with with any distro, no reason it shouldn't. I'd love to hear how it goes for you. _________________ JeffWalter |
|
Back to top |
|
|
patricko n00b
Joined: 13 Jan 2005 Posts: 9
|
Posted: Fri Jan 14, 2005 12:03 pm Post subject: off the track a bit. |
|
|
For kernel 2.6
Can I use modutils-2.4.x instead of module-init-tools-3.x?
I trying to build 2.6 kernel back to Cobalt OS
Thanks
Cheers
patrick |
|
Back to top |
|
|
JeffW_ Retired Dev
Joined: 19 Sep 2004 Posts: 80 Location: Fremont CA, USA
|
Posted: Fri Jan 14, 2005 12:16 pm Post subject: |
|
|
The 2.6 series needs module-init-tools, no way around it that I'm aware of. You could try building a monolithic kernel, that may work as you won't be loading any modules. A word of warning though, the Cobalt distro has bandwidth management, as I recall, it's done as a kernel module, it will be broken. _________________ JeffWalter |
|
Back to top |
|
|
JeffW_ Retired Dev
Joined: 19 Sep 2004 Posts: 80 Location: Fremont CA, USA
|
Posted: Fri Jan 14, 2005 8:00 pm Post subject: |
|
|
Ack! The original post is getting far too complicated. I organized the first part and added an update. _________________ JeffWalter |
|
Back to top |
|
|
atopian n00b
Joined: 18 Apr 2002 Posts: 29 Location: Columbus, OH
|
Posted: Fri Jan 14, 2005 8:10 pm Post subject: |
|
|
There is a generalized set of cobalt patches thanks to Duncan Laurie.
http://cobalt.iceblink.org/kernel/2.4.27/
Which support everything from R3 - R550. Tim, being a good hacker, made everything fairly modular, so porting it to 2.6 is easy enough. I have a preliminary patch based on the 2.4 sources for 2.6.x. If I find the time ill hunt it back up and post it.
The real trick, which is where my free time has been going, is to merge a 2.6 kernel image into the rom. So if anyone can magically get a 2.6 kernel with IDE, netcard, XFS, and selinux into ~850Kb, id be really happy
Update:
I threw my cobalt patch up (for 2.6.9) at
http://www.rangernet.net/cobalt-2.6.9.patch
This works for everything, ive tested it on R3, R4, R550, and to a limited extent the XTR. Then again, if anyone has an XTR, do yourself a favor and burn it. _________________ Gentoo, boldly going places only NetBSD dare venture. |
|
Back to top |
|
|
JeffW_ Retired Dev
Joined: 19 Sep 2004 Posts: 80 Location: Fremont CA, USA
|
Posted: Fri Jan 14, 2005 8:46 pm Post subject: |
|
|
After a 104 day uptime running on 2.6.8.1-cobalt, my current is:
Code: | illogical@malp portage $ uname -a
Linux malp 2.6.10-cobalt #1 Mon Jan 10 09:19:30 UTC 2005 i586 AMD-K6(tm) 3D processor AuthenticAMD GNU/Linux
illogical@malp portage $ uptime
12:43:23 up 4 days, 11:18, 1 user, load average: 0.00, 0.00, 0.00
illogical@malp portage $ cat /proc/cobalt/lcd
malp.404ster.com
0.00 0.00 0.00
illogical@malp portage $ cat /proc/cobalt/raminfo
0 [Empty]: 0 MB
1 [SDRAM]: 256 MB
illogical@malp portage $ cat /proc/cobalt/sensors/thermal
0 [CPU]: 31
illogical@malp portage $ cat /proc/cobalt/systype
Pacifica |
_________________ JeffWalter |
|
Back to top |
|
|
JeffW_ Retired Dev
Joined: 19 Sep 2004 Posts: 80 Location: Fremont CA, USA
|
Posted: Sat Jan 15, 2005 9:07 pm Post subject: |
|
|
I'm currently putting together a "ready to run" stage that *should* run on all Cobalt hardware (RaQ 3/4/500/XTR, Qube 3). I'm going to build it with support for multiple filesystems (Ext2/3, ReiserFS, and XFS), software RAID, SCSI (NCR 53c875), and iptables. It will include the following ebuild's:
- module-init-tools
- reiserfsprogs
- xfsprogs
- metalog
- vixie-cron
Any other suggestions? _________________ JeffWalter |
|
Back to top |
|
|
patricko n00b
Joined: 13 Jan 2005 Posts: 9
|
Posted: Tue Jan 18, 2005 5:04 pm Post subject: There are two options for ALi M7101 watchdog |
|
|
Just feedback
Two option:
ALi M7101 PMU on ALi 1535D+ Watchdog Timer
ALi M7101 PMU Watchdog Timer (selected this)
Dont know why. Maybe it is my fault for not doing mrproper 1st
I got kernel panic from enabling watchdog. So I turned it off
Cheers
patrick |
|
Back to top |
|
|
JeffW_ Retired Dev
Joined: 19 Sep 2004 Posts: 80 Location: Fremont CA, USA
|
Posted: Tue Jan 18, 2005 8:14 pm Post subject: |
|
|
What model RaQ are you running? _________________ JeffWalter |
|
Back to top |
|
|
patricko n00b
Joined: 13 Jan 2005 Posts: 9
|
Posted: Wed Jan 19, 2005 2:55 am Post subject: raq550 |
|
|
Hi,
Give me something to test again
Cheers
patrick |
|
Back to top |
|
|
JeffW_ Retired Dev
Joined: 19 Sep 2004 Posts: 80 Location: Fremont CA, USA
|
Posted: Wed Jan 19, 2005 4:28 am Post subject: |
|
|
Then chances are the 550 doesn't have an ALi 7101. Could you post an `lspci -v` ? _________________ JeffWalter |
|
Back to top |
|
|
patricko n00b
Joined: 13 Jan 2005 Posts: 9
|
Posted: Wed Jan 19, 2005 10:55 am Post subject: lspci -v |
|
|
[550]
lspci -v
00:00.0 Host bridge: ServerWorks CNB20HE (rev 06)
Flags: bus master, medium devsel, latency 64
00:00.1 Host bridge: ServerWorks CNB20HE (rev 06)
Flags: bus master, medium devsel, latency 64
00:0f.0 Host bridge: ServerWorks CSB5 (rev 92)
Subsystem: ServerWorks CSB5
Flags: bus master, medium devsel, latency 32
00:0f.1 IDE interface: ServerWorks: Unknown device 0212 (rev 92) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Sun Microsystems Computer Corp.: Unknown device c000
Flags: bus master, medium devsel, latency 64
I/O ports at fcd8 [size=8]
I/O ports at fcd4 [size=4]
I/O ports at fcc8 [size=8]
I/O ports at fcc4 [size=4]
I/O ports at fcb0 [size=16]
I/O ports at fcac [size=4]
00:0f.2 USB Controller: ServerWorks: Unknown device 0220 (rev 05) (prog-if 10 [OHCI])
Subsystem: ServerWorks: Unknown device 0220
Flags: bus master, medium devsel, latency 64, IRQ 9
Memory at febef000 (32-bit, non-prefetchable) [size=4K]
00:0f.3 ISA bridge: ServerWorks: Unknown device 0230
Subsystem: ServerWorks: Unknown device 0230
Flags: bus master, medium devsel, latency 0, IRQ 9
01:06.0 Ethernet controller: National Semiconductor Corporation: Unknown device 0020
Subsystem: National Semiconductor Corporation: Unknown device 0020
Flags: bus master, fast Back2Back, medium devsel, latency 64, IRQ 5
I/O ports at fe00 [size=256]
Memory at febff000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [40] Power Management version 2
01:07.0 Ethernet controller: National Semiconductor Corporation: Unknown device 0020
Subsystem: National Semiconductor Corporation: Unknown device 0020
Flags: bus master, fast Back2Back, medium devsel, latency 64, IRQ 7
I/O ports at fd00 [size=256]
Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [40] Power Management version 2
[XTR]
lspci -v
00:00.0 Host bridge: ServerWorks CNB20HE (rev 06)
Flags: bus master, medium devsel, latency 64
00:00.1 Host bridge: ServerWorks CNB20HE (rev 06)
Flags: bus master, medium devsel, latency 64
00:0b.0 Ethernet controller: National Semiconductor Corporation: Unknown device 0020
Subsystem: National Semiconductor Corporation: Unknown device 0020
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at 8000
Memory at 80000000 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 2
00:0d.0 Ethernet controller: National Semiconductor Corporation: Unknown device 0020
Subsystem: National Semiconductor Corporation: Unknown device 0020
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at 8100
Memory at 80001000 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 2
00:0f.0 ISA bridge: ServerWorks OSB4 (rev 50)
Subsystem: ServerWorks OSB4
Flags: bus master, medium devsel, latency 0
00:0f.1 IDE interface: ServerWorks: Unknown device 0211 (prog-if 8f [Master SecP SecO PriP PriO])
Flags: bus master, medium devsel, latency 64
I/O ports at 8200
I/O ports at 8208
I/O ports at 8210
I/O ports at 8218
I/O ports at 0840
00:0f.2 USB Controller: ServerWorks: Unknown device 0220 (rev 04) (prog-if 10 [OHCI])
Subsystem: ServerWorks: Unknown device 0220
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at 80002000 (32-bit, non-prefetchable)
01:03.0 Unknown mass storage controller: Triones Technologies, Inc. HPT366 (rev 03)
Subsystem: Triones Technologies, Inc.: Unknown device 0001
Flags: bus master, 66Mhz, medium devsel, latency 120, IRQ 12
I/O ports at 9000
I/O ports at 9008
I/O ports at 9010
I/O ports at 9018
I/O ports at 9100
Capabilities: [60] Power Management version 2
01:04.0 Unknown mass storage controller: Triones Technologies, Inc. HPT366 (rev 03)
Subsystem: Triones Technologies, Inc.: Unknown device 0001
Flags: bus master, 66Mhz, medium devsel, latency 120, IRQ 5
I/O ports at 9200
I/O ports at 9208
I/O ports at 9210
I/O ports at 9218
[raq4i]
00:00.0 Host bridge: Acer Laboratories Inc. M1541 (rev 04)
Subsystem: Unknown device 10b9:1541
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 64 set
Capabilities: [b0] AGP version 1.0
Status: RQ=28 SBA+ 64bit- FW- Rate=21
Command: RQ=28 SBA+ AGP- 64bit- FW- Rate=21
Capabilities: [e0] #00 [0000]
00:01.0 PCI bridge: Acer Laboratories Inc.: Unknown device 5243 (rev 04)
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 set
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000f000-00000fff
Memory behind bridge: fff00000-000fffff
Prefetchable memory behind bridge: fff00000-000fffff
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort+ >Reset- FastB2B-
00:02.0 USB Controller: Acer Laboratories Inc. M5237 (rev 03) (prog-if 10)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 80 max, 32 set, cache line size 08
Interrupt: pin A routed to IRQ 6
Region 0: Memory at a0000000 (32-bit, non-prefetchable)
00:03.0 Non-VGA unclassified device: Acer Laboratories Inc. M7101
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Region 0: I/O ports at 6000
Region 1: I/O ports at 3a80
00:07.0 ISA bridge: Acer Laboratories Inc. M1533 (rev c3)
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort+ <MAbort+ >SERR- <PERR-
Latency: 0 set
00:0e.0 SCSI storage controller: Symbios Logic Inc. (formerly NCR) 53c875 (rev 04)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 17 min, 64 max, 32 set, cache line size 08
Interrupt: pin A routed to IRQ 12
Region 0: I/O ports at 6100
Region 1: Memory at a0001000 (32-bit, non-prefetchable)
Region 2: Memory at a0002000 (32-bit, non-prefetchable)
00:0f.0 IDE interface: Acer Laboratories Inc. M5229 (rev c1) (prog-if ff)
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 2 min, 4 max, 32 set
Interrupt: pin A routed to IRQ 14
Region 0: I/O ports at 01f0
Region 1: I/O ports at 03f4
Region 2: I/O ports at 0170
Region 3: I/O ports at 0374
Region 4: I/O ports at f000
00:10.0 Ethernet controller: Intel Corporation: Unknown device 1209 (rev 09)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 8 min, 56 max, 32 set, cache line size 08
Interrupt: pin A routed to IRQ 11
Region 0: Memory at a0003000 (32-bit, non-prefetchable)
Region 1: I/O ports at 6200
Region 2: Memory at a0020000 (32-bit, non-prefetchable)
Capabilities: [dc] Power Management version 2
Flags: PMEClk- AuxPwr- DSI+ D1+ D2+ PME+
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
00:12.0 Ethernet controller: Intel Corporation: Unknown device 1209 (rev 09)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 8 min, 56 max, 32 set, cache line size 08
Interrupt: pin A routed to IRQ 10
Region 0: Memory at a0040000 (32-bit, non-prefetchable)
Region 1: I/O ports at 6240
Region 2: Memory at a0060000 (32-bit, non-prefetchable)
Capabilities: [dc] Power Management version 2
Flags: PMEClk- AuxPwr- DSI+ D1+ D2+ PME+
Status: D0 PME-Enable- DSel=0 DScale=2 PME- |
|
Back to top |
|
|
patricko n00b
Joined: 13 Jan 2005 Posts: 9
|
Posted: Wed Jan 19, 2005 11:19 am Post subject: I can open up my XTR and 550 to find the watchdog |
|
|
Hi,
first you need to teach me it look like
cheers
patrick |
|
Back to top |
|
|
JeffW_ Retired Dev
Joined: 19 Sep 2004 Posts: 80 Location: Fremont CA, USA
|
Posted: Wed Jan 19, 2005 11:29 am Post subject: |
|
|
It would be one of the many chips on the board. It's more of an investigation. _________________ JeffWalter |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|