<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dobra rada...<br>
zabralo to ....<br>
<br>
Diik....<br>
<br>
..druhy raz to ale musim skusat zo 100% dobrym usb klucom..<br>
ten jeden co som skusal je nejaky saaahlyyy....<br>
<br>
<br>
..beztak by som rad poznal to "cislo" block device ... :)<br>
<br>
warezman wrote:
<blockquote
 cite="mid:e5f47f571002121102g38c2d288m42c30709cadc24d4@mail.gmail.com"
 type="cite">
  <pre wrap="">A keby si v konfiguracii kernelu nastavil root=/dev/sda1?

2010/2/12 Kocur <a class="moz-txt-link-rfc2396E" href="mailto:kocur@erbe-ba.sk">&lt;kocur@erbe-ba.sk&gt;</a>:
  </pre>
  <blockquote type="cite">
    <pre wrap="">pokial by niekoho zaujimal boot log.................

 &lt;0&gt;Rebooting in 1
seconds..

CFE version 1.0.37-6.5.17 for BCM96348 (32bit,SP,BE)
Copyright (C) 2000-2005 Broadcom Corporation.

Boot Address 0xbfc00000

Initializing Arena.
Initializing Devices.
Parallel flash device: name MX29LV320AB, id 0x22a8, size 4096KB
Unknown PHY type
CPU type 0x29107: 256MHz, Bus: 128MHz, Ref: 32MHz
Total memory: 16777216 bytes (16MB)

Total memory used by CFE:  0x80401000 - 0x805256C0 (1197760)
Initialized Data:          0x8041CCE0 - 0x8041ED40 (8288)
BSS Area:                  0x8041ED40 - 0x804236C0 (18816)
Local Heap:                0x804236C0 - 0x805236C0 (1048576)
Stack Area:                0x805236C0 - 0x805256C0 (8192)
Text (code) segment:       0x80401000 - 0x8041CCE0 (113888)
Boot area (physical):      0x00526000 - 0x00566000
Relocation Factor:         I:00000000 - D:00000000

Board IP address                  : 192.168.1.1:ffffff00
Host IP address                   : 192.168.1.100
Gateway IP address                :
Run from flash/host (f/h)         : h
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 3
Board Id Name                     : 96348GW-11
Psi size in KB                    : 48
Number of MAC Addresses (1-32)    : 24
Base MAC Address                  : 00:18:f3:dd:bf:a1
Ethernet PHY Type                 : External Switch Using Reverse MII
Memory size in MB                 : 16
CMT Thread Number                 : 0
Dying Gasp Enable (0:Disable 1:Enable)  : 1

*** Press Enter to stop auto run (3 seconds) ***
Auto run second count down: 0
0x80010000/2183301 0x80225085/3963 Entry at 0x80213018
Closing network.
Starting program at 0x80213018
Linux version  (@) ()
Parallel flash device: name MX29LV320AB, id 0x22a8, size 4096KB
Total Flash size: 4096K with 71 sectors
96348GW-11 prom init
CPU revision is: 00029107
Determined physical RAM map:
 memory: 00fa0000 @ 00000000 (usable)
