You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
(12) |
May
(82) |
Jun
(72) |
Jul
(39) |
Aug
(104) |
Sep
(61) |
Oct
(55) |
Nov
(101) |
Dec
(48) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(52) |
Feb
(67) |
Mar
(18) |
Apr
(16) |
May
(33) |
Jun
(12) |
Jul
(102) |
Aug
(168) |
Sep
(65) |
Oct
(60) |
Nov
(43) |
Dec
(121) |
2002 |
Jan
(69) |
Feb
(32) |
Mar
(90) |
Apr
(59) |
May
(45) |
Jun
(43) |
Jul
(33) |
Aug
(21) |
Sep
(11) |
Oct
(20) |
Nov
(26) |
Dec
(3) |
2003 |
Jan
(12) |
Feb
(18) |
Mar
(11) |
Apr
(11) |
May
(41) |
Jun
(76) |
Jul
(77) |
Aug
(15) |
Sep
(38) |
Oct
(56) |
Nov
(19) |
Dec
(39) |
2004 |
Jan
(17) |
Feb
(52) |
Mar
(36) |
Apr
(34) |
May
(48) |
Jun
(85) |
Jul
(38) |
Aug
(42) |
Sep
(41) |
Oct
(77) |
Nov
(27) |
Dec
(19) |
2005 |
Jan
(32) |
Feb
(35) |
Mar
(29) |
Apr
(8) |
May
(7) |
Jun
(31) |
Jul
(46) |
Aug
(93) |
Sep
(65) |
Oct
(85) |
Nov
(219) |
Dec
(47) |
2006 |
Jan
(170) |
Feb
(103) |
Mar
(49) |
Apr
(43) |
May
(45) |
Jun
(29) |
Jul
(77) |
Aug
(82) |
Sep
(43) |
Oct
(45) |
Nov
(26) |
Dec
(85) |
2007 |
Jan
(42) |
Feb
(48) |
Mar
(64) |
Apr
(31) |
May
(88) |
Jun
(53) |
Jul
(175) |
Aug
(212) |
Sep
(91) |
Oct
(103) |
Nov
(110) |
Dec
(5) |
2008 |
Jan
(20) |
Feb
(11) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(5) |
Sep
(3) |
Oct
(12) |
Nov
|
Dec
|
From: NIIBE Y. <gn...@m1...> - 2002-05-22 07:35:46
|
Changes from mainline. Ummm... I have backlog... 2002-05-07 NIIBE Yutaka <gn...@m1...> * include/asm-sh/pgtable.h (mk_pte_phys): Removed. * AGAINST-2.5.14: New file. * AGAINST-2.5.13: Removed. * Makefile: Version 2.5.14. * arch/sh/mm/cache-sh4.c, arch/sh/mm/fault.c, arch/sh/mm/init.c, arch/sh/mm/ioremap.c, drivers/pci/pci.ids, include/asm-sh/pgalloc.h, init/do_mounts.c, mm/memory.c: Incorporate changes in 2.5.14. Index: arch/sh/mm/cache-sh4.c =================================================================== RCS file: /cvsroot/linuxsh/linux/arch/sh/mm/cache-sh4.c,v retrieving revision 1.13 diff -u -3 -p -r1.13 cache-sh4.c --- arch/sh/mm/cache-sh4.c 25 Apr 2002 07:21:04 -0000 1.13 +++ arch/sh/mm/cache-sh4.c 22 May 2002 07:31:01 -0000 @@ -435,7 +435,7 @@ void clear_user_page(void *to, unsigned pte_t entry; unsigned long flags; - entry = mk_pte_phys(phys_addr, pgprot); + entry = pfn_pte(phys_addr >> PAGE_SHIFT, pgprot); down(&p3map_sem[(address & CACHE_ALIAS)>>12]); set_pte(pte, entry); save_and_cli(flags); @@ -474,7 +474,7 @@ void copy_user_page(void *to, void *from pte_t entry; unsigned long flags; - entry = mk_pte_phys(phys_addr, pgprot); + entry = pfn_pte(phys_addr >> PAGE_SHIFT, pgprot); down(&p3map_sem[(address & CACHE_ALIAS)>>12]); set_pte(pte, entry); save_and_cli(flags); Index: arch/sh/mm/fault.c =================================================================== RCS file: /cvsroot/linuxsh/linux/arch/sh/mm/fault.c,v retrieving revision 1.6 diff -u -3 -p -r1.6 fault.c --- arch/sh/mm/fault.c 12 Apr 2002 04:26:28 -0000 1.6 +++ arch/sh/mm/fault.c 22 May 2002 07:31:01 -0000 @@ -291,6 +291,7 @@ void update_mmu_cache(struct vm_area_str unsigned long vpn; #if defined(__SH4__) struct page *page; + unsigned long pfn; unsigned long ptea; #endif @@ -299,11 +300,14 @@ void update_mmu_cache(struct vm_area_str return; #if defined(__SH4__) - page = pte_page(pte); - if (VALID_PAGE(page) && !test_bit(PG_mapped, &page->flags)) { - unsigned long phys = pte_val(pte) & PTE_PHYS_MASK; - __flush_wback_region((void *)P1SEGADDR(phys), PAGE_SIZE); - __set_bit(PG_mapped, &page->flags); + pfn = pte_pfn(pte); + if (pfn_valid(pfn)) { + page = pfn_to_page(pfn); + if (!test_bit(PG_mapped, &page->flags)) { + unsigned long phys = pte_val(pte) & PTE_PHYS_MASK; + __flush_wback_region((void *)P1SEGADDR(phys), PAGE_SIZE); + __set_bit(PG_mapped, &page->flags); + } } #endif Index: arch/sh/mm/init.c =================================================================== RCS file: /cvsroot/linuxsh/linux/arch/sh/mm/init.c,v retrieving revision 1.3 diff -u -3 -p -r1.3 init.c --- arch/sh/mm/init.c 1 May 2002 06:18:01 -0000 1.3 +++ arch/sh/mm/init.c 22 May 2002 07:31:01 -0000 @@ -49,9 +49,6 @@ pg_data_t discontig_page_data[NR_NODES]; bootmem_data_t discontig_node_bdata[NR_NODES]; #endif -static unsigned long totalram_pages; -static unsigned long totalhigh_pages; - void show_mem(void) { int i, total = 0, reserved = 0; @@ -204,18 +201,6 @@ void free_initrd_mem(unsigned long start printk ("Freeing initrd memory: %ldk freed\n", (end - start) >> 10); } #endif - -void si_meminfo(struct sysinfo *val) -{ - val->totalram = totalram_pages; - val->sharedram = 0; - val->freeram = nr_free_pages(); - val->bufferram = atomic_read(&buffermem_pages); - val->totalhigh = totalhigh_pages; - val->freehigh = nr_free_highpages(); - val->mem_unit = PAGE_SIZE; - return; -} pgd_t *pgd_alloc(struct mm_struct *mm) { Index: arch/sh/mm/ioremap.c =================================================================== RCS file: /cvsroot/linuxsh/linux/arch/sh/mm/ioremap.c,v retrieving revision 1.3 diff -u -3 -p -r1.3 ioremap.c --- arch/sh/mm/ioremap.c 12 Apr 2002 04:26:28 -0000 1.3 +++ arch/sh/mm/ioremap.c 22 May 2002 07:31:01 -0000 @@ -19,6 +19,7 @@ static inline void remap_area_pte(pte_t unsigned long size, unsigned long phys_addr, unsigned long flags) { unsigned long end; + unsigned long pfn; pgprot_t pgprot = __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_HW_SHARED | _PAGE_FLAGS_HARD | flags); @@ -29,14 +30,15 @@ static inline void remap_area_pte(pte_t end = PMD_SIZE; if (address >= end) BUG(); + pfn = phys_addr >> PAGE_SHIFT; do { if (!pte_none(*pte)) { printk("remap_area_pte: page already exists\n"); BUG(); } - set_pte(pte, mk_pte_phys(phys_addr, pgprot)); + set_pte(pte, pfn_pte(pfn, pgprot)); address += PAGE_SIZE; - phys_addr += PAGE_SIZE; + pfn++; pte++; } while (address && (address < end)); } Index: drivers/pci/pci.ids =================================================================== RCS file: /cvsroot/linuxsh/linux/drivers/pci/pci.ids,v retrieving revision 1.11 diff -u -3 -p -r1.11 pci.ids --- drivers/pci/pci.ids 6 May 2002 00:50:02 -0000 1.11 +++ drivers/pci/pci.ids 22 May 2002 07:31:02 -0000 @@ -5090,22 +5090,35 @@ 11d4 0048 SoundMAX Integrated Digital Audio 2426 82801AB AC'97 Modem 2428 82801AB PCI Bridge - 2440 82820 820 (Camino 2) Chipset ISA Bridge (ICH2) - 2442 82820 820 (Camino 2) Chipset USB (Hub A) - 2443 82820 820 (Camino 2) Chipset SMBus - 2444 82820 820 (Camino 2) Chipset USB (Hub B) - 2445 82820 820 (Camino 2) Chipset AC'97 Audio Controller - 2446 82820 820 (Camino 2) Chipset AC'97 Modem Controller - 2448 82820 820 (Camino 2) Chipset PCI (-M) - 2449 82820 (ICH2) Chipset Ethernet Controller - 244a 82820 820 (Camino 2) Chipset IDE U100 (-M) - 244b 82820 820 (Camino 2) Chipset IDE U100 - 244c 82820 820 (Camino 2) Chipset ISA Bridge (ICH2-M) - 244e 82820 820 (Camino 2) Chipset PCI - 245b 82801E C-ICH IDE - 2485 AC'97 Audio Controller - 248a 82801CAM ICH3-M IDE - 248b 82801CA ICH3 IDE + 2440 82801BA ISA Bridge (LPC) + 2442 82801BA/BAM USB (Hub #1) + 2443 82801BA/BAM SMBus + 2444 82801BA/BAM USB (Hub #2) + 2445 82801BA/BAM AC'97 Audio + 2446 82801BA/BAM AC'97 Modem + 2448 82801BAM/CAM PCI Bridge + 2449 82801BA/BAM/CA/CAM Ethernet Controller + 244a 82801BAM IDE U100 + 244b 82801BA IDE U100 + 244c 82801BAM ISA Bridge (LPC) + 244e 82801BA/CA PCI Bridge + 2450 82801E ISA Bridge (LPC) + 2452 82801E USB + 2453 82801E SMBus + 2459 82801E Ethernet Controller 0 + 245b 82801E IDE U100 + 245d 82801E Ethernet Controller 1 + 245e 82801E PCI Bridge + 2480 82801CA ISA Bridge (LPC) + 2482 82801CA/CAM USB (Hub #1) + 2483 82801CA/CAM SMBus + 2484 82801CA/CAM USB (Hub #2) + 2485 82801CA/CAM AC'97 Audio + 2486 82801CA/CAM AC'97 Modem + 2487 82801CA/CAM USB (Hub #3) + 248a 82801CAM IDE U100 + 248b 82801CA IDE U100 + 248c 82801CAM ISA Bridge (LPC) 24cb 82801DB ICH4 IDE 2500 82820 820 (Camino) Chipset Host Bridge (MCH) 1043 801c P3C-2000 system chipset Index: include/asm-sh/pgalloc.h =================================================================== RCS file: /cvsroot/linuxsh/linux/include/asm-sh/pgalloc.h,v retrieving revision 1.7 diff -u -3 -p -r1.7 pgalloc.h --- include/asm-sh/pgalloc.h 12 Apr 2002 04:26:29 -0000 1.7 +++ include/asm-sh/pgalloc.h 22 May 2002 07:31:02 -0000 @@ -59,9 +59,14 @@ static inline pte_t ptep_get_and_clear(p pte_clear(ptep); if (!pte_not_present(pte)) { - struct page *page = pte_page(pte); - if (VALID_PAGE(page) && - (!page->mapping || list_empty(&page->mapping->i_mmap_shared))) __clear_bit(PG_mapped, &page->flags); + struct page *page; + unsigned long pfn = pte_pfn(pte); + if (pfn_valid(pfn)) { + page = pfn_to_page(page); + if (!page->mapping + || list_empty(&page->mapping->i_mmap_shared)) + __clear_bit(PG_mapped, &page->flags); + } } return pte; } Index: include/asm-sh/pgtable.h =================================================================== RCS file: /cvsroot/linuxsh/linux/include/asm-sh/pgtable.h,v retrieving revision 1.8 diff -u -3 -p -r1.8 pgtable.h --- include/asm-sh/pgtable.h 12 Apr 2002 04:26:29 -0000 1.8 +++ include/asm-sh/pgtable.h 22 May 2002 07:31:02 -0000 @@ -193,10 +193,6 @@ static inline pgprot_t pgprot_noncached( __pte; \ }) -/* This takes a physical page address that is used by the remapping functions */ -#define mk_pte_phys(physpage, pgprot) \ -({ pte_t __pte; set_pte(&__pte, __pte(physpage + pgprot_val(pgprot))); __pte; }) - static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) { set_pte(&pte, __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot))); return pte; } Index: init/do_mounts.c =================================================================== RCS file: /cvsroot/linuxsh/linux/init/do_mounts.c,v retrieving revision 1.4 diff -u -3 -p -r1.4 do_mounts.c --- init/do_mounts.c 4 Apr 2002 09:03:56 -0000 1.4 +++ init/do_mounts.c 22 May 2002 07:31:02 -0000 @@ -375,7 +375,7 @@ static void __init change_floppy(char *f va_start(args, fmt); vsprintf(buf, fmt, args); va_end(args); - fd = open("/dev/root", O_RDWR, 0); + fd = open("/dev/root", O_RDWR | O_NDELAY, 0); if (fd >= 0) { sys_ioctl(fd, FDEJECT, 0); close(fd); @@ -792,7 +792,7 @@ static void __init handle_initrd(void) error = sys_ioctl(fd, BLKFLSBUF, 0); close(fd); } - printk(error ? "okay\n" : "failed\n"); + printk(!error ? "okay\n" : "failed\n"); } #endif } Index: mm/memory.c =================================================================== RCS file: /cvsroot/linuxsh/linux/mm/memory.c,v retrieving revision 1.12 diff -u -3 -p -r1.12 memory.c --- mm/memory.c 1 May 2002 06:18:01 -0000 1.12 +++ mm/memory.c 22 May 2002 07:31:02 -0000 @@ -76,8 +76,12 @@ mem_map_t * mem_map; */ void __free_pte(pte_t pte) { - struct page *page = pte_page(pte); - if ((!VALID_PAGE(page)) || PageReserved(page)) + struct page *page; + unsigned long pfn = pte_pfn(pte); + if (!pfn_valid(pfn)) + return; + page = pfn_to_page(pfn); + if (PageReserved(page)) return; if (pte_dirty(pte)) set_page_dirty(page); @@ -269,6 +273,7 @@ skip_copy_pte_range: address = (address do { pte_t pte = *src_pte; struct page *ptepage; + unsigned long pfn; /* copy_one_pte */ @@ -278,9 +283,11 @@ skip_copy_pte_range: address = (address swap_duplicate(pte_to_swp_entry(pte)); goto cont_copy_pte_range; } - ptepage = pte_page(pte); - if ((!VALID_PAGE(ptepage)) || - PageReserved(ptepage)) + pfn = pte_pfn(pte); + if (!pfn_valid(pfn)) + goto cont_copy_pte_range; + ptepage = pfn_to_page(pfn); + if (PageReserved(ptepage)) goto cont_copy_pte_range; /* If it's a COW mapping, write protect it both in the parent and the child */ @@ -356,9 +363,13 @@ static inline int zap_pte_range(mmu_gath if (pte_none(pte)) continue; if (pte_present(pte)) { - struct page *page = pte_page(pte); - if (VALID_PAGE(page) && !PageReserved(page)) - freed ++; + struct page *page; + unsigned long pfn = pte_pfn(pte); + if (pfn_valid(pfn)) { + page = pfn_to_page(pfn); + if (!PageReserved(page)) + freed++; + } /* This will eventually call __free_pte on the pte. */ tlb_remove_page(tlb, ptep, address + offset); } else { @@ -451,6 +462,7 @@ static struct page * follow_page(struct pgd_t *pgd; pmd_t *pmd; pte_t *ptep, pte; + unsigned long pfn; pgd = pgd_offset(mm, address); if (pgd_none(*pgd) || pgd_bad(*pgd)) @@ -472,8 +484,11 @@ static struct page * follow_page(struct preempt_enable(); if (pte_present(pte)) { if (!write || - (pte_write(pte) && pte_dirty(pte))) - return pte_page(pte); + (pte_write(pte) && pte_dirty(pte))) { + pfn = pte_pfn(pte); + if (pfn_valid(pfn)) + return pfn_to_page(pfn); + } } out: @@ -488,8 +503,6 @@ out: static inline struct page * get_page_map(struct page *page) { - if (!VALID_PAGE(page)) - return 0; return page; } @@ -853,22 +866,21 @@ static inline void remap_pte_range(pte_t unsigned long phys_addr, pgprot_t prot) { unsigned long end; + unsigned long pfn; address &= ~PMD_MASK; end = address + size; if (end > PMD_SIZE) end = PMD_SIZE; + pfn = phys_addr >> PAGE_SHIFT; do { - struct page *page; - pte_t oldpage; - oldpage = ptep_get_and_clear(pte); - - page = virt_to_page(__va(phys_addr)); - if ((!VALID_PAGE(page)) || PageReserved(page)) - set_pte(pte, mk_pte_phys(phys_addr, prot)); + pte_t oldpage = ptep_get_and_clear(pte); + + if (!pfn_valid(pfn) || PageReserved(pfn_to_page(pfn))) + set_pte(pte, pfn_pte(pfn, prot)); forget_pte(oldpage); address += PAGE_SIZE; - phys_addr += PAGE_SIZE; + pfn++; pte++; } while (address && (address < end)); } @@ -979,10 +991,11 @@ static int do_wp_page(struct mm_struct * unsigned long address, pte_t *page_table, pmd_t *pmd, pte_t pte) { struct page *old_page, *new_page; + unsigned long pfn = pte_pfn(pte); - old_page = pte_page(pte); - if (!VALID_PAGE(old_page)) + if (!pfn_valid(pfn)) goto bad_wp_page; + old_page = pfn_to_page(pfn); if (!TestSetPageLocked(old_page)) { int reuse = can_share_swap_page(old_page); @@ -1033,7 +1046,7 @@ static int do_wp_page(struct mm_struct * bad_wp_page: pte_unmap(page_table); spin_unlock(&mm->page_table_lock); - printk("do_wp_page: bogus page at address %08lx (page 0x%lx)\n",address,(unsigned long)old_page); + printk(KERN_ERR "do_wp_page: bogus page at address %08lx\n", address); return -1; no_mem: page_cache_release(old_page); |
From: NIIBE Y. <gn...@m1...> - 2002-05-22 02:27:34
|
Here's experimental patch to support user space atomicity emulation (this is for 2.4.18). Please see this: http://sources.redhat.com/ml/libc-hacker/2002-05/msg00029.html It explains how gUSA works. I believe that this does _not_ impact performance. Comments are welcome. 2002-05-22 NIIBE Yutaka <gn...@m1...> gUSA ("g" User Space Atomicity) support. * arch/sh/kernel/signal.c (handle_signal): Added gUSA handling. * arch/sh/kernel/entry.S (reschedule): Added gUSA handling. Index: arch/sh/kernel/entry.S =================================================================== RCS file: /cvsroot/linuxsh/linux/arch/sh/kernel/entry.S,v retrieving revision 1.1.1.1.2.4 diff -u -3 -p -r1.1.1.1.2.4 entry.S --- arch/sh/kernel/entry.S 10 May 2002 17:58:54 -0000 1.1.1.1.2.4 +++ arch/sh/kernel/entry.S 22 May 2002 02:15:26 -0000 @@ -94,6 +94,7 @@ OFF_R5 = 20 /* New ABI: ar OFF_R6 = 24 /* New ABI: arg2 */ OFF_R7 = 28 /* New ABI: arg3 */ OFF_SP = (15*4) +OFF_PC = (16*4) OFF_SR = (16*4+8) OFF_TRA = (16*4+6*4) @@ -455,12 +456,24 @@ __INV_IMASK: .align 2 reschedule: - mova SYMBOL_NAME(ret_from_syscall), r0 - mov.l 1f, r1 - jmp @r1 + ! gUSA handling + mov.l @(OFF_SP,r15), r1 ! get user space stack pointer + cmp/pz r1 + bt/s 1f + mov.l 2f, r4 + mov #OFF_PC, r0 + mov.l @(r0,r15), r2 ! get user space PC (program counter) + mov.l @(OFF_R0,r15), r3 ! end point + cmp/hs r3, r2 ! r2 >= r3? + bt 1f + add r2, r1 ! reentrance point #2 + mov.l r1, @(r0,r15) ! reset PC to reentrance point #2 + ! +1: mova SYMBOL_NAME(ret_from_syscall), r0 + jmp @r4 lds r0, pr .align 2 -1: .long SYMBOL_NAME(schedule) +2: .long SYMBOL_NAME(schedule) ret_from_irq: ret_from_exception: Index: arch/sh/kernel/signal.c =================================================================== RCS file: /cvsroot/linuxsh/linux/arch/sh/kernel/signal.c,v retrieving revision 1.1.1.1.2.1 diff -u -3 -p -r1.1.1.1.2.1 signal.c --- arch/sh/kernel/signal.c 29 Mar 2002 00:01:07 -0000 1.1.1.1.2.1 +++ arch/sh/kernel/signal.c 22 May 2002 02:15:26 -0000 @@ -533,6 +533,17 @@ handle_signal(unsigned long sig, struct case -ERESTARTNOINTR: regs->pc -= 2; } + } else { + /* gUSA handling */ + if (regs->regs[15] >= 0x80000000) { + int offset = (int)regs->regs[15]; + + /* Reset stack pointer: clear critical region mark */ + regs->regs[15] = regs->regs[1]; + if (regs->pc < regs->regs[0]) + /* Go to reentrance point #1 */ + regs->pc = regs->regs[0] + offset - 2; + } } /* Set up the stack frame */ |
From: <cv_...@ho...> - 2002-05-20 20:05:32
|
<html> <center> <strong>ÜNİVERSİTELERİN</strong> halkla ilişkiler, <br> <strong>REKLAM,</strong> pazarlama bölümü mezunu<br> <strong>SEYAHAT </strong>edebilir, <strong>internet, </strong><br> <strong>OFİS</strong> programlarını kullanabilen tecrübeli<br> <strong>BAYAN </strong> ve <strong> BAY ANKARA</strong>'da çalışacak elemanlar alınacaktır.<br> ilgilenenlerin <a href="mailto:cv_...@ho...">cv_...@ho...</a> adresine ozgecmislerini gondermeleri rica olunur. </center> <html> |
From: akira <aki...@ho...> - 2002-05-14 17:29:01
|
Hi everybody, I have a 7727 solution engine, the pcmcia controller is a Marabum = MR-SHPC-01 V1. I try to boot the system from a CF card ( HITACHI HB288064C5 ). I use the ipl+g. The initialization from the pcmcia controller it seems to work, but I am not sure because I haven't find the manual of MR-SHPC-01 V1 in = English. ???Someone can mi help to find it? In the file ide.c in the ide_reset() function ide_inb (IDE_ERROR) = return 0 instead of 1.=20 The status register indicate: =20 status =3D ide_inb (IDE_ALTERNATE_STATUS) status =3D h'3E when the CF = is plugged in.=20 I am not successful to make to change it. I think the is a problem from initialization. ??? already it has happened to someone? you have some idea in merit? =20 I have moreover some question:=20 1)the marabum is set to work in I/O card mode o in True IDE mode? 2) it is possible that mine card is incompatible with the marabum? Tanks. |
From: Pete L. <pet...@st...> - 2002-05-13 16:25:37
|
I do understand that the kernel source does not welcome C++, unfortunately, that's the way the driver source was given to me when I was asked to get it running on an SH4 dev board. If there is no hope of getting the C++ driver linked to the kernel, I'll go back to trying to get profiling data out of a loadable module. thanks for the information. > -----Original Message----- > From: lin...@li... > [mailto:lin...@li...]On Behalf Of > dk...@ix... > Sent: Monday, May 13, 2002 12:02 PM > To: pet...@st...; mr...@0x... > Cc: lin...@m1...; lin...@li... > Subject: [linuxsh-dev] RE: [linux-sh:02354] Re: performance data from > modules. > > > > > * Pete LeMasters <pet...@st...> on Fri, May 10, 2002: > > > > I have been attempting to generate profile data from a loadable > > > > module under 2.4.17 on an SH4 based development board. > > > > > > Why do you need profile data from a loadable module? What's > > > wrong with getting the data with the driver compiled into the > > > kernel? Does your module execute differently than when compiled in? > > > > Well, since you asked. This is a development driver > > that has not been set up to compile into the kernel yet. > > I originally tried to link the driver into the kernel > > to get the profiling information but, the driver makes > > use of C++ which demands a generated constructor and > > destructor list. > > Well, there's your problem. Linux is hostile to C++ in the > kernel. Rewrite your driver in C, and all will be well. > > I'm serious. Nobody will support you in your use of C++ in > the Linux kernel. It just isn't done. Go ask on the > linux-kernel mailing list if you don't believe me. > - Dan > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > linuxsh-dev mailing list > lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxsh-dev > |
From: Dan K. <dk...@ix...> - 2002-05-13 16:02:55
|
> > * Pete LeMasters <pet...@st...> on Fri, May 10, 2002: > > > I have been attempting to generate profile data from a loadable > > > module under 2.4.17 on an SH4 based development board. > > > > Why do you need profile data from a loadable module? What's > > wrong with getting the data with the driver compiled into the > > kernel? Does your module execute differently than when compiled in? > > Well, since you asked. This is a development driver > that has not been set up to compile into the kernel yet. > I originally tried to link the driver into the kernel > to get the profiling information but, the driver makes > use of C++ which demands a generated constructor and > destructor list. Well, there's your problem. Linux is hostile to C++ in the kernel. Rewrite your driver in C, and all will be well. I'm serious. Nobody will support you in your use of C++ in the Linux kernel. It just isn't done. Go ask on the linux-kernel mailing list if you don't believe me. - Dan |
From: Pete L. <pet...@st...> - 2002-05-13 15:14:53
|
> -----Original Message----- > From: mr...@0x... [mailto:mr...@0x...] > Sent: Friday, May 10, 2002 1:48 PM > To: pet...@st... > Cc: lin...@m1...; lin...@li... > Subject: [linux-sh:02353] Re: performance data from modules. > > > * Pete LeMasters <pet...@st...> on Fri, May 10, 2002: > > > > > I have been attempting to generate profile data from a loadable > module under > > 2.4.17 on an SH4 based development board. > > > > Why do you need profile data from a loadable module? What's wrong with > getting the data with the driver compiled into the kernel? Does your > module execute differently than when compiled in? > Well, since you asked. This is a development driver that has not been set up to compile into the kernel yet. I originally tried to link the driver into the kernel to get the profiling information but, the driver makes use of C++ which demands a generated constructor and destructor list. This also means that I need to link with the -Ur option for my final pass at the object, while this isn't a big deal for the loadable module, it has given me some trouble getting things linked into the kernel. According to the man page on the LD utility, once you use -Ur, your constructor table address can't change, which has resulted in my constructor table entries being unresolved for the final kernel link. I don't fully understand why the symbols can't be found for the kernel link when they can be found for the module link, unless an address is somehow tied to the constructor table symbols?? I'm still looking into getting the module linked into the kernel so if anyone has seen similar problems and knows the correct manner to approach the link, I would enjoy hearing it. > > > > Separately, I have also tried to making use of the -pg option > provided by > > gcc but upon trying to load the module, I get an undefined > symbol "mcount", > > which I believe is supposed to be provided by linking a profile specific > > library?? I can't find a reference to mcount in the 2.4.17 > kernel source, > > so it's location is an assumption on my part. > > > > You need profiling support as provided by the C library (this > usually comes > with pgcrt0.o or similiar). > > M. R. > |
From: Mike I. <mar...@e-...> - 2002-05-11 20:42:04
|
Hello, I have viewed your website and concluded that our company is interested in obtaining advertising space. In order to establish a professional relationship with your business we require direct communication. Upon replying to this email please provide me with your telephone contact information. We look forward to doing business with you in the future. Regards, Mike Mike Ingel Director of Operations Tel: 604.688.2310 Fax: 604.688.2102 Toll Free: 888.633.2259 mar...@e-... |
From: Jeremy S. <js...@mv...> - 2002-05-10 19:54:48
|
FYI -- as threatened last month, I finally checked in the TMU1 and KGDB patches into the 2.4 branch. The KGDB certainly isn't perfect (I wouldn't be surprised to see ST submit updates real soon) but does seem to work reasonably on the Solution Engine boards I have. --Jeremy |
From: M. R. B. <mr...@0x...> - 2002-05-10 17:48:04
|
* Pete LeMasters <pet...@st...> on Fri, May 10, 2002: >=20 > I have been attempting to generate profile data from a loadable module un= der > 2.4.17 on an SH4 based development board. >=20 Why do you need profile data from a loadable module? What's wrong with getting the data with the driver compiled into the kernel? Does your module execute differently than when compiled in? >=20 > Separately, I have also tried to making use of the -pg option provided by > gcc but upon trying to load the module, I get an undefined symbol "mcount= ", > which I believe is supposed to be provided by linking a profile specific > library?? I can't find a reference to mcount in the 2.4.17 kernel source, > so it's location is an assumption on my part. >=20 You need profiling support as provided by the C library (this usually comes with pgcrt0.o or similiar). M. R. |
From: Pete L. <pet...@st...> - 2002-05-10 15:27:59
|
I have been attempting to generate profile data from a loadable module under 2.4.17 on an SH4 based development board. I found an x86 specific patch to add loadable module symbols to the list of symbols profiled, but after getting it tailored to the SH4, I am only seeing section names in the resulting profile data from the modules, .text, .rodata, etc. (all kernel symbols are there) which I'm still looking into. The link below is the location of where I found the x86 specific patch, I changed the 'eip' in x86_do_profile() to 'pc' when I added the paragraph to time.c - sh_do_profile(). Separately, I have also tried to making use of the -pg option provided by gcc but upon trying to load the module, I get an undefined symbol "mcount", which I believe is supposed to be provided by linking a profile specific library?? I can't find a reference to mcount in the 2.4.17 kernel source, so it's location is an assumption on my part. Anyway, if anyone knows how to get around the troubles that I am running into, or has a better (working) manner to get profile data from loadable modules, I would enjoy hearing about it. thanks. http://groups.google.com/groups?hl=en&threadm=linux.kernel.20020320165324.E9 8F.HIRAO%40estartu.open.nm.fujitsu.co.jp&rnum=1&prev=/groups%3Fhl%3Den%26sel m%3Dlinux.kernel.20020320165324.E98F.HIRAO%2540estartu.open.nm.fujitsu.co.jp |
From: Christian P. <ch...@in...> - 2002-05-10 14:20:27
|
On Fri, 10 May 2002, Fabio Giovagnini wrote: > 2) where can I find the source code of getty and the necessary patch ofr > linuxsh? > Hi, if you are satisfied with the getty from tinylogin take a look at: http://www.ascensit.com/developers/axlinux2/main.php3 for bigger ones: http://rpmfind.net/linux/rpm2html/search.php?query=getty CIao! |
From: Fabio G. <fg...@ti...> - 2002-05-10 14:00:03
|
Hi, I'm building my linux sh for epson E09A card from scratch. Two questions: 1) who is the maintainer of linuxsh project so I could send him/her the sh_mv for this epson card? 2) where can I find the source code of getty and the necessary patch ofr linuxsh? I downloaded agetty1.29b.tar.gz and I tried to compile but I had troubles during compilation. Thanks for help Fabio Giovagnini |
From: MUTA K. <mut...@ec...> - 2002-05-10 03:35:11
|
NIGERIAN NATIONAL PETROLEUM CORPORATION FALOMO OFFICE COMPLEX LAGOS. TEL/FAX: ++234-1-7742834. TO; The President/CEO. Dear Sir, REQUEST FOR URGENT BUSINESS PROPOSAL First, I must solicit your strictest confidence in this transaction. This is by virtue of its nature as being utterly confidential and 'top secret'. You have been recommended by an associate who assured me in confidence of your ability and reliability to prosecute a transaction of great magnitude involving a pending business transaction requiring maximum confidence. We are top officials of the Federal Government Contract Review Panel who are interested in importation of goods into our country with funds, which are presently trapped in Nigeria. In order to commence this business we solicit your assistance to enable us transfer into your account the said trapped funds. The source of this fund is as follows: During the last Military Regime here in Nigeria, the Government officials set up companies and awarded themselves contracts which were grossly over- invoiced in various ministries. The present government set up a Contract Review Panel and we have identified a lot of inflated contract funds, which are presently floating in the Central Bank Of Nigeria ready for payment. However, by virtue of our position as civil servants and members of this panel, we cannot acquire this money in our names. I have therefore, been delegated by my other colleagues in the panel to look for an overseas partner into whose account we would transfer the sum of US$21,500,000.00 [Twenty- One Million, Five Hundred Thousand U.S Dollars] Hence we are writing you this letter. We have agreed to share the money thus: 1. 20% for the account owner you 2. 70% for us [Myself and other members of my panel] 3. 10% to be used in settling taxation and all local and foreign expenses direct or incidental to the execution of this transaction. It is from the 70% that we wish to commence the importation business. Please, note that this transaction is 100% safe and we hope to commence the transfer latest Ten (10) banking days from the date of the receipt of the following information, company's name, Address, Telephone and Fax number. The above information will enable us write letters of claim and job description respectively. This way we will use your company's name to apply for payment and re-award the contract in your company's name. We are looking forward to doing this business with you and solicit your confidentiality in this transaction. Please acknowledge the receipt of this letter using the above Email address. I will bring you into the complete picture of this pending project when I have heard from you. Remember this is a Deal so treat with utmost confidentiality. Yours faithfully, DR. MUTA KARIBU |
From: Fabio G. <fg...@ti...> - 2002-05-08 08:41:44
|
Hi everybody, Hi Niibe, Hi Stuart. Following your precious suggestions and documentation I have been able to boot my board. Because of sh-ipl+g hadn't the support for my companion chip, to boot from compact flash or only to enable it, I wrote the code in sh-ipl+g. First, I saw that my software lost some interrupt when I tried to read from CF. To make it running I had to modify the ide-disk.c file writing an ide-cf.c file. Do you have knowledge about ide and ata disks and compact flash? If yes, I'll folow my discussion with you, if not could you bu so kind to tell me who is the best people to talk about this? Second, where can I study how init 2.84 works and what are the steps to obtain a bash prompt without login? Thanks a lot for your support and mamy regards Fabio Giovagnini |
From: Fabio G. <fg...@ti...> - 2002-05-07 17:52:15
|
I think this is strange: probing for hda: present=0, media=32, probetype=ATAPI return 3 probe_for_drive() do_probe() probing for hdb: present=0, media=32, probetype=ATA return 3 do_probe() probing for hdb: present=0, media=32, probetype=ATAPI return 3 probe_hwif_t() probe_for_drive() do_probe() probing for hdc: present=0, media=32, probetype=ATA return 3 do_probe() probing for hdc: present=0, media=32, probetype=ATAPI return 3 probe_for_drive() do_probe() probing for hdd: present=0, media=32, probetype=ATA return 3 do_probe() probing for hdd: present=0, media=32, probetype=ATAPI return 3 Do you have really hda, hdb,hdc,hdd, or only hda but do you have a i/o mapping trouble? And what is the snapshot when you perform mount command? On Tuesday 07 May 2002 19:40, akira wrote: > I have forgotten: > file err.txt > ----- Original Message ----- > From: "Fabio Giovagnini" <fg...@ti...> > To: "akira" <aki...@ho...>; "lin...@m1..." > <lin...@m1...>; <lin...@li...> > Sent: Tuesday, May 07, 2002 7:31 PM > Subject: Re: [linuxsh-dev] help CF > > > Should be usefull a snapshot of the output during the action you > > performe. The patch are ok. What's the output? > > > > On Tuesday 07 May 2002 19:09, akira wrote: > > > boot message: > > > err.txt > > > add printk() message: > > > ide.patch > > > ide-probe.patch > > > ide-disk.patch > > > > > > ----- Original Message ----- > > > From: "Fabio Giovagnini" <fg...@ti...> > > > To: "akira" <aki...@ho...>; > > > <lin...@li...>; "lin...@m1..." > > > <lin...@m1...> > > > Sent: Tuesday, May 07, 2002 4:26 PM > > > Subject: Re: [linuxsh-dev] help CF > > > > > > > test with a printk the function read_intr and write_intr of > > > > ide-disk.c > > > > > > file > > > > > > > and let me know the output. > > > > > > > > On Tuesday 07 May 2002 16:10, akira wrote: > > > > > The fstab file is: > > > > > > > > > > /dev/hda /mnt/cf vfat defaults 0 0 > > > > > > > > > > /dev/hda1 /mnt/cf vfat defaults 0 0 > > > > > > > > > > /dev/hda1 /mnt/cf ext2 defaults 0 0 > > > > > > > > > > When I try to mount the CF: > > > > > > > > > > # mount -a > > > > > > > > > > mount: Mounting /dev/hda on /mnt/cf failed: No such device or > > address > > > > > > mount: Mounting /dev/hda1 on /mnt/cf failed: No such device or > > address > > > > > > mount: Mounting /dev/hda1 on /mnt/cf failed: No such device or > > address > > > > > > When i try to format the CF > > > > > > > > > > > > > > > > > > > > # mkfs.minix /dev/hda > > > > > > > > > > mkfs.minix: /dev/hda: No such device or address > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > > > > From: "Fabio Giovagnini" <fg...@ti...> > > > > > To: "akira" <aki...@ho...>; "lin...@m1..." > > > > > <lin...@m1...>; <lin...@li...> > > > > > Sent: Tuesday, May 07, 2002 9:02 AM > > > > > Subject: Re: [linuxsh-dev] help CF > > > > > > > > > > > Whne you try to mount or format the CF, what is the message you > > > > > > receive > > > > > > > > from > > > > > > > > > > > the system? > > > > > > > > > > > > On Monday 06 May 2002 20:47, akira wrote: > > > > > > > Hello to everyone! > > > > > > > > > > > > > > > > > > > > > > > > > > > > I have a MS7727SE01 Solution Engine board. I use the kernel > > 2.4.18 > > > > with > > > > > > > > the > > > > > > > > > > > > patch from the CVS.sourceforge.net. The kernel boot correctly > > from > > > > a > > > > > > > > NFS > > > > > > > > > > > > server. > > > > > > > > > > > > > > > > > > > > > > > > > > > > Now I have a Compact Flash (32 MByte) and a PCMCIA<>CF adapter > > and > > > > > > > > I > > > > > > > > > > will > > > > > > > > > > > > try to boot kernel from CF. I don't have a Notebook and so I > > can't > > > > > > format > > > > > > > > > > > > the CF card with a linux file system. > > > > > > > > > > > > > > > > > > > > > > > > > > > > I tried to format the CF card from the Solution Engine but I am > > not > > > > > > > > successful. > > > > > > > > > > > > > > > > > > > > > > > > > > > > I think the ide driver can't detect/mount the CF card. > > > > > > > > > > > > > > > > > > > > > > > > > > > > I had choose in the file .config: > > > > > > > > > > > > > > > > > > > > > > > > > > > > CONFIG_CF_ENABLER=y > > > > > > > > > > > > > > CONFIG_CF_AREA6 > > > > > > > > > > > > > > > > > > > > > > > > > > > > CONFIG_IDE=y > > > > > > > > > > > > > > CONFIG_BLK_DEV_IDE=y > > > > > > > > > > > > > > CONFIG_BLOK_DEV_IDEDISK=y > > > > > > > > > > > > > > > > > > > > > > > > > > > > Someone can help me? > > > > > > > > > > > > > > > > > > > > > > > > > > > > Athac file: > > > > > > > > > > > > > > .config > > > > > > > > > > > > > > boot.txt > > > > > > > > > > _______________________________________________________________ > > > > > > > > > > Have big pipes? SourceForge.net is looking for download mirrors. We > > > > > > supply > > > > > > > > the hardware. You get the recognition. Email Us: > > > > > > ban...@so... > > > > > > > > _______________________________________________ > > > > > linuxsh-dev mailing list > > > > > lin...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/linuxsh-dev |
From: Fabio G. <fg...@ti...> - 2002-05-07 17:42:32
|
this is my inittab # Begin /etc/inittab id:3:initdefault: su:S016:respawn:/sbin/sulogin 1:2345:respawn:/bin/sh # End /etc/inittab and this is the output RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx hda: SanDisk SDCFB-16, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: 31360 sectors (16 MB) w/1KiB Cache, CHS=490/2/32 Partition check: hda: hda1 hda: hda1 hda: hda1 VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 28k freed INIT: version 2.84 booting INIT: Entering runlevel: 3 Fixing up unaligned userspace access in "sh" pid=7 pc=0x0045efaa ins=0x400b Killing process "sh" due to unaligned access Fixing up unaligned userspace access in "sh" pid=8 pc=0x0045efaa ins=0x400b Killing process "sh" due to unaligned access Fixing up unaligned userspace access in "sh" pid=9 pc=0x0045efaa ins=0x400b Killing process "sh" due to unaligned access Fixing up unaligned userspace access in "sh" pid=10 pc=0x0045efaa ins=0x400b Killing process "sh" due to unaligned access Fixing up unaligned userspace access in "sh" pid=11 pc=0x0045efaa ins=0x400b Killing process "sh" due to unaligned access Fixing up unaligned userspace access in "sh" pid=12 pc=0x0045efaa ins=0x400b Killing process "sh" due to unaligned access Fixing up unaligned userspace access in "sh" pid=13 pc=0x0045efaa ins=0x400b Killing process "sh" due to unaligned access Fixing up unaligned userspace access in "sh" pid=14 pc=0x0045efaa ins=0x400b Killing process "sh" due to unaligned access Fixing up unaligned userspace access in "sh" pid=15 pc=0x0045efaa ins=0x400b Killing process "sh" due to unaligned access Fixing up unaligned userspace access in "sh" pid=16 pc=0x0045efaa ins=0x400b Killing process "sh" due to unaligned access INIT: Id "1" respawning too fast: disabled for 5 minutes INIT: no more processes left in this runlevel the system still works bucause the iterrupt enters correctly. Any suggestion? Thanks On Tuesday 07 May 2002 19:31, Fabio Giovagnini wrote: > Should be usefull a snapshot of the output during the action you performe. > The patch are ok. What's the output? > > On Tuesday 07 May 2002 19:09, akira wrote: > > boot message: > > err.txt > > add printk() message: > > ide.patch > > ide-probe.patch > > ide-disk.patch > > > > ----- Original Message ----- > > From: "Fabio Giovagnini" <fg...@ti...> > > To: "akira" <aki...@ho...>; <lin...@li...>; > > "lin...@m1..." <lin...@m1...> > > Sent: Tuesday, May 07, 2002 4:26 PM > > Subject: Re: [linuxsh-dev] help CF > > > > > test with a printk the function read_intr and write_intr of ide-disk.c > > > > file > > > > > and let me know the output. > > > > > > On Tuesday 07 May 2002 16:10, akira wrote: > > > > The fstab file is: > > > > > > > > /dev/hda /mnt/cf vfat defaults 0 0 > > > > > > > > /dev/hda1 /mnt/cf vfat defaults 0 0 > > > > > > > > /dev/hda1 /mnt/cf ext2 defaults 0 0 > > > > > > > > When I try to mount the CF: > > > > > > > > # mount -a > > > > > > > > mount: Mounting /dev/hda on /mnt/cf failed: No such device or address > > > > > > > > mount: Mounting /dev/hda1 on /mnt/cf failed: No such device or > > > > address > > > > > > > > mount: Mounting /dev/hda1 on /mnt/cf failed: No such device or > > > > address > > > > > > > > > > > > > > > > When i try to format the CF > > > > > > > > > > > > > > > > # mkfs.minix /dev/hda > > > > > > > > mkfs.minix: /dev/hda: No such device or address > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > > From: "Fabio Giovagnini" <fg...@ti...> > > > > To: "akira" <aki...@ho...>; "lin...@m1..." > > > > <lin...@m1...>; <lin...@li...> > > > > Sent: Tuesday, May 07, 2002 9:02 AM > > > > Subject: Re: [linuxsh-dev] help CF > > > > > > > > > Whne you try to mount or format the CF, what is the message you > > > > receive > > > > > > from > > > > > > > > > the system? > > > > > > > > > > On Monday 06 May 2002 20:47, akira wrote: > > > > > > Hello to everyone! > > > > > > > > > > > > > > > > > > > > > > > > I have a MS7727SE01 Solution Engine board. I use the kernel > > > > > > 2.4.18 > > > > with > > > > > > the > > > > > > > > > > patch from the CVS.sourceforge.net. The kernel boot correctly > > > > > > from > > > > a > > > > > > NFS > > > > > > > > > > server. > > > > > > > > > > > > > > > > > > > > > > > > Now I have a Compact Flash (32 MByte) and a PCMCIA<>CF adapter > > > > > > and I > > > > > > > > will > > > > > > > > > > try to boot kernel from CF. I don't have a Notebook and so I > > > > > > can't > > > > > > > > format > > > > > > > > > > the CF card with a linux file system. > > > > > > > > > > > > > > > > > > > > > > > > I tried to format the CF card from the Solution Engine but I am > > > > > > not successful. > > > > > > > > > > > > > > > > > > > > > > > > I think the ide driver can't detect/mount the CF card. > > > > > > > > > > > > > > > > > > > > > > > > I had choose in the file .config: > > > > > > > > > > > > > > > > > > > > > > > > CONFIG_CF_ENABLER=y > > > > > > > > > > > > CONFIG_CF_AREA6 > > > > > > > > > > > > > > > > > > > > > > > > CONFIG_IDE=y > > > > > > > > > > > > CONFIG_BLK_DEV_IDE=y > > > > > > > > > > > > CONFIG_BLOK_DEV_IDEDISK=y > > > > > > > > > > > > > > > > > > > > > > > > Someone can help me? > > > > > > > > > > > > > > > > > > > > > > > > Athac file: > > > > > > > > > > > > .config > > > > > > > > > > > > boot.txt > > > > > > > > _______________________________________________________________ > > > > > > > > Have big pipes? SourceForge.net is looking for download mirrors. We > > > > supply > > > > > > the hardware. You get the recognition. Email Us: > > > > ban...@so... > > > > > > _______________________________________________ > > > > linuxsh-dev mailing list > > > > lin...@li... > > > > https://lists.sourceforge.net/lists/listinfo/linuxsh-dev > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > linuxsh-dev mailing list > lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxsh-dev |
From: akira <aki...@ho...> - 2002-05-07 17:41:18
|
I have forgotten: file err.txt ----- Original Message ----- From: "Fabio Giovagnini" <fg...@ti...> To: "akira" <aki...@ho...>; "lin...@m1..." <lin...@m1...>; <lin...@li...> Sent: Tuesday, May 07, 2002 7:31 PM Subject: Re: [linuxsh-dev] help CF > Should be usefull a snapshot of the output during the action you performe. > The patch are ok. What's the output? > > On Tuesday 07 May 2002 19:09, akira wrote: > > boot message: > > err.txt > > add printk() message: > > ide.patch > > ide-probe.patch > > ide-disk.patch > > > > ----- Original Message ----- > > From: "Fabio Giovagnini" <fg...@ti...> > > To: "akira" <aki...@ho...>; <lin...@li...>; > > "lin...@m1..." <lin...@m1...> > > Sent: Tuesday, May 07, 2002 4:26 PM > > Subject: Re: [linuxsh-dev] help CF > > > > > test with a printk the function read_intr and write_intr of ide-disk.c > > > > file > > > > > and let me know the output. > > > > > > On Tuesday 07 May 2002 16:10, akira wrote: > > > > The fstab file is: > > > > > > > > /dev/hda /mnt/cf vfat defaults 0 0 > > > > > > > > /dev/hda1 /mnt/cf vfat defaults 0 0 > > > > > > > > /dev/hda1 /mnt/cf ext2 defaults 0 0 > > > > > > > > When I try to mount the CF: > > > > > > > > # mount -a > > > > > > > > mount: Mounting /dev/hda on /mnt/cf failed: No such device or address > > > > > > > > mount: Mounting /dev/hda1 on /mnt/cf failed: No such device or address > > > > > > > > mount: Mounting /dev/hda1 on /mnt/cf failed: No such device or address > > > > > > > > > > > > > > > > When i try to format the CF > > > > > > > > > > > > > > > > # mkfs.minix /dev/hda > > > > > > > > mkfs.minix: /dev/hda: No such device or address > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > > From: "Fabio Giovagnini" <fg...@ti...> > > > > To: "akira" <aki...@ho...>; "lin...@m1..." > > > > <lin...@m1...>; <lin...@li...> > > > > Sent: Tuesday, May 07, 2002 9:02 AM > > > > Subject: Re: [linuxsh-dev] help CF > > > > > > > > > Whne you try to mount or format the CF, what is the message you > > > > receive > > > > > > from > > > > > > > > > the system? > > > > > > > > > > On Monday 06 May 2002 20:47, akira wrote: > > > > > > Hello to everyone! > > > > > > > > > > > > > > > > > > > > > > > > I have a MS7727SE01 Solution Engine board. I use the kernel 2.4.18 > > > > with > > > > > > the > > > > > > > > > > patch from the CVS.sourceforge.net. The kernel boot correctly from > > > > a > > > > > > NFS > > > > > > > > > > server. > > > > > > > > > > > > > > > > > > > > > > > > Now I have a Compact Flash (32 MByte) and a PCMCIA<>CF adapter and > > > > > > I > > > > > > > > will > > > > > > > > > > try to boot kernel from CF. I don't have a Notebook and so I can't > > > > > > > > format > > > > > > > > > > the CF card with a linux file system. > > > > > > > > > > > > > > > > > > > > > > > > I tried to format the CF card from the Solution Engine but I am not > > > > > > successful. > > > > > > > > > > > > > > > > > > > > > > > > I think the ide driver can't detect/mount the CF card. > > > > > > > > > > > > > > > > > > > > > > > > I had choose in the file .config: > > > > > > > > > > > > > > > > > > > > > > > > CONFIG_CF_ENABLER=y > > > > > > > > > > > > CONFIG_CF_AREA6 > > > > > > > > > > > > > > > > > > > > > > > > CONFIG_IDE=y > > > > > > > > > > > > CONFIG_BLK_DEV_IDE=y > > > > > > > > > > > > CONFIG_BLOK_DEV_IDEDISK=y > > > > > > > > > > > > > > > > > > > > > > > > Someone can help me? > > > > > > > > > > > > > > > > > > > > > > > > Athac file: > > > > > > > > > > > > .config > > > > > > > > > > > > boot.txt > > > > > > > > _______________________________________________________________ > > > > > > > > Have big pipes? SourceForge.net is looking for download mirrors. We > > > > supply > > > > > > the hardware. You get the recognition. Email Us: > > > > ban...@so... > > > > > > _______________________________________________ > > > > linuxsh-dev mailing list > > > > lin...@li... > > > > https://lists.sourceforge.net/lists/listinfo/linuxsh-dev > |
From: Fabio G. <fg...@ti...> - 2002-05-07 17:31:28
|
Should be usefull a snapshot of the output during the action you performe. The patch are ok. What's the output? On Tuesday 07 May 2002 19:09, akira wrote: > boot message: > err.txt > add printk() message: > ide.patch > ide-probe.patch > ide-disk.patch > > ----- Original Message ----- > From: "Fabio Giovagnini" <fg...@ti...> > To: "akira" <aki...@ho...>; <lin...@li...>; > "lin...@m1..." <lin...@m1...> > Sent: Tuesday, May 07, 2002 4:26 PM > Subject: Re: [linuxsh-dev] help CF > > > test with a printk the function read_intr and write_intr of ide-disk.c > > file > > > and let me know the output. > > > > On Tuesday 07 May 2002 16:10, akira wrote: > > > The fstab file is: > > > > > > /dev/hda /mnt/cf vfat defaults 0 0 > > > > > > /dev/hda1 /mnt/cf vfat defaults 0 0 > > > > > > /dev/hda1 /mnt/cf ext2 defaults 0 0 > > > > > > When I try to mount the CF: > > > > > > # mount -a > > > > > > mount: Mounting /dev/hda on /mnt/cf failed: No such device or address > > > > > > mount: Mounting /dev/hda1 on /mnt/cf failed: No such device or address > > > > > > mount: Mounting /dev/hda1 on /mnt/cf failed: No such device or address > > > > > > > > > > > > When i try to format the CF > > > > > > > > > > > > # mkfs.minix /dev/hda > > > > > > mkfs.minix: /dev/hda: No such device or address > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Fabio Giovagnini" <fg...@ti...> > > > To: "akira" <aki...@ho...>; "lin...@m1..." > > > <lin...@m1...>; <lin...@li...> > > > Sent: Tuesday, May 07, 2002 9:02 AM > > > Subject: Re: [linuxsh-dev] help CF > > > > > > > Whne you try to mount or format the CF, what is the message you > > receive > > > > from > > > > > > > the system? > > > > > > > > On Monday 06 May 2002 20:47, akira wrote: > > > > > Hello to everyone! > > > > > > > > > > > > > > > > > > > > I have a MS7727SE01 Solution Engine board. I use the kernel 2.4.18 > > with > > > > the > > > > > > > > patch from the CVS.sourceforge.net. The kernel boot correctly from > > a > > > > NFS > > > > > > > > server. > > > > > > > > > > > > > > > > > > > > Now I have a Compact Flash (32 MByte) and a PCMCIA<>CF adapter and > > > > > I > > > > > > will > > > > > > > > try to boot kernel from CF. I don't have a Notebook and so I can't > > > > > > format > > > > > > > > the CF card with a linux file system. > > > > > > > > > > > > > > > > > > > > I tried to format the CF card from the Solution Engine but I am not > > > > > successful. > > > > > > > > > > > > > > > > > > > > I think the ide driver can't detect/mount the CF card. > > > > > > > > > > > > > > > > > > > > I had choose in the file .config: > > > > > > > > > > > > > > > > > > > > CONFIG_CF_ENABLER=y > > > > > > > > > > CONFIG_CF_AREA6 > > > > > > > > > > > > > > > > > > > > CONFIG_IDE=y > > > > > > > > > > CONFIG_BLK_DEV_IDE=y > > > > > > > > > > CONFIG_BLOK_DEV_IDEDISK=y > > > > > > > > > > > > > > > > > > > > Someone can help me? > > > > > > > > > > > > > > > > > > > > Athac file: > > > > > > > > > > .config > > > > > > > > > > boot.txt > > > > > > _______________________________________________________________ > > > > > > Have big pipes? SourceForge.net is looking for download mirrors. We > > supply > > > > the hardware. You get the recognition. Email Us: > > ban...@so... > > > > _______________________________________________ > > > linuxsh-dev mailing list > > > lin...@li... > > > https://lists.sourceforge.net/lists/listinfo/linuxsh-dev |
From: akira <aki...@ho...> - 2002-05-07 17:09:43
|
boot message: err.txt add printk() message: ide.patch ide-probe.patch ide-disk.patch ----- Original Message ----- From: "Fabio Giovagnini" <fg...@ti...> To: "akira" <aki...@ho...>; <lin...@li...>; "lin...@m1..." <lin...@m1...> Sent: Tuesday, May 07, 2002 4:26 PM Subject: Re: [linuxsh-dev] help CF > test with a printk the function read_intr and write_intr of ide-disk.c file > and let me know the output. > > > > On Tuesday 07 May 2002 16:10, akira wrote: > > The fstab file is: > > > > /dev/hda /mnt/cf vfat defaults 0 0 > > > > /dev/hda1 /mnt/cf vfat defaults 0 0 > > > > /dev/hda1 /mnt/cf ext2 defaults 0 0 > > > > When I try to mount the CF: > > > > # mount -a > > > > mount: Mounting /dev/hda on /mnt/cf failed: No such device or address > > > > mount: Mounting /dev/hda1 on /mnt/cf failed: No such device or address > > > > mount: Mounting /dev/hda1 on /mnt/cf failed: No such device or address > > > > > > > > When i try to format the CF > > > > > > > > # mkfs.minix /dev/hda > > > > mkfs.minix: /dev/hda: No such device or address > > > > > > > > ----- Original Message ----- > > > > From: "Fabio Giovagnini" <fg...@ti...> > > To: "akira" <aki...@ho...>; "lin...@m1..." > > <lin...@m1...>; <lin...@li...> > > Sent: Tuesday, May 07, 2002 9:02 AM > > Subject: Re: [linuxsh-dev] help CF > > > > > Whne you try to mount or format the CF, what is the message you receive > > > > from > > > > > the system? > > > > > > On Monday 06 May 2002 20:47, akira wrote: > > > > Hello to everyone! > > > > > > > > > > > > > > > > I have a MS7727SE01 Solution Engine board. I use the kernel 2.4.18 with > > > > the > > > > > > patch from the CVS.sourceforge.net. The kernel boot correctly from a > > > > NFS > > > > > > server. > > > > > > > > > > > > > > > > Now I have a Compact Flash (32 MByte) and a PCMCIA<>CF adapter and I > > > > will > > > > > > try to boot kernel from CF. I don't have a Notebook and so I can't > > > > format > > > > > > the CF card with a linux file system. > > > > > > > > > > > > > > > > I tried to format the CF card from the Solution Engine but I am not > > > > successful. > > > > > > > > > > > > > > > > I think the ide driver can't detect/mount the CF card. > > > > > > > > > > > > > > > > I had choose in the file .config: > > > > > > > > > > > > > > > > CONFIG_CF_ENABLER=y > > > > > > > > CONFIG_CF_AREA6 > > > > > > > > > > > > > > > > CONFIG_IDE=y > > > > > > > > CONFIG_BLK_DEV_IDE=y > > > > > > > > CONFIG_BLOK_DEV_IDEDISK=y > > > > > > > > > > > > > > > > Someone can help me? > > > > > > > > > > > > > > > > Athac file: > > > > > > > > .config > > > > > > > > boot.txt > > > > _______________________________________________________________ > > > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > > the hardware. You get the recognition. Email Us: ban...@so... > > _______________________________________________ > > linuxsh-dev mailing list > > lin...@li... > > https://lists.sourceforge.net/lists/listinfo/linuxsh-dev > |
From: akira <aki...@ho...> - 2002-05-07 16:41:39
|
boot message: err.txt add printk() message: ide.c ide-probe.c ide-disk.c ----- Original Message ----- From: "Fabio Giovagnini" <fg...@ti...> To: "akira" <aki...@ho...>; <lin...@li...>; "lin...@m1..." <lin...@m1...> Sent: Tuesday, May 07, 2002 4:26 PM Subject: Re: [linuxsh-dev] help CF > test with a printk the function read_intr and write_intr of ide-disk.c file > and let me know the output. > > > > On Tuesday 07 May 2002 16:10, akira wrote: > > The fstab file is: > > > > /dev/hda /mnt/cf vfat defaults 0 0 > > > > /dev/hda1 /mnt/cf vfat defaults 0 0 > > > > /dev/hda1 /mnt/cf ext2 defaults 0 0 > > > > When I try to mount the CF: > > > > # mount -a > > > > mount: Mounting /dev/hda on /mnt/cf failed: No such device or address > > > > mount: Mounting /dev/hda1 on /mnt/cf failed: No such device or address > > > > mount: Mounting /dev/hda1 on /mnt/cf failed: No such device or address > > > > > > > > When i try to format the CF > > > > > > > > # mkfs.minix /dev/hda > > > > mkfs.minix: /dev/hda: No such device or address > > > > > > > > ----- Original Message ----- > > > > From: "Fabio Giovagnini" <fg...@ti...> > > To: "akira" <aki...@ho...>; "lin...@m1..." > > <lin...@m1...>; <lin...@li...> > > Sent: Tuesday, May 07, 2002 9:02 AM > > Subject: Re: [linuxsh-dev] help CF > > > > > Whne you try to mount or format the CF, what is the message you receive > > > > from > > > > > the system? > > > > > > On Monday 06 May 2002 20:47, akira wrote: > > > > Hello to everyone! > > > > > > > > > > > > > > > > I have a MS7727SE01 Solution Engine board. I use the kernel 2.4.18 with > > > > the > > > > > > patch from the CVS.sourceforge.net. The kernel boot correctly from a > > > > NFS > > > > > > server. > > > > > > > > > > > > > > > > Now I have a Compact Flash (32 MByte) and a PCMCIA<>CF adapter and I > > > > will > > > > > > try to boot kernel from CF. I don't have a Notebook and so I can't > > > > format > > > > > > the CF card with a linux file system. > > > > > > > > > > > > > > > > I tried to format the CF card from the Solution Engine but I am not > > > > successful. > > > > > > > > > > > > > > > > I think the ide driver can't detect/mount the CF card. > > > > > > > > > > > > > > > > I had choose in the file .config: > > > > > > > > > > > > > > > > CONFIG_CF_ENABLER=y > > > > > > > > CONFIG_CF_AREA6 > > > > > > > > > > > > > > > > CONFIG_IDE=y > > > > > > > > CONFIG_BLK_DEV_IDE=y > > > > > > > > CONFIG_BLOK_DEV_IDEDISK=y > > > > > > > > > > > > > > > > Someone can help me? > > > > > > > > > > > > > > > > Athac file: > > > > > > > > .config > > > > > > > > boot.txt > > > > _______________________________________________________________ > > > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > > the hardware. You get the recognition. Email Us: ban...@so... > > _______________________________________________ > > linuxsh-dev mailing list > > lin...@li... > > https://lists.sourceforge.net/lists/listinfo/linuxsh-dev > |
From: Fabio G. <fg...@ti...> - 2002-05-07 14:27:13
|
test with a printk the function read_intr and write_intr of ide-disk.c file and let me know the output. On Tuesday 07 May 2002 16:10, akira wrote: > The fstab file is: > > /dev/hda /mnt/cf vfat defaults 0 0 > > /dev/hda1 /mnt/cf vfat defaults 0 0 > > /dev/hda1 /mnt/cf ext2 defaults 0 0 > > When I try to mount the CF: > > # mount -a > > mount: Mounting /dev/hda on /mnt/cf failed: No such device or address > > mount: Mounting /dev/hda1 on /mnt/cf failed: No such device or address > > mount: Mounting /dev/hda1 on /mnt/cf failed: No such device or address > > > > When i try to format the CF > > > > # mkfs.minix /dev/hda > > mkfs.minix: /dev/hda: No such device or address > > > > ----- Original Message ----- > > From: "Fabio Giovagnini" <fg...@ti...> > To: "akira" <aki...@ho...>; "lin...@m1..." > <lin...@m1...>; <lin...@li...> > Sent: Tuesday, May 07, 2002 9:02 AM > Subject: Re: [linuxsh-dev] help CF > > > Whne you try to mount or format the CF, what is the message you receive > > from > > > the system? > > > > On Monday 06 May 2002 20:47, akira wrote: > > > Hello to everyone! > > > > > > > > > > > > I have a MS7727SE01 Solution Engine board. I use the kernel 2.4.18 with > > the > > > > patch from the CVS.sourceforge.net. The kernel boot correctly from a > > NFS > > > > server. > > > > > > > > > > > > Now I have a Compact Flash (32 MByte) and a PCMCIA<>CF adapter and I > > will > > > > try to boot kernel from CF. I don't have a Notebook and so I can't > > format > > > > the CF card with a linux file system. > > > > > > > > > > > > I tried to format the CF card from the Solution Engine but I am not > > > successful. > > > > > > > > > > > > I think the ide driver can't detect/mount the CF card. > > > > > > > > > > > > I had choose in the file .config: > > > > > > > > > > > > CONFIG_CF_ENABLER=y > > > > > > CONFIG_CF_AREA6 > > > > > > > > > > > > CONFIG_IDE=y > > > > > > CONFIG_BLK_DEV_IDE=y > > > > > > CONFIG_BLOK_DEV_IDEDISK=y > > > > > > > > > > > > Someone can help me? > > > > > > > > > > > > Athac file: > > > > > > .config > > > > > > boot.txt > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > linuxsh-dev mailing list > lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxsh-dev |
From: akira <aki...@ho...> - 2002-05-07 14:10:34
|
The fstab file is: /dev/hda /mnt/cf vfat defaults 0 0 /dev/hda1 /mnt/cf vfat defaults 0 0 /dev/hda1 /mnt/cf ext2 defaults 0 0 When I try to mount the CF: # mount -a mount: Mounting /dev/hda on /mnt/cf failed: No such device or address mount: Mounting /dev/hda1 on /mnt/cf failed: No such device or address mount: Mounting /dev/hda1 on /mnt/cf failed: No such device or address When i try to format the CF # mkfs.minix /dev/hda mkfs.minix: /dev/hda: No such device or address ----- Original Message ----- From: "Fabio Giovagnini" <fg...@ti...> To: "akira" <aki...@ho...>; "lin...@m1..." <lin...@m1...>; <lin...@li...> Sent: Tuesday, May 07, 2002 9:02 AM Subject: Re: [linuxsh-dev] help CF > Whne you try to mount or format the CF, what is the message you receive from > the system? > > > > On Monday 06 May 2002 20:47, akira wrote: > > Hello to everyone! > > > > > > > > I have a MS7727SE01 Solution Engine board. I use the kernel 2.4.18 with the > > patch from the CVS.sourceforge.net. The kernel boot correctly from a NFS > > server. > > > > > > > > Now I have a Compact Flash (32 MByte) and a PCMCIA<>CF adapter and I will > > try to boot kernel from CF. I don't have a Notebook and so I can't format > > the CF card with a linux file system. > > > > > > > > I tried to format the CF card from the Solution Engine but I am not > > successful. > > > > > > > > I think the ide driver can't detect/mount the CF card. > > > > > > > > I had choose in the file .config: > > > > > > > > CONFIG_CF_ENABLER=y > > > > CONFIG_CF_AREA6 > > > > > > > > CONFIG_IDE=y > > > > CONFIG_BLK_DEV_IDE=y > > > > CONFIG_BLOK_DEV_IDEDISK=y > > > > > > > > Someone can help me? > > > > > > > > Athac file: > > > > .config > > > > boot.txt > |
From: Fabio G. <fg...@ti...> - 2002-05-07 07:03:10
|
Whne you try to mount or format the CF, what is the message you receive from the system? On Monday 06 May 2002 20:47, akira wrote: > Hello to everyone! > > > > I have a MS7727SE01 Solution Engine board. I use the kernel 2.4.18 with the > patch from the CVS.sourceforge.net. The kernel boot correctly from a NFS > server. > > > > Now I have a Compact Flash (32 MByte) and a PCMCIA<>CF adapter and I will > try to boot kernel from CF. I don't have a Notebook and so I can't format > the CF card with a linux file system. > > > > I tried to format the CF card from the Solution Engine but I am not > successful. > > > > I think the ide driver can't detect/mount the CF card. > > > > I had choose in the file .config: > > > > CONFIG_CF_ENABLER=y > > CONFIG_CF_AREA6 > > > > CONFIG_IDE=y > > CONFIG_BLK_DEV_IDE=y > > CONFIG_BLOK_DEV_IDEDISK=y > > > > Someone can help me? > > > > Athac file: > > .config > > boot.txt |
From: akira <aki...@ho...> - 2002-05-06 18:47:27
|
SH IPL+g version 0.11, Copyright (C) 2001 Free Software Foundation, Inc.=0A= =0A= This software comes with ABSOLUTELY NO WARRANTY; for details type `w'.=0A= This is free software, and you are welcome to redistribute it under=0A= certain conditions; type `l' for details.=0A= =0A= > e=0A= Booting from network!=0A= Searching for server (BOOTP/DHCP)...=0A= <sleep>=0A= IP Address: 192.168.0.12=0A= Server: 192.168.0.1, Gateway 1.255.8.1=0A= Kernel to load: "/sh/boot/zImage"=0A= HOSTNAME: terra=0A= ROOT PATH: /linux2/opt/Embedix/home/akira/project/finale/tmp/rootfsdir=0A= Loading Kernel: /sh/boot/zImage = .........................................................................= .........................................................................= .........................................................................= .........................................................................= .........................................................................= .........................................................................= .........................................................................= ........................SUM: 4405594=0A= done=0A= Uncompressing Linux... Ok, booting the kernel.=0A= Linux version 2.4.18-sh (root@linux) (gcc version 3.0.3) #48 Mon May 6 = 19:24:45 CEST 2002=0A= On node 0 totalpages: 4096=0A= zone(0): 4096 pages.=0A= zone(1): 0 pages.=0A= zone(2): 0 pages.=0A= Kernel command line: mem=3D16M sh_mv=3DSolutionEngine = console=3DttySC1,115200 root=3D/dev/nfs rw = nfsroot=3D192.168.0.1:/linux2/opt/Embedix/home/akira/project/finale/tmp/r= ootfsdir ip=3D192.168.0.12::1.255.8.1:255.255.255.0:terra::off=0A= Setting GDB trap vector to 0x80000100=0A= CPU clock: 133.32MHz=0A= Bus clock: 66.66MHz=0A= Module clock: 33.33MHz=0A= Interval =3D 83325=0A= Calibrating delay loop... 66.56 BogoMIPS=0A= Memory: 15036k/16384k available (880k kernel code, 1348k reserved, 28k = data, 36k init)=0A= Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)=0A= Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)=0A= Mount-cache hash table entries: 512 (order: 0, 4096 bytes)=0A= Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)=0A= Page-cache hash table entries: 4096 (order: 2, 16384 bytes)=0A= CPU: SH7709A/SH7729=0A= POSIX conformance testing by UNIFIX=0A= Linux NET4.0 for Linux 2.4=0A= Based upon Swansea University Computer Society NET3.039=0A= Initializing RT netlink socket=0A= cf_init()=0A= cf_init_se()=0A= Starting kswapd=0A= SuperH SCI(F) driver initialized=0A= ttySC0 at 0xfffffe80 is a SCI=0A= ttySC1 at 0xa4000150 is a SCIF=0A= ttySC2 at 0xa4000140 is a SCIF=0A= block: 64 slots per queue, batch=3D16=0A= Uniform Multi-Platform E-IDE driver Revision: 6.31=0A= ide: Assuming 50MHz system bus speed for PIO modes; override with = idebus=3Dxx=0A= NS ST-NIC 83902A=0A= NET4: Linux TCP/IP 1.0 for NET4.0=0A= IP Protocols: ICMP, UDP, TCP=0A= IP: routing cache hash table of 512 buckets, 4Kbytes=0A= TCP: Hash tables configured (established 1024 bind 2048)=0A= IP-Config: Gateway not on directly connected network.=0A= Looking up port of RPC 100003/2 on 192.168.0.1=0A= Looking up port of RPC 100005/1 on 192.168.0.1=0A= VFS: Mounted root (nfs filesystem).=0A= Freeing unused kernel memory: 36k freed=0A= serial console detected. Disabling virtual terminals.=0A= console=3D/dev/console=0A= init started: BusyBox v0.52 (2002.03.29-01:11+0000) multi-call binary=0A= *** Running rc.modules=0A= *** Running rc.serial=0A= *** Attempting to start S05syslog=0A= *** Attempting to start S20network=0A= *** Attempting to start S90thttpd=0A= *** Running rc.local=0A= =0A= terra login: root=0A= login[17]: root login on `ttySC1'=0A= =0A= #=0A= =0A= |