Pointers?
I've used OLPC buildrom as a base, customized the kernel to include the SATA drivers, IDE, EXT2, EXT3. I removed the boot menu and successfully boot into a shell with pciutils.
I can't mount my IDE hard drive, even though I can see it in the /proc filesystem. I'm trying mount -t ext3 /dev/hda1 /hdd.
When I do an lspci, all the IRQs are routed to IRQ 0. I don't know if this is the root of the problem, or a symptom.
How can I make sure that the PCI settings that I set up in LinuxBIOS get passed on?
Thanks,
Myles
An unrelated note for those that are into OLPC: in linuxrc two of the device files get made as text files because they are not there early enough in the process
/sbin/makedevs /dev < device.txt > /dev/null
is bad because it creates a text file where /dev/null should be.
The same thing happens to /dev/console in a different place.
I can't mount my IDE hard drive, even though I can see it in the /proc filesystem. I'm trying mount –t ext3 /dev/hda1 /hdd.
/dev/hda[?] dont exist in the simple filesystem. Did you add the devices to devices.txt?
When I do an lspci, all the IRQs are routed to IRQ 0. I don't know if this is the root of the problem, or a symptom.
Thats a bad thing. Your interrutps are not routed correctly. Thats linuxbios and not buildrom though.
How can I make sure that the PCI settings that I set up in LinuxBIOS get passed on?
Either by pirq table, or one of the other tables.
An unrelated note for those that are into OLPC: in linuxrc two of the device files get made as text files because they are not there early enough in the process
/sbin/makedevs /dev < device.txt > /dev/null
is bad because it creates a text file where /dev/null should be.
The same thing happens to /dev/console in a different place.
Hey thanks. Good catch. I'll see about getting this fixed.
I can't mount my IDE hard drive, even though I can see it in the /proc filesystem. I'm trying mount -t ext3 /dev/hda1 /hdd.
/dev/hda[?] don't exist in the simple filesystem. Did you add the devices to devices.txt?
Yes I did. I wasn't sure if I added them correctly, though. I just copied most of the entries from another line and changed the major and minor numbers.
When I do an lspci, all the IRQs are routed to IRQ 0. I don't know if this is the root of the problem, or a symptom.
That's a bad thing. Your interrutps are not routed correctly. That's LinuxBIOS and not buildrom though.
It works for a different kernel through the filo etherboot pathway, so I'm wondering if I've misconfigured the kernel. Do I need to explicitly support the Opteron? I'm using a 32-bit kernel because there are no linux-tiny patches for 64-bit.
Myles
On 10/13/06, Myles Watson myles@pel.cs.byu.edu wrote:
I can't mount my IDE hard drive, even though I can see it in the /proc filesystem. I'm trying mount -t ext3 /dev/hda1 /hdd.
/dev/hda[?] don't exist in the simple filesystem. Did you add the devices to devices.txt?
Yes I did. I wasn't sure if I added them correctly, though. I just copied most of the entries from another line and changed the major and minor numbers.
Hmm.. That should work. I would verify when you boot the image that the devices really exist and the numbers are right.
Do you really have ext3 in the kernel or just ext2? ext2 will not mount a ext3 system if the journal is dirty with out a patch and even then only ro.
I can't mount my IDE hard drive, even though I can see it in the /proc filesystem. I'm trying mount -t ext3 /dev/hda1 /hdd.
/dev/hda[?] don't exist in the simple filesystem. Did you add the devices to devices.txt?
Yes I did. I wasn't sure if I added them correctly, though. I just
copied
most of the entries from another line and changed the major and minor numbers.
Hmm.. That should work. I would verify when you boot the image that the devices really exist and the numbers are right.
Do you really have ext3 in the kernel or just ext2? ext2 will not mount a ext3 system if the journal is dirty with out a patch and even then only ro.
/proc/filesystems lists ext3
I think the error is something different. I can mount my USB key that I formatted ext2, but when I try /dev/hda1 instead of /dev/sda1, it says Unknown error 6, which is "no such device or address".
When I do a ls -l /dev/ I get brw-rw---- 1 0 0 3, 1 Oct 13 13:08 /dev/hda1 brw-rw---- 1 0 0 8, 1 Oct 13 13:08 /dev/sda1
The only differences are the h vs. s and the major number
Thanks for your help, Myles
I think the error is something different. I can mount my USB key that I formatted ext2, but when I try /dev/hda1 instead of /dev/sda1, it says Unknown error 6, which is "no such device or address".
Forgive if you have done this already Just trying to cover all the simple fixes first. Have you verified that you really have IDE devices enabled in your kernel?
I think the error is something different. I can mount my USB key that I formatted ext2, but when I try /dev/hda1 instead of /dev/sda1, it says Unknown error 6, which is "no such device or address".
Forgive if you have done this already Just trying to cover all the simple fixes first. Have you verified that you really have IDE devices enabled in your kernel?
No problem, I appreciate the help
I have CONFIG_IDE CONFIG_BLK_DEV_IDE CONFIG_IDE_GENERIC
All enabled. I couldn't find any others that made sense to me.
Myles