On node 0 totalpages: 4000
  DMA zone: 4000 pages, LIFO batch:1
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: root=81:0 ro noinitrd
brcm mips: enabling icache and dcache...
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 8kB 2-way, linesize 16 bytes.
PID hash table entries: 64 (order 6: 512 bytes)
Using 128.000 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 13540k/16000k available (1604k kernel code, 2440k reserved, 451k
data, 76k init, 0k highmem)
Calibrating delay loop... 255.59
BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096
bytes)
Checking for 'wait' instruction...
unavailable.
NET: Registered protocol family
16
MPI: No Card is in the PCMCIA
slot
Can't analyze prologue code at
8019f934
SCSI subsystem
initialized
usbcore: registered new driver
usbfs
usbcore: registered new driver
hub
loop: loaded (max 8
devices)
PPP generic driver version
2.4.2
NET: Registered protocol family
24
Using noop io
scheduler
bcm963xx_mtd driver
v1.0
PCI: Enabling device 0000:00:02.2 (0000 -&gt;
0002)
ehci_hcd 0000:00:02.2: Philips Semiconductors USB 2.0 Host
Controller
PCI: Setting latency timer of device 0000:00:02.2 to
64
ehci_hcd 0000:00:02.2: irq 6, pci mem
b0030000
ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number
1
ehci_hcd 0000:00:02.2: USB 2.0 enabled, EHCI 0.95, driver
2004-May-10
hub 1-0:1.0: USB hub
found
hub 1-0:1.0: 2 ports
detected
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver
(PCI)
ohci_hcd: block sizes: ed 64 td
64
PCI: Enabling device 0000:00:02.0 (0000 -&gt;
0002)
ohci_hcd 0000:00:02.0: Philips Semiconductors USB 1.1 Host
Controller
PCI: Setting latency timer of device 0000:00:02.0 to
64
ohci_hcd 0000:00:02.0: irq 6, pci mem
b0010000
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number
2
hub 2-0:1.0: USB hub
found
hub 2-0:1.0: 1 port
detected
usb 1-1: new high speed USB device using address
2
PCI: Enabling device 0000:00:02.1 (0000 -&gt;
0002)
ohci_hcd 0000:00:02.1: Philips Semiconductors USB 1.1 Host Controller
(#2)
PCI: Setting latency timer of device 0000:00:02.1 to
64
ohci_hcd 0000:00:02.1: irq 6, pci mem
b0020000
ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number
3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor:           Model: USB DRIVE         Rev: 2.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 2048000 512-byte hdwr sectors (1049 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
 sda: sda1 sda2 sda3
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
brcmboard: brcm_board_init entry
bcm963xx_serial driver v2.0
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 1024)
NET: Registered protocol family 1
NET: Registered protocol family 17
Ebtables v2.0 registered
NET: Registered protocol family 8
NET: Registered protocol family 20
802.1Q VLAN Support v1.8 Ben Greear <a class="moz-txt-link-rfc2396E" href="mailto:greearb@candelatech.com">&lt;greearb@candelatech.com&gt;</a>
All bugs added by David S. Miller <a class="moz-txt-link-rfc2396E" href="mailto:davem@redhat.com">&lt;davem@redhat.com&gt;</a>
VFS: Cannot open root device "81:0" or unknown-block(81,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(81,0)
 &lt;0&gt;Rebooting in 1 seconds..

Kocur wrote:

No router je "zaklad" BROADCOM BCM96348
a ten pouziva svoj vlastny "loader" pre kernel CFE - Common Firmware
Enviroment

a root particiu nastavujesh pre kernel priamo v konfiguracii kernelu
podla dokumentacie by to malo byt root=81:0

ale nefunguje mi to...


warezman wrote:

Co pouzivas ako bootloader? Grub?

Parameter na konci by mal byt root=/dev/sda1

2010/2/12 Kocur <a class="moz-txt-link-rfc2396E" href="mailto:kocur@erbe-ba.sk">&lt;kocur@erbe-ba.sk&gt;</a>:


Zdravim ludia...

neviete ma nakopnut, ako dalej.....

Upravujem si firmware pre router, a potrebujem dosiahnut aby zariadenie
nabootovalo z usb...
Uz som si dokazal bez problemov zamenit potrebne moduly pre ADSL, spojazdnit
SWAP (kedze 16Mb RAM nic moc)
a plno dalsich uprav. Dospel som ale k bodu, kedy je povodna 4MB FLASHka
mala, a je zapotreby prejst na nejake vacsie zariadenie.

Zariadenie ma USB porty, do kernelu som si modul usb_storage zakompiloval,
pri boote v logu vidim zariadenie /dev/sdaX
ale neviem nijako donutit kernel, aby mi ako root particiu namontoval
/dev/sda1

TU SOM SA PROSTE ZASEKOL..............

v menuconfigu pre kernel je polozka "root device" s parametrom root=31.1 ro
noinitrd..
co by mala byt "particia" v zabudovanej 4MB FLASHke (fs=squashfs)
ale neviem "co tam dat" ked chcem ako root particiu pouzit usb
kluc...............

dik za radu....
_______________________________________________
<a class="moz-txt-link-freetext" href="https://lists.linux.sk/mailman/listinfo/linux">https://lists.linux.sk/mailman/listinfo/linux</a>
Meta FAQ: <a class="moz-txt-link-freetext" href="http://www.sklug.sk/lists/linux/metafaq.html">http://www.sklug.sk/lists/linux/metafaq.html</a>



_______________________________________________
<a class="moz-txt-link-freetext" href="https://lists.linux.sk/mailman/listinfo/linux">https://lists.linux.sk/mailman/listinfo/linux</a>
Meta FAQ: <a class="moz-txt-link-freetext" href="http://www.sklug.sk/lists/linux/metafaq.html">http://www.sklug.sk/lists/linux/metafaq.html</a>



________________________________
_______________________________________________
<a class="moz-txt-link-freetext" href="https://lists.linux.sk/mailman/listinfo/linux">https://lists.linux.sk/mailman/listinfo/linux</a>
Meta FAQ: <a class="moz-txt-link-freetext" href="http://www.sklug.sk/lists/linux/metafaq.html">http://www.sklug.sk/lists/linux/metafaq.html</a>

_______________________________________________
<a class="moz-txt-link-freetext" href="https://lists.linux.sk/mailman/listinfo/linux">https://lists.linux.sk/mailman/listinfo/linux</a>
Meta FAQ: <a class="moz-txt-link-freetext" href="http://www.sklug.sk/lists/linux/metafaq.html">http://www.sklug.sk/lists/linux/metafaq.html</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->_______________________________________________
<a class="moz-txt-link-freetext" href="https://lists.linux.sk/mailman/listinfo/linux">https://lists.linux.sk/mailman/listinfo/linux</a>
Meta FAQ: <a class="moz-txt-link-freetext" href="http://www.sklug.sk/lists/linux/metafaq.html">http://www.sklug.sk/lists/linux/metafaq.html</a>

  </pre>
</blockquote>
<br>
</body>
</html>